/* ==========================================================================
   R S Traders: design system
   Brand burgundy #6D000B is the mean ink colour sampled from the supplied logo.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #6D000B;
  --brand-600: #8C0F1C;
  --brand-700: #5A0009;
  --brand-800: #420207;
  --brand-900: #2A0105;
  --brand-950: #1C0104;
  --brand-50: #FBF5F5;
  --brand-100: #F6E8E9;
  --brand-200: #ECD0D3;
  --brand-300: #D9A7AC;

  /* Neutrals */
  --ink: #161214;
  --charcoal: #2E292B;
  --text: #3A3537;
  --muted: #6A6366;
  --line: rgba(22, 18, 20, .11);
  --line-strong: rgba(22, 18, 20, .2);
  --paper: #FFFFFF;
  --warm: #FAF7F4;
  --mist: #F3F1EF;

  /* Cold chain accent (used only for temperature visuals) */
  --ice: #EDF4F7;
  --ice-200: #CFE3EB;
  --ice-ink: #1F5468;

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --header-h: 84px;
  --section: clamp(48px, 5.5vw, 88px);
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 30px;

  /* Depth & motion */
  --shadow-1: 0 1px 2px rgba(42, 1, 5, .05), 0 10px 30px -16px rgba(42, 1, 5, .22);
  --shadow-2: 0 2px 6px rgba(42, 1, 5, .06), 0 40px 80px -40px rgba(42, 1, 5, .45);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .mobile-nav :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 20px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 1.2rem + 5.6vw, 6.4rem); line-height: .98; letter-spacing: -0.045em; font-weight: 700; }
