/* Hatonis — static site. Layout and motion follow the reference teardown (refs/teardown/teardown.md). */

@font-face { font-family: "Oranienbaum"; src: url("/assets/fonts/oranienbaum-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("/assets/fonts/pinyon-script-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("/assets/fonts/archivo-expanded-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #14261e;
  --ink-2: #3d5047;
  --cream: #f3f3ec;
  --brand: #1b3327;
  --brand-2: #24402f;
  --sage: #c9d6cb;
  --white: #fff;
  --line: rgba(20, 38, 30, .16);
  --line-l: rgba(243, 243, 236, .22);
  --display: "Oranienbaum", "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --body: "Archivo Expanded", "Helvetica Neue", Arial, sans-serif;
  --g: 3.3vw;               /* outer gutter */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --h1: 12vw; --h2: 6vw; --h3: 3.94vw; --h4: 2.5vw; --a1: 7.5vw;
  --l1: max(10px, .69vw); --p1: max(13px, .9vw);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: var(--p1); line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--cream); padding: 10px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1, .h2, .h3, .h4, .c1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; margin: 0; font-feature-settings: "lnum"; }
.h1 { font-size: var(--h1); line-height: .87; letter-spacing: -.035em; }
.h2 { font-size: var(--h2); line-height: .91; letter-spacing: -.024em; }
.h3 { font-size: var(--h3); line-height: .9; letter-spacing: -.016em; }
.h4 { font-size: var(--h4); line-height: 1.02; letter-spacing: -.008em; }
.a1 { font-family: var(--script); font-weight: 400; font-size: var(--a1); line-height: 1; text-transform: none; letter-spacing: 0; margin: 0; }
.l1 { font-family: var(--body); font-weight: 700; font-size: var(--l1); line-height: 1.45; letter-spacing: .048em; text-transform: uppercase; margin: 0; }
.p1 { font-family: var(--body); font-weight: 400; font-size: var(--p1); line-height: 1.45; letter-spacing: -.01em; margin: 0; }
.sp { font-family: var(--display); font-size: max(14px, 1.56vw); letter-spacing: .8em; text-transform: uppercase; margin: 0; line-height: 1; }
.center { text-align: center; }
.on-dark { color: var(--cream); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; justify-content: space-between; align-items: flex-start; padding: 2vw 2.2vw; pointer-events: none; color: var(--white); transition: color .5s var(--ease); }
.hdr > * { pointer-events: auto; }
.hdr.is-ink { color: var(--ink); }
.badge { display: block; width: max(58px, 4.6vw); aspect-ratio: 1; position: relative; }
.badge svg { width: 100%; height: 100%; display: block; }
.badge .ring { transform-origin: 50% 50%; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav { display: flex; flex-direction: column; align-items: flex-end; gap: .7vw; text-align: right; }
.nav__big { font-family: var(--display); font-size: max(17px, 1.39vw); line-height: .95; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.nav__big:hover { background-size: 0 1px; background-position: 100% 100%; }
.nav__sm { font-weight: 700; font-size: max(9px, .62vw); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; line-height: 1.6; }
.nav__sm:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-btn { display: none; align-items: center; gap: 12px; font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.menu-btn i { display: grid; grid-template-columns: 4px 4px; gap: 3px; }
.menu-btn i b { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.menu-btn i b:nth-child(2) { visibility: hidden; }

/* left scroll rail */
.rail { position: fixed; left: var(--g); top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--white); mix-blend-mode: difference; pointer-events: none; }
.rail__line { width: 1px; height: 16vh; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.rail__line::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: top; transform: scaleY(var(--p, 0)); }
.rail__n { font-weight: 700; font-size: 9px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.rail__s { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: 9px; letter-spacing: .2em; margin-top: 18vh; }

/* ---------- preloader ---------- */
.pre { display: none; }
.js:not(.rm) .pre.is-on { display: block; position: fixed; inset: 0; z-index: 100; background: var(--brand); color: var(--cream); overflow: hidden; }
.pre__frame { position: absolute; inset: 1.1vw; border: 1px solid rgba(243,243,236,.12); pointer-events: none; }
.pre__ghost { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%) rotate(-8deg); font-family: var(--script); font-size: 34vw; line-height: 1; color: rgba(243,243,236,.045); white-space: nowrap; pointer-events: none; }
.pre__mark { position: absolute; left: 50%; top: 3.2vw; width: 26px; transform: translateX(-50%); }
.pre__mid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 8vw; }
.pre__side { font-family: var(--display); font-size: 14px; letter-spacing: .9em; text-transform: uppercase; }
.pre__side:last-child { text-align: right; }
.pre__word { text-align: center; white-space: nowrap; }
.pre__word .w { font-family: var(--display); font-size: 5.2vw; line-height: .86; text-transform: uppercase; letter-spacing: -.02em; display: block; }
.pre__word .a { font-family: var(--script); font-size: 3.4vw; line-height: 1; display: block; margin-top: -.6vw; transform: rotate(-7deg); }
.pre__cap { position: absolute; left: 50%; bottom: 3vw; transform: translateX(-50%); text-align: center; }
.pre__cap::before { content: ""; display: block; width: 1px; height: 34px; background: rgba(243,243,236,.6); margin: 0 auto 18px; }
.pre__win { position: absolute; inset: 0; clip-path: inset(100% 37% 0 37% round 13vw 13vw 0 0); }
.pre__win img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--white); overflow: clip; background: var(--brand); }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,30,.28) 0%, rgba(10,22,30,.06) 45%, rgba(10,22,30,0) 70%, rgba(10,22,30,.25) 100%); }
.hero__in { position: relative; z-index: 2; padding-top: 2.6vw; text-align: center; }
.hero__t { display: block; }
.hero__a { display: block; margin-top: -2.2vw; transform: rotate(-6deg); font-size: 7.5vw; }
.hero__sides { position: absolute; left: 0; right: 0; top: 50%; display: flex; justify-content: space-between; padding: 0 18vw; transform: translateY(-50%); }
.hero__sides .h4 { font-size: max(18px, 2.5vw); }
.hero__sub { position: absolute; left: 50%; top: calc(50% + 2.4vw); transform: translateX(-50%); display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.hero__sub i { width: 4.4vw; height: 1px; background: currentColor; opacity: .6; }
.hero__hint { position: absolute; left: 50%; bottom: 3.2vw; transform: translateX(-50%); z-index: 2; color: var(--white); text-align: center; }

/* ---------- arch over hero (three things) ---------- */
.archwrap { position: relative; }
.arch { position: relative; background: var(--sage); color: var(--ink); text-align: center; padding: 16vw var(--g) 6vw; border-radius: 50vw 50vw 0 0 / 30vw 30vw 0 0; margin-top: -30vw; z-index: 3; }
.arch__curve { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.arch__curve text { font-family: var(--display); font-size: 58px; letter-spacing: .04em; fill: var(--ink); text-transform: uppercase; }
.arch__head { display: flex; align-items: center; justify-content: center; gap: 22px; }
.arch__head img { width: 30px; }
.vline { display: block; width: 1px; height: 13vw; background: var(--ink); opacity: .6; margin: 2.2vw auto; transform-origin: top; }
.on-dark .vline, .vline.l { background: var(--cream); }

/* ---------- services slider (real-life location) ---------- */
.svc { background: var(--sage); color: var(--ink); padding: 2vw var(--g) 0; text-align: center; position: relative; }
.svc__titles { position: relative; min-height: calc(var(--h1) * .9); }
.svc__title { display: block; }
.js .svc__title:not(.is-on) { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.svc__media { position: relative; width: 22vw; margin: 3.2vw auto 1.2vw; aspect-ratio: 3 / 2; overflow: hidden; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .svc__media img:not(.is-on) { opacity: 0; }
.no-js-only { display: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; font-size: 10px; letter-spacing: .06em; }
.pager button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 13px; }
.pager__bar { width: 7vw; min-width: 64px; height: 1px; background: var(--line); position: relative; }
.pager__bar i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 33.333%; background: currentColor; transition: transform .6s var(--ease); }
.svc__texts { position: relative; max-width: 560px; margin: 5vw auto 0; min-height: 9em; }
.js .svc__text:not(.is-on) { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.svc__text .l1 { margin-top: 2.2vw; }
.svc__list { display: grid; gap: 4vw; }
.js .svc__list { display: block; }

/* image that rises and becomes full bleed (quote) */
.rise { position: relative; background: var(--sage); }
.rise__sticky { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.rise__img { position: absolute; inset: 0; }
.rise__img img { width: 100%; height: 100%; object-fit: cover; }
.rise__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,14,0) 35%, rgba(8,18,14,.45) 100%); }
.rise__q { position: absolute; right: 9vw; bottom: 9vw; width: 32vw; color: var(--white); z-index: 2; }
.rise__q .h4 { font-size: max(20px, 2.1vw); }
.rise__q .l1 { margin-top: 2.6vw; }
.quote-mark { font-family: var(--display); font-size: 5vw; line-height: .5; display: block; margin-bottom: 1.6vw; }

/* ---------- approach (concept) ---------- */
.concept { position: relative; background: var(--cream); padding: 13vw var(--g) 11vw; text-align: center; overflow: clip; }
.concept .h3 { max-width: 58vw; margin: 2.6vw auto 0; }
.concept .p1 { max-width: 330px; margin: 8vw auto 0; }
.concept__mark { width: 30px; margin: 2.4vw auto 0; }
.flower { position: absolute; pointer-events: none; z-index: 1; }
.concept > :not(.flower), .mile__grid, .state > :not(.flower), .facts > :not(.flower) { position: relative; z-index: 2; }
.flower img { width: 100%; height: auto; }
.f1 { left: 1vw; top: -1vw; width: 15vw; }
.f2 { right: -3vw; bottom: -4vw; width: 26vw; }

/* ---------- on the danube (golden mile) ---------- */
.mile { position: relative; background: var(--cream); padding: 6vw var(--g) 8vw; overflow: clip; }
.mile__grid { display: grid; grid-template-columns: 1fr 26vw 1fr; align-items: center; gap: 0; position: relative; }
.mile__words { grid-column: 1 / 3; grid-row: 1; position: relative; z-index: 2; pointer-events: none; }
.mile__words .w { display: block; font-family: var(--display); text-transform: uppercase; font-size: 9vw; line-height: .86; letter-spacing: -.03em; }
.mile__words .w1 { padding-left: 10vw; }
.mile__words .w2 { padding-left: 21vw; }
.mile__words .w3 { padding-left: 9vw; }
.mile__sp { position: absolute; left: 1vw; top: 50%; font-size: max(12px, 1.1vw); }
.mile__img { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4; overflow: hidden; }
.mile__img img { width: 100%; height: 100%; object-fit: cover; }
.mile__txt { grid-column: 3; grid-row: 1; align-self: end; padding-left: 2.4vw; max-width: 30vw; }
.mile__txt .h4 { font-size: max(19px, 1.67vw); margin-bottom: 1.2vw; }
.f3 { left: -3vw; bottom: -2vw; width: 22vw; }

/* ---------- path (the coast you wanted) ---------- */
.path { position: relative; background: var(--cream); padding: 9vw var(--g) 4vw; text-align: center; overflow: clip; }
.path .h2 > span { display: block; }
.path .h2 .a1 { display: block; font-size: 6vw; line-height: 1.25; margin: -1.2vw 0 -1.2vw; transform: rotate(-5deg); position: relative; z-index: 1; }
.path__svg { position: relative; width: 100%; margin-top: 7vw; height: 15vw; }
.path__svg svg { width: 100%; height: 100%; overflow: visible; }
.path__svg path { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.path__pts { list-style: none; margin: 0; padding: 0; }
.path__pt { position: absolute; transform: translate(-50%, -100%); text-align: center; padding-bottom: 18px; width: 15vw; }
.path__pt::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--ink); }
.path__pt .l1 { display: block; }
.path__pt small { display: block; font-size: max(10px, .69vw); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.path__mark { position: absolute; width: 26px; transform: translate(-50%, -150%); }

/* ---------- river (clouds → aerial) ---------- */
.river { position: relative; height: 120vh; overflow: clip; background: var(--cream); }
.river__img { position: absolute; inset: 0; }
.river__img img { width: 100%; height: 100%; object-fit: cover; }
.river::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 34vh; background: linear-gradient(180deg, var(--cream) 0%, rgba(243,243,236,0) 100%); z-index: 2; pointer-events: none; }
.river__cap { position: absolute; right: 12vw; bottom: 12vw; z-index: 3; color: var(--white); max-width: 260px; }
.river__cap .l1 { margin-bottom: 8px; }

