/* ---------- SparkleDiam — Light editorial · v2 ---------- */
:root {
  --bg: #FAFBFD;
  --bg-tint: #F1F5FB;
  --surface: #FFFFFF;
  --surface-2: #F6F8FC;
  --ink: #0A1628;
  --ink-2: #1E3A5F;
  --muted: #5A6B82;
  --muted-2: #8A99B0;
  --line: #E1E7F0;
  --line-strong: #C8D3E2;
  --accent: #1E3A5F;
  --accent-bright: #3B82C4;
  --accent-soft: #E8EFF7;
  --shadow-md: 0 8px 24px -12px rgba(10,22,40,0.12);
  --shadow-lg: 0 24px 60px -28px rgba(10,22,40,0.18);
  --maxw: 1200px;
  --pad-y: clamp(64px, 8vw, 120px);
  --pad-x: clamp(20px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; }
/* overflow-x: clip — prevents horizontal bleed without creating a scroll container,
   so position:sticky on .nav keeps working */
html { overflow-x: clip; }
body { overflow-x: clip; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px; /* keep anchor targets clear of the sticky nav */
}
@media (max-width: 980px) { html { scroll-padding-top: 76px; } }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.09 0 0 0 0 0.16 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

/* ---------- Type ---------- */
.serif { font-family: 'Cormorant Garamond', serif; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; margin: 0; letter-spacing: -0.012em; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 300; }
h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 300; }
h3 { font-size: clamp(22px, 2.4vw, 32px); }
p { margin: 0; }

.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-bright);
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.section { padding: var(--pad-y) 0; position: relative; z-index: 0; isolation: isolate; background: var(--bg); }
.section.tinted { background: var(--bg-tint); }

/* ---------- Buttons & Arrows ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  position: relative;
}

/* Arrow — plain glyph inside the pill, animates on hover */
.arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 300ms var(--ease);
  font-family: 'Cormorant Garamond', serif;
}
/* Arrow inside a .btn shares the label font + tight line-height so the
   glyph optically centres against the uppercase text (no serif metrics drift) */
.btn .arrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 280ms var(--ease);
}
/* Only the arrow moves on hover — nothing else changes */
.btn:hover .arrow { transform: translateX(4px); }

/* Ghost — transparent with border */
.btn.ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: rgba(30,58,95,0.3);
  transition: background 320ms var(--ease), color 320ms var(--ease), border-color 320ms var(--ease);
}
.btn.ghost:hover { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }

/* On-dark — used in dark footer-cta section */
.btn.on-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  transition: background 320ms var(--ease), border-color 320ms var(--ease);
}
.btn.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  transition: gap 280ms var(--ease);
  position: relative;
}
.link-arrow::after {
  content: '→';
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1;
  transition: transform 320ms var(--ease);
}
.link-arrow:has(::after):not(:has(span)) {}
.link-arrow:hover { gap: 16px; }
.link-arrow:hover::after { transform: translateX(4px); }

