:root {
  --bg: oklch(0.955 0.020 80);
  --surface: oklch(0.985 0.010 78);
  --fg: oklch(0.305 0.030 184);
  --muted: oklch(0.520 0.020 78);
  --border: oklch(0.845 0.024 76);
  --accent: oklch(0.75 0.11 70);
  --accent-ink: color-mix(in oklch, var(--accent) 40%, var(--fg));
  --accent-soft: color-mix(in oklch, var(--accent) 22%, var(--bg));
  --cool-soft: color-mix(in oklch, var(--fg) 8%, var(--surface));
  --moss-soft: color-mix(in oklch, var(--accent) 14%, var(--cool-soft));
  --font-display: "Newsreader", "Iowan Old Style", Charter, Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 18px 48px color-mix(in oklch, var(--fg) 13%, transparent);
  --container: 1200px;
  --gutter: clamp(22px, 6vw, 86px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; font-optical-sizing: auto; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.018em; }
h2 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.018em; }
h3 { font-size: clamp(25px, 2.2vw, 32px); line-height: 1.13; font-weight: 500; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--fg); }

.skip-link {
  position: fixed;
  top: -70px;
  left: 18px;
  z-index: 100;
  padding: 11px 16px;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--fg);
  text-decoration: none;
}
.skip-link:focus { top: 18px; }

.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section { padding-block: clamp(76px, 9vw, 118px); }
.section-sm { padding-block: clamp(54px, 7vw, 78px); }
.surface { background: var(--surface); }
.cool { background: var(--cool-soft); }
.dark { background: var(--fg); color: var(--surface); }
.stack > * { margin-top: 0; }
.stack > * + * { margin-top: 22px; }
.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dark .eyebrow, .home-hero .eyebrow { color: var(--accent); }
.lead { max-width: 62ch; margin: 24px 0 0; color: var(--muted); font-size: 20px; line-height: 1.58; }
.dark .lead, .dark-copy { color: color-mix(in oklch, var(--surface) 82%, transparent); }
.section-head { max-width: 780px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }
.section-head p { max-width: 62ch; margin: 20px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(46px, 8vw, 104px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 max(5vw, 22px);
  color: var(--surface);
  background: color-mix(in oklch, var(--fg) 92%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--surface) 14%, transparent);
  backdrop-filter: blur(12px) saturate(112%);
  transition: background .28s ease, box-shadow .28s ease;
}
.site-header.scrolled { background: color-mix(in oklch, var(--fg) 97%, transparent); box-shadow: 0 12px 30px color-mix(in oklch, var(--fg) 18%, transparent); }
.brand { color: var(--surface); font-family: var(--font-display); font-size: 24px; line-height: 1.04; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.brand small { display: block; margin-top: 5px; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .12em; opacity: .88; }
.nav-links { display: flex; align-items: center; gap: clamp(15px, 2vw, 26px); }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--surface);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s var(--ease-out), box-shadow .22s ease;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { border-color: var(--accent); transform: translateY(-1px); }
.nav-links .nav-cta { padding: 8px 15px; border: 1px solid color-mix(in oklch, var(--surface) 78%, transparent); border-radius: 999px; background: color-mix(in oklch, var(--fg) 55%, transparent); }
.nav-links .nav-cta:hover, .nav-links .nav-cta:focus-visible { background: var(--accent); color: var(--fg); border-color: var(--accent); box-shadow: 0 10px 24px color-mix(in oklch, var(--fg) 24%, transparent); }
.menu-toggle { display: none; min-width: 48px; min-height: 44px; padding: 0 14px; border: 1px solid color-mix(in oklch, var(--surface) 70%, transparent); border-radius: 999px; background: transparent; color: var(--surface); font-size: 13px; font-weight: 700; }

