/* ==========================================================================
   THE SHIRT CODE — core design system
   mensformalshirtsmumbai.com / Options Mall
   Palette: Midnight Ink, Acid Citron, Ice Blue, Muted Lilac, Porcelain, Graphite
   ========================================================================== */

:root {
  --ink: #191D2B;
  --ink-2: #222739;
  --citron: #D8E65B;
  --ice: #DDEAF0;
  --lilac: #AAA5C7;
  --porcelain: #F7F7F3;
  --graphite: #565A63;
  --white: #FFFFFF;

  --line: rgba(25, 29, 43, .16);
  --line-strong: rgba(25, 29, 43, .4);
  --line-inv: rgba(247, 247, 243, .18);

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1600px;
  --hdr-h: 64px;
  --gap: clamp(12px, 1.6vw, 24px);

  --fs-xs: .75rem;
  --fs-s: .875rem;
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.6vw, 4.75rem);
  --fs-h1: clamp(2.6rem, 1.2rem + 6.4vw, 8.5rem);
  --fs-mega: clamp(3.4rem, 1rem + 13vw, 15rem);

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--citron); color: var(--ink); }

:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 1px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--citron); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
main { display: block; padding-top: var(--hdr-h); }
section { position: relative; }

/* Section surfaces — mix deliberately, never all at once */
.s-ink { background: var(--ink); color: var(--porcelain); }
.s-ice { background: var(--ice); color: var(--ink); }
.s-porcelain { background: var(--porcelain); color: var(--ink); }
.s-lilac { background: var(--lilac); color: var(--ink); }
.s-citron { background: var(--citron); color: var(--ink); }
.s-white { background: var(--white); color: var(--ink); }
.s-ink .muted, .s-ink .label { color: var(--lilac); }
.muted { color: var(--graphite); }

.pad { padding-block: clamp(64px, 9vw, 160px); }
.pad-s { padding-block: clamp(40px, 5vw, 88px); }

/* Fine grid lines — 12 column hairlines behind a section */
.gridlines { position: relative; isolation: isolate; }
.gridlines::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 12));
  background-size: 100% 100%;
  max-width: var(--maxw); margin-inline: auto;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.s-ink.gridlines::before { background-image: repeating-linear-gradient(90deg, var(--line-inv) 0 1px, transparent 1px calc(100% / 12)); }

/* ---------- typography ---------- */
.t-display, .h-display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.02em;
}
.h1 { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: var(--fs-h1); line-height: .86; letter-spacing: -.025em; }
.h2 { font-family: var(--f-display); font-stretch: 125%; font-weight: 850; text-transform: uppercase; font-size: var(--fs-h2); line-height: .9; letter-spacing: -.02em; }
.h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 750; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -.005em; }
.h4 { font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; }
.thin { font-weight: 200; }

/* Condensed label: the code voice */
.label {
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 600;
  font-size: var(--fs-s);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.3;
}
.label--s { font-size: var(--fs-xs); }

/* Oversized numerals: ultra-thin expanded */
.num-xl {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 200;
  font-size: var(--fs-mega);
  line-height: .78;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
}
.num-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.num-outline.on-ink, .s-ink .num-outline { -webkit-text-stroke-color: var(--lilac); }

/* Vertical condensed label */
.vlabel { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }

/* Citron highlighter */
.hl { background: linear-gradient(transparent 12%, var(--citron) 12%, var(--citron) 88%, transparent 88%); color: var(--ink); padding-inline: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Small chip tags */
.chip { display: inline-block; padding: .3em .6em .25em; background: var(--citron); color: var(--ink); font-family: var(--f-display); font-stretch: 62%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-xs); line-height: 1.2; }
.chip--ink { background: var(--ink); color: var(--citron); }
.chip--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }

/* Code string: e.g. SC—04 / COL.SPR */
.code { font-family: var(--f-display); font-stretch: 62%; font-weight: 500; letter-spacing: .2em; font-size: var(--fs-xs); text-transform: uppercase; color: var(--graphite); }
.s-ink .code { color: var(--lilac); }

