:root {
  --forest: #112c24;
  --forest-2: #1b4337;
  --cream: #f5f1e7;
  --paper: #fbfaf6;
  --clay: #cf5c3b;
  --gold: #e3b55b;
  --ink: #15231f;
  --muted: #65706b;
  --line: rgba(21,35,31,.13);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 34px 90px -50px rgba(17,44,36,.68);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 450; letter-spacing: -.045em; line-height: .98; }
em { font-weight: 400; }
.section { padding: 128px 28px; }
.section-inner { width: min(1260px, 100%); margin: 0 auto; }
.section-index { margin: 0 0 22px; color: var(--clay); font-size: .74rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section h2 { margin-bottom: 30px; font-size: clamp(3.1rem, 6vw, 6.5rem); }
.section h2 em, .hero h1 em { color: var(--clay); font-style: italic; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 650; cursor: pointer; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--clay); }
.btn-primary:hover { background: #b94c2e; }
.btn-quiet { color: white; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.btn-block { width: 100%; }
.text-link { display: inline-block; padding-bottom: 4px; color: var(--forest); border-bottom: 1px solid currentColor; font-weight: 650; }
.text-link.light { color: white; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: white; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled { color: var(--ink); background: rgba(251,250,246,.9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 30px; width: min(1340px, 100%); min-height: 86px; margin: 0 auto; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 190px; height: auto; padding: 7px 11px; background: rgba(245,241,231,.94); border-radius: 9px; box-shadow: 0 8px 30px rgba(6,25,19,.15); }
.brand-script { font-family: "Pirata One", var(--serif); font-size: 2rem; line-height: 1; }
.brand-caps { color: var(--gold); font-size: .67rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.site-header.scrolled .brand-caps { color: var(--clay); }
.main-nav { display: flex; align-items: center; gap: 29px; }
.main-nav a { font-size: .76rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.main-nav a:hover { color: var(--gold); }
.header-cta { padding: 10px 17px; color: var(--forest); background: white; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.site-header.scrolled .header-cta { color: white; background: var(--forest); }
.nav-toggle { display: none; width: 34px; padding: 6px 2px; color: inherit; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; margin: 7px 0; background: currentColor; }

.hero { position: relative; display: flex; align-items: flex-end; min-height: min(940px, 100svh); padding: 160px 28px 110px; color: white; background-position: center; background-size: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,25,19,.15), rgba(7,25,19,.18) 35%, rgba(7,25,19,.84)); }
.hero-content { position: relative; width: min(1260px, 100%); margin: 0 auto; }
.hero-kicker { margin: 0 0 20px; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 1050px; margin: 0; font-size: clamp(4rem, 8.6vw, 9rem); line-height: .87; }
.hero h1 em { color: #f5e6bd; }
.hero-sub { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.83); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { position: absolute; right: 34px; bottom: 38px; display: flex; flex-direction: column; align-items: flex-end; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-note strong { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; font-weight: 450; letter-spacing: 0; text-transform: none; }

.booking-dock { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(3, 1fr) auto; width: min(1050px, calc(100% - 40px)); margin: -38px auto 0; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.booking-field { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 7px 20px; border-right: 1px solid var(--line); }
.booking-field label { color: var(--clay); font-size: .65rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.booking-field input { width: 100%; padding: 3px 0 0; color: var(--ink); background: none; border: 0; outline: 0; }
.booking-dock button { padding: 15px 22px; color: white; background: var(--forest); border: 0; border-radius: 15px; font-weight: 700; cursor: pointer; }
.booking-dock button span { color: var(--gold); }

.manifesto { padding-top: 150px; background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: .55fr 1.35fr .8fr; gap: 60px; align-items: start; }
.manifesto h2 { margin: 0; font-size: clamp(3.2rem, 6.5vw, 7rem); }
.manifesto-copy { margin: 7px 0 0; color: var(--muted); font-size: 1.05rem; }

.experience { color: white; background: var(--forest); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.section-heading h2 { margin: 0; }
.experience-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 270px; gap: 18px; }
.experience-card { position: relative; overflow: hidden; border-radius: 28px; background: var(--forest-2); }
.experience-card img { height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.experience-card:hover img { transform: scale(1.035); }
.experience-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(6,25,19,.9)); }
.experience-card .card-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 28px; }
.card-copy span { color: var(--gold); font-size: .67rem; font-weight: 750; letter-spacing: .13em; }
.card-copy h3 { margin: 7px 0 10px; font-size: clamp(2rem, 3.4vw, 3.8rem); }
.card-copy p { max-width: 500px; margin: 0; color: rgba(255,255,255,.72); font-size: .93rem; }
.card-copy > a { display: inline-block; align-self: flex-start; margin-top: 14px; padding-bottom: 2px; color: var(--gold); border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 700; }
.card-copy .studio-logo { width: 132px; height: auto; margin: 2px 0 8px; object-fit: contain; }
.card-cricket { grid-column: span 8; grid-row: span 2; }
.card-pets { grid-column: span 4; grid-row: span 2; color: white; background: var(--gold); }
.card-pets::after { background: linear-gradient(180deg, transparent 18%, rgba(6,25,19,.92)); }
.card-pets .card-copy { top: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.card-pets .card-copy span { color: var(--gold); }
.card-pets .card-copy p { color: rgba(255,255,255,.76); }
.card-pets .card-copy strong { display: block; margin-top: 24px; color: var(--gold); font-family: var(--serif); font-size: 1.3rem; font-weight: 450; }
.card-garden, .card-studio, .card-kitchen { grid-column: span 4; grid-row: span 2; }
.card-studio > img { object-position: right center; }
.card-garden h3, .card-studio h3, .card-kitchen h3 { font-size: clamp(1.9rem, 2.7vw, 3rem); }

.stay { background: var(--cream); }
.stay-grid { display: grid; grid-template-columns: .82fr 1.18fr; grid-template-rows: auto 260px; gap: 22px 70px; }
.stay-copy { grid-row: span 2; align-self: center; }
.stay-copy h2 { font-size: clamp(3.3rem, 5.8vw, 6rem); }
.stay-copy > p:not(.section-index) { max-width: 530px; color: var(--muted); }
.stay-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.stay-facts span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.stay-facts strong { display: block; color: var(--clay); font-family: var(--serif); font-size: 2rem; font-weight: 450; text-transform: none; }
.stay-room, .stay-view { position: relative; overflow: hidden; margin: 0; border-radius: 30px; }
.stay-room { min-height: 560px; }
.stay-room img, .stay-view img { height: 100%; object-fit: cover; }
.stay-room figcaption, .stay-view figcaption { position: absolute; bottom: 18px; left: 18px; padding: 10px 14px; color: white; background: rgba(17,44,36,.7); border-radius: 999px; backdrop-filter: blur(9px); font-size: .78rem; }

.family { padding-block: 100px; color: white; background: var(--clay); }
.family-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: center; }
.family-grid img { height: 480px; object-fit: cover; border-radius: 240px 240px 28px 28px; }
.family-copy .section-index { color: #f5d994; }
.family-copy blockquote { max-width: 800px; margin-bottom: 25px; font-size: clamp(2.4rem, 4.5vw, 5rem); }
.family-copy > p:last-child { color: rgba(255,255,255,.7); }

.film { color: white; background: #0b211a; }
.film-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.film-heading h2 { margin: 0; font-size: clamp(3.3rem, 6vw, 6.8rem); }
.film-heading > p { max-width: 430px; margin: 0 0 10px; color: rgba(255,255,255,.6); }
.film-heading .section-index { color: var(--gold); }
.film-frame { position: relative; overflow: hidden; min-height: 560px; background: #050d0a; border-radius: 32px; box-shadow: 0 35px 80px rgba(0,0,0,.28); }
.film-frame video { display: block; width: 100%; height: min(74vh, 760px); object-fit: cover; background: #050d0a; }
.film-caption { position: absolute; right: 24px; bottom: 24px; left: 24px; display: flex; justify-content: space-between; gap: 20px; padding: 15px 18px; background: rgba(6,25,19,.72); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; backdrop-filter: blur(12px); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.film-caption span { color: var(--gold); }

.events { overflow: hidden; background: var(--cream); }
.events-heading { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; margin-bottom: 54px; }
.events-heading h2 { max-width: 900px; margin: 0; }
.event-capacity { display: flex; align-items: center; gap: 18px; padding: 22px 28px; color: white; background: var(--forest); border-radius: 24px; }
.event-capacity strong { color: var(--gold); font-family: var(--serif); font-size: 4.3rem; font-weight: 450; line-height: .8; letter-spacing: -.06em; }
.event-capacity span { font-size: .72rem; font-weight: 700; line-height: 1.35; letter-spacing: .09em; text-transform: uppercase; }
.events-visuals { display: grid; grid-template-columns: 1.45fr .75fr; grid-template-rows: 470px auto; gap: 18px; }
.events-visuals figure { position: relative; overflow: hidden; margin: 0; border-radius: 30px; }
.events-visuals figure img { height: 100%; object-fit: cover; }
.events-visuals figcaption { position: absolute; bottom: 18px; left: 18px; padding: 10px 14px; color: white; background: rgba(6,25,19,.7); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; backdrop-filter: blur(10px); font-size: .76rem; }
.event-main { grid-row: span 2; min-height: 650px; }
.event-list { display: flex; flex-wrap: wrap; grid-column: 2; gap: 8px; align-self: end; }
.event-list span { padding: 10px 15px; color: var(--forest); border: 1px solid rgba(17,44,36,.16); border-radius: 999px; font-size: .76rem; font-weight: 700; }
.events-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 34px; }
.events-cta p { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.02rem; }

.gallery { background: var(--paper); }
.gallery-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.gallery-heading h2 { margin: 0; }
.gallery-heading > p { max-width: 420px; margin: 0 0 10px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 0; overflow: hidden; border-radius: 18px; }
.gallery-grid img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; border-radius: 0; cursor: zoom-in; transition: filter .25s, transform .25s; }
.gallery-grid img:hover { filter: brightness(1.04); transform: translateY(-2px); }
.gallery-note { margin: 28px 0 0; color: var(--muted); text-align: center; font-size: .84rem; }

.arrival { padding-block: 0; color: white; background: var(--forest); }
.arrival-grid { display: grid; grid-template-columns: 1.15fr .85fr; width: 100%; max-width: none; }
.arrival-visuals { display: grid; grid-template-rows: 1.15fr .85fr; min-height: 820px; }
.arrival-photo, .bridge-photo { position: relative; overflow: hidden; min-height: 0; }
.arrival-photo img { height: 100%; object-fit: cover; }
.arrival-photo span { position: absolute; top: 30px; left: 30px; padding: 9px 14px; background: rgba(17,44,36,.72); border-radius: 999px; backdrop-filter: blur(9px); font-family: var(--serif); }
.bridge-photo img { height: 100%; object-fit: cover; }
.bridge-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,25,19,.74), transparent 65%); }
.bridge-photo span { position: absolute; z-index: 1; bottom: 26px; left: 30px; max-width: 330px; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: 1; }
.bridge-photo small { display: block; margin-bottom: 8px; color: var(--gold); font-family: var(--sans); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.arrival-copy { align-self: center; max-width: 560px; padding: 90px 70px; }
.arrival-copy .section-index { color: var(--gold); }
.arrival-copy h2 { font-size: clamp(3.3rem, 5.5vw, 6rem); }
.arrival-copy > p:not(.section-index), .arrival-copy address { color: rgba(255,255,255,.68); }
.arrival-copy address { margin: 28px 0; font-style: normal; }
.arrival-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.enquire { background: var(--gold); }
.enquire-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.enquire-grid h2 { font-size: clamp(3.3rem, 5vw, 5.7rem); }
.enquire-grid > div > p:last-child { max-width: 460px; color: rgba(17,44,36,.7); }
.contact-form { padding: 36px; background: var(--paper); border-radius: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 16px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); background: #f0eee7; border: 1px solid transparent; border-radius: 11px; outline: none; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--clay); }
.contact-form textarea { resize: vertical; }

.site-footer { color: rgba(255,255,255,.68); background: #0b211a; }
.footer-inner { display: flex; align-items: center; gap: 40px; width: min(1260px, 100%); margin: 0 auto; padding: 52px 28px; }
.footer-brand { display: flex; align-items: center; margin-right: auto; padding: 7px 10px; background: var(--cream); border-radius: 8px; }
.footer-brand img { width: 165px; height: auto; }
.footer-inner p { margin: 0; font-size: .82rem; }
.footer-inner > div { display: flex; gap: 22px; font-size: .8rem; }
.footer-inner a:hover { color: white; }
.footer-bottom { padding: 18px 28px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.35); text-align: center; font-size: .72rem; }
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 180; display: grid; place-items: center; width: 56px; height: 56px; background: #25d366; border-radius: 50%; box-shadow: 0 16px 40px rgba(17,44,36,.28); }
.wa-fab svg { width: 28px; fill: white; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(5,17,13,.94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 14px; }
.lightbox-close { position: absolute; top: 24px; right: 28px; color: white; background: none; border: 0; font-size: 2.5rem; cursor: pointer; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s, transform .75s; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .section { padding: 100px 24px; }
  .manifesto-grid { grid-template-columns: 1fr 2fr; }
  .manifesto-copy { grid-column: 2; }
  .card-cricket { grid-column: span 7; }
  .card-pets { grid-column: span 5; }
  .card-garden, .card-studio, .card-kitchen { grid-column: span 4; }
  .stay-grid { gap: 22px 40px; }
  .family-grid { gap: 50px; }
  .events-visuals { grid-template-columns: 1.2fr .8fr; }
}

@media (max-width: 780px) {
  .main-nav { display: none; }
  .main-nav.open { position: absolute; top: 76px; right: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; color: var(--ink); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 76px; padding: 0 18px; }
  .hero { min-height: 90svh; padding: 130px 20px 100px; }
  .hero h1 { font-size: clamp(3.7rem, 15vw, 6.8rem); }
  .hero-note { display: none; }
  .booking-dock { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .booking-field { border: 0; }
  .booking-dock button { grid-column: 1 / -1; }
  .manifesto-grid, .stay-grid, .family-grid, .film-heading, .events-heading, .gallery-heading, .arrival-grid, .enquire-grid { grid-template-columns: 1fr; }
  .manifesto-copy { grid-column: auto; }
  .experience-grid { grid-template-columns: 1fr; grid-auto-rows: 450px; }
  .experience-card, .card-cricket, .card-pets, .card-garden, .card-studio, .card-kitchen { grid-column: auto; grid-row: auto; }
  .card-pets { min-height: 390px; }
  .stay-copy { grid-row: auto; }
  .stay-room { min-height: 520px; }
  .stay-view { height: 300px; }
  .family-grid img { width: min(460px, 100%); height: 460px; margin: 0 auto; }
  .gallery-heading { gap: 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-heading { gap: 16px; }
  .film-frame { min-height: 0; }
  .film-frame video { height: 62vh; min-height: 430px; }
  .film-caption { display: none; }
  .events-heading { gap: 22px; }
  .event-capacity { width: fit-content; }
  .events-visuals { grid-template-columns: 1fr; grid-template-rows: 480px 330px auto; }
  .event-main { grid-row: auto; min-height: 0; }
  .event-list { grid-column: auto; }
  .events-cta { align-items: flex-start; flex-direction: column; }
  .arrival-visuals { grid-template-rows: 1fr .72fr; min-height: 760px; }
  .arrival-copy { max-width: none; padding: 78px 24px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}

@media (max-width: 520px) {
  .section { padding: 78px 18px; }
  .header-cta { padding: 8px 13px; font-size: .72rem; }
  .brand img { width: 150px; }
  .hero { padding-inline: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .booking-dock { width: calc(100% - 24px); }
  .stay-facts { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-inner > div { flex-wrap: wrap; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
