/* ------------------------------------------------------------------
   BisonTongue — BAKED (2026-10-28)
   Everything the Tweaks bar and the Nav / Headline / Hero / Left-pane
   panels were applying at runtime from the user's saved settings,
   captured from the live page and written down as real CSS, so the
   panels could be removed without the page changing. Loads last.
   Values are exactly what was inline on <html> at capture time.
   ------------------------------------------------------------------ */
html:root{
  /* type — Tweaks bar */
  /* Schibsted Grotesk for headings and body (Satoshi tried and reverted,
     2026-10-28) */
  --grot: "Schibsted Grotesk", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --tw-dscale: 1.35;
  --tw-dweight: 400;               /* headings at 400 — user, 2026-10-28 */
  --tw-track: -0.052em;
  --tw-case: none;
  --tw-tscale: 0.9;
  --tw-bsize: 14.5px;
  --tw-blh: 1.5;
  --tw-measure: 60ch;
  --tw-msize: 11px;
  --tw-mtrack: 0.16em;

  /* colour — Tweaks bar */
  --ground: #fffdfa;
  --forest: #16281B;
  --forest-mid: #35482F;
  --sage-ink: #4E5F49;
  --ochre: #2e372a;
  --rule: #C4CDC2;
  --rule-2: #D2DAD0;
  --tw-plate-ink: #7E9079;
  --tw-dark-ground: #16281B;
  --tw-dark-ink: #DDE3DC;
  --tw-dark-dim: #97A894;
  --tw-dark-rule: #2E4232;
  --tw-dark-accent: #fcff52;

  /* layout + texture — Tweaks bar */
  --gutter: 52px;
  --tw-rhythm: 1.05;
  --tw-radius: 0px;
  --tw-tex-op: 0.45;

  /* headline — Headline panel */
  --g-lo: #618c5a;
  --hl-weight: 400;

  /* hero left pane — Left-pane panel */
  --lp-pt: 16px;
  --lp-pb: 24px;
  --lp-copy-size: 15px;
  --lp-copy-lead: 1.65;
  --lp-copy-meas: 42ch;
  --lp-copy-mt: 40px;
  --lp-copy-mb: 38px;
}
/* the panels' edit badges set these; kept so nothing absolutely positioned
   inside them shifts */
.split, .pane-l{ position:relative; }
.split{ border-bottom:0; }   /* hero rule above the work reel removed (user) */

/* ------------------------------------------------------------------
   Heading face (2026-10-28) — driven by fonttweak.js. One family for
   every heading: hero headline, section heads and their subheads, the
   pull quote and the display numerals. Body copy, mono labels and the
   footer wordmark (the logo) keep their own faces. Falls back to the
   current Schibsted Grotesk until a face is picked.
   ------------------------------------------------------------------ */
h1.mega, h2.pb__h, h3.pb2__lead, h2.wd-h, h3.wd-t, h2.lp__h, h3.lp__t,
blockquote.ts__quote, .pb3__cost, .wd2__num, .wd3__n, .en__fig, .ts__mark{
  font-family:var(--head-font, var(--grot));
}

/* The work-card and testimonial ASCII plates never set a family, so they
   fell back to the system monospace (Menlo) — a stray fourth face. */
.wk2__plate pre, .ts2__plate pre{ font-family:var(--mono); }

/* ---------------- Trusted-by rotator (2026-10-28) ----------------
   After moment.so: muted label, a 16px rounded logo tile and the company
   name in ink, swapping in place. Motion lives in trust.js. */
.pane-l__copy p{ margin:0; }
.trust{
  margin:0 0 30px !important; font-size:15px; line-height:1.5; color:var(--forest-mid);   /* above the h1; body ink, not the sage label ink */
  display:flex; flex-wrap:wrap; align-items:center; gap:0 7px;
}
.trust__who{ display:inline-flex; align-items:center; gap:5px; color:var(--forest); font-weight:500; }
.trust__logo{
  width:24px; height:24px; flex:none; border-radius:6px; overflow:hidden;   /* 24 now it has the full width */
  display:grid; place-items:center;
  background:var(--forest); color:var(--ground);
  font:600 9px/1 var(--mono); letter-spacing:0;
}
.trust__logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.trust__logo:has(img){ background:none; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }   /* app-icon edge, so a white icon (Nissan) still has a shape */

.trust__name{ display:inline-block; transform-origin:left center; }

/* ---------------- Work reel (2026-10-28) ----------------
   After moment.so: cards ~74vw wide (max 1060), 1060:786, 8px apart,
   square corners, grab cursor. Native horizontal scroll underneath (so
   trackpads and touch just work), with mouse drag + momentum and an
   endless loop added by reel.js. */
.reel{ padding:17px 0 var(--sp-7); }   /* 17 + the hero rail's 15px = 32 above, matching the 32 (--sp-7) below (user) */
.reel__track{
  display:flex; gap:8px; overflow-x:auto; overflow-y:hidden;
  scroll-behavior:auto;                    /* the drift writes every frame; smooth-scroll would fight it */
  padding:0 var(--gutter); scroll-padding:0 var(--gutter);
  scrollbar-width:none; cursor:grab; outline:none;
  overscroll-behavior-x:contain;
}
.reel__track::-webkit-scrollbar{ display:none; }
.reel__track.is-drag{ cursor:grabbing; user-select:none; }
.reel__card{
  flex:0 0 auto; width:min(64vw, 900px); aspect-ratio:1060 / 786;   /* was min(74vw,1060) — a tad smaller (user) */
  position:relative; overflow:hidden; background:var(--forest);
}
.reel__card video, .reel__card img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  pointer-events:none;                     /* drags start on the card, never on the media */
}
.reel__cap{
  position:absolute; left:16px; bottom:14px; z-index:1;
  font:500 11px/1 var(--mono); letter-spacing:.14em; text-transform:uppercase;
  color:var(--ground); background:color-mix(in srgb, var(--forest) 70%, transparent);
  padding:7px 9px; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
/* placeholder slot: an empty card, honestly labelled */
.reel__card--empty{
  background:color-mix(in srgb, var(--forest) 4%, var(--ground));
  outline:1px dashed var(--rule); outline-offset:-1px;
  display:grid; place-items:center;
}
.reel__card--empty span{
  font:500 11px/1.6 var(--mono); letter-spacing:.14em; text-transform:uppercase;
  color:var(--sage-ink); text-align:center;
}
@media (max-width:720px){ .reel__card{ width:86vw; } }
