/* Hardik Enterprises — site stylesheet (corporate green theme) */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/opensans-1.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/opensans-1.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/opensans-1.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/opensans-1.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-2.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-3.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/poppins-4.woff2) format("woff2"); }

:root {
  --navy: #0e1c3d;
  --navy-2: #172a57;
  --blue: #204088;
  --blue-dark: #183268;
  --blue-soft: #aebfe8;
  --sky: #edf1fa;
  --gold: #f2a900;
  --gold-dark: #b97f00;
  --ink: #1d2b3a;
  --muted: #5b6b7c;
  --line: #dfe6ee;
  --grey: #f5f7f6;
  --deep: #24489a;
  --foot: #091228;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 2px 8px rgba(10, 37, 64, 0.04);
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.1);
  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }

p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

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

/* ---------- Top bar + header ---------- */

.topbar { background: var(--navy); color: #c4d2e2; font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(10, 37, 64, 0.05);
}

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--head); font-weight: 800; font-size: 1.08rem;
  letter-spacing: 0.06em; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.brand img { height: 42px; width: auto; border-radius: 4px; }

.brand-mark { width: 30px; height: 30px; background: var(--blue); border-radius: 6px; position: relative; flex: none; }
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; left: 7px; right: 7px; height: 3px; border-radius: 2px; background: #fff;
}
.brand-mark::before { top: 9px; }
.brand-mark::after { bottom: 9px; background: var(--gold); }

.nav { display: flex; align-items: center; gap: 30px; }

.nav a {
  font-size: 0.94rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue); font-weight: 600; }