/* When link-arrow already contains text "→" inside, we don't double it */
.link-arrow.no-after::after { content: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 253, 0.60);
  backdrop-filter: saturate(110%) blur(6px);
  -webkit-backdrop-filter: saturate(110%) blur(6px);
  border-bottom: 1px solid rgba(225, 231, 240, 0.4);
  transition: background 380ms ease, backdrop-filter 380ms ease,
              -webkit-backdrop-filter 380ms ease, border-color 380ms ease,
              box-shadow 380ms ease;
}
/* Frosted glass activates once user scrolls */
.nav.nav--scrolled {
  background: rgba(250, 251, 253, 0.78);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom-color: var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 6px 28px -10px rgba(10, 22, 40, 0.10);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.logo-img {
  height: 51px;
  width: auto;
  display: block;
}
.logo-img--footer {
  height: 92px;
  /* Logo art is dark navy — render it white so it reads on the dark footer */
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 400;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; justify-content: flex-end; gap: 14px; align-items: center; }
.nav-cta .login {
  font-size: 13px; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap;
}
.nav-cta .btn { padding: 7px 15px; font-size: 11px; gap: 8px; }
.nav-cta .btn .arrow { font-size: 13px; }
.menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span { display: block; width: 22px; height: 1px; background: var(--ink); transition: all 280ms var(--ease); transform-origin: center; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 40;
  padding: 32px var(--pad-x) 48px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a::after { content: '→'; color: var(--accent-bright); font-size: 22px; }
.mobile-menu .mobile-cta { margin-top: 24px; }
.mobile-menu .mobile-cta a { background: var(--ink-2); color: #fff; padding: 16px 22px; border: none; font-family: 'DM Sans',sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.mobile-menu .mobile-cta a::after { color: #fff; }

@media (max-width: 980px) {
  .nav-inner { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav-links { display: none; }
  .nav-cta .login, .nav-cta > .btn { display: none; }
  .menu-btn { display: flex; justify-self: end; }
  .mobile-menu { inset: 64px 0 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 7vw, 112px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero h1 { margin-top: 24px; }
.hero .subhead { color: var(--muted); margin-top: 28px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 4/3; }
}

/* Gradient shimmer on all section headings */
@keyframes heroShimmer {
  0%   { background-position: 150% center; }
  100% { background-position: -50% center; }
}
.hero h1,
.section h1,
.section h2,
.page-hero h1,
.page-hero h2 {
  cursor: default;
}
.hero h1:hover,
.section h1:hover,
.section h2:hover,
.page-hero h1:hover,
.page-hero h2:hover {
  background: linear-gradient(90deg,
    var(--ink) 0%,
    var(--accent-bright) 38%,
    #8ec5e8 52%,
    var(--accent-bright) 66%,
    var(--ink-2) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShimmer 2.4s linear infinite;
}

/* ---------- Image placeholder w/ SVG ---------- */
.imgph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(59,130,196,0.22), transparent 55%),
    radial-gradient(ellipse at 75% 75%, rgba(30,58,95,0.28), transparent 60%),
    linear-gradient(135deg, #DDE7F3 0%, #C5D4E6 50%, #A9BCD3 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background-position 1200ms var(--ease);
}
.imgph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><defs><pattern id='d' width='3' height='3' patternUnits='userSpaceOnUse'><circle cx='1.5' cy='1.5' r='0.4' fill='%231E3A5F' fill-opacity='0.18'/></pattern></defs><rect width='100' height='100' fill='url(%23d)'/></svg>");
  pointer-events: none;
}
/* Auto-injected corner ticks via pseudo-elements wouldn't allow 4 corners,
   so we use box-shadow-based corner accents on a dedicated layer */
.imgph::after {
  content: '';
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  pointer-events: none;
  background:
    /* top-left */
    linear-gradient(to right, var(--accent-bright) 10px, transparent 10px) top left / 10px 1px no-repeat,
    linear-gradient(to bottom, var(--accent-bright) 10px, transparent 10px) top left / 1px 10px no-repeat,
    /* top-right */
    linear-gradient(to left, var(--accent-bright) 10px, transparent 10px) top right / 10px 1px no-repeat,
    linear-gradient(to bottom, var(--accent-bright) 10px, transparent 10px) top right / 1px 10px no-repeat,
    /* bottom-left */
    linear-gradient(to right, var(--accent-bright) 10px, transparent 10px) bottom left / 10px 1px no-repeat,
    linear-gradient(to top, var(--accent-bright) 10px, transparent 10px) bottom left / 1px 10px no-repeat,
    /* bottom-right */
    linear-gradient(to left, var(--accent-bright) 10px, transparent 10px) bottom right / 10px 1px no-repeat,
    linear-gradient(to top, var(--accent-bright) 10px, transparent 10px) bottom right / 1px 10px no-repeat;
}
.imgph .label-tag {
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
  z-index: 1;
  position: relative;
}
.imgph .corner {
  position: absolute;
  width: 10px; height: 10px;
  pointer-events: none;
  z-index: 1;
}
.imgph .corner.tl { top: 14px; left: 14px; border-top: 1px solid var(--accent-bright); border-left: 1px solid var(--accent-bright); }
.imgph .corner.tr { top: 14px; right: 14px; border-top: 1px solid var(--accent-bright); border-right: 1px solid var(--accent-bright); }
.imgph .corner.bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--accent-bright); border-left: 1px solid var(--accent-bright); }
.imgph .corner.br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--accent-bright); border-right: 1px solid var(--accent-bright); }

/* SVG dummy graphic centered */
.imgph .glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  opacity: 0.55;
}
.imgph .glyph svg { width: 50%; max-width: 220px; height: auto; }

/* subtle shift on hover */
a:hover .imgph, .card:hover .imgph, .col-row:hover .imgph, .article:hover .imgph {
  background-position: 30% 30%, 60% 60%, 0 0;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-right: 56px;
  white-space: nowrap;
}
.marquee-item .dot { width: 4px; height: 4px; background: var(--accent-bright); border-radius: 50%; flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 20px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 600px; line-height: 1.6; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  transition: all 320ms var(--ease);
  position: relative;
}
.card:hover { border-color: var(--accent-bright); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--accent-bright);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.card h3 { margin-top: 14px; }
.card p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.card .link-arrow { margin-top: 24px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line);
  transition: background 280ms var(--ease);
}
.stat:hover { background: var(--accent-soft); }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}
.stat .num sup { font-size: 0.45em; vertical-align: super; color: var(--accent-bright); }
.stat .lbl { margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}

