/* ============================================================
   OTMedia TV News — design system
   Light-first, WaPo/AP-grade. No frameworks, no trackers.
   ============================================================ */
:root{
  --bg:#ffffff;
  --bg-soft:#f7f7f5;
  --surface:#ffffff;
  --ink:#1a1a1a;
  --ink-soft:#4a4a4a;
  --ink-faint:#767676;
  --line:#e2e2e2;
  --red:#b8001c;
  --red-dark:#8f0016;
  --techblue:#0a84ff;
  --masthead:#141414;
  --masthead-ink:#f5f5f5;
  --masthead-faint:#a8a8a8;
  --card-shadow:0 1px 3px rgba(0,0,0,.08);
  --serif:"Georgia","Times New Roman",Times,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --max:1200px;
}
[data-theme="dark"]{
  --bg:#121212;
  --bg-soft:#181818;
  --surface:#1c1c1c;
  --ink:#ececec;
  --ink-soft:#c9c9c9;
  --ink-faint:#9a9a9a;
  --line:#2c2c2c;
  --red:#e0202f;
  --red-dark:#b01422;
  --card-shadow:0 1px 4px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.15;margin:0}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--red);color:#fff;padding:.6rem 1rem;z-index:200}
.skip-link:focus{left:0}

/* ---------- Masthead (LA Times style) ---------- */
.masthead{
  background:var(--surface);
  color:var(--ink);
  border-bottom:1px solid var(--line);
}
.masthead-inner{
  max-width:var(--max);margin:0 auto;
  display:flex;align-items:center;gap:.75rem;
  padding:.55rem 1rem;
}
.icon-btn{
  background:none;border:0;color:var(--ink);
  font-size:1.35rem;cursor:pointer;padding:.35rem .5rem;border-radius:6px;line-height:1;
}
.icon-btn:hover{background:rgba(127,127,127,.14)}
.icon-btn:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.wordmark{
  font-family:"Georgia","Times New Roman",serif;
  /* "OTMedia Technologies" must stay on ONE line even at ~360px wide:
     fluid size, hard cap at the classic 2.1rem (Boss 2026-10-21). */
  font-size:clamp(.85rem,4.2vw,2.1rem);color:var(--ink);
  flex:1;min-width:0;text-align:center;white-space:nowrap;line-height:1.1;
}
.wordmark:hover{text-decoration:none}
.wordmark-logo{height:84px;width:auto;display:block;margin:0 auto}
.masthead-inner{position:relative}
.masthead-inner:has(.wordmark){min-height:100px}
.masthead-inner .wordmark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0}
.masthead-inner .masthead-link{margin-left:auto}
.masthead-link{
  font-weight:700;font-size:.95rem;color:var(--ink);white-space:nowrap;
  padding:.35rem .2rem;
}
.masthead-link:hover{color:var(--red);text-decoration:none}
@media (max-width:560px){
  .masthead-link{font-size:.85rem}
  /* tighter chrome so the one-line "OTMedia Technologies" wordmark fits ~360px */
  .masthead-inner{gap:.45rem;padding:.55rem .6rem}
  .masthead-inner .icon-btn{padding:.35rem .3rem}
}
.date-line{font-size:.75rem;color:var(--ink-faint);text-align:center;padding:0 0 .5rem}

