/* =========================================================
   Implacable General Trading Co. L.L.C — Site styles
   Brand: Poppins (Light–Medium), Golden gradient, #EDE9D0,
          #231F20, #57230D  (see brand guideline)
   ========================================================= */

:root {
  --charcoal: #231f20;
  --charcoal-2: #2b2627;
  --charcoal-3: #353031;
  --cream: #ede9d0;
  --cream-light: #f6f3e4;
  --paper: #fbfaf3;
  --espresso: #57230d;
  --espresso-2: #6b2e14;

  --gold-1: #724e1f;
  --gold-2: #976e35;
  --gold-3: #deb674;
  --gold-4: #825822;
  --gold-5: #5f370b;

  --gold-light: #deb674;      /* gold on dark backgrounds */
  --gold-ink: #7a5220;        /* gold text on light backgrounds */

  --gold-gradient: linear-gradient(100deg, #724e1f 0%, #976e35 6%, #deb674 32%, #b98a4a 58%, #825822 78%, #5f370b 100%);
  --gold-button: linear-gradient(110deg, #a77c3e 0%, #deb674 42%, #c99a58 70%, #9a7036 100%);
  --gold-button-hover: linear-gradient(110deg, #b6894a 0%, #ecc98c 42%, #d6a965 70%, #a77c3e 100%);

  --text: #231f20;
  --text-muted: rgba(35, 31, 32, 0.72);
  --text-on-dark: #ede9d0;
  --text-on-dark-muted: rgba(237, 233, 208, 0.72);

  --line-light: rgba(35, 31, 32, 0.12);
  --line-dark: rgba(222, 182, 116, 0.22);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.06), 0 2px 8px rgba(35, 31, 32, 0.04);
  --shadow: 0 10px 30px -12px rgba(35, 31, 32, 0.25);
  --shadow-lg: 0 30px 60px -24px rgba(35, 31, 32, 0.45);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Mrs Saint Delafield", "Brush Script MT", cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }
::selection { background: var(--gold-3); color: var(--charcoal); }

:focus-visible { outline: 2px solid var(--gold-3); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold-3); color: var(--charcoal); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 500; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }
.section--dark { background: var(--charcoal); color: var(--text-on-dark); }
.section--light { background: var(--cream-light); }
.section--cream { background: var(--cream); }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--espresso);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-light); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.015em; }
.h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-muted); max-width: 640px; }
.section--dark .lead, .hero .lead { color: var(--text-on-dark-muted); }

