/* =========================================================================
   Private Yacht Concierge — Shared Stylesheet
   Two font families maximum: Cormorant Garamond (display) + Inter (body).
   Palette locked. Light blue is glow only, never a fill.
   ========================================================================= */

:root {
  --navy: #0A1F3A;
  --navy-deep: #061427;
  --blue: #6BA4D6;
  --gold: #C9A961;
  --gold-soft: #b89951;
  --gold-glow: rgba(201, 169, 97, 0.22);
  --ivory: #F5F1E8;
  --ivory-2: #EFE9DA;
  --white: #FFFFFF;
  --terracotta: #B16A5A;

  --font-serif: 'Cormorant Garamond', 'Tenor Sans', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1320px;
  --pad-x: clamp(20px, 5vw, 80px);
  --section-y: clamp(80px, 12vw, 180px);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

/* ----- Type system ------------------------------------------------------- */

.display, .section-headline, .pillar-headline, .service-name, .marina-name, .quote, .cta {
  font-family: var(--font-serif);
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 1.02;
  letter-spacing: -0.005em;
}
.display.caps { text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.05; }

.section-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.eyebrow, .kicker, .section-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: color-mix(in oklab, var(--navy) 80%, transparent);
  max-width: 60ch;
  text-wrap: pretty;
}

.lede.on-dark { color: color-mix(in oklab, var(--ivory) 85%, transparent); }

/* ----- Nav --------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  color: var(--ivory);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--navy) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
.nav.theme-light { color: var(--navy); }
.nav.theme-light.is-scrolled {
  background: color-mix(in oklab, var(--ivory) 92%, transparent);
  border-bottom: 1px solid rgba(10, 31, 58, 0.08);
}
/* Top scrim — keeps the logo + links legible over bright hero footage */
.nav::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 230%;
  z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 20, 39, 0.62), rgba(6, 20, 39, 0));
  transition: opacity .4s var(--ease-out);
}
.nav.is-scrolled::before { opacity: 0; }
.nav.theme-light::before { background: linear-gradient(to bottom, rgba(245, 241, 232, 0.88), rgba(245, 241, 232, 0)); }

.nav-inner { display: contents; }
.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity .3s, color .3s;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-color: color-mix(in oklab, currentColor 35%, transparent);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: border-color .3s, color .3s, background .3s;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

/* Brand mark in nav */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}
.brand-mark .monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.brand-mark .wordmark {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.2;
}
.brand-mark .wordmark small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.34em;
  opacity: 0.6;
  margin-top: 2px;
}
.brand-mark .brand-logo { height: 44px; width: auto; display: block; }
.footer .brand-mark .brand-logo { height: 54px; }

@media (max-width: 768px) {
  .nav-links .nav-only-wide { display: none; }
  .brand-mark .wordmark { display: none; }
}

/* ----- CTA --------------------------------------------------------------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s, transform .35s var(--ease-out);
  position: relative;
}
.cta::after {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: none;
  transition: border-color .4s, transform .4s;
}
.cta:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 12px 40px -10px var(--gold-glow), 0 4px 20px -6px rgba(107, 164, 214, 0.35);
  transform: translateY(-1px);
}
.cta--ghost {
  background: transparent;
  color: var(--gold);
}
.cta--ghost:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 40px -10px var(--gold-glow);
}
.cta--small { padding: 12px 22px; font-size: 11px; }

/* ----- Section wrappers -------------------------------------------------- */

.section {
  position: relative;
  padding: var(--section-y) var(--pad-x);
}
.section--navy { background: var(--navy); color: var(--ivory); }
.section--ivory { background: var(--ivory); color: var(--navy); }
.section--navy .section-headline { color: var(--ivory); }

.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: clamp(48px, 6vw, 88px);
  max-width: 920px;
}

/* ----- Curved sweep dividers -------------------------------------------- */

.sweep {
  position: relative;
  width: 100%;
  height: clamp(80px, 12vw, 160px);
  pointer-events: none;
  overflow: hidden;
}
.sweep svg { width: 100%; height: 100%; display: block; }
.sweep .sweep-fill { fill: var(--ivory); }
.sweep .sweep-bg { fill: var(--navy); }
/* Sweep stroke — pure CSS draw-in animation, no JS dependency */
.sweep .sweep-stroke {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 0;
  animation: sweep-draw 1.4s var(--ease-out) backwards;
}
@keyframes sweep-draw {
  from { stroke-dashoffset: 1600; }
  to   { stroke-dashoffset: 0; }
}

.sweep.flip svg { transform: scaleY(-1); }

