/* Iron & Gasoline — shared styles.
   ponytail: one stylesheet for all pages, no build step, no framework.
   Dark-only by design: it's a moto culture magazine, the dark is the brand. */

/* ---------- tokens ---------- */
:root {
  --ink:    #0a0a0b;   /* page ground */
  --ink2:   #101013;   /* raised surface */
  --ink3:   #17181c;   /* card */
  --line:   rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.18);
  --paper:  #f2f2f3;   /* primary text — neutral white, no warmth */
  --muted:  #9a9aa0;   /* secondary text */
  --dim:    #6e6e74;   /* tertiary text */
  --tan:    #ffffff;   /* accent — monochrome: the photographs supply all the colour */
  --tan-2:  #d6d6da;   /* accent hover */
  --rust:   #a8432a;   /* brand red, held in reserve — not used in the monochrome scheme */

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --prose:   'Newsreader', Georgia, 'Times New Roman', serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --r: 3px;                       /* corners stay hard — this isn't a SaaS */
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 800; line-height: .98; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* Author-level display on .card/.feat beats the UA [hidden] rule, so the blog
   filters would show hidden cards. Force it. */
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- type helpers ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 88%;                  /* Archivo variable width — racing-poster condense */
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .92;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; color: var(--tan);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--tan); flex: none;
}
.eyebrow.plain::before { display: none; }
.lede { font-size: clamp(17px, 1.7vw, 21px); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- top strip ---------- */
.strip {
  background: var(--ink2); color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 0;
}
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.strip a { color: var(--paper); border-bottom: 1px solid var(--line-2); }
.strip a:hover { border-color: var(--paper); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.hdr.solid { background: rgba(10,10,11,.96); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }

.mark { display: flex; align-items: center; }
.mark img {                          /* the real 2021 wordmark — tilt is baked into the vector */
  height: 44px; width: auto; display: block;
  transition: opacity .2s;
}
.mark:hover img { opacity: .75; }
.ftr .mark img { height: 58px; margin-bottom: 6px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); padding: 6px 0; position: relative; transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--tan); transition: right .3s var(--ease);
}
.nav a:hover, .nav a[aria-current] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current]::after { right: 0; }

.hdr-ig {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); padding: 8px 14px; border-radius: var(--r);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.hdr-ig:hover { background: var(--tan); border-color: var(--tan); color: var(--ink); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  animation: drift 26s ease-out forwards;                 /* slow push-in, runs once */
}
@keyframes drift { from { transform: scale(1.10); } to { transform: scale(1); } }
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(10,10,11,.72) 42%, rgba(10,10,11,.25) 78%),
    linear-gradient(to right, rgba(10,10,11,.85), transparent 62%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 96px); padding-top: 140px; }
.hero h1 {
  font-size: clamp(44px, 8.2vw, 118px);
  max-width: 15ch; margin: 20px 0 22px;
  text-wrap: balance;
}
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .dot { width: 3px; height: 3px; background: var(--dim); border-radius: 50%; }
.tag {
  background: rgba(10,10,11,.62); color: var(--paper); font-weight: 800;
  padding: 5px 10px; border-radius: var(--r); letter-spacing: .16em;
  border: 1px solid rgba(255,255,255,.34);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink2); overflow: hidden; padding: 16px 0;
  --speed: 42s;
}
.marquee-track { display: flex; width: max-content; animation: slide var(--speed) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee span {
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font-size: clamp(16px, 2vw, 26px); font-weight: 800; font-stretch: 84%;
  text-transform: uppercase; letter-spacing: .04em; color: var(--dim); white-space: nowrap;
}
.marquee span i { color: var(--tan); font-style: normal; }

/* ---------- section furniture ---------- */
.sec { padding: clamp(64px, 8vw, 120px) 0; }
.sec-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap;
}
.sec-hd h2 { font-size: clamp(28px, 4.4vw, 56px); }
.link-more {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2); transition: gap .25s var(--ease), color .2s;
}
.link-more:hover { gap: 15px; color: var(--tan); border-color: var(--tan); }