/* ---------- Side drawer (sections) ---------- */
.drawer{
  position:fixed;top:0;left:0;bottom:0;
  width:min(340px,86vw);
  background:var(--surface);color:var(--ink);
  z-index:400;transform:translateX(-105%);
  transition:transform .28s ease;
  overflow-y:auto;
  box-shadow:4px 0 24px rgba(0,0,0,.25);
  display:flex;flex-direction:column;
}
.drawer.open{transform:none}
.drawer-scrim{
  position:fixed;inset:0;background:rgba(0,0,0,.5);
  z-index:390;opacity:0;pointer-events:none;transition:opacity .28s;
}
.drawer-scrim.open{opacity:1;pointer-events:auto}
.drawer-head{
  display:flex;align-items:center;gap:.75rem;
  padding:.7rem 1rem;border-bottom:1px solid var(--line);
}
.drawer-head .icon-btn{font-size:1.8rem}
.drawer-wordmark{
  font-family:"Georgia","Times New Roman",serif;
  font-size:1.15rem;color:var(--ink);white-space:nowrap;
}
.drawer-list{list-style:none;margin:0;padding:0}
.drawer-list a{
  display:flex;justify-content:space-between;align-items:center;
  padding:.95rem 1.15rem;
  font-size:1.02rem;font-weight:700;color:var(--ink);
  border-bottom:1px solid var(--line);
}
.drawer-list a:hover{color:var(--red);text-decoration:none}
.drawer-list .chev{color:var(--ink-faint);font-size:1.5rem;font-weight:400;line-height:1}
.drawer-sub{list-style:none;margin:0;padding:0;background:rgba(127,127,127,.07)}
.drawer-sub a{padding:.62rem 1.15rem .62rem 2.1rem;font-size:.92rem;font-weight:600;border-bottom:1px solid var(--line)}
.drawer-sub a::before{content:"—";color:var(--techblue);margin-right:.5rem;font-weight:400}
.drawer-foot{margin-top:auto;padding:1.25rem 1.15rem;border-top:1px solid var(--line)}
.drawer-theme{
  display:block;width:100%;text-align:left;
  background:none;border:1px solid var(--line);border-radius:6px;
  color:var(--ink);font-size:.95rem;font-weight:600;
  padding:.7rem .9rem;cursor:pointer;margin-bottom:1rem;
}
.drawer-theme:hover{border-color:var(--red);color:var(--red)}
.drawer-contact{font-size:.85rem;color:var(--ink-faint);line-height:1.8;margin:0}
.drawer-contact a{color:var(--ink-soft)}
.contact-icons{display:flex;gap:1rem;align-items:flex-start;justify-content:center;margin-top:1.1rem}
.contact-item{display:flex;flex-direction:column;align-items:center;gap:.45rem;min-width:0}
.contact-icon{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--line);background:var(--bg-soft);color:var(--ink);font-size:1.35rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;flex-shrink:0;padding:0}
.contact-icon:hover{border-color:var(--techblue);color:var(--techblue)}
.contact-reveal{font-size:.78rem;color:var(--ink-soft);word-break:break-all;text-align:center;max-width:130px}

/* ---------- Breaking ticker ---------- */
.ticker{
  background:var(--surface);color:var(--ink);overflow:hidden;
  display:flex;align-items:stretch;
  border-bottom:1px solid var(--line);
}
.ticker-label{
  background:var(--surface);color:var(--ink);font-weight:800;font-size:.8rem;letter-spacing:.12em;
  padding:.55rem .9rem;display:flex;align-items:center;flex-shrink:0;z-index:2;
  border-right:1px solid var(--line);
}
.ticker-track{display:flex;align-items:center;overflow:hidden;flex:1}
.ticker-inner{
  display:inline-flex;gap:3rem;white-space:nowrap;
  padding:.55rem 0;animation:tick 30s linear infinite;
  font-size:.9rem;font-weight:600;
}
.ticker:hover .ticker-inner{animation-play-state:paused}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker-inner{animation:none}}

/* ---------- Layout ---------- */
.wrap{max-width:var(--max);margin:0 auto;padding:1rem}
.section-block{margin:2.2rem 0}
.section-head{
  display:flex;align-items:baseline;justify-content:space-between;
  border-top:3px solid var(--ink);padding-top:.5rem;margin-bottom:1rem;
}
.section-head h2{font-size:1.35rem}
.section-head a{font-size:.8rem;font-weight:600;color:var(--red)}

/* ---------- Hero ---------- */
.hero-grid{display:grid;gap:1.25rem}
.hero-main{position:relative}
.hero-main img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}
.kicker{
  color:var(--red);font-size:.75rem;font-weight:800;
  letter-spacing:.12em;text-transform:uppercase;margin:.8rem 0 .4rem;
}
.hero-main h1{font-size:clamp(1.7rem,4.5vw,2.6rem);margin-bottom:.5rem}
.hero-main h1 a:hover{color:var(--red);text-decoration:none}
.dek{color:var(--ink-soft);font-size:1.02rem;margin:0 0 .7rem}
.byline{font-size:.8rem;color:var(--ink-faint)}
.byline strong{color:var(--ink-soft);font-weight:600}
time.rel{font-variant-numeric:tabular-nums}