.h1 { font-size: clamp(2.5rem, 1.45rem + 3.9vw, 5rem); line-height: 1.01; letter-spacing: -0.042em; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.6rem); line-height: 1.05; }
.h3 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); line-height: 1.15; letter-spacing: -0.025em; }
.h4 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; }
.display em, .h1 em, .h2 em, .h3 em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.display em, .h1 em, .h2 em { font-size: 1.08em; line-height: .9; }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em { color: var(--brand-200); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.6; color: var(--charcoal); max-width: 60ch; }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 66ch; }
.text-balance { text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M139.07 7.95A100 100 0 1 0 199.94 103.49A80 80 0 1 1 139.07 7.95Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M139.07 7.95A100 100 0 1 0 199.94 103.49A80 80 0 1 1 139.07 7.95Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.on-dark .eyebrow { color: var(--brand-200); }
.index-label { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--brand); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(980px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--warm { background: var(--warm); }
.section--mist { background: var(--mist); }
.section--brand { background: var(--brand-50); }
.section--dark { background: var(--brand-900); color: rgba(255, 255, 255, .78); }
.section--dark .h1, .section--dark .h2, .section--dark .h3, .section--dark .h4, .section--dark .display { color: #fff; }
.on-dark { color: rgba(255, 255, 255, .78); }
.on-dark .lead { color: rgba(255, 255, 255, .82); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.rule-top { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 3.2vw, 48px); }
.section-head__title { max-width: 18ch; }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
  .section-head--split .lead { justify-self: end; }
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .section-head__title { max-width: 20ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-dot: rgba(255, 255, 255, .16);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 6px 7px 6px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; letter-spacing: -0.005em; line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  isolation: isolate;
}
.btn:hover { --btn-bg: var(--brand-800); box-shadow: 0 16px 30px -16px rgba(109, 0, 11, .7); }
.btn:active { transform: translateY(1px); }
.btn__icon {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--btn-dot); overflow: hidden;
}
.btn__icon .icon { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn__icon .icon + .icon { position: absolute; transform: translateX(-160%); }
.btn:hover .btn__icon .icon:first-child { transform: translateX(160%); }
.btn:hover .btn__icon .icon + .icon { transform: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand); --btn-dot: var(--brand-100); }
.btn--light:hover { --btn-bg: var(--brand-50); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-dot: var(--brand-100); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-dot: rgba(255, 255, 255, .14); border-color: var(--ink); box-shadow: none; }
.on-dark .btn--ghost, .btn--ghost-light { --btn-fg: #fff; --btn-dot: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--brand); --btn-dot: var(--brand-100); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 4px 5px 4px 20px; font-size: .88rem; gap: 10px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--plain { padding: 6px 26px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .btn__icon .icon:first-child { animation: spin .8s linear infinite; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem; color: var(--brand);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease-out);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .icon { transform: translateX(5px); }
.on-dark .link-arrow { color: #fff; }

/* ---------- Icons & crescent ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.crescent { color: var(--brand); }
.icon-badge {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px;
  background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100);
}
.icon-badge .icon { width: 24px; height: 24px; }
.on-dark .icon-badge { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), transform .45s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { --header-h: 72px; }
.site-header.is-scrolled::before { box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px rgba(42, 1, 5, .28); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.site-header .container { max-width: 1680px; padding-inline: clamp(16px, 2vw, 36px); }

.brand-lockup { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-lockup__mark { position: relative; width: 58px; height: 51px; }
.brand-lockup__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s var(--ease); }
.brand-lockup__mark .logo-white { opacity: 0; }
.brand-lockup__text { display: grid; line-height: 1.1; }
.brand-lockup__name { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand-lockup__sub { font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .62; margin-top: 3px; }

.primary-nav { margin-left: auto; display: none; }
.primary-nav__list { position: relative; display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 8px; font-size: .875rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border-radius: 10px; opacity: .86; transition: opacity .25s var(--ease), color .25s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"], .nav-link.is-active { opacity: 1; }
.nav-link .icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-indicator {
  position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; border-radius: 2px;
  background: currentColor; opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s var(--ease);
}
.site-header .btn { margin-left: 8px; }

.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5;
  width: min(640px, 90vw); padding: 12px;
  background: #fff; color: var(--ink); border-radius: 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.985); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s linear .3s;
}
.nav-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-item.is-open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.nav-menu__grid { display: grid; gap: 4px; }
.nav-menu__grid--2 { grid-template-columns: 1fr 1fr; }
.nav-menu__link {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px;
  transition: background-color .25s var(--ease);
}
.nav-menu__link:hover, .nav-menu__link:focus-visible { background: var(--brand-50); }
.nav-menu__link .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.nav-menu__link .icon-badge .icon { width: 20px; height: 20px; }
.nav-menu__title { display: block; font-weight: 700; font-size: .95rem; color: var(--ink); letter-spacing: -0.01em; }
.nav-menu__desc { display: block; font-size: .82rem; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.nav-menu__num { font-family: var(--font-serif); font-style: italic; color: var(--brand); font-size: 1.1rem; line-height: 1; min-width: 22px; margin-top: 2px; }
.nav-menu__foot {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center;
  margin-top: 8px; padding: 14px 16px; border-radius: 16px; background: var(--warm); font-size: .85rem;
}
.nav-menu__foot a { font-weight: 700; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }
.nav-menu__foot .icon { width: 16px; height: 16px; }
.loc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-300); flex: none; margin-top: 7px; box-shadow: 0 0 0 4px var(--brand-50); }
.loc-dot--hq { background: var(--brand); }

.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid currentColor;
  font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
}
.menu-toggle__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; }
.menu-toggle__icon .icon { width: 18px; height: 18px; }

@media (min-width: 1280px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) { .site-header .brand-lockup__sub { display: none; } }
@media (max-width: 420px) {
  .brand-lockup__sub { display: none; }
  .menu-toggle__label { display: none; }
  .menu-toggle { padding: 0 6px; border: 0; }
}

/* ---------- Mobile navigation ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column;
  background: var(--brand-900); color: #fff;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
  overflow: hidden;
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition-delay: 0s; }
.mobile-nav__bg { position: absolute; right: -30vw; bottom: -20vw; width: 110vw; max-width: 760px; color: rgba(255, 255, 255, .045); pointer-events: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: 84px; padding-inline: var(--gutter); flex: none; }
.mobile-nav__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.mobile-nav__body { position: relative; flex: 1; overflow-y: auto; padding: 12px var(--gutter) 32px; overscroll-behavior: contain; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.mobile-nav.is-open .mobile-nav__list > li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * .045s); }
.mobile-nav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; font-size: clamp(1.45rem, 1rem + 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; text-align: left; }
.mobile-nav__link[aria-current="page"] { color: var(--brand-200); }
.mobile-nav__link .icon { width: 22px; height: 22px; opacity: .7; transition: transform .35s var(--ease); }
.mobile-nav__link[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-nav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.mobile-nav__sub.is-open { grid-template-rows: 1fr; }
.mobile-nav__sub > ul { overflow: hidden; list-style: none; margin: 0; padding: 0; }
.mobile-nav__sub a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0 10px 4px; color: rgba(255, 255, 255, .8); font-weight: 600; }
.mobile-nav__sub li:last-child a { padding-bottom: 20px; }
.mobile-nav__sub small { color: rgba(255, 255, 255, .5); font-size: .78rem; font-weight: 600; }
.mobile-nav__foot { padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 14px; flex: none; position: relative; }
.mobile-nav__foot p { font-size: .82rem; color: rgba(255, 255, 255, .55); }
body.nav-open { overflow: hidden; }

/* ---------- Page loader (first visit per session) ---------- */
.loader { display: none; }
.show-loader .loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--warm);
  transition: clip-path .8s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.show-loader.loaded .loader { clip-path: inset(0 0 100% 0); }
.loader__mark { width: 96px; color: var(--brand); }
.loader__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease-in-out) forwards; }
.loader__cross { position: absolute; width: 20px; height: 20px; margin: -52px 0 0 64px; color: var(--brand); opacity: 0; animation: fade-in .4s .7s forwards; }

/* ---------- Heroes ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #5B0A12 0%, var(--brand-900) 45%, var(--brand-950) 100%);
  color: rgba(255, 255, 255, .8);
  padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 36px);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__crescent {
  position: absolute; z-index: -1; right: -12vw; top: -8vw; width: min(78vw, 1100px);
  color: rgba(255, 255, 255, .09); pointer-events: none;
}
.hero__crescent path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s .3s var(--ease-in-out) forwards; }
.hero__crescent--fill { color: rgba(255, 255, 255, .025); right: -10vw; top: -6vw; }
.hero__crescent--fill path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
.hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__title { color: #fff; }
.hero__title .line { display: block; }
.hero__lead { margin-top: clamp(20px, 2.5vw, 32px); }
.hero .btn-row { margin-top: clamp(28px, 3.5vw, 44px); }
.hero__media { position: relative; min-height: 380px; }
.hero__frame {
  position: relative; overflow: hidden; border-radius: 28px 28px 28px 160px;
  aspect-ratio: 4 / 4.2; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .8);
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 74px, #000 75px); mask: radial-gradient(circle at 100% 0, transparent 74px, #000 75px);
}
.hero__frame picture, .hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(42, 1, 5, 0) 40%, rgba(42, 1, 5, .55)); }
.hero__cross {
  position: absolute; top: 12px; right: 12px; width: 50px; height: 50px; display: grid; place-items: center;
  color: #fff; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 8px rgba(255, 255, 255, .06);
}
.hero__cross .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.hero__card {
  position: absolute; left: -8%; bottom: 8%; width: 46%; min-width: 190px;
  border-radius: 20px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8);
  aspect-ratio: 4 / 3;
}
.hero__card img, .hero__card picture { width: 100%; height: 100%; object-fit: cover; }
.glass-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  color: #fff; font-size: .82rem; line-height: 1.3; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.glass-chip strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.glass-chip .icon-badge { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .15); color: #fff; }
.glass-chip--a { top: 14%; left: -12%; }
.glass-chip--b { right: -4%; bottom: -4%; }
.hero__foot {
  margin-top: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.hero__locations { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero__locations li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); }
.hero__locations .icon { width: 16px; height: 16px; color: var(--brand-200); }
.hero__locations li:first-child { color: #fff; font-weight: 700; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.scroll-cue span { width: 26px; height: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .3); position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease-in-out) infinite; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero__media { padding-left: 6%; }
}
@media (max-width: 1023px) {
  .hero__media { max-width: 560px; margin-inline: auto; width: 100%; margin-top: 8px; }
  .glass-chip--a { left: -2%; }
  .hero__card { left: -3%; }
}
@media (max-width: 560px) {
  .hero__media { min-height: 0; }
  .hero__frame { border-radius: 22px 22px 22px 110px; }
  .glass-chip--a { top: 6%; left: 4%; }
  .glass-chip--b { right: 4%; bottom: -6%; }
  .hero__card { display: none; }
}

/* Inner page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(24px, 3vw, 44px) 0 clamp(36px, 4.5vw, 64px);
  background: var(--warm);
}
.page-hero__crescent { position: absolute; z-index: -1; right: -14vw; top: -10vw; width: min(70vw, 980px); color: var(--brand-100); pointer-events: none; }
.page-hero__crescent path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .2s var(--ease-in-out) forwards; }
.page-hero__grid { display: grid; gap: 32px; align-items: end; margin-top: clamp(20px, 3vw, 40px); }
.page-hero__title { max-width: 17ch; }
.page-hero__lead { margin-top: 24px; }
.page-hero__aside { display: grid; gap: 18px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero--dark {
  background: radial-gradient(110% 100% at 90% 0%, #560912 0%, var(--brand-900) 50%, var(--brand-950) 100%);
  color: rgba(255, 255, 255, .8);
}
.page-hero--dark .page-hero__crescent { color: rgba(255, 255, 255, .1); }
.page-hero--dark .page-hero__title { color: #fff; }
.page-hero--dark .breadcrumbs, .page-hero--dark .breadcrumbs a { color: rgba(255, 255, 255, .65); }
.page-hero--dark .breadcrumbs [aria-current] { color: #fff; }
.page-hero__media { margin-top: clamp(28px, 3.5vw, 48px); }
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 64px; }
  .page-hero__grid--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.hero-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(5rem, 3rem + 9vw, 12rem); line-height: .8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
}
.page-hero:not(.page-hero--dark) .hero-num { -webkit-text-stroke-color: var(--brand-300); }

/* Breadcrumbs */
.breadcrumbs { font-size: .82rem; font-weight: 600; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; margin-right: 2px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Crescent-cut editorial frame (motif) */
.frame {
  position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--mist);
}
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--cut { -webkit-mask: radial-gradient(circle at 100% 0, transparent 64px, #000 65px); mask: radial-gradient(circle at 100% 0, transparent 64px, #000 65px); }
.frame--arch { border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 180px; }
.frame-wrap { position: relative; }
.frame-wrap .frame-badge {
  position: absolute; top: 8px; right: 8px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
}
.frame-badge .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.frame--wide { aspect-ratio: 21 / 9; }
.frame--landscape { aspect-ratio: 4 / 3; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1; }
@media (max-width: 700px) { .frame--wide { aspect-ratio: 16 / 10; } }
.frame figcaption, .caption {
  font-size: .8rem; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; align-items: center;
}
.caption::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.frame__label {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .78rem; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.stat { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px) clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line-strong); position: relative; }
.stat + .stat { padding-left: clamp(16px, 2vw, 32px); }
.stat:nth-child(2n+1) { padding-left: 0; }
.stat__value {
  display: flex; align-items: flex-start; gap: 2px;
  font-size: clamp(3rem, 2rem + 4vw, 5.6rem); font-weight: 600; line-height: .95; letter-spacing: -0.055em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--brand); font-size: .6em; line-height: 1.2; letter-spacing: -0.02em; }
.stat__label { margin-top: 14px; font-weight: 700; color: var(--ink); font-size: .98rem; letter-spacing: -0.01em; }
.stat__note { margin-top: 4px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.on-dark .stat, .section--dark .stat { border-top-color: rgba(255, 255, 255, .18); }
.on-dark .stat__value, .section--dark .stat__value { color: #fff; }
.on-dark .stat__label, .section--dark .stat__label { color: #fff; }
.on-dark .stat__note, .section--dark .stat__note { color: rgba(255, 255, 255, .6); }
.on-dark .stat__suffix, .section--dark .stat__suffix { color: var(--brand-200); }
@media (min-width: 960px) {
  .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats--4 .stat:nth-child(2n+1) { padding-left: clamp(16px, 2vw, 32px); }
  .stats--4 .stat:first-child { padding-left: 0; }
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--3 .stat:nth-child(2n+1) { padding-left: clamp(16px, 2vw, 32px); }
  .stats--3 .stat:first-child { padding-left: 0; }
}

.resource-strip {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.4vw, 32px); align-items: center;
}
.resource-strip__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--charcoal);
}
.pill b { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Service cards (home) ---------- */
.service-cards { display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1024px) {
  .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; }
.service-card__media picture, .service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 1, 4, .55) 0%, rgba(28, 1, 4, 0) 45%, rgba(28, 1, 4, .15) 100%); }
.service-card__num {
  position: absolute; z-index: 2; top: 18px; left: 24px;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 1; color: #fff; letter-spacing: -0.03em;
}
.service-card__icon { position: absolute; z-index: 2; top: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out); }
.service-card:hover .service-card__icon { transform: rotate(-12deg) scale(1.05); }
.service-card__crescent {
  position: absolute; z-index: 1; right: -30%; bottom: -46%; width: 90%; color: rgba(109, 0, 11, .85);
  transform: translate(18%, 18%) rotate(-10deg); opacity: 0; transition: transform .9s var(--ease-out), opacity .6s var(--ease);
  mix-blend-mode: multiply;
}
.service-card:hover .service-card__crescent { transform: translate(0, 0) rotate(0); opacity: .9; }
.service-card__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.4vw, 34px); flex: 1; }
.service-card__title { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.service-card__text { color: var(--text); }
.service-card__points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.service-card__points li { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--warm); color: var(--charcoal); border: 1px solid var(--line); }
.service-card__link { margin-top: auto; padding-top: 10px; }
.service-card__link a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }

/* ---------- Editorial split ---------- */
.split { display: grid; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--wide-text { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.statement { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.9rem); line-height: 1.18; letter-spacing: -0.035em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.statement em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--brand); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; margin-top: -1px;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D000B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--brand-100);
}
.on-dark .check-list li::before { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.check-list--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: 1fr 1fr; gap: 16px 28px; } }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.feature {
  position: relative; background: #fff; padding: clamp(26px, 2.6vw, 38px); display: grid; gap: 14px; align-content: start;
  transition: background-color .4s var(--ease);
}
.feature:hover { background: var(--brand-50); }
.feature__title { font-weight: 700; color: var(--ink); font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.3; }
.feature__text { font-size: .96rem; color: var(--text); }
.feature__num { position: absolute; top: 24px; right: 26px; font-family: var(--font-serif); font-style: italic; color: var(--brand-300); font-size: 1.1rem; }
.section--dark .feature-grid, .on-dark .feature-grid { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature, .on-dark .feature { background: var(--brand-900); }
.section--dark .feature:hover, .on-dark .feature:hover { background: #33030A; }
.section--dark .feature__title, .on-dark .feature__title { color: #fff; }
.section--dark .feature__text, .on-dark .feature__text { color: rgba(255, 255, 255, .7); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 34px);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }

/* ---------- Distribution flow ---------- */
.flow { position: relative; display: grid; gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 34px; }
.flow__step:last-child { padding-bottom: 0; }
.flow__node {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--brand); border: 1px solid var(--brand-200);
  box-shadow: 0 0 0 8px var(--paper);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-out);
}
.section--warm .flow__node { box-shadow: 0 0 0 8px var(--warm); }
.flow__step--brand .flow__node { background: var(--brand); color: #fff; border-color: var(--brand); }
.flow__step:hover .flow__node { transform: scale(1.06); }
.flow__node .icon { width: 26px; height: 26px; }
.flow__line { position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--brand-100); overflow: hidden; }
.flow__step:last-child .flow__line { display: none; }
.flow__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--brand)); animation: flow-y 2.6s var(--ease-in-out) infinite; animation-delay: calc(var(--i, 0) * .35s); }
.flow__label { font-weight: 800; color: var(--ink); letter-spacing: -0.015em; font-size: 1.08rem; line-height: 1.25; padding-top: 8px; }
.flow__text { font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.flow__tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); gap: 16px; }
  .flow__step { grid-template-columns: 1fr; gap: 18px; padding-bottom: 0; text-align: left; }
  .flow__line { left: 72px; right: -16px; top: 31px; bottom: auto; width: auto; height: 2px; }
  .flow__line::after { top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--brand)); animation-name: flow-x; }
  .flow__label { padding-top: 0; }
}