/* ---------- plants slider (apartments) ---------- */
.plants { position: relative; background: var(--sage); color: var(--ink); padding: 8vw var(--g) 9vw; clip-path: polygon(0 3vw, 3vw 0, calc(100% - 3vw) 0, 100% 3vw, 100% 100%, 0 100%); margin-top: -3vw; z-index: 2; }
.plants__slide { display: grid; grid-template-columns: 1fr 24vw 1fr; gap: 3vw; align-items: start; }
.js .plants__slide:not(.is-on) { display: none; }
.js .plants__name:not(.is-on) { display: none; }
.plants__facts { padding-left: 6vw; padding-top: 6vw; display: grid; gap: 2.2vw; }
.plants__facts .l1 { font-weight: 400; }
.plants__facts .h4 { font-size: max(19px, 1.9vw); margin-top: 6px; }
.plants__img { aspect-ratio: 3 / 4; overflow: hidden; }
.plants__img img { width: 100%; height: 100%; object-fit: cover; }
.plants__right { padding-top: 0; max-width: 300px; }
.plants__title { margin-top: 3vw; text-align: center; }
.btn-o { display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 999px; padding: 9px 20px; font-weight: 700; font-size: max(10px, .62vw); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; margin-top: 1.6vw; transition: background .4s var(--ease), color .4s var(--ease); }
.btn-o:hover { background: var(--ink); color: var(--sage); }
.plants .pager { margin-top: 2vw; }

