/* ==========================================================================
   Osten Maritime — Design Tokens & Base Styles
   Light theme · Navy + Warm Gold · Editorial maritime
   ========================================================================== */

:root {
  /* Brand colors */
  --color-navy-900: #0B2545;       /* Primary brand navy */
  --color-navy-800: #13315C;
  --color-navy-700: #1F3A6B;
  --color-navy-600: #2C4D80;
  --color-navy-500: #3E5F95;

  --color-gold-600: #B8902F;       /* Deeper gold for text on white */
  --color-gold-500: #C9A24B;       /* Accent */
  --color-gold-400: #D9B872;

  /* Neutrals (warm-leaning) */
  --color-bg: #FAFAF7;             /* Page background — warm off-white */
  --color-surface: #FFFFFF;
  --color-surface-2: #F4F2EC;      /* Soft sand surface */
  --color-surface-3: #ECE7DC;
  --color-ink-900: #0B1220;        /* Body text */
  --color-ink-700: #2A3344;
  --color-ink-500: #5B6678;
  --color-ink-300: #98A1B0;
  --color-line: #E4DFD2;           /* Hairline borders */
  --color-line-strong: #C8C0AC;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Type scale */
  --text-xs: 0.75rem;        /* 12 */
  --text-sm: 0.875rem;       /* 14 */
  --text-base: 1rem;         /* 16 */
  --text-lg: 1.125rem;       /* 18 */
  --text-xl: clamp(1.25rem, 1.6vw, 1.5rem);    /* 20-24 */
  --text-2xl: clamp(1.75rem, 3vw, 2.5rem);     /* 28-40 */
  --text-3xl: clamp(2.25rem, 4.5vw, 3.5rem);   /* 36-56 */
  --text-hero: clamp(2.75rem, 7vw, 5.5rem);    /* 44-88 */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius & elevation */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-xs: 0 1px 2px rgba(11, 37, 69, 0.05);
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 20px 48px rgba(11, 37, 69, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 480ms;

  /* Layout */
  --max-width: 1280px;
  --content-width: 1100px;
  --prose-width: 65ch;
}

/* ==========================================================================
   Reset + Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink-900);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-out); }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--color-navy-900);
}
h1 { font-size: var(--text-hero); letter-spacing: -0.022em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.018em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { color: var(--color-ink-700); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  display: inline-block;
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.4;
  color: var(--color-ink-700);
  max-width: 56ch;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(var(--space-4), 4vw, var(--space-10));
}
.container--narrow {
  max-width: var(--content-width);
}
.section {
  padding: clamp(var(--space-16), 9vw, var(--space-32)) 0;
}
.section--tight { padding: clamp(var(--space-12), 6vw, var(--space-20)) 0; }
.section--surface { background: var(--color-surface-2); }
.section--navy {
  background: var(--color-navy-900);
  color: rgba(255,255,255,0.92);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.78); }
.section--navy .eyebrow { color: var(--color-gold-400); }

.grid { display: grid; gap: var(--space-8); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid-md-2 { grid-template-columns: 1fr 1fr !important; }
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: end;
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.section-header .title { display: flex; flex-direction: column; gap: var(--space-4); }
@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; gap: var(--space-6); align-items: start; }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
  box-shadow: var(--shadow-xs);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) clamp(var(--space-4), 4vw, var(--space-10));
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav__logo svg { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2.4vw, var(--space-8));
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-700);
}
.nav__links a { position: relative; padding: var(--space-2) 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--color-gold-500);
  transition: width var(--t-base) var(--ease-out);
}
.nav__links a:hover { color: var(--color-navy-900); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: flex; align-items: center; gap: var(--space-3);
}
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  color: var(--color-navy-900);
}
@media (max-width: 900px) {
  .nav__links, .nav__cta a { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--t-base) var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-navy-900);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--gold {
  background: var(--color-gold-500);
  color: var(--color-navy-900);
}
.btn--gold:hover {
  background: var(--color-gold-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--color-navy-900);
  border: 1px solid var(--color-line-strong);
}
.btn--ghost:hover {
  border-color: var(--color-navy-900);
  background: var(--color-surface);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}
.btn--lg { padding: 1.05rem 1.85rem; font-size: var(--text-base); }
.btn .arrow { transition: transform var(--t-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(250, 250, 247, 0.96) 0%,
    rgba(250, 250, 247, 0.86) 30%,
    rgba(250, 250, 247, 0.5) 55%,
    rgba(250, 250, 247, 0.0) 80%
  );
}
.hero__content {
  position: relative;
  max-width: 720px;
  padding: clamp(var(--space-16), 12vw, var(--space-24)) 0;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--color-navy-900);
  margin: var(--space-6) 0 var(--space-6);
}
.hero__title em {
  font-style: italic;
  color: var(--color-gold-600);
  font-weight: 400;
}
.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-ink-700);
  max-width: 56ch;
  margin-bottom: var(--space-8);
}
.hero__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__meta {
  position: absolute;
  bottom: var(--space-10);
  right: clamp(var(--space-4), 4vw, var(--space-10));
  display: flex;
  gap: var(--space-8);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-500);
  font-weight: 500;
}
.hero__meta span { display: flex; align-items: center; gap: var(--space-2); }
.hero__meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-gold-500);
}
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__content { padding-bottom: var(--space-6); }
  .hero__meta {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    padding: 0 clamp(var(--space-4), 4vw, var(--space-10)) var(--space-10);
    right: auto;
    bottom: auto;
    font-size: 10px;
    width: 100%;
  }
  .hero__bg::after {
    background: linear-gradient(180deg,
      rgba(250,250,247,0.95) 0%,
      rgba(250,250,247,0.82) 50%,
      rgba(250,250,247,0.7) 100%
    );
  }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.trust__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  font-size: var(--text-sm);
  color: var(--color-ink-500);
}
.trust__item {
  display: flex; align-items: center; gap: var(--space-3);
  font-weight: 500;
}
.trust__item svg { width: 18px; height: 18px; color: var(--color-gold-600); flex-shrink: 0; }

/* ==========================================================================
   Pillars
   ========================================================================== */
.pillar {
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
  position: relative;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-500);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-gold-600);
  margin-bottom: var(--space-6);
  display: block;
}
.pillar h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.pillar p { font-size: var(--text-base); }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  background: var(--color-surface);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: background var(--t-base) var(--ease-out);
}
.service:hover { background: var(--color-surface-2); }
.service__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-navy-900);
  color: var(--color-gold-400);
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; color: var(--color-navy-900); }
.service p { font-size: var(--text-sm); line-height: 1.6; }
.service__list {
  list-style: none;
  font-size: var(--text-xs);
  color: var(--color-ink-500);
  display: flex; flex-direction: column; gap: var(--space-2);
  margin-top: var(--space-2);
}
.service__list li { display: flex; align-items: flex-start; gap: var(--space-2); }
.service__list li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--color-gold-500); margin-top: 7px; flex-shrink: 0;
}