.hero-side{display:grid;gap:1rem;grid-template-columns:1fr 1fr}
.story-card{background:var(--surface);border:1px solid var(--line);border-radius:4px;overflow:hidden;box-shadow:var(--card-shadow);display:flex;flex-direction:column}
.story-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.story-card .pad{padding:.85rem 1rem 1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.story-card h3{font-size:1.08rem}
.story-card h3 a:hover{color:var(--red);text-decoration:none}
.story-card .kicker{margin:0}
.story-card .byline{margin-top:auto;padding-top:.5rem}

/* ---------- Hero carousel (Boss 2026-10-21) ----------
   The lead photo area becomes a 4-slide carousel occupying the EXACT hero
   box the lead <img> used: width 100%, aspect-ratio 16/9, radius 4px.
   Slide 1 news photo / 2 services / 3 tech video + CTA overlay / 4 TNL product. */
.hero-carousel{
  position:relative;overflow:hidden;border-radius:4px;
  aspect-ratio:16/9;background:var(--bg-soft);
}
.hero-track{display:flex;height:100%;transition:transform .65s ease}
.hero-slide{flex:0 0 100%;width:100%;height:100%;position:relative;overflow:hidden}
.hero-slide>a{display:block;height:100%;color:inherit}
.hero-slide>a:hover{text-decoration:none}
.hero-main .hero-slide img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto;display:block}
/* slide 2 — services (designed white canvas, matches the services card) */
.hero-slide-services>a{background:#fff;color:#111;padding:clamp(.9rem,3.5vw,2.2rem);display:flex;flex-direction:column;justify-content:center;gap:.55rem}
.hero-svc-kicker{color:var(--red);font-size:clamp(.6rem,1.8vw,.8rem);font-weight:800;letter-spacing:.14em;margin:0}
.hero-svc-title{font-family:var(--serif);font-size:clamp(1.15rem,3.6vw,2.1rem);line-height:1.15;margin:0;max-width:22ch}
.hero-svc-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:.2rem 0}
.hero-svc-chips span{border:1.5px solid var(--techblue);color:var(--techblue);border-radius:999px;padding:.22rem .7rem;font-size:clamp(.62rem,1.7vw,.82rem);font-weight:700}
.hero-svc-cta{align-self:flex-start;background:var(--techblue);color:#fff;font-weight:700;border-radius:999px;padding:.5rem 1.1rem;font-size:clamp(.72rem,2vw,.95rem)}
/* slide 3 — video + tappable overlay buttons */
.hero-slide-video video{width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.hero-video-cta{
  position:absolute;left:0;right:0;bottom:9%;z-index:3;
  display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;padding:0 .5rem;
}
.hero-video-cta a{
  background:#fff;color:#111;border:1.5px solid #111;border-radius:999px;
  padding:.5rem 1.05rem;font-weight:700;font-size:clamp(.7rem,2vw,.92rem);
  box-shadow:0 2px 10px rgba(0,0,0,.18);line-height:1;white-space:nowrap;
}
.hero-video-cta a:hover{text-decoration:none;border-color:var(--techblue);color:var(--techblue)}
.hero-video-cta a.hero-cta-primary{border:2px solid var(--techblue);color:var(--techblue)}
/* slide 4 — TNL Shops product */
.hero-slide-product>a{background:#fff}
.hero-main .hero-slide-product img{object-fit:contain;padding:2.2rem 1rem 3.4rem}
.hero-prod-chip{
  position:absolute;top:.7rem;left:.7rem;z-index:2;background:#111;color:#fff;
  font-size:.68rem;font-weight:800;letter-spacing:.12em;padding:.3rem .6rem;border-radius:2px;
}
.hero-prod-info{
  position:absolute;left:0;right:0;bottom:0;z-index:2;background:#fff;color:#111;
  border-top:1px solid var(--line);padding:.55rem .9rem;
  display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
}
.hero-prod-name{font-weight:700;font-size:clamp(.78rem,2.2vw,1rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-prod-price{font-weight:800;color:var(--techblue);font-size:clamp(.85rem,2.4vw,1.05rem);white-space:nowrap}
/* controls */
.hero-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:4;
  width:2.4rem;height:2.4rem;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.92);color:#111;font-size:1.35rem;line-height:1;
  box-shadow:0 2px 10px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;
}
.hero-nav:hover{background:#fff;color:var(--techblue)}
.hero-nav:focus-visible{outline:2px solid var(--techblue);outline-offset:2px}
.hero-prev{left:.6rem}
.hero-next{right:.6rem}
.hero-dots{position:absolute;left:0;right:0;bottom:.55rem;z-index:4;display:flex;gap:.45rem;justify-content:center}
.hero-dot{
  width:.62rem;height:.62rem;border-radius:50%;border:2px solid rgba(255,255,255,.95);
  background:rgba(17,17,17,.45);cursor:pointer;padding:0;
  box-shadow:0 1px 4px rgba(0,0,0,.3);
}
.hero-dot[aria-current="true"]{background:var(--techblue)}
.hero-dot:focus-visible{outline:2px solid var(--techblue);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.hero-track{transition:none}}

/* ---------- Services marquee (Boss 2026-10-21) ----------
   Slow, continuous, seamless horizontal scroll of all 19 services —
   Webflow-style motion: constant gentle speed, the set duplicated for an
   infinite loop. It flows continuously and pauses ONLY while a finger or
   mouse button is held down on the row (Boss 2026-11-04). Pure CSS transform inside an
   overflow-hidden viewport, so it never captures wheel or touch scroll.
   Light variant = homepage band (our brand design: white canvas cards,
   black text, tech-blue accent). Dark variant = services page strip. */
.svc-band{margin:.4rem 0 0}
.svc-marquee{margin:1.4rem 0 .6rem}
.svc-mq-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  border-top:3px solid var(--ink);padding-top:.5rem;margin-bottom:.95rem;
}
.svc-mq-head h2{font-size:1.35rem}
.svc-mq-all{font-size:.8rem;font-weight:600;color:var(--red);white-space:nowrap}
.svc-mq-viewport{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
.svc-mq-track{display:flex;width:max-content;animation:svcMq 78s linear infinite}
/* Pause ONLY while pressed: app.js toggles .svc-mq-held on pointerdown and
   removes it on pointerup/pointercancel/pointerleave, so the flow resumes
   the instant the press ends (Boss 2026-11-04). No hover/focus pausing. */
.svc-mq-track.svc-mq-held{animation-play-state:paused}
.svc-mq-group{display:flex;gap:1rem;padding-right:1rem}
.svc-mq-card{
  flex:0 0 auto;width:250px;min-height:6.4rem;
  background:#fff;color:#111;
  border:1px solid var(--line);border-top:3px solid var(--techblue);border-radius:8px;
  padding:.85rem 1rem;display:flex;flex-direction:column;gap:.3rem;
  box-shadow:var(--card-shadow);
}
.svc-mq-card:hover{text-decoration:none;border-color:var(--techblue)}
.svc-mq-name{font-family:var(--serif);font-weight:700;font-size:1rem;line-height:1.25}
.svc-mq-desc{font-size:.8rem;color:#4a4a4a;line-height:1.4}
/* dark variant (services page, Webflow front-page palette) */
.svc-marquee--dark .svc-mq-head{border-top-color:#f2f2f2}
.svc-marquee--dark .svc-mq-head h2{color:#fff;font-family:var(--sans);letter-spacing:-.01em}
.svc-marquee--dark .svc-mq-all{color:#5b9dff}
.svc-marquee--dark .svc-mq-card{
  background:#1a1a1a;color:#f2f2f2;border-color:#2e2e2e;
  border-top:3px solid #146ef5;box-shadow:none;
}
.svc-marquee--dark .svc-mq-card:hover{border-color:#146ef5}
.svc-marquee--dark .svc-mq-name{font-family:var(--sans)}
.svc-marquee--dark .svc-mq-desc{color:#a3a3a3}
/* ---------- Three platforms trio — homepage (Boss 2026-10-21) ----------
   Light Zara-feel band directly under the services marquee: white bg,
   black text, tech-blue accents, reserved 16:9 video space (no layout
   shift), transform-friendly cards. Stacks to one column on mobile. */
.feat-trio{margin:2.2rem 0;background:#fff;color:#111}
.feat-trio-head{border-top:3px solid var(--ink);padding-top:.5rem;margin-bottom:1rem}
.feat-trio-head h2{font-size:1.35rem}
.feat-trio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.feat-trio-card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--techblue);border-radius:8px;overflow:hidden;box-shadow:var(--card-shadow);display:flex;flex-direction:column;padding:0 0 1rem;will-change:transform}
.feat-trio-card video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#111;flex-shrink:0}
.feat-trio-name{margin:1rem 1rem 0;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--techblue)}
.feat-trio-promise{font-family:var(--sans);font-size:1.15rem;line-height:1.25;margin:.45rem 1rem 0;color:#111}
.feat-trio-copy{margin:.5rem 1rem 0;font-size:.92rem;line-height:1.5;color:var(--ink-soft);flex:1}
.feat-trio-link{margin:.8rem 1rem 0;font-size:.88rem;font-weight:700;color:var(--techblue)}
.feat-trio-link:hover{color:var(--techblue)}
@media (max-width:900px){.feat-trio-grid{grid-template-columns:1fr}}
@keyframes svcMq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  /* static wrap instead of motion: all cards visible, duplicate set hidden */
  .svc-mq-track{animation:none;width:auto;display:block}
  .svc-mq-group{flex-wrap:wrap;width:auto;padding-right:0;margin-bottom:1rem}
  .svc-mq-group[aria-hidden="true"]{display:none}
  .svc-mq-viewport{-webkit-mask-image:none;mask-image:none}
}

/* ---------- Latest list ---------- */
.latest{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.latest li{
  display:flex;gap:1rem;align-items:baseline;
  padding:.75rem 0;border-bottom:1px solid var(--line);
}
.latest time{
  flex-shrink:0;width:7.5rem;font-size:.78rem;color:var(--red);
  font-weight:700;font-variant-numeric:tabular-nums;
}
.latest a{font-family:var(--serif);font-size:1.02rem;font-weight:600}
.latest a:hover{color:var(--red);text-decoration:none}

/* ---------- Section cards ---------- */
.card-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.empty-note{color:var(--ink-faint);font-size:.9rem;padding:1rem;background:var(--bg-soft);border-radius:4px}

/* ---------- Newsletter ---------- */
.newsletter{
  background:var(--masthead);color:var(--masthead-ink);
  border-radius:6px;padding:1.75rem;margin:2.5rem 0;
  text-align:center;
}
.newsletter h2{color:#fff;font-size:1.4rem;margin-bottom:.4rem}
.newsletter p{color:var(--masthead-faint);font-size:.92rem;margin:0 0 1rem}
.newsletter form{display:flex;gap:.5rem;max-width:440px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.newsletter input{
  flex:1;min-width:200px;padding:.65rem .9rem;border:1px solid #444;border-radius:4px;
  background:#222;color:#fff;font-size:.95rem;
}
.newsletter button{
  background:var(--red);color:#fff;border:0;border-radius:4px;
  padding:.65rem 1.3rem;font-weight:700;cursor:pointer;font-size:.95rem;
}
.newsletter button:hover{background:var(--red-dark)}
.newsletter small{display:block;margin-top:.8rem;color:var(--masthead-faint);font-size:.75rem}

/* ---------- Footer ---------- */
footer{background:var(--masthead);color:var(--masthead-faint);margin-top:2rem}
.footer-inner{max-width:var(--max);margin:0 auto;padding:2.2rem 1rem;display:grid;gap:1.5rem}
.footer-brand{font-family:var(--serif);font-size:1.3rem;color:#fff}
.footer-brand .news-accent{background:var(--red);color:#fff;font-size:.8rem;letter-spacing:.12em;padding:.12em .5em;border-radius:2px;margin-left:.4em;font-family:var(--sans)}
footer address{font-style:normal;font-size:.9rem;line-height:1.9}
footer address a{color:#fff}
.ig-handle{font-size:1.45rem;font-weight:800;color:#fff;letter-spacing:.01em}
.footer-bottom{border-top:1px solid #2c2c2c;padding:1rem;text-align:center;font-size:.78rem}

/* ---------- Article page ---------- */
.article-wrap{max-width:760px;margin:0 auto;padding:1.25rem 1rem 2rem}
.article-wrap .kicker{font-size:.82rem}
.article-wrap h1{font-size:clamp(1.8rem,5vw,2.7rem);margin:.4rem 0 .7rem}
.article-meta{
  display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:.7rem 0;margin-bottom:1.2rem;font-size:.85rem;color:var(--ink-faint);
}
.article-meta strong{color:var(--ink)}
figure.hero{margin:0 0 1.4rem}
figure.hero img{width:100%;border-radius:4px}
figcaption{font-size:.8rem;color:var(--ink-faint);padding:.5rem 0;border-bottom:1px solid var(--line)}
figcaption .credit{font-weight:600}
.article-body{font-family:var(--serif);font-size:1.13rem;line-height:1.75;color:var(--ink)}
.article-body p{margin:0 0 1.3em}
.article-body p:first-of-type::first-letter{
  font-size:3.2em;float:left;line-height:.9;padding-right:.12em;font-weight:700;
}
.sources-box{
  background:var(--bg-soft);border-left:3px solid var(--red);
  padding:.9rem 1.1rem;margin:1.8rem 0;font-size:.9rem;color:var(--ink-soft);
}
.sources-box strong{color:var(--ink)}
.share-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin:1.5rem 0;padding:1rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.share-row span{font-size:.85rem;font-weight:700;color:var(--ink-faint);text-transform:uppercase;letter-spacing:.08em}
.share-btn{
  border:1px solid var(--line);background:var(--surface);color:var(--ink);
  border-radius:999px;padding:.45rem 1rem;font-size:.85rem;font-weight:600;cursor:pointer;
}
.share-btn:hover{border-color:var(--red);color:var(--red);text-decoration:none}
.related{margin:2.5rem 0}
.related h2{font-size:1.3rem;margin-bottom:1rem}
.prev-next{display:grid;gap:1rem;margin:2rem 0}
.prev-next a{
  border:1px solid var(--line);border-radius:4px;padding:1rem 1.2rem;background:var(--surface);
  display:block;
}
.prev-next a:hover{border-color:var(--red);text-decoration:none}
.prev-next small{display:block;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--red);margin-bottom:.3rem}
.prev-next strong{font-family:var(--serif);font-size:1.02rem}

/* ---------- Search overlay ---------- */
.search-overlay{
  position:fixed;inset:0;background:rgba(10,10,10,.72);z-index:300;
  display:none;padding:4rem 1rem 1rem;
}
.search-overlay.open{display:block}
.search-box{max-width:640px;margin:0 auto;background:var(--surface);border-radius:8px;padding:1.25rem;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.search-box input{
  width:100%;font-size:1.15rem;padding:.8rem 1rem;border:1px solid var(--line);
  border-radius:4px;background:var(--bg);color:var(--ink);
}
.search-results{list-style:none;margin:1rem 0 0;padding:0;max-height:50vh;overflow:auto}
.search-results li{border-top:1px solid var(--line);padding:.7rem 0}
.search-results a{font-family:var(--serif);font-weight:600;font-size:1rem;display:block}
.search-results a:hover{color:var(--red);text-decoration:none}
.search-results .kicker{margin:0 0 .2rem}
.search-close{float:right}

/* ---------- Desktop ---------- */
@media (min-width:900px){
  /* The hero is a single full-width lead now (Boss 2026-10-21): the old
     hero-side column became the services marquee band under the hero row. */
  .hero-grid{grid-template-columns:1fr}
  .hero-side{grid-template-columns:1fr}
  .prev-next{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .wordmark{font-size:2.6rem}
}
@media (max-width:899px){
  .date-line{display:none}
}

/* ---------- Shop (strictly black & white) ---------- */
.product-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.product-card{
  background:var(--surface);border:1px solid var(--line);border-radius:4px;
  overflow:hidden;box-shadow:var(--card-shadow);display:flex;flex-direction:column;
}
.product-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#fff}
.product-card .pad{padding:.9rem 1rem 1rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.product-tag{
  font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-faint);margin:0;
}
.product-card h3{font-size:1.02rem;line-height:1.3}
.product-price{font-size:1.15rem;font-weight:800;margin:0;color:var(--ink)}
.product-blurb{font-size:.87rem;color:var(--ink-soft);margin:0;flex:1}
.shop-btn{
  display:block;text-align:center;background:#111;color:#fff;border-radius:4px;
  padding:.65rem 1rem;font-weight:700;font-size:.95rem;margin-top:.4rem;
}
.shop-btn:hover{background:#000;color:#fff;text-decoration:none}
[data-theme="dark"] .shop-btn{background:#f2f2f2;color:#111}
[data-theme="dark"] .shop-btn:hover{background:#fff;color:#000}
.product-card .sponsored-label{
  margin:0;font-size:.68rem;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-faint);
}
.affiliate-note{font-size:.75rem;color:var(--ink-faint);margin:.8rem 0 0}
.shop-block-article{margin:2.2rem 0}
.shop-block-article .section-head{margin-bottom:1rem}
@media (min-width:900px){
  .shop-block-article .product-grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- Inline mid-article product inserts (black & white) ---------- */
.inline-ad{
  margin:1.6rem 0;padding:1rem;
  border:1px solid var(--line);border-radius:4px;background:var(--surface);
  font-family:var(--sans);
}
.inline-ad .sponsored-label{
  margin:0 0 .6rem;font-size:.68rem;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-faint);font-family:var(--sans);
}
.inline-ad-inner{display:flex;gap:1rem;align-items:center}
.inline-ad-inner:hover{text-decoration:none}
.inline-ad-inner img{width:96px;height:96px;object-fit:cover;border-radius:4px;flex-shrink:0;background:#fff}
.inline-ad-text{display:flex;flex-direction:column;gap:.22rem;min-width:0}
.inline-ad-name{font-family:var(--serif);font-size:1rem;line-height:1.3;color:var(--ink);font-weight:700}
.inline-ad-price{font-weight:800;font-size:.95rem;color:var(--ink)}
.inline-ad-blurb{font-size:.82rem;color:var(--ink-soft);line-height:1.45}
.inline-ad-cta{font-size:.85rem;font-weight:800;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.inline-ad-inner:hover .inline-ad-cta{text-decoration-thickness:2px}
@media (max-width:480px){
  .inline-ad-inner img{width:76px;height:76px}
  .inline-ad-blurb{display:none}
}

/* ---------- Metered newsletter wall (black & white) ---------- */
.wall-open{overflow:hidden}
.wall-open main,.wall-open .masthead,.wall-open .ticker{filter:blur(6px);pointer-events:none;user-select:none}
.wall-overlay{
  position:fixed;inset:0;z-index:500;
  background:rgba(0,0,0,.55);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;padding:1rem;
}
.wall-overlay[hidden]{display:none}
.wall-modal{
  background:var(--surface);color:var(--ink);
  border:1px solid var(--line);border-radius:8px;
  max-width:440px;width:100%;max-height:92vh;overflow-y:auto;
  padding:1.75rem 1.5rem;position:relative;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
}
.wall-close{
  position:absolute;top:.4rem;right:.7rem;background:none;border:0;
  font-size:1.9rem;line-height:1;color:var(--ink-faint);cursor:pointer;padding:.25rem;
}
.wall-close:hover{color:var(--ink)}
.wall-modal h2{font-size:1.45rem;margin:0 0 .6rem;padding-right:1.5rem}
.wall-sub{font-size:.93rem;color:var(--ink-soft);margin:0 0 1.2rem;line-height:1.6}
.wall-field{display:block;margin-bottom:.9rem}
.wall-field span{display:block;font-size:.78rem;font-weight:700;margin-bottom:.35rem;color:var(--ink-soft)}
.wall-field input{
  width:100%;padding:.7rem .9rem;font-size:1rem;border:1px solid var(--line);
  border-radius:4px;background:var(--bg);color:var(--ink);
}
.wall-field input:focus{outline:2px solid var(--ink);outline-offset:1px}
.wall-error{font-size:.85rem;font-weight:700;color:var(--ink);margin:.2rem 0 .8rem}
.wall-submit{
  display:block;width:100%;background:#111;color:#fff;border:0;border-radius:4px;
  padding:.8rem 1rem;font-size:1rem;font-weight:800;cursor:pointer;margin-top:.3rem;
}
.wall-submit:hover{background:#000;color:#fff}
[data-theme="dark"] .wall-submit{background:#f2f2f2;color:#111}
[data-theme="dark"] .wall-submit:hover{background:#fff;color:#000}
.wall-fine{font-size:.75rem;color:var(--ink-faint);text-align:center;margin:1rem 0 0}
.wall-toast{
  position:fixed;left:50%;bottom:1.5rem;transform:translateX(-50%);z-index:600;
  background:#111;color:#fff;padding:.8rem 1.4rem;border-radius:999px;
  font-size:.92rem;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.35);
  max-width:92vw;text-align:center;
}
.wall-toast[hidden]{display:none}
[data-theme="dark"] .wall-toast{background:#f2f2f2;color:#111}

/* ---------- Drawer subscribe button ---------- */
.drawer-subscribe{
  display:block;width:100%;text-align:center;margin-bottom:.75rem;
  background:#111;color:#fff;border:0;border-radius:6px;
  font-size:.95rem;font-weight:700;padding:.7rem .9rem;cursor:pointer;
}
.drawer-subscribe:hover{background:#000;color:#fff}
[data-theme="dark"] .drawer-subscribe{background:#f2f2f2;color:#111}
[data-theme="dark"] .drawer-subscribe:hover{background:#fff;color:#000}

/* ---------- Homepage newsletter form states ---------- */
.news-error{
  font-size:.85rem;font-weight:700;color:#fff;
  background:rgba(255,255,255,.14);border-radius:4px;
  padding:.5rem .8rem;margin:.8rem auto 0;max-width:440px;
}
.news-error[hidden]{display:none}
.news-success{font-size:.9rem;font-weight:700;color:#fff;margin:.8rem 0 0}
.news-success[hidden]{display:none}

/* ---------- Static business pages ---------- */
.drawer-group-label{
  margin:1rem 0 .1rem;padding:.6rem 1.15rem 0;
  font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-faint);border-top:1px solid var(--line);
}
.kicker-mono{color:var(--ink-soft)}
.page-hero{border:1px solid var(--line);background:var(--surface);border-radius:4px;padding:1.75rem 1.5rem;margin:0 0 1.5rem}
.page-hero h2{font-size:clamp(1.5rem,4vw,2.1rem);margin:.3rem 0 .8rem}
.page-hero p{color:var(--ink-soft)}
.page-hero .shop-btn{display:inline-block;margin:.4rem .4rem 0 0;padding:.65rem 1.4rem}
.page-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));margin:1.5rem 0}
.page-card{border:1px solid var(--line);background:var(--surface);border-radius:4px;padding:1.25rem;display:flex;flex-direction:column}
.page-card h3{margin:.2rem 0 .6rem;font-size:1.05rem}
.page-card p{color:var(--ink-soft);font-size:.95rem;flex:1;margin:0 0 .5rem}
.page-card .shop-btn{margin-top:.6rem}
.page-steps{margin:1rem 0 1.5rem;padding-left:1.4rem;line-height:1.8;color:var(--ink-soft)}
.page-cta{border:1px solid var(--line);background:var(--surface);border-radius:4px;padding:1.75rem 1.5rem;margin:2rem 0;text-align:center}
.page-cta h2{margin:.2rem 0 .6rem}
.page-cta p{color:var(--ink-soft)}
.page-cta .shop-btn{display:inline-block;padding:.7rem 1.8rem}

/* ---------- Homepage promo sections (2026-10-08) ---------- */
.promo-banner a{display:block;border-radius:6px;overflow:hidden;box-shadow:var(--card-shadow)}
.promo-banner img{width:100%;height:auto;display:block}
.promo-card-inner{display:grid;background:var(--surface);border:1px solid var(--line);border-radius:6px;overflow:hidden;box-shadow:var(--card-shadow)}
.promo-card-inner>img{width:100%;height:100%;object-fit:cover;min-height:220px}
.promo-card-body{padding:1.6rem;display:flex;flex-direction:column;justify-content:center;gap:.7rem}
.promo-card-body h2{font-size:1.45rem;margin:0}
.promo-card-body p{margin:0;color:var(--ink-soft)}
.promo-card-body .shop-btn{align-self:flex-start;display:inline-block;padding:.65rem 1.6rem}
@media(min-width:720px){.promo-card-inner{grid-template-columns:1fr 1fr}}

/* ---------- Timed newsletter popup (2026-10-08) ---------- */
.nlp-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem}
.nlp-overlay[hidden]{display:none}
.nlp-modal{position:relative;background:var(--surface,#fff);border-radius:10px;max-width:420px;width:100%;padding:2rem 1.75rem;box-shadow:0 20px 60px rgba(0,0,0,.3);text-align:center}
.nlp-modal h2{font-family:Georgia,"Times New Roman",serif;font-size:1.6rem;margin:0 0 .5rem}
.nlp-sub{color:var(--ink-soft,#555);font-size:.95rem;margin:0 0 1.25rem}
.nlp-close{position:absolute;top:.6rem;right:.8rem;background:none;border:0;font-size:1.6rem;cursor:pointer;color:#888;line-height:1}
.nlp-field{display:block;text-align:left;margin-bottom:.9rem}
.nlp-field span{display:block;font-size:.82rem;font-weight:700;margin-bottom:.3rem}
.nlp-field input{width:100%;padding:.7rem .8rem;border:1px solid #ccc;border-radius:6px;font-size:1rem;box-sizing:border-box}
.nlp-error{color:#b00020;font-size:.85rem;font-weight:600}
.nlp-error[hidden]{display:none}
.nlp-submit{width:100%;padding:.85rem;background:#111;color:#fff;border:0;border-radius:6px;font-size:1rem;font-weight:800;cursor:pointer;margin-top:.4rem}
.nlp-submit:hover{background:#333}
.nlp-fine{font-size:.78rem;color:#888;margin:1rem 0 0}


/* ZF: zara-feel 20261018 */
figure.hero img{aspect-ratio:16/9;object-fit:cover}
.story-card h3{min-height:2.7em}
.story-card .dek{min-height:3em}
.hero-main img{aspect-ratio:16/9;object-fit:cover;width:100%}
.product-grid .product-card img{aspect-ratio:1;object-fit:cover;width:100%}
.prev-next a{transition:transform .18s ease,opacity .18s ease}
.prev-next a:hover{transform:translateY(-2px)}
[id*="maintenance"],[class*="maintenance"]{transition:opacity .3s ease}
@media (prefers-reduced-motion: reduce){
  .drawer,.prev-next a{transition:none!important}
}

/* ── Text Rollout (samesame-style): words start washed — faded, blurred,
   dropped — and roll out into place one by one. Word spans are created at
   runtime by rollout.js, so without JS the text stays plain and visible.
   Colour is inherited: black on light surfaces, white on dark. ── */
.ro-word{display:inline-block;opacity:.12;filter:blur(6px);transform:translateY(.35em);transition:opacity .7s cubic-bezier(.2,.7,.2,1),filter .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
[data-rollout].ro-go .ro-word{opacity:1;filter:blur(0);transform:translateY(0)}
[data-rollout="scrub"] .ro-word{transition:none}
@media (prefers-reduced-motion: reduce){.ro-word{opacity:1;filter:none;transform:none;transition:none}}

/* Smooth 3D hero (Boss 2026-11-03): slides turn gently in depth and cross-fade.
   No blur or skew, so it stays smooth on phones. Slide 1 is the current story. */
.hero-carousel{perspective:1400px}
.hero-track{transform-style:preserve-3d}
.hero-slide{transform:translate3d(0,0,-60px) rotateY(9deg);transform-origin:50% 50%;transition:opacity 1.1s cubic-bezier(.4,0,.2,1),transform 1.1s cubic-bezier(.4,0,.2,1);filter:none;backface-visibility:hidden;will-change:opacity,transform}
.hero-slide.is-active{opacity:1;pointer-events:auto;transform:translate3d(0,0,0) rotateY(0);filter:none;z-index:2;animation:none}
.hero-slide.is-leaving{opacity:0;pointer-events:none;transform:translate3d(0,0,-60px) rotateY(-9deg);filter:none;z-index:1}
@media (prefers-reduced-motion:reduce){.hero-slide,.hero-slide.is-active,.hero-slide.is-leaving{transition:none;transform:none}}
/* Service cards: motion is the pure CSS svcMq loop above (Boss 2026-11-04). */
