/* ==========================================================================
   Global Prestige Trading — styles
   Brand: navy #0B1F3A + gold #C9A24A (from the logo)
   ========================================================================== */

:root {
  /* Brand primitives */
  --navy-950: #071528;
  --navy-900: #0B1F3A;
  --navy-800: #12294B;
  --navy-700: #1C3A66;
  --navy-100: #E8EDF5;
  --navy-50: #F2F5FA;
  --gold-500: #C9A24A;   /* decorative, on navy */
  --gold-600: #A8842F;   /* large text on light (3:1+) */
  --gold-700: #7E6220;   /* small text on light (4.5:1+) */
  --gold-100: #F6EFDD;

  /* Semantic tokens */
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #0B1F3A;
  --text: #22324D;
  --muted: #4A5872;
  --border: #E2E7EE;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C3CCDA;
  --error: #B42318;
  --success: #067647;
  --focus: #C9A24A;

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Spacing / shape */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18);
  --shadow-lg: 0 30px 60px -24px rgba(11, 31, 58, .28);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 700ms;

  /* Layers */
  --z-header: 100;
  --z-drawer: 90;

  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* Bilingual content: show only the active language */
html[lang="fr"] span[lang="en"],
html:not([lang="fr"]) span[lang="fr"] { display: none; }

.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-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 31, 58, .55); }
.btn-primary:hover { background: var(--navy-700); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: #D8B562; }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 8px; min-height: 48px; }
.btn-ghost:hover { color: var(--gold-700); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(11, 31, 58, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex: none; }
.brand img { width: 66px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { margin-top: 6px; font-weight: 700; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-700); white-space: nowrap; }
.site-footer .brand img { width: 84px; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: var(--gold-500); }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: .925rem; font-weight: 600; color: var(--muted); text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a[aria-current="page"] { color: var(--ink); }
.main-nav ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold-500); border-radius: 2px;
}
.nav-drawer-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--ink);
  font-weight: 800; font-size: .8rem; letter-spacing: .08em;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.lang-toggle:hover { border-color: var(--gold-500); background: var(--gold-100); }
.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; border-radius: 12px; background: var(--navy-50); color: var(--ink);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: inline; }

@media (max-width: 1080px) {
  .main-nav ul a { padding: 0 10px; }
  .main-nav ul a[aria-current="page"]::after { left: 10px; right: 10px; }
}