.sc-ctl { display: flex; align-items: center; gap: 10px; }
.sc-btn {
  width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center; color: var(--paper);
  transition: background .2s, border-color .2s, opacity .2s;
}
.sc-btn:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sc-btn:disabled { opacity: .28; cursor: default; }
.sc-btn svg { width: 15px; height: 15px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 34px 28px; grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; }
.card .shot {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 4/3; background: var(--ink3);
}
.card .shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s;
}
.card:hover .shot img { transform: scale(1.06); }
.card .shot .tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 10px; }
.card h3 {
  font-size: clamp(19px, 1.7vw, 25px); margin: 16px 0 8px;
  letter-spacing: -.02em; line-height: 1.12; text-wrap: balance;
  transition: color .2s;
}
.card:hover h3 { color: var(--tan); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
.meta {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); display: flex; align-items: center; gap: 10px; margin-top: auto;
}
.meta .dot { width: 3px; height: 3px; background: var(--dim); border-radius: 50%; flex: none; }

/* wide card — featured row */
.card-wide { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.card-wide .shot { aspect-ratio: 16/11; }
.card-wide h3 { font-size: clamp(28px, 3.6vw, 46px); font-stretch: 90%; text-transform: uppercase; }

/* ---------- category tiles ---------- */
/* Lives inside .wrap, so the first tile lines up with the section heading with no
   maths. Only the right side bleeds: margin-right: calc(50% - 50vw) pushes the
   right edge out to the viewport so the last tile is cut. */
.cats {
  display: flex; gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;              /* overflow-x:auto makes the Y axis auto too — that is
                                      what produced the stray vertical scroll */
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none; -ms-overflow-style: none;
  margin-right: calc(50% - 50vw);
  padding: 0 var(--gut) 4px 0;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: 18px;
  border: 1px solid var(--line);
  flex: 0 0 clamp(190px, 20vw, 250px);
  scroll-snap-align: start;
}
.cat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.62);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.cat::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,.9) 8%, rgba(10,10,11,.15) 70%);
}
.cat:hover img { transform: scale(1.07); filter: grayscale(0) contrast(1.05) brightness(.78); }
.cat-txt { position: relative; z-index: 2; width: 100%; }
.cat-txt b {
  display: block; font-size: clamp(15px, 1.5vw, 20px); font-weight: 800;
  font-stretch: 86%; text-transform: uppercase; letter-spacing: -.01em;
}
.cat-txt em {
  font-style: normal; font-size: 10px; letter-spacing: .18em; color: var(--muted);
  font-weight: 700;
}
.cat-n {
  position: absolute; right: 14px; top: 12px; z-index: 2;
  font-size: 11px; font-weight: 800; color: var(--tan);
}

/* ---------- brands ---------- */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.brand {
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  padding: 20px 20px; display: flex; align-items: center;
  gap: 16px; transition: background .25s, padding-left .25s var(--ease);
}
.brand b { margin-right: auto; }

/* Fixed-width slot, logo left-aligned inside it, so the names still line up
   whatever the logo's aspect ratio. These run from 1:1 (Honda) to 7.5:1
   (Royal Enfield) — a square chip would shrink the wordmarks to nothing. */
.brand-mark { width: 58px; height: 26px; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }

.brand:nth-child(5n) { border-right: 0; }
.brand:hover { background: var(--ink2); padding-left: 28px; }
.brand b { font-size: 16px; font-weight: 800; font-stretch: 88%; text-transform: uppercase; }
.brand span { font-size: 11px; color: var(--dim); font-weight: 700; }
.brand:hover span { color: var(--tan); }

/* ---------- band (full-bleed image section) ---------- */
.band { position: relative; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,11,.74); }
.band .wrap { position: relative; z-index: 2; }

/* ---------- newsletter ---------- */
.news-in { max-width: 640px; }
.news h2 { font-size: clamp(30px, 4.6vw, 58px); margin-bottom: 16px; }
.form { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.form input {
  flex: 1 1 240px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  color: var(--paper); padding: 15px 16px; border-radius: var(--r); font: inherit; font-size: 15px;
  transition: border-color .2s, background .2s;
}
.form input::placeholder { color: var(--dim); }
.form input:focus { border-color: var(--tan); background: rgba(255,255,255,.09); outline: none; }
.btn {
  background: var(--tan); color: var(--ink); padding: 15px 30px; border-radius: var(--r);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  transition: transform .2s var(--ease), background .2s; white-space: nowrap;
}
.btn:hover { background: var(--tan-2); transform: translateY(-2px); }
/* .btn sets color:var(--ink) for dark text on the solid accent. Ghost buttons are
   transparent, so they must reset it or they render black on black. */
.btn.ghost { background: none; border: 1px solid var(--line-2); color: var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.fineprint { font-size: 12px; color: var(--dim); margin-top: 14px; }

/* ---------- instagram strip ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-grid a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: grayscale(.5); }
.ig-grid a:hover img { transform: scale(1.09); filter: grayscale(0); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--ink2); }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.ftr h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a { font-size: 14px; color: var(--muted); transition: color .2s, padding-left .2s; }
.ftr li a:hover { color: var(--tan); padding-left: 5px; }
.ftr-btm {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--dim); letter-spacing: .06em;
}

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand:nth-child(5n) { border-right: 1px solid var(--line); }
  .brand:nth-child(3n) { border-right: 0; }

  .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
}
@media (max-width: 560px) {
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brand:nth-child(3n) { border-right: 1px solid var(--line); }
  .brand:nth-child(2n) { border-right: 0; }
  .ftr-top { grid-template-columns: 1fr; gap: 32px; }
  .strip .wrap span.hide-sm { display: none; }
}

/* ================= interior page head ================= */
.pagehd { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 40px); }
.pagehd h1 { font-size: clamp(38px, 6.6vw, 88px); margin: 18px 0 20px; font-family: var(--display);
  font-weight: 800; font-stretch: 88%; text-transform: uppercase; letter-spacing: -.015em; line-height: .92; }

.crumbs {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); display: flex; gap: 9px; align-items: center; margin-bottom: 6px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--tan); }