/* ---------- registration marks ---------- */
.reg { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2; color: var(--ink); }
.reg::before, .reg::after { content: ""; position: absolute; background: currentColor; }
.reg::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-.5px); }
.reg::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-.5px); }
.reg > i, .reg--ring::marker { display: none; }
.reg--tl { top: -11px; left: -11px; }
.reg--tr { top: -11px; right: -11px; }
.reg--bl { bottom: -11px; left: -11px; }
.reg--br { bottom: -11px; right: -11px; }
.reg--ring { border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; transform: scale(.7); }
.s-ink .reg, .reg--inv { color: var(--lilac); }

/* ---------- photographic plates ---------- */
/* Every product photograph is shown complete (contain) inside a tinted plate */
.plate { position: relative; background: var(--ice); }
.plate__media { position: relative; padding: clamp(10px, 1.6vw, 22px); }
.plate__media img { width: 100%; height: auto; object-fit: contain; }
.plate--fill .plate__media { height: 100%; display: flex; align-items: center; justify-content: center; }
.plate--fill .plate__media img { max-height: 100%; width: auto; max-width: 100%; }
.plate--porcelain { background: var(--porcelain); }
.plate--white { background: var(--white); }
.plate--lilac { background: var(--lilac); }
.plate--ink { background: var(--ink-2); }
.plate--bare .plate__media { padding: 0; }
.plate__cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 0 0; font-size: var(--fs-s); color: var(--graphite); }
.plate > .plate__cap { padding: 0 clamp(10px, 1.6vw, 22px) 12px; margin-top: -4px; }
.s-ink .plate__cap { color: var(--lilac); }
.plate__cap .code { white-space: nowrap; }
.plate--frame { box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Loupe — a circular magnified look at cloth, always paired with the full photo */
.loupe { width: clamp(96px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--porcelain), 0 0 0 7px var(--ink); background: var(--ice); }
.loupe img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.4); }

/* ---------- buttons / links ---------- */
.btn-code {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--f-display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-s);
  text-decoration: none; padding: 14px 0 10px; border-bottom: 2px solid currentColor;
  transition: gap .3s var(--ease), color .2s;
}
.btn-code:hover { gap: 1.4em; }
.btn-solid { display: inline-flex; align-items: center; gap: .8em; padding: 16px 22px 14px; background: var(--ink); color: var(--porcelain); text-decoration: none; font-family: var(--f-display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-s); transition: background .2s, color .2s; }
.btn-solid:hover { background: var(--citron); color: var(--ink); }
.s-ink .btn-solid { background: var(--citron); color: var(--ink); }
.s-ink .btn-solid:hover { background: var(--porcelain); }
.s-ink a.btn-code:hover { color: var(--citron); }

