/* ==========================================================================
   Victoria 22 — Design System
   Tokens and components per 10-design-system.md. Do not introduce colours,
   type sizes, or spacing values outside what is defined here.
   ========================================================================== */

:root {
  --green: #014127;
  --cream: #E1C8B6;
  --gold: #C8A16E;
  --gold-text: #645037;
  --ivory: #F4F1E8;
  --footer-green: #012E1B;
  --hairline: rgba(1, 65, 39, .18);
  --hairline-strong: rgba(1, 65, 39, .28);

  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1320px;
  --side-pad: 64px;
  --section-pad: 128px;
  --row-gap: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 1024px) {
  :root {
    --side-pad: 40px;
    --section-pad: 88px;
    --row-gap: 56px;
  }
}

@media (max-width: 640px) {
  :root {
    --side-pad: 24px;
    --section-pad: 64px;
    --row-gap: 40px;
  }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--green);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ivory); color: var(--green); padding: 12px 20px;
  border-radius: 8px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---- Typography scale ---- */
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
  opacity: .75;
}
.h1--hero {
  font-size: 60px; line-height: 1.12; color: var(--cream); margin: 0 0 20px;
}
.h1--hero-clients { font-size: 52px; line-height: 1.15; }
.h1--hero-about { font-size: 48px; line-height: 1.2; text-align: center; }
h2.h2 { font-size: 40px; line-height: 1.2; }
h3.h3 { font-size: 28px; line-height: 1.25; }
.tagline {
  font-family: var(--font-display); font-style: italic; font-size: 18px;
  color: var(--gold-text);
}
.body-lg { font-size: 17px; line-height: 1.8; }
.spec-line {
  font-size: 14px; letter-spacing: .02em; color: var(--green); opacity: .85;
}

@media (max-width: 860px) {
  .h1--hero { font-size: 38px; line-height: 1.18; }
  .h1--hero-clients { font-size: 34px; }
  .h1--hero-about { font-size: 32px; }
  h2.h2 { font-size: 30px; }
  h3.h3 { font-size: 24px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.btn-ivory { background: var(--ivory); color: var(--gold-text); padding: 12px 28px; }
.btn-ivory:hover { box-shadow: 0 4px 14px rgba(1,65,39,.18); }

.btn-gold { background: var(--gold); color: var(--cream); padding: 14px 32px; }
.btn-gold:hover { box-shadow: 0 6px 18px rgba(1,65,39,.28); }
.btn-gold:focus-visible { outline-color: var(--cream); }

.morelink {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
  font-weight: 600; letter-spacing: .02em; color: var(--green);
  border-top: 1px solid var(--hairline); padding-top: 14px;
}
.morelink .arrow { transition: transform .2s var(--ease); }
.morelink:hover .arrow, .morelink:focus-visible .arrow { transform: translateX(4px); }
.morelink:hover, .morelink:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Header / Nav ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .3s var(--ease);
  padding-block: 28px;
}
.site-header.is-scrolled {
  background: var(--green);
  box-shadow: 0 4px 20px rgba(1,20,12,.25);
  padding-block: 16px;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-mark img { height: 22px; width: auto; }
.logo-mark { display: flex; align-items: center; }

.nav-links ul { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; letter-spacing: .03em; color: var(--cream); opacity: .92;
  padding-bottom: 6px; border-bottom: 1px solid transparent;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; border-bottom-color: var(--cream); }

.nav-right { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none; background: none; border: none; padding: 6px; color: var(--cream);
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

.mobile-nav {
  display: none;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block;
    position: fixed; inset: 0; z-index: 99;
    background: var(--green);
    padding: 110px 32px 40px;
    transform: translateY(-100%);
    transition: transform .35s var(--ease);
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav ul { display: flex; flex-direction: column; gap: 28px; }
  .mobile-nav a { font-family: var(--font-display); font-size: 28px; color: var(--cream); }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
  body.nav-open { overflow: hidden; }
}

/* ---- Hero: full-bleed water/photo backgrounds ---- */
.hero {
  position: relative; display: flex; align-items: flex-end; color: var(--cream);
  min-height: 92vh; padding-block: 160px 96px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
}
.hero--water .hero__bg { background-image: linear-gradient(180deg, rgba(1,46,27,.55), rgba(1,46,27,.72)), url('../assets/water-texture-photo.png'); }
.hero--photo .hero__bg::after { background: linear-gradient(0deg, rgba(1,32,19,.82) 10%, rgba(1,46,27,.35) 55%, rgba(1,46,27,.35) 100%); }
.hero--photo.hero--land .hero__bg { background-image: url('../assets/interior-lounge-photo.jpg'); }
.hero--photo.hero--sea .hero__bg { background-image: url('../assets/yacht-aerial-photo.jpg'); }
.hero--photo.hero--clients .hero__bg { background-image: url('../assets/harbour-view-room-photo.jpg'); }

.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__subhead { font-size: 18px; line-height: 1.7; color: var(--cream); opacity: .92; max-width: 560px; }

.hero--home {
  align-items: center; justify-content: center; text-align: center; min-height: 100vh;
}
.hero--home .hero__content { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.hero--home .wordmark {
  font-family: var(--font-display); font-size: 76px; letter-spacing: .08em;
  color: var(--cream); margin: 0;
}
.hero--home .wordmark .dot { color: var(--gold); }
.hero--home .kicker {
  font-size: 14px; letter-spacing: .28em; color: var(--cream); opacity: .85;
  margin-top: 18px; text-transform: uppercase;
}
.hero--home .divider {
  width: 56px; height: 1px; background: var(--hairline-cream, rgba(225,200,182,.5));
  margin: 32px 0 28px;
}
.hero--home h1 { font-size: 40px; color: var(--cream); margin-bottom: 18px; }
.hero--home .hero__subhead { text-align: center; margin-inline: auto; margin-bottom: 36px; }
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  color: var(--cream); opacity: .7; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

@media (max-width: 860px) {
  .hero { min-height: 78vh; padding-block: 140px 72px; }
  .hero--home .wordmark { font-size: 44px; }
  .hero--home .kicker { font-size: 11px; letter-spacing: .2em; }
}

/* ---- Our Services (Home) ---- */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; text-align: center;
}
.services-grid .service {
  padding: 0 56px; position: relative;
}
.services-grid .service + .service::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
  background: var(--hairline-strong);
}
.services-grid .service img.motif { width: 220px; height: auto; margin: 0 auto 28px; }
.services-grid h3 { font-size: 30px; letter-spacing: .04em; margin-bottom: 16px; }
.services-grid p { font-size: 16px; line-height: 1.7; margin-bottom: 22px; max-width: 380px; margin-inline: auto; }
.services-grid .morelink { border-top: none; padding-top: 0; justify-content: center; }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; gap: 64px; }
  .services-grid .service + .service::before { display: none; }
  .services-grid .service { padding: 0 12px; }
}

