/* Concept A "Evergreen" — from design/Concept A Evergreen.dc.html, with the greens lifted to the "Glacier pine" palette. */

:root {
  --bg: oklch(0.25 0.026 185);
  --bg-deep: oklch(0.22 0.023 185);
  --bg-hover: oklch(0.28 0.029 185);
  --ink: oklch(0.94 0.015 88);
  --gold: oklch(0.78 0.09 80);
  --gold-hover: oklch(0.86 0.08 82);
  --gold-light: oklch(0.84 0.08 80);
  --gold-pale: oklch(0.86 0.07 82);
  --gold-mark: oklch(0.82 0.08 80);
  --rule: rgba(239,233,220,.1);
  --rule-strong: rgba(239,233,220,.12);
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
  --pad-x: clamp(20px,5vw,72px);
  --section-y: clamp(80px,12vw,160px);
}

/* Global styles from the design's <helmet> */
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:#efe9dc;-webkit-font-smoothing:antialiased}
a{color:#d6b77a;text-decoration:none}
a:hover{color:#efe9dc}
input::placeholder{color:rgba(239,233,220,.45)}
*{box-sizing:border-box}

[hidden]{display:none !important}
a:focus-visible,button:focus-visible{outline:1px solid #d6b77a;outline-offset:4px}

.page{font-family:var(--sans);font-weight:300;background:var(--bg);color:var(--ink);overflow-x:hidden}

/* Header */
.site-header{position:absolute;top:0;left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(18px,3vw,36px) var(--pad-x)}
.brand,.brand:hover{display:flex;align-items:center;gap:14px;color:var(--ink)}
.brand img{display:block;height:clamp(30px,9vw,46px);width:auto}
.header-cta,.header-cta:hover{font-size:11px;letter-spacing:.26em;font-weight:500;padding:14px 22px;background:var(--gold);color:var(--bg);white-space:nowrap}
.header-cta:hover{background:var(--gold-hover)}

/* Shared */
.btn-gold,.btn-gold:hover{background:var(--gold);color:var(--bg);font-size:12px;letter-spacing:.24em;font-weight:500;padding:20px 34px}
.btn-gold:hover{background:var(--gold-hover)}
.link-underline,.link-underline:hover{font-size:12px;letter-spacing:.24em;color:var(--ink);border-bottom:1px solid rgba(239,233,220,.35);padding-bottom:6px}
.section-title{margin:0;font-family:var(--serif);font-weight:300;font-size:clamp(42px,5.5vw,80px);line-height:1}
.center{text-align:center}
.section-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.card-grid{display:grid;gap:1px;background:var(--rule-strong);border:1px solid var(--rule-strong)}
.card-num{font-family:var(--serif);font-size:22px;color:var(--gold-light)}

/* Hero */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.hero-media{position:absolute;inset:-10% 0 0 0}
.hero-media img{width:100%;height:110%;object-fit:cover;display:block}
/* Scrim at the top keeps the cream logo legible over the bright sky; the bottom fades into the page. */
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in oklch,var(--bg-deep) 88%,transparent) 0%,transparent 30%,transparent 35%,color-mix(in oklch,var(--bg) 75%,transparent) 75%,var(--bg) 100%)}
.hero-content{position:relative;text-align:center;padding:0 24px clamp(64px,11vh,120px);max-width:1200px;display:flex;flex-direction:column;align-items:center;gap:28px}
.hero-title{margin:0;font-family:var(--serif);font-weight:300;font-size:clamp(58px,10vw,168px);line-height:.92;letter-spacing:-.01em}
.hero-title em{font-weight:300;color:var(--gold-pale)}
.hero-lede{margin:0;max-width:520px;font-size:clamp(16px,1.3vw,19px);line-height:1.65;opacity:.85;text-wrap:pretty}
.hero-place{display:flex;align-items:center;gap:18px;margin-top:-4px;font-size:12px;letter-spacing:.42em;color:var(--gold-pale)}
.hero-place .rule{width:56px;height:1px;background:oklch(0.78 0.09 80 / .55)}
.hero-place .place{padding-left:.42em}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:center;margin-top:6px}
.scroll-cue{position:absolute;bottom:0;left:50%;width:1px;height:56px;background:rgba(239,233,220,.2);overflow:hidden}
.scroll-cue-line{width:1px;height:28px;background:var(--gold-light)}

