/* Casa Lemonde · Akdeniz konut projesi
   Brand: cobalt ink from the logo, lemon from the window, chalk limestone ground, shutter blue. */

/* Self-hosted variable fonts */
/* Fraunces: the display face. A soft, sun-worn serif (variable: opsz, wght, SOFT, WONK) */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/fraunces-latin-full-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/fraunces-latin-ext-full-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/jost-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/jost-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }


:root {
  --chalk: #F4F5F6;          /* ground: limestone in sun */
  --chalk-2: #E9EBEE;        /* one tone step */
  --cobalt: #163C86;         /* ink: the logo blue */
  --cobalt-soft: #4C629A;    /* secondary notes */
  --lemon: #F6D24A;          /* accent and lemon field */
  --lemon-2: #EEC52E;
  --lemon-pastel: #FBF0C4;   /* text selection, soft highlights */
  --shutter: #6E9FDA;        /* the shutters */
  --sky: #DCE8F5;            /* pale blue field */
  --stone: #EFE8DA;          /* header band: the window sill */
  --ivory: #F6F1E4;          /* plan section: warm ivory */
  --gold: #B8953A;           /* fine accent lines on ivory */
  --navy: #0E1F45;           /* showcase: deep night blue */
  --ink-on-cobalt: #F4F5F6;
  --ink-on-cobalt-soft: #B7C6E6;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --lux: var(--display);
  --text: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  /* five steps */
  --step-big: clamp(40px, 6vw, 88px);
  --step-mid: clamp(24px, 2.3vw, 34px);
  --step-h2: clamp(30px, 3vw, 42px);
  --step-body: 18px;
  --step-small: 14px;

  --margin: clamp(20px, 2.2vw, 32px);
  --head: 92px;              /* header height */
  --gap: clamp(120px, 14vw, 220px);
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --t-hover: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip; background: var(--chalk); color: var(--cobalt);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.55;
  font-kerning: normal; text-rendering: optimizeLegibility;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lemon-pastel); color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--lemon-2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 50; background: var(--lemon); color: var(--cobalt); padding: 10px 16px; }
.skip:focus { top: 12px; }

