/* ================= WIN House — Apple-style site ================= */
:root {
  /* Brand */
  --green: #2E6B50;
  --green-deep: #1F3B2F;
  --gold: #C6A548;
  /* Light theme (default) — warm beige */
  --white: #FAF7F2;         /* page background (warm paper) */
  --surface: #FFFDF9;       /* cards on sand sections */
  --soft: #F1EBE1;          /* sand sections / tiles / footer */
  --ink: #1F1C18;
  --gray: #6F685F;
  --line: #E2D9CC;
  --accent: #2E6B50;        /* links, eyebrows on the page background */
  --heading: #1F3B2F;       /* big hero / contact headlines */
  --green-soft: #DCE6DA;    /* big 01 / 02 numbers */
  --nav-bg: rgba(255,255,255,.82);
  --nav-line: rgba(60,45,25,.09);
  --nav-ink: rgba(31,28,24,.8);
  --menu-bg: rgba(255,255,255,.98);
  --media-a: #EFE9DF; --media-b: #E6DED1;
  --media-ink: rgba(46,107,80,.55); --media-grid: rgba(90,70,40,.07);
  --input-bg: #FFFDF9;
  --dark: #0f1a15;          /* Experiences section */
  --dark-2: #17251e;
  --dark-num: #2a4237;
  color-scheme: light;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}
