/* ---------- Tokens ---------- */
:root {
  --bg: #f6f5f3;
  --surface: #ffffff;
  --surface-2: #f1efec;
  --border: #e6e3de;
  --text: #17151a;
  --text-2: #55505a;
  --text-3: #8a8590;
  --brand: #e11d2e;
  --brand-2: #ff4d3d;
  --brand-ink: #ffffff;
  --brand-soft: #fdecee;
  --accent: #f59e0b;
  --accent-soft: #fef3dc;
  --success: #16a34a;
  --success-soft: #e6f6ec;
  --hero-1: #1a1015;
  --hero-2: #2a1218;
  --shadow-sm: 0 1px 2px rgb(20 10 15 / .06);
  --shadow: 0 1px 2px rgb(20 10 15 / .04), 0 8px 24px -8px rgb(20 10 15 / .12);
  --shadow-lg: 0 24px 60px -12px rgb(20 10 15 / .28);
  --radius: 18px;
  --radius-sm: 12px;
  --sidebar: 280px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0d10; --surface: #17161a; --surface-2: #1f1d23; --border: #2a2830;
    --text: #f4f2f5; --text-2: #b6b1bb; --text-3: #7e7985;
    --brand-soft: #3a1418; --accent-soft: #3a2a0c; --success-soft: #0f2e1b;
    --hero-1: #160b10; --hero-2: #2b0f16;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0d10; --surface: #17161a; --surface-2: #1f1d23; --border: #2a2830;
  --text: #f4f2f5; --text-2: #b6b1bb; --text-3: #7e7985;
  --brand-soft: #3a1418; --accent-soft: #3a2a0c; --success-soft: #0f2e1b;
  --hero-1: #160b10; --hero-2: #2b0f16;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
kbd {
  font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 6px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-3);
}

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--lg { width: 28px; height: 28px; }

.eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow--light { color: #ff8a80; }
.lead { margin: 10px 0 0; font-size: 17px; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand); }
.link .i { width: 16px; height: 16px; }

.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; font-style: normal; background: var(--surface-2); color: var(--text-2); white-space: nowrap;
}
.chip--soon { background: var(--accent-soft); color: #b45309; }
.chip--accent { background: var(--brand-soft); color: var(--brand); }
:root[data-theme="dark"] .chip--soon { color: #fbbf24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip--soon { color: #fbbf24; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); border-color: transparent; color: var(--brand-ink); box-shadow: 0 8px 20px -8px rgb(225 29 46 / .7); }
.btn--glass { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .18); color: #fff; backdrop-filter: blur(8px); }

.iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text-2);
}
.iconbtn:hover { color: var(--text); background: var(--surface-2); }
.iconbtn:disabled { opacity: .35; cursor: default; }


/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 16px;
  padding: 20px 16px; background: var(--surface); border-right: 1px solid var(--border);
}
.sidebar > * { flex-shrink: 0; } /* scroll instead of squashing when groups are open */
.sidebar__head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.sidebar__close { display: none; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; flex: none; box-shadow: 0 6px 16px -6px rgb(225 29 46 / .6); }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.logo__text strong span { color: var(--brand); }
.logo__text small { color: var(--text-3); font-size: 12px; font-weight: 500; }
.topbar__logo { display: none; }
.topbar__logo img { width: 36px; height: 36px; border-radius: 10px; }

.searchbtn {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 10px 0 12px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-3); cursor: pointer; text-align: left;
}
.searchbtn span { flex: 1; }
.searchbtn .i { width: 18px; height: 18px; }

