/*
Theme Name: Crazy 4 Bollywood
Theme URI: https://crazy4bollywood.com
Author: Crazy 4 Bollywood
Description: The crazy4bollywood.com theme, from the C4B design handoff: a cinema programme, not a news feed. Now showing, the filterable reel strip, the decade dial, the dialogue of the day on the red field and the interval sign-up, on the Modernist system (Archivo, 2px ink rules, zero radius, grayscale photography, red the only colour). Reels and Decades are post types; the Social guidelines page has its own template.
Version: 1.1.0
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crazy4bollywood
Tags: entertainment, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ---- Archivo, variable (weight and width), hosted with the theme (SIL Open Font Licence) ---- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- tokens: the Modernist system as the handoff sets it ---- */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  --color-neutral-700: #605d5d;
  --color-accent-100: #fff2ef;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --brand-red: #ff1a1a;
  --brand-cyan: #5ce1e6;
  --font: "Archivo", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --rule: 2px solid var(--color-text);
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font); font-size: 15px; line-height: 1.55; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; }
a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 12px; background: var(--color-text); color: var(--color-bg); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the frame: 1440 wide, ruled at both sides; cells are separated by rules, never gutters */
.frame { max-width: 1440px; margin: 0 auto; min-height: 100vh; border-left: var(--rule); border-right: var(--rule); display: flex; flex-direction: column; background: var(--color-bg); }
main { flex: 1 0 auto; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.g12 > * { min-width: 0; }
.label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.mono { font-family: var(--mono); font-size: 12px; }
.is-red { color: var(--color-accent-700); }
.is-accent { color: var(--color-accent); }
.kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-accent-700); }
.meta { font-size: 12px; color: var(--color-neutral-700); }

/* ---- components (Modernist) ---- */
.btn { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; cursor: pointer; text-align: left; font-family: var(--font); font-weight: 800; font-size: 14px; line-height: 1.2; color: var(--color-text); background: transparent; border: 1px solid transparent; border-radius: 0; padding: 9px 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-ground { background: var(--color-bg); color: var(--color-text); }
.btn-ground:hover { background: #fff; color: var(--color-text); }
.btn-wide { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; }
.tag { display: inline-flex; align-items: center; align-self: flex-start; font-size: 11px; letter-spacing: .02em; padding: 3px 10px; }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent-700); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--color-text); }
.seg-opt { display: inline-flex; align-items: center; padding: 7px 12px; font: inherit; font-size: 13px; color: var(--color-text); background: transparent; border: 0; cursor: pointer; }
.seg-opt + .seg-opt { border-left: 1px solid var(--color-text); }
.seg-opt:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.seg-opt[aria-pressed="true"], .seg-opt[aria-current="page"] { background: var(--color-text); color: var(--color-bg); }
.seg-opt:focus-visible { outline-offset: -4px; outline-color: var(--color-accent); }
.field > label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.input { width: 100%; min-height: 40px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--color-text); caret-color: var(--color-accent); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0; }
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
.notice { margin: 0; font-size: 13px; padding: 8px 12px; border-left: 2px solid var(--color-text); background: var(--color-surface); }
.notice.err { border-left-color: var(--color-accent-700); color: var(--color-accent-700); }

/* pictures: grayscale (red stays the only colour), never under type; too small is letterboxed */
.pic { position: relative; overflow: hidden; background: var(--color-surface); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.grayscale { filter: grayscale(1) contrast(1.08); }
.pic.is-small img { object-fit: scale-down; }
.pic--none { display: grid; place-items: center; }
.pic--none img { width: 30%; max-width: 120px; height: auto; object-fit: contain; filter: grayscale(1); opacity: .35; }
.r-reel { aspect-ratio: 9 / 14; }
.r-card { aspect-ratio: 1200 / 630; }
/* autopub's share cards (the headline set on the C4B red): whole, never cropped, in their own colours */
.pic.is-card img { object-fit: contain; }
.pic.is-card.r-reel img, .pic.is-card.r-fill img { object-fit: contain; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-fill { height: 100%; min-height: 360px; }
.r-natural img { height: auto; }

/* section head: the big uppercase title, a control or link on the right */
.shead { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-6); border-bottom: var(--rule); flex-wrap: wrap; }
.shead__t { margin: 0; font-weight: 800; font-size: 44px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.shead__more { font-weight: 700; }

/* ---- header ---- */
.head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-6); padding: var(--space-3) var(--space-6); border-bottom: var(--rule); }
.head__logo img { height: 48px; width: auto; }
.head__nav { display: flex; flex-wrap: wrap; gap: var(--space-6); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.head__toggle { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--color-text); cursor: pointer; place-items: center; }

