/* Eden Group USA — mockup stylesheet
   Swiss system: white surface, Helvetica Neue, hairline rules, one accent. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --ink: #1a2330;
  --ink-2: #3d4654;
  --muted: #6b7380;
  --rule: #d9dde3;
  --rule-strong: #1a2330;
  --accent: #306098;        /* logo blue */
  --accent-light: #6fa6dd;  /* logo blue on dark surfaces */
  --accent-2: #105858;      /* logo teal green */
  --flag: #e8451e;          /* logo flag */
  --dark: #0f1a2b;          /* navy for dark bands */
  --accent-ink: #ffffff;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-cond: "Helvetica Neue", "Arial Narrow", Helvetica, Arial, sans-serif;
  --max: 1280px;
  --gutter: 24px;
  --col-gap: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 32px; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-strong { border: 0; border-top: 1px solid var(--rule-strong); margin: 0; }
.section { padding: 72px 0; border-top: 1px solid var(--rule); }
.section-tight { padding: 40px 0; border-top: 1px solid var(--rule); }

/* Type scale */
.display {
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
.lead { font-size: 20px; line-height: 1.4; color: var(--ink-2); }
.small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.caps { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.num {
  font-family: var(--font-cond);
  font-stretch: condensed;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}
.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  font-weight: 500; font-size: 15px; line-height: 1;
  cursor: pointer; border-radius: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar a:hover { color: var(--accent); }
.topbar .sep { margin: 0 10px; color: var(--rule); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid var(--rule); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a.active { border-bottom-color: var(--ink); }
.nav a:hover { border-bottom-color: var(--accent); }
.nav .btn { padding: 11px 16px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--ink); width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); margin: 4px auto; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); border-top: 1px solid var(--rule-strong); }
.stat { grid-column: span 3; padding: 24px 0 28px; border-right: 1px solid var(--rule); padding-right: 20px; }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.stat .num sup { font-size: .45em; vertical-align: top; color: var(--flag); margin-left: 2px; }
.stat .label { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Route strip (signature) */
.route { padding: 56px 0 64px; border-top: 1px solid var(--rule); }
.route-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 36px; gap: 24px; flex-wrap: wrap; }
.route-track { position: relative; height: 1px; background: var(--rule-strong); margin: 0 0 20px; }
.route-track .marker {
  position: absolute; top: -5px; left: 0; width: 11px; height: 11px; background: var(--accent);
  animation: travel 14s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes travel {
  0% { left: 0; } 18% { left: 0; }
  28% { left: 25%; } 38% { left: 25%; }
  48% { left: 50%; } 58% { left: 50%; }
  68% { left: 75%; } 78% { left: 75%; }
  88% { left: calc(100% - 11px); } 100% { left: calc(100% - 11px); }
}
@media (prefers-reduced-motion: reduce) { .route-track .marker { animation: none; left: calc(100% - 11px); } }
.route-steps { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: var(--col-gap); }
.route-step { position: relative; padding-top: 14px; }
.route-step::before { content: ""; position: absolute; top: -21px; left: 0; width: 1px; height: 12px; background: var(--rule-strong); }
.route-step .num { font-size: 28px; line-height: 1; display: block; margin-bottom: 10px; }
.route-step h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.route-step p { font-size: 14px; color: var(--muted); }

/* Section header */
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); margin-bottom: 44px; align-items: end; }
.sec-head .idx { grid-column: span 2; }
.sec-head .idx .num { font-size: 15px; color: var(--accent); }
.sec-head .title { grid-column: span 6; }
.sec-head .aside { grid-column: 10 / span 3; }
.sec-head .aside p { color: var(--muted); font-size: 15px; }