/* ---------- caps statement + night list ---------- */
.state { position: relative; background: var(--sage); color: var(--ink); text-align: center; padding: 6vw var(--g) 11vw; overflow: clip; }
.state .h3 { max-width: 64vw; margin: 0 auto; }
.state__mark { width: 30px; margin: 7vw auto 0; }
.f4 { left: -2vw; bottom: -3vw; width: 18vw; }
.night { position: relative; height: 100vh; height: 100svh; min-height: 600px; color: var(--white); overflow: clip; }
.night__img { position: absolute; inset: 0; }
.night__img img { width: 100%; height: 100%; object-fit: cover; }
.night__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,12,16,.55) 0%, rgba(4,12,16,.05) 45%, rgba(4,12,16,.35) 100%); }
.night__list { position: absolute; right: 13vw; top: 8vw; list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1px solid rgba(255,255,255,.7); z-index: 2; }
.night__list button { display: block; text-align: left; font-family: var(--display); font-size: max(18px, 1.67vw); line-height: 1.04; text-transform: uppercase; opacity: .45; transition: opacity .4s var(--ease); }
.night__list button[aria-selected="true"], .night__list button:hover { opacity: 1; }
.night__txt { position: absolute; left: 8vw; bottom: 6vw; width: 36vw; z-index: 2; }
.night__txt .l1 { margin-bottom: 1.4vw; }
.night__txt .h4 { font-size: max(19px, 1.94vw); }
.js .night__item:not(.is-on) { display: none; }