/* ----- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: var(--navy);
  color: var(--ivory);
  overflow: hidden;
}
.hero--compact { height: 70vh; min-height: 480px; }

#hero-canvas, .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlays {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4vw;
  pointer-events: none;
  z-index: 2;
}
.hero-overlays .overlay {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.8s var(--ease-out);
  pointer-events: auto;
  text-align: center;
  max-width: 880px;
  width: min(880px, 92vw);
}
.hero-overlays .overlay .display { color: var(--ivory); }
.hero-overlays .overlay .kicker, .hero-overlays .overlay .eyebrow {
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-overlays .overlay p:not(.kicker):not(.eyebrow) {
  margin-top: 22px;
  color: color-mix(in oklab, var(--ivory) 80%, transparent);
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.hero-overlays .overlay h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 78px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ivory);
}

.marina-chips {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.marina-chips li {
  border: 1px solid color-mix(in oklab, var(--gold) 60%, transparent);
  color: var(--gold);
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  font-family: var(--font-sans);
}

.overlay .cta {
  margin-top: 32px;
  pointer-events: auto;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ivory) 70%, transparent);
  pointer-events: none;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.6s var(--ease-soft) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 169, 97, 0.18);
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 31, 58, 0.55), transparent);
}
.hero-marquee .track {
  display: inline-flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll-left 60s linear infinite;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--gold) 80%, transparent);
}
.hero-marquee .track span { display: inline-flex; align-items: center; gap: 64px; }
.hero-marquee .track span::after { content: '·'; color: var(--gold); }

/* ----- Pillars (section 1) ---------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pillars { grid-template-columns: 1fr; } }

.pillar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 169, 97, 0.35);
  position: relative;
}
.pillar::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 28px; height: 1px; background: var(--gold);
  transition: width .6s var(--ease-out);
}
.pillar:hover::before { width: 64px; }
.pillar-icon { width: 36px; height: 36px; color: var(--gold); }
.pillar-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  min-height: 2.4em; /* keep body copy bottom-aligned across pillars */
}
@media (max-width: 560px) { .pillar-headline { min-height: 0; } }
.pillar p {
  font-size: 14.5px;
  line-height: 1.65;
  color: color-mix(in oklab, var(--ivory) 70%, transparent);
  font-weight: 300;
}

/* ----- Marinas ---------------------------------------------------------- */

.marinas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 2vw, 40px);
}
@media (max-width: 1024px) { .marinas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .marinas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .marinas { grid-template-columns: 1fr; } }

.marina-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 16px 32px;
  border-radius: 4px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  cursor: default;
  position: relative;
}
.marina-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px -8px rgba(107, 164, 214, 0.45);
}
.marina-illo {
  width: clamp(92px, 9vw, 130px);
  height: clamp(92px, 9vw, 130px);
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: box-shadow .5s var(--ease-out);
}
.marina-card:hover .marina-illo {
  box-shadow: 0 0 0 1px var(--gold), 0 10px 40px -10px rgba(107, 164, 214, 0.6);
}
.marina-illo svg { width: 60%; height: 60%; }
.marina-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding-bottom: 8px;
}
.marina-name::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease-out);
  transform: translateX(-50%);
}
.marina-card:hover .marina-name::after { width: 48px; }
.marina-descriptor {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--navy) 65%, transparent);
  margin-top: 8px;
  font-weight: 300;
}

/* ----- Services grid (14) ----------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  border-left: 1px solid rgba(201, 169, 97, 0.2);
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: clamp(28px, 2.6vw, 44px) clamp(22px, 2vw, 34px) clamp(36px, 3vw, 52px);
  border-right: 1px solid rgba(201, 169, 97, 0.2);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .4s var(--ease-out);
}
.service-card:hover { background: rgba(201, 169, 97, 0.04); }
.service-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  transition: transform .5s var(--ease-out);
}
.service-card:hover .service-icon { transform: translateY(-3px); }
.service-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: color-mix(in oklab, var(--gold) 90%, transparent);
  letter-spacing: 0.1em;
}
.service-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--ivory);
}
.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: color-mix(in oklab, var(--ivory) 65%, transparent);
  font-weight: 300;
}

/* ----- Operational services (4 flagship cards) -------------------------- */

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
@media (max-width: 768px) { .ops-grid { grid-template-columns: 1fr; } }

.ops-card {
  padding: clamp(40px, 4vw, 72px) clamp(32px, 3vw, 56px);
  background: var(--white);
  border: 1px solid rgba(201, 169, 97, 0.3);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative;
}
.ops-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 60px -16px rgba(10, 31, 58, 0.16), 0 0 0 1px var(--gold);
}
.ops-card .ops-icon { width: 44px; height: 44px; color: var(--gold); }
.ops-card .ops-number {
  position: absolute;
  top: clamp(28px, 3vw, 48px);
  right: clamp(28px, 3vw, 48px);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 60px);
  color: color-mix(in oklab, var(--gold) 35%, transparent);
  line-height: 1;
}
.ops-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.005em;
  max-width: 18ch;
}
.ops-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: color-mix(in oklab, var(--navy) 70%, transparent);
  font-weight: 300;
  max-width: 42ch;
}

/* ----- Marquee section --------------------------------------------------- */

.difference {
  background: var(--navy);
  color: var(--gold);
  padding: clamp(60px, 9vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.difference::before,
.difference::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 14%;
  z-index: 2;
  pointer-events: none;
}
.difference::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.difference::after  { right: 0; background: linear-gradient(to left, var(--navy), transparent); }

.marquee {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}
.marquee-item {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 112px);
  letter-spacing: 0.005em;
  padding: 0 clamp(28px, 4vw, 64px);
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.marquee-item::after {
  content: '·';
  color: var(--gold);
  opacity: 0.7;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- Testimonials ----------------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; gap: 48px; } }