/* ================= filter bar ================= */
.filters {
  position: sticky; top: 68px; z-index: 50;
  background: rgba(10,10,11,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.filter-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 5px 0; }
.filter-lbl {
  font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); width: 52px; flex: none;
}
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-2); padding: 7px 15px; border-radius: 100px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); transition: all .2s var(--ease); white-space: nowrap;
}
.chip:hover { color: var(--paper); border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); color: var(--ink); }
.filter-count { margin-left: auto; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.filter-count b { color: var(--tan); }

.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty .chip { margin-left: 8px; }

/* ================= featured row (blog) ================= */
.feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.feat .shot { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16/10; }
.feat .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feat:hover .shot img { transform: scale(1.05); }
.feat .shot .tag { position: absolute; left: 14px; top: 14px; font-size: 10px; }
.feat h2 { font-size: clamp(30px, 4.2vw, 54px); margin: 18px 0 16px; transition: color .2s; }
.feat:hover h2 { color: var(--tan); }

/* ================= article ================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; }
.progress i { display: block; height: 100%; background: var(--tan); transform: scaleX(0); transform-origin: 0 50%; }

.art-hero .wrap { padding-bottom: clamp(40px, 5vw, 72px); }
.art-hero h1 { font-size: clamp(38px, 6.4vw, 90px); max-width: 17ch; }

.art { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.art-wrap { max-width: 780px; margin: 0 auto; padding: 0 var(--gut); }

/* answer-first summary box — the part AI engines lift */
.tldr {
  border: 1px solid var(--line-2); border-left: 3px solid var(--tan);
  background: var(--ink2); padding: 26px 28px; border-radius: var(--r); margin-bottom: 44px;
}
.tldr h2 {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tan);
  margin-bottom: 16px; font-weight: 800;
}
.tldr ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.tldr li { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tldr li b { color: var(--paper); }

/* prose */
.prose { font-family: var(--prose); font-size: 19.5px; line-height: 1.72; color: #ddd9d2; }
.prose.narrow { font-size: 18px; }
.prose p { margin: 0 0 1.35em; }
.prose p.drop::first-letter {
  float: left; font-size: 4.1em; line-height: .82; font-weight: 600;
  padding: 6px 12px 0 0; color: var(--tan);
}
.prose h2 {
  font-family: var(--display); font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  font-stretch: 92%; color: var(--paper); margin: 2.1em 0 .6em; letter-spacing: -.02em; line-height: 1.08;
}
.prose h3 {
  font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--paper);
  margin: 1.9em 0 .5em; text-transform: uppercase; letter-spacing: .02em; font-stretch: 90%;
}
.prose b { color: var(--paper); font-weight: 600; }
.prose ul { padding-left: 22px; margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; }
.prose a { color: var(--tan); border-bottom: 1px solid rgba(192,152,112,.45); }
.prose a:hover { border-color: var(--tan); }

.prose figure { margin: 2.4em 0; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose figcaption {
  font-family: var(--display); font-size: 12.5px; color: var(--dim);
  margin-top: 11px; padding-left: 13px; border-left: 2px solid var(--tan); line-height: 1.45;
}

.pull { margin: 2.6em 0; padding: 0; border: 0; }
.pull p {
  font-family: var(--display); font-size: clamp(21px, 2.6vw, 30px); font-weight: 700;
  font-stretch: 92%; line-height: 1.22; color: var(--paper); letter-spacing: -.02em;
  border-left: 3px solid var(--tan); padding-left: 24px; margin: 0;
}

/* spec / cost table */
.specs { width: 100%; border-collapse: collapse; font-family: var(--display); margin: 2em 0 2.4em; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
  font-weight: 800; width: 26%;
}
.specs td { color: var(--muted); }
.specs td.num { text-align: right; color: var(--paper); font-weight: 700; white-space: nowrap; width: 15%; }
.specs tr:hover { background: var(--ink2); }
.specs .total th, .specs .total td { border-top: 2px solid var(--tan); border-bottom: 0; padding-top: 16px; }
.specs .total th, .specs .total td.num { color: var(--tan); font-size: 16px; }

/* FAQ */
.faq { margin: 56px 0 0; border-top: 1px solid var(--line); padding-top: 40px; }
.faq h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 30px 18px 0; position: relative; list-style: none;
  font-weight: 700; font-size: 16.5px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 15px;
  color: var(--tan); font-size: 22px; font-weight: 400; transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--tan); }