/* ---------- live in (arch cream + green block) ---------- */
.live { position: relative; background: transparent; z-index: 3; }
.live__grid { overflow: clip; background: var(--cream); }
.live__arch { position: relative; background: var(--cream); text-align: center; padding: 10vw var(--g) 4vw; border-radius: 50vw 50vw 0 0 / 34vw 34vw 0 0; margin-top: -34vw; z-index: 3; }
.live__arch .a1 { display: block; transform: rotate(-6deg); margin-top: -2vw; font-size: 9vw; }
.live__grid { display: grid; grid-template-columns: 34vw 1fr; gap: 0 5vw; align-items: start; padding: 4vw var(--g) 9vw 0; }
.live__block { background: var(--brand); padding: 7vw 7vw 7vw 7vw; position: relative; }
.live__block .img { aspect-ratio: 4 / 5; overflow: hidden; }
.live__block img { width: 100%; height: 100%; object-fit: cover; }
.live__txt { padding-top: 7vw; max-width: 34vw; }
.live__txt .h4 { font-size: max(19px, 1.67vw); }
.live__txt .p1 { max-width: 300px; margin: 3vw 0 0 auto; }
.live__txt ul { list-style: none; padding: 0; margin: 3vw 0 0; }
.live__txt li::before { content: "\2022\00a0"; }