/* Credentials */
.credentials{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.credentials-inner{max-width:1280px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;text-align:center}
.stat{flex:1 1 200px;padding:34px 20px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.stat-num{font-family:var(--serif);font-size:40px;color:var(--gold-light)}
.stat-label{font-size:11px;letter-spacing:.3em;opacity:.7}
.cred{flex:1.6 1 380px;padding:30px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-left:1px solid var(--rule);border-right:1px solid var(--rule)}
.cred-title{font-family:var(--serif);font-size:20px;line-height:1.2;text-wrap:balance;color:var(--gold-light)}
.cred-rule{width:18px;height:1px;background:oklch(0.78 0.09 80 / .5)}
.cred-item{font-family:var(--serif);font-style:italic;font-size:14.4px;line-height:1.2;text-wrap:balance;opacity:.85}

/* About */
.about{max-width:1280px;margin:0 auto;padding:var(--section-y) var(--pad-x);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:clamp(40px,7vw,110px);align-items:center}
.portrait{position:relative;aspect-ratio:4/5;background:repeating-linear-gradient(135deg,var(--bg-hover) 0 12px,var(--bg) 12px 24px);display:flex;align-items:flex-end;padding:22px;outline:1px solid rgba(214,183,122,.35);outline-offset:14px}
.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%;display:block}
.about-copy{display:flex;flex-direction:column;gap:26px}
.body-lg{margin:0;font-size:17px;line-height:1.8;opacity:.82;text-wrap:pretty}

/* Philosophy */
.philosophy{background:var(--bg-deep);padding:var(--section-y) var(--pad-x)}
.philosophy-inner{max-width:1160px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(48px,6vw,80px)}
.philosophy-intro{display:flex;flex-direction:column;align-items:center;gap:clamp(36px,4vw,56px)}
.philosophy-text{width:100%;max-width:840px;display:flex;flex-direction:column;gap:28px}
.philosophy-text p{margin:0;font-family:var(--serif);font-weight:300;font-size:clamp(22px,2vw,28px);line-height:1.6;text-wrap:pretty}
.philosophy-text em{color:var(--gold-pale)}
.pillars{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.pillar{background:var(--bg);padding:clamp(28px,3.2vw,48px);display:flex;flex-direction:column;gap:18px}
.pillar h3{margin:0;font-family:var(--serif);font-weight:400;font-size:36px;line-height:1}
.pillar p{margin:0;font-size:15px;line-height:1.7;opacity:.78;text-wrap:pretty}
.cta-block{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.cta-block h3{margin:0;font-family:var(--serif);font-weight:300;font-size:clamp(36px,4vw,56px);line-height:1}
.cta-block h3 em{color:var(--gold-pale)}
.cta-block p{margin:0;font-size:17px;line-height:1.6;opacity:.82}

/* Interlude */
.interlude{position:relative;height:min(calc(100vw * 906 / 1735),100vh);overflow:hidden;display:flex;align-items:flex-end;justify-content:flex-start}
/* The band is the photo's own 1735:906 shape, capped at one screen. The 0.25 parallax only ever exposes the bottom edge,
   by a quarter of (screen − band), so that is the only overscan; anything more just zooms the photo. */
.interlude-media{position:absolute;inset:0 0 min(0px,calc((100% - 100vh) / 4 - 2px)) 0}
/* 73% keeps the photo's flag in view, clear of the quote, on tablets and desktops. */
.interlude-media img{width:100%;height:100%;object-fit:cover;object-position:73% 62%;display:block}
.interlude-shade{position:absolute;inset:0;background:linear-gradient(20deg,rgba(10,18,14,.88) 0%,rgba(10,18,14,.55) 30%,rgba(10,18,14,0) 60%),linear-gradient(0deg,rgba(10,18,14,.5) 0%,rgba(10,18,14,0) 35%)}
.interlude-quote{position:relative;margin:0;padding:0 clamp(24px,5vw,72px) clamp(48px,8vw,96px);max-width:640px;text-align:left;font-family:var(--serif);font-weight:300;font-style:italic;font-size:clamp(28px,3.4vw,50px);line-height:1.15;text-wrap:balance}

/* Programs */
.programs{max-width:1280px;margin:0 auto;padding:var(--section-y) var(--pad-x)}
.programs .section-head{margin-bottom:clamp(48px,6vw,80px)}
.packages{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.package{background:var(--bg);padding:clamp(32px,3.5vw,52px);display:flex;flex-direction:column;gap:22px;transition:background .5s}
.package:hover{background:var(--bg-hover)}
.package h3{margin:0;font-family:var(--serif);font-weight:400;font-size:40px;line-height:1}
.package-desc{margin:0;font-size:15px;line-height:1.7;opacity:.75}
.package-rule{height:1px;background:rgba(239,233,220,.14)}
.package-list{display:flex;flex-direction:column;gap:12px;font-size:15px;flex:1;margin:0;padding:0;list-style:none}
.package-list li{display:flex;gap:12px;align-items:baseline}
.package-list li > span:last-child{opacity:.85}
.diamond{width:5px;height:5px;transform:rotate(45deg);background:var(--gold);flex:none;position:relative;top:-2px}
.enquire{margin-top:12px;font-size:11px;letter-spacing:.28em;padding:16px 0;text-align:center;border:1px solid rgba(214,183,122,.5)}
.enquire:hover{background:var(--gold);color:var(--bg)}

/* Reviews */
.reviews{background:var(--bg-deep);padding:var(--section-y) var(--pad-x)}
.reviews-inner{max-width:1280px;margin:0 auto}
.reviews .section-head{margin-bottom:clamp(40px,5vw,64px)}
.rating{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px;padding:22px 0;margin-bottom:clamp(48px,6vw,80px);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.rating-score{font-family:var(--serif);font-size:52px;line-height:1;color:var(--gold-light)}
.rating-meta{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.rating-stars{font-size:16px;letter-spacing:.18em;color:var(--gold-light)}
.rating-count{font-size:11px;letter-spacing:.28em;opacity:.7}
.rating-divider{width:1px;height:40px;background:rgba(239,233,220,.15)}
.reviews-link,.reviews-link:hover{font-size:11px;letter-spacing:.26em;color:var(--ink);border-bottom:1px solid rgba(239,233,220,.35);padding-bottom:6px}
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:clamp(28px,4vw,64px)}
.quote{margin:0;display:flex;flex-direction:column;gap:22px;border-top:1px solid rgba(214,183,122,.4);padding-top:28px}
.quote-stars{font-size:13px;letter-spacing:.2em;color:var(--gold-light)}
.quote blockquote{margin:0;font-family:var(--serif);font-style:italic;font-weight:300;font-size:24px;line-height:1.4;text-wrap:pretty}
.quote figcaption{display:flex;align-items:center;gap:14px;margin-top:auto}
.avatar{width:40px;height:40px;flex:none;border-radius:50%;background:var(--bg-hover);display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--gold-light)}
.quote-who{display:flex;flex-direction:column;gap:4px}
.quote-name{font-size:11px;letter-spacing:.28em}
.quote-when{font-size:11px;letter-spacing:.12em;opacity:.55}

/* Book */
.book{position:relative;overflow:hidden;padding:clamp(90px,12vw,170px) var(--pad-x)}
.book-media{position:absolute;inset:-20% 0}
.book-media img{width:100%;height:100%;object-fit:cover;display:block}
.book-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,20,16,.92) 0%,rgba(12,20,16,.7) 55%,rgba(12,20,16,.4) 100%)}
.book-inner{position:relative;max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:clamp(40px,6vw,96px);align-items:center}
.book-copy{display:flex;flex-direction:column;gap:24px}
.book-title{margin:0;font-family:var(--serif);font-weight:300;font-size:clamp(46px,6vw,92px);line-height:.98}
.book-lede{margin:0;max-width:440px;font-size:17px;line-height:1.75;opacity:.85}
.book-panel{background:color-mix(in oklch,var(--bg-deep) 72%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(214,183,122,.3);padding:clamp(28px,4vw,52px)}
.booking-form{display:flex;flex-direction:column;gap:26px}
.field{display:flex;flex-direction:column;gap:10px;font-size:10px;letter-spacing:.32em;opacity:.8}
.field input{background:transparent;border:0;border-bottom:1px solid rgba(239,233,220,.3);padding:10px 0;font:300 18px 'Jost',sans-serif;color:#efe9dc;outline:none;letter-spacing:0}
.field input:focus{border-bottom-color:#d6b77a}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.btn-submit{margin-top:8px;border:0;cursor:pointer;background:var(--gold);color:var(--bg);font:500 12px 'Jost',sans-serif;letter-spacing:.26em;padding:20px}
.btn-submit:hover{background:var(--gold-hover)}
.btn-submit:disabled{cursor:default;opacity:.7}
.form-error{margin:0;font-size:14px;line-height:1.6;color:var(--gold-pale)}
.thanks{display:flex;flex-direction:column;gap:16px;text-align:center;padding:30px 0}
.thanks:focus{outline:none}
/* No-JS fallback: /api/book redirects form posts to #booked or #book-error. */
.thanks:target{display:flex !important}
.book-panel:has(.thanks:target) .booking-form{display:none !important}
.form-error:target{display:block !important}
.thanks-title{font-family:var(--serif);font-style:italic;font-size:44px;color:var(--gold-pale)}
.thanks p{margin:0;font-size:16px;line-height:1.7;opacity:.8}

/* Privacy policy */
.legal{max-width:760px;margin:0 auto;padding:clamp(150px,16vw,210px) var(--pad-x) var(--section-y)}
.legal h1{margin-bottom:18px}
.legal-meta{font-size:11px;letter-spacing:.3em;text-transform:uppercase;opacity:.7;margin:0 0 clamp(40px,5vw,64px)}
.legal h2{margin:clamp(40px,5vw,56px) 0 16px;font-family:var(--serif);font-weight:400;font-size:clamp(28px,3vw,36px);line-height:1.1}
.legal p,.legal li{font-size:17px;line-height:1.8;opacity:.82;text-wrap:pretty}
.legal p{margin:0 0 18px}
.legal ul{margin:0 0 18px;padding-left:20px}
.legal li{margin-bottom:10px}
.legal strong{font-weight:500}

/* Footer */
.footer-link,.footer-link:hover{color:inherit}
.footer-link:hover{color:#d6b77a}
.site-footer{padding:48px var(--pad-x);display:flex;flex-wrap:wrap;gap:20px 40px;justify-content:space-between;align-items:center;font-size:12px;letter-spacing:.18em;opacity:.65;border-top:1px solid var(--rule)}

/* On wide screens the photo's cloud band falls behind a full-size headline: show more forest and set the headline a size down. */
@media (min-width: 900px){
  .hero-media img{object-position:50% 85%}
  .hero-title{font-size:clamp(58px,7vw,124px)}
  .hero-content{gap:22px;padding-bottom:clamp(56px,9vh,96px)}
}

/* Below 360px the design's header overflows the viewport by a few pixels; tighten the CTA only there. */
@media (max-width: 359px){
  .header-cta,.header-cta:hover{padding:14px 14px;letter-spacing:.18em}
}

/* Up to tablet width the band is short against a tall screen, so parallax would need enough overscan to zoom the
   photo right back in; keep the band static there instead. */
@media (max-width: 1024px){
  .interlude-media{inset:0;transform:none !important}
}

/* On phones the photo's own shape makes too thin a band; use a taller one, cropped further right so the flag
   clears the end of the quote. */
@media (max-width: 600px){
  .interlude{height:clamp(320px,48vh,440px)}
  .interlude-media img{object-position:62% 62%}
}

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