.h2 { font-family: var(--display); font-weight: 400; font-size: var(--step-h2); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.statement { font-family: var(--display); font-size: var(--step-mid); line-height: 1.25; margin: 0; }
.caption { font-size: var(--step-small); line-height: 1.4; color: var(--cobalt-soft); margin: 10px 0 0; }

/* Buttons: square, flat, one fill */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px;
  background: var(--lemon); color: var(--cobalt); text-decoration: none;
  font: 500 18px/1 var(--text); letter-spacing: .01em;
  transition: background var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.btn:hover { background: var(--lemon-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/*HERO-CSS*/
/* ───────── HEADER: a stone band of its own ─────────
   Logo left, the menu centred between two hairlines of lemon, phone and appointment on the right. */
.head {
  position: sticky; top: 0; z-index: 40; height: var(--head);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 40px;
  padding: 0 calc(var(--margin) + 8px); background: var(--stone); color: var(--cobalt);
  box-shadow: inset 0 -1px 0 rgba(22, 60, 134, .12);
}
.head__logo { justify-self: start; display: block; height: calc(var(--head) - 22px); line-height: 0; transition: opacity var(--t-hover) ease; }
.head__logo img { height: 100%; width: auto; }
.head__logo:hover { opacity: .82; }

.head__nav { display: flex; align-items: center; }
.head__links { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.head__links li { display: flex; align-items: center; }
.head__links li + li { margin-left: clamp(24px, 2.6vw, 42px); }
/* the words: a pastel lemon wash is brushed in under the lower half on hover, and stays on the section in view */
.head__links a {
  position: relative; display: block; padding: 4px 2px; text-decoration: none;
  font: 330 20px/1.2 var(--display); letter-spacing: .01em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 30;
  background: linear-gradient(rgba(246, 210, 74, .5), rgba(246, 210, 74, .5)) no-repeat 0 86% / 0% 38%;
  transition: background-size 650ms cubic-bezier(.16, 1, .3, 1);
}
.head__links a:hover, .head__links a:focus-visible, .head__links a.is-here { background-size: 100% 38%; }
.head__links a span { display: block; }
.head__info { display: none; }

.head__aside { justify-self: end; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
/* WhatsApp: the number in a soft pastel green frame, opens a chat */
.wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 13px;
  border: 1px solid #8EC487; border-radius: 999px; background: #D3EBCD; color: var(--navy);
  font: 350 15.5px/1 var(--display); letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  transition: background 300ms ease, border-color 300ms ease;
}
.wa svg { flex: none; width: 17px; height: 17px; color: #2F7D4A; }
.wa__lbl { font: 500 12px/1 var(--text); letter-spacing: .02em; color: #2F7D4A; padding-right: 8px; border-right: 1px solid #8EC487; }
.wa:hover { background: #C3E2BC; border-color: #74B46C; color: var(--navy); }
/* the appointment: cobalt, filled with pastel lemon from below on hover */
.head__cta {
  position: relative; overflow: hidden; isolation: isolate; min-height: 50px; padding: 0 24px 0 26px; gap: 14px;
  background: var(--cobalt); color: var(--ivory);
  font: 350 17px/1 var(--display); letter-spacing: .01em;
  transition: color 500ms var(--ease-out);
}
.head__cta::after { content: "→"; font: 300 18px/1 var(--text); transition: transform 500ms var(--ease-out); }
.head__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lemon-pastel);
  transform: translateY(101%); transition: transform 600ms cubic-bezier(.7, 0, .2, 1);
}
.head__cta:hover { background: var(--cobalt); color: var(--cobalt); transform: none; }
.head__cta:hover::before { transform: none; }
.head__cta:hover::after { transform: translateX(4px); }
.head__toggle { display: none; }
.head__cta { white-space: nowrap; }
/* in the menu: icon and the word only, small and quiet */
.head__wa { min-height: 36px; padding: 0 15px 0 12px; gap: 7px; }
.head__wa .wa__lbl { padding: 0; border: 0; font-size: 13px; color: #24663B; }
.head__wa svg { width: 16px; height: 16px; }
@media (max-width: 700px) { html .head { column-gap: 12px; } .head__wa { min-height: 32px; padding: 0 12px 0 10px; gap: 6px; } .head__wa .wa__lbl { font-size: 12px; } .head__wa svg { width: 14px; height: 14px; } }
section[id] { scroll-margin-top: var(--head); }

/* ───────── HERO: the painted window ─────────
   The painting is 1672 × 941. The stage fits it under the header (--bw × --bh, centred). The renders
   live in a full-stage layer clipped to the window; scrolling grows that clip until it fills the screen. */
.hero { position: relative; height: 600svh; }
.hero__stage {
  position: sticky; top: var(--head); height: calc(100svh - var(--head)); overflow: hidden; background: #FCFBF7;
  container-type: size;
  /* the painting's empty top band (where the logo used to sit) is allowed to run off-screen,
     so the window itself is as large as it can be */
  --bw: min(106cqw, 100cqh / .88 * 1672 / 941);
  --bh: calc(var(--bw) * 941 / 1672);
  --bx: calc((100cqw - var(--bw)) / 2);
  --by: calc((100cqh - var(--bh) * .88) / 2 - var(--bh) * .11);
}
.art { position: absolute; z-index: 2; left: var(--bx); top: var(--by); width: var(--bw); height: var(--bh); will-change: transform, opacity; }
.art__layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.art__base { z-index: 1; }
.art__painted { z-index: 2; opacity: 0; }
.art__shutters { position: absolute; z-index: 3; left: 15.431%; top: 28.268%; width: 70.694%; height: 48.99%; perspective: var(--persp, 2400px); pointer-events: none; }
.shut { position: absolute; top: 0; width: 50%; height: 100%; object-fit: fill; display: block; }
.shut--l { left: 0; transform-origin: left center; }
.shut--r { right: 0; transform-origin: right center; }
.art__leaves { z-index: 4; }
/* without script: the painting as designed, shutters open */
html:not(.js) .shut { opacity: 0; }
html:not(.js) .art__painted { opacity: 1; }

/* the renders: full stage, clipped to the window opening (set by script) */
.views {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--sky);
  clip-path: inset(calc(var(--by) + var(--bh) * .30181) calc(var(--bx) + var(--bw) * .13756) calc(100cqh - var(--by) - var(--bh) * .7609) calc(var(--bx) + var(--bw) * .15371));
}
.views__inner { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.view { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; will-change: transform; }
.view::after { content: ""; position: absolute; inset: 0; background: #0B1A3A; opacity: var(--dim, 0); pointer-events: none; }
.view + .view { clip-path: inset(100% 0 0 0); }

.hero__intro { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hero__intro > * { pointer-events: auto; }
.hero__big { display: none; }
.hero__lede {
  position: absolute; margin: 0;
  left: calc(var(--bx) + var(--bw) * .1585); top: calc(var(--by) + var(--bh) * .865);
  max-width: calc(var(--bw) * .3); font: 400 max(16px, calc(var(--bw) * .0118))/1.5 var(--display);
}
.hero__cta {
  position: absolute; right: calc(var(--bx) + var(--bw) * .086); top: calc(var(--by) + var(--bh) * .868);
  min-height: 52px; padding: 0 28px; gap: 16px; font-size: 17px; font-weight: 500;
}

/* over each render, once it fills the screen: a large title that rises in line by line, then fades
   away as the next render arrives. Left, right, left… with a soft veil on the side it sits. */
.hero__veil { position: absolute; inset: 0; z-index: 3; pointer-events: none; --vl: 0; --vr: 0; }
.hero__veil::before, .hero__veil::after { content: ""; position: absolute; inset: 0; }
.hero__veil::before { opacity: var(--vl); background: linear-gradient(0deg, rgba(8, 22, 54, .38) 0%, rgba(8, 22, 54, 0) 55%), linear-gradient(90deg, rgba(8, 22, 54, .62) 0%, rgba(8, 22, 54, .28) 40%, rgba(8, 22, 54, 0) 66%); }
.hero__veil::after  { opacity: var(--vr); background: linear-gradient(0deg, rgba(8, 22, 54, .38) 0%, rgba(8, 22, 54, 0) 55%), linear-gradient(270deg, rgba(8, 22, 54, .62) 0%, rgba(8, 22, 54, .28) 40%, rgba(8, 22, 54, 0) 66%); }

.hero__caps { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.cap {
  position: absolute; bottom: 13cqh; width: min(46cqw, 720px); color: #FFFDF6; opacity: 0;
  will-change: opacity, transform;
}
.cap--l { left: calc(var(--margin) + 4cqw); }
.cap--r { right: calc(var(--margin) + 4cqw); text-align: right; }
.cap__title {
  margin: 0; font: 300 clamp(46px, 6.4cqw, 112px)/.95 var(--lux); text-shadow: 0 2px 30px rgba(6, 14, 34, .35); letter-spacing: -.025em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.cap__ln { display: block; overflow: hidden; padding-bottom: .26em; margin-bottom: -.26em; }   /* room for g, y, ş, ç */
.cap__ln > span { display: block; will-change: transform; }
.cap__ln + .cap__ln { padding-left: .9em; }
.cap--r .cap__ln + .cap__ln { padding-left: 0; padding-right: .9em; }
.cap__sub { margin: 24px 0 0; max-width: 36ch; font: 400 17px/1.5 var(--text); letter-spacing: .02em; color: rgba(255, 253, 246, .88); }
.cap--r .cap__sub { margin-left: auto; }

/* entrance: the painting and the words settle in while the shutters wait */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__stage { animation: hero-fade 1100ms var(--ease-out) both; }
  .js .hero__big, .js .hero__lede, .js .hero__cta { animation: rise-soft 1100ms var(--ease-out) 900ms both; }
  .js .head__logo, .js .head__links li, .js .head__aside { animation: rise-soft 900ms var(--ease-out) both; animation-delay: calc(200ms + var(--n, 0) * 70ms); }
  .js .head__links li:nth-child(2) { --n: 1; } .js .head__links li:nth-child(3) { --n: 2; }
  .js .head__links li:nth-child(4) { --n: 3; } .js .head__aside { --n: 4; }
}
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Tablets and phones: logo + "Menü"; the menu opens as a cobalt sheet under the header */
@media (max-width: 900px) {
  :root { --head: 72px; }
  .head__toggle {
    display: inline-flex; align-items: center; gap: 14px; margin-left: auto; min-height: 44px; padding: 0 2px;
    background: none; border: 0; color: var(--cobalt); cursor: pointer;
    font: 500 16px/1 var(--text);
  }
  .head__bars { position: relative; width: 26px; height: 10px; }
  .head__bars::before, .head__bars::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
    transition: transform 420ms var(--ease-out);
  }
  .head__bars::before { top: 0; } .head__bars::after { bottom: 0; }
  .head.is-open .head__bars::before { transform: translateY(4.25px) rotate(45deg); }
  .head.is-open .head__bars::after { transform: translateY(-4.25px) rotate(-45deg); }
  .head { grid-template-columns: 1fr auto auto; column-gap: 18px; }
  .head__aside .head__cta { display: none; }
  .head__nav {
    position: fixed; left: 0; right: 0; top: var(--head); height: calc(100svh - var(--head));
    flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 40px; margin: 0;
    padding: 48px var(--margin) 40px; background: var(--cobalt); color: var(--ink-on-cobalt);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 700ms var(--ease-out), visibility 0s linear 700ms;
  }
  .head.is-open .head__nav { clip-path: inset(0); visibility: visible; transition: clip-path 700ms var(--ease-out); }
  .head__links { flex-direction: column; align-items: flex-start; gap: 4px; }
  .head__links li + li { margin-left: 0; }
  .head__links a { font: 300 clamp(44px, 12vw, 72px)/1.08 var(--display); letter-spacing: -.02em; background: none; }
  .head__info {
    display: grid; gap: 22px; width: 100%;
    opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 700ms var(--ease-out);
  }
  .head.is-open .head__info { opacity: 1; transform: none; transition-delay: 480ms; }
  .head__info p { margin: 0; font: 400 15px/1.6 var(--text); letter-spacing: .02em; color: var(--ink-on-cobalt-soft); }
  .head__info a { text-decoration: none; color: var(--ink-on-cobalt); }
  .head__info a.btn, .head__info a.btn:hover { color: var(--cobalt); }
  .head__links li { opacity: 0; transform: translateY(24px); transition: opacity 500ms ease, transform 700ms var(--ease-out); }
  .head.is-open .head__links li { opacity: 1; transform: none; transition-delay: calc(180ms + var(--n, 0) * 70ms); }
  .head__cta--sheet { width: 100%; justify-content: center; min-height: 56px; background: var(--lemon-pastel); color: var(--cobalt); }
  .head__cta--sheet::before { background: var(--ivory); }
  .head__info a.head__wa--sheet { justify-self: start; color: var(--navy); }
  .js .head__links li { animation: none; }
  .head__links li:nth-child(2) { --n: 1; } .head__links li:nth-child(3) { --n: 2; } .head__links li:nth-child(4) { --n: 3; }
}
@media (max-width: 700px) { :root { --head: 64px; } }

/* Phones and upright tablets: the window fills the width, the words sit under it */
@media (max-aspect-ratio: 1/1) {
  .hero { height: 540svh; }
  /* the whole painting, shutters and lemon branches included, under a large line of type */
  .hero__stage { --bw: min(128cqw, 100cqh * 1.02); --bx: calc((100cqw - var(--bw)) / 2); --by: calc(46cqh - var(--bh) * .53); }
  .hero__intro { inset: 0; }
  .hero__big {
    display: block; position: absolute; left: 20px; right: 20px; top: auto; bottom: calc(100cqh - var(--by) - var(--bh) * .25); margin: 0;
    font: 300 clamp(34px, 10.6cqw, 60px)/1.02 var(--display); letter-spacing: -.025em; color: var(--cobalt);
    max-width: 13ch;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  }
  .hero__lede-a { display: none; }
  .hero__lede {
    left: 20px; right: 20px; top: calc(var(--by) + var(--bh) * .9); max-width: 32ch;
    font: 350 clamp(16px, 4.3cqw, 21px)/1.5 var(--display); color: var(--cobalt-soft);
  }
  .hero__cta { left: 20px; right: auto; top: calc(var(--by) + var(--bh) * .9 + 4.4em + 28px); white-space: nowrap; }
  /* the renders end as a wide band at the top; the titles sit beneath it, in ink on the light ground */
  .cap { top: calc(var(--band, 62cqh) + 34px); bottom: auto; width: auto; color: var(--cobalt); }
  .cap--l { left: 20px; right: 20px; } .cap--r { left: 20px; right: 20px; text-align: left; }
  .cap--r .cap__ln + .cap__ln { padding-right: 0; padding-left: .9em; }
  .cap__title { font-size: clamp(40px, 11.6cqw, 68px); line-height: 1; letter-spacing: -.015em; word-spacing: .04em; text-shadow: none; }
  .cap__sub { margin-top: 16px; font: 300 15px/1.7 var(--text); letter-spacing: .015em; max-width: 32ch; color: var(--cobalt-soft); }
  .cap--r .cap__sub { margin-left: 0; }
  .hero__veil { display: none; }
}
/*HERO-CSS-END*/

/* ───────── INTRO ─────────
   Exactly one screen under the header: the name and the promise share a line, the panorama takes the
   rest. As the section arrives the picture opens from a framed window to the margins. */
.intro {
  --k: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr); row-gap: clamp(24px, 4svh, 44px);
  height: calc(100svh - var(--head)); min-height: 560px;
  padding: clamp(32px, 6svh, 64px) var(--margin) var(--margin);
  background: var(--ivory); position: relative; z-index: 1; overflow: hidden;
}
.intro__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.intro__title {
  grid-column: 1 / 7; margin: 0;
  font: 300 clamp(48px, 5.4vw, 92px)/.95 var(--display); letter-spacing: -.025em; color: var(--cobalt);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.intro__ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.intro__ln > span { display: inline-block; }
.intro__statement {
  grid-column: 8 / 13; margin: 0 0 .5em; max-width: 46ch;
  font: 350 clamp(17px, 1.25vw, 20px)/1.5 var(--display); color: var(--cobalt-soft);
}

.intro__stage { position: relative; min-height: 0; }
.intro__pano {
  position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--sky);
  clip-path: inset(calc((1 - var(--k)) * 10%) calc((1 - var(--k)) * 18%));
}
.intro__pano img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; transform: scale(calc(1.16 - .16 * var(--k))); will-change: transform; }
.intro__cap {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: 14px 20px 0 0; background: var(--ivory);
  font: 400 15px/1.4 var(--text); color: var(--cobalt-soft);
  opacity: calc(var(--k) * 2 - 1);
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .intro__ln > span { transform: translateY(105%); transition: transform 1100ms cubic-bezier(.16, 1, .3, 1); }
  .js .intro__statement { opacity: 0; transform: translateY(14px); transition: opacity 900ms ease 200ms, transform 1100ms cubic-bezier(.16, 1, .3, 1) 200ms; }
  .js .intro.is-in .intro__ln > span, .js .intro.is-in .intro__statement { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .intro { --k: 1; } }

/* ───────── SHOWCASE ─────────
   Deep navy, so the renders glow. The name in Fraunces beside a short promise; the folded band of
   four photographs (hover opens one, the others dim); each panel labelled, the open one titled. */
.showcase { padding: clamp(110px, 15svh, 170px) 0 clamp(100px, 14svh, 160px); background: var(--navy); color: var(--ivory); position: relative; z-index: 1; overflow: hidden; }
.showcase__top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  padding: 0 var(--margin); margin-bottom: clamp(56px, 9svh, 96px);
}
.showcase__head { grid-column: 1 / 8; }
.showcase__title { margin: 0; font: 300 clamp(52px, 6vw, 100px)/.95 var(--lux); letter-spacing: -.02em; }
.showcase__ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.showcase__ln > span { display: inline-block; }
.showcase__lede {
  grid-column: 8 / 13; margin: 0; padding-bottom: .4em;
  font: 330 clamp(19px, 1.5vw, 24px)/1.45 var(--lux); color: rgba(246, 241, 228, .86);
}

.band { display: flex; gap: 6px; height: 74svh; min-height: 440px; padding: 0 6px; }
.band__panel {
  position: relative; flex: var(--g) 1 0; min-width: 0; margin: 0; overflow: hidden; background: #0A1733;
  transition: flex-grow 900ms cubic-bezier(.77, 0, .18, 1);
}
.band__panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1600ms var(--ease-out); }
/* a night veil from the bottom for the words, and a dimmer for the panels not in focus */
.band__panel::before, .band__panel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity 700ms ease; }
.band__panel::before { background: linear-gradient(0deg, rgba(8, 18, 42, .92) 0%, rgba(8, 18, 42, .74) 22%, rgba(8, 18, 42, .34) 42%, rgba(8, 18, 42, 0) 64%); }
.band__panel::after { background: #081530; opacity: 0; }
.band__cap { position: absolute; z-index: 2; left: clamp(18px, 2vw, 32px); right: clamp(18px, 2vw, 32px); bottom: clamp(22px, 3.4svh, 38px); display: flex; flex-direction: column; }
.band__k {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  font: 400 15px/1.2 var(--text); color: rgba(255, 253, 246, .82);
  text-shadow: 0 1px 12px rgba(6, 14, 34, .7);
}
.band__t {
  display: grid; grid-template-rows: 0fr; max-width: 14ch; font: 400 clamp(30px, 2.8vw, 50px)/1.02 var(--lux); color: #FFFDF6; text-shadow: 0 2px 24px rgba(6, 14, 34, .55);
  opacity: 0; transform: translateY(18px);
  transition: grid-template-rows 900ms cubic-bezier(.77, 0, .18, 1), opacity 500ms ease, transform 900ms var(--ease-out);
}
.band__t > span { overflow: hidden; min-height: 0; padding-top: 14px; padding-bottom: .1em; }
/* the open panel: the first one by default, any one on hover */
.band__panel:first-child .band__t { grid-template-rows: 1fr; opacity: 1; transform: none; }
.band__panel:first-child img { transform: scale(1); }
@media (hover: hover) {
  .band:hover .band__panel { flex-grow: var(--g); }
  .band .band__panel:hover { flex-grow: 6; }
  .band:hover .band__panel:not(:hover)::after { opacity: .42; }
  .band:hover .band__panel:not(:hover) .band__t { grid-template-rows: 0fr; opacity: 0; transform: translateY(18px); transition-duration: 600ms, 300ms, 300ms; }
  .band:hover .band__panel:not(:hover) img { transform: scale(1.04); }
  .band .band__panel:hover img { transform: scale(1); }
  .band .band__panel:hover .band__t { grid-template-rows: 1fr; opacity: 1; transform: none; transition-delay: 120ms, 300ms, 300ms; }
}


/* entrance: the name rises, the panels open upward one after another */
@media (prefers-reduced-motion: no-preference) {
  .js .showcase__ln > span { transform: translateY(105%); transition: transform 1300ms cubic-bezier(.77, 0, .18, 1); }
  .js .showcase__lede { opacity: 0; transform: translateY(16px); transition: opacity 1000ms ease 400ms, transform 1200ms var(--ease-out) 400ms; }
  .js .band__panel { clip-path: inset(100% 0 0 0); transition: clip-path 1300ms cubic-bezier(.77, 0, .18, 1), flex-grow 900ms cubic-bezier(.77, 0, .18, 1); transition-delay: calc(var(--n, 0) * 120ms), 0ms; }
  .js .band__panel:nth-child(2) { --n: 1; } .js .band__panel:nth-child(3) { --n: 2; } .js .band__panel:nth-child(4) { --n: 3; }
  .js .showcase.is-in .showcase__ln > span, .js .showcase.is-in .showcase__lede { opacity: 1; transform: none; }
  .js .showcase .band.is-in .band__panel { clip-path: inset(0); }
}

/* ───────── PLACE: mountain and sea ─────────
   One screen on pale sky. The name and a line on top; under them two aerial views meet at a seam,
   the mountains on the left, the sea on the right. On arrival each opens outward from the seam and
   settles from a slow zoom; hovering one widens it and lets its words rise. */
.place {
  display: grid; grid-template-rows: auto minmax(0, 1fr); row-gap: clamp(24px, 4svh, 44px);
  height: calc(100svh - var(--head)); min-height: 560px;
  padding: clamp(32px, 6svh, 64px) var(--margin) var(--margin);
  background: var(--sky); position: relative; z-index: 1; overflow: hidden;
}
.place__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.place__title {
  grid-column: 1 / 8; margin: 0;
  font: 300 clamp(44px, 5vw, 86px)/.95 var(--display); letter-spacing: -.025em; color: var(--cobalt);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.place__ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.place__ln > span { display: inline-block; }
.place__text { grid-column: 8 / 13; margin: 0 0 .5em; max-width: 44ch; font: 350 clamp(17px, 1.25vw, 20px)/1.5 var(--display); color: var(--cobalt-soft); }

.vistas { display: flex; gap: 6px; min-height: 0; }
.vista {
  position: relative; flex: 1 1 0; min-width: 0; margin: 0; overflow: hidden; background: #A9C3E0;
  transition: flex-grow 1000ms cubic-bezier(.77, 0, .18, 1);
}
.vista img { width: 100%; height: 100%; object-fit: cover; transition: transform 1800ms cubic-bezier(.16, 1, .3, 1); }
.vista--dag img { object-position: 50% 30%; }
.vista--deniz img { object-position: 50% 35%; }
.vista::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 18, 42, .82) 0%, rgba(8, 18, 42, .45) 26%, rgba(8, 18, 42, 0) 52%);
}
.vista__cap {
  position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 40px); right: clamp(20px, 2.4vw, 40px); bottom: clamp(20px, 3.6svh, 40px);
  display: flex; flex-direction: column; color: #FFFDF6;
}
.vista--deniz .vista__cap { align-items: flex-end; text-align: right; }
.vista__k { font: 400 15px/1.2 var(--text); color: rgba(255, 253, 246, .8); }
.vista__t {
  margin-top: 6px; font: 300 clamp(36px, 3.8vw, 68px)/1 var(--display); letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-shadow: 0 2px 24px rgba(6, 14, 34, .4);
}
.vista__d {
  display: grid; grid-template-rows: 0fr; max-width: 36ch; opacity: 0;
  font: 400 16px/1.55 var(--text); color: rgba(255, 253, 246, .88);
  transition: grid-template-rows 900ms cubic-bezier(.77, 0, .18, 1), opacity 500ms ease;
}
.vista__d > span { overflow: hidden; min-height: 0; padding-top: 12px; }
@media (hover: hover) {
  .vistas:hover .vista { flex-grow: 1; }
  .vistas .vista:hover { flex-grow: 1.7; }
  .vistas .vista:hover img { transform: scale(1.04); }
  .vistas .vista:hover .vista__d { grid-template-rows: 1fr; opacity: 1; transition-delay: 0ms, 250ms; }
}

/* entrance: the views open outward from the seam and settle from a zoom; the name rises */
@media (prefers-reduced-motion: no-preference) {
  .js .vista--dag { clip-path: inset(0 0 0 100%); }
  .js .vista--deniz { clip-path: inset(0 100% 0 0); }
  .js .vista { transition: clip-path 1500ms cubic-bezier(.77, 0, .18, 1), flex-grow 1000ms cubic-bezier(.77, 0, .18, 1); }
  .js .vista img { transform: scale(1.22); }
  .js .vista__cap { opacity: 0; transform: translateY(18px); transition: opacity 900ms ease 1100ms, transform 1100ms cubic-bezier(.16, 1, .3, 1) 1100ms; }
  .js .place__ln > span { transform: translateY(105%); transition: transform 1100ms cubic-bezier(.16, 1, .3, 1); }
  .js .place__text { opacity: 0; transform: translateY(14px); transition: opacity 900ms ease 200ms, transform 1100ms cubic-bezier(.16, 1, .3, 1) 200ms; }
  .js .place.is-in .vista { clip-path: inset(0); }
  .js .place.is-in .vista img { transform: none; transition-duration: 2600ms; }
  .js .place.is-in .vista__cap, .js .place.is-in .place__ln > span, .js .place.is-in .place__text { opacity: 1; transform: none; }
  .js .place.is-in .vistas .vista:hover img { transform: scale(1.04); transition-duration: 1800ms; }
}

/* ───────── ROOMS (doorways) ───────── */
/* A tall section with a sticky stage: scrolling walks the track of arched doorways sideways.
   Each photo drifts inside its arch against the walk, so the rooms feel seen through a doorway. */
.rooms { --sand: #ECE3D2; height: 420svh; background: var(--sand); position: relative; z-index: 1; }
.rooms__stage {
  position: sticky; top: var(--head); height: calc(100svh - var(--head)); min-height: 520px; overflow: hidden;
  display: flex; align-items: center;
}
.rooms__track {
  --door-h: min(calc(100svh - var(--head) - 190px), 720px);
  display: flex; align-items: flex-end; gap: clamp(36px, 4.5vw, 84px);
  padding: 0 calc(var(--margin) + 2vw); will-change: transform;
}
.rooms__intro { flex: none; width: clamp(300px, 30vw, 500px); align-self: center; padding-right: 2vw; }
.rooms__title {
  margin: 0; font: 300 clamp(44px, 4.6vw, 80px)/.98 var(--display); letter-spacing: -.025em; color: var(--cobalt);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.rooms__text { margin: 24px 0 0; max-width: 34ch; font: 350 clamp(17px, 1.2vw, 19px)/1.55 var(--display); color: var(--cobalt-soft); }

.door { flex: none; margin: 0; width: calc(var(--door-h) * .64); }
.door:nth-child(odd of .door) { margin-bottom: 4svh; }
.door__arch {
  position: relative; overflow: hidden; height: var(--door-h); border-radius: 999px 999px 0 0; background: #D9CDB6;
  transform: translateZ(0);
}
.door__arch img { position: absolute; inset: 0 -12%; width: 124%; height: 100%; max-width: none; object-fit: cover; will-change: transform; }
.door__cap { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.door__t { font: 350 clamp(22px, 1.7vw, 28px)/1.15 var(--display); color: var(--cobalt); font-variation-settings: "SOFT" 100, "WONK" 1; }
.door__d { font: 400 15px/1.5 var(--text); color: var(--cobalt-soft); }

/* without motion: a plain row the visitor can swipe */
@media (prefers-reduced-motion: reduce) {
  .rooms { height: auto; }
  .rooms__stage { position: relative; top: 0; height: auto; overflow-x: auto; padding: 96px 0; scroll-snap-type: x mandatory; }
  .door { scroll-snap-align: center; }
}

/* ───────── PLAN (the live thing) ─────────
   Desktop: one screen under the header, on warm ivory. Plan sheet | name, rooms | the room's photo.
   Fraunces for the words, Jost for the details. */
.plan {
  --pad: clamp(28px, 5svh, 56px);
  --room-h: calc(100svh - var(--head) - 2 * var(--pad));
  --curve: cubic-bezier(.77, 0, .18, 1);
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(32px, 4.5vw, 88px);
  height: calc(100svh - var(--head)); min-height: 520px; padding: var(--pad) clamp(20px, 3.4vw, 56px);
  background: var(--ivory); position: relative; z-index: 1; overflow: hidden;
}
.plan__figure { grid-column: 1; grid-row: 1 / -1; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.plan__sheet { padding: clamp(14px, 2svh, 22px); background: #FBF8F1; }
.plan__map { position: relative; width: min(24vw, calc((var(--room-h) - 80px) / 1.937)); }
.plan__note { margin: 0; font: 400 14px/1.4 var(--text); color: var(--cobalt-soft); }
.plan__side { display: contents; }

.plan__head { grid-column: 2; grid-row: 2; }
.plan__title { margin: 0; font: 300 clamp(52px, 5.6vw, 96px)/.92 var(--lux); letter-spacing: -.01em; color: var(--cobalt); }
.plan__ln { display: inline-block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.24em; vertical-align: top; }
.plan__ln > span { display: inline-block; }
.plan .plan__specs { margin: clamp(18px, 3svh, 26px) 0 clamp(26px, 4.5svh, 44px); max-width: 34ch; font: 400 16px/1.6 var(--text); color: var(--cobalt-soft); }

.plan .plan__list { grid-column: 2; grid-row: 3; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(22, 60, 134, .14); }
.plan__list li { border-bottom: 1px solid rgba(22, 60, 134, .14); }
.room {
  position: relative; display: flex; align-items: center; width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  padding: clamp(6px, 1.2svh, 12px) 0; color: var(--cobalt);
  font: 300 clamp(24px, 2.1vw, 34px)/1.15 var(--lux); letter-spacing: .005em;
  opacity: .5; transition: opacity 400ms ease, padding 700ms var(--curve);
}
.room::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--curve);
}
.room::after {
  content: "→"; margin-left: auto; font: 300 20px/1 var(--text); color: var(--gold);
  opacity: 0; transform: translateX(-10px); transition: opacity 400ms ease, transform 700ms var(--curve);
}
.room:hover { opacity: .85; }
.room[aria-pressed="true"] { opacity: 1; padding-left: 48px; }
.room[aria-pressed="true"]::before { transform: scaleX(1); }
.room[aria-pressed="true"]::after { opacity: 1; transform: none; }

.plan__view { grid-column: 3; grid-row: 1 / -1; align-self: center; margin: 0; }
.plan__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(var(--room-h) - 90px); width: 100%; background: #E9E2D2; }
.plan__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  clip-path: inset(0 0 0 100%); transform: scale(1.12);
}
.plan__img.is-on { z-index: 2; clip-path: inset(0); transform: none; transition: clip-path 1100ms var(--curve), transform 1600ms var(--ease-out); }
.plan__img.is-off { z-index: 1; clip-path: inset(0); transform: translateX(-6%) scale(1.04); transition: transform 1100ms var(--curve); }
.plan__tag {
  position: absolute; z-index: 3; left: 0; bottom: 0; margin: 0; padding: 14px 22px 12px 20px;
  background: var(--ivory); color: var(--cobalt); font: 330 clamp(20px, 1.8vw, 28px)/1 var(--lux);
}
.plan__text { margin: 18px 0 0; max-width: 46ch; font: 400 16px/1.6 var(--text); color: var(--cobalt-soft); }
.plan__tag, .plan__text { transition: opacity 500ms ease, transform 700ms var(--ease-out); }
.plan__view.is-swapping .plan__tag, .plan__view.is-swapping .plan__text { opacity: 0; transform: translateY(10px); transition-duration: 220ms; }

.zone {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 0; padding: 0; margin: 0; cursor: pointer; background: rgba(184, 149, 58, 0);
  box-shadow: inset 0 0 0 0 var(--cobalt); mix-blend-mode: multiply;
  transition: background 500ms ease, box-shadow 600ms var(--curve);
}
.zone:hover { background: rgba(184, 149, 58, .16); box-shadow: inset 0 0 0 1.5px rgba(22, 60, 134, .55); }
/* the chosen room: a cobalt frame with a light inner line, so it reads on dark floors too */
.zone.is-on { background: rgba(246, 210, 74, .22); mix-blend-mode: normal; box-shadow: inset 0 0 0 3px var(--cobalt), inset 0 0 0 5px rgba(255, 255, 255, .9); }

/* entrance: the sheet unrolls, the name rises, the rooms follow one by one, the photo wipes in */
@media (prefers-reduced-motion: no-preference) {
  .js .plan__sheet { clip-path: inset(100% 0 0 0); transition: clip-path 1400ms var(--curve); }
  .js .plan__map img { transform: scale(1.08); transition: transform 1800ms var(--ease-out); }
  .js .plan__ln > span { transform: translateY(110%); transition: transform 1200ms var(--curve); }
  .js .plan__specs, .js .plan__note { opacity: 0; transform: translateY(12px); transition: opacity 900ms ease 300ms, transform 1100ms var(--ease-out) 300ms; }
  .js .plan__list li { opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 1000ms var(--ease-out); transition-delay: calc(420ms + var(--n, 0) * 90ms); }
  .js .plan__list li:nth-child(2) { --n: 1; } .js .plan__list li:nth-child(3) { --n: 2; }
  .js .plan__list li:nth-child(4) { --n: 3; } .js .plan__list li:nth-child(5) { --n: 4; }
  .js .plan__frame { clip-path: inset(0 0 0 100%); transition: clip-path 1500ms var(--curve) 250ms; }
  .js .plan__view .plan__text { opacity: 0; }
  .js .plan.is-in .plan__sheet, .js .plan.is-in .plan__frame { clip-path: inset(0); }
  .js .plan.is-in .plan__map img, .js .plan.is-in .plan__ln > span { transform: none; }
  .js .plan.is-in .plan__specs, .js .plan.is-in .plan__note,
  .js .plan.is-in .plan__list li { opacity: 1; transform: none; }
  .js .plan.is-in .plan__view .plan__text { opacity: 1; transition-delay: 900ms; }
  .js .plan.is-in .plan__view.is-swapping .plan__text { opacity: 0; transition-delay: 0ms; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 701px) { .place { height: min(calc(100svh - var(--head)), 1000px); } }
@media (max-aspect-ratio: 1/1) { .plan { height: auto; min-height: 0; padding: 120px var(--margin); row-gap: 0; } }

/* ───────── AMENITIES ─────────
   Deep navy. Two short lists on the left, each row a name and a line; the photograph on the right
   follows the row under the pointer (or in focus), crossfading with a slow settle. */
.amen {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px);
  padding: clamp(96px, 14svh, 150px) var(--margin); background: var(--navy); color: var(--ivory);
  position: relative; z-index: 1;
}
.amen__title {
  margin: 0 0 clamp(32px, 5svh, 56px); font: 300 clamp(44px, 4.6vw, 80px)/.98 var(--display); letter-spacing: -.025em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.amen__text { margin: -16px 0 clamp(28px, 4svh, 44px); max-width: 40ch; font: 350 clamp(17px, 1.3vw, 20px)/1.5 var(--display); color: rgba(246, 241, 228, .78); }
.amen__group { margin: 36px 0 6px; font: 400 15px/1.4 var(--text); color: rgba(246, 241, 228, .6); }
.amen__text + .amen__group { margin-top: 0; }
.amen__rows { list-style: none; margin: 0; padding: 0; }
.amen__rows li { border-bottom: 1px solid rgba(246, 241, 228, .14); }
.amen__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; width: 100%;
  padding: 14px 0; border: 0; background: none; color: inherit; text-align: left; cursor: default;
}
.amen__n { font: 330 clamp(21px, 1.7vw, 27px)/1.2 var(--display); transition: transform 600ms cubic-bezier(.16, 1, .3, 1); }
.amen__d { font: 400 15px/1.4 var(--text); color: rgba(246, 241, 228, .6); text-align: right; transition: color 400ms ease; }
.amen__row:hover .amen__n, .amen__row.is-on .amen__n { transform: translateX(10px); }
.amen__row:hover .amen__d, .amen__row.is-on .amen__d { color: var(--ivory); }

.amen__pic { position: sticky; top: calc(var(--head) + 40px); align-self: start; height: calc(100svh - var(--head) - 80px); margin: 0; overflow: hidden; background: #0A1733; }
.amen__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 900ms ease, transform 1600ms cubic-bezier(.16, 1, .3, 1); }
.amen__pic img.is-on { opacity: 1; transform: none; }

/* ───────── STORY ───────── */
.story {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding: clamp(96px, 14svh, 150px) var(--margin); background: var(--ivory); position: relative; z-index: 1;
}
.story__pic { grid-column: 1 / 6; margin: 0; }
.story__pic img { width: 100%; height: auto; aspect-ratio: 658 / 545; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply; }
.story__body { grid-column: 7 / 13; }
.story__title {
  margin: 0; font: 300 clamp(40px, 4vw, 68px)/1 var(--display); letter-spacing: -.025em; color: var(--cobalt);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.story__lede { margin: 20px 0 0; font: 350 clamp(20px, 1.6vw, 25px)/1.4 var(--display); color: var(--cobalt); }
.story__text { margin: 18px 0 0; max-width: 52ch; font: 400 16px/1.7 var(--text); color: var(--cobalt-soft); }
.story__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(22, 60, 134, .14); }
.story__facts dt { font: 400 14px/1.4 var(--text); color: var(--cobalt-soft); }
.story__facts dd { margin: 4px 0 0; font: 350 clamp(19px, 1.6vw, 24px)/1.3 var(--display); color: var(--cobalt); }

/* ───────── CONTACT ─────────
   Warm sand: where to find us on the left, the name in the middle, a short note to write on the right. */
.contact {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.05fr); column-gap: clamp(32px, 4vw, 72px); align-items: center;
  padding: clamp(88px, 13svh, 140px) var(--margin); background: #ECE3D2; color: var(--cobalt); position: relative; z-index: 1;
}
.contact__map { aspect-ratio: 16 / 9; overflow: hidden; background: #D9CDB6; margin-bottom: 28px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.55) sepia(.12); }
.contact__k { margin: 0 0 6px; font: 400 14px/1.4 var(--text); color: var(--cobalt-soft); }
.contact__v { margin: 0 0 14px; font: 350 18px/1.55 var(--display); }
.contact__v a { text-decoration: none; }
.contact__v .contact__wa { margin-bottom: 10px; }
.contact__v .wa:hover { text-decoration: none; }
/* the mail address: same frame, in white */
.wa--mail { background: #FFFFFF; border-color: rgba(14, 31, 69, .22); }
.wa--mail svg { color: var(--navy); }
.wa--mail:hover { background: #FFFFFF; border-color: rgba(14, 31, 69, .45); }
.contact__v a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact__v .contact__dir { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.contact__mark { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.contact__mark img { width: min(100%, 320px); height: auto; }
.contact__social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.contact__social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(22, 60, 134, .3); color: var(--cobalt);
  transition: background 400ms ease, color 400ms ease, border-color 400ms ease;
}
.contact__social a:hover { background: var(--cobalt); border-color: var(--cobalt); color: var(--ivory); }

.contact__title {
  margin: 0 0 20px; font: 300 clamp(36px, 3.2vw, 54px)/1 var(--display); letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; margin-top: 14px; }
.field span { display: block; font: 400 14px/1.4 var(--text); color: var(--cobalt-soft); }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 2px; padding: 8px 0 10px; border: 0; border-bottom: 1px solid rgba(22, 60, 134, .3);
  background: transparent; color: var(--cobalt); font: 350 18px/1.4 var(--display); border-radius: 0; resize: vertical;
  transition: border-color 300ms ease;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cobalt); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: #B4462E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font: 400 14px/1.5 var(--text); color: var(--cobalt-soft); cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--cobalt); flex: none; }
.consent.is-bad { color: #B4462E; }
.contact__send { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.contact__note.is-ok { color: #2E6B3A; }
.contact__note.is-err { color: #B4462E; }
.contact__note { margin: 0; font: 400 14px/1.4 var(--text); color: var(--cobalt-soft); }
.contact__btn { background: var(--cobalt); color: var(--ivory); border: 0; cursor: pointer; font: 400 17px/1 var(--display); padding: 0 34px; }
.contact__btn:hover { background: #10306E; }
.contact__btn[disabled] { opacity: .6; cursor: wait; }

/* ───────── FOOTER ───────── */
.foot { background: var(--navy); color: rgba(246, 241, 228, .7); padding: 44px var(--margin) 28px; position: relative; z-index: 1; }
.foot a { text-decoration: none; transition: color 300ms ease; }
.foot a:hover { color: var(--ivory); }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(246, 241, 228, .14); }
.foot__name { margin: 0; font: 300 30px/1 var(--display); color: var(--ivory); letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.foot__tag { margin: 6px 0 0; font: 400 14px/1.4 var(--text); color: rgba(246, 241, 228, .55); }
.foot__nav { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; font: 350 17px/1 var(--display); }
.foot__up { font: 400 14px/1 var(--text); }
.foot__end { display: flex; align-items: center; gap: 28px; }
.foot .wa, .foot .wa:hover { color: var(--navy); }
.foot__credit { margin: 0; padding-top: 22px; text-align: center; font: 400 13px/1.5 var(--text); letter-spacing: .02em; color: rgba(246, 241, 228, .5); }
.foot__credit a { color: rgba(246, 241, 228, .8); }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .amen__rows li, .js .story__pic, .js .story__body > *, .js .contact__where, .js .contact__mark, .js .contact__form {
    opacity: 0; transform: translateY(18px); transition: opacity 900ms ease, transform 1100ms cubic-bezier(.16, 1, .3, 1);
  }
  .js .is-seen .amen__rows li, .js .is-seen.story__pic, .js .is-seen .story__body > *, .js .is-seen .contact__where,
  .js .is-seen .contact__mark, .js .is-seen .contact__form { opacity: 1; transform: none; }
  .js .amen__rows li:nth-child(2), .js .story__body > :nth-child(2), .js .contact__mark { transition-delay: 80ms; }
  .js .amen__rows li:nth-child(3), .js .story__body > :nth-child(3), .js .contact__form { transition-delay: 160ms; }
  .js .amen__rows li:nth-child(4), .js .story__body > :nth-child(4) { transition-delay: 240ms; }
  .js .amen__rows li:nth-child(5) { transition-delay: 320ms; } .js .amen__rows li:nth-child(6) { transition-delay: 400ms; }
}

/* ───────── Entrances ───────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 800ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  /* Where the browser has scroll timelines, entrances are tied to the scroll position itself */
  @supports (animation-timeline: view()) {
    .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none;
      animation: rise-in linear both; animation-timeline: view();
      animation-range: entry calc(var(--i, 0) * 6%) entry calc(55% + var(--i, 0) * 6%); }
  }
  @supports (animation-timeline: view()) {
    .reveal-wipe img { animation: wipe-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: .35; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes wipe-up { from { clip-path: inset(100% 0 0 0); transform: scale(1.08); } to { clip-path: inset(0); transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ───────── Tablet ───────── */
@media (max-width: 1000px) {
  .contact { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .contact__mark { grid-column: 1 / -1; grid-row: 1; }
  .story__pic { grid-column: 1 / 6; } .story__body { grid-column: 6 / 13; }
  .place__title { grid-column: 1 / -1; }
  .place__text { grid-column: 1 / 10; margin-top: 18px; }
  .showcase__head { grid-column: 1 / -1; }
  .showcase__lede { grid-column: 5 / -1; margin-top: 36px; }
  .intro__title { grid-column: 1 / -1; }
  .intro__statement { grid-column: 1 / 10; margin-top: 18px; }
}

/* ───────── Phone ───────── */
@media (max-width: 700px) {
  .intro { min-height: 520px; padding: 32px var(--margin) var(--margin); }
  .intro__title { font-size: clamp(44px, 13vw, 60px); }
  .intro__statement { grid-column: 1 / -1; font-size: 16px; }
  .intro__pano { clip-path: inset(calc((1 - var(--k)) * 6%) calc((1 - var(--k)) * 8%)); }
  .intro__pano img { object-position: 42% 90%; transform-origin: 45% 92%; transform: scale(calc(1.75 - .16 * var(--k))); }
  .intro__cap { font-size: 13px; padding: 10px 14px 0 0; }
  :root { --margin: 16px; --gap: 120px; --step-h2: 28px; --step-mid: 22px; }


  .showcase { padding: 96px 0 96px; }
  .showcase__top { display: block; padding: 0 var(--margin); margin-bottom: 48px; }
  .showcase__title { font-size: clamp(48px, 14vw, 64px); }
  .showcase__lede { margin-top: 24px; font-size: 20px; }
  .band { height: auto; flex-wrap: wrap; gap: 4px; padding: 0 4px; }
  .band__panel:nth-child(1), .band__panel:nth-child(4) { flex: 0 0 calc(62% - 2px); height: 44svh; }
  .band__panel:nth-child(2), .band__panel:nth-child(3) { flex: 0 0 calc(38% - 2px); height: 44svh; }
  .band__cap { left: 14px; right: 14px; bottom: 16px; }
  .band__t > span { padding-top: 10px; }
  .band__k { font-size: 14px; white-space: normal; }
  .band__panel:nth-child(1) .band__t, .band__panel:nth-child(4) .band__t { grid-template-rows: 1fr; opacity: 1; transform: none; font-size: 26px; }
  .band__panel img { transform: none; }

  .place { display: block; height: auto; min-height: 0; padding: 88px var(--margin) var(--margin); }
  .place__top { display: block; margin-bottom: 32px; }
  .place__title { font-size: clamp(40px, 11.5vw, 56px); }
  .place__text { margin-top: 16px; font-size: 16px; }
  .vistas { flex-direction: column; gap: 4px; }
  .vista { flex: none; height: 52svh; }
  .js .vista--dag { clip-path: inset(0 0 100% 0); }
  .js .vista--deniz { clip-path: inset(100% 0 0 0); }
  .vista__d { grid-template-rows: 1fr; opacity: 1; font-size: 15px; }
  .vista__t { font-size: 40px; }

  .rooms { height: 520svh; }
  .rooms__track { --door-h: min(calc(100svh - var(--head) - 170px), 560px); gap: 28px; padding: 0 var(--margin); }
  .rooms__intro { width: 82vw; }
  .rooms__title { font-size: clamp(40px, 11.5vw, 56px); }
  .rooms__text { font-size: 16px; }
  .door { width: min(calc(var(--door-h) * .64), 72vw); }
  .door:nth-child(odd of .door) { margin-bottom: 0; }

  .plan { display: flex; flex-direction: column; height: auto; min-height: 0; padding: 96px var(--margin) 104px; }
  .plan__head { order: 1; }
  .plan__figure { order: 2; margin: 8px 0 40px; }
  .plan__map { width: min(250px, 62vw); }
  .plan .plan__list { order: 3; margin-bottom: 40px; }
  .plan__view { order: 4; }
  .plan__frame { aspect-ratio: 4 / 3.4; max-height: none; }
  .plan__title { font-size: 60px; }
  .room { font-size: 26px; padding: 10px 0; }


  .amen { display: block; padding: 88px var(--margin); }
  .amen__pic { display: none; }
  .amen__row { flex-direction: column; gap: 4px; }
  .amen__d { text-align: left; }
  .story { display: block; padding: 88px var(--margin); }
  .story__pic { width: 70%; margin-bottom: 36px; }
  .story__facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .contact { display: flex; flex-direction: column; align-items: stretch; gap: 56px; padding: 88px var(--margin); }
  .contact__mark { order: -1; }
  .contact__mark img { width: 220px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot__top { flex-direction: column; align-items: flex-start; }
  .foot__nav { flex-wrap: wrap; }
  .foot__end { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
}
