*{box-sizing:border-box}
body{margin:0;background:var(--color-bg);color:var(--color-text-primary);
  font-family:var(--font-text);font-size:var(--text-body);line-height:var(--leading-relaxed);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  padding-bottom:104px}
img{max-width:100%;display:block; height: auto;}
a{color:inherit;text-decoration:none}
button{font:inherit}
.shell{max-width:1280px;margin-inline:auto;padding-inline:var(--space-6)}
.skip-link{position:absolute;left:-9999px;background:var(--color-brand);
  color:var(--color-text-on-brand);padding:var(--space-2) var(--space-4);z-index:var(--z-modal)}
.skip-link:focus{left:var(--space-2);top:var(--space-2)}

/* ══════════ HEADER ══════════ */
.masthead .shell{display:flex;align-items:center;gap:var(--space-8);padding-block:var(--space-8)}
.brandmark{display:block;line-height:0;flex-shrink:0}
.brandmark img{width:230px;height:52px}
.mastlinks{display:flex;align-items:center;gap:var(--space-6);margin-left:auto}
.mastlinks a{font-size:14px;color:var(--color-text-secondary);white-space:nowrap}
.mastlinks a:hover{color:var(--color-brand)}
.sbtn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border:0;background:transparent;cursor:pointer;color:var(--color-text-primary);
  border-radius:var(--radius-full);margin-right:-6px}
.sbtn:hover{background:var(--color-bg-subtle);color:var(--color-brand)}
@media(max-width:1023px){.masthead .shell{padding-block:var(--space-5);gap:var(--space-4)}
  .mastlinks{display:none}.brandmark img{width:180px;height:41px}}

.nav{position:sticky;top:0;z-index:var(--z-sticky);background:var(--color-bg);
  border-top:var(--border-thin) solid var(--color-border);
  border-bottom:var(--border-thin) solid var(--color-border)}
.nav .shell{display:flex;align-items:stretch;height:56px}
.navlist{list-style:none;display:flex;align-items:stretch;gap:var(--space-8);margin:0;padding:0}
.navlist>li{display:flex;position:relative}
.navitem{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-text);
  font-weight:var(--weight-strong);font-size:15px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--color-text-primary);padding:0;border:0;background:transparent;cursor:pointer;
  white-space:nowrap;position:relative}
.navitem:hover{color:var(--color-brand)}
.navitem::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--border-thick);
  background:var(--color-brand);transform:scaleX(0);transform-origin:left;
  transition:transform var(--duration-fast) var(--ease-out)}
.navitem:hover::after,.navitem[aria-expanded="true"]::after{transform:scaleX(1)}
.navitem[aria-expanded="true"]{color:var(--color-brand)}
.chev{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translate(-1px,-1px);transition:transform var(--duration-fast) var(--ease-out);
  flex-shrink:0;opacity:.4}
.navitem:hover .chev,.navitem[aria-expanded="true"] .chev{opacity:1}
.navitem[aria-expanded="true"] .chev{transform:rotate(-135deg) translate(-2px,-2px)}
.navend{display:flex;align-items:center;margin-left:auto;gap:var(--space-4)}
.navend .sub{font-weight:var(--weight-strong);font-size:15px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--color-brand)}
.iconbtn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;
  border:0;background:transparent;cursor:pointer;color:var(--color-text-primary);border-radius:var(--radius-md)}
.iconbtn:hover{background:var(--color-bg-subtle);color:var(--color-brand)}
.burger{display:none}
@media(max-width:1300px){.navlist{gap:var(--space-6)}.navitem,.navend .sub{font-size:14px}}
@media(max-width:1120px){.navlist{gap:var(--space-5)}.navitem,.navend .sub{font-size:13px;letter-spacing:.05em}}
@media(max-width:1023px){.navlist,.navend .sub{display:none}.burger{display:inline-flex}
  .nav .shell{height:48px;align-items:center;justify-content:flex-end}}
/* ── sticky nav: compact state ───────────────────────────────────────────
   Once the masthead scrolls away the nav is the only chrome left, so it picks
   up the logo and tightens its type.
   The bar height deliberately does NOT change. .nav is position:sticky, so it
   still occupies its original slot in the flow — shrinking it while stuck
   would pull every section below up by the difference and register as layout
   shift against the CLS budget. The compacting is type and spacing only. */
.navbrand{display:none;align-items:center;flex-shrink:0;margin-right:var(--space-8)}
.navbrand img{height:26px;width:auto;display:block}
.nav.stuck .navbrand{display:flex}
.nav.stuck{box-shadow:0 2px 12px rgba(35,31,32,.08)}
.nav.stuck .navlist{gap:var(--space-6)}
.nav.stuck .navitem,.nav.stuck .navend .sub{font-size:13px;letter-spacing:.05em}
@media(max-width:1023px){
  .nav.stuck .shell{justify-content:space-between}
  .nav.stuck .navbrand{margin-right:0}
  .navbrand img{height:24px}}
.dd{position:absolute;top:100%;left:calc(var(--space-4) * -1);min-width:258px;background:var(--color-bg);
  border:var(--border-thin) solid var(--color-border);border-top:0;box-shadow:var(--shadow-md);
  z-index:var(--z-dropdown);padding:var(--space-3) 0}