/* ---- A Venue of Choice ---- */
.venue-choice { text-align: center; }
.venue-choice .body-lg { max-width: 720px; margin: 0 auto 40px; }
.client-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
  font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green); opacity: .82; margin-bottom: 36px;
}
.client-list li:not(:last-child)::after { content: "·"; margin-left: 14px; opacity: .6; }
.venue-choice .morelink { justify-content: center; border-top: none; padding-top: 0; }

/* ---- Featured story / alternating image-text rows ---- */
.split-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--row-gap); align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-row img { width: 100%; height: 480px; object-fit: cover; }
.split-row .copy .eyebrow { margin-bottom: 14px; }
.split-row .copy h3 { margin-bottom: 18px; }
.split-row .copy p { margin-bottom: 22px; }

@media (max-width: 860px) {
  .split-row, .split-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-row img { height: 320px; }
}

/* ---- CTA band ---- */
.cta-band {
  position: relative; text-align: center; color: var(--cream); overflow: hidden;
}
.cta-band .hero__bg { background-image: linear-gradient(180deg, rgba(1,46,27,.72), rgba(1,46,27,.85)), url('../assets/water-texture-photo.png'); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: 44px; color: var(--cream); margin-bottom: 20px; max-width: 640px; margin-inline: auto; }
.cta-band p { font-size: 17px; opacity: .92; max-width: 480px; margin: 0 auto 32px; }

@media (max-width: 860px) {
  .cta-band h2 { font-size: 30px; }
}

/* ---- Stat grid (Land: Full Venue) ---- */
.venue-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--row-gap); align-items: center; }
.venue-intro p { font-size: 17px; line-height: 1.8; margin-top: 20px; }
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hairline);
}
.stat-grid .stat { padding: 36px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stat-grid .stat:nth-child(2n) { border-right: none; }
.stat-grid .stat:nth-last-child(-n+2) { border-bottom: none; }
.stat-grid .stat .num { font-family: var(--font-display); font-size: 40px; margin-bottom: 8px; }
.stat-grid .stat .label { font-size: 14px; opacity: .8; }

@media (max-width: 860px) {
  .venue-intro { grid-template-columns: 1fr; }
  .stat-grid .stat { padding: 24px; }
  .stat-grid .stat .num { font-size: 30px; }
}

/* ---- Amenity chips ---- */
.amenity-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.amenity-chip {
  display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--hairline-strong);
  border-radius: 999px; padding: 14px 24px; font-size: 14px; font-weight: 500; color: var(--green);
}
.amenity-chip svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; flex-shrink: 0; }