/* ---------- Tabs ---------- */
.tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.tab-list { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line); }
.tab-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0 22px 24px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  transition: all 280ms var(--ease);
  font-weight: 400;
}
.tab-btn .tab-num {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-bottom: 6px;
  color: var(--muted-2);
  transition: color 280ms var(--ease);
}
.tab-btn.active { color: var(--ink); border-left-color: var(--accent-bright); }
.tab-btn.active .tab-num { color: var(--accent-bright); }
.tab-btn:hover:not(.active) { color: var(--ink-2); }

.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  animation: fadeIn 480ms var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.tab-panel.active { display: grid; }
.tab-panel .panel-img { aspect-ratio: 4/5; }
.tab-panel .panel-body p { color: var(--muted); font-size: 15px; margin-top: 18px; line-height: 1.65; }
.tab-panel ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.tab-panel li { font-size: 14px; color: var(--ink); padding-left: 22px; position: relative; }
.tab-panel li::before { content: ''; position: absolute; left: 0; top: 10px; width: 12px; height: 1px; background: var(--accent-bright); }

@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; gap: 28px; }
  .tab-list { flex-direction: row; overflow-x: auto; border-left: none; border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 12px 16px; border-left: none; border-bottom: 2px solid transparent; margin-left: 0; flex-shrink: 0; font-size: 18px; }
  .tab-btn.active { border-left: none; border-bottom-color: var(--accent-bright); }
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-panel .panel-img { aspect-ratio: 5/4; }
}

/* ---------- 3-card strip ---------- */
.strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.strip-3 .card { padding: 0; overflow: hidden; }
.strip-3 .card .imgwrap { aspect-ratio: 4/3; }
.strip-3 .card .body { padding: 28px; }
@media (max-width: 900px) { .strip-3 { grid-template-columns: 1fr; } }

/* ---------- Collection rows ---------- */
.col-row {
  display: grid;
  grid-template-columns: 320px 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding 320ms var(--ease);
}
.col-row:last-child { border-bottom: 1px solid var(--line); }
.col-row:hover { padding-left: 12px; padding-right: 12px; }
.col-row .col-img {
  aspect-ratio: 5/4;
  position: relative;
}
.col-row .col-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 320ms var(--ease);
}
.col-row:hover .col-name { color: var(--accent-bright); }
.col-row .col-tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 10px; }
.col-row .col-desc { color: var(--muted); margin-top: 10px; max-width: 520px; font-size: 15px; line-height: 1.6; }
.col-row .arrow-circle {
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 320ms var(--ease);
  color: var(--ink-2);
  font-size: 22px;
  font-family: 'Cormorant Garamond', serif;
  flex-shrink: 0;
}
.col-row:hover .arrow-circle { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; transform: rotate(-45deg) scale(1.05); }
@media (max-width: 900px) {
  .col-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .col-row .col-img { aspect-ratio: 16/10; }
  .col-row .arrow-circle { display: none; }
  .col-row:hover { padding-left: 0; padding-right: 0; }
}

