/* Stellmont Group — global trade site */
:root {
  --ink: #0a1630;
  --navy: #0d1f45;
  --navy-2: #12295a;
  --royal: #1f4fbf;
  --royal-2: #3b6ef0;
  --gold: #c9a45c;
  --gold-2: #e3c88f;
  --ivory: #f7f4ee;
  --paper: #fbfaf7;
  --line: rgba(10, 22, 48, .12);
  --line-light: rgba(255, 255, 255, .14);
  --muted: #5b6478;
  --muted-light: rgba(255, 255, 255, .68);
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgba(10, 22, 48, .35);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.display { font-size: clamp(44px, 7vw, 92px); font-weight: 500; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); }
.h2 em, .display em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: var(--muted-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line-light); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--royal); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 18px 0;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(10, 22, 48, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; padding: 3px;
  box-shadow: 0 0 0 1px rgba(201, 164, 92, .55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .14em; }
.brand-text small { font-size: 9.5px; letter-spacing: .38em; color: var(--gold-2); margin-top: 5px; font-weight: 600; }

.menu { display: flex; align-items: center; gap: 34px; }
.menu a:not(.btn) {
  color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 600; letter-spacing: .03em;
  position: relative; padding: 6px 0;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.menu a:not(.btn):hover, .menu a[aria-current="page"] { color: #fff; }
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu .btn { padding: 12px 20px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-light); background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; background: #fff;
  transform: translateX(-50%); transition: transform .3s ease, background .3s ease; content: "";
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
  }
  .menu a:not(.btn) { font-family: var(--serif); font-size: 34px; font-weight: 500; }
  .nav-open .menu { opacity: 1; visibility: visible; }
  .brand-text b { font-size: 19px; }
  .brand img { width: 42px; height: 42px; }
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 85% 10%, #1b3d8f 0%, var(--navy) 45%, var(--ink) 100%);
  color: #fff; overflow: hidden; padding: 140px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; }
.hero-globe svg { width: 100%; height: 100%; overflow: visible; }
.globe-ring { animation: spin 90s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.route { stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
.pulse { animation: pulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.pulse.d2 { animation-delay: .8s; } .pulse.d3 { animation-delay: 1.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid var(--line-light);
  background: rgba(10, 22, 48, .55); backdrop-filter: blur(6px);
  overflow: hidden; white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 56px; padding: 18px 0; animation: ticker 40s linear infinite; }
.ticker-track span {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 600;
  display: inline-flex; align-items: center; gap: 56px;
}
.ticker-track span::after { content: "✦"; color: var(--gold); letter-spacing: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-globe { max-width: 360px; justify-self: center; order: -1; margin-top: 10px; }
  .hero { padding-top: 120px; }
}

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-dark { background: var(--ink); color: #fff; }
.section-ivory { background: var(--ivory); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 44px 36px 8px 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.pillar .num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.pillar h3 { font-family: var(--serif); font-size: 30px; margin: 14px 0 14px; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Trade capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.cap {
  background: var(--ink); padding: 40px 34px 44px; position: relative;
  transition: background .4s ease;
}
.cap:hover { background: var(--navy); }
.cap .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid rgba(201, 164, 92, .4); color: var(--gold-2); margin-bottom: 28px;
}
.cap .icon svg { width: 26px; height: 26px; }
.cap h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.cap p { color: var(--muted-light); margin: 0; font-size: 15px; }
@media (max-width: 960px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cap-grid { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-visual {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy-2), var(--ink));
  box-shadow: var(--shadow);
}
.split-visual svg { width: 100%; height: 100%; }
.badge-card {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; padding: 20px 22px;
  display: flex; gap: 16px; align-items: center;
}
.badge-card strong { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--royal); font-weight: 600; }
.badge-card span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.checklist { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1630' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-visual { aspect-ratio: 5 / 4; } }
@media (max-width: 520px) { .checklist { grid-template-columns: 1fr; } }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201,164,92,.15)); }
.step { position: relative; }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--ink); position: relative; z-index: 1;
}
.section-ivory .step .dot { background: var(--ivory); }
.step h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; letter-spacing: 0; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .process::before { display: none; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.metric { padding: 40px 28px; }
.metric + .metric { border-left: 1px solid var(--line-light); }
.metric strong { display: block; font-family: var(--serif); font-size: clamp(48px, 5.5vw, 76px); font-weight: 500; line-height: 1; color: #fff; }
.metric strong sup { color: var(--gold); font-size: .5em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.metric > span { display: block; margin-top: 14px; color: var(--muted-light); font-size: 14px; letter-spacing: .04em; }
@media (max-width: 860px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

/* KPIs */
.kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.kpis span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; background: #fff; }

/* Services (beyond trade) */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 40px; gap: 28px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .35s ease;
}
.svc:hover { padding-left: 14px; }
.svc .n { font-family: var(--serif); color: var(--gold); font-size: 18px; }
.svc h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); }
.svc p { color: var(--muted); margin: 0; font-size: 15px; }
.svc .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.svc .arrow svg { width: 16px; height: 16px; }
.svc:hover .arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc.featured h3 { color: var(--royal); }
@media (max-width: 760px) {
  .svc { grid-template-columns: 44px 1fr; gap: 8px 16px; }
  .svc p { grid-column: 2; }
  .svc .arrow { display: none; }
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote .mark { font-family: var(--serif); font-size: 70px; line-height: .6; color: var(--gold); height: 30px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 640px; } }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 7vw, 96px);
  background: radial-gradient(90% 120% at 100% 0%, #2252c9 0%, var(--navy) 50%, var(--ink) 100%);
  color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta .h2 { margin: 18px 0 18px; }
.cta-crest { justify-self: end; width: 220px; opacity: .95; }
.cta-crest img { border-radius: 50%; background: #fff; padding: 10px; box-shadow: 0 0 0 1px rgba(201,164,92,.6), 0 0 0 14px rgba(255,255,255,.04), 0 0 0 28px rgba(255,255,255,.03); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-crest { display: none; } }

/* Page hero (inner pages) */
.page-hero {
  background: radial-gradient(100% 120% at 90% 0%, #1b3d8f 0%, var(--navy) 50%, var(--ink) 100%);
  color: #fff; padding: 180px 0 100px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); margin: 20px 0 22px; max-width: 16ch; }
.crumbs { font-size: 13px; color: var(--muted-light); letter-spacing: .06em; margin-top: 34px; }
.crumbs a:hover { color: var(--gold-2); }

/* Prose */
.prose { font-size: 17.5px; color: #2a3247; }
.prose p { margin-bottom: 1.3em; }
.prose strong { color: var(--ink); }
.prose-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 7vw, 100px); }
.prose-grid aside { position: sticky; top: 120px; align-self: start; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } .prose-grid aside { position: static; } }

.callout {
  border-left: 2px solid var(--gold); background: var(--ivory); padding: 26px 30px; border-radius: 0 14px 14px 0; margin: 34px 0;
  font-size: 16px;
}
.callout b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--royal); margin-bottom: 8px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: #fff; }
.value h3 { font-family: var(--serif); font-size: 28px; margin: 18px 0 10px; }
.value p { color: var(--muted); margin: 0; font-size: 15px; }
.value .icon { color: var(--royal); width: 30px; height: 30px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 36px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .3s ease, transform .3s ease; }
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card span { font-weight: 700; font-size: 16px; word-break: break-word; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form h2 { font-size: 36px; margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--paper);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(31, 79, 191, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #b42318; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 90px 0 34px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-grid h4 { color: #fff; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { margin-top: 22px; max-width: 34ch; }
.footer-bottom { margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 10px; }
.hero .lead, .page-hero .lead, .cta .lead { color: var(--muted-light); }
.contact-grid > *, .prose-grid > *, .split > *, .hero-grid > * { min-width: 0; }

/* Service detail pages */
.list-title { font-weight: 700; color: var(--ink); margin: 34px 0 16px !important; }
.prose .checklist { margin-top: 0; }
.criteria { list-style: none; padding: 0; margin: 0 0 30px; counter-reset: c; border-top: 1px solid var(--line); }
.criteria li { counter-increment: c; display: grid; grid-template-columns: 54px 130px 1fr; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.criteria li::before { content: "0" counter(c); font-family: var(--serif); color: var(--gold); font-size: 18px; }
.criteria b { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.criteria span { color: var(--muted); font-size: 16px; }
@media (max-width: 560px) { .criteria li { grid-template-columns: 40px 1fr; } .criteria span { grid-column: 2; } }

.stat-card { margin-top: 36px; padding: 30px 28px; border-radius: 20px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(201,164,92,.35); box-shadow: 0 0 0 18px rgba(201,164,92,.06); }
.stat-card strong { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 500; color: var(--gold-2); }
.stat-card p { margin: 14px 0 14px; color: rgba(255,255,255,.85); font-size: 15px; }
.stat-card small { color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .04em; }
.callout .kpis span { background: #fff; }

.value-link { display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.value-link p { flex: 1; }
.value-link .more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--royal); }
.value-link .more svg { width: 15px; height: 15px; transition: transform .3s ease; }
.value-link:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,164,92,.6); }
.value-link:hover .more svg { transform: translateX(4px); }
.values .value-link .icon svg { width: 30px; height: 30px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.pager a { background: #fff; padding: 28px 32px; display: flex; flex-direction: column; gap: 6px; transition: background .3s ease; }
.pager a:hover { background: var(--ivory); }
.pager a.next { text-align: right; }
.pager small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pager span { font-family: var(--serif); font-size: 26px; color: var(--ink); }
@media (max-width: 620px) { .pager { grid-template-columns: 1fr; } .pager a.next { text-align: left; } }
.value-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.value-cta h3 { color: #fff; }
.value-cta p { color: var(--muted-light) !important; }
.value-cta .icon, .value-cta .more { color: var(--gold-2) !important; }
.value-top { display: flex; align-items: center; justify-content: space-between; }
.value-num { font-family: var(--serif); color: var(--gold); font-size: 18px; }
.value-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.value-featured .value-num { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.value-featured h3 { color: var(--royal); }

/* ===== Home animations ===== */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .55; }
.hero-orb.o1 { width: 520px; height: 520px; background: #2b5be0; top: -160px; right: -120px; animation: orb 18s ease-in-out infinite alternate; }
.hero-orb.o2 { width: 380px; height: 380px; background: rgba(201,164,92,.35); bottom: -140px; left: -100px; animation: orb 22s ease-in-out infinite alternate-reverse; }
@keyframes orb { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-80px, 60px) scale(1.15); } }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.intro { opacity: 0; transform: translateY(24px); animation: introUp 1s cubic-bezier(.2,.7,.2,1) forwards; }
.intro.i1 { animation-delay: .1s; } .intro.i5 { animation-delay: .75s; } .intro.i6 { animation-delay: .9s; }
@keyframes introUp { to { opacity: 1; transform: none; } }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-title .ln:nth-child(1) > span { animation-delay: .25s; }
.hero-title .ln:nth-child(2) > span { animation-delay: .4s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .55s; }
@keyframes lineUp { to { transform: none; } }
.shimmer {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #fff3d6 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: shimmer 4.5s ease-in-out 1.6s infinite; padding-right: .06em;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 60%, 100% { background-position: -50% 0; } }
.intro-globe { opacity: 0; animation: globeIn 1.6s cubic-bezier(.2,.7,.2,1) .3s forwards; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@keyframes globeIn { from { opacity: 0; transform: scale(.85) rotate(-8deg); } to { opacity: 1; transform: none; } }
.land-drift { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
.mover { opacity: .95; }

.ship-bob { animation: bob 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-.6deg); } }
.wave { animation: wave 6s linear infinite; }
.wave.w2 { animation-duration: 9s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(100px); } }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-2)); z-index: 60; }

/* Word reveal for section headings */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 55ms); }
.words.in .w > span { transform: none; }

/* Process line draw */
.process.draw-line::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.2,.7,.2,1) .2s; }
.process.draw-line.in::before { transform: scaleX(1); }
.process.draw-line .dot { transition: background .5s ease, color .5s ease, transform .5s ease; }
.process.draw-line.in .step:nth-child(1) .dot { transition-delay: .3s; }
.process.draw-line.in .step:nth-child(2) .dot { transition-delay: .7s; }
.process.draw-line.in .step:nth-child(3) .dot { transition-delay: 1.1s; }
.process.draw-line.in .step:nth-child(4) .dot { transition-delay: 1.5s; }
.process.draw-line.in .dot { background: var(--ink); color: var(--gold-2); }
.step:hover .dot { transform: scale(1.08); }

