/* Hollaine 02, Three steps to booked. Shared tokens, type, buttons, header, menu, footer. */

/* Golden scale: base x 1.618^n. Desktop base 20px, phone base 18px. */
:root {
  --s-2: 7.64px; --s-15: 9.72px; --s-1: 12.36px; --s-05: 15.72px; --s-025: 17.74px; --s0: 20px; --s05: 25.44px;
  --s1: 32.36px; --s15: 41.16px; --s2: 52.36px; --s25: 66.6px; --s3: 84.72px; --s35: 107.8px;
  --s4: 137.07px; --s45: 174.36px; --s5: 221.79px; --s55: 282.1px; --s6: 358.87px; --s7: 580.69px; --s8: 939.57px; --s9: 1520.26px;

  --white: #FFFFFF; --lake: #34555F; --sage: #B9C1A2; --ink: #1B1B1A; --char: #2E2E2E; --deep: #11333C;
  --t1: #F2F6F7; --t2: #ADBEC3; --t3: #6E8890;
  --err: #B3261E;
  --muted: rgb(27 27 26 / .7);
  --line: rgb(52 85 95 / .16);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;

  --gap-out: var(--s3);   /* between groups */
  --gap-in: var(--s1);    /* inside a group, about a third */
  --pad: var(--s2);       /* page side gutter */
  --sec: var(--s4);       /* section padding */
  --r-img: var(--s0);
  --r-card: var(--s1);
  --shadow: 0 var(--s1) var(--s3) calc(var(--s0) * -1) rgb(17 51 60 / .2), 0 var(--s-2) var(--s0) rgb(17 51 60 / .06);
  --halo: 0 1px 2px rgb(17 51 60 / .35), 0 0 28px rgb(17 51 60 / .35);
  --hdr: var(--s3);
}
@media (max-width: 760px) {
  :root {
    --s-2: 6.88px; --s-15: 8.75px; --s-1: 11.12px; --s-05: 14.15px; --s-025: 15.97px; --s0: 18px; --s05: 22.9px;
    --s1: 29.12px; --s15: 37.05px; --s2: 47.12px; --s25: 59.94px; --s3: 76.24px; --s35: 97.02px;
    --s4: 123.36px; --s45: 156.92px; --s5: 199.61px; --s55: 253.9px; --s6: 322.98px; --s7: 522.6px; --s8: 845.6px; --s9: 1368.2px;
    --pad: var(--s0);
    --sec: var(--s3);
    --gap-out: var(--s25);
    --gap-in: var(--s0);
    --hdr: var(--s25);
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + var(--s0)); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--s0)/1.5 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; border-radius: var(--s-2); }
.dark :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--s0); top: var(--s0); z-index: 100; padding: var(--s-1) var(--s0); background: var(--white); color: var(--lake); border-radius: 999px; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* Type: three tiers. Display (h1, h2), title (h3), body. */
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; color: var(--lake); letter-spacing: -.005em; text-wrap: balance; }
h1, .h1 { font-size: var(--s3); }
h2, .h2 { font-size: var(--s2); }
h3, .h3 { font-size: var(--s1); font-weight: 600; }
.label { display: block; font: 600 var(--s-05)/1.2 var(--serif); text-transform: uppercase; letter-spacing: .14em; color: var(--lake); }
.lead { font-size: var(--s05); line-height: 1.5; color: var(--muted); max-width: 32ch; }
.muted { color: var(--muted); }
.small { font-size: var(--s-05); }
.prose p { max-width: 62ch; }
.prose p + p { margin-top: var(--s0); }
.accent { color: var(--t3); }
@media (max-width: 760px) {
  h1, .h1 { font-size: var(--s2); }
  h2, .h2 { font-size: var(--s15); }
  h3, .h3 { font-size: var(--s05); }
  .lead { font-size: var(--s0); }
}