/* ---------- Process stages ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-stage {
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--surface);
  transition: background 320ms var(--ease);
  overflow: hidden;
}
.process-stage:hover { background: var(--surface-2); }
.process-stage:hover .stage-num { color: rgba(59,130,196,0.18); transform: translate(-6px, 6px); }
.process-stage .stage-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(96px, 11vw, 140px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent-soft);
  position: absolute;
  top: 24px;
  right: 28px;
  pointer-events: none;
  letter-spacing: -0.04em;
  transition: all 480ms var(--ease);
}
.process-stage .stage-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); position: relative; z-index: 1; }
.process-stage h3 { margin-top: 16px; position: relative; z-index: 1; max-width: 380px; }
.process-stage .stage-body { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.65; position: relative; z-index: 1; max-width: 460px; }
.process-stage ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.process-stage li { font-size: 13.5px; color: var(--ink); padding-left: 18px; position: relative; line-height: 1.55; }
.process-stage li::before { content: '·'; position: absolute; left: 4px; top: -2px; color: var(--accent-bright); font-weight: bold; font-size: 18px; }

@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 56px;
  align-items: start;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-marker { display: flex; justify-content: center; position: relative; grid-column: 2; }
.tl-marker .dot {
  width: 11px; height: 11px;
  background: var(--accent-bright);
  border-radius: 0;
  transform: rotate(45deg);
  margin-top: 5px;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(59,130,196,0.3);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.tl-item:hover .tl-marker .dot {
  transform: rotate(45deg) scale(1.5);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px rgba(59,130,196,0.5);
}
.tl-content { padding: 0 28px; }
.tl-item:nth-child(odd) > .tl-content:first-child { text-align: right; grid-column: 1; }
.tl-item:nth-child(odd) .tl-spacer { grid-column: 3; }
.tl-item:nth-child(even) .tl-content { grid-column: 3; text-align: left; }
.tl-item:nth-child(even) .tl-spacer { grid-column: 1; }
.tl-year { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3vw, 36px); color: var(--accent-bright); font-weight: 400; line-height: 1; }
.tl-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.2vw, 26px); margin-top: 10px; color: var(--ink); }
.tl-body { color: var(--muted); margin-top: 12px; font-size: 14.5px; line-height: 1.6; }

@media (max-width: 900px) {
  .timeline::before { left: 11px; }
  .tl-item { grid-template-columns: 28px 1fr; }
  .tl-marker { justify-content: flex-start; grid-column: 1; }
  .tl-content,
  .tl-item:nth-child(odd) > .tl-content:first-child,
  .tl-item:nth-child(even) .tl-content { grid-column: 2 !important; text-align: left !important; padding: 0 0 0 12px; }
  .tl-spacer { display: none; }
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value {
  padding: clamp(28px, 3.5vw, 40px) clamp(20px, 2.4vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 320ms var(--ease);
}
.value:hover { background: var(--accent-soft); }
.value .v-num { font-family: 'Cormorant Garamond', serif; color: var(--accent-bright); font-size: 14px; letter-spacing: 0.1em; }
.value h3 { margin-top: 14px; font-size: 24px; }
.value p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 1100px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px) clamp(20px, 3.5vw, 40px);
}
.person { background: transparent; }
.person .portrait { aspect-ratio: 3/4; transition: transform 480ms var(--ease); overflow: hidden; }
.person:hover .portrait { transform: translateY(-4px); }
.person h4 { margin-top: 18px; font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2vw, 28px); }
.person .role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-bright); margin-top: 6px; }
.person .quote { color: var(--muted); margin-top: 16px; font-size: 15px; line-height: 1.65; max-width: 52ch; }
.person .quote.italic { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; line-height: 1.5; }

/* ---------- Footer CTA & Footer ---------- */
.footer-cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(59,130,196,0.22), transparent 70%);
  pointer-events: none;
}
.footer-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><defs><pattern id='d' width='4' height='4' patternUnits='userSpaceOnUse'><circle cx='2' cy='2' r='0.5' fill='%23ffffff' fill-opacity='0.05'/></pattern></defs><rect width='100' height='100' fill='url(%23d)'/></svg>");
  pointer-events: none;
}
.footer-cta > .container { position: relative; z-index: 2; }
.footer-cta h2 { color: #fff; font-size: clamp(34px, 5vw, 68px); }
.footer-cta .btn { margin-top: 36px; }
.footer-cta .locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 48px);
  max-width: 640px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: clamp(28px, 3.5vw, 40px);
}
.footer-cta .loc h4 { color: #fff; font-size: 20px; }
.footer-cta .loc p { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 10px; line-height: 1.6; }
@media (max-width: 600px) { .footer-cta .locations { grid-template-columns: 1fr; } }

.footer { background: #060B14; color: rgba(255,255,255,0.7); padding: 44px 0 20px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 18px; color: rgba(255,255,255,0.55); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer h5 { color: #fff; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; margin: 0 0 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul li { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 220ms; }
.footer ul a:hover { color: var(--accent-bright); }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-certs span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding: 5px 10px; border: 1px solid rgba(255,255,255,0.12); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom .legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(56px, 7vw, 112px) 0 clamp(48px, 5vw, 88px);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: var(--bg);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .sub { color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); max-width: 640px; margin-top: 28px; line-height: 1.6; }
.anchors {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  flex-wrap: wrap;
}
.anchors a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
  position: relative;
  transition: color 240ms var(--ease);
}
.anchors a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform 280ms var(--ease);
}
.anchors a:hover { color: var(--accent-bright); }
.anchors a:hover::after { transform: scaleX(1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 240ms var(--ease);
  border-radius: 0;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-bright); }
.field textarea { resize: vertical; min-height: 90px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 19vw, 240px);
  gap: clamp(10px, 1.2vw, 18px);
}
.gallery .g { position: relative; transition: transform 360ms var(--ease), box-shadow 360ms var(--ease); overflow: hidden; }
.gallery .g:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery .g.tall { grid-row: span 2; }
.gallery .g.wide { grid-column: span 2; }
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(140px, 18vw, 200px); }
  .gallery .g.wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(130px, 28vw, 180px); }
  .gallery .g.wide { grid-column: span 2; }
  .gallery .g.tall { grid-row: span 1; }
}