.nav a.nav-cta {
  background: var(--blue); color: #fff; border: 0; border-radius: 6px; padding: 11px 20px; font-weight: 600;
}
.nav a.nav-cta:hover { background: var(--blue-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy);
  margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 0.96rem;
  padding: 14px 26px; border-radius: 6px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: #b9c8d9; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Shared section pieces ---------- */

section { padding: 100px 0; }

.eyebrow {
  font-family: var(--body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold); }

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

.section-head { max-width: 760px; margin-bottom: 52px; }

.bg-grey { background: var(--grey); }
.bg-warm { background: var(--sky); }

.bg-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%); color: #c9d6e6; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .eyebrow { color: var(--blue-soft); }
.bg-dark .lead { color: #b7c7da; }

.split { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }

.note { font-size: 0.82rem; color: var(--muted); margin-top: 18px; }

/* ---------- Hero ---------- */

.hero { background: linear-gradient(180deg, var(--sky) 0%, #ffffff 100%); padding: 0; }

.hero-grid {
  display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 80px;
}

.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--blue); }
.hero .lead { margin-top: 24px; }

.hero-art {
  background: linear-gradient(145deg, var(--navy) 0%, var(--deep) 100%);
  border-radius: 18px; padding: 28px; box-shadow: var(--shadow);
}
.hero-art text { font-family: var(--body); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; fill: var(--blue-soft); }
.hero-art .link { fill: none; stroke: var(--blue-soft); stroke-width: 1; }
.hero-art .link-flow {
  fill: none; stroke: #ffffff; stroke-width: 1.5;
  stroke-dasharray: 3 14; animation: flow 3.2s linear infinite;
}

@keyframes flow { to { stroke-dashoffset: -34; } }

.principals { border-top: 1px solid var(--line); padding: 26px 0; background: #fff; }
.principals .wrap { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.principals strong {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin-right: 12px;
}
.principals span {
  font-family: var(--head); font-weight: 700; font-size: 0.95rem; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; background: var(--grey);
}

/* Inner page hero */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%); color: #c9d6e6; padding: 0; }
.page-hero .wrap { padding-top: 84px; padding-bottom: 78px; }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.page-hero .eyebrow { color: var(--blue-soft); }
.page-hero .lead { color: #b7c7da; margin-top: 20px; }

/* ---------- Metrics ---------- */

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.metric {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: 12px; padding: 28px 26px 30px; box-shadow: var(--shadow-sm);
}
.metric b {
  display: block; font-family: var(--head); font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -0.03em; color: var(--blue); line-height: 1.05;
}
.metric span { display: block; margin-top: 12px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Audience cards ---------- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo > div {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 40px; box-shadow: var(--shadow-sm);
}
.duo h3 { font-size: 1.45rem; font-weight: 800; }
.duo p { color: var(--muted); }

/* ---------- Chains (process flows) ---------- */

.chain {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px 0; counter-reset: step;
}

.chain li {
  counter-increment: step; position: relative;
  flex: 1 1 0; min-width: 150px; margin-right: 30px;
  padding: 18px 16px 20px; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-family: var(--head); font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--navy);
}
.chain li:last-child { margin-right: 0; }

.chain li::before {
  content: counter(step, decimal-leading-zero); display: block;
  font-family: var(--body); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.08em; color: var(--blue); margin-bottom: 10px;
}

.chain li:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -25px; top: 50%;
  transform: translateY(-50%); font-family: var(--body); font-weight: 400;
  font-size: 1.1rem; color: var(--blue);
}

.chain small {
  display: block; margin-top: 8px; font-family: var(--body); font-weight: 400;
  font-size: 0.86rem; line-height: 1.5; color: var(--muted);
}

.chain--reverse li { border-top-color: var(--gold); }
.chain--reverse li::before, .chain--reverse li:not(:last-child)::after { color: var(--gold-dark); }

.bg-dark .chain li { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); border-top-color: var(--blue-soft); color: #fff; box-shadow: none; }
.bg-dark .chain li::before, .bg-dark .chain li:not(:last-child)::after { color: var(--blue-soft); }
.bg-dark .chain small { color: #b7c7da; }

.flow-track {
  height: 2px; margin: 26px 0 0;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 22px);
  background-size: 22px 2px; animation: track 1.6s linear infinite;
}
.flow-track--reverse {
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 22px);
  animation-direction: reverse;
}
@keyframes track { to { background-position: 22px 0; } }

.flow-label { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; color: var(--blue); }
.flow-label--reverse { color: var(--gold-dark); margin-top: 52px; }

/* ---------- Card grids ---------- */

.grid-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: cell; }
.grid-lines > * {
  counter-increment: cell; padding: 32px 30px 34px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.grid-lines > *:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.grid-lines > *::before {
  content: counter(cell, decimal-leading-zero);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--sky); color: var(--blue); font-weight: 700; font-size: 0.86rem; margin-bottom: 20px;
}
.grid-lines p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.grid-lines--2 { grid-template-columns: repeat(2, 1fr); }
.grid-lines--4 { grid-template-columns: repeat(4, 1fr); }
.grid-lines--4 > * { padding: 24px 22px 26px; }
.grid-lines--4 h3 { margin: 0; font-size: 1.02rem; }
.grid-lines > * > h3:last-child { margin-bottom: 0; }

/* ---------- Lists ---------- */