.nav { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.nav__group { display: flex; flex-direction: column; gap: 2px; }
.nav__label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.nav__label img { width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.nav__link {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  color: var(--text-2); font-weight: 600; font-size: 14px; transition: background .15s, color .15s;
}
.nav__text { flex: 1; }
.nav__link:hover { background: var(--surface-2); color: var(--text); }
.nav__link.is-active { background: var(--brand-soft); color: var(--brand); }
.nav__row { position: relative; }
.nav__row .nav__link { padding-right: 44px; }
.nav__toggle {
  position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--text-3); cursor: pointer;
}
.nav__toggle:hover { background: var(--surface); color: var(--text); }
.nav__toggle .i { width: 16px; height: 16px; transition: rotate .25s; }
.nav__tree.is-open .nav__toggle .i { rotate: 180deg; }
.nav__collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.nav__collapse > .nav__sub { overflow: hidden; min-height: 0; }
.nav__tree.is-open .nav__collapse { grid-template-rows: 1fr; }
.nav__tree:not(.is-open) .nav__collapse a { visibility: hidden; transition: visibility 0s .28s; }
.nav__sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 19px; padding-left: 12px; border-left: 1px solid var(--border); }
.nav__tree:not(.is-open) .nav__sub { margin-block: 0; }
.nav__sub .nav__link { padding: 7px 10px; font-size: 13.5px; font-weight: 500; }
.nav__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; opacity: .5; }
.nav__sub .chip { padding: 1px 7px; font-size: 10.5px; }


.scrim { display: none; }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(16px, 3vw, 40px) 12px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__menu, .topbar__search { display: none; }
.topbar__actions { display: flex; gap: 8px; margin-left: auto; }
.theme-light { display: none; }
:root[data-theme="dark"] .theme-light { display: block; }
:root[data-theme="dark"] .theme-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-light { display: block; }
  :root:not([data-theme="light"]) .theme-dark { display: none; }
}

.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 13.5px; color: var(--text-3); scrollbar-width: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.crumbs__sep { opacity: .5; }

.view { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px) 64px; }
.view--enter { animation: enter .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .view--enter { animation: none; } }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 20px clamp(16px, 3vw, 40px); border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px;
}
.footer a { font-weight: 600; color: var(--text-2); }

.tabbar { display: none; }

/* ---------- Common blocks ---------- */
.pagehead { margin-bottom: 28px; }

.section { margin-top: 48px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.grid { display: grid; gap: 18px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.panel { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }

/* Cards */
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .35)); pointer-events: none; }
.card__ph { height: 100%; display: grid; place-items: center; color: var(--text-3); background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px); }
.card__num {
  position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 9px; border-radius: 8px;
  background: rgb(0 0 0 / .62); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px);
}
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card__meta { min-height: 22px; }
.card__sub { margin: 0; font-size: 13px; color: var(--text-3); }
.card--soon .card__media { opacity: .8; }