/* ---- Now showing ---- */
.hero { border-bottom: var(--rule); }
.hero__main { grid-column: span 8; padding: var(--space-8) var(--space-6); border-right: var(--rule); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.hero__meta a:hover { color: var(--color-accent-700); }
.hero__title { margin: 0; font-weight: 900; font-size: clamp(64px, 10vw, 168px); line-height: .86; letter-spacing: -.03em; text-transform: uppercase; hyphens: manual; }
.hero__intro { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.hero__side { grid-column: span 4; display: grid; grid-template-rows: 1fr auto; }
.hero__still { display: block; min-height: 360px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--rule); }
.fact { padding: var(--space-4); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact + .fact { border-left: var(--rule); }
.fact .label { font-size: 12px; font-weight: 400; }
.fact strong { font-weight: 800; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
a.fact:hover strong { color: var(--color-accent-700); }

/* ---- the latest from the industry ---- */
.news { border-bottom: var(--rule); }
.news__top { border-bottom: var(--rule); }
.news__lead { grid-column: span 7; border-right: var(--rule); min-width: 0; }
.news__leadlink { display: flex; flex-direction: column; height: 100%; color: var(--color-text); }
.news__leadlink:hover { color: var(--color-text); }
.news__leadlink:hover .news__title { color: var(--color-accent-700); }
.news__leadbody { padding: var(--space-6); border-top: var(--rule); display: flex; flex-direction: column; gap: var(--space-3); }
.news__title { margin: 0; font-weight: 800; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.news__dek { margin: 0; font-size: 17px; line-height: 1.5; max-width: 620px; text-wrap: pretty; }
.news__list { grid-column: span 5; list-style: none; margin: 0; padding: 0; min-width: 0; }
.news__list li + li { border-top: var(--rule); }
.news__row { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4) var(--space-6); color: var(--color-text); }
.news__row:hover { color: var(--color-text); background: var(--color-accent-100); }
.news__row:hover .news__rowtitle { color: var(--color-accent-700); }
.news__when { color: var(--color-neutral-700); text-transform: uppercase; letter-spacing: .02em; }
.news__rowtitle { font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; text-wrap: pretty; }
.news__more { border-bottom: 0; }
.news__list--side { border-bottom: var(--rule); }
.news__list--side .news__row { padding: var(--space-3) var(--space-6); }
.news__list--side .news__rowtitle { font-size: 16px; }
.post__side .news__list + .post__sidehead { border-top: 0; }

/* ---- the reel strip ---- */
.strip { border-bottom: var(--rule); }
.strip__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); overflow: hidden; }
.reel { border-right: var(--rule); border-bottom: var(--rule); margin-right: -2px; margin-bottom: -2px; display: flex; flex-direction: column; min-width: 0; }
.reel__link { display: flex; flex-direction: column; height: 100%; color: var(--color-text); }
.reel__link:hover { color: var(--color-text); }
.reel__link:hover .reel__title { color: var(--color-accent-700); }
.reel__bar { display: flex; justify-content: space-between; padding: var(--space-2) var(--space-4); border-bottom: var(--rule); }
.reel__body { padding: var(--space-4); border-top: var(--rule); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.reel__title { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.1; text-wrap: pretty; }
.strip__all { display: block; padding: var(--space-4) var(--space-6); border-top: var(--rule); font-weight: 700; }
.strip__empty, .strip__desc { margin: 0; padding: var(--space-6); font-size: 17px; max-width: 760px; }
.strip__desc + .strip__grid { border-top: var(--rule); }
.strip--page { border-bottom: 0; }
.strip--page .strip__grid { border-bottom: var(--rule); }

/* ---- the decade dial ---- */
.dial { border-bottom: var(--rule); }
.dial__list { grid-column: span 4; border-right: var(--rule); }
.dial__title { padding: var(--space-6); border-bottom: var(--rule); }
.dial__tab { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: var(--space-3) var(--space-6); border: 0; border-bottom: var(--rule); background: transparent; color: var(--color-text); font: inherit; cursor: pointer; text-align: left; }
.dial__tab:last-child { border-bottom: 0; }
.dial__tab:not([aria-selected="true"]):hover { background: var(--color-accent-100); }
.dial__tab[aria-selected="true"] { background: var(--color-text); color: var(--color-bg); }
.dial__tab:focus-visible { outline-offset: -4px; }
.dial__label { font-weight: 800; font-size: 28px; line-height: 1.2; }
.dial__nick { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.dial__panels { grid-column: span 8; padding: var(--space-8) var(--space-6); }
.dial__panel { display: flex; flex-direction: column; gap: var(--space-6); }
.dial__big { font-weight: 900; font-size: clamp(120px, 18vw, 260px); line-height: .8; letter-spacing: -.05em; color: var(--color-accent); }
.dial__name { margin: 0; font-weight: 800; font-size: 32px; text-transform: uppercase; }
.dial__body { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.dial__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule); margin: 0; }
.dial__facts > div { padding: var(--space-4) var(--space-4) 0 0; }
.dial__facts dt { font-size: 12px; font-weight: 400; }
.dial__facts dd { margin: 0; font-weight: 700; font-size: 18px; }

/* ---- dialogue of the day: the red field ---- */
.dialogue { background: var(--color-accent); color: var(--color-bg); padding: var(--space-8) var(--space-6); border-bottom: var(--rule); display: flex; flex-direction: column; gap: var(--space-8); }
.dialogue ::selection { background: var(--color-text); color: var(--color-bg); }
.dialogue__top { display: flex; justify-content: space-between; gap: var(--space-4); font-weight: 700; }
.dialogue__quote { margin: 0; }
.dialogue__quote p { margin: 0; font-weight: 900; font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: break-word; }
.dialogue__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap; }
.dialogue__src { font-style: normal; font-size: 19px; font-weight: 600; }
.dialogue .btn:focus-visible { outline-color: var(--color-bg); }

/* ---- the interval sign-up ---- */
.interval { border-bottom: var(--rule); }
.interval__text { grid-column: span 6; padding: var(--space-8) var(--space-6); border-right: var(--rule); }
.interval__text .label { font-weight: 700; }
.interval__title { margin: var(--space-3) 0 0; font-weight: 900; font-size: 64px; line-height: .9; text-transform: uppercase; letter-spacing: -.02em; }
.interval__form { grid-column: span 6; padding: var(--space-8) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); justify-content: flex-end; }