/* ---------- spec sheet ---------- */
.spec { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; border-top: 1px solid var(--line-strong); }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-xs); padding-right: 16px; color: var(--graphite); padding-top: 15px; }
.spec dd { font-size: var(--fs-s); line-height: 1.55; }
.s-ink .spec { border-color: var(--line-inv); }
.s-ink .spec dt, .s-ink .spec dd { border-color: var(--line-inv); }
.s-ink .spec dt { color: var(--lilac); }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.01em; margin-top: 2em; text-transform: none; }
.prose h3 { font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.2; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--graphite); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--graphite); }
.prose a:hover { background: var(--citron); text-decoration-color: var(--ink); }
.prose strong { font-weight: 700; }
.prose blockquote, .pull {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.12; letter-spacing: -.01em;
  border-left: 6px solid var(--citron); padding: .2em 0 .2em .8em;
}
.prose figure { margin-block: 2em; }
.prose figcaption { font-size: var(--fs-s); color: var(--graphite); margin-top: 8px; }
.note-box { background: var(--ice); padding: clamp(18px, 2.4vw, 32px); border-top: 4px solid var(--ink); }
.note-box .label { display: block; margin-bottom: .6em; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-xs); color: var(--graphite); }
.crumbs li + li::before { content: "/"; margin: 0 .7em; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); background: var(--citron); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid currentColor; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 2.5em; padding: 14px 0; animation: tick 48s linear infinite; }
.ticker__track > * { flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- reveal on scroll (progressive) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HEADER — a spec-table bar
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hdr-h);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: stretch;
  background: rgba(247, 247, 243, .94); color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  -webkit-backdrop-filter: saturate(1.3) blur(10px); backdrop-filter: saturate(1.3) blur(10px);
  transition: transform .4s var(--ease);
}
.hdr > * { display: flex; align-items: center; padding-inline: clamp(12px, 1.6vw, 24px); }
.hdr > * + * { border-left: 1px solid var(--line); }
.hdr__brand { gap: 12px; text-decoration: none; padding-left: var(--gutter); }
.hdr__mono {
  display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--citron);
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 15px; letter-spacing: -.02em;
}
.hdr__name { display: flex; flex-direction: column; line-height: 1.05; }
.hdr__name strong { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: -.01em; }
.hdr__name span { font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 11px; color: var(--graphite); margin-top: 3px; }
.hdr__chapter { gap: 14px; font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--graphite); min-width: 0; }
.hdr__no { color: var(--ink); font-weight: 800; }
.hdr__no i { font-style: normal; color: var(--graphite); font-weight: 500; }
.hdr__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr__call { text-decoration: none; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 13px; letter-spacing: .04em; gap: 8px; }
.hdr__call .label { font-size: 11px; color: var(--graphite); }
.hdr__call:hover { background: var(--citron); }
.hdr__menu { gap: 14px; padding-right: var(--gutter); background: var(--ink); color: var(--porcelain); border-left: 0; transition: background .2s, color .2s; }
.hdr__menu:hover { background: var(--citron); color: var(--ink); }
.hdr__menu-word { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.hdr__bars { display: grid; gap: 6px; width: 26px; }
.hdr__bars i { display: block; height: 2px; background: currentColor; }
.hdr__bars i:last-child { width: 60%; justify-self: end; }
.hdr.is-scrolled { background: rgba(247, 247, 243, .98); box-shadow: 0 8px 24px -18px rgba(25, 29, 43, .45); }

/* ==========================================================================
   FULL-SCREEN INDEX MENU
   ========================================================================== */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--porcelain); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__inner { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 30%); grid-template-rows: auto 1fr; gap: 0 var(--gap); padding: 0 var(--gutter) 40px; }
.menu__top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; height: var(--hdr-h); border-bottom: 1px solid var(--line-inv); margin-bottom: clamp(16px, 3vh, 40px); }
.menu__kicker { color: var(--lilac); }
.menu__close { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-stretch: 80%; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; padding: 10px 0; }
.menu__x { position: relative; width: 24px; height: 24px; }
.menu__x::before, .menu__x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; transform: rotate(45deg); }
.menu__x::after { transform: rotate(-45deg); }
.menu__close:hover { color: var(--citron); }
.menu__list { list-style: none; border-top: 1px solid var(--line-inv); }
.menu__list li { border-bottom: 1px solid var(--line-inv); }
.menu__list a {
  display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; align-items: baseline; gap: 12px;
  padding: clamp(6px, 1.05vh, 12px) 0; text-decoration: none; position: relative;
}
.menu__no { font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: clamp(1rem, .8rem + .8vw, 1.5rem); color: var(--lilac); }
.menu__t { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, .7rem + 2.3vw, 2.6rem); line-height: 1; letter-spacing: -.015em; transition: color .2s, transform .3s var(--ease); }
.menu__note { font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--lilac); text-align: right; }
.menu__list a:hover .menu__t, .menu__list a:focus-visible .menu__t { color: var(--citron); transform: translateX(10px); }
.menu__list a[aria-current] .menu__t { color: var(--citron); }
.menu__list a[aria-current] .menu__no::after { content: " ●"; color: var(--citron); font-size: .6em; vertical-align: middle; }
.menu__aside { align-self: end; display: grid; gap: 16px; padding: 24px 0 0 24px; border-left: 1px solid var(--line-inv); font-size: var(--fs-s); }
.menu__aside .label { color: var(--citron); }
.menu__aside a { text-decoration: none; }
.menu__aside a:hover { color: var(--citron); }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   RAIL — vertical chapter code + scroll progress (desktop)
   ========================================================================== */