.home-hero {
  min-height: 96svh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--surface);
  background: var(--fg);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/hero-retreat.jpg") 58% center / cover;
  transform: scale(1.015);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, color-mix(in oklch, var(--fg) 88%, transparent) 0%, color-mix(in oklch, var(--fg) 58%, transparent) 48%, color-mix(in oklch, var(--fg) 18%, transparent) 78%);
}
.home-hero .container { padding-top: 122px; padding-bottom: 82px; }
.hero-copy { max-width: 700px; }
.home-hero .lead { color: color-mix(in oklch, var(--surface) 90%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }

.page-hero { min-height: 72svh; padding-top: 142px; padding-bottom: 78px; display: flex; align-items: center; background: var(--cool-soft); }
.page-hero .hero-copy { max-width: 760px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: clamp(44px, 8vw, 100px); align-items: center; }
.hero-visual { min-height: 510px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; }
.retreat-visual img { object-position: 59% center; }
.portrait-visual img { object-position: center 22%; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s var(--ease-out), box-shadow .24s ease;
}
.btn-primary { background: var(--accent); color: var(--fg); border-color: var(--accent); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--fg); color: var(--surface); border-color: var(--fg); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.dark .btn-primary:hover, .dark .btn-primary:focus-visible, .home-hero .btn-primary:hover, .home-hero .btn-primary:focus-visible { background: var(--surface); color: var(--fg); border-color: var(--surface); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--fg); color: var(--surface); transform: translateY(-3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; transition: gap .24s var(--ease-out), color .24s ease; }
.text-link::after { content: "→"; }
.text-link:hover, .text-link:focus-visible { gap: 13px; color: var(--accent-ink); }
.dark .text-link:hover, .dark .text-link:focus-visible, .home-hero .text-link:hover, .home-hero .text-link:focus-visible { color: var(--accent); }
.home-hero .text-link { color: var(--surface); }

.story-card, .offer-card {
  min-height: 320px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  transition: transform .36s var(--ease-out), border-color .36s ease, box-shadow .36s ease;
}
.story-card:nth-child(2), .offer-card:nth-child(2) { background: var(--cool-soft); }
.story-card:nth-child(3), .offer-card:nth-child(3) { background: var(--accent-soft); }
.story-card:nth-child(4) { background: var(--moss-soft); }
.story-card:hover, .offer-card:hover { transform: translateY(-7px); border-color: var(--fg); box-shadow: var(--shadow-soft); }
.card-num { display: block; margin-bottom: 24px; color: var(--muted); font-family: var(--font-mono); font-size: 13px; }
.story-card p, .offer-card p { color: var(--muted); }
.story-card .text-link, .offer-card .text-link { width: max-content; margin-top: 24px; font-size: 14px; }

.image-panel { min-height: 650px; background: url("../images/hero-retreat.jpg") 58% center / cover; }
.content-panel { padding: clamp(64px, 8vw, 110px); }
.content-panel p { color: color-mix(in oklch, var(--surface) 82%, transparent); }
.timeline { margin-top: 34px; display: grid; }
.timeline-item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid color-mix(in oklch, var(--surface) 18%, transparent); }
.timeline-item strong { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: .07em; }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; margin-top: 56px; }
.process::before { content: ""; position: absolute; top: 28px; left: 11%; right: 11%; height: 1px; background: var(--border); }
.process-step { position: relative; padding: 0 20px; text-align: center; }
.process-dot { width: 56px; height: 56px; margin: 0 auto 24px; display: grid; place-items: center; position: relative; z-index: 1; border: 1px solid var(--fg); border-radius: 50%; background: var(--fg); color: var(--surface); font-family: var(--font-display); transition: background .28s ease, color .28s ease, transform .32s var(--ease-out), box-shadow .28s ease; }
.process-step:hover .process-dot { background: var(--surface); color: var(--fg); transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-soft); }
.process-step h3 { font-size: 25px; }
.process-step p { color: var(--muted); font-size: 16px; }