.dd.flip{left:auto;right:calc(var(--space-4) * -1)}
.dd[hidden]{display:none}
.dd ul{list-style:none;margin:0;padding:0}
.dd a{display:block;padding:11px var(--space-4);font-size:var(--text-body);
  line-height:var(--leading-snug);color:var(--color-text-primary);white-space:nowrap}
.dd a:hover{color:var(--color-brand);background:var(--color-bg-subtle)}
.dd .all{margin-top:var(--space-2);padding-top:var(--space-2);border-top:var(--border-thin) solid var(--color-border)}
.dd .all a{font-size:12px;letter-spacing:.07em;text-transform:uppercase;
  font-weight:var(--weight-strong);color:var(--color-brand)}

/* ══════════ ADS ══════════ */
.adband{background:var(--color-ad-surface);border-block:var(--border-thin) solid var(--color-border);
  padding-block:var(--space-4);display:flex;flex-direction:column;align-items:center}
.ad-label{font-size:var(--text-label);letter-spacing:var(--tracking-wide);text-transform:uppercase;
  color:var(--color-ad-label);margin-bottom:var(--space-2)}
.ad{display:block;max-width:100%;line-height:0}
.ad img{width:100%;height:100%;object-fit:contain;display:block}
.ad-lb{width:970px;height:auto;max-width:100%}
.adband:first-of-type .ad-lb{width:970px}
.ad-728{width:728px;max-width:100%}
.ad-mrec{width:300px;height:250px}
@media(max-width:1000px){.ad-lb{width:728px}}
@media(max-width:767px){.ad-728{width:320px}}
@media(max-width:767px){.ad-lb{width:320px}}
.adcard{border:var(--border-thin) dashed var(--color-border-strong);background:var(--color-ad-surface);
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--space-4);min-height:250px}
.anchor{position:fixed;inset:auto 0 0 0;z-index:var(--z-anchor-ad);background:var(--color-ad-surface);
  border-top:var(--border-thin) solid var(--color-border);padding:var(--space-1) 0 var(--space-2);
  display:flex;flex-direction:column;align-items:center}
.anchor .ad{width:728px}
@media(max-width:767px){.anchor .ad{width:320px}}
.anchor .x{position:absolute;top:2px;right:var(--space-3);border:0;background:none;cursor:pointer;
  font-size:var(--text-h4);line-height:1;color:var(--color-text-tertiary)}

/* ══════════ SHARED EDITORIAL ══════════ */
.kick{display:inline-block;font-size:var(--text-label);letter-spacing:var(--tracking-wide);
  text-transform:uppercase;color:var(--color-brand);font-weight:var(--weight-strong);margin-bottom:var(--space-2)}
.hl{font-family:var(--font-display);font-weight:var(--weight-display);line-height:var(--leading-card);margin:0;
  color:var(--color-text-primary);text-wrap:balance}
a:hover .hl,.hl a:hover,
:is(.slide,.lrow,.fcard,.fbig,.fitem,.hcard,.big,.vcard,.tlead,.vitem):hover .hl,
.stack li:hover .hl,.tri li:hover .hl{color:var(--color-brand)}
.hl a{color:inherit}
.thumb{display:block}
.by{font-size:var(--text-label);color:var(--color-text-tertiary);margin-top:var(--space-2)}
.by .author{color:var(--color-text-secondary);font-weight:var(--weight-strong)}
.by .author:hover{color:var(--color-brand);text-decoration:underline}
.dek{color:var(--color-text-secondary);margin:var(--space-3) 0 0;font-size:var(--text-body);line-height:var(--leading-card)}
/* height:auto is load-bearing. The width/height attributes on every <img>
   map to presentational width/height; overriding width alone leaves the
   attribute height in force, so aspect-ratio never applies and object-fit
   crops a tall strip. Components that want a fixed height set it themselves. */
.ph{background:var(--color-bg-muted);width:100%;height:auto;object-fit:cover;display:block}

.band{padding-block:var(--space-8)}
.band.tinted{background:var(--color-bg-subtle)}
/* Left by default — four of the five .ch sections want it. Explore topics
   keeps .mid because its chips are centred too, so a left heading there
   would sit off-axis from the content it labels. */
.ch{text-align:left;margin-bottom:var(--space-10)}
.ch.mid{text-align:center}
.ch h2{font-family:var(--font-display);font-weight:var(--weight-display);font-size:var(--text-h2);
  line-height:var(--leading-snug);margin:0;display:inline-block}
/* One ramp step darker than the default hairline: neutral-300 #C2BDBB
   against --color-border's #DDD9D8. */
.ch::after{content:"";display:block;height:2px;background:var(--color-border-emphasis);
  margin-top:var(--space-5)}
.lh{display:flex;align-items:center;gap:var(--space-4);margin-bottom:var(--space-8);
  padding-bottom:var(--space-3);border-bottom:2px solid currentColor}
.lh h2{font-family:var(--font-display);font-weight:var(--weight-display);font-size:var(--text-h2);
  line-height:var(--leading-snug);margin:0}
.lh .all{margin-left:auto;font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  font-weight:var(--weight-strong);color:var(--color-brand);display:inline-flex;align-items:center;gap:8px}


/* ── header: search bar + mobile menu ────────────────────────────────────
   Both were markup-only before: .sbtn had no handler, and .burger appeared
   below 1024px with nothing behind it — so on every phone and most tablets
   the whole navigation was unreachable. */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.searchbar{border-bottom:var(--border-thin) solid var(--color-border);background:var(--color-bg-subtle)}