@media (max-width: 640px) {
  .amenity-chip { padding: 12px 18px; font-size: 13px; }
}

/* ---- Room rows ---- */
.room-row .info-line { margin-top: 20px; }

/* ---- Occasion split statement ---- */
.occasion-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--row-gap);
  text-align: left;
}
.occasion-split p { font-size: 20px; line-height: 1.6; font-family: var(--font-display); }
@media (max-width: 860px) { .occasion-split { grid-template-columns: 1fr; gap: 24px; } }

/* ---- Floor plan ---- */
.floorplan-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--row-gap); align-items: center; }
.floorplan-block img { border: 1px solid var(--hairline); background: rgba(1,65,39,.03); padding: 16px; }
.zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; margin-top: 32px; }
.zone-list li { font-size: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }

.floorplan-block--stacked { grid-template-columns: 1fr; }
.floorplan-block--stacked img { max-width: 720px; margin-inline: auto; }

@media (max-width: 860px) {
  .floorplan-block { grid-template-columns: 1fr; }
  .zone-list { grid-template-columns: 1fr 1fr; }
  .floorplan-block img { overflow-x: auto; }
}

/* ---- Layered photo stack (Sea: Fine Yacht) ---- */
.photo-stack { position: relative; }
.photo-stack .main { width: 100%; height: 480px; object-fit: cover; }
.photo-stack .accent {
  position: absolute; right: -24px; bottom: -32px; width: 46%; height: 220px;
  object-fit: cover; border: 6px solid var(--cream);
}
@media (max-width: 860px) {
  .photo-stack { margin-bottom: 56px; }
  .photo-stack .main { height: 320px; }
  .photo-stack .accent { width: 55%; height: 150px; right: -12px; bottom: -24px; }
}

/* ---- Yacht spec rows (Sea) ---- */
.infrows { border-top: 1px solid var(--hairline); }
.infrow {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--hairline); gap: 24px;
}
.infrow .label { font-size: 15px; opacity: .8; }
.infrow .value { font-size: 16px; font-weight: 600; text-align: right; }
.spec-flag {
  margin-top: 20px; font-size: 13px; color: var(--green); opacity: .7; font-style: italic;
}

/* ---- Case study cards (Clients) ---- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.case-card { background: var(--cream); padding: 40px; }
.case-card h3 { font-size: 24px; margin-bottom: 16px; }
.case-card p { font-size: 15px; line-height: 1.75; }
.case-note { text-align: center; font-size: 13px; opacity: .65; font-style: italic; margin-top: 40px; }

@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px; }
}

/* ---- About page long-form ---- */
.editorial { max-width: 700px; margin-inline: auto; text-align: left; }
.editorial + .editorial { margin-top: var(--row-gap); }
.editorial h2 { margin-bottom: 22px; }
.editorial p { font-size: 17px; line-height: 1.85; }
.editorial p + p { margin-top: 18px; }
.about-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-block: var(--row-gap); }
.about-photo-row img { width: 100%; height: 420px; object-fit: cover; }
.about-single-photo { margin-block: var(--row-gap); }
.about-single-photo img { width: 100%; height: 520px; object-fit: cover; }

@media (max-width: 860px) {
  .about-photo-row { grid-template-columns: 1fr; }
  .about-single-photo img { height: 320px; }
}

/* ---- Footer ---- */
.site-footer { background: var(--footer-green); color: var(--cream); }
.footer-top {
  padding-block: 80px 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start;
}
.footer-top .footer-col:last-child { text-align: right; }
.footer-col .eyebrow { color: var(--cream); opacity: .65; margin-bottom: 14px; }
.footer-col a, .footer-col address { font-size: 15px; line-height: 1.8; font-style: normal; opacity: .92; }
.footer-brand { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-brand img { height: 26px; }
.footer-bottom {
  border-top: 1px solid rgba(225,200,182,.18); padding-block: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom .social a { display: inline-flex; }
.footer-bottom .social svg { width: 20px; height: 20px; stroke: var(--cream); fill: none; stroke-width: 1.5; opacity: .85; }
.footer-bottom .copyright { font-size: 13px; opacity: .65; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .footer-top .footer-col:last-child { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---- Book Now modal ---- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(1,32,19,.6); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease);
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--ivory); color: var(--green); max-width: 440px; width: 100%;
  padding: 48px 40px; position: relative; text-align: center;
  transform: translateY(12px); transition: transform .25s var(--ease);
}
.modal-backdrop.is-open .modal { transform: translateY(0); }
.modal h2 { font-size: 30px; margin-bottom: 16px; }
.modal p { font-size: 16px; line-height: 1.7; margin-bottom: 28px; opacity: .85; }
.modal-close {
  position: absolute; top: 18px; right: 18px; background: none; border: none;
  color: var(--green); padding: 8px;
}
.modal-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-inview { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