/* ==========================================================================
   Vessel grid
   ========================================================================== */
.vessels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .vessels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .vessels { grid-template-columns: 1fr; } }
.vessel {
  padding: var(--space-6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all var(--t-base) var(--ease-out);
}
.vessel:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-gold-500);
}
.vessel__name {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-base); font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}
.vessel__name svg { width: 20px; height: 20px; color: var(--color-gold-400); flex-shrink: 0; }
.vessel__sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Editorial split
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-10); }
  .split--reverse > :first-child { order: 0; }
}
.split__img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-surface-3);
}
.split__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.split__img.landscape { aspect-ratio: 4 / 3; }
.split__text { display: flex; flex-direction: column; gap: var(--space-6); }
.split__text h2 { margin-top: var(--space-2); }
.checklist {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.checklist li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-ink-700);
}
.checklist svg {
  width: 18px; height: 18px;
  color: var(--color-gold-600);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Compliance row
   ========================================================================== */
.compliance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.cert {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  text-align: center;
}
.cert__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-navy-900);
}
.cert__icon svg { width: 36px; height: 36px; }
.cert__title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-navy-900);
  margin-bottom: var(--space-1);
}
.cert__sub {
  font-size: var(--text-xs);
  color: var(--color-ink-500);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--color-navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201, 162, 75, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-10);
  align-items: center;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  position: relative;
}
@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}
.cta-band h2 { color: #fff; }
.cta-band .actions { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .actions { justify-content: flex-start; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  padding: clamp(var(--space-12), 6vw, var(--space-16)) 0 var(--space-8);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer a:hover { color: var(--color-gold-400); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: rgba(255,255,255,0.6); margin-top: var(--space-3); max-width: 32ch; font-size: var(--text-sm); }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-6);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Form (apply page)
   ========================================================================== */
.page-header {
  position: relative;
  padding: clamp(var(--space-20), 14vw, var(--space-32)) 0 var(--space-16);
  background: var(--color-navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-header__bg {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.25;
}
.page-header__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.page-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,37,69,0.6), rgba(11,37,69,0.92));
}
.page-header h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin: var(--space-4) 0 var(--space-4);
}
.page-header p {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-lg);
  max-width: 60ch;
}