/* ---------- watering (architecture) ---------- */
.water { position: relative; height: 140vh; overflow: clip; color: var(--white); }
.water__img { position: absolute; inset: 0; }
.water__img img { width: 100%; height: 100%; object-fit: cover; }
.water__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,14,20,.1) 0%, rgba(4,14,20,0) 40%, rgba(4,14,20,.5) 100%); }
.water__word { position: absolute; left: 0; right: 0; top: 2vw; text-align: center; font-family: var(--display); font-size: 17.5vw; line-height: .86; letter-spacing: -.035em; text-transform: uppercase; z-index: 2; }
.water__txt { position: absolute; left: 10vw; bottom: 10vw; width: 34vw; z-index: 2; }
.water__txt .h4 { font-size: max(19px, 1.67vw); }
.water__txt .l1 { margin-top: 2vw; }

/* ---------- details accordion (developer…) ---------- */
.facts { background: var(--cream); padding: 9vw var(--g) 9vw; text-align: center; position: relative; overflow: clip; }
.facts__list { list-style: none; margin: 3vw auto 0; padding: 0; max-width: 60vw; }
.facts__btn { font-family: var(--display); font-size: var(--h4); line-height: 1.04; text-transform: uppercase; display: inline-flex; align-items: flex-start; gap: .1em; }
.facts__btn sup { font-family: var(--body); font-size: 12px; line-height: 1; transition: transform .4s var(--ease); }
.facts__btn[aria-expanded="true"] sup { transform: rotate(45deg); }
.facts__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.js .facts__panel.is-closed { grid-template-rows: 0fr; }
.facts__panel > div { overflow: hidden; }
.facts__panel p { max-width: 420px; margin: 10px auto 18px; }
.f5 { right: -2vw; top: -1vw; width: 20vw; }