.text-gold {
  background: var(--gold-gradient);
  background-size: 160% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-3);
  font-weight: 500;
}
.section--dark .text-gold, .hero .text-gold {
  background-image: linear-gradient(100deg, #b98a4a 0%, #f1d39a 40%, #deb674 65%, #a77c3e 100%);
}
.text-espresso { color: var(--espresso); font-weight: 500; }

.section-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px 64px; }
.section-head--split .lead { justify-self: end; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } .section-head--split .lead { justify-self: start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold-button); color: var(--charcoal); box-shadow: 0 8px 22px -10px rgba(158, 112, 54, .8); }
.btn--gold:hover { background: var(--gold-button-hover); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(158, 112, 54, .9); }
.btn--ghost { border: 1px solid rgba(237, 233, 208, .35); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold-3); color: var(--gold-3); background: rgba(222, 182, 116, .06); }
.btn--dark { background: var(--charcoal); color: var(--cream); }
.btn--dark:hover { background: var(--espresso); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .35s var(--ease), border-color .35s, height .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(35, 31, 32, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
  --header-h: 72px;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--gold-gradient); }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { height: 44px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { color: #fff; font-weight: 500; font-size: 18px; letter-spacing: 0.28em; }
.brand__sub { color: var(--gold-light); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 6px; opacity: .9; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  position: relative; color: rgba(237, 233, 208, .82); font-size: 14px; font-weight: 400; letter-spacing: .04em; padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-3);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--gold-3); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark);
  align-items: center; justify-content: center; color: var(--cream);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--charcoal);
  padding: calc(var(--header-h) + 24px) 24px 32px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) {
  font-size: 26px; font-weight: 300; color: var(--cream); padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav a:not(.btn) small { font-size: 12px; color: var(--gold-light); letter-spacing: .2em; }
.mobile-nav .btn { margin-top: 28px; }
.mobile-nav__contact { margin-top: auto; color: var(--text-on-dark-muted); font-size: 14px; display: grid; gap: 4px; }

@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 64px) 0 0;
  background: var(--charcoal); color: var(--text-on-dark); overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(87, 35, 13, .75) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(151, 110, 53, .18) 0%, transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(222, 182, 116, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(222, 182, 116, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__copy { display: grid; gap: 28px; }
.hero__copy .h1 { color: #fff; }
.hero__copy .h1 .script { display: block; font-size: 1.15em; line-height: .9; color: var(--gold-3); margin-top: .05em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--text-on-dark-muted); font-size: 13px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--gold-3); }

.emblem { position: relative; aspect-ratio: 1; width: min(100%, 460px); justify-self: center; display: grid; place-items: center; }
.emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-dark); }
.emblem__ring--2 { inset: 12%; border-style: dashed; border-color: rgba(222, 182, 116, .28); animation: spin 60s linear infinite; }
.emblem__ring--3 { inset: 26%; background: radial-gradient(circle, rgba(222, 182, 116, .16) 0%, transparent 70%); border: 0; }
.emblem__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-3); box-shadow: 0 0 18px var(--gold-3); }
.emblem__orbit { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.emblem__orbit .emblem__dot { top: -4px; left: calc(50% - 4px); }
.emblem img { width: 48%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); animation: float 7s ease-in-out infinite; }
.emblem__label {
  position: absolute; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
  background: rgba(35, 31, 32, .85); border: 1px solid var(--line-dark); padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.emblem__label--1 { top: 12%; left: -2%; }
.emblem__label--2 { top: 48%; right: -8%; }
.emblem__label--3 { bottom: 10%; left: 6%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__strip { margin-top: 80px; border-top: 1px solid var(--line-dark); }
.hero__strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__strip a {
  display: grid; gap: 4px; padding: 26px 24px 30px; border-right: 1px solid var(--line-dark);
  transition: background .3s;
}
.hero__strip li:first-child a { padding-left: 0; }
.hero__strip li:last-child a { border-right: 0; }
.hero__strip a:hover { background: rgba(222, 182, 116, .05); }
.hero__strip small { color: var(--gold-light); font-size: 11px; letter-spacing: .22em; }
.hero__strip strong { color: #fff; font-weight: 400; font-size: 15px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .emblem { width: min(80%, 340px); order: -1; }
  .emblem__label { display: none; }
  .hero__strip ul { grid-template-columns: 1fr 1fr; }
  .hero__strip li:nth-child(2) a { border-right: 0; }
  .hero__strip li:nth-child(-n+2) a { border-bottom: 1px solid var(--line-dark); }
  .hero__strip li:nth-child(3) a { padding-left: 0; }
}
@media (max-width: 520px) {
  .hero__strip ul { grid-template-columns: 1fr; }
  .hero__strip a { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero__actions .btn { width: 100%; }
}

/* ---------- About / Standard ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-intro { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.about-intro .signature { font-family: var(--font-script); font-size: 52px; line-height: 1; color: var(--gold-4); margin-top: 8px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: 32px 28px; display: grid; gap: 14px; align-content: start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(130, 88, 34, .45); }
.pillar__num { font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--gold-ink); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--charcoal); color: var(--gold-3);
}
.pillar:nth-child(2) .pillar__icon { background: var(--espresso); color: var(--cream); }
.pillar:nth-child(3) .pillar__icon { background: var(--gold-button); color: var(--charcoal); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar p { font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } .about-intro { position: static; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Divisions ---------- */
.divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.division {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.division:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(130, 88, 34, .4); }
.division__head {
  position: relative; padding: 32px 32px 30px; color: var(--cream); overflow: hidden;
  background: linear-gradient(120deg, var(--charcoal) 0%, #2e2421 55%, var(--espresso) 120%);
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
}
.division:nth-child(even) .division__head { background: linear-gradient(120deg, var(--espresso) -20%, #3b1d12 40%, var(--charcoal) 100%); }
.division__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-gradient);
  transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease);
}
.division:hover .division__head::after { transform: scaleX(1); }
.division__kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); display: block; margin-bottom: 10px; }
.division__title { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 400; color: #fff; line-height: 1.25; }
.division__glyph { width: 72px; height: 72px; flex-shrink: 0; color: var(--gold-3); opacity: .95; transition: transform .6s var(--ease); }
.division:hover .division__glyph { transform: rotate(18deg) scale(1.05); }
.division__body { padding: 28px 32px 8px; display: grid; gap: 22px; flex: 1; align-content: start; }
.division__body > p { font-size: 15px; color: var(--text-muted); }
.division__label { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; font-weight: 400; padding: 6px 13px; border-radius: 999px;
  background: var(--cream-light); border: 1px solid var(--line-light); color: var(--charcoal);
}
.division__foot {
  margin-top: 24px; padding: 18px 32px; border-top: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-muted);
}
.division__foot span { display: inline-flex; align-items: center; gap: 8px; }
.division__foot span svg { width: 15px; height: 15px; color: var(--gold-ink); }
@media (max-width: 900px) { .divisions { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .division__head, .division__body { padding-left: 22px; padding-right: 22px; }
  .division__foot { padding: 16px 22px; flex-direction: column; align-items: flex-start; }
  .division__glyph { width: 54px; height: 54px; }
}

/* ---------- Corridors ---------- */
.corridors { overflow: hidden; }
.corridors::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, rgba(87, 35, 13, .55), transparent 65%);
}
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; position: relative; }
.tab {
  padding: 12px 22px; border-radius: 999px; font-size: 13px; font-weight: 400; letter-spacing: .04em;
  border: 1px solid var(--line-dark); color: var(--cream); background: rgba(255, 255, 255, .03);
  transition: background .3s, color .3s, border-color .3s;
}
.tab:hover { border-color: var(--gold-3); color: var(--gold-3); }
.tab[aria-selected="true"] { background: var(--gold-button); color: var(--charcoal); border-color: transparent; font-weight: 500; }