/* ---------- Cert list ---------- */
.cert-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.cert-list .cert {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 280ms var(--ease);
}
.cert-list .cert:hover { padding-left: 12px; }
.cert-list .cert:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
.cert-list .cert:nth-child(even) { padding-left: 28px; }
.cert-list .cert:nth-child(odd):hover { padding-right: 16px; }
.cert-list .cert:nth-child(even):hover { padding-left: 40px; }
.cert .num { font-family: 'Cormorant Garamond', serif; color: var(--accent-bright); font-size: 22px; }
.cert .body strong { display: block; font-weight: 500; font-size: 15px; }
.cert .body span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 700px) {
  .cert-list { grid-template-columns: 1fr; }
  .cert-list .cert:nth-child(odd) { border-right: none; padding-right: 0; }
  .cert-list .cert:nth-child(even) { padding-left: 0; }
  .cert-list .cert:nth-child(even):hover { padding-left: 12px; }
}

/* ---------- Three column ---------- */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); }
.three-col .col h4 { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); font-weight: 500; }
.three-col .col h3 { margin-top: 14px; }
.three-col .col p { color: var(--muted); margin-top: 16px; font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .three-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.team-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding 280ms var(--ease);
}
.team-row:hover { padding-left: 12px; }
.team-row:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
.team-row:nth-child(even) { padding-left: 28px; }
.team-row:nth-child(odd):hover { padding-right: 16px; }
.team-row:nth-child(even):hover { padding-left: 40px; }
.team-row .role { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink); }
.team-row .count { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; flex-shrink: 0; }
@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-row:nth-child(odd) { border-right: none; padding-right: 0; }
  .team-row:nth-child(even) { padding-left: 0; }
  .team-row:nth-child(even):hover { padding-left: 12px; }
}

/* ---------- Tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag-row .tag {
  padding: 8px 16px; border: 1px solid var(--line-strong);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink); background: var(--surface);
  transition: all 240ms var(--ease);
  cursor: pointer;
}
.tag-row .tag:hover, .tag-row .tag.active { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { background: var(--surface); border: 1px solid var(--line); transition: all 320ms var(--ease); display: block; overflow: hidden; }
.article:hover { border-color: var(--accent-bright); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article .a-img { aspect-ratio: 5/4; }
.article .a-body { padding: 24px; }
.article .a-cat { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); }
.article h3 { margin-top: 12px; font-size: 22px; line-height: 1.2; }
.article p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.article .link-arrow { margin-top: 18px; font-size: 12px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Split section ---------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split-section { grid-template-columns: 1fr; } }

/* ---------- Cursor enhancement (desktop) ---------- */
@media (hover: hover) and (min-width: 900px) {
  .col-row { cursor: pointer; }
  .article, .card, .person { will-change: transform; }
}

/* ---------- Utility ---------- */
.italic-accent { font-style: italic; color: var(--accent-bright); font-weight: 300; }

/* ---------- Page-hero h1 sizing (inner pages have longer copy than hero) ---------- */
.page-hero h1 { font-size: clamp(34px, 4.5vw, 68px); }

/* ---------- Image containers — overflow clip for parallax ---------- */
.hero-image { overflow: hidden; }
.hero-image img { height: 110%; margin-top: -5%; object-fit: cover; display: block; width: 100%; }
.col-img  { overflow: hidden; }
.panel-img { overflow: hidden; }
.a-img    { overflow: hidden; }

/* ---------- Contact page fixes ---------- */
.loc-card { overflow: hidden; }

/* ============================================================
   ADDITIONS v3 — People · Loader · Parallax · Mobile
   ============================================================ */

/* ---------- People grid — 3-column, compact square thumbnails ---------- */
.people-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px) clamp(12px, 1.8vw, 20px);
}
/* Square portrait — ~50 % of original 3/4 height */
.person .portrait {
  aspect-ratio: 1 / 1;
  max-height: 260px;
}
.person h4 { font-size: clamp(14px, 1.2vw, 17px); margin-top: 10px; line-height: 1.2; }
.person .role { font-size: 9.5px; letter-spacing: 0.12em; margin-top: 4px; }
.person .quote { font-size: 12.5px; margin-top: 8px; line-height: 1.55; }
/* Center the 4th card (alone in row 2) */
.people-grid > .person:last-child:nth-child(3n+1) { grid-column: 2; }
@media (max-width: 900px) {
  .people-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 18px); }
  .people-grid > .person:last-child:nth-child(3n+1) { grid-column: 2; }
  .person .portrait { max-height: 200px; }
}
@media (max-width: 560px) {
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .people-grid > .person:last-child:nth-child(3n+1) { grid-column: auto; }
  .person .portrait { max-height: none; }
}
@media (max-width: 380px) {
  .people-grid { grid-template-columns: 1fr; gap: 20px 0; }
}

