/* The Thursday Times: Thursday Studio, second design (template-parts/studio-v2.php).
   The paper's print floor: ink, newsprint and one orange. Halftone made of square dots (the colon's own shape),
   registration and crop marks, job tickets, a proof sheet and a press counter. Martian Mono sets the spec labels and
   Doto the counter; the brand's Chivo, Instrument Serif and Source Serif carry everything a reader reads. */

@font-face { font-family: "Martian Mono"; src: url("../fonts/MartianMono-Variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Doto"; src: url("../fonts/Doto-Variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

.tt-sd2 {
	--sd2-ease: var(--tt-ease, cubic-bezier(0.7, 0, 0.2, 1));
	--sd2-snap: cubic-bezier(0.2, 0.9, 0.1, 1);
	--sd2-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--sd2-dot: "Doto", "Martian Mono", ui-monospace, monospace;
	--sd2-ink: #0c0b0a;
	--sd2-newsprint: #fbf1e7;
	--sd2-hot: var(--tt-orange, #ff4200);
	--sd2-card: color-mix(in srgb, var(--tt-bg) 55%, #fff);
	--sd2-rule: color-mix(in srgb, var(--tt-text) 22%, transparent);
	--sd2-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	overflow-x: clip;
	background: var(--tt-bg);
	color: var(--tt-text);
}
html[data-theme="dark"] .tt-sd2 { --sd2-card: color-mix(in srgb, var(--tt-bg) 90%, #fff); }
.tt-sd2 *, .tt-sd2 *::before, .tt-sd2 *::after { box-sizing: border-box; }
body:has(.tt-sd2) .tt-footer { margin-top: 0; }
.sd2-nowrap { white-space: nowrap; }

/* ------------------------------------------------------------- shared parts */
.sd2-sec { position: relative; padding-block: clamp(80px, 10vw, 152px); }
.sd2-sec::before { content: ""; position: absolute; inset: 0; background: var(--sd2-grain); opacity: 0.28; pointer-events: none; mix-blend-mode: multiply; }
html[data-theme="dark"] .sd2-sec::before { mix-blend-mode: screen; opacity: 0.25; }
.sd2-sec > .tt-wrap { position: relative; }

.sd2-label { display: flex; align-items: center; gap: 14px; margin: 0 0 var(--tt-space-5); font-family: var(--sd2-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tt-text-secondary); }
.sd2-label b { font-weight: 600; color: var(--tt-text); }
.sd2-label::before { content: ""; flex: none; width: 18px; height: 18px; background:
	linear-gradient(currentColor, currentColor) 50% 0 / 1px 100% no-repeat,
	linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat,
	radial-gradient(circle, transparent 4.5px, currentColor 5px, currentColor 6px, transparent 6.5px); color: var(--sd2-hot); }

.sd2-head { margin-bottom: clamp(40px, 6vw, 80px); }
.sd2-h2 { margin: 0; max-width: 15em; font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }

/* The colon: two squares, one above the other, in orange. */
.sd2-colon, .sd2-q__colon { display: inline-flex; flex-direction: column; justify-content: space-between; flex: none; vertical-align: baseline; }
.sd2-colon > span, .sd2-q__colon > span { display: block; aspect-ratio: 1; background: var(--sd2-hot); }
/* an empty box sits on its first square: lift it so the lower square stands on the baseline */
.sd2-colon { width: 0.2em; height: 0.66em; margin-left: 0.08em; vertical-align: 0.46em; }
.sd2-colon > span { width: 0.2em; }
.sd2-colon--h { width: 0.17em; height: 0.62em; vertical-align: 0.45em; }
.sd2-colon--h > span { width: 0.17em; }

.sd2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sd2-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 2px solid currentColor; font-family: var(--font-ui); font-size: 17px; line-height: 1; font-weight: 700; text-decoration: none; transition: transform 160ms var(--sd2-snap), box-shadow 160ms var(--sd2-snap), background-color 160ms, color 160ms, border-color 160ms; }
.sd2-btn:focus-visible { outline: 3px solid var(--sd2-hot); outline-offset: 3px; }
.sd2-btn:hover { transform: translate(-3px, -3px); }
.sd2-btn:active { transform: translate(0, 0); box-shadow: none; }
.sd2-btn--hot { background: var(--sd2-hot); border-color: var(--sd2-hot); color: #fff; }
.sd2-btn--hot:hover { box-shadow: 4px 4px 0 var(--sd2-newsprint); }
.sd2-btn--ghost { color: var(--sd2-newsprint); }
.sd2-btn--ghost:hover { box-shadow: 4px 4px 0 var(--sd2-hot); }
.sd2-btn--ink { background: var(--sd2-ink); border-color: var(--sd2-ink); color: #fff; }
.sd2-btn--ink:hover { box-shadow: 4px 4px 0 #fff; }
.sd2-btn--line { color: var(--sd2-ink); }
.sd2-btn--line:hover { background: #fff; box-shadow: 4px 4px 0 var(--sd2-ink); }

/* Crop marks at the corners of a printed area. */
.sd2-crops { position: absolute; inset: 18px; pointer-events: none; z-index: 1; }
.sd2-crops i { position: absolute; width: 22px; height: 22px; color: color-mix(in srgb, var(--sd2-newsprint) 40%, transparent); }
.sd2-crops i::before, .sd2-crops i::after { content: ""; position: absolute; background: currentColor; }
.sd2-crops i::before { width: 100%; height: 1px; }
.sd2-crops i::after { width: 1px; height: 100%; }
.sd2-crops i:nth-child(1) { top: 0; left: 0; }
.sd2-crops i:nth-child(2) { top: 0; right: 0; }
.sd2-crops i:nth-child(2)::after { right: 0; }
.sd2-crops i:nth-child(3) { bottom: 0; left: 0; }
.sd2-crops i:nth-child(3)::before { bottom: 0; }
.sd2-crops i:nth-child(4) { bottom: 0; right: 0; }
.sd2-crops i:nth-child(4)::before { bottom: 0; }
.sd2-crops i:nth-child(4)::after { right: 0; }

/* --------------------------------------------------------------------- hero */
.sd2-hero { position: relative; isolation: isolate; overflow: hidden; background:
	radial-gradient(120% 80% at 85% 0%, rgba(255, 66, 0, 0.13), transparent 55%),
	radial-gradient(90% 70% at 0% 100%, rgba(251, 241, 231, 0.06), transparent 60%),
	var(--sd2-ink); color: var(--sd2-newsprint); }
.sd2-hero__ink { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 400ms; }
.sd2-hero.is-inked .sd2-hero__ink { opacity: 1; }
.sd2-hero__in { position: relative; z-index: 2; display: flex; flex-direction: column; padding-block: clamp(36px, 4vw, 52px) clamp(56px, 6vw, 88px); }

.sd2-spec { list-style: none; margin: 0 0 clamp(48px, 7vw, 104px); padding: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-bottom: 1px dashed rgba(251, 241, 231, 0.28); font-family: var(--sd2-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(251, 241, 231, 0.66); }
.sd2-spec__open { display: inline-flex; align-items: center; gap: 9px; color: var(--sd2-newsprint); }
.sd2-spec__open i { width: 8px; height: 8px; background: var(--sd2-hot); animation: sd2-blink var(--tt-blink, 2s) steps(1, end) infinite; }

.sd2-mark { position: relative; margin: 0 0 clamp(48px, 6vw, 88px); width: min(1080px, 100%); }
.sd2-mark__svg { display: block; width: 100%; height: auto; transition: opacity 500ms; }
.sd2-hero.is-inked .sd2-mark__svg { opacity: 0; }

.sd2-hero__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.sd2-hero__deck { margin: 0; max-width: 14em; font-family: var(--font-deck); font-size: clamp(34px, 4vw, 60px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.sd2-hero__body { margin: 0 0 var(--tt-space-6); max-width: 30em; font-family: var(--font-text); font-size: 18px; line-height: 29px; color: rgba(251, 241, 231, 0.72); }
.sd2-js .sd2-hero__deck { animation: sd2-up 0.9s var(--sd2-ease) 0.7s both; }
.sd2-js .sd2-hero__side { animation: sd2-up 0.9s var(--sd2-ease) 0.85s both; }
.sd2-js .sd2-spec { animation: sd2-fade 0.6s linear 0.2s both; }

.sd2-hint { position: absolute; right: var(--tt-margin-desktop, 48px); bottom: 22px; margin: 0; font-family: var(--sd2-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(251, 241, 231, 0.5); opacity: 0; transition: opacity 600ms; }
.sd2-hero.is-inked .sd2-hint { opacity: 1; }
.sd2-hint__touch { display: none; }
.sd2-hint::before { content: "↖ "; color: var(--sd2-hot); }
@media (hover: none) { .sd2-hint__fine { display: none; } .sd2-hint__touch { display: inline; } }

@keyframes sd2-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sd2-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sd2-blink { 0% { opacity: 1; } 50% { opacity: 0; } }

/* ------------------------------------------------------- strip and ticker */
.sd2-strip { position: relative; background: var(--sd2-hot); color: #fff; overflow: hidden; }
.sd2-strip__bar { display: flex; height: 10px; }
.sd2-strip__bar i { flex: 1; }
.sd2-strip__bar i:nth-child(1) { background: var(--sd2-ink); }
.sd2-strip__bar i:nth-child(2) { background: color-mix(in srgb, var(--sd2-ink) 70%, var(--sd2-newsprint)); }
.sd2-strip__bar i:nth-child(3) { background: color-mix(in srgb, var(--sd2-ink) 40%, var(--sd2-newsprint)); }
.sd2-strip__bar i:nth-child(4) { background: color-mix(in srgb, var(--sd2-ink) 12%, var(--sd2-newsprint)); }
.sd2-strip__bar i:nth-child(5) { background: var(--sd2-newsprint); }
.sd2-strip__bar i:nth-child(6) { background: #c93400; }
.sd2-strip__track { display: flex; width: max-content; padding-block: 18px; animation: sd2-run 46s linear infinite; }
.sd2-strip__run { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.sd2-strip .sd2-colon > span { background: var(--sd2-ink); }
@keyframes sd2-run { to { transform: translateX(-50%); } }

/* --------------------------------------------------------- the statement */
.sd2-say__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
.sd2-say__text { margin: 0; max-width: 23em; font-family: var(--font-deck); font-size: clamp(32px, 4.3vw, 64px); line-height: 1.1; letter-spacing: -0.015em; text-wrap: pretty; }
.sd2-say__text b { font-weight: inherit; }
/* Unread words sit as a halftone of the ink; the reading line prints them solid. */
.sd2-scrub .sd2-w { color: transparent; background: radial-gradient(circle, var(--tt-text) 0.95px, transparent 1.35px) 0 0 / 4px 4px; -webkit-background-clip: text; background-clip: text; transition: color 260ms linear; }
.sd2-scrub .sd2-w.is-lit { color: var(--tt-text); }
.sd2-scrub b .sd2-w.is-lit { color: var(--sd2-hot); }
.sd2-w { white-space: nowrap; }

/* ------------------------------------------------------ the ticket desk */
.sd2-desk { background-color: color-mix(in srgb, var(--tt-text) 4%, var(--tt-bg)); background-image: linear-gradient(var(--sd2-rule) 1px, transparent 1px), linear-gradient(90deg, var(--sd2-rule) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.sd2-desk { --sd2-rule: color-mix(in srgb, var(--tt-text) 7%, transparent); }
.sd2-head__note { display: flex; align-items: center; gap: 16px; margin: var(--tt-space-5) 0 0; font-family: var(--sd2-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tt-text-secondary); }
@media (hover: none) { .sd2-head__note { display: none; } }
.sd2-tidy { padding: 6px 10px; border: 1px solid currentColor; background: none; color: var(--tt-text); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.sd2-tidy:hover, .sd2-tidy:focus-visible { background: var(--tt-text); color: var(--tt-bg); }

.sd2-tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.sd2-ticket { --r: 0deg; --dx: 0px; --dy: 0px; --lift: 0px; position: relative; isolation: isolate; padding: 22px 22px 18px; color: var(--tt-text);
	filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.16)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08));
	translate: var(--dx) calc(var(--dy) - var(--lift)); rotate: var(--r); transition: rotate 380ms var(--sd2-snap), translate 380ms var(--sd2-snap), filter 380ms var(--sd2-snap); }
/* the card itself, perforated down both edges */
.sd2-ticket::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sd2-card);
	-webkit-mask: radial-gradient(circle at 0 7px, transparent 4.5px, #000 5px) left top / 51% 14px repeat-y, radial-gradient(circle at 100% 7px, transparent 4.5px, #000 5px) right top / 51% 14px repeat-y;
	mask: radial-gradient(circle at 0 7px, transparent 4.5px, #000 5px) left top / 51% 14px repeat-y, radial-gradient(circle at 100% 7px, transparent 4.5px, #000 5px) right top / 51% 14px repeat-y; }
.sd2-ticket:nth-child(1) { --r: -2.4deg; margin-top: 18px; }
.sd2-ticket:nth-child(2) { --r: 1.6deg; margin-top: 64px; }
.sd2-ticket:nth-child(3) { --r: -1.2deg; margin-top: 0; }
.sd2-ticket:nth-child(4) { --r: 2.2deg; margin-top: 40px; }
.sd2-ticket:hover, .sd2-ticket.is-held { --lift: 6px; rotate: 0deg; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, 0.22)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08)); }
.sd2-ticket.is-held { z-index: 3; transition: rotate 380ms var(--sd2-snap), filter 380ms; cursor: grabbing; }
.sd2-drag .sd2-ticket { cursor: grab; user-select: none; touch-action: pan-y; }

.sd2-ticket__top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px dashed var(--sd2-rule); font-family: var(--sd2-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tt-text-secondary); }
.sd2-ticket__name { margin: 0 0 12px; font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 2.3vw, 34px); line-height: 1; letter-spacing: -0.03em; }
.sd2-ticket__line { margin: 0 0 18px; font-family: var(--font-text); font-size: 16px; line-height: 24px; color: var(--tt-text-secondary); }
.sd2-ticket__list { list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px solid var(--sd2-rule); font-family: var(--sd2-mono); font-size: 11px; line-height: 15px; letter-spacing: 0.02em; }
.sd2-ticket__list li { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; }
.sd2-ticket__list span { flex: 0 1 auto; }
.sd2-ticket__list i { flex: 1 1 12px; min-width: 12px; border-bottom: 1px dotted color-mix(in srgb, var(--tt-text) 45%, transparent); transform: translateY(-3px); }
.sd2-ticket__list b { flex: none; font-weight: 600; color: var(--sd2-hot); text-transform: uppercase; }
.sd2-ticket__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--sd2-rule); font-family: var(--sd2-mono); font-size: 9px; letter-spacing: 0.08em; color: var(--tt-text-secondary); }
.sd2-code { display: block; width: 96px; height: 26px; fill: currentColor; color: var(--tt-text); }

.sd2-stamp { position: absolute; right: 12px; top: 46%; display: inline-flex; align-items: center; gap: 2px; padding: 6px 10px 6px 12px; border: 2px solid var(--sd2-hot); color: var(--sd2-hot); font-family: var(--sd2-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; rotate: -14deg; opacity: 0; scale: 1.7; pointer-events: none; mix-blend-mode: multiply; transition: opacity 120ms, scale 220ms cubic-bezier(0.3, 1.6, 0.5, 1); }
html[data-theme="dark"] .sd2-stamp { mix-blend-mode: normal; }
.sd2-stamp .sd2-colon { height: 0.7em; }
.sd2-ticket:hover .sd2-stamp, .sd2-ticket.is-held .sd2-stamp, .sd2-ticket.is-stamped .sd2-stamp { opacity: 0.92; scale: 1; }

/* ----------------------------------------------------------- the press run */
.sd2-run { background: var(--sd2-ink); color: var(--sd2-newsprint); --tt-text: var(--sd2-newsprint); --tt-text-secondary: rgba(251, 241, 231, 0.62); }
.sd2-run::before { mix-blend-mode: screen; opacity: 0.18; }
html[data-theme="dark"] .sd2-run { border-block: 1px solid #2a2a2a; }
.sd2-run__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); }
.sd2-run__stage { position: sticky; top: 96px; align-self: start; order: 2; }
.sd2-sheet { width: min(100%, 460px); margin-inline: auto; }
.sd2-sheet svg { display: block; width: 100%; height: auto; overflow: visible; }
.sd2-sheet__paper { fill: var(--sd2-newsprint); filter: drop-shadow(10px 10px 0 var(--sd2-hot)); transition: transform 500ms var(--sd2-snap); }
.sd2-sheet__ink { fill: var(--sd2-ink); }
.sd2-sheet__hot { fill: var(--sd2-hot); }
.sd2-sheet__pen { fill: none; stroke: color-mix(in srgb, var(--sd2-ink) 55%, var(--sd2-newsprint)); stroke-width: 3; stroke-linecap: round; }
.sd2-sheet__thin { fill: none; stroke: var(--sd2-newsprint); stroke-width: 1; opacity: 0.7; }
.sd2-sheet__dash { fill: none; stroke: color-mix(in srgb, var(--sd2-ink) 45%, var(--sd2-newsprint)); stroke-width: 1.5; stroke-dasharray: 5 4; }
.sd2-sheet__ray, .sd2-sheet__arrow { fill: none; stroke: var(--sd2-hot); stroke-width: 4; stroke-linecap: square; }
.sd2-sheet__arrow { stroke: var(--sd2-ink); stroke-width: 3; }
.sd2-sheet__stamp { fill: var(--sd2-hot); }
.sd2-sheet__word { font-family: var(--sd2-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.18em; fill: #fff; dominant-baseline: middle; }
.sd2-sheet__card { fill: #fff; stroke: var(--sd2-ink); stroke-width: 2; }

.sd2-l { transition: opacity 450ms var(--sd2-ease), transform 550ms var(--sd2-snap); transform-box: fill-box; transform-origin: 50% 50%; }
.sd2-js .sd2-l--plan, .sd2-js .sd2-l--make, .sd2-js .sd2-l--launch, .sd2-js .sd2-l--measure { opacity: 0; }
.sd2-js .sd2-l--make { transform: scale(0.96); }
.sd2-js .sd2-l--launch { transform: scale(1.5); }
.sd2-js .sd2-l--measure { transform: translate(0, 16px); }
.sd2-js [data-stage="1"] .sd2-l--listen, .sd2-js [data-stage="2"] .sd2-l--listen, .sd2-js [data-stage="3"] .sd2-l--listen, .sd2-js [data-stage="4"] .sd2-l--listen { opacity: 0; }
.sd2-js [data-stage="1"] .sd2-l--plan, .sd2-js [data-stage="2"] .sd2-l--plan, .sd2-js [data-stage="3"] .sd2-l--plan, .sd2-js [data-stage="4"] .sd2-l--plan,
.sd2-js [data-stage="2"] .sd2-l--make, .sd2-js [data-stage="3"] .sd2-l--make, .sd2-js [data-stage="4"] .sd2-l--make,
.sd2-js [data-stage="3"] .sd2-l--launch, .sd2-js [data-stage="4"] .sd2-l--launch,
.sd2-js [data-stage="4"] .sd2-l--measure { opacity: 1; transform: none; }
.sd2-js .sd2-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0.1); transition: transform 700ms var(--sd2-snap) calc(200ms + var(--k) * 120ms); }
.sd2-js [data-stage="4"] .sd2-bar { transform: none; }
.sd2-l--listen { opacity: 1; }
.tt-sd2:not(.sd2-js) .sd2-l--listen { display: none; }

.sd2-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); width: min(100%, 460px); margin: 34px auto 0; padding-top: 16px; border-top: 1px solid rgba(251, 241, 231, 0.3); font-family: var(--sd2-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(251, 241, 231, 0.5); }
.sd2-rail i { font-style: normal; text-align: center; transition: color 300ms; }
.sd2-rail i:first-of-type { text-align: left; }
.sd2-rail i:last-of-type { text-align: right; }
.sd2-rail__dot { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--sd2-hot); transition: left 500ms var(--sd2-snap); }
.sd2-run__stage[data-stage="1"] .sd2-rail__dot { left: calc(25% - 5px); }
.sd2-run__stage[data-stage="2"] .sd2-rail__dot { left: calc(50% - 5px); }
.sd2-run__stage[data-stage="3"] .sd2-rail__dot { left: calc(75% - 5px); }
.sd2-run__stage[data-stage="4"] .sd2-rail__dot { left: calc(100% - 11px); }
.sd2-run__stage[data-stage="0"] .sd2-rail i:nth-of-type(1), .sd2-run__stage[data-stage="1"] .sd2-rail i:nth-of-type(2), .sd2-run__stage[data-stage="2"] .sd2-rail i:nth-of-type(3), .sd2-run__stage[data-stage="3"] .sd2-rail i:nth-of-type(4), .sd2-run__stage[data-stage="4"] .sd2-rail i:nth-of-type(5) { color: var(--sd2-newsprint); }
.tt-sd2:not(.sd2-js) .sd2-rail__dot { left: calc(100% - 11px); }

.sd2-steps { list-style: none; margin: 0; padding: 0; order: 1; }
.sd2-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; align-content: center; min-height: 54vh; padding-block: 32px; border-top: 1px solid rgba(251, 241, 231, 0.16); opacity: 1; transition: opacity 400ms; }
.sd2-step:last-child { min-height: 40vh; }
.sd2-js .sd2-step { opacity: 0.32; }
.sd2-js .sd2-step.is-on { opacity: 1; }
.sd2-step__n { grid-row: span 2; font-family: var(--sd2-dot); font-size: 44px; line-height: 0.9; font-weight: 800; color: var(--sd2-hot); }
.sd2-step__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.035em; }
.sd2-step__line { margin: 0; max-width: 26em; font-family: var(--font-text); font-size: 19px; line-height: 30px; color: var(--tt-text-secondary); }

/* -------------------------------------------------- press counter and why */
.sd2-counter { margin-bottom: clamp(64px, 8vw, 112px); padding: clamp(18px, 2.4vw, 28px); background: var(--sd2-ink); color: var(--sd2-newsprint); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 12px 12px 0 var(--sd2-hot); }
.sd2-counter__cap { display: flex; justify-content: space-between; margin: 0 0 16px; font-family: var(--sd2-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(251, 241, 231, 0.5); }
.sd2-counter__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1fr)); gap: 2px; margin: 0; background: rgba(251, 241, 231, 0.1); }
.sd2-count { display: flex; flex-direction: column; padding: 18px 18px 16px; background: #141210 radial-gradient(circle, rgba(255, 66, 0, 0.13) 1px, transparent 1.4px) 0 0 / 6px 6px; }
.sd2-count__label { margin: 0 0 14px; font-family: var(--sd2-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(251, 241, 231, 0.6); }
.sd2-count__fig { margin: 0 0 12px; font-family: var(--sd2-dot); font-size: clamp(44px, 5.6vw, 92px); line-height: 1; font-weight: 900; color: var(--sd2-hot); text-shadow: 0 0 22px rgba(255, 66, 0, 0.45); }
.sd2-count__line { margin: auto 0 0; font-family: var(--font-ui); font-size: 16px; line-height: 22px; color: rgba(251, 241, 231, 0.72); }

.sd2-odo { display: inline-flex; align-items: flex-start; white-space: nowrap; }
.sd2-odo__col { display: inline-block; height: 1em; overflow: hidden; }
.sd2-odo__col > span { display: block; transform: translateY(calc(-1em * (10 + var(--d)))); }
.sd2-odo__col i { display: block; height: 1em; font-style: normal; line-height: 1; text-align: center; }
.sd2-js .sd2-odo__col > span { transform: translateY(0); transition: transform 2s cubic-bezier(0.25, 1, 0.3, 1) calc(var(--j) * 90ms); }
.sd2-js .sd2-counter.is-in .sd2-odo__col > span, .sd2-all .sd2-odo__col > span { transform: translateY(calc(-1em * (10 + var(--d)))); }
.sd2-odo__sep { display: inline-block; }

.sd2-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.sd2-why__item h3 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.03em; }
.sd2-why__item p { margin: 0; font-family: var(--font-text); font-size: 18px; line-height: 29px; color: var(--tt-text-secondary); }
.sd2-proof { position: relative; display: inline-block; white-space: nowrap; }
.sd2-proof svg { position: absolute; left: -10%; top: -26%; width: 120%; max-width: none; height: 152%; overflow: visible; pointer-events: none; }
.sd2-proof path { fill: none; stroke: var(--sd2-hot); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.sd2-proof--under svg { top: 10%; }
.sd2-proof--box svg { left: -8%; width: 116%; top: -18%; height: 136%; }
.sd2-js .sd2-proof path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--sd2-ease) calc(400ms + var(--i, 0) * 200ms); }
.sd2-js .is-in .sd2-proof path, .sd2-all .sd2-proof path { stroke-dashoffset: 0; }

/* -------------------------------------------------------------------- faq */
.sd2-faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); }
.sd2-faq__list { border-top: 2px solid var(--tt-text); }
.sd2-q { border-bottom: 1px solid var(--sd2-rule); }
.sd2-q summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.sd2-q summary::-webkit-details-marker { display: none; }
.sd2-q summary b { font-family: var(--sd2-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--tt-text-secondary); }
.sd2-q summary:hover span, .sd2-q summary:focus-visible span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--sd2-hot); }
.sd2-q summary:focus-visible { outline: 3px solid var(--sd2-hot); outline-offset: 4px; }
.sd2-q__colon { justify-self: center; width: 7px; height: 22px; transition: rotate 300ms var(--sd2-snap); }
.sd2-q__colon > span { width: 7px; }
.sd2-q[open] .sd2-q__colon { rotate: 90deg; }
.sd2-q p { margin: 0; padding: 0 36px 28px 60px; max-width: 40em; font-family: var(--font-text); font-size: 18px; line-height: 29px; color: var(--tt-text-secondary); }

/* -------------------------------------------------------------------- end */
.sd2-end { position: relative; overflow: hidden; padding-block: clamp(88px, 11vw, 168px); background: var(--sd2-hot); color: var(--sd2-ink); }
.sd2-end::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(12, 11, 10, 0.2) 1.3px, transparent 1.8px) 0 0 / 11px 11px; -webkit-mask: linear-gradient(115deg, transparent 30%, #000 100%); mask: linear-gradient(115deg, transparent 30%, #000 100%); pointer-events: none; }
.sd2-end__in { position: relative; }
.sd2-end__title { margin: 0 0 clamp(40px, 5vw, 72px); font-family: var(--font-display); font-weight: 900; font-size: clamp(52px, 10vw, 156px); line-height: 0.9; letter-spacing: -0.05em; }
.sd2-colon--end { width: 0.17em; height: 0.64em; vertical-align: 0.47em; }
.sd2-colon--end > span { width: 0.17em; background: #fff; }
.sd2-colon--end > span { animation: sd2-blink var(--tt-blink, 2s) steps(1, end) infinite; }

.sd2-pass { display: flex; max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); background: var(--sd2-newsprint); color: var(--sd2-ink); rotate: -1.5deg; box-shadow: 14px 14px 0 var(--sd2-ink); transition: rotate 400ms var(--sd2-snap); }
.sd2-pass:hover { rotate: 0deg; }
.sd2-pass__stub { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; border-right: 2px dashed rgba(12, 11, 10, 0.4); background: var(--sd2-ink); color: var(--sd2-newsprint); }
.sd2-pass__stub span { writing-mode: vertical-rl; rotate: 180deg; font-family: var(--sd2-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.sd2-pass__main { flex: 1; min-width: 0; padding: clamp(20px, 3vw, 32px); }
.sd2-pass__k { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px dashed rgba(12, 11, 10, 0.3); font-family: var(--sd2-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(12, 11, 10, 0.66); }
.sd2-pass__line { margin: 0 0 14px; font-family: var(--font-text); font-size: 18px; line-height: 28px; }
.sd2-pass__mail { display: inline-block; margin-bottom: 20px; font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.03em; color: var(--sd2-ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-color: var(--sd2-hot); }
.sd2-pass__mail:hover, .sd2-pass__mail:focus-visible { color: var(--sd2-hot); }
.sd2-pass__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sd2-pass__foot .sd2-code { width: 128px; color: var(--sd2-ink); margin-left: auto; }
.sd2-copy { padding: 8px 12px; border: 1px solid var(--sd2-ink); background: none; color: var(--sd2-ink); font-family: var(--sd2-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.sd2-copy:hover, .sd2-copy:focus-visible { background: var(--sd2-ink); color: var(--sd2-newsprint); }

/* -------------------------------------------------------------- reveals */
.sd2-js [data-sd2-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--sd2-ease), transform 800ms var(--sd2-ease); transition-delay: calc(var(--i, 0) * 110ms); }
.sd2-js [data-sd2-reveal].is-in, .sd2-all [data-sd2-reveal] { opacity: 1; transform: none; }
.sd2-js .sd2-ticket[data-sd2-reveal] { transform: translateY(60px) rotate(calc(var(--r) * 3)); transition: opacity 600ms var(--sd2-ease) calc(var(--i) * 120ms), transform 900ms var(--sd2-snap) calc(var(--i) * 120ms), rotate 380ms var(--sd2-snap), translate 380ms var(--sd2-snap), filter 380ms var(--sd2-snap); }
.sd2-js .sd2-ticket[data-sd2-reveal].is-in, .sd2-all .sd2-ticket[data-sd2-reveal] { transform: none; }
.sd2-js .sd2-pass[data-sd2-reveal] { transform: translateY(40px) rotate(-6deg); }
.sd2-js .sd2-pass[data-sd2-reveal].is-in { transform: none; }

/* --------------------------------------------------------------- tablets */
@media (max-width: 1023px) {
	.sd2-hero__foot { grid-template-columns: 1fr; align-items: start; }
	.sd2-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd2-ticket:nth-child(n) { margin-top: 0; }
	.sd2-ticket:nth-child(even) { margin-top: 36px; }
	.sd2-run__grid { grid-template-columns: 1fr; gap: 0; }
	.sd2-run__stage { order: 0; top: 64px; z-index: 2; padding: 12px 0 14px; background: var(--sd2-ink); box-shadow: 0 1px 0 rgba(251, 241, 231, 0.12); }
	.sd2-sheet { width: auto; height: clamp(170px, 30vh, 260px); }
	.sd2-sheet svg { width: auto; height: 100%; margin-inline: auto; }
	.sd2-rail { margin-top: 18px; }
	.sd2-step { min-height: 44vh; }
	.sd2-counter__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sd2-count:first-child { grid-column: 1 / -1; }
	.sd2-why__list { grid-template-columns: 1fr; max-width: 40em; }
	.sd2-faq__in { grid-template-columns: 1fr; }
	.sd2-say__in { grid-template-columns: 1fr; gap: 0; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 599px) {
	.sd2-crops { inset: 10px; }
	.sd2-crops i { width: 14px; height: 14px; }
	.sd2-spec { font-size: 10px; margin-bottom: 40px; }
	.sd2-spec__mid { display: none; }
	.sd2-mark { margin-bottom: 40px; }
	.sd2-hero__deck { font-size: 34px; }
	.sd2-hero__body { font-size: 17px; line-height: 27px; }
	.sd2-hint { right: 20px; bottom: 14px; }
	.sd2-actions .sd2-btn { flex: 1 1 100%; }
	.sd2-tickets { grid-template-columns: 1fr; gap: 22px; }
	.sd2-ticket:nth-child(even) { margin-top: 0; }
	.sd2-ticket:nth-child(odd) { --r: -1.4deg; }
	.sd2-ticket:nth-child(even) { --r: 1.2deg; }
	.sd2-step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; min-height: 46vh; }
	.sd2-step__n { font-size: 32px; }
	.sd2-step__line { font-size: 17px; line-height: 27px; }
	.sd2-counter { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 8px 8px 0 var(--sd2-hot); margin-right: 8px; }
	.sd2-count { padding: 14px 10px 12px; }
	.sd2-count__fig { font-size: 40px; }
	.sd2-count:first-child .sd2-count__fig { font-size: 48px; }
	.sd2-count__line { font-size: 14px; line-height: 19px; }
	.sd2-count__label { font-size: 9px; }
	.sd2-q summary { grid-template-columns: 34px minmax(0, 1fr) 20px; }
	.sd2-q p { padding: 0 0 24px 46px; font-size: 17px; line-height: 27px; }
	.sd2-pass { rotate: -1deg; box-shadow: 8px 8px 0 var(--sd2-ink); margin-right: 8px; }
	.sd2-pass__stub { width: 40px; }
	.sd2-pass__stub span { font-size: 10px; }
	.sd2-pass__k { flex-direction: column; gap: 2px; }
	.sd2-pass__foot { flex-wrap: wrap; }
	.sd2-pass__foot .sd2-code { display: none; }
}

/* ----------------------------------------------------------- still motion */
@media (prefers-reduced-motion: reduce) {
	.sd2-strip__track { animation: none; }
	.sd2-spec__open i, .sd2-colon--end > span { animation: none; }
	.sd2-ticket, .sd2-pass, .sd2-btn { transition: none; }
	.sd2-ticket:hover, .sd2-pass:hover { rotate: var(--r); }
}