/* ---------- Network map ---------- */
.netmap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .netmap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.netmap__canvas { position: relative; width: 100%; }
.netmap__svg { width: 100%; height: auto; overflow: visible; }
.netmap__dots { fill: var(--brand); }
.netmap__land-fill { fill: var(--brand-50); }
.netmap__land-stroke { fill: none; stroke: var(--brand-200); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.netmap__region { font-size: 20px; font-weight: 800; letter-spacing: .5em; fill: var(--brand-300); opacity: .7; }
.netmap__region--out { fill: var(--muted); opacity: .45; font-size: 15px; letter-spacing: .38em; }
.netmap__link { fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .55; vector-effect: non-scaling-stroke; animation: dash 1.6s linear infinite; }
.netmap__glow { fill: url(#netmapGlow); opacity: 0; transition: opacity .5s var(--ease); }
.netmap__marker { cursor: pointer; }
.netmap__pulse { fill: var(--brand); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease-out) infinite; }
.netmap__dot { fill: var(--brand); stroke: #fff; stroke-width: 3; transition: r .35s var(--ease-out); }
.netmap__hq-ring { fill: none; stroke: var(--brand); stroke-width: 1.5; }
.netmap__label { font-size: 17px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: 5px; stroke-linejoin: round; letter-spacing: -.01em; transition: fill .3s var(--ease); }
.netmap__label-sub { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; fill: var(--brand); text-transform: uppercase; paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: 4px; }
.netmap__marker.is-active .netmap__glow { opacity: 1; }
.netmap__marker.is-active .netmap__dot { r: 11; }
.netmap__marker.is-active .netmap__label { fill: var(--brand); }
.netmap.has-active .netmap__marker:not(.is-active) { opacity: .55; }
.netmap__marker { transition: opacity .4s var(--ease); }
.netmap__hit { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; z-index: 2; }
.netmap__hit:focus-visible { outline-offset: -4px; }
.section--dark .netmap__land-fill, .on-dark .netmap__land-fill { fill: rgba(255, 255, 255, .03); }
.section--dark .netmap__land-stroke { stroke: rgba(255, 255, 255, .22); }
.section--dark .netmap__dots { fill: #fff; }
.section--dark .netmap__label { fill: #fff; stroke: rgba(42, 1, 5, .9); }
.section--dark .netmap__label-sub { fill: var(--brand-200); stroke: rgba(42, 1, 5, .9); }
.section--dark .netmap__dot { stroke: var(--brand-900); fill: #fff; }
.section--dark .netmap__pulse { fill: #fff; opacity: .2; }
.section--dark .netmap__link { stroke: #fff; opacity: .35; }
.section--dark .netmap__region { fill: rgba(255, 255, 255, .3); }
.section--dark .netmap__region--out { fill: rgba(255, 255, 255, .3); }
.section--dark .netmap__marker.is-active .netmap__label { fill: #fff; }
.section--dark .netmap__hq-ring { stroke: #fff; }

.netmap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.loc-btn {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-align: left;
  padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease-out);
}
.loc-btn:hover { border-color: var(--brand-200); transform: translateX(4px); }
.loc-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-1); }
.loc-btn__name { font-weight: 800; color: var(--ink); letter-spacing: -0.015em; display: block; font-size: 1.05rem; }
.loc-btn__meta { font-size: .8rem; color: var(--muted); font-weight: 600; }
.loc-btn__count { font-size: .78rem; font-weight: 800; color: var(--brand); background: var(--brand-50); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.loc-btn .loc-dot { margin-top: 0; }
.section--dark .loc-btn { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--dark .loc-btn__name { color: #fff; }
.section--dark .loc-btn__meta { color: rgba(255, 255, 255, .55); }
.section--dark .loc-btn[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.section--dark .loc-btn__count { background: rgba(255, 255, 255, .1); color: #fff; }

.loc-panel { margin-top: 18px; padding: 24px; border-radius: 22px; background: var(--brand); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; animation: panel-in .5s var(--ease-out); }
.loc-panel .crescent { position: absolute; right: -60px; bottom: -80px; width: 220px; color: rgba(255, 255, 255, .08); }
.loc-panel__type { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-200); }
.loc-panel__name { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-top: 4px; }
.loc-panel__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; margin: 16px 0 18px; }
.loc-panel__facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.loc-panel__facts dd { font-weight: 800; color: #fff; font-size: 1.02rem; }
.loc-panel .link-arrow { color: #fff; }
.section--dark .loc-panel { background: #fff; color: var(--text); }
.section--dark .loc-panel__name { color: var(--ink); }
.section--dark .loc-panel__type { color: var(--brand); }
.section--dark .loc-panel__facts dt { color: var(--muted); }
.section--dark .loc-panel__facts dd { color: var(--ink); }
.section--dark .loc-panel .link-arrow { color: var(--brand); }
.section--dark .loc-panel .crescent { color: var(--brand-50); }
@media (max-width: 480px) { .loc-panel__facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Branch cards ---------- */
.branch-cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .branch-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .branch-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); } .branch-cards > :nth-child(-n+2) { grid-column: span 3; } .branch-cards > :nth-child(n+3) { grid-column: span 2; } }
.branch-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.branch-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-900); }
.branch-card__media img, .branch-card__media picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.branch-card:hover .branch-card__media img { transform: scale(1.05); }
.branch-card__badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.branch-card__badge--hq { background: var(--brand); color: #fff; }
.branch-card__body { padding: 24px 26px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.branch-card__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.branch-card__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.branch-card__facts span { display: inline-flex; gap: 6px; align-items: center; }
.branch-card__facts .icon { width: 16px; height: 16px; color: var(--brand); }
.branch-card .link-arrow { margin-top: 6px; }
.branch-card .link-arrow::after { content: ""; position: absolute; inset: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 90% at 70% 20%, #5B0A12, var(--brand-900)); color: #fff; }
.map-placeholder svg { width: 88%; height: 88%; }
.map-placeholder .netmap__land-fill { fill: rgba(255, 255, 255, .04); }
.map-placeholder .netmap__land-stroke { stroke: rgba(255, 255, 255, .25); }
.map-placeholder .netmap__dots { fill: #fff; }

/* ---------- Principals ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--duration, 48s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 18px; padding-right: 18px; list-style: none; margin: 0; padding-left: 0; }
.marquee + .marquee { margin-top: 18px; }
.logo-tile {
  display: grid; place-items: center; width: 220px; height: 120px; padding: 22px 28px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease-out);
}
.logo-tile img { height: 60px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .45s var(--ease), opacity .45s var(--ease); }
.logo-tile:hover img, .logo-tile:focus-within img { filter: none; opacity: 1; }
.logo-tile:hover { border-color: var(--brand-200); box-shadow: var(--shadow-1); }
.wordmark { font-family: var(--font-serif); font-size: 1.9rem; font-style: italic; letter-spacing: -0.01em; color: var(--charcoal); line-height: 1; opacity: .8; }
.logo-tile .wordmark { transition: color .4s var(--ease); }
.logo-tile:hover .wordmark { color: var(--brand); opacity: 1; }

.principal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .principal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .principal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.principal-card { position: relative; display: grid; grid-template-rows: 130px auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: box-shadow .4s var(--ease), transform .5s var(--ease-out), border-color .3s; }
.principal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--brand-200); }
.principal-card__logo { display: grid; place-items: center; padding: 22px; background: linear-gradient(180deg, #fff, var(--warm)); }
.principal-card__logo img { height: 64px; width: auto; max-width: 80%; object-fit: contain; }
.principal-card__body { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.principal-card__name { font-weight: 800; color: var(--ink); letter-spacing: -0.015em; }
.principal-card__locs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; padding: 0; }
.principal-card__locs li { font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand); }
@media (max-width: 480px) { .principal-card { grid-template-rows: 100px auto; } .principal-card__logo { padding: 14px; } .principal-card__body { padding: 12px 14px 14px; } }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.matrix caption { text-align: left; padding: 18px 22px; font-weight: 700; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); }
.matrix th, .matrix td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; background: var(--warm); position: sticky; top: 0; }
.matrix tbody th { text-align: left; font-weight: 700; color: var(--ink); white-space: nowrap; }
.matrix tbody tr:hover { background: var(--brand-50); }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.matrix .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; }
.matrix .yes .icon { width: 14px; height: 14px; stroke-width: 3; }
.matrix .no { display: inline-block; width: 8px; height: 2px; background: var(--line-strong); border-radius: 2px; vertical-align: middle; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tabs__list--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 22px; }
.tabs__list--scroll::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; color: var(--charcoal); transition: background-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.tab:hover { background: var(--brand-50); color: var(--brand); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--brand); color: #fff; }
.tab__count { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(109, 0, 11, .08); }
.tab[aria-selected="true"] .tab__count, .tab[aria-pressed="true"] .tab__count { background: rgba(255, 255, 255, .2); }
.tab-panel { animation: panel-in .5s var(--ease-out); }
.tab-panel:focus-visible { outline-offset: 8px; }

/* ---------- Territory ---------- */
.territory__controls { display: grid; gap: 16px; align-items: center; margin-bottom: 32px; }
@media (min-width: 1100px) { .territory__controls { grid-template-columns: 1fr 360px; } }
.search-field { position: relative; }
.search-field input {
  width: 100%; height: 56px; padding: 0 20px 0 52px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 1rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.search-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.search-field .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.territory__status { font-size: .88rem; color: var(--muted); font-weight: 600; min-height: 1.4em; }
.territory__layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1100px) { .territory__layout { grid-template-columns: 420px 1fr; gap: 48px; } .territory__map { position: sticky; top: calc(var(--header-h) + 24px); } }
.territory__map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; }
.tpanel { border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; transition: box-shadow .4s var(--ease), border-color .3s var(--ease); }
.tpanel + .tpanel { margin-top: 14px; }
.tpanel[open] { box-shadow: var(--shadow-1); border-color: var(--brand-200); }
.tpanel__summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; cursor: pointer; }
.tpanel__summary::-webkit-details-marker { display: none; }
.tpanel__summary:hover .tpanel__name { color: var(--brand); }
.tpanel__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.025em; color: var(--ink); transition: color .3s var(--ease); }
.tpanel__meta { font-size: .82rem; color: var(--muted); font-weight: 600; }
.tpanel__toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .4s var(--ease), background-color .3s; }
.tpanel[open] .tpanel__toggle { transform: rotate(45deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.tpanel__toggle .icon { width: 18px; height: 18px; }
.tpanel__count { display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 8px; border-radius: 16px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.tpanel__body { padding: 0 24px 24px; }
.towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.town { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--warm); font-size: .92rem; font-weight: 600; color: var(--charcoal); border: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.town::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); flex: none; }
.town--hub { background: var(--brand); color: #fff; }
.town--hub::before { background: #fff; }
.town mark { background: var(--brand-200); color: var(--ink); border-radius: 3px; padding: 0 1px; }
.town.is-match { border-color: var(--brand); background: #fff; }
.tpanel__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.empty-state { padding: 40px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 22px; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.timeline__list { list-style: none; margin: 0; padding: 0; }
.timeline__rail { position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--brand-100); border-radius: 2px; }
.timeline__rail::after { content: ""; position: absolute; inset: 0 0 auto 0; height: calc(var(--progress, 0) * 100%); background: var(--brand); border-radius: 2px; transition: height .15s linear; }
.timeline__item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: clamp(24px, 3vw, 40px); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand-200); color: var(--brand); transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-out); }
.timeline__dot .icon { width: 20px; height: 20px; }
.timeline__item.is-reached .timeline__dot { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.timeline__date { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--brand); line-height: 1.1; }
.timeline__title { font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: var(--ink); letter-spacing: -0.025em; margin-top: 6px; }
.timeline__text { margin-top: 8px; color: var(--text); max-width: 52ch; }
.timeline__card { padding-top: 6px; }
@media (min-width: 900px) {
  .timeline__rail { left: 50%; margin-left: -1px; }
  .timeline__item { grid-template-columns: 1fr 48px 1fr; gap: 40px; }
  .timeline__item .timeline__dot { grid-column: 2; grid-row: 1; }
  .timeline__item .timeline__card { grid-row: 1; }
  .timeline__item:nth-child(odd) .timeline__card { grid-column: 1; text-align: right; }
  .timeline__item:nth-child(odd) .timeline__text { margin-left: auto; }
  .timeline__item:nth-child(even) .timeline__card { grid-column: 3; }
}

/* Compact horizontal timeline (home) */
.growth { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.growth li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
.growth__date { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; color: var(--brand); line-height: 1.1; }
.growth__name { font-weight: 800; color: var(--ink); font-size: 1.1rem; letter-spacing: -0.02em; }
.growth__meta { font-size: .86rem; color: var(--muted); }
@media (min-width: 1024px) {
  .growth { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .growth li { display: block; padding: 28px 24px 0 0; border-bottom: 0; border-top: 2px solid var(--brand-100); position: relative; }
  .growth li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--paper); }
  .section--warm .growth li::before { box-shadow: 0 0 0 5px var(--warm); }
  .growth__name { margin-top: 12px; }
}

/* ---------- Scroll story (warehouse) ---------- */
.story { display: grid; gap: 40px; }
.story__visual { display: none; }
.story__step { display: grid; gap: 18px; }
.story__step-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; }
.story__step-media img, .story__step-media picture { width: 100%; height: 100%; object-fit: cover; }
.story__num { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--brand); }
.story__title { margin-top: 4px; }
.story__text { color: var(--text); max-width: 46ch; }
.story__source { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: var(--warm); width: fit-content; }
.story__source .icon { width: 14px; height: 14px; color: var(--brand); }
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 80px; }
  .story__visual { display: block; position: sticky; top: calc(var(--header-h) + 32px); height: calc(100vh - var(--header-h) - 64px); max-height: 760px; }
  .story__frames { position: relative; height: 100%; border-radius: var(--radius-l); overflow: hidden; background: var(--mist); }
  .story__frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
  .story__frame.is-active { opacity: 1; transform: none; }
  .story__frame img, .story__frame picture { width: 100%; height: 100%; object-fit: cover; }
  .story__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28, 1, 4, .55)); }
  .story__hud { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 700; font-size: .9rem; }
  .story__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
  .story__bar span { display: block; height: 100%; width: calc(var(--story, 0) * 100%); background: #fff; transition: width .6s var(--ease-out); }
  .story__steps { padding-block: 4vh 8vh; }
  .story__step { min-height: 48vh; align-content: center; opacity: .28; transition: opacity .6s var(--ease); }
  .story__step.is-active { opacity: 1; }
  .story__step-media { display: none; }
}

/* ---------- Cold chain ---------- */
.thermo-card {
  position: relative; border-radius: var(--radius-l); padding: clamp(24px, 3vw, 40px); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
}
.thermo-card__range { font-size: clamp(3.4rem, 2rem + 6vw, 7rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9; color: #fff; }
.thermo-card__range span { color: var(--brand-200); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.thermo-card__label { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.gauge { position: relative; margin-top: 28px; height: 56px; }
.gauge__track { position: absolute; left: 0; right: 0; top: 18px; height: 10px; border-radius: 10px; background: linear-gradient(90deg, #7FB8D0 0%, #CFE3EB 30%, rgba(255, 255, 255, .25) 55%, #E7A0A6 80%, #B3303D 100%); opacity: .9; }
.gauge__band { position: absolute; top: 10px; height: 26px; left: 24%; width: 26%; border-radius: 8px; border: 1.5px solid #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.gauge__needle { position: absolute; top: 4px; left: 37%; width: 2px; height: 38px; background: #fff; border-radius: 2px; animation: needle 5s var(--ease-in-out) infinite alternate; }
.gauge__needle::after { content: ""; position: absolute; left: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.gauge__ticks { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .55); }
.gauge__ticks span:nth-child(2), .gauge__ticks span:nth-child(3) { color: #fff; }

.journey { position: relative; }
.journey__chart { width: 100%; height: auto; margin-bottom: 8px; overflow: visible; display: none; }
.journey__band { fill: var(--ice); }
.journey__band-edge { stroke: var(--ice-200); stroke-width: 1; stroke-dasharray: 4 5; }
.journey__line { fill: none; stroke: var(--ice-ink); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-in-out); }
.journey.is-visible .journey__line { stroke-dashoffset: 0; }
.journey__axis { font-size: 11px; font-weight: 700; fill: var(--ice-ink); letter-spacing: .06em; }
.journey__node { fill: #fff; stroke: var(--ice-ink); stroke-width: 2.5; }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: j; }
.journey__step { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.journey__step .icon-badge { background: var(--ice); border-color: var(--ice-200); color: var(--ice-ink); }
.journey__num { font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--ice-ink); text-transform: uppercase; }
.journey__title { font-weight: 800; color: var(--ink); letter-spacing: -0.015em; line-height: 1.25; margin-top: 2px; }
.journey__text { font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
@media (min-width: 1024px) {
  .journey__chart { display: block; }
  .journey__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .journey__step { grid-template-columns: 1fr; padding: 22px 18px; }
}
.priority { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: pr; }
.priority li { counter-increment: pr; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
.priority li::before { content: counter(pr, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); font-weight: 800; color: #fff; }
.priority li.is-first { background: #fff; color: var(--ink); border-color: #fff; }
.priority li.is-first::before { background: var(--ice-ink); border-color: var(--ice-ink); }
.priority strong { display: block; color: inherit; font-size: 1.02rem; }
.priority li:not(.is-first) strong { color: #fff; }

/* ---------- Device & dashboard mockups (illustrative) ---------- */
.devices { position: relative; display: flex; justify-content: center; gap: 20px; padding: 20px 0; }
.phone {
  position: relative; width: min(270px, 44vw); aspect-ratio: 9 / 19; flex: none;
  border-radius: 38px; padding: 10px; background: #141012;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 50px 80px -40px rgba(42, 1, 5, .6), 0 0 0 6px rgba(109, 0, 11, .08);
}
.phone:nth-child(2) { margin-top: 64px; }
.phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #F4F1EE; display: flex; flex-direction: column; font-size: 11px; }
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: #141012; z-index: 2; }
.phone__bar { padding: 34px 14px 12px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.phone__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; }
.phone__avatar .icon { width: 14px; height: 14px; }
.phone__who { font-weight: 800; color: var(--ink); font-size: 11.5px; line-height: 1.2; }
.phone__who small { display: block; font-weight: 600; color: var(--muted); font-size: 9.5px; }
.phone__body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; }
.phone__day { align-self: center; font-size: 9.5px; font-weight: 700; color: var(--muted); background: rgba(0, 0, 0, .05); padding: 3px 8px; border-radius: 99px; }
.sms { align-self: flex-start; max-width: 88%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--ink); line-height: 1.45; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-size: 10.5px; }
.sms b { color: var(--brand); letter-spacing: .02em; }
.sms__muted { color: var(--muted); }
.phone__caption { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; font-weight: 700; color: var(--muted); }
.mock-note { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 56px; }
.mock-note .icon { width: 16px; height: 16px; }

.dash { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.dash__top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--warm); }
.dash__top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dash__top span { margin-left: 10px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.dash__body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.dash__side { border-right: 1px solid var(--line); padding: 16px 12px; display: grid; gap: 4px; align-content: start; }
.dash__nav { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.dash__nav .icon { width: 15px; height: 15px; }
.dash__nav.is-on { background: var(--brand-50); color: var(--brand); }
.dash__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.dash__kpi small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dash__kpi i { display: block; height: 8px; margin-top: 10px; border-radius: 4px; background: var(--brand-100); width: var(--w, 60%); }
.dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.dash__chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand) 0%, var(--brand-600) 100%); height: var(--h, 50%); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * .06s); }
.dash__chart span:nth-child(3n) { background: var(--brand-200); }
.is-visible .dash__chart span, .dash.is-visible .dash__chart span { transform: scaleY(1); }
.dash__rows { display: grid; gap: 8px; }
.dash__row { display: grid; grid-template-columns: 1fr 2fr 50px; gap: 10px; align-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.dash__row i { height: 6px; border-radius: 3px; background: var(--brand-100); }
.dash__row i b { display: block; height: 100%; width: var(--w, 50%); border-radius: 3px; background: var(--brand); }
@media (max-width: 560px) { .dash__body { grid-template-columns: 1fr; } .dash__side { display: none; } }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-weight: 700; font-size: .88rem; color: var(--charcoal); background: #fff; transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip small { font-size: .72rem; opacity: .7; font-weight: 800; }
.masonry { columns: 1; column-gap: 18px; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; column-gap: 22px; } }
.masonry__item { break-inside: avoid; margin-bottom: 18px; }
@media (min-width: 1024px) { .masonry__item { margin-bottom: 22px; } }
.masonry__item.is-hidden { display: none; }
.masonry__item.is-entering { animation: pop-in .6s var(--ease-out) both; }
.gallery-btn { position: relative; display: block; width: 100%; border-radius: 20px; overflow: hidden; background: var(--mist); text-align: left; }
.gallery-btn img, .gallery-btn picture { width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .6s var(--ease); }
.gallery-btn:hover img { transform: scale(1.05); }
.gallery-btn__cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  background: linear-gradient(180deg, transparent, rgba(28, 1, 4, .78)); color: #fff; font-size: .88rem; font-weight: 700;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease-out);
}
.gallery-btn:hover .gallery-btn__cap, .gallery-btn:focus-visible .gallery-btn__cap { opacity: 1; transform: none; }
.gallery-btn__cap .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); flex: none; }
@media (hover: none) { .gallery-btn__cap { opacity: 1; transform: none; } }
.photo-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .photo-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .photo-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo-strip .gallery-btn { aspect-ratio: 4 / 3.2; }
.photo-strip .gallery-btn picture, .photo-strip .gallery-btn img { height: 100%; object-fit: cover; }
.photo-strip--tall .gallery-btn { aspect-ratio: 3 / 4; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 1, 4, .94); color: #fff; }
.lightbox::backdrop { background: rgba(20, 1, 4, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in .35s var(--ease); }
.lightbox__top, .lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); }
.lightbox__count { font-weight: 700; font-size: .9rem; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 110px); touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); animation: lb-in .5s var(--ease-out); }
.lightbox__caption { font-weight: 600; color: rgba(255, 255, 255, .85); }
.lb-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background-color .3s var(--ease), border-color .3s; }
.lb-btn:hover { background: #fff; color: var(--brand); border-color: #fff; }
.lb-btn--prev, .lb-btn--next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-btn--prev { left: clamp(8px, 2vw, 32px); }
.lb-btn--next { right: clamp(8px, 2vw, 32px); }
@media (max-width: 640px) { .lb-btn--prev, .lb-btn--next { top: auto; bottom: -68px; transform: none; } .lightbox__stage { padding-bottom: 8px; } .lightbox__bottom { padding-bottom: 84px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field__input, .field__select, .field__textarea {
  width: 100%; min-height: 62px; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field__textarea { min-height: 170px; resize: vertical; line-height: 1.55; padding-top: 30px; }
.field__select { padding-right: 48px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D000B' stroke-width='2' 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 18px center; background-size: 18px; }
.field__label {
  position: absolute; left: 19px; top: 20px; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: left top;
  transition: transform .3s var(--ease-out), color .3s var(--ease), top .3s var(--ease-out);
}
.field__label b { color: var(--brand); font-weight: 700; }
.field__input:focus, .field__select:focus, .field__textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label,
.field__textarea:focus + .field__label, .field__textarea:not(:placeholder-shown) + .field__label,
.field__select + .field__label { transform: translateY(-11px) scale(.78); color: var(--brand); font-weight: 700; }
.field--error .field__input, .field--error .field__select, .field--error .field__textarea { border-color: #B42318; }
.field__error { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .84rem; font-weight: 600; color: #B42318; }
.field__error .icon { width: 16px; height: 16px; }
.field__hint { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--text); cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); }
.checkbox a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px; border-radius: 20px; align-items: start; }
.alert--success { background: #EFF8F1; border: 1px solid #B7DEC0; color: #1D5B2C; }
.alert--error { background: #FDF1F0; border: 1px solid #F3C4BF; color: #8A1C12; }
.alert .icon { width: 26px; height: 26px; }
.alert strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }

.contact-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; transition: border-color .3s, box-shadow .4s; }
.contact-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-1); }
.contact-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.contact-card__name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.contact-card__type { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.contact-lines li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.contact-lines .icon { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.placeholder-text { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .78rem; color: var(--muted); background: var(--warm); border: 1px dashed var(--line-strong); padding: 2px 8px; border-radius: 6px; display: inline-block; letter-spacing: 0; }
.on-dark .placeholder-text, .site-footer .placeholder-text { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); padding: clamp(32px, 4.5vw, 64px); background: var(--brand); color: rgba(255, 255, 255, .82); }
.cta-band .crescent { position: absolute; z-index: -1; right: -8%; top: -60%; width: min(62%, 640px); color: rgba(255, 255, 255, .07); }
.cta-band__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .cta-band__grid { grid-template-columns: 1.4fr .6fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band .h2 { color: #fff; max-width: 18ch; }
.cta-band .lead { color: rgba(255, 255, 255, .8); margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--brand-800) 0%, var(--brand-900) 60%, var(--brand-950) 100%); color: rgba(255, 255, 255, .82); padding: clamp(48px, 5.5vw, 80px) 0 28px; }
.site-footer--flush { margin-top: 0; }
.site-footer__crescent { position: absolute; z-index: -1; left: -14vw; bottom: -30vw; width: min(80vw, 1100px); color: rgba(255, 255, 255, .035); }
.site-footer__grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; } }
.site-footer__brand img { width: 88px; height: auto; }
.site-footer__brand p { margin-top: 20px; max-width: 38ch; font-size: .95rem; }
.site-footer h2 { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-200); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; font-weight: 600; font-size: .95rem; transition: color .3s var(--ease), opacity .3s; }
.site-footer li a { opacity: .92; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), opacity .3s; padding-bottom: 2px; }
.site-footer li a:hover { opacity: 1; background-size: 100% 1px; }
.site-footer__loc small { display: block; font-size: .72rem; color: var(--brand-200); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-footer__big {
  margin-top: clamp(32px, 4vw, 56px); padding-bottom: .06em; font-size: clamp(3rem, 1rem + 9.4vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: .9;
  white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .12) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; color: rgba(255, 255, 255, .78); }
.site-footer__bottom a { font-size: .82rem; }

/* ---------- Misc components ---------- */
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.kv dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.kv dd { font-weight: 800; color: var(--ink); text-align: right; }
.on-dark .kv, .on-dark .kv > div { border-color: rgba(255, 255, 255, .14); }
.on-dark .kv dt { color: rgba(255, 255, 255, .6); }
.on-dark .kv dd { color: #fff; }

.quote { position: relative; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-l); background: var(--brand-50); overflow: hidden; }
.quote .crescent { position: absolute; right: -40px; top: -40px; width: 260px; color: var(--brand-100); }
.quote__text { position: relative; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.12; color: var(--ink); letter-spacing: -0.02em; max-width: 24ch; }
.quote__by { position: relative; margin-top: 24px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }

.power { display: grid; gap: 16px; }
@media (min-width: 800px) { .power { grid-template-columns: repeat(3, 1fr); } }
.power__card { position: relative; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 14px; overflow: hidden; }
.power__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brand-200), transparent); transform: translateX(-100%); animation: sweep 3.6s var(--ease-in-out) infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
.power__name { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -0.02em; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.on-dark .tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.divider-crescent { display: flex; align-items: center; gap: 18px; color: var(--brand-200); }
.divider-crescent::before, .divider-crescent::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider-crescent .crescent { width: 22px; color: var(--brand-300); }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--warm); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.note .icon { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }

.visit-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .visit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .visit-grid { grid-template-columns: repeat(4, 1fr); } }
.visit { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; }
.visit__label { font-weight: 800; color: var(--ink); font-size: 1.08rem; letter-spacing: -0.015em; }
.visit__freq { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.visit__freq strong { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 2rem; color: var(--brand); line-height: 1; }
.week { display: flex; gap: 5px; }
.week i { width: 10px; height: 10px; border-radius: 3px; background: var(--brand-100); }
.is-visible .week i, .visit.is-visible .week i { background: var(--brand); transition: background-color .3s var(--ease); transition-delay: calc(var(--d, 0) * .08s); }
.week i:nth-child(7) { opacity: .45; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 800px) { .people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.people__item { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.people__num { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 600; letter-spacing: -0.05em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.people__label { margin-top: 10px; font-weight: 700; font-size: .9rem; color: var(--charcoal); }
.on-dark .people__item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.on-dark .people__num { color: #fff; }
.on-dark .people__label { color: rgba(255, 255, 255, .75); }

.legal { max-width: 74ch; }
.legal h2 { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }

.error-page { min-height: 64vh; display: grid; align-items: center; }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: calc(var(--delay, 0) * 1ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-l)); transition: clip-path 1.3s var(--ease-in-out); }
.js [data-reveal="mask"] img { transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
.js [data-reveal="mask"].is-visible { clip-path: inset(0 0 0 0 round var(--radius-l)); }
.js [data-reveal="mask"].is-visible img { transform: none; }
.js [data-reveal="line"] .line { display: block; overflow: hidden; }
.js [data-reveal="line"] .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--l, 0) * 110ms + 100ms); }
.js [data-reveal="line"] { opacity: 1; transform: none; }
.js [data-reveal="line"].is-visible .line > span { transform: none; }
.page-enter { animation: page-enter .8s var(--ease-out) both; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow-x { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes flow-y { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes needle { 0% { left: 31%; } 100% { left: 43%; } }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes page-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="mask"], .js [data-reveal="line"] .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="mask"] img { transform: none !important; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; }
  .hero__crescent path, .page-hero__crescent path, .loader__mark path { stroke-dashoffset: 0 !important; }
  .journey__line { stroke-dashoffset: 0 !important; }
  .dash__chart span { transform: none !important; }
  .show-loader .loader { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

@media print {
  .site-header, .mobile-nav, .site-footer, .loader, .cta-band { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  body { font-size: 11pt; }
}

/* ---------- Late additions ---------- */
.header-cta { display: none; flex: none; }
@media (min-width: 1280px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .service-cards--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cards--related > :nth-child(2) { margin-top: 0; }
  .service-cards--related .service-card__media { aspect-ratio: 16 / 9; }
}
.site-footer { margin-top: 0; }
.card__crescent { position: absolute; right: -90px; bottom: -120px; width: 320px; color: rgba(255, 255, 255, .05); pointer-events: none; }
.service-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-list__num { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--brand); line-height: 1; }
.service-list__name { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.service-list__name .icon { width: 18px; height: 18px; color: var(--brand); transition: transform .4s var(--ease-out); }
.service-list__name:hover { color: var(--brand); }
.service-list__name:hover .icon { transform: translate(3px, -3px); }
.service-list__text { display: block; margin-top: 6px; font-size: .95rem; color: var(--muted); }

/* Territory bars (sales page) */
.territory-bars { display: grid; gap: 10px; }
.tbar { display: grid; grid-template-columns: 180px 1fr 90px; gap: 18px; align-items: center; padding: 10px 0; color: rgba(255, 255, 255, .85); }
.tbar__name { font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.tbar__name small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-200); font-weight: 800; }
.tbar__track { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tbar__fill { display: block; height: 100%; width: var(--w); border-radius: 10px; background: linear-gradient(90deg, var(--brand-300), #fff); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.tbar.is-visible .tbar__fill { transform: scaleX(1); }
.tbar__value { font-weight: 800; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.tbar:hover .tbar__name { color: var(--brand-200); }
@media (max-width: 600px) { .tbar { grid-template-columns: 1fr auto; gap: 8px 12px; } .tbar__track { grid-column: 1 / -1; grid-row: 2; } }

/* Warehouse hero composition */
.wh-hero { position: relative; display: grid; gap: 16px; }
.wh-hero .frame { border-radius: var(--radius-l); }
.wh-hero__main { aspect-ratio: 16 / 9; }
.wh-hero__side { display: none; }
.wh-hero__chip { left: 20px; bottom: 20px; }
@media (min-width: 900px) {
  .wh-hero { grid-template-columns: 2.1fr 1fr; }
  .wh-hero__main { aspect-ratio: auto; height: clamp(320px, 34vw, 480px); }
  .wh-hero__side { display: block; height: clamp(320px, 34vw, 480px); border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 140px; }
}

/* Fleet */
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fleet-grid > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.fleet-grid .gallery-btn { aspect-ratio: 4 / 3; }
.fleet-grid .gallery-btn picture, .fleet-grid .gallery-btn img { height: 100%; object-fit: cover; }
.livery { margin: 0; padding: 22px 26px; border-radius: 20px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.livery p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--brand); line-height: 1.15; }
.livery footer { margin-top: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }

/* Header / hero separation: header is its own white bar, heroes are inset panels beneath it */
main { padding-top: var(--header-h); }
.hero, .page-hero {
  margin: 10px clamp(8px, 1.1vw, 16px) 0;
  border-radius: clamp(20px, 2.4vw, 34px);
}
.page-hero { border: 1px solid var(--line); }
.page-hero--dark { border: 0; }
@media (max-width: 600px) { .hero, .page-hero { margin: 8px 8px 0; border-radius: 22px; } }
.logo-tile img[src*="sanofi"], .principal-card__logo img[src*="sanofi"] { height: 56px; }
.logo-tile img[src*="woodward"], .logo-tile img[src*="searle"], .logo-tile img[src*="daneen"] { height: 44px; }
.principal-card__logo img[src*="woodward"], .principal-card__logo img[src*="searle"], .principal-card__logo img[src*="daneen"] { height: 46px; }
/* Map without side panel */
.netmap--solo { grid-template-columns: 1fr !important; }
.territory__map .netmap__svg { max-height: 520px; }

/* Principals by branch */
.branch-strip { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .branch-strip { grid-template-columns: 280px 1fr; gap: 40px; } }
.branch-strip__info { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
@media (min-width: 1100px) { .principal-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.matrix .is-col-active { background: var(--brand-50); }
.matrix thead .is-col-active { background: var(--brand); color: #fff; }

/* Feature list (technology) */
.feature-list { display: grid; gap: 4px; border-top: 1px solid var(--line); }
.feature-list__item { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feature-list__item .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.feature-list__item .icon-badge .icon { width: 20px; height: 20px; }
.feature-list .feature__text { margin-top: 4px; }

/* Facilities cards */
.fac-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fac-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .fac-grid > :nth-child(-n+3) { grid-column: span 2; } .fac-grid > :nth-child(n+4) { grid-column: span 3; } }
.fac-card { border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.fac-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.fac-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.fac-card__media img, .fac-card__media picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.fac-card:hover .fac-card__media img { transform: scale(1.05); }
.fac-card__body { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px 24px; align-items: start; }

/* Gallery hero collage */
.hero-collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(260px, 30vw, 380px); }
.hero-collage .frame { border-radius: 22px; }
.hero-collage .frame:first-child { grid-row: span 2; border-radius: 22px 22px 22px 120px; }

/* Contact */
.contact-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; } .contact-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.contact-cards { display: grid; gap: 12px; margin-top: 20px; }
.contact-cards .contact-card { padding: 20px; gap: 12px; }

/* Location pager */
.loc-pager { display: grid; gap: 12px; }
@media (min-width: 700px) { .loc-pager { grid-template-columns: 1fr 1fr; } }
.loc-pager__link { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; transition: border-color .3s, box-shadow .4s, transform .4s var(--ease-out); }
.loc-pager__link small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 800; margin-bottom: 2px; }
.loc-pager__link:hover { border-color: var(--brand-200); box-shadow: var(--shadow-1); }
.loc-pager__link--next { justify-content: flex-end; text-align: right; }
.loc-pager__link .icon { color: var(--brand); transition: transform .4s var(--ease-out); }
.loc-pager__link:hover .icon { transform: translateX(4px); }
.loc-pager__link:hover .icon.flip { transform: scaleX(-1) translateX(4px); }
.icon.flip { transform: scaleX(-1); }

/* Image columns added to formerly text-only sections */
.glance { display: grid; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.glance__media { display: grid; grid-template-rows: 1fr auto; min-height: 320px; margin: 0; }
.glance__media .frame { height: 100%; min-height: 320px; }
@media (min-width: 1024px) { .glance { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); } }
.media-head { display: grid; gap: clamp(24px, 3vw, 48px); align-items: center; margin-bottom: clamp(28px, 3.2vw, 48px); }
.media-head__img { aspect-ratio: 16 / 8; }
@media (min-width: 1024px) { .media-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.growth__thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--brand-900); }
.growth__thumb img, .growth__thumb picture { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.growth li:hover .growth__thumb img { transform: scale(1.06); }
.growth li { grid-template-columns: 120px 1fr; align-items: center; }
@media (min-width: 1024px) { .growth__thumb { margin-bottom: 16px; } .growth li { padding-top: 24px; } }
.growth .map-placeholder text { font-size: 44px; }
.card__img { aspect-ratio: 16 / 7; border-radius: 16px; margin-bottom: 4px; }
.quote-split { display: grid; gap: 18px; }
.quote-split__img { min-height: 260px; }
@media (min-width: 1024px) { .quote-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.svc-strip { display: grid; gap: 14px; }
@media (min-width: 800px) { .svc-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-strip__item { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; }
.svc-strip__item .frame { display: block; aspect-ratio: 4 / 3; border-radius: 0; }
.svc-strip__item img { transition: transform 1s var(--ease-out); }
.svc-strip__item:hover img { transform: scale(1.05); }
.svc-strip__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28, 1, 4, .75)); pointer-events: none; }
.svc-strip__label { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.svc-strip__label .icon { margin-left: auto; width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.svc-strip__item:hover .svc-strip__label .icon { transform: translate(3px, -3px); }
.svc-strip__num { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: var(--brand-200); }