/* ---------- Parallax inner frames (child moves inside overflow:hidden parent) ---------- */
/* Extra height + negative top margin creates room for parallax travel */
.col-img > .imgph,
.col-img > img   { height: calc(100% + 80px); margin-top: -40px; }
.panel-img > .imgph,
.panel-img > img { height: calc(100% + 80px); margin-top: -40px; }
.a-img > .imgph,
.a-img > img     { height: calc(100% + 60px); margin-top: -30px; }

/* ---------- Diamond pre-loader — transparent bg ---------- */
#sd-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
#sd-loader.out { opacity: 0; }
#sd-loader video {
  max-height: 80vh; max-width: 80vw;
  width: auto; height: auto;
  object-fit: contain;
  /* white → brand blue: sepia adds hue base, saturate+hue-rotate shifts to ~220° */
  filter: sepia(1) saturate(5) hue-rotate(185deg) brightness(1.05);
}

/* ---------- Scroll progress diamonds (right-side indicator) ---------- */
#scroll-dia {
  position: fixed;
  right: clamp(10px, 1.6vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.sd-pip {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: transparent;
  border: 1px solid rgba(59,130,196,0.28);
  transition: background 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  flex-shrink: 0;
}
.sd-pip.lit {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 0 6px rgba(59,130,196,0.5);
}
@media (max-width: 640px) { #scroll-dia { display: none; } }

/* ---------- Touch & tap improvements ---------- */
a, button, .btn, .tab-btn, .col-row, .card, .article, .tag-row .tag, .cbox, .role-row {
  -webkit-tap-highlight-color: transparent;
}
button, .btn, .tab-btn, .col-row, .card, .article {
  touch-action: manipulation;
}

/* ---------- Mobile UX — anchors scroll ---------- */
@media (max-width: 700px) {
  .anchors {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-right: calc(-1 * var(--pad-x));
    padding-right: var(--pad-x);
  }
  .anchors::-webkit-scrollbar { display: none; }
}

/* ---------- Mobile — hero ---------- */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: space-between; width: 100%; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero .subhead { font-size: 15px; }
}

/* ---------- Mobile — stats ---------- */
@media (max-width: 480px) {
  .stat .num { font-size: clamp(34px, 9vw, 52px); }
  .stat { padding: 24px 16px; }
}

/* ---------- Mobile — process ---------- */
@media (max-width: 480px) {
  .process-stage { padding: 28px 20px; }
  .process-stage .stage-num { font-size: clamp(56px, 14vw, 88px); top: 12px; right: 14px; }
}

/* ---------- Mobile — collection detail ---------- */
@media (max-width: 600px) {
  .coll-detail { gap: 24px; padding: 40px 0; }
  .coll-detail .body h2 { font-size: clamp(36px, 9vw, 56px); }
  .dna-row { grid-template-columns: 120px 1fr; }
}

/* ---------- Mobile — team rows ---------- */
@media (max-width: 480px) {
  .team-row { padding: 16px 0; }
  .team-row .role { font-size: 17px; }
}

/* ---------- Mobile — footer ---------- */
@media (max-width: 480px) {
  .footer-cta h2 { font-size: clamp(26px, 8vw, 42px); }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom > div:last-child { justify-content: center; display: flex; }
  .footer-certs { gap: 6px; }
}

/* ---------- Mobile — form & inputs ---------- */
@media (max-width: 480px) {
  .form-grid { gap: 18px 0; }
  /* Prevent iOS zoom on focus */
  .field input, .field select, .field textarea { font-size: 16px; }
}

/* ---------- Mobile — gallery ---------- */
@media (max-width: 480px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(90px, 22vw, 130px); }
  .gallery .g.tall { grid-row: span 1; }
}

/* ---------- Mobile — cert list ---------- */
@media (max-width: 480px) {
  .cert-list .cert { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; }
}

/* ---------- Mobile — careers dept ---------- */
@media (max-width: 600px) {
  .dept-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* ---------- Nav login hide at medium widths ---------- */
@media (max-width: 1100px) {
  .nav-cta .login { display: none; }
}

/* ---------- Values single col at small mobile ---------- */
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr !important; }
}

/* ============================================================
   ADDITIONS v4 — Logo wall · Leaner imagery · Blog · 3D · Mobile
   ============================================================ */

/* ---------- Client logo wall (larger, bordered grid) ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-cell {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: clamp(20px, 2.6vw, 34px) 14px;
  min-height: 92px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  background: var(--surface);
  transition: background 360ms var(--ease), color 360ms var(--ease), transform 360ms var(--ease);
}
.logo-cell:hover { background: var(--accent-soft); color: var(--ink); }
@media (max-width: 820px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { font-size: 17px; min-height: 74px; padding: 18px 10px; }
}

/* ---------- Leaner imagery — smaller, less dominant image areas ---------- */
.article .a-img { aspect-ratio: 16 / 10; }
.gallery { grid-auto-rows: clamp(140px, 15vw, 196px); }
.tab-panel .panel-img { aspect-ratio: 4 / 4.4; }
.hero-image { aspect-ratio: 4 / 4.6; }
@media (min-width: 901px) { .col-row { grid-template-columns: 260px 1fr auto; } }