.rule-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.rule-list li {
  break-inside: avoid; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line);
  position: relative; font-weight: 500;
}
.rule-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 13px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--sky); color: var(--blue);
  font-size: 0.74rem; font-weight: 700; display: grid; place-items: center;
}
.rule-list--single { columns: 1; }
.bg-dark .rule-list li { border-color: rgba(255, 255, 255, 0.16); color: #e6edf6; }

/* ---------- Steps ---------- */

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 24px 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { display: block; font-family: var(--head); font-weight: 700; color: var(--navy); }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Tabs ---------- */

.tabs { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.tablist button {
  text-align: left; font: 600 0.98rem var(--body); padding: 14px 18px;
  border: 1px solid transparent; border-left: 3px solid var(--line); border-radius: 0 8px 8px 0;
  background: none; color: var(--muted); cursor: pointer;
}
.tablist button:hover { color: var(--blue); }
.tablist button[aria-selected="true"] {
  background: #fff; border-color: var(--line); border-left-color: var(--blue);
  color: var(--navy); box-shadow: var(--shadow-sm);
}
.tabpanel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 44px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.tabpanel h3 { font-size: 1.6rem; font-weight: 800; }
.tabpanel > p { color: var(--muted); max-width: 70ch; }
.panel-cols { display: grid; grid-template-columns: 6fr 5fr; gap: 44px; margin-top: 32px; }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  font-family: var(--head); font-weight: 700; font-size: 1.08rem; color: var(--navy);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 14px 0 0; max-width: 72ch; }

/* ---------- Map ---------- */

.map-layout { display: grid; grid-template-columns: 6fr 4fr; gap: 64px; align-items: center; }

.hmap { width: 100%; height: auto; }
.hmap .outline { fill: var(--sky); stroke: var(--blue-soft); stroke-width: 1.5; stroke-linejoin: round; }
.hmap .route { stroke: var(--blue); stroke-width: 1.3; opacity: 0.5; }
.hmap .route-flow { stroke: var(--blue); stroke-width: 1.8; stroke-dasharray: 3 15; animation: flow 3.4s linear infinite; }
.hmap .dot { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.hmap .hub { fill: var(--gold); stroke: #fff; stroke-width: 2; }
.hmap .hub-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0.6; }
.hmap text { font-family: var(--body); font-size: 18px; font-weight: 600; fill: var(--ink); }
.hmap text.hub-label { font-family: var(--head); font-weight: 800; font-size: 21px; fill: var(--navy); }

.market-list {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: m;
}
.market-list li {
  counter-increment: m; padding: 12px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; font-family: var(--head); font-weight: 700; color: var(--navy);
  display: flex; gap: 12px; align-items: baseline;
}
.market-list li::before {
  content: counter(m, decimal-leading-zero); font-family: var(--body);
  font-weight: 600; font-size: 0.74rem; color: var(--blue);
}
.market-list .base { border-color: var(--gold); background: #fff9ea; }
.market-list .base::after {
  content: "Base"; font-family: var(--body); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-left: auto;
}

/* ---------- Visibility track ---------- */

.track { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.track li {
  position: relative; padding: 32px 16px 0 0; border-top: 2px solid rgba(255, 255, 255, 0.25);
  font-family: var(--head); font-weight: 700; font-size: 1.18rem; color: #fff;
}
.track li::before {
  content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px;
  background: var(--gold); border: 3px solid var(--navy); border-radius: 50%;
}
.track li span {
  display: block; font-family: var(--body); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.12em; color: var(--blue-soft); margin-bottom: 8px; text-transform: uppercase;
}

/* ---------- Impact ---------- */

.impact-figure {
  font-family: var(--head); font-weight: 800; font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9; letter-spacing: -0.05em; color: var(--blue);
}
.impact-figure + p { font-weight: 600; font-size: 0.92rem; color: var(--muted); margin-top: 16px; max-width: 30ch; }

/* ---------- Table (exceptions) ---------- */

.xtable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.xtable th {
  text-align: left; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--navy); padding: 14px 20px;
}
.xtable td { padding: 16px 20px; border-top: 1px solid var(--line); font-weight: 500; }
.xtable td:first-child { width: 42%; color: var(--navy); font-family: var(--head); font-weight: 700; }
.xtable td:nth-child(2) { width: 50px; color: var(--blue); padding-left: 0; padding-right: 0; }

/* ---------- Future ---------- */

.tag {
  display: inline-block; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; border: 1px dashed var(--gold-dark); color: var(--gold-dark);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 24px;
}

.future-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
.future-list li { padding: 14px 18px; border: 1px dashed #b9c8d9; border-radius: 8px; color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */

.cta-band { padding: 76px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 56px; align-items: start; }

.contact-card { background: var(--grey); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.contact-card address { font-style: normal; font-size: 1.06rem; line-height: 1.7; margin-bottom: 26px; }
.contact-card dl { margin: 0 0 26px; }
.contact-card dt { font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 4px 0 18px; font-family: var(--head); font-weight: 800; font-size: 1.45rem; color: var(--navy); }
.contact-card dd a { color: inherit; text-decoration: none; }
.contact-card dd.small { font-size: 1.12rem; font-weight: 700; }
.contact-card dd.pending { font-family: var(--body); font-size: 0.98rem; font-weight: 500; color: var(--muted); }

.form-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 44px; box-shadow: var(--shadow); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px;
  border: 1px solid #c3cfdc; border-radius: 8px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(0, 0, 0, 0.12); border-color: var(--blue); }
.form textarea { min-height: 150px; resize: vertical; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; background: var(--sky); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; font-size: 0.95rem; }
.form-status[hidden] { display: none; }

.map-frame { border: 1px solid var(--line); border-radius: 14px; width: 100%; height: 420px; display: block; }

/* ---------- Photography ---------- */
/* Photos sit over a patterned blue fallback, so a missing file still looks intentional. */

.photo {
  background-color: var(--navy-2);
  background-image: var(--img),
    linear-gradient(135deg, rgba(10, 37, 64, 0.2), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 84px);
  background-size: cover, auto, auto, auto;
  background-position: center;
}
.photo-band { height: clamp(240px, 36vw, 480px); }
.photo-tall { min-height: 400px; height: 100%; border-radius: 16px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */

.site-footer { background: var(--foot); color: #a9b8c9; padding: 72px 0 0; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 56px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h3 { font-family: var(--body); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: #7e93aa; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #e2eaf3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 0.84rem; color: #7e93aa; }

[data-email]:empty { display: none; }

/* ---------- Portfolio (principal companies) ---------- */

.pf { display: grid; gap: 24px; }
.pf article {
  display: grid; grid-template-columns: 4fr 7fr; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.pf-head { background: linear-gradient(145deg, var(--navy) 0%, var(--deep) 100%); color: #cfe2dc; padding: 40px 36px; }
.pf-head small { display: block; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pf-head h3 { color: #fff; font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; }
.pf-head p { margin: 0; font-size: 0.95rem; }
.pf-head .brandline { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-weight: 600; }
.pf-body { padding: 36px 40px 38px; }
.pf-body p { color: var(--muted); }
.pf-body h4 { margin-top: 22px; margin-bottom: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--sky); color: var(--navy); border-radius: 999px; padding: 7px 14px; font-size: 0.9rem; font-weight: 600; }
.pf-logo { display: block; width: fit-content; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; margin-bottom: 20px; }
.pf-logo img { height: 44px; width: auto; }
.pf-note { font-size: 0.82rem; color: var(--muted); margin-top: 24px; }

@media (max-width: 960px) {
  .pf article { grid-template-columns: 1fr; }
  .pf-head, .pf-body { padding: 28px 24px; }
}

/* ---------- Growth chart ---------- */

.chart-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 36px 28px; box-shadow: var(--shadow-sm); margin-top: 56px;
}
.chart-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.chart-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.gchart { width: 100%; height: auto; }
.gchart .grid { stroke: var(--line); stroke-width: 1; }
.gchart .bar { fill: var(--blue); }
.gchart .bar.last { fill: var(--gold); }
.gchart text { font-family: var(--body); font-size: 13px; fill: var(--muted); }
.gchart text.val { font-family: var(--head); font-weight: 800; font-size: 18px; fill: var(--navy); }
.gchart .trend { fill: none; stroke: var(--navy); stroke-width: 2; stroke-dasharray: 5 6; opacity: 0.55; }
.js .reveal .bar { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in .bar { transform: none; }


/* ---------- Technology stack ---------- */

.stack { display: grid; gap: 16px; }
.stack-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: stretch; }
.stack-label { border-left: 3px solid var(--gold); padding: 18px 0 18px 20px; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: #fff; }
.stack-label span { display: block; font-family: var(--body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; color: var(--blue-soft); margin-bottom: 6px; }
.stack-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tech { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 22px 22px 24px; }
.tech h3 { color: #fff; margin: 12px 0 6px; font-size: 1.05rem; }
.tech p { margin: 0; font-size: 0.92rem; color: #c3cfd6; }
.live { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7ee2a8; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } to { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }

/* ---------- Timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.2); }
.timeline li { position: relative; width: calc(50% - 44px); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 24px 26px; }
.timeline li:nth-child(even) { margin-left: auto; }
.timeline li::before { content: ""; position: absolute; top: 28px; right: -56px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 4px solid var(--navy); }
.timeline li:nth-child(even)::before { right: auto; left: -56px; }
.timeline b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--gold); }
.timeline strong { display: block; font-family: var(--head); font-size: 1.1rem; color: #fff; margin: 10px 0 6px; }
.timeline span { color: #c3cfd6; font-size: 0.95rem; }

@media (max-width: 960px) {
  .stack-row { grid-template-columns: 1fr; gap: 12px; }
  .stack-label { padding: 6px 0 6px 16px; }
  .timeline::before { left: 11px; }
  .timeline li, .timeline li:nth-child(even) { width: auto; margin-left: 40px; }
  .timeline li::before, .timeline li:nth-child(even)::before { right: auto; left: -41px; }
}
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }

/* ---------- Logo marquee and tiles ---------- */

.marquee { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0 26px; overflow: hidden; }
.marquee-label { text-align: center; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.logo-tile { display: grid; place-items: center; width: 170px; height: 76px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-tile.dark { background: #26302e; border-color: #26302e; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.logo-grid .logo-tile { width: auto; }

/* ---------- Truck scene ---------- */

.truck-scene { width: 100%; max-width: 420px; height: auto; margin-bottom: 22px; overflow: visible; }
.truck-scene .t-box { fill: var(--blue); }
.truck-scene .t-stripe { fill: var(--gold); }
.truck-scene .t-cab { fill: var(--navy); }
.truck-scene .t-win { fill: var(--sky); }
.truck-scene .t-wheel { fill: #1c2222; }
.truck-scene .t-hub { fill: #cfd6d4; }
.truck-scene .road { stroke: var(--line); stroke-width: 2; }
.truck-scene .road-dash { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 18 14; opacity: 0.5; animation: road 0.7s linear infinite; }
.truck-scene .truck { animation: bounce 0.45s ease-in-out infinite alternate; }
.truck-scene .speed line { stroke: var(--blue-soft); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 30 60; animation: speed 0.9s linear infinite; }
@keyframes road { to { stroke-dashoffset: 32; } }
@keyframes bounce { to { transform: translateY(-1.5px); } }
@keyframes speed { to { stroke-dashoffset: 90; } }

/* ---------- Motion ---------- */

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); z-index: 90; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes slideL { from { opacity: 0; transform: translateX(-40px); } }
@keyframes slideR { from { opacity: 0; transform: translateX(40px); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.92); } }

.hero .eyebrow { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero h1 span, .page-hero h1 { animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero h1 span:nth-child(1), .page-hero h1 { animation-delay: 0.1s; }
.hero h1 span:nth-child(2) { animation-delay: 0.25s; }
.hero h1 span:nth-child(3) { animation-delay: 0.4s; }
.hero .lead { animation: rise 0.7s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero .btn-row { animation: rise 0.7s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-art { animation: zoomIn 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }

.hero { position: relative; overflow: hidden; }
.hero > * { position: relative; }
.hero:not(.page-hero)::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 65%); opacity: 0.35;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-90px, 70px) scale(1.15); } }

.hero-art .parcel { fill: var(--gold); }
.hero-art .hub-pulse { transform-origin: 230px 210px; animation: hubpulse 2.4s ease-out infinite; }
.hmap .hub-ring { transform-box: fill-box; transform-origin: center; animation: hubpulse 2.4s ease-out infinite; }
@keyframes hubpulse { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }

.js .reveal.in.grid-lines > *, .js .reveal.in.metrics > *, .js .reveal.in.duo > *, .js .reveal.in.chain > li,
.js .reveal.in.track > li, .js .reveal.in.pf > article, .js .reveal.in .tech, .js .reveal.in.future-list > li,
.js .reveal.in.rule-list > li { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.js .reveal.in.timeline > li:nth-child(odd) { animation: slideL 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.js .reveal.in.timeline > li:nth-child(even) { animation: slideR 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.js .reveal.in > :nth-child(2), .js .reveal.in .tech:nth-child(2) { animation-delay: 0.08s; }
.js .reveal.in > :nth-child(3), .js .reveal.in .tech:nth-child(3) { animation-delay: 0.16s; }
.js .reveal.in > :nth-child(4) { animation-delay: 0.24s; }
.js .reveal.in > :nth-child(5) { animation-delay: 0.32s; }
.js .reveal.in > :nth-child(6) { animation-delay: 0.4s; }
.js .reveal.in > :nth-child(7) { animation-delay: 0.48s; }
.js .reveal.in > :nth-child(8) { animation-delay: 0.56s; }
.js .reveal.in > :nth-child(9) { animation-delay: 0.64s; }
.js .reveal.in > :nth-child(n+10) { animation-delay: 0.72s; }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg);
}
.btn-primary:hover::after { animation: shine 0.8s ease; }
@keyframes shine { to { left: 130%; } }


@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } .logo-tile { width: 140px; height: 64px; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .truck-scene .road-dash, .truck-scene .truck, .truck-scene .speed line, .hero:not(.page-hero)::before,
  .hero-art .hub-pulse, .hmap .hub-ring, .hero .eyebrow, .hero h1 span, .page-hero h1, .hero .lead, .hero .btn-row, .hero-art,
  .js .reveal.in *, .btn-primary:hover::after { animation: none !important; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Photo slider ---------- */

.slider { position: relative; height: clamp(300px, 44vw, 560px); overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; animation: slideFade 24s infinite; }
.slide::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover; animation: kenburns 24s infinite; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72) 100%); }
.slide:nth-child(2), .slide:nth-child(2)::before { animation-delay: 6s; }
.slide:nth-child(3), .slide:nth-child(3)::before { animation-delay: 12s; }
.slide:nth-child(4), .slide:nth-child(4)::before { animation-delay: 18s; }
.slide p { position: absolute; z-index: 1; left: max(24px, calc((100% - 1152px) / 2)); bottom: 40px; margin: 0; color: #e8eef2; font-size: 1.05rem; max-width: 30ch; }
.slide p b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.15; color: #fff; margin-bottom: 8px; }
@keyframes slideFade { 0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kenburns { 0% { transform: scale(1); } 29% { transform: scale(1.14); } 100% { transform: scale(1.14); } }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.g { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--navy-2); }
.g.big { grid-column: span 2; grid-row: span 2; }
.g.wide { grid-column: span 2; }
.g i { position: absolute; inset: 0; background: var(--img) center / cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.g:hover i { transform: scale(1.1); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; color: #e8eef2; font-size: 0.9rem; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78)); }
.g figcaption b { display: block; font-family: var(--head); font-size: 1.1rem; color: #fff; }

/* ---------- Photos in cards and heroes ---------- */

.card-photo { height: 160px; border-radius: 10px; margin-bottom: 20px; overflow: hidden; position: relative; }
.card-photo::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.grid-lines > *:hover .card-photo::before { transform: scale(1.1); }

.pf-head { position: relative; overflow: hidden; }
.pf-head > * { position: relative; }
.pf-head::before { content: ""; position: absolute; inset: 0; background: var(--img, none) center / cover; opacity: 0.16; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pf article:hover .pf-head::before { transform: scale(1.08); }

.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--ph, none) center / cover; opacity: 0.3; animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.16); } }

.js .photo.reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease, transform 0.6s ease; }
.js .photo.reveal.in { clip-path: inset(0 0 0 0); }
.js .gallery.reveal.in > .g { animation: zoomIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }

@media (hover: hover) and (min-width: 961px) { .photo-band { background-attachment: fixed; } }

/* ---------- Header shrink and back-to-top ---------- */

.site-header .wrap { transition: height 0.3s ease; }
.site-header.scrolled .wrap { height: 62px; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 37, 64, 0.12); }
.totop {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--blue); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.3s, transform 0.3s;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .slide p { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide::before, .page-hero::before { animation: none !important; }
  .slide:first-child { opacity: 1; }
  .js .photo.reveal { clip-path: none; }
}

/* ---------- Trade explainer, glossary and scale ---------- */

.chain li.you { background: var(--blue); border-color: var(--blue); color: #fff; }
.chain li.you::before, .chain li.you small { color: rgba(255, 255, 255, 0.85); }
.glossary { margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 40px; }
.glossary h3 { font-size: 1.2rem; margin-bottom: 20px; }
.glossary dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.glossary dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.glossary dt { font-family: var(--head); font-weight: 700; color: var(--navy); }
.glossary dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.scale > div { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.scale b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.scale span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) { .glossary { padding: 26px 22px; } .glossary dl, .scale { grid-template-columns: 1fr; } }

/* ---------- Growth curve ---------- */

.gchart .area { fill: var(--blue); opacity: 0.12; }
.gchart .curve { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.gchart .pt { fill: var(--gold); stroke: #fff; stroke-width: 2.5; }
.js .reveal .gchart .curve { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2s ease-out 0.2s; }
.js .reveal.in .gchart .curve { stroke-dashoffset: 0; }
.js .reveal .gchart .area { opacity: 0; transition: opacity 1.2s ease 1s; }
.js .reveal.in .gchart .area { opacity: 0.12; }

/* ---------- Calmer motion ---------- */

.hero:not(.page-hero)::before { display: none; }
.btn-primary::after { display: none; }
.truck-scene .truck { animation: none; }
.truck-scene .speed { display: none; }
.marquee-track { animation-duration: 75s; }
.hmap .hub-ring { animation: none; }
@keyframes kenburns { 0% { transform: scale(1); } 29% { transform: scale(1.06); } 100% { transform: scale(1.06); } }
@keyframes heroZoom { to { transform: scale(1.07); } }
@media (hover: hover) and (min-width: 961px) { .photo-band { background-attachment: scroll; } }

/* ---------- Glossary toggle, map consent, legal page ---------- */

details.glossary summary { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details.glossary summary::-webkit-details-marker { display: none; }
details.glossary summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; font-weight: 400; }
details.glossary[open] summary::after { content: "\2013"; }
details.glossary[open] summary { margin-bottom: 18px; }
details.glossary { padding: 24px 32px; }

.map-consent { display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 32px; background: var(--sky); }
.map-consent p { margin: 0; max-width: 46ch; color: var(--muted); }

.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 44px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

.site-footer .footer-base a { color: #c9d4e2; text-decoration: underline; }

/* ---------- Final layout corrections ---------- */

.hero-grid { grid-template-columns: 7fr 5fr; }
.hero:not(.page-hero) h1 { font-size: clamp(2.1rem, 4.1vw, 2.9rem); }
.hero:not(.page-hero) h1 span { white-space: nowrap; }
.totop { left: auto; right: 16px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .hero:not(.page-hero) h1 span { white-space: normal; } }

/* ---------- Scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flow-track, .hero-art .link-flow, .hmap .route-flow { animation: none; }
  .btn:hover, .grid-lines > *:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.88rem; }
  .split, .map-layout, .contact-grid { gap: 44px; }
  .tabs { grid-template-columns: 230px 1fr; gap: 28px; }
}

@media (max-width: 960px) {
  section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav a.nav-cta { margin-top: 18px; text-align: center; padding: 13px; }
  .hero-grid, .split, .map-layout, .contact-grid, .duo, .panel-cols { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 56px; padding-bottom: 56px; }
  .hero-art { max-width: 520px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .grid-lines, .grid-lines--4 { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .tablist { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tablist button { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
  .tablist button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
  .photo-tall { min-height: 280px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar span { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .chain { flex-direction: column; gap: 0; }
  .chain li { margin: 0 0 30px; min-width: 0; }
  .chain li:last-child { margin-bottom: 0; }
  .chain li:not(:last-child)::after { content: "\2193"; right: auto; left: 16px; top: auto; bottom: -28px; transform: none; }
  .flow-track { display: none; }
  .grid-lines, .grid-lines--2, .grid-lines--4 { grid-template-columns: 1fr; }
  .rule-list { columns: 1; }
  .future-list, .form, .footer-grid, .metrics, .track, .market-list { grid-template-columns: 1fr; }
  .form .full, .form-status { grid-column: auto; }
  .duo > div, .tabpanel, .form-box, .contact-card { padding: 28px 22px; }
  .brand { font-size: 0.92rem; letter-spacing: 0.04em; }
  .xtable td, .xtable th { padding-left: 14px; padding-right: 14px; }
  .xtable td:first-child { width: auto; }
  .map-frame { height: 320px; }
}
