/* A partner's wholesale page (/p/<slug> or their own wholesale.<domain>). Three looks from one sheet:
     look-store  dressed as the partner's own store: their paper, ink, header colour, button, radii, faces and
                 logo, all from their tokens in brand.css (generated from the partner list)
     look-plain  no name, one ink on warm paper, the same quiet world as the ordering portal
     look-brand  the partner's name and colour: a full-bleed band behind the opening, their colour on every
                 action, their face on the headings (colour + face come from /p/<slug>/brand.css)
   Served under a strict CSP: no inline style anywhere, so every state lives here as a class. */

:root{
  --bg:#f7f6f3; --raised:#ffffff; --hairline:#e3e0d9; --hairline-strong:#cdc8bd;
  --ink:#15140f; --muted:#5f5a4e; --faint:#8f8a7d; --bad:#a3261b;
  --brand:#15140f; --brand-deep:#000000; --brand-on:#ffffff;
  --head:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --radius:8px; --gutter:16px; --maxw:1120px; --bar-h:60px;
  --ease:cubic-bezier(.22,1,.36,1);
}
@media (min-width:700px){:root{--gutter:28px}}
@media (min-width:1100px){:root{--gutter:40px}}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--bar-h) + 12px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1rem;line-height:1.55;font-feature-settings:'cv11' 1,'ss03' 1;overflow-x:clip}
h1,h2,h3{margin:0;color:var(--ink);font-family:var(--head);text-wrap:balance}
p{margin:0;text-wrap:pretty}
a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--hairline-strong);text-underline-offset:3px}
a:hover{text-decoration-color:currentColor}
button,input{font:inherit;color:inherit}
:where(a,button,input):focus{outline:none}
:where(a,button,input):focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:var(--radius)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
.fine{color:var(--muted);font-size:.8125rem;line-height:1.55}
.skip{position:absolute;left:var(--gutter);top:-60px;z-index:100;padding:.6rem 1rem;background:var(--raised);color:var(--ink);border-radius:var(--radius);border:1px solid var(--hairline)}
.skip:focus{top:10px}

/* ---------- buttons: one shape, the partner's colour (ink on the plain look) ---------- */
.pbtn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 1.35rem;border-radius:var(--radius);border:1px solid var(--brand);background:var(--brand);color:var(--brand-on);font-weight:600;font-size:.9375rem;letter-spacing:-.005em;text-decoration:none;white-space:nowrap;cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .2s var(--ease),transform .14s ease}
.pbtn:hover{background:var(--brand-deep);border-color:var(--brand-deep);box-shadow:0 8px 20px -12px rgba(21,20,15,.55)}
.pbtn:active{transform:scale(.97)}
.pbtn-sm{min-height:38px;padding:0 .95rem;font-size:.875rem}
.pbtn-ghost{background:transparent;color:var(--ink);border-color:var(--hairline-strong)}
.pbtn-ghost:hover{background:var(--raised);border-color:var(--ink);color:var(--ink)}
.pbtn[disabled]{opacity:.6;cursor:progress}