/* Spotlight cards */
.spotlight .cap { overflow: hidden; }
.spotlight .cap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(201,164,92,.16), transparent 60%);
}
.spotlight .cap:hover::before { opacity: 1; }
.cap .icon { transition: transform .5s cubic-bezier(.2,.7,.2,1), background .4s ease, color .4s ease; }
.cap:hover .icon { transform: translateY(-4px) rotate(-6deg); background: var(--gold); color: var(--ink); }

/* Pillars & metrics */
.pillar { position: relative; }
.pillar::after { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .2s; }
.pillar.in::after { transform: scaleX(1); }
.pillar + .pillar::after { left: 36px; width: calc(100% - 36px); }
@media (max-width: 860px) { .pillar + .pillar::after { left: 0; width: 100%; } }
.metric strong { transition: color .3s ease; }
.metric:hover strong { color: var(--gold-2); }

/* Ticker pause & testimonial tilt */
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
.quote { will-change: transform; }
.magnetic { transition: transform .25s ease, background .3s ease; }

/* CTA crest float */
.cta-crest img { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .intro, .intro-globe, .hero-title .ln > span, .words .w > span { opacity: 1 !important; transform: none !important; }
  .process.draw-line::before, .pillar::after { transform: none !important; }
  .hero-stars { display: none; }
}