/* ---- footer: equal cells divided by rules ---- */
.foot { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); font-size: 14px; }
.foot__cell { padding: var(--space-6); border-right: var(--rule); }
.foot__cell:last-child { border-right: 0; }
.foot__name { font-weight: 800; text-transform: uppercase; }

/* ---- one reel ---- */
.reelpage { border-bottom: var(--rule); }
.reelpage__main { grid-column: span 8; padding: var(--space-8) var(--space-6); border-right: var(--rule); display: flex; flex-direction: column; gap: var(--space-6); }
.reelpage__title { margin: 0; font-weight: 900; font-size: clamp(44px, 6.2vw, 100px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.reelpage__main .btn-wide { width: auto; align-self: flex-start; }
.reelpage__side { grid-column: span 4; display: grid; grid-template-rows: 1fr auto; }
.reelpage__embed { display: grid; place-items: center; background: var(--color-text); padding: var(--space-4); }
.reelpage__embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }

/* ---- a story ---- */
.post { border-bottom: var(--rule); }
.post__main { grid-column: span 8; padding: var(--space-8) var(--space-6); border-right: var(--rule); display: flex; flex-direction: column; gap: var(--space-6); }
.post__title { margin: 0; font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.post__pic figcaption { font-size: 12px; color: var(--color-neutral-700); margin-top: var(--space-2); }
.post__side { grid-column: span 4; }
.post__sidehead { margin: 0; padding: var(--space-4) var(--space-6); border-bottom: var(--rule); }
.post__side .reel { margin: 0; border-right: 0; }
.post__side .reel__link { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; }
.post__side .reel__bar { grid-column: 1 / -1; }
.post__side .reel__cover { border-right: var(--rule); }
.post__side .reel__body { border-top: 0; }
.entry { max-width: 680px; font-size: 17px; line-height: 1.65; }
.entry > * { margin: 0 0 1em; }
.entry a { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 3px; }
.entry h2 { font-size: 28px; margin-top: 1.4em; }
.entry h3 { font-size: 22px; margin-top: 1.2em; }
.entry img { filter: grayscale(1) contrast(1.08); }
.entry blockquote { margin: 1.4em 0; padding: 0 0 0 var(--space-4); border-left: 4px solid var(--color-accent); font-weight: 900; font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; }
.entry blockquote p { margin: 0; }
.entry figcaption, .entry .wp-caption-text { font-size: 12px; color: var(--color-neutral-700); }
.entry iframe { max-width: 100%; border: 0; }
.entry ul, .entry ol { padding-left: 1.2em; }
.page__body { padding: var(--space-8) var(--space-6); border-bottom: var(--rule); }

/* ---- lists: posts, sections, search ---- */
.list__search { padding: var(--space-4) var(--space-6); border-bottom: var(--rule); }
.search-form { display: flex; gap: var(--space-2); max-width: 560px; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border-bottom: var(--rule); }
.story { border-right: var(--rule); border-bottom: var(--rule); margin-right: -2px; margin-bottom: -2px; min-width: 0; }
.story__link { display: flex; flex-direction: column; height: 100%; }
.story__link:hover { color: var(--color-text); }
.story__link:hover .story__title { color: var(--color-accent-700); }
.story__body { padding: var(--space-4); border-top: var(--rule); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.story__title { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.12; text-wrap: pretty; }
.list__empty { margin: 0; padding: var(--space-8) var(--space-6); font-size: 17px; border-bottom: var(--rule); }
.pager { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-6); border-bottom: var(--rule); }
.pager .page-numbers { font-weight: 800; font-size: 14px; padding: 8px 14px; border: var(--rule); }
.pager .page-numbers.current { background: var(--color-text); color: var(--color-bg); }
.pager .page-numbers.dots { border-color: transparent; }
.notfound .hero__title { font-size: clamp(48px, 7vw, 112px); }
.notfound__side { padding: var(--space-8) var(--space-6); align-content: end; grid-template-rows: auto; }
.comments { border-top: var(--rule); padding-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); max-width: 680px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 8px 10px; font: inherit; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0; }

/* ---- social guidelines ---- */
.guide__head { border-bottom: var(--rule); }
.guide__headmain { grid-column: span 8; padding: var(--space-8) var(--space-6); border-right: var(--rule); }
.guide__headmain .label { font-weight: 700; }
.guide__title { margin: var(--space-4) 0 0; font-weight: 900; font-size: clamp(56px, 8vw, 128px); line-height: .88; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.guide__headside { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3); padding: var(--space-6); }
.guide__headside p { margin: 0; font-size: 17px; line-height: 1.5; }
.guide__back { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.guide__row { border-bottom: var(--rule); }
.guide__desc { grid-column: span 4; padding: var(--space-6); border-right: var(--rule); }
.guide__desc h2 { margin: var(--space-3) 0; font-weight: 800; font-size: 32px; text-transform: uppercase; }
.guide__desc ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.6; }
.guide__desc p { margin: 0; font-size: 16px; line-height: 1.6; }
.guide__no { font-weight: 800; font-size: 56px; line-height: 1; }
.guide__logo { grid-column: span 4; display: flex; flex-direction: column; }
.guide__logo + .guide__logo { border-left: var(--rule); }
.guide__logo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.guide__logo.is-white img { background: #fff; }
.guide__logo figcaption { padding: var(--space-3) var(--space-4); border-top: var(--rule); font-weight: 700; margin: 0; color: var(--color-text); }
.guide__swatches { grid-column: span 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.swatch { display: flex; flex-direction: column; border-right: var(--rule); min-width: 0; }
.swatch:last-child { border-right: 0; }
.swatch__chip { aspect-ratio: 1; }
.swatch__text { padding: var(--space-4); border-top: var(--rule); }
.swatch__text strong { display: block; font-weight: 800; font-size: 18px; }
.swatch__text code { display: block; font-family: var(--mono); font-size: 13px; }
.swatch__text span { display: block; font-size: 13px; margin-top: var(--space-2); }
.guide__specimen { grid-column: span 8; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.guide__specimen .label { font-weight: 700; }
.guide__big { font-weight: 900; font-size: clamp(48px, 6vw, 96px); line-height: .9; text-transform: uppercase; letter-spacing: -.03em; }
.guide__body { font-size: 19px; }
.guide__formats { border-bottom: var(--rule); }
.guide__inline { display: flex; align-items: baseline; gap: var(--space-4); }
.guide__inline h2 { margin: 0; font-weight: 800; font-size: 32px; text-transform: uppercase; }
.mocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: end; gap: var(--space-8); padding: var(--space-8) var(--space-6); }
.mock { display: flex; flex-direction: column; gap: var(--space-3); }
.mock__frame { border: var(--rule); padding: var(--space-4); display: flex; flex-direction: column; justify-content: space-between; }
.mock__frame.r-1 { aspect-ratio: 1; }
.mock__frame.r-4x5 { aspect-ratio: 4 / 5; }
.mock__frame.r-9x16 { aspect-ratio: 9 / 16; }
.mocks.ground-red .mock__frame { background: var(--brand-red); color: #fff; }
.mocks.ground-white .mock__frame { background: #fff; color: var(--brand-red); }
.mock__top { display: flex; justify-content: space-between; gap: var(--space-2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.mock__head { font-weight: 900; font-size: 34px; line-height: .9; text-transform: uppercase; letter-spacing: -.02em; }
.is-cyan { color: var(--brand-cyan); }
.mock__mark { align-self: flex-end; width: 56px; height: 56px; }
.mock__mark img { width: 56px; height: 56px; object-fit: cover; }
.mocks.ground-red .on-white, .mocks.ground-white .on-red { display: none; }
.mock figcaption { display: flex; justify-content: space-between; font-size: 14px; border-top: var(--rule); padding-top: var(--space-2); }
.mock figcaption code { font-family: var(--mono); }
.guide__rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule); font-size: 15px; }
.guide__rules > div { padding: var(--space-4) var(--space-6); border-right: var(--rule); }
.guide__rules > div:last-child { border-right: 0; }
.guide__dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: var(--rule); }
.guide__dos > div { padding: var(--space-6); }
.guide__dos > div + div { border-left: var(--rule); }
.guide__dos h2 { margin: 0 0 var(--space-4); font-weight: 800; font-size: 32px; text-transform: uppercase; }
.guide__dos ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.8; }

@media (max-width: 1199px) and (min-width: 960px) { .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- below 960px: the two-cell rows stack; vertical rules become horizontal ---- */
@media (max-width: 959px) {
  .hero__main, .hero__side, .dial__list, .dial__panels, .interval__text, .interval__form, .reelpage__main, .reelpage__side, .post__main, .post__side,
  .guide__headmain, .guide__headside, .guide__desc, .guide__swatches, .guide__specimen { grid-column: 1 / -1; border-right: 0; }
  .hero__main, .dial__list, .interval__text, .reelpage__main, .post__main, .guide__headmain, .guide__desc { border-bottom: var(--rule); }
  .news__lead, .news__list { grid-column: 1 / -1; border-right: 0; }
  .news__lead { border-bottom: var(--rule); }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide__logo { grid-column: span 6; }
  .hero__side { grid-template-rows: auto auto; }
  .hero__still .r-fill { min-height: 0; height: auto; aspect-ratio: 4 / 5; max-height: 70vh; width: 100%; }
  /* the dial as four across: each tab ruled right and below, the outer rules clipped */
  .dial [role="tablist"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
  .dial__tab, .dial__tab:last-child { justify-content: center; padding: var(--space-3) var(--space-2); border-right: var(--rule); border-bottom: var(--rule); margin: 0 -2px -2px 0; }
  .dial__nick { display: none; }
  .dial__label { font-size: 24px; }
  .interval__title { font-size: 52px; }
  .guide__swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatch:nth-child(2) { border-right: 0; }
  .swatch:nth-child(n+3) { border-top: var(--rule); }
  .foot { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cell { border-bottom: var(--rule); }
  .foot__cell:nth-child(2n) { border-right: 0; }
  .foot__cell:last-child { border-bottom: 0; }
  .post__side .reel__link { grid-template-columns: 96px 1fr; }
}

/* ---- below 720px: the header's links fold behind the menu button ---- */
@media (max-width: 719px) {
  .head { grid-template-columns: auto 1fr auto; gap: var(--space-3); padding: var(--space-2) var(--space-4); }
  .head__logo img { height: 40px; }
  .head__toggle { display: inline-grid; grid-column: 3; grid-row: 1; }
  .head__join { grid-column: 2; grid-row: 1; justify-self: end; }
  .head__nav { display: none; grid-column: 1 / -1; flex-direction: column; gap: 0; margin: var(--space-2) calc(-1 * var(--space-4)) calc(-1 * var(--space-2)); border-top: var(--rule); }
  .head__nav.is-open { display: flex; }
  .head__nav a { padding: var(--space-3) var(--space-4); border-bottom: var(--rule); }
  .head__nav a:last-child { border-bottom: 0; }
  .hero__main, .dial__panels, .interval__text, .interval__form, .reelpage__main, .post__main, .page__body, .dialogue { padding: var(--space-6) var(--space-4); }
  .shead { padding: var(--space-4); }
  .shead__t { font-size: 34px; }
  .hero__title { font-size: clamp(54px, 17vw, 96px); }
  .hero__intro, .dial__body { font-size: 17px; }
  .strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel__bar { padding: var(--space-2) var(--space-3); }
  .reel__body { padding: var(--space-3); }
  .reel__title { font-size: 18px; }
  .dial__big { font-size: 120px; }
  .dial__name { font-size: 26px; }
  .dial__facts dd { font-size: 16px; }
  .dialogue__quote p { font-size: clamp(44px, 13vw, 80px); }
  .interval__title { font-size: 40px; }
  .guide__logo { grid-column: 1 / -1; }
  .guide__logo + .guide__logo { border-left: 0; border-top: var(--rule); }
  .guide__rules, .guide__dos { grid-template-columns: minmax(0, 1fr); }
  .guide__rules > div { border-right: 0; border-bottom: var(--rule); }
  .guide__rules > div:last-child { border-bottom: 0; }
  .guide__dos > div + div { border-left: 0; border-top: var(--rule); }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .news__leadbody, .news__row { padding-left: var(--space-4); padding-right: var(--space-4); }
  .news__rowtitle { font-size: 17px; }
}
@media (max-width: 479px) {
  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot__cell { border-right: 0; }
}