/* ---------- Home ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); box-shadow: var(--shadow-lg);
}
.hero__glow {
  position: absolute; inset: auto -10% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(225 29 46 / .55), transparent 65%); filter: blur(20px); pointer-events: none;
}
.hero__glow::after { content: ""; position: absolute; left: -60%; top: -70%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(245 158 11 / .35), transparent 65%); }
.hero__copy, .hero__stats { position: relative; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 span { background: linear-gradient(90deg, #ffb347, #ff4d3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 16px 0 0; max-width: 46ch; color: rgb(255 255 255 / .72); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px; border-radius: 22px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); backdrop-filter: blur(10px); }
.hero__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin: 0; }
.hero__kpis div { text-align: center; padding: 10px 4px; border-radius: 12px; background: rgb(255 255 255 / .05); }
.hero__kpis dt { font-size: 11px; color: rgb(255 255 255 / .55); text-transform: uppercase; letter-spacing: .08em; }
.hero__kpis dd { margin: 0; font-size: 22px; font-weight: 800; }

.avatars { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.avatar { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .15s; }
.avatar:hover { background: var(--surface-2); }
.avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.avatar span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.avatar strong { font-size: 14px; }
.avatar small { color: var(--text-3); font-size: 12px; }

.panel--contact { background: linear-gradient(160deg, var(--surface), var(--brand-soft)); }
.panel--contact h2 { margin-bottom: 14px; }
.contact__row { display: flex; gap: 12px; margin: 0 0 12px; color: var(--text-2); }
.contact__row .i { color: var(--brand); margin-top: 3px; }
.contact__row a { font-weight: 700; color: var(--text); }

/* ---------- Founders ---------- */
.grid--founders { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.founder { border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.founder__photo { aspect-ratio: 5 / 4; background: #2a2a2a; overflow: hidden; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .5s; }
.founder:hover .founder__photo img { filter: grayscale(0); transform: scale(1.03); }
.founder__body { padding: 22px; }
.founder__body h2 { margin-top: 12px; font-size: 22px; }
.founder__role { margin: 6px 0 14px; color: var(--brand); font-weight: 600; font-size: 14px; }
.founder__body p:not(.founder__role) { color: var(--text-2); font-size: 14.5px; margin: 0 0 10px; }

/* ---------- Brands ---------- */
.grid--brands { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.brandcard {
  display: flex; align-items: center; gap: 20px; padding: 22px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.brandcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brandcard img { width: 96px; height: 96px; border-radius: 50%; object-fit: contain; background: #fff; flex: none; }
.brandcard > div { flex: 1; min-width: 0; }
.brandcard p { margin: 4px 0 0; color: var(--text-3); font-size: 14px; }
.brandcard__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.brandcard--soon img { filter: grayscale(.7); opacity: .8; }

.brandhero {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); padding: clamp(22px, 4vw, 40px); margin-bottom: 22px;
  border-radius: 28px; color: #fff; background: linear-gradient(120deg, #b3101f, #e11d2e 55%, #ff5a3d); box-shadow: var(--shadow-lg);
}
.brandhero img { width: clamp(84px, 12vw, 130px); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 6px; flex: none; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); }
.brandhero p { margin: 6px 0 0; color: rgb(255 255 255 / .85); font-size: 17px; }
.brandhero .eyebrow--light { color: rgb(255 255 255 / .75); }

.grid--modes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mode {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.mode__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.mode h2 { font-size: 24px; }
.mode p { margin: 0; color: var(--text-2); }
.mode__foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--text-3); }

/* ---------- Timeline (sequential steps) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--border); }
.timeline__item { position: relative; display: flex; align-items: center; gap: 16px; }
.timeline__dot {
  position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand); font-weight: 800;
}
.timeline__dot .i { width: 18px; height: 18px; stroke-width: 2.6; }
.is-soon .timeline__dot { border-color: var(--border); color: var(--text-3); }
.timeline__card {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.timeline__card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.timeline__card img, .timeline__ph { width: 88px; height: 72px; border-radius: 12px; object-fit: cover; object-position: center 58%; flex: none; }
.timeline__ph { display: grid; place-items: center; background: var(--surface-2); color: var(--text-3); }
.timeline__card > div:not(.timeline__ph) { flex: 1; min-width: 0; }
.timeline__card .eyebrow { margin-bottom: 2px; font-size: 11px; }
.timeline__card p.muted { margin: 2px 0 0; font-size: 13px; }
.timeline__go { color: var(--text-3); }

/* ---------- SOP detail ---------- */
.stepper { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: thin; }
.stepper__item {
  display: flex; align-items: center; gap: 8px; flex: none; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--text-2);
}
.stepper__item span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12px; }
.stepper__item span .i { width: 14px; height: 14px; stroke-width: 2.8; }
.stepper__item.is-current { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.stepper__item.is-current span { background: var(--brand); color: #fff; }
.stepper__item.is-soon { opacity: .6; }

.sop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.sop__product { margin: 8px 0 0; font-weight: 700; color: var(--text-2); }
.sop__desc { color: var(--text-2); margin: 14px 0 0; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.spec {
  display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.spec .i { color: var(--brand); margin-bottom: 8px; width: 22px; height: 22px; }
.spec span { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.spec strong { font-size: 19px; letter-spacing: -.01em; }
.spec small { font-size: 12px; color: var(--text-3); line-height: 1.35; margin-top: 4px; }
.facts { margin: 0 0 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 12px 16px; }
.facts div + div { border-top: 1px solid var(--border); }
.facts dt { color: var(--text-3); font-size: 13.5px; font-weight: 600; }
.facts dd { margin: 0; font-weight: 500; }
.callout { display: flex; flex-direction: column; gap: 2px; margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.callout strong { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #b45309; }
:root[data-theme="dark"] .callout strong { color: #fbbf24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .callout strong { color: #fbbf24; } }
.callout--wide { max-width: 960px; }
.sop__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.sop__chart { margin: 0; position: sticky; top: 88px; }
.chart {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  background: #fff; cursor: zoom-in; box-shadow: var(--shadow);
}
.chart img { width: 100%; }
.chart__hint {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgb(0 0 0 / .7); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px);
}
.chart__hint .i { width: 16px; height: 16px; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.pager__link {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700; transition: border-color .15s, transform .15s;
}
.pager__link:hover { border-color: var(--brand); transform: translateY(-1px); }
.pager__link small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }
.pager__link--next { text-align: right; margin-left: auto; }

/* ---------- Video ---------- */
.video { position: relative; max-width: 960px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__alt { font-size: 14px; }

/* ---------- Empty / coming soon ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(40px, 8vw, 80px) 0; }
.empty .lead { margin: 0; }
.empty__logo { width: 180px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); margin-bottom: 8px; }
.empty__icon { width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }

/* ---------- Search ---------- */
.search { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgb(10 8 12 / .5); backdrop-filter: blur(6px); }
.search__panel { width: min(640px, 100%); max-height: 70vh; display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-3); }
.search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--text); }
.search__results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.result { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); }
.result span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.result strong { color: var(--text); }
.result small { color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result.is-active, .result:hover { background: var(--brand-soft); }
.result.is-active .i { color: var(--brand); }
.result--empty { justify-content: center; color: var(--text-3); padding: 24px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; overflow: auto; background: rgb(8 6 10 / .9); }
.lightbox img { max-height: 92vh; width: auto; border-radius: 12px; background: #fff; }
.lightbox__close { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }

/* ---------- Home: brand picker ---------- */
.welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.welcome h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.035em; }

.brandgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.brandtile {
  position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.brandtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brandtile__main, .brandtile--soon { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); padding: clamp(20px, 3vw, 32px); }
.brandtile--live .brandtile__main { flex: 1; color: #fff; background: linear-gradient(120deg, #b3101f, #e11d2e 55%, #ff5a3d); }
.brandtile__logo { width: clamp(88px, 11vw, 128px); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 5px; object-fit: contain; flex: none; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .5); }
.brandtile__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.brandtile__body h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.brandtile__body p { margin: 0; color: var(--text-3); }
.brandtile--live .brandtile__body p { color: rgb(255 255 255 / .85); }
.brandtile__body .brandtile__count { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.safety__go { margin-top: 16px; color: var(--success); }
.brandtile__modes { display: grid; grid-template-columns: 1fr 1fr; }
.brandtile__modes a { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-weight: 700; transition: background .15s, color .15s; }
.brandtile__modes a + a { border-left: 1px solid var(--border); }
.brandtile__modes a:hover { background: var(--brand-soft); color: var(--brand); }
.brandtile__modes a > .i:first-child { color: var(--brand); }
.brandtile__modes span { flex: 1; }
.brandtile__arrow { color: var(--text-3); width: 16px; height: 16px; }
.brandtile--soon { flex-direction: column; justify-content: center; text-align: center; }
.brandtile--soon .brandtile__body { align-items: center; }
.brandtile--soon .brandtile__logo { filter: grayscale(.65); opacity: .85; }
.chip--live { background: rgb(255 255 255 / .2); color: #fff; }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgb(74 222 128 / .3); }

.safety {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; overflow: hidden;
  padding: clamp(22px, 3.4vw, 36px); border-radius: 26px; border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--success) 12%, var(--surface)));
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.safety:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.safety__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; background: var(--success-soft); color: var(--success); }
.safety .eyebrow { color: var(--success); }
.safety h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.safety__copy > p:not(.eyebrow) { margin: 8px 0 0; color: var(--text-2); }
.safety__stack { position: relative; height: 230px; }
.safety__stack img {
  position: absolute; top: 50%; width: 140px; aspect-ratio: 864 / 1232; object-fit: cover; object-position: top;
  border-radius: 10px; border: 3px solid var(--surface); box-shadow: var(--shadow); transition: transform .3s;
}
.safety__stack img:nth-child(1) { left: 6%; transform: translateY(-50%) rotate(-9deg); }
.safety__stack img:nth-child(2) { left: 26%; transform: translateY(-52%) rotate(-3deg); }
.safety__stack img:nth-child(3) { left: 46%; transform: translateY(-50%) rotate(3deg); }
.safety__stack img:nth-child(4) { left: 64%; transform: translateY(-48%) rotate(9deg); }
.safety:hover .safety__stack img:nth-child(1) { transform: translateY(-50%) rotate(-12deg) translateX(-8px); }
.safety:hover .safety__stack img:nth-child(4) { transform: translateY(-48%) rotate(12deg) translateX(8px); }

/* ---------- Posters ---------- */
.card--poster .card__media { aspect-ratio: 3 / 4; }
.card--poster .card__media img, .card__media img[src*="condiment"] { object-position: top; }
.grid--posters { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.poster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.poster__info { position: sticky; top: 88px; }
.poster__info .callout { margin: 20px 0 0; }
.poster__info .sop__actions { margin-top: 20px; }
.poster__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); padding-top: 16px; }
.poster__list a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.poster__list a:hover { background: var(--surface-2); color: var(--text); }
.poster__list a span { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12px; font-weight: 700; }
.poster__list a span .i { width: 14px; height: 14px; stroke-width: 2.8; }
.poster__list a.is-current { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.poster__list a.is-current span { background: var(--brand); color: #fff; }

.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; justify-content: space-between; }
  .hero__kpis { max-width: 360px; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(320px, 86vw); height: 100%;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    transform: translateX(-102%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); box-shadow: var(--shadow-lg);
  }
  .sidebar__close { display: inline-grid; }
  .drawer-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgb(10 8 12 / .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .drawer-open .scrim { opacity: 1; pointer-events: auto; }
  .topbar__menu, .topbar__search { display: inline-grid; }
  .topbar__logo { display: block; flex: none; }
  .topbar__back { display: none; }

  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--border);
  }
  .tabbar > * {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border: 0; background: none;
    font-size: 11px; font-weight: 600; color: var(--text-2); cursor: pointer;
  }
  .tabbar > *:disabled { opacity: .35; }
  .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

  .sop { grid-template-columns: 1fr; }
  .sop__chart { position: static; order: -1; max-width: 520px; }
  .poster { grid-template-columns: 1fr; }
  .poster__info { position: static; }
  .brandgrid { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .safety__stack { height: 190px; }
  .safety__stack img { width: 118px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 12px; }
  .card h3 { font-size: 15px; }
  .hero { border-radius: 22px; }
  .hero__stats { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs .spec:last-child { grid-column: 1 / -1; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .brandcard { padding: 16px; gap: 14px; }
  .brandcard img { width: 72px; height: 72px; }
  .brandhero { flex-direction: column; text-align: center; }
  .timeline__card img, .timeline__ph { width: 64px; height: 56px; }
  .pager__link { padding: 10px 14px; font-size: 14px; }
  .topbar kbd, .searchbtn kbd { display: none; }
  .brandtile__main { flex-direction: column; text-align: center; }
  .brandtile__main .brandtile__body { align-items: center; }
  .brandtile__modes a { padding: 14px; font-size: 14px; }
  .safety__stack img { width: 96px; }
}