.searchbar[hidden]{display:none}
.searchbar form{display:flex;gap:var(--space-2);padding-block:var(--space-4)}
.searchbar input{flex:1;min-width:0;padding:13px var(--space-5);font-family:var(--font-text);
  font-size:var(--text-body);color:var(--color-text-primary);background:var(--color-bg);
  border:var(--border-thin) solid var(--color-border-strong)}
.searchbar button[type=submit]{background:var(--color-brand);color:var(--color-text-on-brand);border:0;
  padding:13px var(--space-6);cursor:pointer;font-family:var(--font-text);
  font-weight:var(--weight-strong);font-size:14px;letter-spacing:.1em;text-transform:uppercase}
.searchbar button[type=submit]:hover{background:var(--color-brand-hover)}
.searchbar .x{background:none;border:0;cursor:pointer;color:var(--color-text-secondary);
  font-size:var(--text-h3);line-height:1;padding:0 var(--space-3)}

.mobnav{position:fixed;inset:0;z-index:var(--z-modal);background:var(--color-bg);
  overflow-y:auto;-webkit-overflow-scrolling:touch}
.mobnav[hidden]{display:none}
.mobnav .top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
  padding:var(--space-4) var(--space-6);border-bottom:var(--border-thin) solid var(--color-border)}
.mobnav .top img{height:34px;width:auto;display:block}
.mobnav .x{background:none;border:0;cursor:pointer;color:var(--color-text-primary);
  font-size:var(--text-h2);line-height:1;padding:var(--space-2)}
.mobnav section{border-bottom:var(--border-thin) solid var(--color-border)}
/* Each section is a real disclosure button, not a link that also toggles —
   a control that opens something is a button, and screen readers need the
   expanded state to be announced. */
.mobnav .sec{display:flex;align-items:center;justify-content:space-between;width:100%;
  background:none;border:0;cursor:pointer;padding:var(--space-5) var(--space-6);
  font-family:var(--font-display);font-weight:var(--weight-display);font-size:var(--text-lead);
  color:var(--color-text-primary);text-align:left}
.mobnav .sec .mk{color:var(--color-brand);font-size:var(--text-h4);line-height:1;transition:transform .2s ease}
.mobnav .sec[aria-expanded="true"] .mk{transform:rotate(45deg)}
.mobnav .panel[hidden]{display:none}
.mobnav .panel{padding:0 var(--space-6) var(--space-5)}
.mobnav .panel a{display:block;padding:10px 0;font-size:var(--text-sm);color:var(--color-text-secondary)}
.mobnav .panel a:hover{color:var(--color-brand)}
.mobnav .extra{padding:var(--space-6);display:grid;gap:var(--space-4)}
.mobnav .extra a{font-size:var(--text-sm);color:var(--color-text-secondary)}
.mobnav .extra .sub{display:inline-block;justify-self:start;background:var(--color-brand);
  color:var(--color-text-on-brand);padding:12px var(--space-6);font-weight:var(--weight-strong);
  font-size:14px;letter-spacing:.1em;text-transform:uppercase}
@media(prefers-reduced-motion:reduce){.mobnav .sec .mk{transition:none}}

/* ── module 1 · event hero ──────────────────────────────────────────────
   Full-bleed, 528px tall. The panel runs about 431px with this copy, so the
   extra height buys roughly 48px of image above and below it rather than the
   11px it had at 453. Panel 31rem (496px) wide, offset with the
   reference's own formula: margin-left: max(2rem, calc(50% - 38.125rem)).
   At full width that keeps the panel aligned to the site's content column —
   110px in at 1440, 350px in at 1920 — without a single media query, and it
   collapses to a 32px gutter on narrow screens. Panel is vertically centred,
   so the margin above and below stays equal whatever the copy length. */
.evhero{position:relative;width:100%;height:528px}
.evhero .shot{width:100%;height:528px;object-fit:cover;display:block}
.evpanel{position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:31rem;margin-left:max(2rem, calc(50% - 38.125rem));
  background:var(--color-bg);padding:var(--space-8);
  box-shadow:0 2px 30px rgba(35,31,32,.16)}
@media(max-width:899px){
  .evhero{height:auto}
  .evhero .shot{height:auto;aspect-ratio:16/10}
  .evpanel{position:static;transform:none;width:auto;margin:-56px var(--space-4) 0;
    max-width:496px;margin-inline:auto}
}
.evpanel h1{font-family:var(--font-display);font-weight:var(--weight-display);
  font-size:var(--text-h1);line-height:var(--leading-snug);margin:0 0 var(--space-5);color:var(--color-text-primary);
  text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.evbody{display:flex;gap:var(--space-5);align-items:flex-start;margin-bottom:var(--space-6)}
.evbody p{margin:0;font-size:var(--text-sm);line-height:var(--leading-lead);color:var(--color-text-secondary)}
.evcount{flex-shrink:0;background:var(--color-bg-subtle);width:101px;
  padding:var(--space-4) var(--space-2);text-align:center}
.evcount b{display:block;font-family:var(--font-display);font-weight:var(--weight-display);
  font-size:var(--text-h1);line-height:1;color:var(--color-brand);font-variant-numeric:tabular-nums}
.evcount span{display:block;font-size:var(--text-micro);letter-spacing:var(--tracking-wide);text-transform:uppercase;
  color:var(--color-text-tertiary);margin-top:7px;font-weight:var(--weight-strong)}
.evwhen{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-6);
  font-size:var(--text-xs);letter-spacing:var(--tracking-meta);text-transform:uppercase;
  color:var(--color-text-secondary);margin:0 0 var(--space-6)}