/* ---------- the bar: sits on the opening, turns solid once you scroll past it ---------- */
.pbar{position:fixed;top:0;left:0;right:0;z-index:40;transition:background-color .2s ease,box-shadow .2s ease}
.pbar-in{min-height:var(--bar-h);display:flex;align-items:center;justify-content:space-between;gap:20px}
.mark{font-family:var(--head);font-weight:700;font-size:1.0625rem;letter-spacing:-.015em;color:var(--ink);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pnav{display:flex;align-items:center;gap:20px;flex:none}
.pnav-link{font-size:.9375rem;font-weight:500;text-decoration:none;color:var(--muted)}
.pnav-link:hover{color:var(--ink)}
.pbar.solid{background:color-mix(in srgb,var(--bg) 94%,transparent);box-shadow:0 1px 0 var(--hairline);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}
/* Both text links only from 561px: with both the nav is ~270px, and a 220px logo plus the gutters needs ~542px, so
   on a large phone (421-560px) they squeezed the logo to 108px and cut it to "INDEPE" (11/20 review). There a
   returning buyer keeps Sign in (the hero already has "See prices"); under 421px the bar is the logo and the button. */
@media (max-width:560px){.pnav-link:not(.pnav-signin){display:none}.pnav{gap:16px}}
@media (max-width:420px){.pnav-link{display:none}}

/* ---------- the opening: headline, one line, the two actions, the research-use line. Nothing else. ---------- */
.hero{padding:calc(var(--bar-h) + clamp(3.5rem,11vh,7.5rem)) 0 clamp(3rem,8vh,5.5rem)}
.hero h1{font-size:clamp(2.35rem,1.35rem + 4.3vw,4.75rem);line-height:1.02;font-weight:650;letter-spacing:-.035em;max-width:15ch}
.hero .lead{margin-top:1.4rem;max-width:44ch;font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.5;color:var(--muted)}
.cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:2rem}
.ruo{margin-top:1.4rem;font-size:.8125rem;color:var(--muted)}
/* The centred opening: one big button in the middle of the page, a quiet way to the prices under it. */
.hero-center .wrap{display:flex;flex-direction:column;align-items:center;text-align:center}
.hero-center h1{max-width:16ch}
.hero-center .lead{margin-left:auto;margin-right:auto}
.hero-center .cta{flex-direction:column;align-items:center;gap:14px;margin-top:2.25rem}
.pbtn-hero{min-height:58px;padding:0 2.25rem;font-size:1.0625rem}
@media (max-width:480px){.hero-center .pbtn-hero{width:100%}}
.cta-link{font-size:.9375rem;font-weight:500;color:var(--muted);text-decoration:underline;text-decoration-color:var(--hairline-strong);text-underline-offset:4px}
.cta-link:hover{color:var(--ink);text-decoration-color:currentColor}
.look-brand .hero .cta-link{color:color-mix(in srgb,var(--brand-on) 80%,var(--brand))}

/* ---------- six plain facts on hairlines ---------- */
.facts ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--ink)}
.facts li{padding:1.15rem 0 1.25rem;border-bottom:1px solid var(--hairline);min-width:0}
.facts strong{display:block;font-family:var(--head);font-size:1.125rem;font-weight:650;letter-spacing:-.012em;line-height:1.25;margin-bottom:.3rem}
.facts span{display:block;color:var(--muted);font-size:.9375rem;max-width:40ch}
@media (min-width:640px){
  .facts ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2rem}
}
@media (min-width:1000px){
  .facts ul{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:2.5rem}
  .facts li{padding:1.5rem 0 1.6rem}
}