/* ---------- CTA (perfect sea views) ---------- */
.cta { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: var(--white); overflow: clip; text-align: center; }
.cta__img { position: absolute; inset: 0; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,20,.35) 0%, rgba(6,14,20,.12) 40%, rgba(6,14,20,.3) 100%); }
.cta__top { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; padding-top: 2.6vw; }
.cta__mid { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 2; }
.cta__mid .sp { margin-top: 1.4vw; font-size: max(12px, 1.1vw); }
.cta__btn { margin-top: 3vw; display: inline-grid; place-items: center; width: 9vw; min-width: 104px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-weight: 700; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; transition: background .4s var(--ease), color .4s var(--ease); }
.cta__btn:hover { background: var(--white); color: var(--ink); }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--brand); color: var(--cream); padding: 7vw var(--g) 2.4vw; overflow: clip; }
.ftr__ghost { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-8deg); font-family: var(--script); font-size: 30vw; line-height: 1; color: rgba(243,243,236,.04); white-space: nowrap; pointer-events: none; }
.ftr__frame { position: absolute; inset: 1.1vw; border: 1px solid rgba(243,243,236,.1); pointer-events: none; }
.ftr__top { position: relative; text-align: center; }
.ftr__top img { width: 34px; margin: 0 auto 3vw; }
.ftr__phone { font-family: var(--display); font-size: var(--h2); line-height: .95; text-decoration: none; display: inline-block; }
.ftr__mail { display: block; margin-top: 1.4vw; font-family: var(--display); font-size: max(18px, 1.8vw); text-transform: uppercase; text-decoration: none; }
.ftr__phone:hover, .ftr__mail:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.ftr__cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; margin-top: 6vw; text-align: center; }
.ftr__cols .l1 { opacity: .6; margin-bottom: 10px; }
.ftr__cols .p1 { line-height: 1.55; }
.ftr__bot { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 6vw; padding-top: 1.6vw; border-top: 1px solid var(--line-l); flex-wrap: wrap; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0; }
.ftr__legal a { text-decoration: none; }
.ftr__legal a:hover { text-decoration: underline; }
.totop { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--brand); color: var(--cream); display: none; flex-direction: column; align-items: center; justify-content: space-between; padding: 22vh 20px 6vh; text-align: center; }
.menu.is-open { display: flex; }
.menu__t { position: relative; }
.menu__t .a1 { font-size: 92px; display: block; transform: rotate(-6deg); margin-bottom: -38px; position: relative; z-index: 1; }
.menu__t .h2 { font-size: 92px; }
.menu__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.menu__links a, .menu__links button { font-family: var(--display); font-size: 30px; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.menu__mark { width: 44px; }
.menu__close { position: absolute; right: 22px; top: 26px; }

/* ---------- request modal (book a call) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 3vw; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__panel { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 6vw); max-height: calc(100dvh - 6vw); overflow: auto; overscroll-behavior: contain; background: var(--sage); color: var(--ink); display: grid; grid-template-columns: 1fr auto 1.1fr; gap: 0; padding: 3vw; }
.modal__close { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; z-index: 2; }
.modal__left { display: flex; flex-direction: column; justify-content: space-between; padding-right: 2vw; min-height: 420px; }
.modal__left .a1 { font-size: max(52px, 5.4vw); transform: rotate(-7deg); transform-origin: left; display: block; margin-top: 1vw; }
.modal__left .l1 { max-width: 230px; }
.modal__mid { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 2.4vw; }
.modal__mid i { flex: 1; width: 1px; background: var(--ink); opacity: .5; }
.modal__mid img { width: 76px; }
.form { padding-left: 2vw; padding-top: 3vw; }
.fld { position: relative; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; padding: 9px 0 5px; }
.fld label, .fld .lab { font-weight: 700; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.fld input, .fld select, .fld textarea { flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink); background: transparent; border: 0; padding: 2px 0; border-radius: 0; }
.fld select { appearance: none; -webkit-appearance: none; cursor: pointer; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 1px center / 5px 5px no-repeat; padding-right: 18px; }
.fld textarea { min-height: 70px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; }
.fld:focus-within { border-bottom-color: var(--ink); }
.fld [aria-invalid="true"] { color: #8a1c1c; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; flex: 1; }
.checks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 13px; cursor: pointer; }
.checks input { accent-color: var(--ink); width: 14px; height: 14px; flex: 0 0 auto; }
.err { display: block; color: #8a1c1c; font-size: 11px; min-height: 0; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.form__foot .p1 { font-size: 11px; max-width: 260px; }
.form__foot a { text-decoration: underline; }
.btn-submit { border: 1px solid var(--ink); border-radius: 999px; padding: 10px 24px; font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; transition: background .4s var(--ease), color .4s var(--ease); }
.btn-submit:hover { background: var(--ink); color: var(--sage); }
.btn-submit[disabled] { opacity: .5; cursor: progress; }
.form__msg { margin-top: 16px; font-size: 13px; }
.form__msg:empty { display: none; }
.form__msg a { font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

/* ---------- circle cursor ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 70; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); color: var(--white); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 9px; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; pointer-events: none; opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.cur.is-on { opacity: 1; transform: scale(1); }
.cur.ink { color: var(--ink); border-color: rgba(20,38,30,.5); }

/* ---------- cookie card ---------- */
.ck { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 75; width: min(560px, calc(100% - 24px)); background: var(--cream); color: var(--ink); padding: 10px 18px; box-shadow: 0 10px 40px rgba(0,0,0,.18); display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-align: left; }
.ck[hidden] { display: none; }
.ck .a1 { font-size: 40px; line-height: .9; display: block; transform: rotate(-6deg); margin: 0; }
.ck p { font-weight: 700; font-size: 9px; letter-spacing: .05em; line-height: 1.5; text-transform: uppercase; margin: 0; }
.ck p a { text-decoration: underline; }
.ck__ok { font-family: var(--display); font-size: 18px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; padding: 6px 4px; }

/* ---------- legal pages ---------- */
.legal-page { background: var(--cream); }
.legal-page .hdr { color: var(--ink); }
.legal-page .hdr.is-light { color: var(--cream); }
.doc { max-width: 760px; margin: 0 auto; padding: 170px 20px 110px; }
.doc .l1 { margin-bottom: 18px; }
.doc h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 86px); line-height: .92; letter-spacing: -.02em; margin: 0 0 14px; }
.doc .upd { font-size: 12px; color: var(--ink-2); margin: 0 0 48px; }
.doc h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; margin: 44px 0 12px; }
.doc p, .doc li, .doc dd, .doc dt { font-size: 15px; line-height: 1.65; }
.doc ul { padding-left: 20px; }
.doc dl { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 8px 22px; margin: 0; }
.doc dt { font-weight: 700; }
.doc dd { margin: 0; overflow-wrap: anywhere; }
.doc p, .doc li { overflow-wrap: anywhere; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.e404 { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--brand); color: var(--cream); padding: 40px 20px; position: relative; overflow: hidden; }
.e404 .h1 { font-size: clamp(90px, 18vw, 260px); }
.e404 .a1 { font-size: clamp(44px, 6vw, 90px); display: block; transform: rotate(-6deg); margin-top: -2vw; }
.e404 a.btn-o:hover { background: var(--cream); color: var(--brand); }