.faq details p {
  font-family: var(--prose); font-size: 17px; line-height: 1.65; color: var(--muted);
  padding: 0 40px 22px 0; margin: 0;
}

/* author + talk */
.author {
  display: flex; gap: 24px; align-items: flex-start; margin: 56px 0 0;
  border-top: 1px solid var(--line); padding-top: 36px;
}
.author img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; }
.author h3 { font-size: 21px; margin: 8px 0 10px; }
.author p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

.talk {
  margin: 40px 0 0; padding: 30px; background: var(--ink2);
  border: 1px solid var(--line); border-radius: var(--r); text-align: center;
}
.talk p { color: var(--muted); font-size: 15.5px; max-width: 52ch; margin: 0 auto 20px; }
.talk b { color: var(--paper); }

/* ================= about page ================= */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-fig { margin: 0; }
.about-fig img { border-radius: var(--r); width: 100%; }
.about-fig figcaption {
  font-size: 12.5px; color: var(--dim); margin-top: 12px;
  padding-left: 13px; border-left: 2px solid var(--tan);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats b {
  display: block; font-size: clamp(40px, 6vw, 76px); font-weight: 800; font-stretch: 84%;
  color: var(--tan); line-height: 1; letter-spacing: -.03em;
}
.stats span {
  display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
}

.tile { background: var(--ink); padding: 34px 30px; position: relative; }
.tile-n {
  font-size: 11px; font-weight: 800; color: var(--tan); letter-spacing: .16em;
  display: block; margin-bottom: 14px;
}
.tile h3 { font-size: 22px; margin-bottom: 12px; font-stretch: 90%; text-transform: uppercase; }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

.rules-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rules { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 2px; }
.rules li {
  counter-increment: r; position: relative; padding: 22px 0 22px 58px;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.55;
}
.rules li::before {
  content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 22px;
  font-size: 12px; font-weight: 800; color: var(--tan); letter-spacing: .1em;
}
.rules li b { color: var(--paper); font-weight: 700; }

/* ================= responsive (interior) ================= */
@media (max-width: 900px) {
  .feat, .about-grid, .rules-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .filters { top: 0; }
  .filter-lbl { width: auto; }
}
@media (max-width: 620px) {
  .author { flex-direction: column; gap: 18px; }
  .prose { font-size: 18px; }
  .specs th { width: 34%; }
  .specs th, .specs td { padding: 11px 8px; font-size: 13.5px; }
}

/* ---------- photo credit ---------- */
/* The field holds the whole anchor, so an empty credit leaves an empty span and
   :empty hides it. No conditionals needed in the template. */
.credit {
  position: absolute; right: var(--gut); bottom: 16px; z-index: 3;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim);
}
.credit:empty { display: none; }
.credit a { color: var(--dim); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.credit a:hover { color: var(--paper); border-color: var(--line-2); }
.credit-inline { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.credit-inline:empty { display: none; }
.credit-inline a { color: var(--muted); border-bottom: 1px solid var(--line); }
.credit-inline a:hover { color: var(--paper); border-color: var(--paper); }
.ftr-btm .credit-inline { margin-left: auto; }

/* trademark notice under the brands grid */
.trademark {
  margin: 22px 0 0; max-width: 78ch;
  font-size: 11.5px; line-height: 1.6; color: var(--dim);
}

/* FAQ used as a page section rather than inside an article */
.faq-page { margin: 0; border-top: 0; padding-top: 0; max-width: 860px; }