.testimonial {
  padding: clamp(28px, 3vw, 56px);
  border-right: 1px solid color-mix(in oklab, var(--gold) 45%, transparent);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testimonial:last-child { border-right: 0; }
@media (max-width: 900px) { .testimonial { border-right: 0; border-bottom: 1px solid color-mix(in oklab, var(--gold) 35%, transparent); padding-bottom: 48px; } .testimonial:last-child { border-bottom: 0; } }

.testimonial .mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 60px;
  color: color-mix(in oklab, var(--gold) 80%, transparent);
  line-height: 0.6;
}
.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.45;
  color: color-mix(in oklab, var(--navy) 88%, transparent);
  text-wrap: pretty;
}
.attribution {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--navy) 55%, transparent);
  font-weight: 400;
  border-top: 1px solid color-mix(in oklab, var(--gold) 45%, transparent);
  padding-top: 18px;
}

/* ----- Final CTA band --------------------------------------------------- */

.cta-band {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .stat-curve {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}
.cta-band .stat-curve svg { width: 100%; height: 100%; }
.cta-band-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.cta-band .section-headline { color: var(--ivory); }
.cta-band .lede { color: color-mix(in oklab, var(--ivory) 75%, transparent); margin: 0 auto; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

/* ----- Footer ----------------------------------------------------------- */

.footer {
  background: var(--navy-deep);
  color: color-mix(in oklab, var(--ivory) 75%, transparent);
  padding: clamp(60px, 7vw, 100px) var(--pad-x) 36px;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 4vw, 80px);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 48px; } }

.footer h4 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--gold); }

.footer .brand-block { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer .brand-block .tagline { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: color-mix(in oklab, var(--ivory) 85%, transparent); line-height: 1.4; }

.footer-bottom {
  margin-top: clamp(60px, 6vw, 96px);
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ivory) 50%, transparent);
}

/* ----- Reveal animations ------------------------------------------------- */

/* Reveal — pure CSS, no JS dependency. Animates once on page load. */
.reveal {
  opacity: 1;
  transform: none;
  animation: reveal-fade-up 0.9s var(--ease-out) backwards;
  animation-delay: var(--reveal-delay, 0s);
}
@keyframes reveal-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----- Contact page ----------------------------------------------------- */

.contact-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 960px) { .contact-body { grid-template-columns: 1fr; } }

.form-wrap {
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent);
  padding: clamp(32px, 4vw, 64px);
  position: relative;
}
.form-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 48px; height: 48px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.form-wrap::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 48px; height: 48px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--navy) 75%, transparent);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  padding: 14px 16px;
  outline: none;
  border-radius: 12px;
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.form-field input:hover, .form-field select:hover, .form-field textarea:hover {
  border-color: color-mix(in oklab, var(--gold) 55%, transparent);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.16);
}
.form-field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }

/* Premium custom select — gold SVG caret + refined open state */
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23C9A961' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 5 7 8.5 10.5 5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 14px;
  padding-right: 46px;
  cursor: pointer;
}
.form-field select option { color: var(--navy); background: var(--white); padding: 12px; }
.form-field select optgroup { font-style: normal; font-weight: 600; color: var(--gold); background: var(--ivory); }
.form-field input::placeholder, .form-field textarea::placeholder { color: color-mix(in oklab, var(--navy) 38%, transparent); font-style: italic; }

.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 8px; }

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-direct .contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 35%, transparent);
}
.contact-direct .contact-card:last-of-type { border-bottom: 0; }
.contact-direct .contact-card .label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.contact-direct .contact-card .value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  word-break: break-word;
}
.contact-direct .contact-card .value:hover { color: var(--gold); }

.qr-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent);
  background: var(--white);
}
.qr-placeholder {
  width: 92px; height: 92px;
  background:
    repeating-linear-gradient(0deg, var(--navy) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 12px),
    var(--ivory);
  background-blend-mode: multiply;
  flex-shrink: 0;
  position: relative;
}
.qr-placeholder::after {
  content: '';
  position: absolute; inset: 28% 28%;
  background: var(--white);
  border: 4px solid var(--navy);
}
.qr-card .body { font-size: 13px; line-height: 1.55; color: color-mix(in oklab, var(--navy) 75%, transparent); }
.qr-card .body strong { font-weight: 500; }

.contact-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--navy) 70%, transparent);
  padding-top: 12px;
  border-top: 1px solid color-mix(in oklab, var(--gold) 25%, transparent);
}

/* ----- Misc utilities --------------------------------------------------- */

.divider-line { height: 1px; width: 64px; background: var(--gold); }
.section--ivory .pillar { border-top-color: rgba(10, 31, 58, 0.18); }
.section--ivory .pillar p { color: color-mix(in oklab, var(--navy) 70%, transparent); }

/* Hide content while waiting for fonts to avoid FOUT shift */
.fonts-loading .display { font-synthesis: none; }