.form-wrap {
  max-width: 880px;
  margin: -80px auto 0;
  padding: 0 clamp(var(--space-4), 4vw, var(--space-10));
  position: relative;
  z-index: 2;
}
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-steps {
  display: flex;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface-2);
}
.form-step {
  flex: 1;
  padding: var(--space-4) var(--space-3);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-500);
  border-bottom: 2px solid transparent;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1);
  transition: all var(--t-base) var(--ease-out);
}
.form-step .num {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 500;
  color: var(--color-ink-300);
}
.form-step.is-active {
  color: var(--color-navy-900);
  border-bottom-color: var(--color-gold-500);
  background: var(--color-surface);
}
.form-step.is-active .num { color: var(--color-gold-600); }
.form-step.is-complete .num { color: var(--color-navy-900); }
.form-step .step-label .short { display: none; }
@media (max-width: 700px) {
  .form-step {
    font-size: 10px;
    padding: var(--space-3) 4px;
    min-width: 0;
    flex: 1 1 0;
  }
  .form-step .num { font-size: 13px; }
  .form-step .step-label .long { display: none; }
  .form-step .step-label .short { display: inline; }
}

.form-body {
  padding: clamp(var(--space-6), 4vw, var(--space-12));
}
.form-section { display: none; }
.form-section.is-active { display: block; animation: fadeIn 0.4s var(--ease-out); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}
.form-section__sub {
  color: var(--color-ink-500);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.field-grid--single { grid-template-columns: 1fr; }
@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--span-2 { grid-column: span 2; }
@media (max-width: 700px) { .field--span-2 { grid-column: span 1; } }

.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-500);
}
.field label .req { color: var(--color-gold-600); }
.field input,
.field select,
.field textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: var(--text-base);
  color: var(--color-ink-900);
  transition: all var(--t-fast) var(--ease-out);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-navy-700);
  box-shadow: 0 0 0 3px rgba(31, 58, 107, 0.12);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field__hint {
  font-size: var(--text-xs);
  color: var(--color-ink-500);
}

.file-drop {
  border: 1.5px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  background: var(--color-surface-2);
}
.file-drop:hover, .file-drop.is-dragover {
  border-color: var(--color-gold-500);
  background: #FBF7EC;
}
.file-drop input { display: none; }
.file-drop__icon {
  width: 40px; height: 40px;
  margin: 0 auto var(--space-3);
  color: var(--color-navy-700);
}
.file-drop__label { font-weight: 600; color: var(--color-navy-900); }
.file-drop__hint { color: var(--color-ink-500); font-size: var(--text-sm); margin-top: var(--space-1); }
.file-name {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-gold-600);
  font-weight: 600;
}

.consent {
  display: flex; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-ink-700);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
}
.consent input { margin-top: 4px; accent-color: var(--color-navy-900); }
.consent a { color: var(--color-navy-700); text-decoration: underline; }

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-line);
}
.form-actions .btn--ghost { color: var(--color-ink-500); }

.success {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}
.success__icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-6);
  border-radius: 50%;
  background: #EDF4E8;
  color: #3F7A3F;
  display: flex; align-items: center; justify-content: center;
}
.success h2 { margin-bottom: var(--space-3); }
.success p { color: var(--color-ink-500); max-width: 50ch; margin: 0 auto var(--space-6); }

/* ==========================================================================
   Utility
   ========================================================================== */
.muted { color: var(--color-ink-500); }
.center { text-align: center; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-line-strong), transparent);
  margin: var(--space-16) 0;
}

/* Compass-rose decorative motif */
.motif {
  position: absolute;
  width: 320px; height: 320px;
  opacity: 0.04;
  pointer-events: none;
  color: var(--color-navy-900);
}
.motif--tr { top: -60px; right: -60px; }
.motif--bl { bottom: -60px; left: -60px; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 60;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__links { display: flex; flex-direction: column; gap: var(--space-4); font-family: var(--font-display); font-size: var(--text-2xl); }
.mobile-nav__cta { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); }