/* Category cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.card { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px; display: flex; flex-direction: column; min-height: 320px; transition: background .15s ease; }
.card:hover { background: var(--bg-soft); }
.card .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.card .top .num { font-size: 14px; color: var(--muted); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.9); }
.card h3 { font-size: 18px; font-weight: 500; margin-top: 18px; letter-spacing: -0.01em; }
.card p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.card .more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.card:hover .more { color: var(--accent); }

/* Steps list */
.steps { border-top: 1px solid var(--rule-strong); }
.step { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); padding: 28px 0; border-bottom: 1px solid var(--rule); }
.step .num { grid-column: span 2; font-size: clamp(40px, 5vw, 64px); line-height: .9; }
.step .body { grid-column: span 6; }
.step .body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; }
.step .body p { color: var(--ink-2); max-width: 60ch; }
.step .meta { grid-column: 10 / span 3; font-size: 14px; color: var(--muted); }
.step .meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.step .meta dd { margin: 0; color: var(--ink); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--col-gap); border-top: 1px solid var(--rule-strong); }
.feature { padding: 28px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.feature .num { font-size: 15px; color: var(--accent); padding-top: 4px; }
.feature h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* Split section */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 32px; }
.split .text { grid-column: 1 / span 6; }
.split .media { grid-column: 8 / span 5; }
.split .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--rule); padding: 8px; }
.split .text p + p { margin-top: 16px; }
.split .text .h2 { margin-bottom: 24px; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.brands div { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); height: 96px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.brands img { max-height: 64px; width: auto; max-width: 150px; filter: grayscale(1); opacity: .8; transition: filter .15s ease, opacity .15s ease; }
.brands div:hover img { filter: none; opacity: 1; }

/* Hubs */
.hubs { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 24px; }
.hubs .intro { grid-column: span 4; }
.hubs ul { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--col-gap); border-top: 1px solid var(--rule-strong); }
.hubs li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; font-size: 15px; }
.hubs li span { color: var(--muted); font-size: 13px; }
.hubs li.primary { font-weight: 500; }
.hubs li.primary::after { content: "Primary"; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* CTA band */
.cta { background: var(--dark); color: #fff; padding: 72px 0; }
.cta .grid { align-items: center; }
.cta .text { grid-column: 1 / span 7; }
.cta .text .h2 { margin-bottom: 16px; }
.cta .text p { color: #c9c9d0; max-width: 56ch; }
.cta .act { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta .btn { border-color: #fff; background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--dark); }
.cta .btn-ghost { background: transparent; color: #fff; }
.cta .btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); background: transparent; }

/* Page header */
.page-head { padding: 64px 0 48px; }
.page-head .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.page-head .crumbs a:hover { color: var(--accent); }
.page-head .display { font-size: clamp(36px, 5vw, 64px); }
.page-head .lead { margin-top: 20px; max-width: 60ch; }

/* Prose */
.prose { max-width: 68ch; }
.prose p + p { margin-top: 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { list-style: none; border-top: 1px solid var(--rule-strong); margin-top: 8px; }
.prose li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.prose li .num { color: var(--accent); font-size: 14px; padding-top: 3px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.value { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 24px 32px; }
.value .num { font-size: 15px; color: var(--accent); display: block; margin-bottom: 36px; }
.value h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.value p { color: var(--ink-2); font-size: 15px; }

/* Catalogue list (products page) */
.catalogue { border-top: 1px solid var(--rule-strong); }
.cat-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); padding: 36px 0; border-bottom: 1px solid var(--rule); }
.cat-row .idx { grid-column: span 1; }
.cat-row .idx .num { font-size: 15px; color: var(--muted); }
.cat-row .media { grid-column: span 3; }
.cat-row .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-row .body { grid-column: span 5; }
.cat-row .body h2 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.cat-row .body p { color: var(--ink-2); }
.cat-row .items { grid-column: 10 / span 3; }
.cat-row .items .caps { margin-bottom: 10px; }
.cat-row .items li { font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.cat-row .items li:first-of-type { border-top: 1px solid var(--rule-strong); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 40px; }
.contact .info { grid-column: 1 / span 4; }
.contact .form { grid-column: 6 / span 7; }
.info dl { border-top: 1px solid var(--rule-strong); }
.info dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 16px; }
.info dd { margin: 4px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-size: 17px; }
.info dd a:hover { color: var(--accent); }
.form { border-top: 1px solid var(--rule-strong); padding-top: 8px; }
.field { display: grid; grid-template-columns: 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  border: 0; background: transparent; padding: 6px 0; outline: none; width: 100%; font-size: 17px; border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field:focus-within label { color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
.form .submit { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form .error { color: var(--accent); font-size: 13px; margin-top: 6px; }
.notice { border: 1px solid var(--ink); padding: 16px 20px; margin-bottom: 24px; display: flex; gap: 12px; align-items: baseline; }
.notice .num { color: var(--accent); }
.map { margin-top: 40px; border: 1px solid var(--rule); padding: 8px; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(1); }

/* Footer */
.footer { border-top: 1px solid var(--rule-strong); padding: 56px 0 32px; }
.footer .grid { row-gap: 32px; }
.footer .col-brand { grid-column: 1 / span 4; }
.footer .col-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer .col-brand p { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer .col { grid-column: span 2; }
.footer .col-contact { grid-column: 9 / span 4; }
.footer h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.footer li { padding: 5px 0; font-size: 15px; }
.footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer .legal ul { display: flex; gap: 18px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1 / span 12; }
  .hero-media { grid-column: 1 / span 12; }
  .stat { grid-column: span 6; }
  .stat:nth-child(2) { border-right: 0; }
  .sec-head .title { grid-column: span 10; }
  .sec-head .aside { grid-column: 3 / span 10; }
  .split .text, .split .media { grid-column: 1 / span 12; }
  .step .num { grid-column: span 2; }
  .step .body { grid-column: span 10; }
  .step .meta { grid-column: 3 / span 10; }
  .hubs .intro, .hubs ul { grid-column: 1 / span 12; }
  .cta .text, .cta .act { grid-column: 1 / span 12; }
  .contact .info, .contact .form { grid-column: 1 / span 12; }
  .cat-row .idx { grid-column: span 12; }
  .cat-row .media { grid-column: span 5; }
  .cat-row .body { grid-column: span 7; }
  .cat-row .items { grid-column: 1 / span 12; }
  .footer .col-brand { grid-column: 1 / span 12; }
  .footer .col { grid-column: span 4; }
  .footer .col-contact { grid-column: 1 / span 12; }
}
@media (max-width: 720px) {
  .topbar .hide-sm { display: none; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0 40px; }
  .route-steps { grid-template-columns: 1fr; row-gap: 20px; }
  .route-track { display: none; }
  .route-step::before { display: none; }
  .route-step { border-top: 1px solid var(--rule); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .features { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .hubs ul { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stat { grid-column: span 12; border-right: 0; padding-right: 0; }
  .cat-row .media, .cat-row .body { grid-column: span 12; }
  .step .num, .step .body, .step .meta { grid-column: span 12; }
  .sec-head .idx, .sec-head .title, .sec-head .aside { grid-column: span 12; }
  .section { padding: 48px 0; }
}

/* ------------------------------------------------------------------
   Motion & polish
   ------------------------------------------------------------------ */

/* Easing tokens */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js.reduce .reveal { opacity: 1; transform: none; transition: none; }
.js.reduce h1 .w > span { transform: none; transition: none; }
.js.reduce .page-head .crumbs::before { transition: none; width: 120px; }

/* Word-by-word headline reveal */
.js h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js h1 .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.js.ready h1 .w > span { transform: none; }


/* Header shrink */
.header .wrap, .brand img { transition: height .3s var(--ease-out); }
.header.scrolled .wrap { height: 62px; }
.header.scrolled .brand img { height: 42px; }
.brand img { height: 54px; }
.menu-toggle span { transition: transform .3s var(--ease-out), opacity .2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Nav underline grows from the left */
.nav a:not(.btn) { border-bottom: 0; background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0 1px; transition: background-size .3s var(--ease-out); }
.nav a:not(.btn):hover { background-size: 100% 1px; }
.nav a:not(.btn).active { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 100% 1px; }

/* Buttons */
.btn { position: relative; overflow: hidden; }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* Stats */
.stat .num { transition: color .3s; }
.stat:hover .num { color: var(--accent); }

/* Route strip: progress fill follows the marker */
.route-track .fill { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--accent); animation: fill 14s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes fill {
  0% { width: 0; } 18% { width: 0; }
  28% { width: 25%; } 38% { width: 25%; }
  48% { width: 50%; } 58% { width: 50%; }
  68% { width: 75%; } 78% { width: 75%; }
  88% { width: 100%; } 100% { width: 100%; }
}
.reduce .route-track .fill { animation: none; width: 100%; }
.route-step .num { transition: color .3s; }
.route-step:hover .num { color: var(--accent); }

/* Section index as a large outlined numeral */
.sec-head .idx .num { font-size: clamp(56px, 7vw, 112px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--ink); display: block; transform: translateY(6px); }
.sec-head .idx { align-self: end; }

/* Category cards */
.card { position: relative; }
.card .ph { overflow: hidden; }
.card .ph img { transition: transform .9s var(--ease-out), filter .4s; }
.card:hover .ph img { transform: scale(1.06); filter: saturate(1); }
.card .top .num { transition: color .3s; }
.card:hover .top .num { color: var(--accent); }
.card .more::after { content: ""; display: inline-block; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease-out); }
.card:hover .more::after { width: 24px; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.card:hover::after { transform: scaleX(1); }

/* Catalogue rows */
.cat-row .media { overflow: hidden; }
.cat-row .media img { transition: transform .9s var(--ease-out); }
.cat-row:hover .media img { transform: scale(1.05); }

/* Feature & value hover */
.feature, .value, .step { transition: background .25s; }
.feature:hover, .step:hover { background: var(--bg-soft); }
.value:hover { background: var(--bg-soft); }

/* Brand marquee */
.marquee { position: relative; display: flex; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; flex-shrink: 0; animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .track div { width: 200px; height: 110px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--rule); padding: 20px; flex-shrink: 0; }
.marquee img { max-height: 56px; max-width: 140px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s, transform .3s var(--ease-out); }
.marquee div:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.reduce .marquee .track { animation: none; }
.reduce .marquee { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }

/* CTA band: slowly drifting hairline texture */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -50%; background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(255,255,255,.07) 28px 29px); animation: drift 40s linear infinite; pointer-events: none; }
.cta .wrap { position: relative; }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-82px, -82px, 0); } }
.reduce .cta::before { animation: none; }

/* Page head accent line draws in */
.page-head .crumbs { position: relative; padding-top: 14px; }
.page-head .crumbs::before { content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 1s var(--ease-out) .2s; }
.js.ready .page-head .crumbs::before { width: 120px; }

/* Form focus line */
.field { position: relative; }
.field::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); transition: width .4s var(--ease-out); }
.field:focus-within::after { width: 100%; }

/* Footer link hover */
.footer li a { background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0 1px; transition: background-size .3s var(--ease-out); }
.footer li a:hover { background-size: 100% 1px; color: inherit; }

@media (max-width: 720px) {
  .sec-head .idx .num { font-size: 56px; transform: none; margin-bottom: 8px; }
  .marquee .track div { width: 150px; height: 90px; }
}

/* ------------------------------------------------------------------
   Hero (dark, cinematic: slideshow background + sourcing map)
   ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.slides { position: absolute; inset: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease-in-out); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s linear; }
.slide.is-active { opacity: 1; }
.slide.is-active img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,26,43,.96) 0%, rgba(15,26,43,.9) 38%, rgba(15,26,43,.72) 62%, rgba(15,26,43,.6) 100%),
    linear-gradient(180deg, rgba(15,26,43,.35) 0%, rgba(15,26,43,0) 30%, rgba(15,26,43,.55) 100%); }
.hero-lines { position: absolute; inset: 0; pointer-events: none; width: min(var(--max), 100%); left: 50%; transform: translateX(-50%);
  background-image: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: calc(100% / 12) 100%; background-position: var(--gutter) 0; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 40px; align-items: center;
  min-height: min(calc(100vh - 112px), 820px); padding-top: 64px; padding-bottom: 128px; }
@supports (width: 1dvh) { .hero-inner { min-height: min(calc(100dvh - 112px), 820px); } }
.hero-copy { grid-column: 1 / span 6; }
.hero-map { grid-column: 7 / span 6; align-self: center; }
.hero .kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: rgba(255,255,255,.62); }
.hero .kicker::before { content: ""; width: 40px; height: 1px; background: var(--accent-light); }
.hero .display { color: #fff; font-size: clamp(40px, 4.5vw, 68px); }
.hero .display em { font-style: normal; color: var(--accent-light); }
.hero .lead { margin: 26px 0 34px; max-width: 52ch; color: rgba(255,255,255,.76); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero-facts { display: flex; flex-wrap: wrap; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.35); max-width: 600px; }
.hero-facts li { flex: 1 1 0; padding: 16px 20px 0 0; font-size: 13px; color: rgba(255,255,255,.62); border-right: 1px solid rgba(255,255,255,.14); margin-right: 20px; }
.hero-facts li:last-child { border-right: 0; margin-right: 0; }
.hero-facts .num { display: block; font-size: 30px; line-height: 1; color: #fff; margin-bottom: 6px; }

/* Map */
.wmap { display: block; width: 100%; height: auto; overflow: visible; }
.wmap path:not(.route) { fill: rgba(255,255,255,.12); stroke: rgba(15,26,43,.9); stroke-width: .35; transition: fill .3s; }
.wmap #cn path, .wmap path#cn, .wmap #us path, .wmap path#us { fill: rgba(255,255,255,.26); }
.wmap .route { fill: none; stroke: rgba(111,166,221,.75); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease-out) forwards; }
.wmap .route.main { stroke: var(--accent-light); stroke-width: 1.4; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wmap .ship { fill: var(--accent-light); }
.wmap .ship.small { fill: rgba(255,255,255,.85); }
.wmap .hub .dot { fill: var(--accent-light); }
.wmap .hub .pulse { fill: var(--accent-light); }
.wmap .hub.primary .dot, .wmap .hub.primary .pulse { fill: var(--accent-light); }
.wmap .dest rect { fill: var(--flag); }
.wmap .dest .pulse { fill: var(--flag); }
.wmap .lbl { font-family: var(--font); font-size: 8.5px; fill: rgba(255,255,255,.7); letter-spacing: .02em; }
.wmap .lbl.primary { fill: #fff; font-weight: 500; }
.wmap .lbl.dest { fill: #fff; font-weight: 500; font-size: 9.5px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.62); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend .sw { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); display: inline-block; }
.map-legend .sw.primary { background: var(--accent-light); }
.map-legend .sw.dest { background: var(--flag); border-radius: 0; }
.reduce .wmap .route { animation: none; stroke-dashoffset: 0; }
.reduce .wmap .ship { display: none; }

/* Slide bar */
.slide-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(15,26,43,0), rgba(15,26,43,.5)); }
.slide-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.slide-caption strong { display: block; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.slide-caption span { display: block; font-size: 12px; color: rgba(255,255,255,.62); margin-top: 2px; }
.slide-nav { display: flex; gap: 6px; }
.slide-nav button { background: transparent; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); width: 42px; height: 32px; font-size: 13px; cursor: pointer; border-radius: 0; transition: background .2s, color .2s, border-color .2s; }
.slide-nav button:hover { border-color: #fff; color: #fff; }
.slide-nav button.is-active { background: var(--accent-light); border-color: var(--accent-light); color: var(--dark); }
.slide-progress { height: 2px; background: rgba(255,255,255,.14); position: relative; }
.slide-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent-light); }
.slide-progress.run span { animation: progress var(--slide-ms, 5000ms) linear forwards; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 1024px) {
  .hero-copy, .hero-map { grid-column: 1 / span 12; }
  .hero-map { max-width: 680px; }
  .hero-inner { min-height: 0; padding-top: 64px; padding-bottom: 120px; }
  .hero-lines { display: none; }
}
@media (max-width: 720px) {
  .hero-inner { padding-top: 48px; padding-bottom: 110px; row-gap: 28px; }
  .hero-facts { flex-direction: column; max-width: none; }
  .hero-facts li { border-right: 0; margin-right: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; align-items: baseline; gap: 12px; }
  .hero-facts .num { margin: 0; font-size: 24px; }
  .map-legend { font-size: 11px; gap: 8px 14px; }
  .slide-bar .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Category ticker */
.ticker { display: flex; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg); }
.ticker .track { display: flex; flex-shrink: 0; align-items: center; animation: marquee 48s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px 14px 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.ticker span::after { content: ""; width: 7px; height: 7px; background: var(--accent-2); }
.reduce .ticker .track { animation: none; }
.reduce .ticker { flex-wrap: wrap; }
.reduce .ticker .track { flex-wrap: wrap; }
.reduce .ticker .track[aria-hidden], .reduce .marquee .track[aria-hidden] { display: none; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-copy { padding: 56px 0 40px; }
  .hero-media { min-height: 420px; border-left: 0; border-top: 1px solid var(--rule); margin-bottom: 0; }
  .scroll-cue { display: none; }
  .hero-lines { display: none; }
}
@media (max-width: 720px) {
  .hero-media { min-height: 320px; margin: 0 calc(-1 * var(--gutter)); }
  .slide-bar { padding: 14px 16px 16px; grid-template-columns: 1fr; }
  .slide-nav { order: -1; }
  .hero-facts { flex-direction: column; max-width: none; }
  .hero-facts li { border-right: 0; margin-right: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; align-items: baseline; gap: 12px; }
  .hero-facts .num { margin: 0; font-size: 24px; }
}

/* ------------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------------ */
/* Dark photographic page header */
.page-hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.js.ready .page-hero .bg img { transform: scale(1); }
.page-hero .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,26,43,.95) 0%, rgba(15,26,43,.85) 45%, rgba(15,26,43,.55) 100%), linear-gradient(180deg, rgba(15,26,43,.2), rgba(15,26,43,.6)); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 56px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 22px; position: relative; padding-top: 14px; }
.page-hero .crumbs::before { content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--accent-light); transition: width 1s var(--ease-out) .2s; }
.js.ready .page-hero .crumbs::before, .js.reduce .page-hero .crumbs::before { width: 120px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .display { color: #fff; font-size: clamp(36px, 4.6vw, 64px); max-width: 18ch; }
.page-hero .display em { font-style: normal; color: var(--accent-light); }
.page-hero .lead { margin-top: 20px; max-width: 58ch; color: rgba(255,255,255,.76); }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 0 40px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.page-hero .meta li { font-size: 13px; color: rgba(255,255,255,.62); display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.page-hero .meta .num { font-size: 22px; color: #fff; }
.page-hero .idx { position: absolute; right: var(--gutter); bottom: 40px; font-size: clamp(80px, 12vw, 180px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); pointer-events: none; }

/* Sticky category index (products) */
.cat-index { position: sticky; top: 62px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.cat-index ol { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cat-index ol::-webkit-scrollbar { display: none; }
.cat-index li { flex: 0 0 auto; }
.cat-index a { display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px 0; margin-right: 18px; font-size: 13px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.cat-index a .num { font-size: 12px; color: var(--muted); }
.cat-index a:hover { color: var(--ink); }
.cat-index a.active { color: var(--ink); border-bottom-color: var(--accent); }
.cat-index a.active .num { color: var(--accent); }
.cat-row { scroll-margin-top: 130px; }
.cat-row .body .row-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 500; }
.cat-row .body .row-cta::after { content: ""; width: 24px; height: 1px; background: var(--accent); transition: width .3s var(--ease-out); }
.cat-row .body .row-cta:hover::after { width: 40px; }
.cat-row .idx .num { transition: color .3s; }
.cat-row:hover .idx .num { color: var(--accent); }

/* Timeline (how we source) */
.timeline { position: relative; }
.timeline .line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.timeline .line span { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--accent); transition: height .2s linear; }
.timeline .steps { border-top: 0; margin-left: 40px; }
.timeline .step { position: relative; }
.timeline .step::before { content: ""; position: absolute; left: -44px; top: 36px; width: 9px; height: 9px; background: #fff; border: 1px solid var(--ink); transition: background .3s, border-color .3s, transform .3s; }
.timeline .step.lit::before { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
.timeline .step.lit .num { color: var(--accent); }
.step .num { transition: color .3s; }
.step .media { grid-column: 10 / span 3; }
.step .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* About */
.split .media { position: relative; }
.float-card { position: absolute; left: -32px; bottom: 40px; background: var(--accent); color: #fff; padding: 22px 26px 24px; max-width: 240px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.float-card .num { font-size: 56px; line-height: .9; display: block; margin-bottom: 8px; }
.float-card p { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.9); }
.band { background: var(--dark); color: #fff; padding: 56px 0; }
.band .stats { border-top-color: rgba(255,255,255,.4); }
.band .stat { border-right-color: rgba(255,255,255,.14); }
.band .stat .label { color: rgba(255,255,255,.62); }
.band .stat:hover .num { color: var(--accent-light); }
.value { position: relative; overflow: hidden; }
.value::after { content: attr(data-idx); position: absolute; right: 12px; bottom: -22px; font-family: var(--font-cond); font-weight: 700; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--rule); transition: -webkit-text-stroke-color .3s, transform .4s var(--ease-out); pointer-events: none; }
.value:hover::after { -webkit-text-stroke-color: var(--accent); transform: translateY(-8px); }

/* Contact */
.contact .form-card { grid-column: 6 / span 7; }
.contact .form-card .form { grid-column: auto; }
.form-card { background: var(--bg-soft); border: 1px solid var(--rule); padding: 8px 28px 28px; }
.form-card .form { border-top: 0; }
.form-card .field input, .form-card .field select, .form-card .field textarea { background: transparent; }
.next-steps { margin-top: 36px; border-top: 1px solid var(--rule-strong); }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.next-steps .num { color: var(--accent); font-size: 14px; padding-top: 3px; }
.next-steps strong { display: block; font-weight: 500; }
.next-steps span { color: var(--muted); font-size: 14px; }
.contact .map { grid-column: 1 / span 12; margin-top: 0; }

@media (max-width: 1024px) {
  .page-hero .idx { display: none; }
  .cat-index { top: 62px; }
  .step .media { grid-column: 3 / span 10; }
  .float-card { left: 16px; bottom: 24px; }
}
@media (max-width: 720px) {
  .page-hero .wrap { min-height: 320px; padding-top: 56px; padding-bottom: 40px; }
  .page-hero .meta { gap: 0 24px; }
  .timeline .line { display: none; }
  .timeline .steps { margin-left: 0; }
  .timeline .step::before { display: none; }
  .step .media { grid-column: span 12; }
  .form-card { padding: 4px 16px 20px; }
  .float-card { position: static; max-width: none; margin-top: 12px; }
}

/* Mobile fixes */
@media (max-width: 1024px) {
  .contact .form-card { grid-column: 1 / span 12; }
  .cat-row .items { margin-top: 20px; }
  .footer .legal ul { gap: 10px 18px; }
}
@media (max-width: 720px) {
  .brand img { height: 42px; width: auto; }
  .header.scrolled .brand img { height: 38px; }
  .cat-index a { padding: 14px 12px 12px 0; margin-right: 12px; }
  .page-hero .meta li { width: 100%; }
}