/* Layout */
.wrap { width: 100%; max-width: calc(var(--s9) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec-tight { padding-top: 0; }
.stack > * + * { margin-top: var(--gap-in); }
.head-block > .label + * { margin-top: var(--s0); }
.head-block > h1 + p, .head-block > h2 + p { margin-top: var(--s0); }
.rimg { border-radius: var(--r-img); object-fit: cover; width: 100%; background: var(--t1); }

/* Button (pasted exactly from the brief; only --fill and --h change) */
.btn { --fill: #34555F; --h: 41.16; --k: calc(var(--h) / 52);
  display: inline-flex; align-items: center; justify-content: center; height: calc(var(--h) * 1px); padding: 0 calc(var(--h) * .62px);
  color: #fff; font: 600 calc(var(--h) * .34px)/1 Manrope, sans-serif; letter-spacing: .02em; white-space: nowrap; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
  background: linear-gradient(to bottom, rgb(from var(--fill) calc(r + 10) calc(g + 10) calc(b + 11)), rgb(from var(--fill) calc(r - 9) calc(g - 9) calc(b - 9)));
  box-shadow: inset 0 calc(1px * var(--k)) 0 rgb(255 255 255 / .38), inset 0 calc(-2px * var(--k)) 0 rgb(27 27 26 / .22),
    0 calc(1px * var(--k)) calc(2px * var(--k)) rgb(27 27 26 / .32), 0 calc(8px * var(--k)) calc(22px * var(--k)) calc(-6px * var(--k)) rgb(from var(--fill) r g b / .75);
  transition: box-shadow .12s ease-out, background .12s ease-out; }
.btn:active:not(:disabled) {
  background: linear-gradient(to top, rgb(from var(--fill) calc(r + 10) calc(g + 10) calc(b + 11)), rgb(from var(--fill) calc(r - 9) calc(g - 9) calc(b - 9)));
  box-shadow: inset 0 calc(2px * var(--k)) calc(4px * var(--k)) rgb(0 0 0 / .32); }
.btn:disabled { box-shadow: none; background: #C9C7C0; }
.btn-lg { --h: 52.36; }
.btn-sm { --h: 32.36; }
.btn { position: relative; gap: var(--s-1); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
@media (max-width: 760px) {
  .btn { --h: 47.12; }
  .btn-lg { --h: 47.12; }
  .btn-sm { --h: 37.05; }
  .btn-sm::after { content: ""; position: absolute; inset: -4px -2px; }
}
/* Loading and done states for form buttons */
.btn .spin { width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Quiet secondary action: a text link, never competing */
.quiet { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font: 600 var(--s-05)/1 var(--sans); letter-spacing: .02em; color: var(--lake); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; text-decoration-color: rgb(52 85 95 / .4); transition: text-decoration-color .2s, text-underline-offset .2s; }
.quiet:hover { text-decoration-color: currentColor; text-underline-offset: .5em; }
.quiet svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.quiet:hover svg { transform: translateX(3px); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s0) var(--s1); }

/* Wordmark (never typed): mask over currentColor */
.wm { display: block; height: auto; aspect-ratio: 2528 / 600; background: currentColor; -webkit-mask: url(../../assets/logo/wordmark-white.png) center / contain no-repeat; mask: url(../../assets/logo/wordmark-white.png) center / contain no-repeat; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--hdr); background: rgb(255 255 255 / .96); color: var(--lake); box-shadow: 0 1px 0 var(--line); transition: background .3s, box-shadow .3s, color .3s; }
.hdr { height: 100%; display: flex; align-items: center; gap: var(--s1); }
.brand { display: block; padding: var(--s-2) 0; color: inherit; flex: none; }
.brand .wm { width: var(--s45); transition: width .3s; }
.nav { display: flex; align-items: center; gap: var(--s05); margin-left: auto; }
.nav a { position: relative; font: 500 var(--s-025)/1 var(--sans); text-decoration: none; padding: var(--s-1) 0; color: inherit; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--s-2); height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-steps { display: inline-flex; align-items: center; gap: var(--s-2); }
.nav-steps .dots { display: inline-flex; gap: var(--s-2); }
.nav-steps .dots i { width: var(--s-2); height: var(--s-2); border-radius: 50%; background: currentColor; opacity: .35; }
.nav-steps .dots i:first-child { opacity: 1; }
.menu-btn { display: none; padding: 0; width: 44px; height: 44px; margin-right: calc(var(--s-1) * -1); border: 0; background: none; color: inherit; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: var(--s05); height: var(--s05); }

/* Over the film: transparent, white wordmark, bigger */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; color: var(--white); }
.has-hero .site-header .nav a, .has-hero .site-header .menu-btn { text-shadow: var(--halo); }
.has-hero .site-header .brand .wm { width: var(--s55); filter: drop-shadow(0 0 var(--s0) rgb(17 51 60 / .45)); }
.has-hero .site-header.is-solid { background: rgb(255 255 255 / .96); color: var(--lake); box-shadow: 0 1px 0 var(--line); }
.has-hero .site-header.is-solid .nav a, .has-hero .site-header.is-solid .menu-btn { text-shadow: none; }
.has-hero .site-header.is-solid .brand .wm { width: var(--s45); filter: none; }

@media (max-width: 1439px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-cta { margin-left: auto; }
}
@media (max-width: 760px) {
  .brand .wm, .has-hero .site-header.is-solid .brand .wm { width: var(--s4); }
  .has-hero .site-header .brand .wm { width: var(--s45); }
  .hdr { gap: var(--s-1); }
}
@media (max-width: 419px) { .has-hero .site-header:not(.is-solid) .hdr-cta { display: none; } .has-hero .site-header:not(.is-solid) .menu-btn { margin-left: auto; } }
@media (max-width: 359px) { .hdr-cta { display: none; } .menu-btn { margin-left: auto; } }

/* Phone menu: full-screen sheet */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--white); color: var(--lake); display: flex; flex-direction: column; padding: 0 var(--pad) var(--s1); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-top { height: var(--hdr); flex: none; display: flex; align-items: center; justify-content: space-between; }
.menu-top .wm { width: var(--s4); }
.menu-close { width: 44px; height: 44px; margin-right: calc(var(--s-1) * -1); border: 0; background: none; color: inherit; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-close svg { width: var(--s05); height: var(--s05); }
.menu-links { margin-top: var(--s1); display: grid; gap: var(--s-2); }
.menu-links a { display: flex; align-items: center; min-height: 44px; font: 500 var(--s15)/1.05 var(--serif); text-decoration: none; }
.menu-links a.menu-steps { font-size: var(--s1); color: var(--t3); }
.menu-foot { margin-top: auto; padding-top: var(--s2); display: grid; gap: var(--s0); justify-items: start; }
.menu-foot a:not(.btn) { color: var(--muted); font-size: var(--s-05); min-height: 44px; display: inline-flex; align-items: center; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: sheet .35s cubic-bezier(.2, .7, .2, 1); }
  @keyframes sheet { from { opacity: 0; transform: translateY(var(--s0)); } }
}

/* Footer */
.site-footer { background: var(--t1); color: var(--ink); padding-top: var(--s4); padding-bottom: var(--s1); margin-top: 0; }
.ftr { display: grid; grid-template-columns: 1.618fr 1fr 1fr 1fr; gap: var(--gap-out) var(--s2); }
.ftr-brand a { display: inline-block; }
.ftr-brand .wm { width: var(--s5); color: var(--lake); }
.ftr-brand p { margin-top: var(--s0); max-width: 30ch; color: var(--muted); font-size: var(--s-05); }
.ftr-brand address { margin-top: var(--s0); font-style: normal; font-size: var(--s-05); line-height: 1.7; }
.ftr-brand address a { text-decoration: none; }
.ftr-brand address a:hover { text-decoration: underline; }
.ftr-brand .btn { margin-top: var(--s1); }
.ftr nav h2 { font: 600 var(--s-05)/1.2 var(--serif); text-transform: uppercase; letter-spacing: .14em; color: var(--lake); }
.ftr nav ul { margin-top: var(--s0); display: grid; gap: var(--s-2); }
.ftr nav a { font-size: var(--s-05); text-decoration: none; color: var(--muted); display: inline-block; padding: 2px 0; }
.ftr nav a:hover { color: var(--lake); text-decoration: underline; text-underline-offset: .3em; }
.ftr-base { margin-top: var(--s3); padding-top: var(--s0); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-1) var(--s1); font-size: var(--s-05); color: var(--muted); }
.credit { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 32px; padding: 0 var(--s0); border-radius: 999px; border: 1px solid rgb(52 85 95 / .3); color: var(--lake); text-decoration: none; font-size: var(--s-1); font-weight: 600; letter-spacing: .03em; }
.credit:hover { background: var(--white); }
.credit svg { width: 1em; height: 1em; }
@media (max-width: 1100px) { .ftr { grid-template-columns: 1fr 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .site-footer { padding-top: var(--s3); }
  .ftr { grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s0); }
  .ftr nav:last-child { grid-column: 1 / -1; }
  .ftr nav a { padding: var(--s-2) 0; }
  .credit { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Focal points for the finalized stills: tall frames keep each photo's subject in view (2026-11-23). */
main img[src$="string-lights.jpg"] { object-position: 18% 50%; }
main img[src$="dock-and-lawn.jpg"] { object-position: 62% 50%; }
main img[src$="aerial-grounds.jpg"] { object-position: 47% 50%; }
main img[src$="aerial-lake.jpg"] { object-position: 62% 50%; }
main img[src$="table-setting.jpg"] { object-position: 35% 60%; }
main img[src$="lakeside-reception.jpg"] { object-position: 62% 55%; }
main img[src$="house-wing.jpg"] { object-position: 55% 50%; }

/* Glass bar header (2026-11-24, his pick, option 3): one rounded bar holding the name, links and Book a tour, the same
   on every page. Over the home film it is see-through glass; once scrolled, and on every inner page, the same bar is solid white.
   Golden geometry: bar s3 tall (phone s25), name and button both s2 tall (phone s15), so the inset around them is even. */
.site-header, .has-hero .site-header, .has-hero .site-header.is-solid {
  top: var(--s0); left: 0; right: 0; margin-inline: auto; height: var(--s3); border-radius: 999px;
  width: min(100% - 2 * var(--pad) + 2 * var(--s1), var(--s9) + 2 * var(--s1));
  background: rgb(255 255 255 / .96); color: var(--lake); box-shadow: inset 0 0 0 1px var(--line), 0 var(--s0) var(--s2) calc(var(--s0) * -1) rgb(17 51 60 / .22); }
body:not(.has-hero) .site-header { margin-top: var(--s0); }
.has-hero .site-header:not(.is-solid) { background: rgb(255 255 255 / .1); color: var(--white); -webkit-backdrop-filter: blur(6px) saturate(1.15); backdrop-filter: blur(6px) saturate(1.15);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .34), inset 0 1px 0 rgb(255 255 255 / .28), 0 var(--s0) var(--s2) calc(var(--s0) * -1) rgb(17 51 60 / .32); }
.site-header .hdr { max-width: none; width: 100%; height: 100%; padding: 0 calc((var(--s3) - var(--s2)) / 2) 0 var(--s1); gap: var(--s1); }
.site-header .brand { padding: 0; }
.site-header .hdr .brand .wm, .has-hero .site-header .hdr .brand .wm { width: calc(var(--s2) * 2528 / 600); }
.site-header .nav { gap: var(--s1); }
.site-header .nav a { font-size: var(--s0); }
.site-header .hdr-cta { --h: 52.36; margin-left: 0; }
@media (max-width: 1439px) { .site-header .hdr-cta { margin-left: auto; } .site-header .menu-btn { margin-right: 0; } }
@media (max-width: 760px) {
  .site-header, .has-hero .site-header, .has-hero .site-header.is-solid { top: var(--s-1); width: calc(100% - 2 * var(--s-1)); height: var(--s25); }
  body:not(.has-hero) .site-header { margin-top: var(--s-1); }
  .site-header .hdr { padding: 0 calc((var(--s25) - var(--s15)) / 2) 0 var(--s0); gap: var(--s-2); }
  .site-header .hdr .brand .wm, .has-hero .site-header .hdr .brand .wm, .has-hero .site-header.is-solid .hdr .brand .wm { width: var(--s4); }
  .site-header .hdr-cta, .has-hero .site-header:not(.is-solid) .hdr-cta { display: inline-flex; --h: 37.05; margin-left: auto; }
  .site-header .menu-btn { width: var(--s15); height: var(--s15); margin: 0; border-radius: 50%; background: var(--t1); }
  .has-hero .site-header:not(.is-solid) .menu-btn { margin: 0; background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .34); }
  /* both are s15 (37px) to keep the even inset; an invisible 44px tap area sits around each */
  .site-header .menu-btn { position: relative; }
  .site-header .menu-btn::after, .site-header .hdr-cta::after { content: ""; position: absolute; inset: calc((var(--s15) - 44px) / 2) calc((var(--s15) - 44px) / 2); }
}

/* Fixes (2026-11-23): the footer Book a tour lost its centred label because `.ftr-brand a` made it inline-block */
.ftr-brand .btn { display: inline-flex; }

/* Golden scale (2026-11-23): every type size is base x 1.618^(n/2). Button labels are the button height / 1.618^2
   (was x .34, which fell between steps), and the header links drop their quarter step to the half step below. */
.btn { font-size: calc(var(--h) * .382px); }
.nav a { font-size: var(--s-05); }