.rail { position: fixed; right: 10px; top: calc(var(--hdr-h) + 24px); bottom: 24px; z-index: 60; width: 18px; display: none; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; }
.rail__txt { writing-mode: vertical-rl; font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 10px; color: var(--graphite); background: rgba(247,247,243,.85); padding: 6px 2px; white-space: nowrap; }
.rail__bar { flex: 1; width: 2px; background: var(--line); position: relative; overflow: hidden; }
.rail__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 0 1px var(--citron); }
@media (min-width: 1180px) { .rail { display: flex; } }

/* ==========================================================================
   FOOTER — the final page of the campaign
   ========================================================================== */
.ftr { position: relative; background: var(--ink); color: var(--porcelain); padding: clamp(56px, 8vw, 120px) 0 28px; overflow: hidden; }
.ftr .reg { color: var(--citron); }
.ftr .reg--tl { top: 24px; left: 24px; }
.ftr .reg--tr { top: 24px; right: 24px; left: auto; }
.ftr__top { display: grid; gap: 22px; }
.ftr__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--lilac); }
.ftr__mark { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .8; letter-spacing: -.04em; font-size: clamp(2.2rem, 14.5vw, 16rem); }
.ftr__mark span { color: var(--citron); }
.ftr__line { max-width: 46ch; color: var(--lilac); font-size: var(--fs-lead); line-height: 1.4; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1.4fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-inv); }
.ftr__col .label { color: var(--citron); font-size: var(--fs-xs); margin-bottom: 12px; }
.ftr__col p + .label { margin-top: 26px; }
.ftr__col address, .ftr__col p { font-size: var(--fs-s); line-height: 1.7; }
.ftr__col a { text-decoration: none; }
.ftr__col a:hover { color: var(--citron); }
.ftr__big { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.1; }
.ftr__mail { overflow-wrap: anywhere; }
.ftr__nav ol { list-style: none; columns: 2; column-gap: 24px; font-size: var(--fs-s); }
.ftr__nav li { break-inside: avoid; padding: 3px 0; }
.ftr__nav li span { font-family: var(--f-display); font-stretch: 62%; color: var(--lilac); letter-spacing: .1em; margin-right: 4px; }
.ftr__brand img { width: 132px; height: auto; margin-bottom: 26px; }
.ftr__social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ftr__social span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-inv); color: var(--porcelain); font-size: 17px; transition: background .2s, color .2s; }
.ftr__social span:hover { background: var(--citron); color: var(--ink); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-inv); font-size: var(--fs-s); color: var(--lilac); }
.ftr__base a { color: var(--porcelain); text-decoration-color: var(--citron); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ftr__base a:hover { color: var(--citron); }

/* ==========================================================================
   JOURNAL ARTICLE TEMPLATE (shared by the fourteen essays)
   ========================================================================== */
.art__head { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 80px); }
.art__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--graphite); margin-bottom: clamp(24px, 3vw, 48px); }
.art__no { grid-column: 1 / 5; grid-row: 2 / 4; font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: clamp(7rem, 22vw, 22rem); line-height: .74; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); align-self: start; }
.art__titles { grid-column: 5 / 13; grid-row: 2; position: relative; z-index: 1; }
.art__h1 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 1rem + 3.6vw, 5rem); line-height: .92; letter-spacing: -.02em; max-width: 16ch; }
.art__dek { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.45; max-width: 46ch; color: var(--graphite); }
.art__by { margin-top: 22px; color: var(--graphite); }
.art__cover { grid-column: 7 / 13; grid-row: 3; margin-top: clamp(28px, 4vw, 56px); }
.art__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-bottom: clamp(64px, 8vw, 128px); border-top: 1px solid var(--line-strong); padding-top: clamp(32px, 4vw, 64px); }
.art__toc { grid-column: 1 / 4; position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
.art__toc ol { list-style: none; margin: 14px 0 26px; counter-reset: t; border-top: 1px solid var(--line); }
.art__toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.art__toc li a { display: grid; grid-template-columns: 2.2em 1fr; padding: 9px 0; font-size: var(--fs-s); line-height: 1.35; text-decoration: none; }
.art__toc li a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-display); font-stretch: 62%; color: var(--graphite); letter-spacing: .1em; }
.art__toc li a:hover { background: var(--citron); }
.art__body { grid-column: 5 / 12; }
.art__body > p:first-child::first-letter { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; float: left; font-size: 4.2em; line-height: .8; margin: .06em .1em 0 0; }
.art__body .plate { margin-block: 2.2em; }
.art__end { background: var(--ice); padding-block: clamp(48px, 6vw, 96px); }
.art__pn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pn { display: grid; gap: 8px; padding: 20px 0; border-top: 2px solid var(--ink); text-decoration: none; font-family: var(--f-display); font-stretch: 105%; font-weight: 750; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); line-height: 1.15; }
.pn .label { color: var(--graphite); font-weight: 600; }
.pn--next { text-align: right; grid-column: 2; }
.pn:hover span:last-child { background: var(--citron); }
.rel { margin-top: clamp(40px, 5vw, 80px); }
.rel__h { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); line-height: .9; letter-spacing: -.02em; margin-bottom: 24px; }
.rel__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.rel__list a { display: grid; gap: 12px; padding: 22px; background: var(--porcelain); text-decoration: none; height: 100%; align-content: start; transition: background .2s; }
.rel__list a:hover { background: var(--citron); }
.rel__no { font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: 3.4rem; line-height: .8; }
.rel__t { font-family: var(--f-display); font-stretch: 105%; font-weight: 750; font-size: 1.15rem; line-height: 1.2; }
.rel__k { color: var(--graphite); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hdr__call { display: none; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 58px; }
  .hdr { grid-template-columns: 1fr auto; }
  .hdr__chapter { display: none; }
  .menu__inner { grid-template-columns: 1fr; }
  .menu__aside { border-left: 0; border-top: 1px solid var(--line-inv); padding: 24px 0 0; margin-top: 28px; }
  .menu__note { display: none; }
  .menu__list a { grid-template-columns: 2.6em minmax(0, 1fr); }
  .art__no { grid-column: 1 / -1; grid-row: 2; font-size: clamp(6rem, 34vw, 12rem); margin-bottom: .1em; }
  .art__titles { grid-column: 1 / -1; grid-row: 3; }
  .art__cover { grid-column: 1 / -1; grid-row: 4; }
  .art__toc { position: static; grid-column: 1 / -1; margin-bottom: 36px; }
  .art__body { grid-column: 1 / -1; }
  .rel__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hdr__name span { display: none; }
  .hdr__menu-word { display: none; }
  .hdr__menu { padding-inline: 18px var(--gutter); }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__nav ol { columns: 1; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .art__pn { grid-template-columns: 1fr; }
  .pn--next { grid-column: 1; }
}
@media (max-width: 360px) {
  .hdr__name strong { font-size: 13px; }
  .hdr__mono { width: 34px; height: 34px; font-size: 13px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

@media print {
  .hdr, .rail, .menu, .ftr__social { display: none !important; }
  main { padding-top: 0; }
}