/* ---------- reveal start states: only with JS and motion allowed ---------- */
.js:not(.rm) [data-r="img"] { clip-path: inset(100% 0 0 0); }
.js:not(.rm) [data-r="line"] { transform: scaleY(0); }
.js:not(.rm) [data-r="fade"] { opacity: 0; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  :root { --g: 16px; --h1: 22.5vw; --h2: 12.5vw; --h3: 7.6vw; --h4: 6vw; --a1: 15vw; --l1: 10px; --p1: 14px; }
  .hdr { padding: 16px; }
  .badge { width: 62px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-top: 10px; }
  .rail { display: none; }
  .pre__side { display: none; }
  .pre__word .w { font-size: 14vw; }
  .pre__mid { padding: 0 16px; grid-template-columns: 1fr; }
  .pre__word .a { font-size: 10vw; }
  .pre__mark { top: 22px; }
  .pre__win { clip-path: inset(100% 22% 0 22% round 28vw 28vw 0 0); }
  .hero__in { padding-top: 92px; }
  .hero__a { font-size: 14vw; margin-top: -5vw; }
  .hero__sides { top: auto; bottom: auto; position: relative; transform: none; padding: 10px 16px 0; margin-top: 2vw; }
  .hero__sides .h4 { font-size: 18px; }
  .hero__sub { display: none; }
  .hero__hint { bottom: 28px; }
  .arch { padding: 34vw 16px 12vw; margin-top: -40vw; border-radius: 50vw 50vw 0 0 / 40vw 40vw 0 0; }
  .vline { height: 26vw; }
  .svc__media { width: 100%; margin-top: 8vw; }
  .svc__texts { margin-top: 10vw; padding-bottom: 6vw; }
  .rise__sticky { height: 88svh; }
  .rise__q { left: 16px; right: 16px; width: auto; bottom: 40px; }
  .rise__q .h4 { font-size: 21px; }
  .quote-mark { font-size: 54px; }
  .concept { padding: 26vw 16px 22vw; }
  .concept .h3 { max-width: none; }
  .concept .p1 { margin-top: 14vw; }
  .f1 { width: 20vw; left: -2vw; top: -4vw; }
  .f2 { width: 30vw; right: -6vw; bottom: -10vw; }
  .mile__grid { grid-template-columns: 1fr; gap: 8vw; }
  .mile__words { grid-column: 1; text-align: left; }
  .mile__words .w { font-size: 20vw; }
  .mile__words .w1 { padding-left: 20vw; } .mile__words .w2 { padding-left: 30vw; } .mile__words .w3 { padding-left: 14vw; }
  .mile__sp { position: static; font-size: 12px; text-align: center; margin-top: -4vw; }
  .mile__img { grid-column: 1; grid-row: auto; width: 78%; margin: 0 auto; }
  .mile__txt { grid-column: 1; grid-row: auto; max-width: none; padding: 0; text-align: center; }
  .f3 { width: 28vw; left: -8vw; bottom: -6vw; }
  .path { padding-top: 22vw; }
  .path .h2 .a1 { font-size: 13vw; }
  .path__svg { height: auto; margin-top: 10vw; }
  .path__svg svg { display: none; }
  .path__pts { display: grid; gap: 22px; position: relative; padding-left: 26px; text-align: left; }
  .path__pts::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: var(--ink); }
  .path__pt { position: relative; transform: none; width: auto; padding: 0; left: auto !important; top: auto !important; text-align: left; }
  .path__pt::after { left: -26px; top: 4px; bottom: auto; margin: 0; }
  .path__mark { display: none; }
  .river { height: 90svh; }
  .river__cap { left: 16px; right: 16px; bottom: 40px; }
  .plants { padding: 16vw 16px 16vw; }
  .plants__slide { grid-template-columns: 1fr; gap: 6vw; }
  .plants__facts { padding: 0; grid-template-columns: 1fr 1fr; text-align: center; }
  .plants__img { width: 78%; margin: 0 auto; }
  .plants__right { max-width: none; text-align: center; }
  .state .h3 { max-width: none; }
  .f4 { width: 28vw; }
  .night__list { right: 16px; top: 100px; }
  .night__txt { left: 16px; right: 16px; width: auto; bottom: 40px; }
  .live__arch { padding: 24vw 16px 8vw; margin-top: -40vw; border-radius: 50vw 50vw 0 0 / 40vw 40vw 0 0; }
  .live__arch .a1 { font-size: 18vw; }
  .live__grid { grid-template-columns: 1fr; padding: 4vw 16px 16vw; gap: 10vw; }
  .live__block { padding: 9vw; margin-left: -16px; margin-right: 20vw; }
  .live__txt { max-width: none; padding: 0; }
  .live__txt .p1 { margin-left: 0; }
  .water { height: 100svh; }
  .water__word { font-size: 18vw; top: 90px; }
  .water__txt { left: 16px; right: 16px; width: auto; bottom: 40px; }
  .facts { padding: 22vw 16px; }
  .facts__list { max-width: none; }
  .facts__btn { font-size: 8.4vw; }
  .f5 { width: 28vw; }
  .cta__top { padding: 96px 16px 0; }
  .cta__btn { width: 112px; margin-top: 8vw; }
  .ftr { padding: 22vw 16px 28px; }
  .ftr__phone { font-size: 11vw; }
  .ftr__cols { grid-template-columns: 1fr; gap: 26px; margin-top: 14vw; }
  .ftr__bot { flex-direction: column; align-items: center; text-align: center; margin-top: 14vw; padding-top: 22px; }
  .ftr__legal { justify-content: center; }
  .modal { padding: 0; align-items: stretch; }
  .modal__panel { grid-template-columns: 1fr; max-height: 100vh; max-height: 100dvh; padding: 64px 18px 28px; }
  .modal__left { min-height: 0; padding: 0; }
  .modal__left .a1 { font-size: 54px; padding-right: 36px; }
  .modal__left .l1 { margin-top: 18px; }
  .modal__mid { display: none; }
  .form { padding: 18px 0 0; }
  .form__foot { flex-direction: column; align-items: flex-start; }
  .doc { padding-top: 120px; }
  .doc dl { grid-template-columns: 1fr; gap: 2px; }
  .doc dd { margin-bottom: 10px; }
  .ck { bottom: 12px; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 10px 14px; }
  .ck .a1 { grid-row: span 2; }
  .ck__ok { justify-self: start; padding: 2px 0; }
  .cur { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* with motion the hero / night photo is pinned and the arch rises over it from below */
.js:not(.rm) .arch, .js:not(.rm) .live__arch { margin-top: 0; }