/* Dark theme: follows the device unless the visitor picked one with the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --white: #0b0f0d; --surface: #1a201c; --soft: #131815;
    --ink: #f5f5f7; --gray: #a1a1a6; --line: #2f3632;
    --accent: #6fbf95; --heading: #f5f5f7; --green-soft: #1f3329;
    --nav-bg: rgba(11,15,13,.72); --nav-line: rgba(255,255,255,.08); --nav-ink: rgba(245,245,247,.8);
    --menu-bg: rgba(11,15,13,.97);
    --media-a: #18211c; --media-b: #1e2a23; --media-ink: rgba(111,191,149,.55); --media-grid: rgba(255,255,255,.04);
    --input-bg: #0b0f0d;
    --dark: #000; --dark-2: #121a16; --dark-num: #1f3329;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --white: #0b0f0d; --surface: #1a201c; --soft: #131815;
  --ink: #f5f5f7; --gray: #a1a1a6; --line: #2f3632;
  --accent: #6fbf95; --heading: #f5f5f7; --green-soft: #1f3329;
  --nav-bg: rgba(11,15,13,.72); --nav-line: rgba(255,255,255,.08); --nav-ink: rgba(245,245,247,.8);
  --menu-bg: rgba(11,15,13,.97);
  --media-a: #18211c; --media-b: #1e2a23; --media-ink: rgba(111,191,149,.55); --media-grid: rgba(255,255,255,.04);
  --input-bg: #0b0f0d;
  --dark: #000; --dark-2: #121a16; --dark-num: #1f3329;
  color-scheme: dark;
}
body { transition: background-color .4s, color .4s; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 52px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(980px, 100% - 44px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 44px); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-inline: auto; }
.muted { color: var(--gray); }
.gold-text { color: var(--gold); }

/* ---------- NAV (frosted glass) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-line);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  width: min(1024px, 100% - 44px); margin-inline: auto;
  height: 52px; display: flex; align-items: center; gap: 32px;
}
.logo { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--serif); }
.logo-win { color: var(--gold); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
.logo-house { color: var(--heading); font-size: 12px; letter-spacing: .32em; }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-size: 13px; }
.nav-links a { color: var(--nav-ink); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--green); color: #fff;
  font: 400 17px var(--sans); letter-spacing: -0.02em;
  padding: 12px 24px; border-radius: 980px;
  transition: background .25s;
}
.btn:hover { background: var(--green-deep); }
.btn-small { font-size: 12px; padding: 6px 14px; }
.link-arrow { color: var(--accent); font-size: 17px; }
.link-arrow::after { content: " ›"; font-size: 1.15em; }
.link-arrow:hover { text-decoration: underline; }
.links { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent); margin: 0 0 10px; letter-spacing: -0.01em; }
.eyebrow.gold { color: var(--gold); }
.display { margin: 0;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.04; font-weight: 700;
  letter-spacing: -0.035em;
}
.headline {
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.07; font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 48px;
}
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--gray); max-width: 760px; margin: 22px auto 0; letter-spacing: -0.015em; }
.body-lg { font-size: 21px; line-height: 1.43; color: var(--gray); margin: -24px 0 40px; }
.headline.center + .body-lg { margin-top: -24px; }
.sub-eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin: 64px 0 22px; }

/* ---------- Image slots ---------- */
.media {
  position: relative; margin: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--media-a), var(--media-b));
  border-radius: 28px;
}
.media::before {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 20px; text-align: center;
  font-size: 13px; letter-spacing: .02em; color: var(--media-ink);
  background-image:
    linear-gradient(var(--media-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--media-grid) 1px, transparent 1px);
  background-size: 40px 40px;
}
.media.dark { background: linear-gradient(135deg, #1b2a23, #23362c); }
.media.dark::before { color: rgba(198,165,72,.6); background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); }
.media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.media img.missing { display: none; }

.media-hero { width: min(1440px, 100% - 44px); margin: 64px auto 0; aspect-ratio: 2880 / 1240; }
.media-wide { aspect-ratio: 2 / 1; margin: 80px auto 0; }
.media-tile { aspect-ratio: 4 / 3; margin-top: 36px; border-radius: 20px; }
.media-tall { aspect-ratio: 4 / 5; }
.media-card { aspect-ratio: 4 / 3; border-radius: 18px; margin-bottom: 24px; }

/* ---------- Sections ---------- */
.hero { padding: 96px 0 0; }
.hero .display { color: var(--heading); }
.section { padding: 130px 0; }
.section.soft { background: var(--soft); }
.chapter { padding: 150px 0 40px; }
.chapter-num { font-family: var(--serif); font-size: 88px; font-weight: 700; line-height: 1; color: var(--green-soft); margin: 0 0 6px; }

/* Tiles */
.tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  width: min(1440px, 100% - 24px); margin: 12px auto 0;
}
.tile { border-radius: 28px; padding: 56px 40px 40px; text-align: center; overflow: hidden; transition: transform .5s var(--ease); }
.tile:hover { transform: scale(1.01); }
.tile h2 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.07; }
.tile-quote { font-size: 21px; color: var(--gray); max-width: 440px; margin: 10px auto 16px; }
.tile-light { background: var(--soft); }
.tile-dark { background: var(--dark); color: #f5f5f7; }
.tile-dark .tile-quote { color: #a1a1a6; }
.tile-dark .link-arrow { color: var(--gold); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-copy p { font-size: 21px; line-height: 1.5; color: var(--gray); margin: 0 0 20px; }
.about-copy p:last-child { color: var(--ink); font-weight: 600; }
.combine li {
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 600; display: flex; gap: 14px; align-items: center;
}
.combine li::before { content: ""; width: 4px; height: 24px; background: var(--green); border-radius: 2px; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border-radius: 24px; padding: 40px 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.card h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { color: var(--gray); margin: 0; }
.card-feature { background: var(--green); color: #fff; }
.card-feature p { color: rgba(255,255,255,.8); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.checks li { position: relative; padding-left: 36px; font-size: 19px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 13px;
  display: grid; place-items: center;
}
.checks-center { max-width: 760px; margin-inline: auto; }
.checks-1 { grid-template-columns: 1fr; gap: 14px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.numbered { counter-reset: n; }
.numbered li {
  counter-increment: n; display: flex; gap: 20px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line); font-size: 21px; font-weight: 600;
}
.numbered li::before { content: counter(n, decimal-leading-zero); color: var(--accent); font-size: 15px; font-weight: 600; min-width: 22px; }
.stat-row { display: flex; gap: 56px; margin-top: 44px; flex-wrap: wrap; }
.stat { display: block; font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.stat-label { display: block; color: var(--gray); font-size: 15px; margin-top: 8px; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tier { background: var(--surface); border-radius: 24px; padding: 44px 32px; text-align: center; border: 1px solid transparent; }
.tier-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0 0 14px; }
.tier h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 12px; }
.tier p:last-child { color: var(--gray); margin: 0; }
.tier-feature { background: var(--green-deep); color: #fff; transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(31,59,47,.6); }
.tier-feature p:last-child { color: rgba(255,255,255,.75); }

/* Mini grid */
.grid-5 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mini { grid-column: span 2; background: var(--soft); border-radius: 24px; padding: 36px 30px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.mini:nth-child(4), .mini:nth-child(5) { grid-column: span 3; }
.mini-num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--green-soft); line-height: 1; }
.mini h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }

/* ---------- Dark zone ---------- */
.dark-zone { background: var(--dark); color: #f5f5f7; }
.dark-zone .lede, .dark-zone .body-lg, .dark-zone .muted { color: #a1a1a6; }
.dark-zone .chapter-num { color: var(--dark-num); }
.dark-zone .section { padding-top: 110px; padding-bottom: 110px; }
.dark-zone .checks li::before { background: var(--gold); color: var(--dark); }

.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.list-grid div {
  background: var(--dark-2); border-radius: 18px; padding: 24px 26px;
  display: flex; gap: 18px; align-items: baseline; font-size: 19px;
}
.list-grid span { color: var(--gold); font-weight: 600; font-size: 15px; }
.list-grid p { margin: 0; }
html.cms-pending .hero, html.cms-pending .tiles { opacity: 0; }
.hero, .tiles { transition: opacity .4s; }

.exp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.exp-card { background: var(--dark-2); border-radius: 28px; padding: 14px 14px 34px; }
.exp-card h3 { font-size: 24px; letter-spacing: -0.02em; margin: 0 16px 16px; }
.exp-card ul { margin: 0 16px; }
.exp-card li { color: #a1a1a6; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 16px; }

/* ---------- Contact ---------- */
.contact { padding-top: 150px; }
.contact .display { color: var(--heading); }
.tagline { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(20px, 2.4vw, 26px); margin: 24px 0 80px; }
.tagline span { color: var(--line); margin: 0 6px; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.contact-form { background: var(--soft); border-radius: 28px; padding: 40px; display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gray); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 17px var(--sans); color: var(--ink);
  border: 1px solid var(--line); background: var(--input-bg); border-radius: 12px;
  padding: 13px 14px; width: 100%; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(46,107,80,.25); border-color: var(--green); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--accent); font-size: 15px; }
.contact-info h3 { font-size: 28px; margin-bottom: 20px; }
.contact-info p { margin: 0 0 18px; font-size: 17px; }
.ci-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); margin-bottom: 2px; }
.contact-info a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--soft); font-size: 12px; color: var(--gray); padding: 48px 0 calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-cols a:not(.logo) { display: block; margin-bottom: 8px; }
.footer-cols a:hover { text-decoration: underline; }
.logo-footer { margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
/* Only hide for the fade-in when scripts are running (html.js), so content can never stay invisible. */
html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .reveal.in, .reveal.in { opacity: 1; transform: none; }
.tier-feature.reveal.in { transform: translateY(-10px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiles, .about-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 48px; }
  .split.reverse .split-copy { order: 0; }
  .cards-3, .tiers, .exp-cards { grid-template-columns: 1fr; }
  .tier-feature, .tier-feature.reveal.in { transform: none; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .mini, .mini:nth-child(4), .mini:nth-child(5) { grid-column: span 1; }
  .mini:nth-child(5) { grid-column: span 2; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 52px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--menu-bg); backdrop-filter: blur(20px);
    padding: 12px 22px 28px; font-size: 24px; font-weight: 600;
    transform: translateY(-120%); transition: transform .45s var(--ease);
    margin-top: env(safe-area-inset-top, 0px);
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { transform: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hide-sm { display: none; }
  .section { padding: 90px 0; }
  .chapter { padding: 110px 0 20px; }
  .hero { padding-top: 64px; }
  .media-hero { aspect-ratio: 4 / 5; border-radius: 22px; }
  .media-wide { aspect-ratio: 4 / 3; }
  .tile { padding: 44px 22px 22px; }
  .checks, .list-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .mini:nth-child(5) { grid-column: span 1; }
  .body-lg { font-size: 19px; }
}

/* ---------- Opening animation ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--white);
  transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}
.intro.done { transform: translateY(-100%); }
html.intro-on { overflow: hidden; }
.intro-logo { display: grid; justify-items: center; font-family: var(--serif); }
.intro-win { display: flex; overflow: hidden; line-height: 1; padding-bottom: .04em; }
.intro-win span {
  display: block; color: var(--gold); font-weight: 700;
  font-size: clamp(72px, 14vw, 150px); letter-spacing: .02em;
  transform: translateY(105%);
  animation: introRise .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.intro-win span:nth-child(2) { animation-delay: .1s; }
.intro-win span:nth-child(3) { animation-delay: .2s; }
.intro-house {
  color: var(--heading); font-size: clamp(16px, 2.6vw, 26px);
  letter-spacing: .1em; opacity: 0; margin-top: 6px; padding-left: .5em;
  animation: introSpread 1.1s cubic-bezier(.22, 1, .36, 1) .45s forwards;
}
.intro-line {
  display: block; height: 4px; width: 0; background: var(--green);
  border-radius: 2px; margin-top: 22px;
  animation: introLine .8s cubic-bezier(.65, 0, .35, 1) .8s forwards;
}
.intro-tag {
  font-style: italic; color: var(--gold); font-size: clamp(15px, 1.8vw, 19px);
  margin-top: 18px; opacity: 0;
  animation: introFade .7s ease 1.15s forwards;
}
@keyframes introRise { to { transform: none; } }
@keyframes introSpread { to { opacity: 1; letter-spacing: .5em; } }
@keyframes introLine { to { width: clamp(140px, 22vw, 240px); } }
@keyframes introFade { to { opacity: 1; } }
/* Hold the hero back while the intro is up, then let it rise in. */
html.js.intro-on .hero .reveal.in, html.js.intro-on .tiles .reveal.in { opacity: 0; transform: translateY(60px); }
.hero .reveal { transition-duration: 1.2s; }
.hero .media-hero.reveal { transition-delay: .15s; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--nav-ink); cursor: pointer;
  transition: background .2s, color .2s;
}
.theme-toggle:hover { background: var(--soft); color: var(--ink); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
@media (max-width: 760px) {
  .theme-toggle { margin-left: auto; }
  .nav-toggle { margin-left: 4px !important; }
}

/* ---------- Resources: guides + FAQ ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  background: var(--surface); border-radius: 24px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px; min-height: 260px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); }
.guide-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.guide-card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.guide-card p { color: var(--gray); margin: 0; flex: 1; }
.faq-title { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; margin: 96px 0 24px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 300; color: var(--accent); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 24px; color: var(--gray); font-size: 17px; line-height: 1.6; max-width: 780px; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } .guide-card { min-height: 0; } }

/* ---------- Guide (article) pages ---------- */
.article { width: min(720px, 100% - 44px); margin: 0 auto; padding: 72px 0 40px; }
.crumbs { font-size: 14px; color: var(--gray); margin-bottom: 28px; }
.crumbs a { color: var(--accent); }
.article h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
.article .standfirst { font-size: 21px; line-height: 1.45; color: var(--gray); margin: 0 0 12px; }
.article .meta { font-size: 14px; color: var(--gray); margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 28px; letter-spacing: -0.02em; margin: 48px 0 14px; }
.article h3 { font-size: 20px; margin: 28px 0 8px; }
.article p, .article li { font-size: 18px; line-height: 1.65; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 22px; padding-left: 22px; list-style: revert; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 16px; }
.article th, .article td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: var(--gray); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.cta-box { background: var(--soft); border-radius: 24px; padding: 36px 32px; margin: 56px 0 24px; text-align: center; }
.cta-box h2 { margin: 0 0 10px; }
.cta-box p { color: var(--gray); }
.more-guides { width: min(980px, 100% - 44px); margin: 0 auto; padding: 24px 0 100px; }
.more-guides h2 { font-size: 24px; margin-bottom: 18px; }
.nav-simple .nav-links { display: flex; }
@media (max-width: 760px) { .nav-simple .nav-links { position: static; transform: none; flex-direction: row; background: none; padding: 0; font-size: 13px; font-weight: 400; gap: 16px; margin-left: auto; } .nav-simple .nav-links a { border: 0; padding: 0; } .nav-simple .theme-toggle { margin-left: 8px; } }
.draft-banner { background: #fff1cc; color: #7a5b00; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 20px; }
#guide[aria-busy="true"] #gTitle { opacity: .4; }

/* ---------- Export mode (?pdf): everything visible, no animation ---------- */
html.pdf .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.pdf .nav { position: relative; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.pdf, html.pdf * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html.pdf .hero, html.pdf .tiles { opacity: 1 !important; }
@media print { html.pdf body { background: var(--white); } }

/* ---------- Multi-page additions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .nav-links a[aria-current="page"] { color: var(--accent); } }
.about-copy .link-arrow { display: inline-block; margin-top: 6px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card {
  background: var(--surface); border-radius: 24px; padding: 44px 40px 40px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); }
.svc-num { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; color: var(--green-soft); margin: 0; }
.svc-card h3 { font-size: 30px; letter-spacing: -0.02em; }
.svc-card ul { display: grid; gap: 0; margin: 4px 0 10px; }
.svc-card li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.svc-card .link-arrow { margin-top: auto; }
.svc-dark { background: var(--dark); color: #f5f5f7; }
.svc-dark .svc-num { color: var(--dark-num); }
.svc-dark li { color: #c9c9ce; border-top-color: rgba(255,255,255,.1); }
.svc-dark .link-arrow { color: var(--gold); }
.more-link { margin: 32px 0 0; }
.cta-band { text-align: center; }
.cta-band .display { color: var(--heading); }
.cta-band .tagline { margin: 24px 0 36px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { padding: 36px 28px 32px; } }

/* ---------- One shared outer width (top bar = hero = wide photos = cards) ---------- */
:root { --frame: min(1240px, 100% - 44px); }
.nav-inner { width: var(--frame); }
.media-hero { width: var(--frame); }
.wrap-wide { width: var(--frame); }
.tiles { width: var(--frame); }

/* ---------- Depth: soft layered shadows ---------- */
:root {
  --shadow-sm: 0 1px 2px rgba(60, 45, 25, .06), 0 4px 12px -2px rgba(60, 45, 25, .08);
  --shadow-md: 0 2px 4px rgba(60, 45, 25, .05), 0 12px 28px -6px rgba(60, 45, 25, .14), 0 28px 60px -20px rgba(60, 45, 25, .18);
  --shadow-lg: 0 4px 8px rgba(60, 45, 25, .06), 0 20px 40px -8px rgba(60, 45, 25, .18), 0 44px 90px -28px rgba(60, 45, 25, .26);
  --edge: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 16px -4px rgba(0,0,0,.5);
    --shadow-md: 0 2px 4px rgba(0,0,0,.35), 0 14px 32px -8px rgba(0,0,0,.6), 0 30px 70px -24px rgba(0,0,0,.7);
    --shadow-lg: 0 4px 8px rgba(0,0,0,.4), 0 22px 48px -10px rgba(0,0,0,.65), 0 50px 100px -30px rgba(0,0,0,.75);
    --edge: rgba(255,255,255,.06);
  }
}
:root[data-theme="dark"] {
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 16px -4px rgba(0,0,0,.5);
  --shadow-md: 0 2px 4px rgba(0,0,0,.35), 0 14px 32px -8px rgba(0,0,0,.6), 0 30px 70px -24px rgba(0,0,0,.7);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.4), 0 22px 48px -10px rgba(0,0,0,.65), 0 50px 100px -30px rgba(0,0,0,.75);
  --edge: rgba(255,255,255,.06);
}
/* Photos */
.media:has(img:not(.missing)) { box-shadow: var(--shadow-lg); }
.media-card:has(img:not(.missing)), .media-tile:has(img:not(.missing)) { box-shadow: var(--shadow-md); }
/* Boxes */
.tile, .svc-card, .card, .tier, .guide-card, .contact-form { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--edge); }
.mini, .exp-card, .list-grid div { box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--edge); }
.tier-feature { box-shadow: var(--shadow-lg); }
.cta-box { box-shadow: var(--shadow-sm); }
/* Hover lift */
.tile, .card, .tier, .mini, .exp-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover, .svc-card:hover, .guide-card:hover { box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--edge); }
.card:hover, .mini:hover, .exp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--edge); }
.tier:not(.tier-feature):hover { transform: translateY(-3px); }
/* Inputs sit slightly inset */
.contact-form input, .contact-form select, .contact-form textarea { box-shadow: inset 0 1px 2px rgba(60, 45, 25, .06); }
/* Top bar: a whisper of shadow so it floats over the page */
.nav { box-shadow: 0 1px 0 var(--nav-line), 0 6px 20px -12px rgba(60, 45, 25, .18); border-bottom: 0; }
html.pdf .nav { box-shadow: none; }

/* =================== Polish & motion =================== */

/* 5. Gold text selection */
::selection { background: rgba(198, 165, 72, .32); color: inherit; }

/* 1. Gold underline in the menu (hover + current page) */
@media (min-width: 761px) {
  .nav-links a { position: relative; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px;
    background: var(--gold); border-radius: 1px;
    transform: scaleX(0); transform-origin: left center;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
}

/* 4. Buttons: glow + arrow nudge */
.btn { transition: background .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.btn:hover { box-shadow: 0 8px 24px -8px rgba(46, 107, 80, .55); transform: translateY(-1px); }
.link-arrow::after { display: inline-block; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.link-arrow:hover::after, a:hover > .link-arrow::after, a:hover .link-arrow::after { transform: translateX(4px); }

/* 3 + 8. Photos: slight hover zoom + slow drift (set by script via --py) */
.media img {
  scale: 1.06; translate: 0 var(--py, 0px);
  transition: scale 1.1s cubic-bezier(.22, 1, .36, 1);
  will-change: translate;
}
.media:hover img, a:hover .media img { scale: 1.1; }

/* 6. Hero photo grows as you scroll (script sets --grow) */
.media-hero { scale: var(--grow, 1); transform-origin: 50% 0; }

/* 2. Staggered reveals for lists inside one block */
html.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .stagger.in > * { opacity: 1; transform: none; }

/* 9. Gold reading-progress line under the top bar */
.nav { position: sticky; }
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), #d9bd6a);
  transform-origin: left center; transform: scaleX(var(--progress, 0));
  pointer-events: none; z-index: 1;
}

/* 10. Sticky section tabs (People / Experiences) */
.subnav {
  position: sticky; top: calc(52px + env(safe-area-inset-top, 0px)); z-index: 90;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-line);
}
.subnav-inner { width: var(--frame); margin: 0 auto; height: 48px; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-title { font-weight: 600; font-size: 15px; margin-right: auto; padding-right: 16px; white-space: nowrap; }
.subnav a {
  font-size: 13px; color: var(--nav-ink); padding: 6px 12px; border-radius: 980px; white-space: nowrap;
  transition: background .25s, color .25s;
}
.subnav a:hover { color: var(--ink); background: var(--soft); }
.subnav a.active { color: #fff; background: var(--green); }
html:has(.subnav) { scroll-padding-top: 108px; }
@media (max-width: 760px) { .subnav-title { display: none; } .subnav-inner { justify-content: flex-start; } }

/* 11. Floating "Get in touch" on phones  ·  12. Back to top */
.fab-contact, .to-top {
  position: fixed; z-index: 95; opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.fab-contact.show, .to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab-contact {
  display: none; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--green); color: #fff; padding: 13px 20px; border-radius: 980px; font-size: 15px; font-weight: 500;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
}
.to-top {
  right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--edge);
  display: grid; place-items: center;
}
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { transform: translateY(-2px); }
@media (max-width: 760px) {
  .fab-contact { display: inline-block; }
  .to-top { display: none; }
}

/* 13. Faint paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { opacity: .035; } }
:root[data-theme="dark"] body::before { opacity: .035; }

/* Calm mode: reduced motion + PDF export */
@media (prefers-reduced-motion: reduce) {
  .media img { translate: none; scale: 1; transition: none; }
  .media-hero { scale: 1; }
  html.js .stagger > * { opacity: 1; transform: none; transition: none; }
}
html.pdf .media img { translate: none; scale: 1; }
html.pdf .media-hero { scale: 1; }
html.pdf .stagger > * { opacity: 1 !important; transform: none !important; }
html.pdf .scroll-progress, html.pdf .fab-contact, html.pdf .to-top, html.pdf body::before { display: none; }

/* =================== 20 image spaces =================== */
/* Shapes from the photo brief */
.media-hero { aspect-ratio: 16 / 9; }
.media-wide { aspect-ratio: 16 / 9; }
.media-3x2 { aspect-ratio: 3 / 2; }
.media-inline { aspect-ratio: 16 / 9; margin: 8px 0 56px; }
#destination .media-inline { margin: 72px 0 0; }
.media-portrait { aspect-ratio: 4 / 5; border-radius: 18px; margin-bottom: 18px; }
.media-group { aspect-ratio: 16 / 9; margin-top: 48px; }
.media-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }

/* Our team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.member h3 { font-size: 21px; letter-spacing: -0.02em; }
.member p { margin: 4px 0 0; color: var(--gray); }

/* Empty spaces stay hidden until a photo is uploaded in the admin */
.media:has(img.missing) { display: none; }
.split:has(> .media img.missing) { grid-template-columns: 1fr; max-width: 760px; }
.tile:has(img.missing) { padding-bottom: 56px; }
.member:has(img.missing) { display: none; }
.ourteam:not(:has(img:not(.missing))) { display: none; }
.media-pair:not(:has(img:not(.missing))) { display: none; }

@media (max-width: 760px) {
  .media-hero, .media-wide, .media-inline, .media-group { aspect-ratio: 4 / 5; }
  .media-pair { margin-top: 40px; }
}

/* Our team: any number of people, always centered */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 32px 28px; }
.ourteam:not(:has(.member)):not(:has(.media-group img:not(.missing))) { display: none; }
.member .media { box-shadow: var(--shadow-md); }

/* ---------- Fonts chosen in the admin (Text → Fonts) ---------- */
:root { --head: var(--sans); --head-weight: 700; }
h1, h2, h3, h4, .display, .headline, .stat, .faq-item summary, .faq-title { font-family: var(--head); }
.eyebrow { font-family: var(--sans); }
.display, .headline, .tile h2, .card h3, .tier h3, .mini h3, .exp-card h3, .svc-card h3, .guide-card h3, .member h3, .faq-title, .article h1, .article h2 { font-weight: var(--head-weight); }
html.head-serif .display, html.head-serif .headline, html.head-serif .tile h2 { letter-spacing: -0.012em; }

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 4px; font-size: 12px; }
.lang-switch a { padding: 4px 6px; border-radius: 6px; color: var(--nav-ink); letter-spacing: .04em; transition: background .2s, color .2s; }
.lang-switch a:hover { background: var(--soft); color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 700; background: var(--soft); }
@media (max-width: 760px) {
  .lang-switch { margin-left: auto; font-size: 11px; }
  .lang-switch a { padding: 4px 4px; }
  .lang-switch + .theme-toggle { margin-left: 0; }
}

.footer-bottom .credit a { color: var(--ink); }
.footer-bottom .credit a:hover { text-decoration: underline; }