@media (max-width: 960px) {
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner { height: 72px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 72px 0 0 0; z-index: var(--z-drawer);
    background: var(--surface);
    padding: 16px var(--gutter) 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav ul a {
    display: flex; min-height: 60px; padding: 0 4px; font-size: 1.25rem; color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .main-nav ul a[aria-current="page"] { color: var(--gold-700); }
  .main-nav ul a[aria-current="page"]::after { display: none; }
  .nav-drawer-footer { display: grid; gap: 16px; margin-top: 32px; }
  .drawer-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-weight: 700; color: var(--ink); text-decoration: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .brand-sub { display: none; }
  .brand-name { white-space: normal; max-width: 9.5em; line-height: 1.15; }
}
@media (max-width: 520px) {
  .site-header .brand img { width: 54px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand-name { white-space: normal; max-width: 9.5em; line-height: 1.15; font-size: .85rem; }
  .site-header .brand-sub { display: none; }
}

/* ---------- Shared section bits ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-white { background: var(--surface); }
.section-navy { background: var(--navy-900); color: var(--on-dark-muted); }
.section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section-navy .eyebrow, .on-dark .eyebrow { color: var(--gold-500); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-navy .section-head p { color: var(--on-dark-muted); }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }

.accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--gold-600); letter-spacing: 0; font-size: 1.08em;
}
.section-navy .accent, .on-dark .accent { color: var(--gold-500); }

.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-inner { position: relative; z-index: 2; display: grid; align-items: center; min-height: clamp(580px, 80vh, 760px); padding-top: 48px; padding-bottom: 150px; }
.hero-copy { max-width: 600px; }
.hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.hero h1 .accent { display: inline-block; }
.hero-lead { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-note {
  margin-top: 56px; padding-left: 16px; border-left: 2px solid var(--navy-900);
  font-size: .9rem; color: var(--muted); line-height: 1.5;
}

.hero-media { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: 1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 42%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(246, 247, 249, 0) 26%);
}
.hero-badge {
  position: absolute; z-index: 2; right: clamp(24px, 4vw, 56px); top: 32px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(7, 21, 40, .55); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: .85rem; line-height: 1.5;
}
.hero-badge strong { display: block; font-weight: 700; }
.hero-badge::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 10px; background: var(--gold-500); }

@media (max-width: 960px) {
  .hero { display: flex; flex-direction: column; }
  .hero-inner { min-height: 0; padding-top: 40px; padding-bottom: 8px; }
  .hero-media { position: relative; order: 2; width: auto; height: 340px; margin: 0; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%); }
  .hero-media::before { display: none; }
  .hero-note { margin-top: 36px; }
  .hero-badge { top: auto; bottom: 90px; }
}
@media (max-width: 600px) { .hero-badge { display: none; } .hero-note { display: none; } }

/* ---------- Hero with full-width moving photo ---------- */
.hero-video { background: var(--navy-950); color: var(--on-dark-muted); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
/* Slow zoom/pan on the photo */
.hero-still { transform-origin: 60% 55%; animation: hero-drift 28s ease-in-out infinite alternate; }
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2.5%, -1.5%, 0); }
}
.hero-video.is-paused .hero-still { animation-play-state: paused; }
/* Readability overlay: dark on the left where the text sits */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 40, .92) 0%, rgba(7, 21, 40, .74) 38%, rgba(7, 21, 40, .25) 75%, rgba(7, 21, 40, .35) 100%),
    linear-gradient(0deg, rgba(7, 21, 40, .85) 0%, rgba(7, 21, 40, 0) 35%);
}
.hero-video .hero-inner { padding-top: 72px; }
.hero-video h1 { color: #fff; }
.hero-video .hero-lead { color: #D5DCE7; }
.hero-video .hero-note { border-left-color: var(--gold-500); color: #D5DCE7; }
.hero-video .hero-badge { z-index: 2; }

.hero-motion-toggle {
  position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); bottom: 116px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(7, 21, 40, .5); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.hero-motion-toggle:hover { background: rgba(7, 21, 40, .8); border-color: var(--gold-500); }
.hero-motion-toggle .icon { width: 18px; height: 18px; }
.hero-motion-toggle .when-paused { display: none; }
.hero-motion-toggle[aria-pressed="true"] .when-paused { display: inline; }
.hero-motion-toggle[aria-pressed="true"] .when-playing { display: none; }

@media (max-width: 960px) {
  .hero-video { display: block; }
  .hero-video .hero-inner { min-height: 620px; padding-top: 56px; padding-bottom: 120px; align-items: start; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7, 21, 40, .9) 0%, rgba(7, 21, 40, .72) 55%, rgba(7, 21, 40, .9) 100%); }
  .hero-video .hero-badge { display: none; }
  .hero-motion-toggle { bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-still { animation: none; transform: scale(1.04); }
}

/* Value bar (overlaps hero bottom) */
.value-bar-wrap { position: relative; z-index: 3; margin-top: -96px; }
.value-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .96); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px 8px;
}
.value-item { display: flex; align-items: center; gap: 16px; padding: 4px 24px; }
.value-item + .value-item { border-left: 1px solid var(--border); }
.value-icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-900); border: 1px solid var(--navy-100);
}
.value-icon .icon { width: 24px; height: 24px; }
.value-item strong { display: block; color: var(--ink); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.value-item span.v-sub { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 1024px) {
  .value-bar { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .value-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 960px) { .value-bar-wrap { margin-top: -40px; } }
@media (max-width: 560px) {
  .value-bar { grid-template-columns: 1fr; padding: 12px 4px; row-gap: 0; }
  .value-item { padding: 14px 18px; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--border); }
}

/* Keyword strip (from the original site) */
.keywords { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.keywords li {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800);
}

/* ---------- Two-column feature (import / export) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.duo-card {
  position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
}
.duo-card.dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-muted); }
.duo-card.dark h3 { color: #fff; }
.duo-card .tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--gold-100); color: var(--gold-700);
}
.duo-card.dark .tag { background: rgba(201, 162, 74, .14); color: var(--gold-500); }
.duo-card h3 { margin-top: 20px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.duo-card > p { margin-top: 14px; }
.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-600); }
.duo-card.dark .check-list .icon { color: var(--gold-500); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) ease;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .6); }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy-900); color: var(--gold-500);
}
.card-icon .icon { width: 24px; height: 24px; }
.card h3 { margin-top: 22px; font-size: 1.15rem; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.card-link { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.card-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.card:hover .card-link .icon { transform: translateX(4px); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--gold-500); }
.step-line { height: 1px; background: rgba(255, 255, 255, .18); margin: 20px 0 24px; position: relative; }
.step-line::before { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); }
.step h3 { font-size: 1.15rem; }
.step p { margin-top: 10px; font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Media split (image + text) ---------- */
.media-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media-split.reverse { grid-template-columns: 1fr 1.05fr; }
.media-split.reverse .media-frame { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--navy-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-split h2 { margin-top: 16px; font-size: clamp(2rem, 3.4vw, 2.7rem); }
.media-split .lead, .media-split > div > p { margin-top: 18px; }
.media-split .btn { margin-top: 32px; }
@media (max-width: 900px) {
  .media-split, .media-split.reverse { grid-template-columns: 1fr; }
  .media-split.reverse .media-frame { order: 0; }
}

/* Product mosaic (home teaser + products page) */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-100); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark-muted); isolation: isolate; }
.cta-band-media { position: absolute; inset: 0; z-index: -1; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 21, 40, .97) 0%, rgba(7, 21, 40, .9) 40%, rgba(7, 21, 40, .45) 100%); }
.cta-band-inner { padding: clamp(40px, 6vw, 80px); max-width: 680px; }
.cta-band h2 { margin-top: 16px; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band p { margin-top: 16px; font-size: 1.08rem; }
.cta-band .hero-actions { margin-top: 32px; }
@media (max-width: 640px) { .cta-band-media::after { background: rgba(7, 21, 40, .88); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark-muted); isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 21, 40, .96) 0%, rgba(7, 21, 40, .82) 45%, rgba(7, 21, 40, .4) 100%); }
.page-hero .container { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 112px); }
.page-hero h1 { margin-top: 18px; color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 16ch; letter-spacing: -0.03em; }
.page-hero p { margin-top: 20px; max-width: 56ch; font-size: 1.12rem; }
/* Small source photos: soften so low resolution isn't visible at full width */
.page-hero-media.soft img, .cta-band-media.soft img { filter: blur(3px) saturate(1.1); transform: scale(1.06); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 28px; color: var(--on-dark-muted); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
@media (max-width: 640px) { .page-hero-media::after { background: rgba(7, 21, 40, .85); } }

/* ---------- Service groups ---------- */
.service-group { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--border); }
.service-group:first-of-type { border-top: 0; padding-top: 0; }
.service-group-head h2 { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.service-group-head p { margin-top: 12px; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.service-item .card-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.card-icon, .value-icon { flex: none; }
.service-item .card-icon .icon { width: 20px; height: 20px; }
.service-item h3 { font-size: 1.02rem; letter-spacing: -0.005em; }
.service-item p { margin-top: 6px; font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .service-group { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Feature list (benefits, properties) ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .value-icon { width: 48px; height: 48px; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin-top: 4px; font-size: .95rem; color: var(--muted); }
.section-navy .feature p { color: var(--on-dark-muted); }
.section-navy .feature .value-icon { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--gold-500); }

/* Product cards */
.product-card { display: flex; gap: 24px; align-items: center; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.product-card img { width: 140px; height: 140px; object-fit: contain; border-radius: var(--radius-sm); background: #fff; flex: none; }
.product-card h3 { font-size: 1.25rem; }
.product-card p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 480px) { .product-card { flex-direction: column; align-items: flex-start; } }

.gallery figure { margin: 0; }
.gallery .media-frame { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 14px; font-weight: 700; color: var(--ink); }
.gallery figcaption span.cap-sub { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); }

/* ---------- About ---------- */
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.about-stat { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.about-stat strong { display: block; font-size: 1.05rem; color: var(--ink); }
.about-stat span.s-sub { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field .req { color: var(--error); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9D1DD; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(201, 162, 74, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { display: none; margin-top: 6px; font-size: .85rem; color: var(--error); font-weight: 600; }
.field.has-error .field-error { display: block; }
.field-hint { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--error); }
.form-status a { color: inherit; }

.info-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark-muted); }
.info-card h2 { color: #fff; font-size: 1.4rem; }
.info-list { margin-top: 24px; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .value-icon { width: 44px; height: 44px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--gold-500); }
.info-list .value-icon .icon { width: 20px; height: 20px; }
.info-list strong { display: block; color: #fff; font-size: .95rem; }
.info-list a { color: var(--on-dark-muted); text-decoration: none; }
.info-list a:hover { color: #fff; text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: .95rem; }
.hours-table td { padding: 4px 0; }
.hours-table td:last-child { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.map-link { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 20px; max-width: 36ch; font-size: .95rem; }
.footer-tagline { font-size: .75rem !important; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-500); }
.footer-title { font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; font-size: .95rem; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--gold-500); }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; }
.footer-hours li span:last-child { color: #fff; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (only when JS is on and motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