.corridor-panel { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: stretch; }
.corridor-panel.is-updating .corridor-swap { opacity: 0; transform: translateY(8px); }
.corridor-swap { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.corridor-info {
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 34px;
  background: rgba(255, 255, 255, .03); display: grid; gap: 18px; align-content: start;
}
.badge {
  justify-self: start; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light);
  padding: 6px 12px; border-radius: 999px; background: rgba(87, 35, 13, .7); border: 1px solid var(--line-dark);
}
.corridor-info h3 { font-size: 1.6rem; font-weight: 400; color: #fff; line-height: 1.25; }
.corridor-info p { color: var(--text-on-dark-muted); font-size: 15px; }
.corridor-info .highlight { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.corridor-info .highlight small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.corridor-info .highlight p { color: var(--cream); }

.route {
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px;
  background: rgba(0, 0, 0, .28); display: grid; gap: 26px;
}
.route__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.route__head small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); display: block; }
.route__head strong { color: #fff; font-weight: 400; font-size: 1.15rem; }
.route__line { position: relative; height: 24px; margin: 0 9%; }
.route__line svg { width: 100%; height: 100%; overflow: visible; }
.route__line path { stroke: var(--gold-3); stroke-width: 1.5; stroke-dasharray: 6 7; fill: none; animation: dash 1.6s linear infinite; }
.route__line circle { fill: var(--gold-3); }
@keyframes dash { to { stroke-dashoffset: -26; } }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stage {
  border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 8px;
}
.stage--hub { background: linear-gradient(180deg, rgba(87, 35, 13, .85), rgba(35, 31, 32, .9)); border-color: rgba(222, 182, 116, .5); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.stage small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.stage h4 { font-size: 1rem; font-weight: 500; color: #fff; line-height: 1.35; }
.stage p { font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.6; flex: 1; }
.stage .tag { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: var(--gold-light); font-weight: 400; }
.stage--hub .tag { color: #fff; }
@media (max-width: 960px) { .corridor-panel { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .stages { grid-template-columns: 1fr; } .route__line { display: none; } .route, .corridor-info { padding: 24px; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 28px; right: 12%; height: 1px; background: linear-gradient(90deg, var(--gold-4), rgba(130, 88, 34, .1)); }
.step { position: relative; padding-right: 28px; display: grid; gap: 14px; align-content: start; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--cream); border: 1px solid rgba(130, 88, 34, .45); color: var(--gold-ink); font-weight: 500; font-size: 15px;
}
.step:first-child .step__num { background: var(--charcoal); color: var(--gold-3); border-color: var(--charcoal); }
.step h3 { margin-top: 10px; }
.step p { font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process::before { display: none; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 56px;
  background: linear-gradient(120deg, var(--charcoal) 0%, #2e2421 50%, var(--espresso) 120%); color: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: 96px;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: url("../assets/icon.svg") center / contain no-repeat; opacity: .08; transform: rotate(-12deg);
}
.cta-band h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; color: #fff; max-width: 620px; line-height: 1.25; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 600px) { .cta-band { padding: 36px 26px; } .cta-band .btn { width: 100%; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 26px; }
.contact-cards { display: grid; gap: 14px; margin-top: 8px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line-light); transition: border-color .3s, transform .3s var(--ease);
}
a.contact-card:hover { border-color: rgba(130, 88, 34, .5); transform: translateX(4px); }
.contact-card__icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--charcoal); color: var(--gold-3); }
.contact-card:nth-child(2) .contact-card__icon { background: var(--espresso); color: var(--cream); }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso); margin-bottom: 3px; }
.contact-card strong { font-weight: 400; display: block; }
.contact-card span { font-size: 14px; color: var(--text-muted); }

.form-card {
  background: var(--charcoal); color: var(--cream); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-gradient); }
.form-card__head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.form-card__head h3 { font-size: 1.4rem; font-weight: 400; color: #fff; }
.form-card__head p { font-size: 13.5px; color: var(--text-on-dark-muted); margin-top: 4px; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); padding: 0; }
.field label .opt { color: var(--text-on-dark-muted); letter-spacing: .06em; text-transform: none; font-weight: 300; }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 15px; font-weight: 300;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.input::placeholder { color: rgba(237, 233, 208, .38); }
.input:hover { border-color: rgba(222, 182, 116, .4); }
.input:focus { outline: none; border-color: var(--gold-3); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(222, 182, 116, .12); }
.input[aria-invalid="true"] { border-color: #e48a6a; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.6; }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23deb674' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
select.input option { background: var(--charcoal); color: #fff; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); margin-top: 8px; }
.check { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .08); cursor: pointer; font-size: 13.5px; transition: background .2s, border-color .2s; }
.check:hover { background: rgba(255, 255, 255, .05); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(222, 182, 116, .6); flex-shrink: 0; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check__box svg { width: 12px; height: 12px; color: var(--charcoal); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease); }
.check input:checked + .check__box { background: var(--gold-3); border-color: var(--gold-3); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:checked ~ span:last-child { color: #fff; }
.check:has(input:checked) { border-color: rgba(222, 182, 116, .45); background: rgba(222, 182, 116, .07); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold-3); outline-offset: 2px; }
.field-error { font-size: 12.5px; color: #f0a184; display: none; }
.field-error.is-visible { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12px; color: var(--text-on-dark-muted); text-align: center; }
.form-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

.form-status { border-radius: 14px; padding: 22px; display: none; gap: 10px; }
.form-status.is-visible { display: grid; }
.form-status--success { background: rgba(222, 182, 116, .08); border: 1px solid rgba(222, 182, 116, .5); }
.form-status--error { background: rgba(87, 35, 13, .55); border: 1px solid rgba(240, 161, 132, .5); }
.form-status__title { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.form-status__title svg { width: 18px; height: 18px; }
.form-status p { font-size: 14px; color: var(--cream); }
.form-status a, .form-status button { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; justify-self: start; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(35, 31, 32, .25); border-top-color: var(--charcoal); animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__icon { display: none; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .form-card { padding: 28px 20px; }
  .form-row, .checks { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--text-on-dark-muted); border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 80px 0 56px; }
.footer-logo { width: 150px; height: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 14px; max-width: 320px; }
.site-footer h4 { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--gold-3); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; padding-top: 56px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--charcoal); color: var(--cream); padding: 40px 24px; }
.error-page img { width: 110px; margin: 0 auto 28px; }
.error-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; color: #fff; margin-bottom: 12px; }
.error-page p { color: var(--text-on-dark-muted); margin-bottom: 28px; }