/* ===== Service illustrations ===== */
.art { width: 100%; height: auto; display: block; border-radius: 28px; }
.art * { transform-box: fill-box; }
.art .a-pulse { transform-origin: center; animation: aPulse 2.4s ease-in-out infinite; }
.art .a-breathe { transform-origin: center; animation: aPulse 3s ease-in-out infinite; }
@keyframes aPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .75; } }
.art .a-ring { transform-origin: center; animation: aRing 2.8s ease-out infinite; }
@keyframes aRing { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.art .a-spin { transform-origin: center; animation: aSpin 20s linear infinite; }
.art .a-spin-rev { transform-origin: center; animation: aSpin 20s linear infinite reverse; }
@keyframes aSpin { to { transform: rotate(360deg); } }
.art .a-dash { animation: aDash 2.5s linear infinite; }
@keyframes aDash { to { stroke-dashoffset: -22; } }
.art .a-flow path { stroke-dasharray: 4 8; animation: aDash 1.6s linear infinite; }
.art .a-float { animation: aFloat 6s ease-in-out infinite; }
@keyframes aFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.art .a-bob { transform-origin: center; animation: aBob 3.2s ease-in-out infinite; }
@keyframes aBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-1deg); } }
.art .a-sail { animation: aSail 9s ease-in-out infinite alternate; }
@keyframes aSail { from { transform: translateX(-26px); } to { transform: translateX(26px); } }
.art .a-wave { animation: aWave 6s linear infinite; }
.art .a-wave.w2 { animation-duration: 8s; animation-direction: reverse; }
@keyframes aWave { to { transform: translateX(120px); } }
.art .a-crane { animation: aCrane 7s ease-in-out infinite; }
@keyframes aCrane { 0%, 12% { transform: translate(0, 0); } 35% { transform: translate(70px, 0); } 50%, 60% { transform: translate(70px, 18px); } 80% { transform: translate(0, 0); } 100% { transform: translate(0, 0); } }
.art .a-type { transform-origin: left center; animation: aType 5s ease-in-out infinite; }
@keyframes aType { 0% { transform: scaleX(0); } 15%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.art .a-blink { animation: aBlink 1.2s ease-in-out infinite; }
@keyframes aBlink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.art .a-pop { transform-origin: center; animation: aPop 5s ease-in-out infinite; }
@keyframes aPop { 0% { transform: scale(.6); opacity: 0; } 10%, 80% { transform: scale(1); opacity: 1; } 92%, 100% { transform: scale(.9); opacity: 0; } }
.art .a-twinkle { transform-origin: center; animation: aTwinkle 2.6s ease-in-out infinite; }
@keyframes aTwinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.art .a-grow { transform-origin: bottom; animation: aGrow 5s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes aGrow { 0% { transform: scaleY(.1); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }
.art .a-draw { stroke-dasharray: 100; animation: aDraw 5s ease-in-out infinite; }
@keyframes aDraw { 0% { stroke-dashoffset: 100; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.art .a-fade { animation: aFade 5s ease-in-out infinite; }
@keyframes aFade { 0%, 20% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
.art .a-swing { transform-origin: center; animation: aSwing 4s ease-in-out infinite; }
@keyframes aSwing { 0%, 100% { transform: rotate(-35deg); } 40% { transform: rotate(28deg); } 60% { transform: rotate(18deg); } 75% { transform: rotate(24deg); } }
.art .a-signal { opacity: 0; animation: aSignal 1.8s ease-out infinite; }
@keyframes aSignal { 0% { opacity: 0; transform: translateX(-6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(8px); } }
.art .a-shout { transform-origin: left center; animation: aShout 1.8s ease-in-out infinite; }
@keyframes aShout { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(2deg) scale(1.03); } }
.art .a-rise { animation: aRise 3.6s ease-out infinite; opacity: 0; }
@keyframes aRise { 0% { transform: translate(0, 20px) scale(.6); opacity: 0; } 20% { opacity: 1; transform: translate(4px, 0) scale(1); } 100% { transform: translate(14px, -70px) scale(.9); opacity: 0; } }
.art .a-coin { animation: aCoin 5s cubic-bezier(.3,1.4,.5,1) infinite; }
@keyframes aCoin { 0% { transform: translateY(-60px); opacity: 0; } 15%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.art .a-flip { transform-origin: center; animation: aFlip 3s ease-in-out infinite; }
@keyframes aFlip { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.08); } }
.art .a-rise-arrow { animation: aArrow 1.6s ease-in-out infinite; }
@keyframes aArrow { 0%, 100% { transform: translateY(4px); opacity: .6; } 50% { transform: translateY(-6px); opacity: 1; } }

/* Page hero with illustration */
.page-hero-split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero-split h1 { max-width: 14ch; }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-art::before { content: ""; position: absolute; inset: -14px; border-radius: 40px; border: 1px solid rgba(201,164,92,.35); }
.hero-art::after { content: ""; position: absolute; inset: 20% -10% -10% 20%; background: radial-gradient(closest-side, rgba(59,110,240,.45), transparent); filter: blur(30px); z-index: -1; }
.hero-art .art { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: globeIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
@media (max-width: 900px) {
  .page-hero-split .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { justify-self: center; max-width: 420px; }
}

/* Service cards with illustration */
.value-art { margin: -14px -12px 22px; border-radius: 18px; overflow: hidden; }
.value-art .art { border-radius: 18px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.value-link:hover .value-art .art { transform: scale(1.04); }
.value-art + .value-top { margin-bottom: 4px; }

@media (prefers-reduced-motion: reduce) { .art * { animation: none !important; } }