/* ---------- the price sheet ---------- */
.prices{padding:clamp(3.5rem,9vw,6.5rem) 0 clamp(3rem,8vw,5.5rem)}
.sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem 2rem;padding-bottom:.4rem}
.sec-copy p{margin-top:.5rem}
.sheet-pdf{flex:none;gap:.45rem}
.sheet-pdf svg{flex:none}
.sec-head h2,.access h2{font-size:clamp(1.75rem,1.3rem + 1.9vw,2.75rem);line-height:1.08;font-weight:650;letter-spacing:-.03em}
.sec-head p{color:var(--muted);font-size:.9375rem}
.sheet-group{margin-top:2.4rem}
.sheet-group h3{font-family:var(--body);font-size:.8125rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.5rem}
.sheet{width:100%;border-collapse:collapse;table-layout:fixed}
/* fixed columns, so the three groups line up as one sheet */
.sheet .c-name{width:auto}.sheet .c-size{width:22%}.sheet .c-vial{width:15%}.sheet .c-kit{width:13%}
.sheet tbody th{overflow-wrap:anywhere}
.sheet th,.sheet td{padding:.7rem .75rem;text-align:left;vertical-align:baseline;border-bottom:1px solid var(--hairline)}
.sheet thead th{padding-top:.5rem;padding-bottom:.55rem;font-size:.8125rem;font-weight:600;color:var(--muted);border-bottom:1px solid var(--ink)}
.sheet tbody th{font-weight:550}
.sheet th:first-child,.sheet td:first-child{padding-left:0}
.sheet th:last-child,.sheet td:last-child{padding-right:0}
.sheet .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.sheet .size{white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.sheet td.num{color:var(--muted)}
.sheet td.kit{color:var(--ink);font-weight:600}
/* stock, read the way the ordering portal reads it: under one kit is out, a few kits left is low */
.sheet .stock-tag{display:block;margin-top:.15rem;font-size:.75rem;font-weight:600;letter-spacing:.01em;color:var(--muted)}
.sheet tr.is-out th{color:var(--muted)}
.sheet tr.is-out .stock-tag{color:var(--ink)}
.sheet tr.is-out td.kit{color:var(--muted);font-weight:500}
@media (hover:hover){.sheet tbody tr:hover{background:color-mix(in srgb,var(--brand) 4%,transparent)}}
.sheet-fine{margin-top:2rem}
@media (max-width:560px){
  .sheet{font-size:.875rem}
  .sheet th,.sheet td{padding-left:.35rem;padding-right:.35rem}
  .sheet .c-size{width:20%}.sheet .c-vial{width:19%}.sheet .c-kit{width:21%}
  .sheet .size{white-space:normal}
}
@media (max-width:360px){
  .sheet{font-size:.8125rem}
  .sheet th,.sheet td{padding-left:.25rem;padding-right:.25rem}
  .sheet .c-size{width:18%}.sheet .c-vial{width:19%}.sheet .c-kit{width:24%}
}

/* ---------- request access ---------- */
.access{padding:clamp(3.5rem,9vw,6.5rem) 0;border-top:1px solid var(--hairline);background:var(--raised)}
.access-in{display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;align-items:start}
@media (min-width:860px){.access-in{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(3rem,6vw,6rem)}}
.access-copy > p{margin-top:1rem;color:var(--muted);max-width:42ch}
.steps{margin:1.8rem 0 1.8rem;padding:0;list-style:none;counter-reset:step;border-top:1px solid var(--hairline)}
.steps li{counter-increment:step;display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.25rem;padding:.85rem 0;border-bottom:1px solid var(--hairline);color:var(--muted)}
.steps li::before{content:counter(step);font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.steps strong{color:var(--ink);font-weight:600}
.pform{display:grid;gap:1rem;min-width:0}
.pform label{display:grid;gap:.4rem;font-size:.875rem;font-weight:600}
.pform .opt em{font-style:normal;font-weight:400;color:var(--muted)}
.pform input[type=text],.pform input[type=email],.pform input[type=tel],.pform select{width:100%;min-width:0;min-height:48px;padding:.7rem .85rem;font-size:1rem;font-weight:400;background:var(--bg);border:1px solid var(--hairline-strong);border-radius:var(--radius);transition:border-color .15s ease,background-color .15s ease}
.pform input[type=text]:focus-visible,.pform input[type=email]:focus-visible,.pform input[type=tel]:focus-visible,.pform select:focus-visible{background:var(--raised);border-color:var(--brand);outline:1px solid var(--brand);outline-offset:0}
.pform input[aria-invalid=true],.pform select[aria-invalid=true]{border-color:var(--bad)}
.pform select{color:inherit;font-family:inherit;font-size:1rem;appearance:none;-webkit-appearance:none;padding-right:2.4rem;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 1.15rem) 50%,calc(100% - .8rem) 50%;background-size:.35rem .35rem;background-repeat:no-repeat}
.pform .addr{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr) minmax(0,1fr);gap:.75rem}
@media (max-width:480px){.pform .addr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pform .addr label:first-child{grid-column:1/-1}}
.pform .check{display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:start;font-weight:400;font-size:.9375rem}
.pform .check input{width:1.15rem;height:1.15rem;margin:.18rem 0 0;accent-color:var(--brand)}
.pform .trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.pform button{justify-self:start;margin-top:.25rem}
.err{color:var(--bad);font-size:.875rem;font-weight:500}
.done{display:grid;gap:.75rem;padding-top:1rem;border-top:2px solid var(--brand)}
.done:focus{outline:none}
.done h3{font-size:1.5rem;font-weight:650;letter-spacing:-.02em}
.done p{color:var(--muted)}
.done strong{color:var(--ink)}
.done-go{display:grid;gap:.6rem;justify-items:start;margin-top:.5rem}

/* ---------- foot ---------- */
.pfoot{padding:2.5rem 0 3rem;border-top:1px solid var(--hairline);background:var(--bg)}
.pfoot-in{display:grid;gap:.6rem;max-width:var(--maxw)}
.pfoot p{color:var(--muted);font-size:.875rem;max-width:62ch}
.pfoot .mark{color:var(--ink)}

/* =========================================================================================
   look-brand: the partner's colour behind the opening, their face on the headings.
   ========================================================================================= */
