/* =========================================================
   Zeegolf — Concept 4 "Dutch White": tonal off-white bands,
   Fraunces display, vector facade plates, arch photo crops.
   ========================================================= */

:root {
  --chalk: #fbfaf6;
  --ivory: #f6f1e6;
  --cream: #efe8d8;
  --bone:  #e7dfce;
  --linen: #ddd3c0;
  --ink: #2a2724;
  --ink-soft: #5b554d;
  --ink-mute: #8a8378;
  --teak: #8a5a3c;
  --gold: #c9a96a;
  --hair: rgba(42, 39, 36, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, li, figure, figcaption, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.band { padding-block: clamp(72px, 9vw, 130px); }
.band--chalk { background: var(--chalk); }
.band--ivory { background: var(--ivory); }
.band--cream { background: var(--cream); }
.band--bone  { background: var(--bone); }
.band--linen { background: var(--linen); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; font-variation-settings: "opsz" 144, "SOFT" 40; }
h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--teak); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.fine { font-size: 12.5px; color: var(--ink-mute); }
.link { display: inline-block; margin-top: 22px; font-size: 14px; border-bottom: 1px solid var(--hair); padding-bottom: 2px; transition: border-color .25s; }
.link:hover { border-color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .02em; transition: .25s; }
.btn--ink { background: var(--ink); color: var(--chalk); }
.btn--ink:hover { background: var(--teak); }

.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head > p { color: var(--ink-soft); max-width: 460px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,250,246,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 26px; letter-spacing: -0.01em; }
.brand__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
.nav__links { display: flex; justify-content: center; gap: 30px; font-size: 14px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav__toggle span:first-child { top: 15px; } .nav__toggle span:last-child { bottom: 15px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav__sheet { display: grid; gap: 4px; padding: 12px var(--pad) 22px; border-top: 1px solid var(--hair); background: var(--chalk); }
.nav__sheet a { padding: 10px 0; font-family: var(--serif); font-size: 22px; }

/* ---------- hero ---------- */
/* drawing size = content width * (760/1400); hero and dark band each give up half of it */
:root { --dw: min(var(--wrap), 100vw - 2 * var(--pad)); --dh: calc(var(--dw) * 0.5429); }
.band--white { background: #fdfcf9; }
.band--ink { background: var(--ink); color: var(--chalk); }

.hero { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 120px); padding-bottom: calc(var(--dh) / 2 + 28px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; filter: sepia(.28) saturate(.6) brightness(1.06) contrast(.94); transform: scale(1.03); animation: heroSettle 3s ease-out both; }
@keyframes heroSettle { from { transform: scale(1.08); } to { transform: scale(1.03); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(253,252,249,.82) 0%, rgba(253,252,249,.62) 40%, rgba(253,252,249,.55) 70%, rgba(253,252,249,.70) 100%),
    linear-gradient(90deg, rgba(253,252,249,.85) 0%, rgba(253,252,249,.5) 48%, rgba(253,252,249,.15) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__text { display: grid; gap: 0; max-width: 820px; }
.hero h1 { max-width: 16ch; }
.hero__lede { margin-top: 26px; max-width: 560px; font-size: 18px; color: var(--ink); }
.hero__cta { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.hero__cta .link { margin-top: 0; border-color: rgba(42,39,36,.35); }

/* seam: zero-height strip between hero and dark band; the drawing is centred on it.
   top half = ink strokes over the light hero, bottom half = the same SVG inverted to light strokes over the dark band */
.seam { position: relative; height: 0; z-index: 3; }
.seam .wrap { position: relative; }
.drawing { position: absolute; left: 0; right: 0; top: 0; margin: 0; aspect-ratio: 1400 / 760; transform: translateY(-50%); }
.drawing img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.drawing__top { clip-path: inset(0 0 50% 0); }
.drawing__bottom { clip-path: inset(50% 0 0 0); filter: invert(1) sepia(.4) saturate(.5) brightness(1.08); }

/* dark band under the seam */
.home { padding-top: calc(var(--dh) / 2 + 64px); }
.home .facts { margin-top: 0; margin-bottom: clamp(64px, 8vw, 110px); border-color: rgba(251,250,246,.16); }
.home .facts li { border-color: rgba(251,250,246,.16); }
.home .facts span, .home .eyebrow, .home .home__item span { color: rgba(251,250,246,.55); }
.home .section-head > p, .home .home__item p { color: rgba(251,250,246,.74); }
.home .home__item { border-color: rgba(251,250,246,.16); }
.home .arch { border-color: rgba(251,250,246,.16); background: #3a342c; }

/* our home */
.home__grid { display: grid; grid-template-columns: .9fr 1.4fr .9fr; gap: 40px; align-items: center; }
.arch--tall { aspect-ratio: 3 / 4.6; }
.home__list { display: grid; }
.home__item { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--hair); }
.home__item:last-child { border-bottom: 1px solid var(--hair); }
.home__item span { font-family: var(--serif); font-size: 15px; color: var(--ink-mute); padding-top: 4px; }
.home__item h3 { font-size: 19px; }
.home__item p { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); }

.facts { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.facts li { padding: 22px 24px 8px 0; border-right: 1px solid var(--hair); display: grid; gap: 4px; }
.facts li + li { padding-left: 24px; }
.facts li:last-child { border-right: 0; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.facts span { font-size: 13px; color: var(--ink-mute); }

/* ---------- rooms ---------- */
.rooms__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.arch { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 6px 6px; border: 1px solid var(--hair); background: var(--ivory); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.room:hover .arch img { transform: scale(1.04); }
.room__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 18px; }
.room__row h3 { font-size: 20px; }
.room__row span { font-size: 13px; color: var(--ink-mute); }
.room p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.room a { display: inline-block; margin-top: 12px; font-size: 13px; border-bottom: 1px solid var(--hair); }
.room a:hover { border-color: var(--ink); }
.rooms .fine { margin-top: 30px; }

/* ---------- story ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story__art { border: 1px solid var(--hair); background: var(--ivory); padding: 10px; border-radius: 4px; }
.story__art img { border-radius: 2px; }
.gens { margin-top: 36px; }
.gens li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--hair); }
.gens li:last-child { border-bottom: 1px solid var(--hair); }
.gens li span { font-family: var(--serif); font-size: 22px; color: var(--teak); line-height: 1.2; }
.gens h3 { font-size: 19px; }
.gens p { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- verandah ---------- */
.verandah__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
.verandah__grid figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.verandah__grid figure:nth-child(2) { aspect-ratio: 1; }
.verandah__grid figure:nth-child(3) { aspect-ratio: 4 / 3; }
.verandah__grid img { width: 100%; height: 100%; object-fit: cover; }
.verandah__text { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-top: 30px; }
.verandah__text .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.verandah__text p:not(.eyebrow) { color: var(--ink-soft); }

/* ---------- details ---------- */
.details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.hairlist li { padding: 13px 0; border-top: 1px solid var(--hair); font-size: 15px; display: flex; justify-content: space-between; gap: 16px; }
.hairlist li:last-child { border-bottom: 1px solid var(--hair); }
.hairlist--places li span:last-child { color: var(--ink-mute); font-size: 13.5px; white-space: nowrap; }

/* ---------- words ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quotes blockquote { background: var(--ivory); border: 1px solid var(--hair); border-radius: 4px; padding: 32px 28px 26px; display: grid; gap: 22px; align-content: space-between; }
.quotes p { font-family: var(--serif); font-size: 20px; line-height: 1.4; font-variation-settings: "opsz" 24; }
.quotes cite { font-style: normal; font-size: 13px; color: var(--ink-mute); letter-spacing: .04em; }

/* ---------- reserve ---------- */
.reserve__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.reserve__grid p:not(.eyebrow) { margin-top: 20px; color: var(--ink-soft); max-width: 420px; }
.reserve__contact { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink) !important; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.form .full { grid-column: 1 / -1; }
.form input, .form select { width: 100%; height: 48px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); outline: none; border-radius: 0; appearance: none; -webkit-appearance: none; }
.form select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%232a2724' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; }
.form input:focus, .form select:focus { border-bottom-color: var(--teak); }
.form .btn { margin-top: 10px; height: 50px; }
.form__note { font-size: 13px; color: var(--ink-mute); min-height: 1.4em; }

/* ---------- footer ---------- */
.footer { padding-block: 70px 30px; }
.footer__top { position: relative; border-bottom: 1px solid var(--hair); padding-bottom: 24px; overflow: hidden; }
.footer__word { font-family: var(--serif); font-size: clamp(72px, 14vw, 200px); line-height: .9; letter-spacing: -0.03em; position: relative; z-index: 1; }
.footer__line { position: absolute; right: -4%; bottom: -10%; width: 46%; opacity: .55; mix-blend-mode: multiply; pointer-events: none; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 36px 0; font-size: 14px; color: var(--ink-soft); }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--hair); padding-top: 18px; font-size: 12px; color: var(--ink-mute); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .rooms__grid { grid-template-columns: 1fr 1fr; }
  .home__grid { grid-template-columns: 1fr 1fr; }
  .home__grid .home__list { grid-column: 1 / -1; order: -1; }
  .story__grid, .reserve__grid, .details__grid { grid-template-columns: 1fr; gap: 40px; }
  .quotes { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto auto; }
  .nav__toggle { display: block; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { border-right: 0; padding-left: 0 !important; }
  .facts li:nth-child(odd) { border-right: 1px solid var(--hair); padding-right: 16px; }
  .facts li:nth-child(even) { padding-left: 16px !important; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .rooms__grid { grid-template-columns: 1fr; }
  .home__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-wrap: wrap; gap: 14px; }
  .hero__bg img { object-position: 22% 60%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(253,252,249,.9) 0%, rgba(253,252,249,.72) 55%, rgba(253,252,249,.6) 100%); }
    .verandah__grid { grid-template-columns: 1fr 1fr; }
  .verandah__grid figure:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .verandah__text { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__line { display: none; }
  .nav .btn { display: none; }
}
