/* The Unknown Merchant website. Tokens come from brand/tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fog); color: var(--night-ink); font: 400 var(--step-0)/1.6 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--verdigris); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lantern-gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.08; margin-bottom: 0.4em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.4em; }
h3 { font-size: var(--step-1); margin-bottom: 0.35em; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol, dl { margin: 0; padding: 0; }
.lede { font-size: 1.15rem; line-height: 1.5; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lantern-gold); color: var(--night-ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.todo { background: #FFF3CF; border: 1px dashed #C9A04A; color: #5C4A12; padding: 8px 12px; border-radius: var(--radius-small); font-size: 0.9375rem; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-small); border: 0; cursor: pointer;
  font: 500 1.0625rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease;
}
.button.gold { background: var(--lantern-gold); color: var(--night-ink); }
.button.gold:hover { background: #F7C964; }
.button.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.button.ghost:hover { background: rgba(255,255,255,.08); }
.button.dark { background: var(--twilight); color: #fff; margin-top: 12px; }
.button.dark:hover { background: #3A4278; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--twilight); color: var(--fog); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar { max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.wordmark { font-family: var(--font-mark); font-size: 1.35rem; letter-spacing: 0.01em; white-space: nowrap; }
.eye-o { display: inline-block; width: 0.62em; height: 0.68em; vertical-align: -0.04em; margin: 0 0.02em; }
.nav-links { list-style: none; display: flex; gap: 6px; }
.nav-links a { display: block; padding: 8px 12px; color: #D6D3E3; text-decoration: none; font-size: 1.0625rem; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="true"] { color: #fff; border-bottom-color: var(--lantern-gold); }
.header-cta { min-height: 42px; }
.menu-button, .menu-panel, .tabbar, .compare { display: none; }

/* Home hero */
.hero { background: radial-gradient(110% 90% at 85% 60%, #474F8C 0%, var(--twilight) 62%); color: var(--fog); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.hero h1 { max-width: 17ch; }
.hero .lede { color: #D6D3E3; max-width: 46ch; }
.hero-note { color: #B9B5CC; font-size: 0.9375rem; margin-top: 14px; }
.hero-portrait { width: 100%; max-width: 360px; justify-self: end; }

/* Section rhythm */
main > section { padding: 72px 0; }
.section-intro { max-width: 64ch; margin-bottom: 32px; }

/* Costs and gains (home) */
.cost-grid, .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cost-grid article, .pain-grid article { background: #fff; border-top: 4px solid var(--wax-red); padding: 22px 24px; border-radius: 0 0 var(--radius-small) var(--radius-small); }
.cost-grid p, .pain-grid p { color: #3E4258; margin: 0; }
.trap { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius-small); background: var(--mist); display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; }
.trap h3 { font-size: 1.25rem; margin: 0; }
.trap p { margin: 0; }
.gains { background: var(--twilight); color: var(--fog); }
.gains-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.gains p { color: #D6D3E3; }
.gain-list { list-style: none; display: grid; gap: 18px; }
.gain-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 1.125rem; }
.gain-list svg { width: 28px; height: 28px; color: var(--lantern-gold); margin-top: 1px; }
.gain-list b { font-weight: 600; }
.gain-list.wide { grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.advantages .gain-list svg { color: var(--verdigris); }

/* Services (home) */
.services { background: #F2F4F6; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card { display: flex; flex-direction: column; background: var(--twilight); color: var(--fog); padding: 26px; border-radius: var(--radius-large); text-decoration: none; transition: background-color .15s ease; }
.offer-card:hover { background: #363E74; }
.offer-card h3 { font-size: 1.5rem; }
.offer-card p { color: #D6D3E3; }
.offer-card ul { list-style: none; display: grid; gap: 8px; margin: 4px 0 24px; }
.offer-card li { padding-left: 22px; position: relative; }
.offer-card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--lantern-gold); }
.more { margin-top: auto; color: var(--lantern-gold); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.addon { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--radius-large); background: #fff; border: 1px solid var(--fog-deep); color: var(--night-ink); text-decoration: none; }
.addon:hover { border-color: var(--twilight); }
.addon .more { color: var(--verdigris); margin: 0; }
.addon-tag { display: inline-block; background: var(--kraft); color: #fff; font-size: 0.875rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.addon-body b { font-weight: 600; }

/* Film */
.film { background: var(--twilight); color: var(--fog); }
.film-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 40px; align-items: center; }
.film-copy p { color: #D6D3E3; }
.film-frame video { width: 100%; display: block; border-radius: var(--radius-large); background: #000; box-shadow: 0 24px 60px rgba(6,8,26,.45); }
.film-tall { display: none !important; }

/* Safeguards */
.guards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.guards div { border-top: 2px solid var(--night-ink); padding-top: 16px; }
.guards dt { font-family: var(--font-display); font-size: 1.375rem; margin-bottom: 6px; }
.guards dd { margin: 0; color: #3E4258; }

/* Process: a real sequence, so it's numbered */
.process { background: #F2F4F6; border-top: 1px solid var(--fog-deep); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--twilight); color: var(--lantern-gold); font-family: var(--font-display); font-size: 1.25rem; }
.steps p { color: #3E4258; margin: 0; }

/* About (home) */
.about { background: var(--mist); }
.about-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 48px; align-items: center; }
.about-figure { width: 100%; max-width: 280px; }
.differences { list-style: none; display: grid; gap: 14px; margin: 24px 0; }
.differences li { padding-left: 20px; border-left: 3px solid var(--kraft); }
.differences b { font-weight: 600; }

/* Service and about pages */
.page-hero { background: radial-gradient(110% 90% at 85% 60%, #474F8C 0%, var(--twilight) 62%); color: var(--fog); padding: 44px 0 0 !important; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; }
.page-hero-grid > div { padding-bottom: 48px; }
.page-hero .lede { color: #D6D3E3; max-width: 52ch; }
.page-hero .todo { margin-top: 8px; }
.page-hero-figure { width: 100%; max-width: 250px; justify-self: center; }
.crumb { margin: 0 0 12px; font-size: 1rem; }
.crumb a { color: #B9B5CC; }
.crumb a::after { content: " /"; }
.page-hero .addon-tag { margin: 0 0 12px; }
.pains { background: var(--fog); }
.features { background: #F2F4F6; border-top: 1px solid var(--fog-deep); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.feature-list { display: grid; gap: 16px; }
.feature-list dt { font-family: var(--font-display); font-size: 1.375rem; margin-bottom: 4px; }
.feature-list dd { margin: 0; color: #3E4258; }
.examples { background: var(--twilight); color: var(--fog); }
.examples .section-intro p { color: #D6D3E3; }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.example-grid article { border-left: 3px solid var(--lantern-gold); padding: 4px 0 4px 22px; }
.example-grid p { color: #D6D3E3; margin: 0; }
.achievements .example-grid p, .why .example-grid p { color: #3E4258; }
.achievements .example-grid article { border-left-color: var(--kraft); }
.achievements .todo, .why .todo { margin-top: 32px; }
.pairs { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--fog-deep); }
.requirement { padding: 56px 0 !important; background: var(--fog); }
.req-box { border: 2px solid var(--kraft); background: #fff; border-radius: var(--radius-large); padding: 28px 32px; }
.req-box h2 { font-size: 1.75rem; }
.req-box p { margin: 0; }

/* Visuals on service pages */
.visual { margin: 0; background: #fff; border: 1px solid var(--fog-deep); border-radius: var(--radius-large); padding: 28px; box-shadow: 0 18px 40px rgba(22,26,51,.08); }
.visual figcaption { margin-top: 16px; font-size: 0.8125rem; color: #6A6E85; }
.flow-label { display: block; font-size: 0.9375rem; color: #5A5E75; margin-bottom: 8px; }
.flow { display: grid; gap: 4px; }
.flow-card { background: #F2F4F6; border-radius: var(--radius-small); padding: 14px 16px; display: grid; gap: 6px; }
.flow-card > b { font-weight: 600; }
.flow-card > span { color: #5A5E75; font-size: 0.9375rem; }
.flow-card.pool div, .flow-card .sync { display: flex; justify-content: space-between; }
.flow-card.pool b { font-variant-numeric: tabular-nums; }
.flow-card.pool .total { border-top: 1px solid var(--fog-deep); padding-top: 6px; font-weight: 600; }
.flow-card .sync b { color: var(--verdigris); font-weight: 600; }
.flow-arrow { width: 2px; height: 22px; background: var(--kraft); margin: 2px auto; position: relative; }
.flow-arrow::after { content: ""; position: absolute; left: -5px; bottom: -2px; border: 6px solid transparent; border-top-color: var(--kraft); border-bottom: 0; }
.wf-row, .db-row { display: grid; grid-template-columns: 130px 1fr 84px; gap: 12px; align-items: center; padding: 7px 0; }
.wf-row i, .db-row i { display: block; height: 14px; width: var(--w); background: #C7A07A; border-radius: 2px; }
.wf-row.sale i { background: var(--twilight); }
.wf-row.profit { border-top: 1px solid var(--fog-deep); margin-top: 4px; padding-top: 12px; font-weight: 600; }
.wf-row.profit i { background: var(--verdigris); }
.wf-row b, .db-row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.dash-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.dash-top div { background: #F2F4F6; border-radius: var(--radius-small); padding: 12px 14px; }
.dash-top span { display: block; font-size: 0.8125rem; color: #5A5E75; }
.dash-top b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.db-row i { background: var(--twilight); }
.dash-alert { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-small); background: #FBEAEC; color: #7D1B2E; font-size: 0.9375rem; }
.chat { display: grid; gap: 12px; }
.bubble { margin: 0; padding: 12px 16px; border-radius: 16px; max-width: 88%; }
.bubble.you { justify-self: end; background: var(--twilight); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { background: #F2F4F6; border-bottom-left-radius: 4px; }
.bubble.them p { margin: 0 0 10px; }
.mini-bars { display: grid; gap: 6px; font-size: 0.875rem; }
.mini-bars div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; }
.mini-bars i { display: block; height: 10px; width: var(--w); background: var(--lantern-gold); border-radius: 2px; }

/* About page */
.photo-slot { margin: 0; justify-self: center; max-width: 320px; }
.photo-slot figcaption { margin-top: 8px; }
.journey-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.timeline { list-style: none; counter-reset: t; display: grid; gap: 0; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 20px 44px; border-left: 2px solid var(--fog-deep); margin-left: 15px; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: counter(t); position: absolute; left: -16px; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--twilight); color: var(--lantern-gold); font-family: var(--font-display); }
.timeline h3 { font-size: 1.375rem; }
.timeline p { color: #3E4258; margin: 0; }
.achievements { background: #F2F4F6; border-top: 1px solid var(--fog-deep); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.why-grid article { border-top: 2px solid var(--night-ink); padding-top: 16px; }
.why-grid p { color: #3E4258; margin: 0; }

/* Booking */
.book { background: var(--twilight); color: var(--fog); }
.book-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.book .lede { color: #D6D3E3; }
.book-points { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.book-points li { display: flex; gap: 10px; align-items: center; }
.book-points svg { width: 22px; height: 22px; color: var(--lantern-gold); flex: none; }
.book-figure { width: 100%; max-width: 200px; margin-top: 28px; }
.book-form { background: #fff; color: var(--night-ink); border-radius: var(--radius-large); padding: 26px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-weight: 500; font-size: 1rem; padding: 0; }
.optional { font-weight: 400; color: #6A6E85; font-size: 0.875rem; }
.book-form input:not([type="radio"]):not([type="checkbox"]), .book-form select, .book-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: inherit; background: #F7F8FA;
  border: 1.5px solid var(--fog-deep); border-radius: var(--radius-small); padding: 11px 12px; min-height: 46px;
}
.book-form textarea { resize: vertical; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--twilight); box-shadow: 0 0 0 3px rgba(244,185,66,.45); }
.book-form [aria-invalid="true"] { border-color: var(--wax-red) !important; }
.choice-row, .choice-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--fog-deep); border-radius: var(--radius-small); font-size: 1rem; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--twilight); background: #EEF0F7; }
.choice input { accent-color: var(--twilight); width: 18px; height: 18px; margin: 0; }
.form-error { margin: 0; color: var(--wax-red); font-weight: 500; }
.submit { justify-self: start; }
.form-small { margin: 0; font-size: 0.875rem; color: #6A6E85; }
.form-done { border-top: 1px solid var(--fog-deep); padding-top: 16px; }
.form-done h3 { font-size: 1.5rem; }
.form-done p { margin: 0; }

/* Footer: the mascot looks over the counter */
.site-footer { background: #7A5534; color: #F3E6D6; position: relative; padding: 40px 0 28px; font-size: 0.9375rem; }
.footer-peek { position: absolute; width: 180px; left: 8%; bottom: 100%; margin-bottom: -2px; pointer-events: none; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 0.6fr; gap: 32px; }
.footer-cols p { margin: 10px 0 0; color: #E5D3BE; }
.footer-cols ul { list-style: none; display: grid; gap: 6px; }
.footer-cols a { color: #F3E6D6; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.125rem; }
.footer-legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: #E5D3BE; font-size: 0.8125rem; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .nav-links a { padding: 8px 8px; }
  .wordmark { font-size: 1.15rem; }
  .bar { gap: 16px; }
  .offer-grid { grid-template-columns: 1fr; }
  .steps, .guards { grid-template-columns: 1fr 1fr; }
  .cost-grid, .pain-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .wrap, .bar { padding: 0 20px; }
  .bar { height: 64px; gap: 12px; }
  .nav, .header-cta { display: none; }
  .hero-grid, .gains-grid, .film-grid, .about-grid, .page-hero-grid, .features-grid, .journey-grid, .book-grid, .example-grid, .why-grid, .gain-list.wide, .footer-cols { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 24px; gap: 4px; }
  .hero-portrait { justify-self: center; max-width: 210px; order: -1; }
  main > section { padding: 72px 0; }
  .page-hero { padding-top: 40px !important; }
  .page-hero-grid > div { padding-bottom: 0; }
  .page-hero-figure, .photo-slot { max-width: 200px; }
  .trap { grid-template-columns: 1fr; gap: 8px; }
  .addon { grid-template-columns: 1fr; gap: 10px; }
  .film-wide { display: none !important; }
  .film-tall { display: block !important; max-width: 360px; margin: 0 auto; }
  .about-figure { max-width: 220px; margin: 0 auto; }
  .book-figure { display: none; }
  .book-form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .wf-row, .db-row { grid-template-columns: 104px 1fr 72px; gap: 8px; font-size: 0.9375rem; }
  .dash-top { grid-template-columns: 1fr 1fr; }
  .dash-top div:last-child { grid-column: span 2; }
  .footer-peek { display: none; }

  /* Option A: Menu button opens a full-width panel */
  [data-nav="menu"] .menu-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: transparent; color: var(--fog); border: 1.5px solid rgba(255,255,255,.4); border-radius: var(--radius-small); font: 500 1rem var(--font-body); }
  [data-nav="menu"] .menu-panel:not([hidden]) { display: block; padding: 4px 20px 24px; border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 64px); overflow-y: auto; }
  .menu-panel ul { list-style: none; margin-bottom: 16px; }
  .menu-panel li a { display: block; padding: 13px 0; color: var(--fog); text-decoration: none; font-family: var(--font-display); font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-panel li.sub a { font-family: var(--font-body); font-size: 1.0625rem; padding: 10px 0 10px 18px; color: #D6D3E3; }
  .menu-panel .button { width: 100%; }

  /* Option B: thumb-friendly tab bar fixed to the bottom */
  [data-nav="tabs"] .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--twilight); border-top: 1px solid rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; color: #B9B5CC; text-decoration: none; font-size: 0.8125rem; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="true"] { color: var(--lantern-gold); }
  [data-nav="tabs"] body { padding-bottom: 64px; }
  [data-nav="tabs"] .header-cta { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
  [data-nav="tabs"] .wordmark { display: none; }

  /* Option C: second header row of links that scrolls sideways */
  [data-nav="chips"] .bar { flex-wrap: wrap; height: auto; padding-top: 10px; column-gap: 10px; }
  [data-nav="chips"] .brand { gap: 8px; }
  [data-nav="chips"] .brand img { width: 32px; height: 32px; }
  [data-nav="chips"] .wordmark { font-size: 0.92rem; }
  [data-nav="chips"] .header-cta { display: inline-flex; padding: 0 12px; font-size: 0.875rem; min-height: 38px; }
  [data-nav="chips"] .nav { display: block; order: 3; width: calc(100% + 40px); margin: 6px -20px 0; overflow-x: auto; scrollbar-width: none; }
  [data-nav="chips"] .nav::-webkit-scrollbar { display: none; }
  [data-nav="chips"] .nav-links { padding: 0 14px; gap: 0; }
  [data-nav="chips"] .nav-links a { padding: 10px 12px 12px; white-space: nowrap; }

  /* Comparison switcher, only with ?compare */
  [data-compare] .compare { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; background: #fff; color: var(--night-ink); padding: 8px 10px; border-radius: 10px; box-shadow: 0 8px 24px rgba(6,8,26,.25); font-size: 0.875rem; }
  [data-compare][data-nav="tabs"] .compare { bottom: 80px; }
  .compare a { padding: 6px 10px; border-radius: 6px; background: var(--fog); color: var(--night-ink); text-decoration: none; }
  [data-nav="menu"] .compare [data-nav-option="menu"],
  [data-nav="tabs"] .compare [data-nav-option="tabs"],
  [data-nav="chips"] .compare [data-nav-option="chips"] { background: var(--twilight); color: #fff; }
}
@media (max-width: 860px) { [data-nav="chips"] { scroll-padding-top: 116px; } }

@media (max-width: 520px) {
  .steps, .guards { grid-template-columns: 1fr; }
  .actions .button, .submit { width: 100%; }
  .wordmark { font-size: 1rem; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
}

/* ---------- Dashboard preview builder ---------- */
.page-hero.compact { padding: 48px 0 40px !important; }
.page-hero.compact h1 { margin-bottom: 0.3em; }
.builder { background: #F2F4F6; padding: 48px 0 96px !important; }
.builder-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.builder-form { position: sticky; top: 96px; background: #fff; border: 1px solid var(--fog-deep); border-radius: var(--radius-large); padding: 24px; display: grid; gap: 20px; }
.builder-form input:not([type="radio"]):not([type="checkbox"]):not([type="color"]):not([type="file"]), .builder-form select {
  width: 100%; font: inherit; font-size: 1rem; color: inherit; background: #F7F8FA;
  border: 1.5px solid var(--fog-deep); border-radius: var(--radius-small); padding: 10px 12px; min-height: 44px;
}
.builder-form input:focus, .builder-form select:focus { outline: none; border-color: var(--twilight); box-shadow: 0 0 0 3px rgba(244,185,66,.45); }
.builder-form .choice { padding: 7px 11px; font-size: 0.9375rem; }
.hint { margin: 2px 0 0; font-size: 0.875rem; color: #5A5E75; }
.drop { position: relative; display: grid; place-items: center; min-height: 96px; border: 1.5px dashed var(--fog-deep); border-radius: var(--radius-small); background: #F7F8FA; text-align: center; cursor: pointer; padding: 12px; }
.drop:hover, .drop:focus-within { border-color: var(--twilight); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { color: var(--twilight); font-weight: 500; }
.drop-empty small { color: #5A5E75; font-weight: 400; }
.drop-full { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.drop-full[hidden], .drop-empty[hidden] { display: none; }
.drop-full img { max-height: 64px; max-width: 220px; object-fit: contain; }
.link-button { background: none; border: 0; padding: 0; color: var(--verdigris); font: inherit; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.swatches[hidden] { display: none; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1.5px var(--fog-deep); cursor: pointer; padding: 0; }
.swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.swatch:hover { box-shadow: 0 0 0 2px var(--twilight); }
.colour-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.colour { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--fog-deep); border-radius: var(--radius-small); padding: 8px; cursor: pointer; }
.colour input { width: 36px; height: 36px; border: 0; padding: 0; background: none; cursor: pointer; flex: none; }
.colour span { display: grid; line-height: 1.25; font-size: 0.875rem; }
.colour small { color: #5A5E75; font-variant-numeric: tabular-nums; }

.preview-frame { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(22,26,51,.16); border: 1px solid var(--fog-deep); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEEF2; border-bottom: 1px solid var(--fog-deep); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9CED6; }
.frame-bar span { margin-left: 10px; font-size: 0.8125rem; color: #5A5E75; background: #fff; border-radius: 6px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-note { font-size: 0.875rem; color: #5A5E75; margin: 12px 0 0; }
.preview-cta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--twilight); color: var(--fog); border-radius: var(--radius-large); padding: 20px 24px; }
.preview-cta p { margin: 0; font-family: var(--font-display); font-size: 1.375rem; }

/* The sample dashboard itself: plain system type, the client's colours */
.dash-app { --p: #2E3566; --p-ink: #fff; --a: #F4B942; font: 400 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: #1F2433; background: #F6F7F9; }
.dash-app h3, .dash-app h4 { font-family: inherit; margin: 0; text-wrap: initial; }
.d-top { display: flex; align-items: center; gap: 20px; padding: 12px 18px; background: var(--p); color: var(--p-ink); }
.d-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; min-width: 0; }
.d-brand b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-logo { display: grid; place-items: center; height: 34px; min-width: 34px; max-width: 110px; padding: 3px 6px; background: #fff; border-radius: 6px; flex: none; }
.d-logo img { max-height: 28px; max-width: 98px; object-fit: contain; }
.d-initials { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--a); color: #161A33; font-weight: 700; font-size: 13px; flex: none; }
.d-nav { display: flex; gap: 4px; margin-left: auto; font-size: 13px; }
.d-nav span { padding: 6px 10px; border-radius: 6px; opacity: .8; }
.d-nav span.on { opacity: 1; background: rgba(255,255,255,.16); font-weight: 600; }
.d-body { padding: 18px; display: grid; gap: 14px; }
.d-head { display: flex; align-items: baseline; justify-content: space-between; }
.d-head h3 { font-size: 18px; font-weight: 650; }
.d-head span { font-size: 12px; color: #6A6E85; }
.d-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.d-kpis div { background: #fff; border: 1px solid #E3E6EA; border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.d-kpis div.hl { border-color: var(--a); box-shadow: inset 0 3px 0 var(--a); }
.d-kpis span { font-size: 11.5px; color: #6A6E85; }
.d-kpis b { font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-kpis em { font-style: normal; font-size: 11.5px; }
.d-kpis em.up { color: #1F7A55; } .d-kpis em.down { color: #B3261E; }
.d-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.d-card { background: #fff; border: 1px solid #E3E6EA; border-radius: 10px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.d-card h4 { font-size: 13px; font-weight: 600; color: #3E4258; }
.d-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; height: 140px; align-items: end; }
.d-chart .col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.d-chart i { display: block; width: 100%; background: var(--p-mid); border-radius: 3px 3px 0 0; }
.d-chart .now i { background: var(--a); }
.d-chart span { font-size: 10px; color: #6A6E85; }
.d-list { display: grid; gap: 8px; }
.d-li { display: grid; grid-template-columns: 78px 1fr 82px 42px; gap: 8px; align-items: center; font-size: 12.5px; }
.d-li i { display: block; height: 8px; background: var(--p-soft); border-radius: 4px; overflow: hidden; }
.d-li i s { display: block; height: 100%; background: var(--p); border-radius: 4px; }
.d-li b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.d-li small { text-align: right; color: #6A6E85; }
.d-list.compact .d-li { grid-template-columns: 1fr auto; }
.d-li .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--p); margin-right: 7px; }
.d-stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.d-stack s { background: var(--p); }
.d-alerts { list-style: none; display: grid; gap: 8px; font-size: 12.5px; }
.d-alerts li { padding: 8px 10px; border-radius: 8px; background: var(--a-soft); border-left: 3px solid var(--a); }
.d-table { display: grid; font-size: 12.5px; }
.d-table > div { display: grid; grid-template-columns: 1.8fr 1fr 0.6fr 0.9fr 0.7fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid #EEF0F3; }
.d-table > div > span:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.d-table .th { color: #6A6E85; font-size: 11.5px; }
.d-table .warn span:last-child { color: #B3261E; font-weight: 600; }
.d-empty { padding: 80px 24px; text-align: center; color: #5A5E75; }

@media (max-width: 1100px) {
  .d-kpis { grid-template-columns: repeat(3, 1fr); }
  .d-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .builder-grid { grid-template-columns: 1fr; }
  .builder-form { position: static; }
  .d-nav { display: none; }
  .d-kpis { grid-template-columns: 1fr 1fr; }
  .d-kpis div:last-child { grid-column: span 2; }
  .d-body { padding: 12px; }
  .d-li { grid-template-columns: 64px 1fr 76px; }
  .d-li small { display: none; }
  .d-list.compact .d-li { grid-template-columns: 1fr auto; }
  .d-table > div { grid-template-columns: 1.6fr 0.6fr 0.9fr 0.7fr; }
  .d-table > div > span:nth-child(2) { display: none; }
  .preview-cta .button { width: 100%; }
}
.preview-teaser { margin: 24px 0 0; font-size: 1.125rem; }

/* ---------- Founder profile ---------- */
.about-page .page-hero h1 { max-width: 18ch; }
.hero-sub { color: #D6D3E3; max-width: 52ch; }
.proof-band { background: var(--night-ink); color: var(--fog); padding: 40px 0 !important; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-grid div { display: grid; gap: 4px; border-left: 2px solid var(--lantern-gold); padding-left: 18px; }
.proof-grid b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: #fff; }
.proof-grid span { color: #B9B5CC; font-size: 0.9375rem; line-height: 1.4; }
.journey-intro p { color: #3E4258; }
.timeline li p b { font-weight: 600; }
.track-record { background: #F2F4F6; border-top: 1px solid var(--fog-deep); }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.client-list { list-style: none; display: grid; gap: 0; margin: 8px 0 24px; }
.client-list li { font-family: var(--font-display); font-size: 1.375rem; padding: 9px 0; border-bottom: 1px solid var(--fog-deep); }
.client-list li span { font-family: var(--font-body); font-size: 1rem; color: #5A5E75; }
.clients p { color: #3E4258; }
.clients p b { font-weight: 600; color: var(--night-ink); }
.focus-list { display: grid; gap: 16px; margin: 8px 0 32px; }
.focus-list dt { font-family: var(--font-display); font-size: 1.375rem; }
.focus-list dd { margin: 0; color: #3E4258; }
.walmart-note { background: #fff; border: 1px solid var(--fog-deep); border-left: 4px solid var(--kraft); border-radius: var(--radius-small); padding: 20px 22px; }
.walmart-note p { margin: 0; color: #3E4258; }
.now { background: var(--twilight); color: var(--fog); }
.now-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.now .lede { color: #D6D3E3; }
.why .enjoy { margin-top: 32px; padding: 28px 32px; background: var(--mist); border-radius: var(--radius-large); }
.why .enjoy p { margin: 0; font-size: 1.25rem; line-height: 1.5; }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .record-grid, .now-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Icons: pain points and solutions (see brand/index.html → Iconography) ---------- */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; flex: none; }
.ico svg { width: 24px; height: 24px; stroke-dasharray: 100 200; stroke-dashoffset: 0; }
.ico.pain { background: #FBEAEC; color: var(--wax-red); }
.ico.gain { background: #E1EFEC; color: var(--verdigris); }
.gains .ico.gain, .offer-card .ico.gain, .now .ico.gain, .examples .ico.gain { background: rgba(244,185,66,.14); color: var(--lantern-gold); }
.cost-grid .ico, .pain-grid .ico, .offer-card .ico { margin-bottom: 12px; }
.gain-list li { grid-template-columns: 44px 1fr; align-items: center; }
.feature-list > div, .guards > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.feature-list .ico, .guards .ico { grid-row: span 2; }
.feature-list dt, .feature-list dd, .guards dt, .guards dd { grid-column: 2; }
.guards div { border-top: 0; padding-top: 0; }
.addon { grid-template-columns: auto auto 1fr auto; }

/* ---------- Client logo banner ---------- */
main > section.logo-band { padding: 22px 0 26px; background: #fff; border-bottom: 1px solid var(--fog-deep); }
.logo-head p { margin: 0 0 12px; font-size: 0.9375rem; color: #5A5E75; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-row { list-style: none; display: flex; align-items: center; gap: 72px; padding: 0 72px 0 0; margin: 0; }
/* Every logo becomes a solid black mark, whatever its original colours */
.logo-row img { display: block; width: auto; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .78; }
.logo-row img.logo-wide { height: 34px; max-width: 170px; }
.logo-row img.logo-extra-wide { height: 26px; max-width: 230px; }
.logo-row img.logo-square { height: 48px; max-width: 48px; }
.logo-word { font-family: var(--font-mark); font-size: 1.5rem; color: #23263A; white-space: nowrap; opacity: .82; }
@keyframes marquee { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .logo-row { flex-wrap: wrap; justify-content: center; gap: 16px 48px; padding: 0 20px; width: 100%; }
  .logo-row[aria-hidden] { display: none; }
}

/* ---------- Motion: page-load and scroll-in transitions ----------
   Only active when JavaScript adds .js-motion (never with "reduce motion" switched on). */
.js-motion [data-reveal] { opacity: 0; transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1), clip-path .75s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js-motion [data-reveal="rise"] { transform: translateY(22px); }
.js-motion [data-reveal="left"] { transform: translateX(-28px); }
.js-motion [data-reveal="right"] { transform: translateX(28px); }
.js-motion [data-reveal="zoom"] { transform: scale(.95); }
.js-motion [data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-reveal="wipe"].is-in { clip-path: inset(-20px -20px -20px -20px); }

.js-motion .ico.pain svg { transform-origin: 50% 60%; }
.js-motion .is-in .ico.pain svg, .js-motion .is-in.ico.pain svg { animation: nudge .6s calc(var(--i, 0) * 70ms + .3s) ease-out both; }
.js-motion [data-reveal] .ico.gain svg { stroke-dashoffset: 100; }
.js-motion .is-in .ico.gain svg { animation: draw .9s calc(var(--i, 0) * 70ms + .25s) ease-out forwards; }
@keyframes nudge { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 55% { transform: rotate(9deg); } 80% { transform: rotate(-4deg); } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* One orchestrated page-load moment for each page's opening */
.js-motion .hero-copy > *, .js-motion .page-hero-grid > div > *, .js-motion .page-hero.compact .wrap > * { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
.js-motion .hero-copy > :nth-child(2), .js-motion .page-hero-grid > div > :nth-child(2), .js-motion .page-hero.compact .wrap > :nth-child(2) { animation-delay: .08s; }
.js-motion .hero-copy > :nth-child(3), .js-motion .page-hero-grid > div > :nth-child(3), .js-motion .page-hero.compact .wrap > :nth-child(3) { animation-delay: .16s; }
.js-motion .hero-copy > :nth-child(n+4), .js-motion .page-hero-grid > div > :nth-child(n+4), .js-motion .page-hero.compact .wrap > :nth-child(n+4) { animation-delay: .24s; }
.js-motion .hero-portrait, .js-motion .page-hero-figure, .js-motion .photo-slot { animation: figureIn .9s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes figureIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }

@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  main > section { padding: 56px 0; }
  .logo-row { gap: 48px; padding-right: 48px; }
  .logo-word { font-size: 1.25rem; }
  .addon { grid-template-columns: auto 1fr; }
  .addon .addon-body, .addon .more { grid-column: 1 / -1; }
}

/* Draft notes are for Ken only: hidden unless the address has ?drafts */
html:not([data-drafts]) .todo { display: none; }

/* Page not found */
.not-found { background: radial-gradient(110% 90% at 50% 30%, #474F8C 0%, var(--twilight) 65%); color: var(--fog); min-height: 70vh; display: grid; align-items: center; }
.not-found-inner { display: grid; justify-items: center; text-align: center; padding-top: 24px; padding-bottom: 24px; }
.not-found img { width: 100%; max-width: 300px; margin-bottom: 8px; }
.not-found .lede { color: #D6D3E3; margin-inline: auto; }
.not-found .actions { justify-content: center; }
.not-found-page .footer-peek { display: none; }

/* Ken's photo on the profile: an arched frame with a lantern-gold rim and a soft glow,
   fading at the bottom so it settles into the twilight background */
.ken-photo { margin: 0; position: relative; justify-self: center; align-self: end; width: 100%; max-width: 380px; }
.ken-photo::before { content: ""; position: absolute; inset: 8% -10% 0; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(244,185,66,.28), rgba(244,185,66,0)); }
.ken-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 190px 190px 0 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  outline: 2px solid rgba(244,185,66,.55); outline-offset: 6px;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.js-motion .ken-photo { animation: figureIn .9s .15s cubic-bezier(.2,.7,.2,1) both; }
@media (max-width: 860px) { .ken-photo { max-width: 260px; margin-top: 8px; } }

/* ---------- Journey: animated trade-route map ---------- */
.route-map { margin: 0 0 40px; background: var(--twilight); border-radius: var(--radius-large); overflow: hidden; }
.route-map svg { display: block; width: 100%; height: auto; }
.rm-contours path { stroke: #3A4278; stroke-width: 1.2; }
.rm-compass circle { stroke: #4C548A; stroke-width: 1.5; }
.rm-compass path { fill: #4C548A; }
.rm-compass text { font: 500 13px var(--font-body); fill: #6E75A6; }
.rm-road { fill: none; stroke: #59609A; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 2 10; }
.rm-trail { fill: none; stroke: var(--lantern-gold); stroke-width: 3.5; stroke-linecap: round; }
.rm-pin circle { fill: var(--twilight); stroke: #8E95BF; stroke-width: 2.5; transition: fill .35s, stroke .35s; }
.rm-pin .rm-text { opacity: .4; transition: opacity .45s; }
.rm-pin.is-lit circle { fill: var(--lantern-gold); stroke: var(--lantern-gold); }
.rm-pin.is-lit .rm-text { opacity: 1; }
.rm-year { font: 400 21px var(--font-display); fill: #fff; }
.rm-label { font: 400 15px var(--font-body); fill: #C9C5DA; }
.rm-today.is-lit .rm-label { fill: var(--lantern-gold); }
.rm-glow { fill: var(--lantern-gold); opacity: .2; }
.rm-core { fill: var(--lantern-gold); }
.rm-flame { fill: #FFF6D6; }
.route-map .rm-tall { display: none; }
@media (max-width: 700px) {
  .route-map { margin-bottom: 24px; }
  .route-map .rm-wide { display: none; }
  .route-map .rm-tall { display: block; max-height: 62vh; margin: 0 auto; }
}
.journey-title { margin-bottom: 20px; }

/* ---------- Profile: mobile-first rework ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.journey-lede { max-width: 62ch; color: #3E4258; margin-bottom: 24px; }

/* Timeline: a row of five under the map on desktop, a list on phones */
.journey .timeline { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.journey .timeline li { margin: 0; padding: 30px 0 0; border-left: 0; border-top: 2px solid var(--fog-deep); }
.journey .timeline li::before { left: 0; top: -16px; }
.journey .timeline li:last-child { border-top-color: var(--lantern-gold); }
.journey .timeline h3 { font-size: 1.2rem; }
.journey .timeline p { font-size: 0.975rem; }

/* Brand carousel: logos in their own colours */
.brand-carousel { margin: 8px 0 40px; }
.brand-track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.brand-track::-webkit-scrollbar { display: none; }
.brand-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--fog-deep); border-radius: var(--radius-large); padding: 16px 18px 18px; display: grid; align-content: start; gap: 4px; }
.brand-logo { height: 96px; border-radius: 10px; background: #F7F7F5; display: grid; place-items: center; padding: 14px 18px; margin-bottom: 10px; }
.brand-logo.dark { background: #111317; }
.brand-logo img { max-height: 46px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.brand-logo img.square { max-height: 70px; }
.brand-card h3 { font-size: 1.25rem; margin: 0; }
.brand-cat { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--verdigris); }
.brand-card p:last-child { margin: 4px 0 0; color: #3E4258; font-size: 0.975rem; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--fog-deep); background: #fff; color: var(--twilight); display: grid; place-items: center; cursor: pointer; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { border-color: var(--twilight); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--fog-deep); transition: background .3s, width .3s; }
.carousel-dots i.on { width: 22px; border-radius: 4px; background: var(--twilight); }

/* Focus areas: a cycle, because the work is a loop */
.focus-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.focus-cycle { background: var(--twilight); color: var(--fog); border-radius: var(--radius-large); padding: 24px; }
.focus-cycle h3 { margin-bottom: 14px; }
.cycle-body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.cycle-wheel { position: relative; width: 200px; height: 200px; }
.cycle-ring { position: absolute; inset: 22px; border-radius: 50%; border: 2px dashed #59609A; }
.cycle-orbit { position: absolute; inset: 22px; transition: transform .9s cubic-bezier(.4,0,.2,1); }
.cycle-lantern { position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--lantern-gold); box-shadow: 0 0 0 6px rgba(244,185,66,.22); }
.cycle-node { position: absolute; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.cycle-node .ico { width: 50px; height: 50px; border-radius: 14px; background: #3A4278; color: #B9B5CC; transition: background .4s, color .4s, transform .4s; }
.cycle-node[aria-pressed="true"] .ico { background: var(--lantern-gold); color: var(--night-ink); transform: scale(1.08); }
.n0 { left: 75px; top: -3px; } .n1 { right: -3px; top: 75px; } .n2 { left: 75px; bottom: -3px; } .n3 { left: -3px; top: 75px; }
.cycle-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: c; }
.cycle-steps li { padding: 8px 12px; border-radius: 10px; color: #9D98B3; transition: background .4s, color .4s; display: grid; gap: 2px; cursor: default; }
.cycle-steps li b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.cycle-steps li span { font-size: 0.95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s, opacity .45s; }
.cycle-steps li.is-active { background: rgba(255,255,255,.06); color: #fff; }
.cycle-steps li.is-active span { max-height: 4em; opacity: 1; color: #D6D3E3; }
.focus-row .walmart-note { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-content: center; border-left-width: 1px; border-color: var(--fog-deep); background: #fff; border-radius: var(--radius-large); padding: 22px; }
.focus-row .walmart-note h3 { font-size: 1.3rem; margin-bottom: 4px; }

/* Why work with me: coloured cards with icons */
.why-grid .why-card { border-radius: var(--radius-large); padding: 20px; display: grid; align-content: start; gap: 6px; border-top: 0; }
.why-card h3 { font-size: 1.3rem; margin: 6px 0 0; }
.why-card p { margin: 0; }
.why-card.tone-night { background: var(--twilight); color: var(--fog); }
.why-card.tone-night p { color: #D6D3E3; }
.why-card.tone-night .ico.gain { background: rgba(244,185,66,.16); color: var(--lantern-gold); }
.why-card.tone-green { background: #E1EFEC; }
.why-card.tone-green .ico.gain { background: #fff; color: var(--verdigris); }
.why-card.tone-kraft { background: #F2E6D6; }
.why-card.tone-kraft .ico.gain { background: #fff; color: #8A5E3B; }
.why-card.tone-mist { background: var(--mist); }
.why-card.tone-mist .ico.gain { background: #fff; color: var(--twilight); }
.why-card:not(.tone-night) p { color: #3E4258; }
.why .enjoy { margin: 20px 0 0; padding: 16px 20px; background: #fff; border: 1px solid var(--fog-deep); border-radius: var(--radius-large); font-size: 1.05rem; max-width: none; }
.why .enjoy b { font-weight: 600; }

@media (max-width: 980px) {
  .journey .timeline { grid-template-columns: 1fr 1fr; }
  .focus-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-grid .why-card { grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .why-card .ico { grid-row: span 2; }
  .why-card h3 { margin: 0; font-size: 1.2rem; }
  .brand-track { grid-auto-columns: 82%; }
}
@media (max-width: 700px) {
  .journey .timeline { grid-template-columns: 1fr; gap: 0; }
  .journey .timeline li { padding: 0 0 18px 40px; border-top: 0; border-left: 2px solid var(--fog-deep); margin-left: 15px; }
  .journey .timeline li::before { left: -16px; top: -2px; }
  .journey .timeline li:last-child { border-left-color: transparent; }
  .cycle-body { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .cycle-steps { width: 100%; }
  .focus-cycle { padding: 20px 16px; }
}

/* Profile opening: headline, then photo, then text on phones; photo beside the text on desktop */
.about-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; grid-template-areas: "title photo" "text photo"; column-gap: 40px; align-items: end; }
.about-hero .ah-title { grid-area: title; align-self: end; max-width: 18ch; }
.about-hero .ah-photo { grid-area: photo; }
.about-hero .ah-text { grid-area: text; align-self: start; padding-bottom: 48px; }
.js-motion .about-hero .ah-title, .js-motion .about-hero .ah-text > * { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
.js-motion .about-hero .ah-text > :nth-child(1) { animation-delay: .08s; }
.js-motion .about-hero .ah-text > :nth-child(2) { animation-delay: .16s; }
.js-motion .about-hero .ah-text > :nth-child(3) { animation-delay: .24s; }
@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; grid-template-areas: "title" "photo" "text"; }
  .about-hero .ah-title { margin-bottom: 18px; }
  .about-hero .ah-photo { margin: 0 auto 22px; }
  .about-hero .ah-photo img { -webkit-mask-image: none; mask-image: none; border-radius: 130px 130px 18px 18px; }
  .about-hero .ah-text { padding-bottom: 40px; }
}