/* ---------- Sleeker 3D — perspective + lift for tilt-enabled cards ---------- */
.card, .article {
  transform-style: preserve-3d;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease), border-color 320ms var(--ease);
}
.card:hover, .article:hover { box-shadow: var(--shadow-lg); }
/* Image frames get a soft depth shadow for a layered, 3-D feel */
.hero-image, .col-img, .panel-img, .a-img, .gallery .g {
  box-shadow: 0 18px 40px -28px rgba(10,22,40,0.30);
}

/* ---------- Blog post (article) pages ---------- */
.post { max-width: 760px; }
.post .post-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-bright);
}
.post .post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); display: inline-block; }
.post .post-meta .muted { color: var(--muted-2); }
.post h1 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 20px; line-height: 1.08; max-width: 18ch; }
.post .standfirst {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(19px, 2vw, 25px); color: var(--ink-2); line-height: 1.5; margin-top: 24px; max-width: 40ch;
}
.post-cover { aspect-ratio: 16 / 8; margin-top: clamp(28px, 4vw, 44px); }
.post .post-body { margin-top: clamp(32px, 4vw, 48px); }
.post .post-body p { color: var(--muted); font-size: 16px; line-height: 1.82; margin-top: 20px; }
.post .post-body p:first-child { margin-top: 0; }
.post .post-body h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: clamp(36px, 4vw, 52px); }
.post .post-body h3 { font-size: 21px; margin-top: 30px; }
.post .post-body ul { margin: 18px 0 0; padding-left: 20px; }
.post .post-body li { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 8px; }
.post .post-body blockquote {
  margin: clamp(28px, 3.5vw, 40px) 0; padding-left: 24px;
  border-left: 2px solid var(--accent-bright);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(20px, 2.2vw, 27px); color: var(--ink-2); line-height: 1.45;
}
.post-foot {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}

/* ---------- Mobile perfection — spacing, padding, rhythm ---------- */
@media (max-width: 760px) {
  :root { --pad-y: clamp(52px, 12vw, 76px); }
  .section-head { margin-bottom: clamp(28px, 7vw, 40px); }
  .page-hero { padding: clamp(44px, 12vw, 68px) 0 clamp(34px, 9vw, 56px); }
  .hero { padding: clamp(36px, 9vw, 64px) 0 clamp(44px, 10vw, 72px); }
}
@media (max-width: 480px) {
  :root { --pad-x: 18px; }
  h1 { font-size: clamp(34px, 9vw, 50px); }
  h2 { font-size: clamp(28px, 8vw, 42px); }
  h3 { font-size: clamp(21px, 6vw, 28px); }
  .eyebrow { font-size: 10px; letter-spacing: 0.18em; }
  .nav-inner { height: 60px; }
  .logo-img { height: 44px; }
  .mobile-menu { inset: 60px 0 0 0; padding: 24px var(--pad-x) 40px; }
  .mobile-menu a { font-size: 24px; padding: 12px 0; }
  .section-head .lead { font-size: 15px; }
  .footer-cols { gap: 28px; }
  .footer { padding: 36px 0 18px; }
  .three-col { gap: 28px; }
  .split-section { gap: 28px; }
  .post .post-body p, .post .post-body li { font-size: 15.5px; }
}

/* ============================================================
   ADDITIONS v5 — Real images fill their frames (object-fit cover)
   ============================================================ */
img.ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgwrap { overflow: hidden; }
/* Collections detail — sticky image frame holding a real photo */
.coll-detail .coll-shot { aspect-ratio: 4 / 5; position: sticky; top: 100px; overflow: hidden; }
.coll-detail .coll-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .coll-detail .coll-shot { position: static; aspect-ratio: 4 / 5; } }
/* Re-assert parallax travel height on real <img> children (must win over img.ph) */
.col-img > img   { height: calc(100% + 80px); margin-top: -40px; width: 100%; object-fit: cover; }
.panel-img > img { height: calc(100% + 80px); margin-top: -40px; width: 100%; object-fit: cover; }
.a-img > img     { height: calc(100% + 60px); margin-top: -30px; width: 100%; object-fit: cover; }

/* ============================================================
   ADDITIONS v6 — Full-bleed hero + full-width parallax bands
   The 25% overhang (top:-25%; height:150%) is the parallax travel room.
   Safe depth: d <= 0.5h/(vh+h). Worst case is the 48vh mobile band,
   which allows d <= 0.16 — site.js uses 0.14, leaving margin.
   ============================================================ */