.look-brand body{font-family:var(--body)}
.look-brand .hero{position:relative;background:var(--brand);color:var(--brand-on);overflow:hidden;isolation:isolate}
/* one quiet depth cue: a lit edge in their own colour, no pattern, no ornament */
.look-brand .hero::before{content:"";position:absolute;inset:-30% -10% auto 35%;height:130%;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--brand) 55%,#ffffff 18%),transparent 72%);opacity:.55}
.look-brand .hero h1{color:var(--brand-on);font-weight:700;letter-spacing:-.04em;max-width:17ch}
.look-brand .hero .lead{color:color-mix(in srgb,var(--brand-on) 80%,var(--brand))}
.look-brand .hero .ruo{color:color-mix(in srgb,var(--brand-on) 72%,var(--brand))}
.look-brand .hero .pbtn-hero{background:var(--brand-on);border-color:var(--brand-on);color:var(--brand)}
.look-brand .hero .pbtn-hero:hover{background:color-mix(in srgb,var(--brand-on) 88%,var(--brand));border-color:transparent;box-shadow:0 10px 26px -14px rgba(0,0,0,.6)}
.look-brand .hero .pbtn-ghost{color:var(--brand-on);border-color:color-mix(in srgb,var(--brand-on) 45%,transparent)}
.look-brand .hero .pbtn-ghost:hover{background:color-mix(in srgb,var(--brand-on) 10%,transparent);border-color:var(--brand-on)}
.look-brand .hero :focus-visible{outline-color:var(--brand-on)}
/* the bar starts on their colour, white type; once past the opening it is paper again */
.look-brand .pbar:not(.solid) .mark,.look-brand .pbar:not(.solid) .pnav-link{color:var(--brand-on)}
.look-brand .pbar:not(.solid) .pnav-link{opacity:.82}
.look-brand .pbar:not(.solid) .pnav-link:hover{opacity:1}
.look-brand .pbar:not(.solid) .pbtn{background:transparent;border-color:color-mix(in srgb,var(--brand-on) 45%,transparent);color:var(--brand-on)}
.look-brand .pbar:not(.solid) .pbtn:hover{background:var(--brand-on);color:var(--brand);border-color:var(--brand-on)}
.look-brand .pbar:not(.solid) :focus-visible{outline-color:var(--brand-on)}
.look-brand .facts{padding-top:clamp(2.5rem,6vw,4rem)}
.look-brand .facts ul{border-top-color:var(--brand)}
.look-brand .sheet thead th{border-bottom-color:var(--brand)}
.look-brand .sheet td.kit{color:var(--brand)}
.look-brand .mark{letter-spacing:-.02em}
.look-brand .pfoot .mark{color:var(--brand)}

/* =========================================================================================
   look-store: the partner's own store. The bar and the opening wear their header's colours (top-*), dark on a
   store whose header is dark; everything under it sits on their paper, in their faces, with their button.
   ========================================================================================= */
.look-store body{font-family:var(--body)}
.look-store .pbtn{border-radius:var(--btn-radius)}
.look-store .pbtn:hover{box-shadow:0 10px 24px -14px color-mix(in srgb,var(--brand) 80%,transparent)}
.look-store h1,.look-store h2{font-family:var(--head);font-weight:var(--head-weight);letter-spacing:var(--head-tracking);text-transform:var(--head-case)}
.look-store .facts strong,.look-store .done h3{font-family:var(--head);font-weight:var(--head-weight);font-size:calc(1.125rem * var(--head-scale))}
.look-store .sec-head h2,.look-store .access h2{font-size:calc(clamp(1.75rem,1.3rem + 1.9vw,2.75rem) * var(--head-scale))}
.look-store .hero{position:relative;background:var(--top-bg);color:var(--top-ink);overflow:hidden;isolation:isolate}
/* one quiet depth cue: their button colour as a soft light behind the headline */
.look-store .hero::before{content:"";position:absolute;inset:-45% -15% auto 25%;height:150%;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,color-mix(in srgb,var(--brand) 20%,transparent),transparent 72%)}
.look-store.top-dark .hero::before{background:radial-gradient(closest-side,color-mix(in srgb,var(--brand) 38%,transparent),transparent 72%)}
.look-store .hero h1{color:var(--top-ink);font-size:calc(clamp(2.35rem,1.35rem + 4.3vw,4.75rem) * var(--head-scale));line-height:1.04;max-width:18ch}
.look-store .hero .lead,.look-store .hero .ruo,.look-store .hero .cta-link{color:var(--top-muted)}
.look-store .hero .cta-link{text-decoration-color:color-mix(in srgb,var(--top-muted) 45%,transparent)}
.look-store .hero .cta-link:hover{color:var(--top-ink);text-decoration-color:currentColor}
.look-store .hero :focus-visible,.look-store .pbar :focus-visible{outline-color:var(--top-ink)}
.look-store:not(.top-dark) .hero{border-bottom:1px solid var(--hairline)}
/* the bar sits clear on the opening, then takes their header colour once you scroll past it */
.look-store .pbar.solid{background:color-mix(in srgb,var(--top-bg) 94%,transparent);box-shadow:0 1px 0 var(--top-line);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}
.look-store .pbar .mark{color:var(--top-ink)}
.look-store .pbar .pnav-link{color:var(--top-muted)}
.look-store .pbar .pnav-link:hover{color:var(--top-ink)}
.look-store .mark{display:inline-flex;align-items:center;gap:10px;font-family:var(--head);font-weight:var(--head-weight);letter-spacing:var(--head-tracking)}
.look-store .mark span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* If anything still crowds the bar, the logo scales down whole (contain) instead of being cut off by the mark. */
.mark-logo{display:block;height:var(--logo-h,32px);width:auto;max-width:min(220px,48vw);object-fit:contain;object-position:left center;flex:0 1 auto;min-width:0}
.look-store .pfoot .mark{color:var(--ink)}
.look-store .pfoot .mark-logo{height:calc(var(--logo-h,32px) * .85)}
.look-store.top-dark .pfoot{background:var(--top-bg);border-top-color:var(--top-line)}
.look-store.top-dark .pfoot .mark{color:var(--top-ink)}
.look-store.top-dark .pfoot p{color:var(--top-muted)}
.look-store .facts{padding-top:clamp(2.5rem,6vw,4rem)}
.look-store .facts ul{border-top-color:var(--ink)}
.look-store .sheet td.kit{color:var(--ink)}
.look-store .done{border-top-color:var(--brand)}
@media (max-width:420px){.look-store .mark-logo{max-width:40vw}}