.evwhen b{color:var(--color-text-primary);font-weight:var(--weight-strong);margin-right:6px}
.evcta{display:block;width:fit-content;margin-inline:auto;background:var(--color-brand);
  color:var(--color-text-on-brand);padding:16px var(--space-8);
  font-size:var(--text-xs);letter-spacing:var(--tracking-meta);text-transform:uppercase;font-weight:var(--weight-strong)}
.evcta:hover{background:var(--color-brand-hover)}

/* ── full-bleed opener ── */
.bleed{position:relative}
.bleed .ph{aspect-ratio:21/9;min-height:340px}
.bleed .over{background:var(--color-bg);padding:var(--space-8);max-width:560px}
/* left is derived, not a fixed 64px: 38.5rem is half the 1280px shell plus its
   24px inner padding, so the panel starts on the same vertical line as every
   other module's content and falls back to the gutter on narrow viewports. */
@media(min-width:900px){.bleed .over{position:absolute;
  left:max(var(--space-6), calc(50% - 38.5rem));top:50%;transform:translateY(-50%);
  box-shadow:0 2px 28px rgba(35,31,32,.14)}}
@media(max-width:899px){.bleed .ph{aspect-ratio:16/9;min-height:0}
  .bleed .over{margin:-40px var(--space-4) 0;position:relative;z-index:2}}
.bleed .hl{font-size:clamp(24px,2.4vw,36px);line-height:1.14}

