/* Nut Retreat by CertiHaus — site styles
   Layout: calm editorial sections on ivory, emerald bands for emphasis, gold used sparingly. */
:root {
  --emerald: #0E3B2E;
  --emerald-deep: #0A2A20;
  --emerald-soft: #165540;
  --gold: #C9A24B;
  --gold-text: #8A6A22;
  --gold-bright: #E0BE68;
  --ivory: #FBF8F1;
  --ivory-2: #F3EDE0;
  --white: #FFFFFF;
  --ink: #1A1A17;
  --ink-2: #3C3D36;
  --muted: #66675E;
  --line: #E4DDCC;
  --line-2: #D6CDB8;

  /* plot map */
  --plot-ne: #98C1D9;
  --plot-ws: #E0FBFC;
  --plot-corner: #EE6C4D;
  --plot-booked: #99EE99;
  --plot-registered: #EEBD4D;
  --plot-reserved: #FFCB9A;
  --map-road: #293241;
  --map-ground: #EEF1E8;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(10, 42, 32, .12);
  --shadow-sm: 0 4px 18px rgba(10, 42, 32, .07);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--emerald-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-variant-numeric: lining-nums; font-family: var(--display); font-weight: 600; color: var(--emerald); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--emerald); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tight { padding-block: clamp(44px, 6vw, 72px); }
.bg-white { background: var(--white); }
.bg-sand { background: var(--ivory-2); }
.bg-emerald { background: var(--emerald); color: #E9E4D6; }
.bg-emerald h2, .bg-emerald h3 { color: #FBF8F1; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.bg-emerald .eyebrow { color: var(--gold-bright); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.bg-emerald .lead { color: #D4D8CC; }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 720px; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-soft); color: #fff; }
.btn-gold { background: var(--gold); color: var(--emerald-deep); }
.btn-gold:hover { background: var(--gold-bright); color: var(--emerald-deep); }
.btn-line { border-color: currentColor; color: var(--emerald); background: transparent; }
.btn-line:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--emerald); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 241, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(10,42,32,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--emerald); }
.brand img { width: 38px; height: auto; }
.brand b { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1; display: block; }
.brand small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; color: var(--ink-2); font-size: .94rem; font-weight: 500; padding: 6px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--emerald); }
.menu .btn { min-height: 42px; padding: 8px 18px; color: #fff; }
.menu .btn::after { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--emerald); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--emerald); transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-left)) 20px; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-open .menu { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .menu a::after { display: none; }
  .menu .btn { margin-top: 14px; border-bottom: 0; }
}

/* hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--emerald-deep); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,32,24,.82) 0%, rgba(8,32,24,.55) 48%, rgba(8,32,24,.18) 100%), linear-gradient(0deg, rgba(8,32,24,.55), rgba(8,32,24,0) 45%); }
.hero-inner { padding-block: clamp(96px, 14vw, 168px) clamp(72px, 9vw, 112px); display: flex; flex-direction: column; gap: 22px; }
.hero-inner > * { max-width: 700px; }
.hero-inner > .hero-facts { max-width: 760px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold-bright); margin: 0; }
.hero p.lead { color: rgba(255,255,255,.88); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font-variant-numeric: tabular-nums; font-family: var(--body); font-weight: 600; letter-spacing: -.01em; font-size: 1.6rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .84rem; color: rgba(255,255,255,.75); }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.9); }
.page-hero .hero-inner { padding-block: clamp(80px, 10vw, 120px) clamp(48px, 6vw, 72px); }

/* trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 28px; padding-block: 30px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--emerald); background: var(--ivory); }
.icon svg { width: 21px; height: 21px; }
.trust-item b { display: block; font-size: .96rem; }
.trust-item span { font-size: .85rem; color: var(--muted); }

/* phase cards */
.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.phase-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.phase-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.phase-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ivory-2); }
.phase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.phase-card:hover .phase-media img { transform: scale(1.04); }
.tag { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.94); color: var(--emerald); font-size: .76rem; font-weight: 600; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; }
.tag.gold { background: var(--gold); color: var(--emerald-deep); }
.phase-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.phase-body .place { color: var(--muted); font-size: .93rem; display: flex; gap: 6px; align-items: center; }
.place svg, .more svg, .contact-list svg, .btn-line svg { width: 17px; height: 17px; flex: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.stats b { font-variant-numeric: tabular-nums; display: block; font-family: var(--body); font-weight: 600; letter-spacing: -.01em; font-size: 1.4rem; color: var(--emerald); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .8rem; color: var(--muted); }
.more { font-weight: 600; color: var(--emerald); display: inline-flex; gap: 8px; align-items: center; }

/* steps & returns */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px 28px; }
.step { border-top: 1px solid rgba(224, 190, 104, .55); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step .n { font-family: var(--display); font-size: 1.15rem; color: var(--gold-bright); }
.step h3 { font-size: 1.45rem; }
.step p { color: #CBD1C5; font-size: .96rem; }
.returns { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgba(224,190,104,.35); border-radius: 14px; overflow: hidden; }
.returns div { padding: 22px 20px; border-right: 1px solid rgba(224,190,104,.2); border-bottom: 1px solid rgba(224,190,104,.2); }
.returns span { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #AEB7AA; margin-bottom: 6px; }
.returns b { font-variant-numeric: tabular-nums; font-family: var(--body); font-weight: 600; letter-spacing: -.01em; font-size: 1.12rem; color: #fff; line-height: 1.2; }
.fine { font-size: .84rem; color: #AEB7AA; margin-top: 16px; }
.fine.dark { color: var(--muted); }

/* amenities */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.amen { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-weight: 500; font-size: .96rem; }
.amen .icon { width: 40px; height: 40px; background: var(--ivory); }
.subhead { margin: 40px 0 16px; font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* stories */
/* Owner stories run as a slow, endless carousel; it pauses under the mouse, and while a finger is on it */
.stories { overflow: hidden; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left))); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.stories-track { display: flex; width: max-content; animation: stories-run 70s linear infinite; }
.stories-copy { display: flex; }
.stories.hold .stories-track { animation-play-state: paused; }
/* Hover pause only where a real mouse can leave again; on phones a tap "sticks" the hover state */
@media (hover: hover) and (pointer: fine) { .stories:hover .stories-track, .stories:focus-within .stories-track { animation-play-state: paused; } }
@keyframes stories-run { to { transform: translateX(-50%); } }
.story { flex: none; width: min(78vw, 340px); margin: 0 20px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
@media (prefers-reduced-motion: reduce) {
  .stories { overflow-x: auto; -webkit-mask-image: none; mask-image: none; margin-inline: 0; }
  .stories-track { animation: none; }
  .stories-copy { display: none; }
}
.story q { font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); quotes: "“" "”"; }
.story footer { margin-top: auto; font-size: .88rem; }
.story footer b { display: block; color: var(--emerald); }
.story footer span { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--ink); }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #FDFCF8; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.2); }
.form .note { font-size: .82rem; color: var(--muted); }

/* CTA band + footer */
.cta { background: var(--emerald); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 7vw, 76px); }
.cta h2 { color: #fff; max-width: 18ch; }
.footer { background: var(--emerald-deep); color: #B9C2B6; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-block: 64px 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; }
.footer a { color: #DCE2D7; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: #9FAA9C; }
.footer .brand img { width: 54px; padding: 6px 7px; background: var(--ivory); border-radius: 12px; box-shadow: 0 0 0 1px rgba(224, 190, 104, .45); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: #8F9A8C; }
@media (max-width: 700px) { .footer-bottom { padding-bottom: calc(90px + env(safe-area-inset-bottom)); } }

/* phase page: sticky section bar */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(10,42,32,.04); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 0 14px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .93rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--emerald); }
.subnav a.on { color: var(--emerald); border-bottom-color: var(--gold); }

/* overview */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23E0BE68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.media-frame { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* prices */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .returns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .returns div:last-child { grid-column: 1 / -1; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.price-card.feature { background: var(--emerald); border-color: var(--emerald); color: #DCE2D7; }
.price-card .k { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-card.feature .k { color: var(--gold-bright); }
.price-card .v { font-variant-numeric: tabular-nums; font-family: var(--body); font-weight: 600; letter-spacing: -.01em; font-size: 1.9rem; color: var(--emerald); line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-card.feature .v { color: #fff; }
.price-card .s { font-size: .9rem; color: var(--muted); }
.price-card.feature .s { color: #C6CEC2; }
.price-card .booking { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; }
.price-card.feature .booking { border-top-color: rgba(255,255,255,.18); }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); margin-top: 18px; }
table.rates { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.rates th, .rates td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.rates thead th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--ivory); font-weight: 600; }
.rates tbody tr:last-child td { border-bottom: 0; }
.rates td:first-child { font-weight: 600; color: var(--emerald); }
.terms-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 22px; }
.terms-list div { background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: .93rem; }
.terms-list b { display: block; color: var(--emerald); }

/* gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(84%, 420px), 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ivory-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { display: flex; gap: 10px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
/* every tile is the same 3:2 frame; manager photos are shown whole (no cropping) over a soft blurred copy */
.gal-item { position: relative; display: block; margin: 0; padding: 0; border: 0; scroll-snap-align: start; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: #1c2a24; cursor: zoom-in; color: inherit; font: inherit; }
.gal-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item:hover img:not(.gal-bg), .gal-item:focus-visible img:not(.gal-bg) { transform: scale(1.035); }
.gal-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gal-item.fit img:not(.gal-bg) { position: relative; object-fit: contain; }
.gal-item .gal-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) brightness(.7) saturate(1.1); }
.gal-item.is-video { cursor: pointer; }
.gal-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.gal-play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--emerald); }
.gal-item.is-video:hover .gal-play { transform: scale(1.08); }
.gal-cap { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 999px; background: rgba(10,32,25,.78); color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-auto svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gal-auto[aria-pressed="true"] svg { fill: currentColor; stroke: none; }
.gal-hint { font-size: .86rem; color: var(--muted); margin-left: 6px; }
@media (max-width: 560px) { .gal-hint { width: 100%; margin: 2px 0 0; } }

/* full-screen photo viewer */
html.lb-on, html.lb-on body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 10000; background: #08130F; display: flex; flex-direction: column; color: #fff; animation: lb-in .25s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; gap: 14px; padding: calc(10px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left)); }
.lb-count { font-variant-numeric: tabular-nums; font-size: .9rem; opacity: .8; white-space: nowrap; }
.lb-cap { flex: 1; min-width: 0; font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-tools { display: flex; gap: 8px; margin-left: auto; }
.lb-btn, .lb-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: background .2s; }
.lb-btn:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-btn svg, .lb-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb.is-video .lb-zi, .lb.is-video .lb-zo { display: none; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; padding: 0 64px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; cursor: zoom-in; transform-origin: center center; will-change: transform; }
.lb.zoomed .lb-img { cursor: grab; }
.lb-vid { max-width: 100%; max-height: 100%; background: #000; border-radius: 8px; }
.lb-nav { position: absolute; top: 50%; margin-top: 4px; }
.lb-prev { left: max(12px, env(safe-area-inset-left)); } .lb-next { right: max(12px, env(safe-area-inset-right)); }
.lb.zoomed .lb-nav, .lb.zoomed .lb-tip { opacity: 0; pointer-events: none; }
.lb-tip { margin: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); text-align: center; font-size: .8rem; opacity: .6; transition: opacity .2s; }
.lb.is-video .lb-tip { visibility: hidden; }
@media (max-width: 700px) {
  .lb-stage { padding: 0; }
  .lb-nav { top: auto; bottom: calc(44px + env(safe-area-inset-bottom)); margin: 0; }
  .lb-top { flex-wrap: wrap; }
  .lb-cap { order: 3; flex-basis: 100%; }
}
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--emerald); }
.round:hover { border-color: var(--emerald); }
.round svg { width: 18px; height: 18px; }

/* location */
.dist { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.dist li b { font-variant-numeric: tabular-nums; color: var(--emerald); white-space: nowrap; }
/* location: every place is a button that shows its route on the map */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; margin-top: 8px; }
.loc-list { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.loc-group h3 { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.loc-group .dist { margin-top: 8px; }
.dist li:has(.route) { padding: 0; }
.route { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px; margin: 0 -12px; width: calc(100% + 24px); border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: .96rem; color: inherit; text-align: left; cursor: pointer; transition: background .2s, opacity .25s, color .2s; }
.route b { font-variant-numeric: tabular-nums; color: var(--emerald); white-space: nowrap; }
.route:hover, .route:focus-visible { background: rgba(14,59,46,.06); }
.route:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.route.on { background: var(--emerald); color: #fff; }
.route.on b { color: #F3D891; }
.has-sel .route:not(.on) { opacity: .5; }
.has-sel .route:not(.on):hover { opacity: 1; }
.loc-side { position: sticky; top: calc(var(--header-h) + 72px); }
.loc-map { display: flex; flex-direction: column; gap: 12px; }
.loc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.loc-title { font-weight: 600; color: var(--emerald); }
.loc-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.loc-type { display: inline-flex; padding: 3px; border-radius: 999px; background: #E9E3D3; }
.loc-type button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .84rem; font-weight: 600; color: #4B4D45; cursor: pointer; }
.loc-type button[aria-pressed="true"] { background: var(--emerald); color: #fff; }
.loc-reset { border: 1px solid var(--line-2); background: var(--white); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .84rem; cursor: pointer; white-space: nowrap; }
.loc-actions .btn svg { width: 18px; height: 18px; }
.map-embed.loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid rgba(14,59,46,.18); border-top-color: var(--emerald); border-radius: 50%; animation: spin .8s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-note { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 24px; background: linear-gradient(135deg, #E7ECDF, #D6DFCD); color: var(--emerald); }
.map-note b { font-size: 1.05rem; }
.map-note span { font-size: .9rem; color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) {
  .loc { grid-template-columns: 1fr; gap: 24px; }
  .loc-side { order: -1; position: static; }
  .loc-side .map-embed { aspect-ratio: 4 / 3; width: 100%; }
  .loc-bar { min-height: 0; flex-wrap: wrap; }
}
.near { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; margin-top: 36px; }
.near h3 { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.map-embed { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--map-ground); border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed button { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: linear-gradient(135deg, #E7ECDF, #D6DFCD); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--emerald); font-weight: 600; }
.map-embed button svg { width: 34px; height: 34px; }

/* mobile action bar */
.action-bar { display: none; }
@media (max-width: 700px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10,42,32,.08); }
  .action-bar .btn { min-height: 48px; padding: 10px; font-size: .92rem; }
  .map-full-open .action-bar, .map-card-open .action-bar { display: none; }
}

/* ================= plot map ================= */
.map-wrap { display: flex; flex-direction: column; gap: 14px; }
.map-counts { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; background: var(--emerald); color: #E3E8DF; padding: 14px 20px; border-radius: 14px 14px 0 0; font-size: .92rem; }
.map-counts b { color: #fff; font-variant-numeric: tabular-nums; font-size: 1.05rem; margin-left: 4px; }
.map-counts .dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.map-counts .live { margin-left: auto; font-size: .78rem; color: #AEB9AA; display: flex; align-items: center; gap: 6px; }
.map-counts .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7BD49A; box-shadow: 0 0 0 3px rgba(123,212,154,.25); }
.dot.available { background: linear-gradient(135deg, var(--plot-ne) 50%, var(--plot-ws) 50%); } .dot.booked { background: var(--plot-booked); } .dot.registered { background: var(--plot-registered); } .dot.reserved { background: var(--plot-reserved); }

.map-tools { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .lbl { font-size: .82rem; color: var(--muted); margin-right: 2px; }
.chip { min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: .86rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--emerald); }
.chip[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.chip i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.chip i.ne { background: var(--plot-ne); } .chip i.ws { background: var(--plot-ws); border: 1px solid #9CC9D6; } .chip i.corner { background: var(--plot-corner); }
.map-find { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.map-find input, .map-find select { min-height: 40px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; background: var(--white); width: 120px; }
.map-find select { width: auto; }
.map-find button { min-height: 40px; padding: 6px 16px; }
.find-msg { font-size: .82rem; color: #A3402A; width: 100%; }
.find-msg:empty { display: none; }

.map-stage { position: relative; height: clamp(420px, 68vh, 720px); background: var(--map-ground); border: 1px solid var(--line); border-radius: 0 0 14px 14px; overflow: hidden; }
.map-canvas { position: absolute; inset: 0; }
.map-svg { width: 100%; height: 100%; display: block; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; -webkit-tap-highlight-color: transparent; }
.is-panning .map-svg { cursor: grabbing; }
.map-error { padding: 40px; text-align: center; color: var(--muted); }
.bg-road { fill: var(--map-road); }
.bg-canal { fill: #8FD8E6; }
.bg-green { fill: #CFE8BC; }
.bg-edge { fill: #B9483A; }
.map-deco { pointer-events: none; }
.map-text text.tx-ground { fill: var(--emerald); }
.map-text text.tx-canal { fill: #0B5563; }
.map-text text.tx-resort { fill: #0E3B2E; font-family: var(--display, serif); font-weight: 700; letter-spacing: .12em; text-anchor: middle; dominant-baseline: central; }
.map-text text { fill: #fff; font-family: var(--body); font-weight: 600; pointer-events: none; letter-spacing: .02em; }
.plot { stroke: #2A2F36; stroke-width: .6; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .3s, opacity .3s; }
.plot.t-ne { fill: var(--plot-ne); } .plot.t-ws { fill: var(--plot-ws); } .plot.t-corner { fill: var(--plot-corner); } .plot.t-na { fill: #D7DED6; }
.plot.s-booked { fill: var(--plot-booked); }
.plot.s-registered { fill: var(--plot-registered); }
.plot.s-reserved { fill: var(--plot-reserved); }
.plot:hover { filter: brightness(1.08); }
.plot.sel { stroke: #0A2A20; stroke-width: 3; }
.plot.dim { opacity: .16; }
.plot-no { font-family: Arial, "Helvetica Neue", var(--body), sans-serif; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; fill: #111A22; text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: opacity .3s; }
.plot-no.dim { opacity: .2; }
.map-svg.far .plot-no { opacity: 0; }

.map-ctrl { position: absolute; right: calc(12px + env(safe-area-inset-right)); top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.map-ctrl button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.96); display: grid; place-items: center; cursor: pointer; color: var(--emerald); box-shadow: var(--shadow-sm); }
.map-ctrl button:hover { border-color: var(--emerald); }
.map-ctrl svg { width: 20px; height: 20px; }
.map-legend { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .76rem; display: grid; grid-template-columns: auto auto; gap: 5px 14px; box-shadow: var(--shadow-sm); }
.map-legend span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.map-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
@media (max-width: 560px) { .map-legend { grid-template-columns: auto auto; font-size: .7rem; padding: 8px 10px; } }
.map-hint { position: absolute; left: 50%; top: 14px; transform: translate(-50%, -8px); z-index: 2; background: rgba(10,42,32,.86); color: #fff; font-size: .8rem; padding: 7px 14px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); white-space: nowrap; max-width: calc(100% - 90px); overflow: hidden; text-overflow: ellipsis; }
.map-hint.show { opacity: 1; transform: translate(-50%, 0); }
.is-active .map-hint, .is-full .map-hint { opacity: 0; }
.map-hint.pulse { opacity: 1 !important; }
.map-hint .touch { display: none; }
@media (hover: none) { .map-hint .mouse { display: none; } .map-hint .touch { display: inline; } }

.plot-card { position: absolute; z-index: 4; right: 70px; top: 12px; width: min(320px, calc(100% - 84px)); background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 12px; animation: card-in .3s var(--ease); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.card-close { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; }
.card-close:hover { background: var(--ivory); }
.card-eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.card-title { font-size: 1.8rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill { font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.pill-available { background: #E1F4E7; color: #1E6A3B; }
.pill-booked { background: #FBEFD0; color: #7A5A12; }
.pill-registered { background: #E5E8E4; color: #444C45; }
.pill-reserved { background: #ECE6F6; color: #4E3F78; }
.card-rows { margin: 0; display: flex; flex-direction: column; }
.card-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.card-rows dt { color: var(--muted); }
.card-rows dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) {
  .plot-card { left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 16px 16px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); animation-name: sheet-in; max-height: 75%; overflow-y: auto; }
  .plot-card::before { content: ""; width: 38px; height: 4px; border-radius: 2px; background: var(--line-2); align-self: center; margin: -6px 0 2px; }
  @keyframes sheet-in { from { transform: translateY(100%); } }
}

/* full-screen map */
.map-wrap.is-full { position: fixed; inset: 0; z-index: 90; background: var(--ivory); padding: calc(10px + env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); gap: 10px; }
.map-wrap.is-full .map-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.map-wrap.is-full .map-stage { flex: 1; height: auto; min-height: 0; }
.map-wrap.is-full .map-svg { touch-action: none; }
.map-full-open, .map-full-open body { overflow: hidden; }
@media (max-width: 700px) { .map-wrap.is-full .map-tools { display: none; } }

/* utility */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; }

/* legal documents */
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 24px 60px rgba(10,42,32,.08); display: flex; flex-direction: column; gap: 16px; }
.doc-card h3 { font-size: 1.9rem; }
.doc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #EEF3EF; color: var(--emerald); }
.doc-ic svg { width: 24px; height: 24px; }
.doc-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.doc-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.doc-steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--emerald); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.doc-steps b { font-weight: 600; color: var(--emerald); }
.doc-steps span { color: var(--muted); font-size: .94rem; }
.doc-card .fine { margin: 0; }
.doc-dlg { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.3); background: var(--ivory); color: var(--ink); }
.doc-dlg::backdrop { background: rgba(10,42,32,.55); }
.doc-dlg .form, .doc-dlg .doc-done { padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 14px; position: relative; }
.doc-dlg h2 { font-size: 2rem; }
.doc-dlg .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .doc-dlg .two { grid-template-columns: 1fr; } }
.doc-dlg small { font-weight: 400; color: var(--muted); }
.dlg-x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 1.6rem; color: var(--muted); cursor: pointer; }
.dlg-x:hover { background: #EFEADF; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--emerald); flex: none; }
.form-err { margin: 0; background: #FBEAE6; color: #8A2C1A; border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.doc-done { align-items: flex-start; }
.doc-done[hidden], .doc-dlg .form[hidden] { display: none; }

/* ---------- On the ground: scroll-driven site footage ---------- */
.onsite { background: var(--emerald-deep); color: #D9DDD0; }
.onsite h2, .onsite h3 { color: var(--ivory); }
.onsite .eyebrow { color: var(--gold-bright); }
.onsite .lead { color: #C9D0C2; }
.os-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.os-stick { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
.os-stick .os-frame { width: 100%; }
.os-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 14px; overflow: hidden; background: #071D16; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.os-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.os-vid.on { opacity: 1; transform: scale(1); }
.os-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 28px 18px 14px; background: linear-gradient(transparent, rgba(4, 18, 13, .7)); font-size: .8rem; color: #E9E4D6; letter-spacing: .08em; }
.os-count b { color: var(--gold-bright); font-weight: 600; }
.os-prog { flex: 1; height: 2px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.os-prog i { display: block; height: 100%; width: 0; background: var(--gold-bright); transition: width .6s var(--ease); }
.os-chs { display: flex; flex-direction: column; }
/* each step is one screen tall, so its text sits level with the video beside it */
.os-ch { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: .35; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.os-ch.on { opacity: 1; transform: none; }
.os-n { font-family: var(--display); font-size: 1.1rem; color: var(--gold-bright); letter-spacing: .1em; }
.os-ch h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.os-ch p { max-width: 44ch; line-height: 1.7; }
@media (max-width: 860px) {
  .os-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .os-stick { top: var(--header-h); z-index: 2; margin-left: calc(-1 * max(20px, env(safe-area-inset-left))); margin-right: calc(-1 * max(20px, env(safe-area-inset-right))); height: auto; display: block; padding-block: 8px 0; background: var(--emerald-deep); }
  .os-stick::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(var(--emerald-deep), transparent); pointer-events: none; }
  .os-frame { border-radius: 0; box-shadow: none; }
  /* on phones the video sits at the top; each step fills the space under it */
  .os-ch { height: auto; min-height: calc(100svh - var(--header-h) - 56.25vw - 8px); justify-content: center; padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) { .os-vid { transform: none; } .os-ch { transform: none; } }

#waSend[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
#enquiry [aria-invalid="true"] { border-color: #B5432A; box-shadow: 0 0 0 3px rgba(181, 67, 42, .15); }

.num-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-num { border: 1px solid rgba(224, 190, 104, .6); background: transparent; color: var(--gold-bright); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 600; cursor: pointer; min-height: 32px; }
.copy-num-lg { align-self: flex-start; margin-left: 58px; margin-top: -8px; border-color: var(--line-2); color: var(--emerald); background: var(--white); padding: 6px 14px; }

/* Owner stories: rating stars, short cards for owners without a written quote */
.stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; line-height: 1; }
.story-own { margin: 0; font-family: var(--display); font-size: 1.6rem; line-height: 1.25; color: var(--ink); }

/* Showcase videos: thumbnail first, the player loads only when tapped */
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sv { margin: 0; }
.sv-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--emerald-deep); cursor: pointer; }
.sv-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .92; }
.sv-play:hover img, .sv-play:focus-visible img { transform: scale(1.04); opacity: 1; }
.sv iframe, .sv video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; object-fit: contain; }
#videos[hidden] { display: none; }
.sv figcaption { margin-top: 12px; font-weight: 600; color: var(--emerald); }
@media (max-width: 900px) { .sv-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* Returns calculator */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.calc-in { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow-sm); }
.calc-in .field:first-child { grid-column: 1 / -1; }
.calc-hint { font-size: .8rem; color: var(--muted); }
.calc-out { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.calc-out .btn { align-self: flex-start; }
.calc-list { margin: 0; display: grid; grid-template-columns: 1fr; }
.calc-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.calc-list dt { font-size: .9rem; color: var(--ink-2); }
.calc-list dt small { color: var(--muted); }
.calc-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--emerald); border-radius: 12px; overflow: hidden; }
.calc-total div { padding: 18px 20px; border-right: 1px solid rgba(224,190,104,.2); }
.calc-total div:last-child { border-right: 0; }
.calc-total span { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #AEB7AA; margin-bottom: 6px; }
.calc-total b { color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); font-variant-numeric: tabular-nums; font-weight: 600; }
.calc-total div:nth-child(2) b { color: var(--gold-bright); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .calc-in { grid-template-columns: 1fr; }
  .calc-total { grid-template-columns: 1fr; }
  .calc-total div { border-right: 0; border-bottom: 1px solid rgba(224,190,104,.2); display: flex; justify-content: space-between; align-items: baseline; }
  .calc-total span { margin: 0; }
}

/* owner posters (published from the admin): square posters above the quote cards.
   1 to 3 posters sit still; 4 or more run slowly by themselves like the quotes. Tap opens the big view. */
.owner-posters { margin-bottom: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0 16px; }
.owner-posters::-webkit-scrollbar { display: none; }
.owner-posters[hidden] { display: none; }
.op-track { display: flex; gap: 18px; width: max-content; }
.op-copy { display: flex; gap: 18px; }
.op-card { flex: none; display: block; width: min(64vw, 280px); aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: #0f1a22; box-shadow: 0 8px 22px rgba(15, 26, 34, .16); cursor: zoom-in; transition: transform .25s ease; }
.op-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .op-card:hover { transform: translateY(-3px); } }
.owner-posters.op-run { overflow: hidden; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left))); padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.op-run .op-track { padding-left: 18px; animation: op-run 40s linear infinite; }
.op-run.hold .op-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .op-run:hover .op-track { animation-play-state: paused; } }
@keyframes op-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .owner-posters.op-run { overflow-x: auto; -webkit-mask-image: none; mask-image: none; margin-inline: 0; }
  .op-run .op-track { animation: none; }
  .op-run .op-copy { display: none; }
}
#owners[hidden] { display: none; }
#owners .owner-posters { margin-bottom: 0; }
.op-lb .lb-img { cursor: default; border-radius: 10px; }

/* back to top: emerald disc, gold ring that fills as you scroll */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 44; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
  display: grid; place-items: center; opacity: 0; transform: translateY(18px) scale(.6) rotate(-90deg); pointer-events: none;
  transition: opacity .35s var(--ease), transform .5s cubic-bezier(.34, 1.56, .64, 1); -webkit-tap-highlight-color: transparent; }
.to-top[hidden] { display: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.tt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 8px 18px rgba(10,42,32,.35)); }
.tt-ring circle { fill: none; stroke-width: 4; }
.tt-track { stroke: rgba(201,162,75,.35); fill: none; }
.tt-prog { stroke: var(--gold-bright); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; }
.tt-core { position: relative; width: 50px; height: 50px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: radial-gradient(circle at 30% 25%, var(--emerald-soft), var(--emerald) 55%, var(--emerald-deep)); color: var(--gold-bright);
  box-shadow: 0 0 0 2px rgba(251,248,241,.9), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -3px 8px rgba(0,0,0,.35); overflow: hidden; transition: transform .3s var(--ease); }
.tt-core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); }
.tt-core svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.tt-core b { font: 700 .56rem/1 Inter, system-ui, sans-serif; letter-spacing: .18em; margin-left: .18em; color: #F3E3B5; }
.to-top.show .tt-core svg { animation: tt-bob 2.4s ease-in-out 1s infinite; }
.to-top:hover .tt-core, .to-top:focus-visible .tt-core { transform: scale(1.06); }
.to-top:hover .tt-core::after { transform: translateX(120%); transition: transform .7s ease; }
.to-top:hover .tt-core svg { animation: none; transform: translateY(-3px); }
.to-top:active .tt-core { transform: scale(.94); }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.to-top.fly .tt-core svg { animation: tt-fly .5s ease-in forwards; }
@keyframes tt-bob { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-3px); } }
@keyframes tt-fly { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(-26px); opacity: 0; } 61% { transform: translateY(22px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@media (max-width: 700px) {
  .to-top { width: 56px; height: 56px; right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .tt-core { width: 44px; height: 44px; }
  .map-full-open .to-top, .map-card-open .to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) { .to-top, .tt-core, .tt-core svg, .tt-prog { transition: none !important; animation: none !important; } }
@media print { .to-top { display: none !important; } }