/* look-plain: the opening sits on the paper, closed by one hairline */
.look-plain .hero{border-bottom:1px solid var(--hairline)}
.look-plain .facts{padding-top:clamp(2.5rem,6vw,4rem)}
.look-plain .facts ul{border-top:0}
.look-plain .mark{font-family:var(--body);font-weight:600;letter-spacing:-.01em}

/* one authored moment: the opening settles in on first paint, from an already readable state */
@media (prefers-reduced-motion:no-preference){
  .hero h1,.hero .lead,.hero .cta,.hero .ruo{animation:rise .7s var(--ease) both}
  .hero .lead{animation-delay:.06s}
  .hero .cta{animation-delay:.12s}
  .hero .ruo{animation-delay:.16s}
  @keyframes rise{from{transform:translateY(8px)}to{transform:none}}
}

/* Footer links (sign in, terms, privacy) and the links in the form's fine print. */
.pfoot-links{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.pfoot-links a{color:inherit;text-decoration:none;padding:.3rem 0}
.pfoot-links a:hover{color:var(--ink);text-decoration:underline}
.look-store.top-dark .pfoot-links a:hover{color:var(--top-ink)}
.pform .fine a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* The terms and privacy pages. */
.legal{padding:calc(var(--bar-h) + 2.5rem) 0 3.5rem}
.legal-in{max-width:46rem}
.legal h1{font-family:var(--head);font-size:clamp(1.75rem,4vw,2.25rem);line-height:1.15;margin:0 0 .4rem;color:var(--ink)}
.legal-date{color:var(--muted);font-size:.875rem;margin:0 0 2rem}
.legal h2{font-family:var(--head);font-size:1.125rem;margin:2rem 0 .6rem;color:var(--ink)}
.legal p{color:var(--ink);line-height:1.65;margin:0 0 .85rem;max-width:68ch}

/* =========================================================================================
   A brand's own opening line (partners.json copy.kicker), and motif-flag: stars and stripes worn on the store's
   own tokens, for a standalone American brand (Independence Supply, 2026-11-20). Decoration only: every colour
   is the theme's (--brand red, --top-bg navy), so the contrast checks in partners.mjs still hold.
   ========================================================================================= */
.kicker{margin:0 0 1.15rem;font-family:var(--body);font-size:.8125rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--top-muted)}
.motif-flag{--star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.09 6.26 6.91 1-5 4.87 1.18 6.87L12 17.25 5.82 20.5 7 13.63 2 8.76l6.91-1z'/%3E%3C/svg%3E");
  --flag-red:color-mix(in srgb,var(--brand) 78%,#ffffff);
  --stripes:linear-gradient(to bottom,var(--brand) 0 33.34%,#ffffff 33.34% 66.67%,var(--brand) 66.67% 100%)}
.motif-flag .kicker{display:inline-flex;align-items:center;gap:.75rem;color:var(--top-ink)}
.motif-flag .kicker::before,.motif-flag .kicker::after{content:"";flex:none;width:12px;height:12px;background:var(--flag-red);-webkit-mask:var(--star) center/contain no-repeat;mask:var(--star) center/contain no-repeat}
/* the opening: a quiet field of stars across the top of the navy, fading out under the headline, and a band of
   stripes along its foot */
.look-store.motif-flag .hero{background-color:var(--top-bg);
  background-image:linear-gradient(to bottom,transparent 0,var(--top-bg) 78%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23ffffff' fill-opacity='.11'%3E%3Cpath d='M18 11l1.8 3.6 4 .6-2.9 2.8.7 4L18 20.1l-3.6 1.9.7-4-2.9-2.8 4-.6z'/%3E%3Cpath d='M54 47l1.8 3.6 4 .6-2.9 2.8.7 4L54 56.1l-3.6 1.9.7-4-2.9-2.8 4-.6z'/%3E%3C/g%3E%3C/svg%3E");
  background-size:100% 100%,72px 72px;background-repeat:no-repeat,repeat;padding-bottom:calc(clamp(3rem,8vh,5.5rem) + 12px)}
.look-store.motif-flag .hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:12px;background:var(--stripes)}
.look-store.motif-flag .hero h1{line-height:.98}
.motif-flag .facts ul{border-top:3px solid var(--brand)}
.motif-flag .sheet-group h3{display:flex;align-items:center;gap:.55rem}
.motif-flag .sheet-group h3::before{content:"";flex:none;width:.85em;height:.85em;background:var(--brand);-webkit-mask:var(--star) center/contain no-repeat;mask:var(--star) center/contain no-repeat}
.look-store.motif-flag .pfoot{position:relative;border-top:0;padding-top:calc(2.5rem + 9px)}
.look-store.motif-flag .pfoot::before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:var(--stripes)}
/* on the navy, the light behind the headline is a soft white, not the red (red over navy reads as a bruise) */
.look-store.top-dark.motif-flag .hero::before{background:radial-gradient(closest-side,rgba(255,255,255,.075),transparent 72%)}

/* =========================================================================================
   The moving opening (partners.json theme.heroVideo; the loop is made with tools/hero-video.mjs). The loop fills the
   opening edge to edge, which fills the first screen. Its first frame paints as a still with the page, absolutely
   placed so nothing moves when the video starts, and the loop picks up from that same frame. A scrim of the header
   colour keeps every line at 4.5:1 or better over the brightest frame (measured in a browser on 14 frames at five
   screen sizes, 2026-11-20; re-measure when a new loop goes in):
   heaviest behind the copy and under the bar, lighter at the edges so the flag still reads. Reduced motion keeps
   the still.
   ========================================================================================= */
.look-store .hero-film{display:grid;align-content:center;min-height:max(600px,min(100svh,960px));background:var(--top-bg)}
.look-store.motif-flag .hero-film{background-image:none}
.hero-film>.wrap{width:100%}
.hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--top-bg)}
.hero-media picture,.hero-still,.hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.look-store .hero-film::before,.look-store.top-dark .hero-film::before,.look-store.top-dark.motif-flag .hero-film::before{inset:0;height:auto;background:
  radial-gradient(ellipse 58% 52% at 50% 53%,color-mix(in srgb,var(--top-bg) 64%,transparent) 0,color-mix(in srgb,var(--top-bg) 34%,transparent) 100%),
  linear-gradient(to bottom,color-mix(in srgb,var(--top-bg) 72%,transparent) 0,color-mix(in srgb,var(--top-bg) 46%,transparent) calc(var(--bar-h) + 24px),color-mix(in srgb,var(--top-bg) 46%,transparent) 72%,color-mix(in srgb,var(--top-bg) 78%,transparent) 100%)}
.hero-film h1,.hero-film .kicker,.hero-film .lead,.hero-film .ruo,.hero-film .cta-link{text-shadow:0 1px 2px rgba(0,0,0,.35),0 0 28px rgba(0,0,0,.4)}
.look-store .hero-film .lead,.look-store .hero-film .ruo,.look-store .hero-film .cta-link{color:color-mix(in srgb,var(--top-ink) 82%,var(--top-muted))}
.hero-film .pbtn-hero{box-shadow:0 10px 30px -10px rgba(0,0,0,.6)}
@media (max-width:760px){.look-store .hero-film{min-height:max(560px,100svh)}}
@media (prefers-reduced-motion:reduce){.hero-video{display:none}}