.word-wall { color: var(--fg); font-family: var(--font-display); font-size: clamp(58px, 8vw, 110px); line-height: .88; letter-spacing: -.05em; }
.word-wall span { display: block; }
.word-wall span:nth-child(2) { color: color-mix(in oklch, var(--fg) 55%, var(--surface)); }
.word-wall span:nth-child(3) { color: color-mix(in oklch, var(--accent) 52%, var(--fg)); }
.word-wall span:nth-child(4) { color: color-mix(in oklch, var(--accent) 58%, var(--fg)); }
.copy-large { font-family: var(--font-display); font-size: clamp(27px, 2.6vw, 34px); line-height: 1.24; }

.proof-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; margin-top: 30px; color: var(--surface); font-family: var(--font-display); font-size: 21px; }
.proof-list.start { justify-content: flex-start; margin-top: 0; }
.bullet-list { margin: 26px 0 0; padding: 0; list-style: none; }
.bullet-list li { padding: 13px 0; border-top: 1px solid var(--border); }
.dark .bullet-list li { border-color: color-mix(in oklch, var(--surface) 18%, transparent); }
.number-list { counter-reset: steps; margin: 0; padding: 0; list-style: none; }
.number-list li { counter-increment: steps; display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--border); }
.number-list li::before { content: counter(steps, decimal-leading-zero); color: var(--muted); font-family: var(--font-mono); font-size: 13px; }
.number-list strong { display: block; margin-bottom: 5px; font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.number-list span { color: var(--muted); }
.dark .number-list li { border-color: color-mix(in oklch, var(--surface) 18%, transparent); }
.dark .number-list li::before { color: var(--accent); }
.dark .number-list span { color: color-mix(in oklch, var(--surface) 78%, transparent); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 820px; margin-inline: auto; }
.cta-band p { max-width: 660px; margin: 24px auto 30px; color: color-mix(in oklch, var(--surface) 78%, transparent); }

.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(44px, 8vw, 100px); align-items: start; }
.contact-form { padding: clamp(28px, 5vw, 50px); display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--muted); font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid var(--border); border-radius: 0; background: var(--surface); color: var(--fg); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--fg); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-status { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { padding: 34px max(5vw, 22px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--fg); color: color-mix(in oklch, var(--surface) 72%, transparent); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--surface); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .82s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .brand small { display: none; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 860px) {
  h1 { font-size: clamp(36px, 8.5vw, 44px); }
  .site-header { min-height: 76px; }
  .brand { font-size: 20px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    inset: 76px 0 auto;
    padding: 18px var(--gutter) 28px;
    flex-direction: column;
    align-items: stretch;
    background: var(--fg);
    border-top: 1px solid color-mix(in oklch, var(--surface) 14%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .24s ease, transform .32s var(--ease-out), visibility 0s linear .32s;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav-links a { width: 100%; min-height: 50px; border-bottom: 1px solid color-mix(in oklch, var(--surface) 14%, transparent); }
  .nav-links .nav-cta { margin-top: 12px; justify-content: center; }
  .split, .split-wide, .grid-2, .grid-3, .grid-4, .page-hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; padding-top: 128px; }
  .page-hero-grid { gap: 42px; }
  .hero-visual, .hero-visual img { min-height: 420px; }
  .image-panel { min-height: 480px; }
  .process { grid-template-columns: 1fr; gap: 34px; }
  .process::before { display: none; }
  .process-step { max-width: 470px; margin-inline: auto; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  h1 { font-size: clamp(31px, 9.2vw, 40px); }
  .home-hero::before { background-position: 64% center; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .story-card, .offer-card { min-height: 290px; padding: 27px; }
  .content-panel { padding-inline: 24px; }
  .timeline-item { grid-template-columns: 72px 1fr; }
  .word-wall { font-size: clamp(56px, 19vw, 82px); }
  .form-footer, .site-footer { align-items: stretch; flex-direction: column; }
  .form-footer .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