/* ---------- Full-bleed hero, text overlaid on image ---------- */
.hero--full {
  position: relative;
  min-height: clamp(540px, 86vh, 880px);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  background: var(--ink);
}
.hero--full .hero-bg {
  position: absolute;
  top: -25%; left: 0; right: 0;
  height: 150%;
  z-index: 0;
}
.hero--full .hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  will-change: transform;
}
.hero--full::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(95deg,
    rgba(6,11,20,0.88) 0%,
    rgba(6,11,20,0.68) 42%,
    rgba(6,11,20,0.30) 78%,
    rgba(6,11,20,0.18) 100%);
}
.hero--full > .container { position: relative; z-index: 2; }
.hero--full h1 { color: #fff; }
.hero--full .subhead { color: rgba(255,255,255,0.80); }
.hero--full .eyebrow { color: #9DC4E8; }
.hero--full .eyebrow::before { background: #9DC4E8; }
/* Shimmer tuned for dark ground (overrides the light-bg shimmer) */
.hero--full h1:hover {
  background: linear-gradient(90deg, #fff 0%, #9DC4E8 38%, #DCEBF8 52%, #9DC4E8 66%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Primary CTA flips to light so it reads on the dark hero */
.hero--full .hero-ctas .btn:not(.on-dark) {
  background: #fff; color: var(--ink); border-color: #fff;
}
.hero--full .hero-ctas .btn:not(.on-dark):hover { background: #E8EFF7; border-color: #E8EFF7; }
@media (max-width: 700px) {
  .hero--full { min-height: clamp(460px, 78vh, 640px); }
  .hero--full::after {
    background: linear-gradient(180deg, rgba(6,11,20,0.50) 0%, rgba(6,11,20,0.72) 55%, rgba(6,11,20,0.86) 100%);
  }
}

/* ---------- Full-width parallax image band ---------- */
.band {
  position: relative;
  height: clamp(320px, 58vh, 620px);
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.band > img {
  position: absolute;
  top: -25%; left: 0; right: 0;
  width: 100%; height: 150%;
  object-fit: cover; display: block;
  z-index: 0;
  will-change: transform;
}
.band::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,11,20,0.64) 0%, rgba(6,11,20,0.44) 45%, rgba(6,11,20,0.74) 100%);
}
.band .band-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  color: #fff;
}
.band .eyebrow { color: #9DC4E8; }
.band .eyebrow::before { background: #9DC4E8; }
.band h2 { color: #fff; margin-top: 20px; max-width: 18ch; }
.band h2:hover {
  background: linear-gradient(90deg, #fff 0%, #9DC4E8 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.band p { color: rgba(255,255,255,0.78); margin-top: 16px; max-width: 48ch; font-size: 15px; line-height: 1.7; }
@media (max-width: 700px) { .band { height: clamp(280px, 48vh, 440px); } }

/* ============================================================
   ADDITIONS v7 — Event announcement bar
   ============================================================ */
.event-bar {
  position: relative;
  z-index: 45;                 /* below sticky nav (50), above page content */
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink-2) 46%, var(--accent-bright) 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
/* Moving sheen so the bar draws the eye */
.event-bar::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -30%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-18deg);
  animation: eventSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes eventSheen {
  0%   { left: -30%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
.event-bar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.event-bar .event-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0A1628;
  background: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.event-bar .event-chip .gem {
  width: 8px; height: 8px;
  background: var(--accent-bright);
  transform: rotate(45deg);
  display: inline-block;
}
.event-bar .event-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.event-bar .event-text strong {
  color: #fff;
  font-weight: 600;
}
.event-bar .event-hall {
  display: inline-block;
  font-weight: 600;
  color: #0A1628;
  background: #9DC4E8;
  padding: 1px 9px;
  border-radius: 4px;
  margin-left: 4px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .event-bar-inner { flex-direction: column; gap: 7px; padding: 10px var(--pad-x); }
  .event-bar .event-text { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-bar::before { animation: none; display: none; }
}

/* ============================================================
   ADDITIONS v8 — Mobile smoothness
   ============================================================ */
@media (max-width: 760px) {
  * { -webkit-tap-highlight-color: transparent; }
  body { overscroll-behavior-y: contain; }             /* kill rubber-band jank */
  /* Snappier, lighter reveal so scrolling doesn't feel weighed down */
  .reveal { transition-duration: 560ms; transform: translateY(18px); }
  /* GPU-promote the big moving surfaces for smoother compositing */
  .hero--full .hero-bg img, .band > img, .marquee-track { transform: translateZ(0); backface-visibility: hidden; }
  /* Marquee a touch slower on small screens = calmer motion */
  .marquee-track { animation-duration: 30s; }
}
/* Respect users who ask for less motion — freeze the showy stuff */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero--full .hero-bg img, .band > img { transform: none !important; }
}