/* ── slider + latest ── */
.hero2{display:grid;gap:var(--space-10)}
@media(min-width:980px){.hero2{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}
.slide{display:none}.slide.on{display:block}
.slide .ph{aspect-ratio:16/10}
.slide .hl{font-size:var(--text-h1);line-height:var(--leading-snug);margin-top:var(--space-3)}
.sctrl{display:flex;align-items:center;gap:var(--space-4);margin-top:var(--space-5);
  padding-top:var(--space-4);border-top:var(--border-thin) solid var(--color-border)}
.dots{display:flex;gap:9px}
.dot{width:9px;height:9px;border-radius:var(--radius-full);background:var(--color-border-strong);
  border:0;padding:0;cursor:pointer}
.dot[aria-current="true"]{background:var(--color-brand)}
.scount{font-size:var(--text-xs);color:var(--color-text-tertiary)}
.arrows{display:flex;gap:8px;margin-left:auto}
.arrow{width:38px;height:38px;border:var(--border-thin) solid var(--color-border-strong);
  background:var(--color-bg);cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:16px;color:var(--color-text-primary)}
.arrow:hover{border-color:var(--color-brand);color:var(--color-brand)}
.latestcol h2{font-family:var(--font-display);font-weight:var(--weight-display);
  font-size:var(--text-h3);line-height:var(--leading-snug);
  margin:0 0 var(--space-2);color:var(--color-text-primary)}
/* Rules sit BETWEEN rows only — none under the heading, none after the last. */
.lrow{display:block;padding-block:var(--space-4);
  border-bottom:var(--border-thin) solid var(--color-border)}
.lrow:last-child{border-bottom:0;padding-bottom:0}
.lrow .hl{font-size:var(--text-body);line-height:1.32}
.lrow .by{margin-top:var(--space-2)}
.lmeta{display:block;font-size:var(--text-label);letter-spacing:var(--tracking-wide);
  text-transform:uppercase;font-weight:var(--weight-strong);
  color:var(--color-brand);margin-bottom:var(--space-2)}
.lmeta .lcat{font:inherit;color:inherit}
.lmeta .ltime{font-style:normal;color:var(--color-text-tertiary);font-weight:var(--weight-regular)}
.lmeta .ltime::before{content:"";display:inline-block;width:1px;height:10px;
  background:var(--color-border-strong);margin:0 10px -1px}


/* ── recipes carousel ────────────────────────────────────────────────────
   White band, so the cards need a hairline to separate from it rather than
   the shadow the reference leans on against its grey ground.
   Reference uses a star rating and a cook time; neither exists in RI's recipe
   data, so the meta line carries the chef and venue instead — which is the
   more useful signal for a trade readership anyway. */
.rechead{display:flex;align-items:flex-end;gap:var(--space-4);flex-wrap:wrap;
  margin-bottom:var(--space-8)}
.rectitle h2{font-family:var(--font-display);font-weight:var(--weight-display);
  font-size:var(--text-h2);line-height:var(--leading-snug);margin:0}
.rectitle p{margin:var(--space-2) 0 0;font-size:var(--text-sm);
  color:var(--color-text-secondary)}
.recnav{display:flex;gap:var(--space-2);margin-left:auto}
.recnav button{width:42px;height:42px;border-radius:var(--radius-full);
  border:var(--border-thin) solid var(--color-border-strong);background:var(--color-bg);
  color:var(--color-text-primary);cursor:pointer;display:flex;align-items:center;
  justify-content:center;font-size:17px;line-height:1}
.recnav button:hover:not(:disabled){border-color:var(--color-brand);color:var(--color-brand)}
.recnav button:disabled{opacity:.35;cursor:default}

/* Flex, not grid: grid-auto-columns with a minmax(0,…) min lets tracks shrink
   to fit the container, so the rail never overflows and never scrolls.
   flex-basis with flex-shrink:0 is what actually holds a card's width. */
.recrail{display:flex;gap:var(--space-6);overflow-x:auto;scroll-behavior:smooth;
  scroll-snap-type:x mandatory;padding-bottom:var(--space-2);scrollbar-width:none}
.recrail::-webkit-scrollbar{display:none}
@media (prefers-reduced-motion:reduce){.recrail{scroll-behavior:auto}}

.reccard{flex:0 0 258px;scroll-snap-align:start;background:var(--color-bg);
  border:var(--border-thin) solid var(--color-border);display:flex;flex-direction:column}
/* four cards and three gaps fill the container exactly; the rest scroll */
@media(min-width:900px){.reccard{flex-basis:calc((100% - var(--space-6) * 3) / 4)}}
.reccard .shot{position:relative}
.reccard .ph{aspect-ratio:4/3}
/* Ribbon overlaps the image edge, as in the reference. Its left edge is set
   from the same token as the card body's side padding, so it lines up on the
   title's text edge and the two stay locked if that padding ever changes. */
.rectag{position:absolute;left:var(--space-5);bottom:-11px;
  background:var(--color-brand);color:var(--color-text-on-brand);
  padding:7px var(--space-4);font-size:var(--text-label);
  letter-spacing:var(--tracking-wide);text-transform:uppercase;
  font-weight:var(--weight-strong);white-space:nowrap}
/* Top padding clears the overhanging tag */
.reccard .in{padding:var(--space-6) var(--space-5) var(--space-5);
  display:flex;flex-direction:column;flex:1}
.reccard .hl{font-size:var(--text-h4);margin-bottom:var(--space-3)}
.recmeta{font-size:var(--text-label);color:var(--color-text-tertiary);
  margin:0 0 var(--space-5);line-height:var(--leading-card)}
.recmeta b{display:block;color:var(--color-text-secondary);
  font-weight:var(--weight-strong);margin-bottom:2px}
.recsave{margin-top:auto;display:flex;align-items:center;justify-content:center;
  gap:var(--space-2);border:var(--border-thin) solid var(--color-text-primary);
  padding:12px var(--space-4);font-size:var(--text-xs);font-weight:var(--weight-strong);
  color:var(--color-text-primary);background:var(--color-bg)}
.recsave:hover{background:var(--color-text-primary);color:var(--color-bg)}
.recsave svg{flex-shrink:0}

/* ── features hero block ─────────────────────────────────────────────────
   Allrecipes' three-column opener: a stacked pair on the left, a square hero
   with an overlapping panel in the middle, a hairline-ruled rail on the right.
   Column ratio 18/49/28 is measured off the reference and expressed in fr so
   it survives any shell width.
   The pill replaces the plain .kick here. Reference tints them; RI's own
   --color-brand-wash under --color-text-brand gives the same effect on brand
   and measures 5.99:1, which a 12px label needs. Brand red-500 on that wash
   would be 4.51:1 — passing by 0.01, which is not a margin worth shipping. */
.fhero{display:grid;gap:var(--space-10)}
@media(min-width:1000px){.fhero{
  grid-template-columns:minmax(0,18fr) minmax(0,49fr) minmax(0,28fr);
  gap:var(--space-8)}}
.pill{display:inline-block;background:var(--color-brand-wash);color:var(--color-text-brand);
  font-size:var(--text-label);letter-spacing:var(--tracking-wide);text-transform:uppercase;
  font-weight:var(--weight-strong);padding:5px var(--space-3);border-radius:var(--radius-sm);
  margin-bottom:var(--space-3)}

.fcol{display:grid;gap:var(--space-8);align-content:start}
.fcol .ph{aspect-ratio:1/1;margin-bottom:var(--space-4)}
.fcol .hl{font-size:var(--text-lead)}

.fbig .ph{aspect-ratio:1/1}
/* The panel lifts into the image and stops short of its right edge, so the
   photograph still reads behind and beside it. Pulled with margin rather than
   absolute positioning so the text sets its own height and can never overflow
   the image on a long headline. */
.fbig .over{position:relative;background:var(--color-bg);
  margin:-22% var(--space-16) 0 0;padding:var(--space-6)}
.fbig .hl{font-size:var(--text-h2)}

.frail{margin:0;padding:0;list-style:none;display:grid;gap:var(--space-5);align-content:start}
.frail li{padding-bottom:var(--space-5);border-bottom:var(--border-thin) solid var(--color-border)}
.frail li:last-child{border-bottom:0;padding-bottom:0}
.frail .fitem{display:grid;grid-template-columns:80px minmax(0,1fr);gap:var(--space-4);align-items:start}
.frail .ph{aspect-ratio:1/1}
.frail .hl{font-size:var(--text-sm)}

/* ── grids ── */
/* Column gutter doubled: 32px -> 64px. Row gap kept at 48px so the stacked
   mobile layout does not inherit a 64px gap it does not need. */
.vgrid{display:grid;gap:var(--space-12) var(--space-16)}
@media(min-width:760px){.vgrid{grid-template-columns:repeat(3,1fr)}}
.vcard .ph{aspect-ratio:3/2}
.vcard .hl{font-size:var(--text-h4);margin-top:var(--space-4)}
.g4{display:grid;gap:var(--space-6)}
@media(min-width:560px){.g4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.g4{grid-template-columns:repeat(4,1fr)}}
.g4 .hl{font-size:var(--text-sm);margin-top:var(--space-3)}
/* ── trending ────────────────────────────────────────────────────────────
   Centred rule-under heading over a 2x2 of thumbnail-plus-headline rows.
   The thumbnail goes landscape 3:2 here, so this is a modifier on .hgrid
   rather than an edit to .hcard — module 9 shares that component at 4:5
   and module 5 previously ran it square. */
.trend .hcard{grid-template-columns:130px minmax(0,1fr)}
@media(min-width:560px){.trend .hcard{grid-template-columns:200px minmax(0,1fr)}}
.trend .hcard .ph{aspect-ratio:3/2}
/* One real cut lighter than the 700 .hl default. Only 400/600/700 Tiempos
   are self-hosted, so 600 is the next genuine step — asking for 500 would
   make the browser synthesise a weight and the letterforms would distort. */
.trend .hcard .hl{font-size:var(--text-h4);line-height:var(--leading-card);
  font-weight:var(--weight-strong)}
.trend .kick{color:var(--color-text-secondary)}
.hgrid{display:grid;gap:var(--space-8) var(--space-10)}
@media(min-width:800px){.hgrid{grid-template-columns:repeat(2,1fr)}}
.hcard{display:grid;grid-template-columns:150px minmax(0,1fr);gap:var(--space-5);align-items:start}
@media(min-width:560px){.hcard{grid-template-columns:190px minmax(0,1fr)}}
.hcard .ph{aspect-ratio:1/1}
.hcard.port .ph{aspect-ratio:4/5}
.hcard .hl{font-size:var(--text-h4)}
.lead2{display:grid;gap:var(--space-10)}
@media(min-width:900px){.lead2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.lead2 .big .ph{aspect-ratio:16/9}
/* Kept as a modifier rather than folded into .lead2: the 16:9 base is the
   component's default and Know about Food Service used to run it. That module
   has been removed, so Beverages is the only .lead2 left — the split is worth
   keeping so the next section to use it does not inherit a square lead. */
.lead2.sq .big .ph{aspect-ratio:1/1}
.lead2 .big .hl{font-size:var(--text-h3);line-height:var(--leading-snug);margin-top:var(--space-4)}
.stack{margin:0;padding:0;list-style:none;display:grid;gap:var(--space-5)}
.stack li{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:var(--space-5);
  padding-bottom:var(--space-5);border-bottom:var(--border-thin) solid var(--color-border);align-items:start}
.stack li:last-child{border-bottom:0;padding-bottom:0}
.stack .ph{aspect-ratio:1/1}
.stack .hl{font-size:var(--text-lead)}
/* Beverages carries five items against a square lead, so its sidebar type
   steps up to the card size, which the base .lead2 does not. */
.lead2.sq .stack .hl{font-size:var(--text-h4)}

/* ── trade / events / magazine / video ── */
.tri{display:grid;gap:var(--space-10)}
@media(min-width:800px){.tri{grid-template-columns:repeat(3,1fr)}}
.tri h3{font-family:var(--font-display);font-weight:var(--weight-display);font-size:var(--text-h4);margin:0 0 var(--space-4);
  padding-bottom:var(--space-3);border-bottom:var(--border-brand-rule) solid var(--color-brand)}
.tri .ph{aspect-ratio:16/9;margin-bottom:var(--space-3)}
.tri ul{margin:var(--space-4) 0 0;padding:0;list-style:none}
.tri li{padding-block:var(--space-3);border-bottom:var(--border-thin) solid var(--color-border)}
.tri li:last-child{border-bottom:0}
.tri .hl{font-size:var(--text-sm)}
.ecard{background:var(--color-bg);border:var(--border-thin) solid var(--color-border)}
.ecard .ph{aspect-ratio:16/9}
.ecard .in{padding:var(--space-5)}
.btn{display:inline-block;margin-top:var(--space-4);background:var(--color-brand);
  color:var(--color-text-on-brand);padding:11px var(--space-6);font-size:12px;letter-spacing:.1em;
  text-transform:uppercase;font-weight:var(--weight-strong)}
.btn:hover{background:var(--color-brand-hover)}
/* Column gap doubled, 32px -> 64px. Row gap stays at 32px: it only applies
   once the covers stack below 720px, where 64px would be too airy. */
.mags{display:grid;gap:var(--space-8) var(--space-16);text-align:center}
@media(min-width:720px){.mags{grid-template-columns:repeat(3,1fr)}}
.mag .ph{aspect-ratio:620/803;border-radius:var(--radius-lg);
  box-shadow:0 4px 20px rgba(35,31,32,.18)}
.mag .issue{font-family:var(--font-display);font-weight:var(--weight-display);font-size:var(--text-h4);margin:var(--space-4) 0 2px}
.mag .pub{font-size:var(--text-xs);color:var(--color-text-secondary);font-style:italic;margin:0}
.vlead{display:grid;gap:var(--space-8);margin-bottom:var(--space-10)}
@media(min-width:800px){.vlead{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}}
.vwrap{position:relative}
/* video thumbnails: 480px wide (smaller on narrow screens / tight columns) */
.vplay{max-width:480px}
.vplay .ph{width:100%;max-width:480px}
button.vwrap{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;font:inherit;color:inherit}
button.vwrap:hover::after{background:var(--color-brand-hover,#b81b20)}
button.vwrap:focus-visible{outline:3px solid var(--color-brand);outline-offset:3px}
.dek a:hover{color:var(--color-brand)}
/* video popup */
.vmodal{border:0;padding:0;background:#000;width:min(1100px,94vw);max-height:92vh;overflow:visible}
.vmodal::backdrop{background:rgba(20,20,19,.86)}
.vmodal .vframe{position:relative;aspect-ratio:16/9;background:#000 center/cover no-repeat}
.vmodal .vframe iframe,.vmodal .vframe video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.vmodal .vbar{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-4);
  background:var(--color-bg);color:var(--color-text-primary)}
.vmodal .vtitle{font-family:var(--font-display);font-weight:var(--weight-display);font-size:var(--text-lead);margin:0;flex:1}
.vmodal .vclose{position:absolute;top:-44px;right:0;width:38px;height:38px;border:0;border-radius:var(--radius-full);
  background:var(--color-bg);color:var(--color-text-primary);font-size:22px;line-height:1;cursor:pointer}
.vmodal .vclose:hover{color:var(--color-brand)}
.vmodal .verr{margin:0;padding:var(--space-3) var(--space-4);background:var(--color-brand);color:#fff;font-size:var(--text-sm)}
.vwrap .ph{aspect-ratio:16/9}
.vwrap::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:62px;height:62px;border-radius:var(--radius-full);background:rgba(219,33,39,.92);
  background-image:linear-gradient(transparent,transparent);pointer-events:none}
.vwrap::before{content:"";position:absolute;left:50%;top:50%;
  transform:translate(-40%,-50%);z-index:2;border-style:solid;border-width:11px 0 11px 18px;
  border-color:transparent transparent transparent #fff;pointer-events:none}
.vrow .vwrap::after{width:44px;height:44px}
.vrow .vwrap::before{border-width:8px 0 8px 13px}
.vlead .hl{font-size:var(--text-h3);line-height:var(--leading-snug)}
.vrow{display:grid;gap:var(--space-8)}
@media(min-width:760px){.vrow{grid-template-columns:repeat(3,1fr)}}
.vrow .hl{font-size:var(--text-lead);margin-top:var(--space-3)}

/* ── newsletter / topics ── */
.nl{display:grid;gap:var(--space-6);align-items:center}
@media(min-width:860px){.nl{grid-template-columns:minmax(0,1fr) minmax(0,440px)}}
.nl h2{font-family:var(--font-display);font-weight:var(--weight-display);
  font-size:var(--text-h2);line-height:var(--leading-snug);margin:0 0 var(--space-3);
  color:var(--color-text-primary)}
/* Was sixteen identical outlines — every topic and every tool at exactly the
   same weight, which is what made the section read flat. Two changes:
   the chips get a filled surface and a pill radius so they read as objects
   rather than boxes, and the four topics the analytics actually show driving
   traffic (whisky, beer, cafés, cuisine trends) are promoted to a brand wash
   with red-600 text at 5.99:1 — hierarchy the data already justifies. */
.chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.chips a{border:var(--border-thin) solid var(--color-border);background:var(--color-bg-subtle);
  padding:11px var(--space-5);font-size:var(--text-sm);color:var(--color-text-secondary);
  border-radius:var(--radius-full);transition:transform .15s ease,border-color .15s ease}
.chips a.lead{background:var(--color-brand-wash);border-color:var(--red-200);
  color:var(--color-text-brand);font-weight:var(--weight-strong)}
.chips a:hover{border-color:var(--color-brand);color:var(--color-brand);transform:translateY(-1px)}

/* The tools are destinations, not tags, so they stop pretending to be chips:
   a brand rule down the left edge, the arrow split out and pushed to the far
   side so the row reads as a link rather than a caption with an arrow glued on. */
.quick{display:grid;gap:var(--space-4);margin-top:var(--space-10)}
@media(min-width:700px){.quick{grid-template-columns:repeat(4,1fr)}}
.quick a{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
  background:var(--color-bg-subtle);border:var(--border-thin) solid var(--color-border);
  border-left:3px solid var(--color-brand);padding:var(--space-5);
  font-weight:var(--weight-strong);font-size:var(--text-sm);
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.quick a span{color:var(--color-brand);font-size:var(--text-lead);line-height:1;
  transition:transform .2s ease}
/* Everything that moves here is transform, shadow or colour — nothing that
   triggers reflow, so the row cannot nudge its neighbours as it animates. The
   left rule grows as an inset shadow rather than a thicker border for the same
   reason: a border change would resize the box and shift the label. */
.quick a:hover,.quick a:focus-visible{background:var(--color-bg);
  border-color:var(--color-border-strong);
  box-shadow:inset 3px 0 0 var(--color-brand), 0 6px 18px rgba(35,31,32,.10);
  transform:translateY(-2px);color:var(--color-brand)}
.quick a:hover span,.quick a:focus-visible span{transform:translateX(4px)}
@media(prefers-reduced-motion:reduce){
  .quick a:hover,.quick a:focus-visible{transform:none}
  .quick a:hover span,.quick a:focus-visible span{transform:none}}
@media(prefers-reduced-motion:reduce){.chips a,.quick a{transition:none}
  .chips a:hover{transform:none}}

/* ══════════ FOOTER ══════════ */
/* Newsletter form. Lives here, not in the module region: the footer is the
   only surface that carries it, and a page assembled from the footer chrome
   must get the styling with the markup. */
.nlform{display:flex;gap:var(--space-2);flex-wrap:wrap}
.nlform label{position:absolute;left:-9999px}
/* On the old near-black band a white field needed no border to be visible.
   On white it does: --color-border-strong is neutral-400 at 3.02:1, the token
   annotated for UI borders and the lightest value that meets SC 1.4.11's 3:1
   for a control boundary. --color-border at 1.40:1 would not. */
.nlform input{flex:1 1 210px;min-width:0;padding:15px var(--space-5);
  border:var(--border-thin) solid var(--color-border-strong);
  background:var(--color-bg);font-family:var(--font-text);font-size:var(--text-body);
  color:var(--color-text-primary)}
.nlform input::placeholder{color:var(--color-text-tertiary)}
.nlform button{background:var(--color-brand);color:var(--color-text-on-brand);border:0;
  padding:15px var(--space-8);cursor:pointer;font-family:var(--font-text);
  font-weight:var(--weight-strong);font-size:14px;letter-spacing:.1em;text-transform:uppercase}
.nlform button:hover{background:var(--color-brand-hover)}

/* Footer body sits on --color-bg; only .fsignup keeps the tint. Every colour
   below is re-derived for a light ground: --neutral-400 carried the small-caps
   labels on the inverse ground but is 2.67:1 on white, so those take
   --color-text-tertiary at 5.00:1. */
.sitefooter{background:var(--color-bg);color:var(--color-text-primary)}
.rule{border:0;border-top:1px dashed var(--color-border-emphasis);margin:0}
/* Only this block sits on --color-bg-subtle; the rest of the footer stays on
   the inverse ground. The tint lives on a full-width wrapper rather than on
   .signup itself, which is inside .shell and would stop at the content column. */
.fsignup{background:var(--color-bg-subtle);color:var(--color-text-primary)}
.signup{display:grid;gap:var(--space-8);padding-block:var(--space-12);align-items:center}
@media(min-width:900px){.signup{grid-template-columns:minmax(0,1fr) minmax(0,520px)}}
.signup h2{font-family:var(--font-display);font-weight:var(--weight-display);
  font-size:var(--text-h2);line-height:var(--leading-snug);margin:0 0 var(--space-3);
  color:var(--color-text-primary)}
.signup p{margin:0;color:var(--color-text-secondary);font-size:var(--text-body);max-width:56ch;line-height:var(--leading-lead)}
/* 40/60: brand block left, the four link columns right. Below 900px the two
   stack and .fcols falls back to its own 2-up then 4-up breakpoints. */
.fmain{display:grid;gap:var(--space-10);padding-block:var(--space-10)}
@media(min-width:900px){.fmain{grid-template-columns:minmax(0,40fr) minmax(0,60fr);
  gap:var(--space-16)}}
.fabout p{margin:var(--space-6) 0 0;color:var(--color-text-secondary);
  font-size:var(--text-sm);line-height:var(--leading-lead);max-width:46ch}
/* No plaque needed here: on white the wordmark measures 7.01:1. */
.fabout a{display:inline-block}
.fabout img{display:block;height:34px;width:auto}
.fcols{display:grid;gap:var(--space-8) var(--space-6);
  grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:760px){.fcols{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Brand red at --weight-display, matching .kick elsewhere on the page.
   red-500 on white is 4.93:1 — AA at this size. */
.fcols h2{font-size:13px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--color-brand);margin:0 0 var(--space-5);font-weight:var(--weight-display)}
.fcols ul{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-3)}
/* display:block matters here. Left inline, each <li> keeps its own strut at
   the inherited 16px/1.6, so the row height is set by that leading rather than
   by the link. As a block the row is the link, the gap token actually governs
   the rhythm, and the hit area widens to the full column. */
.fcols a{display:block;font-size:var(--text-xs);color:var(--color-text-secondary);
  line-height:var(--leading-card)}
.fcols a:hover{color:var(--color-brand);text-decoration:underline;text-underline-offset:3px}
/* Closing strip. Full-bleed like .fsignup, so the tint sits on a wrapper
   rather than on .fmeta, which is inside .shell and would stop at the
   content column. --color-text-inverse-muted is 13.30:1 on this ground;
   the tertiary grey it carried on white would be 2.4:1 here. */
.fbar{background:var(--color-bg-inverse)}
.fmeta{padding-block:var(--space-6);text-align:center}
.follow{display:flex;align-items:center;gap:var(--space-4)}
.follow .lbl{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:var(--weight-strong);
  color:var(--color-text-tertiary);white-space:nowrap}
.social{display:flex;gap:10px;margin-top:var(--space-6)}
.social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  background:var(--neutral-100);border-radius:var(--radius-full);color:var(--color-text-secondary)}
.social a:hover{background:var(--color-brand);color:var(--color-text-on-brand)}
.fcopy{margin:0;font-size:14px;color:var(--color-text-inverse-muted);line-height:1.55}