/**
 * Advertise with Noms: main page + six category pages (D14 system).
 *
 * Loaded only on page-templates/template-advertise.php. Every rule is scoped
 * under .nad so nothing leaks into Zeen, and Zeen's typography is reset inside it.
 * Design of record: Paper "Motivated yonder (copy)", page "D14 · Site Templates",
 * boards "CRO pass ·" (copy) and "D15 · Advertise · Clean slate" (layout).
 *
 * Deploy note: clear WP Rocket "Used CSS" after uploading.
 */

.nad {
	--ink: #161616;
	--ground: #FFFFFF; /* white, not cream (Jason: no cream backgrounds on any page) */
	--paper: #FFFFFF;
	--yellow: #FFC400;
	--yellow-soft: #FFF4CC;
	--red: #FA5745;
	--teal: #2D7D8C;
	/* brand tokens: The Org/Guidelines/brand-style-sheet.md (local aliases) */
	--body: #161616;
	--muted: #4A4740;
	--line: #CFC9BC;
	--night-line: #3A352D;
	--night-track: #2A2620;
	--sand: #E8DEC9;
	--khaki: #8A7F6E;
	--on-dark: #CFC9BC;
	--display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--gutter: clamp(16px, 4.4vw, 64px);
	--max: 1344px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	background: var(--ground);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}

/* No Zeen sheets on this page since the D14 chrome (Oct 25): the body reset they gave comes from here. */
body.noms-advertise { margin: 0; background: #fff; }

/* ---- Reset Zeen inside the page ---- */
.nad *, .nad *::before, .nad *::after { box-sizing: border-box; }
/* element-level specificity: beats Zeen's bare element rules (loaded earlier), loses to every .nad-* class */
:where(.nad) :is(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; padding: 0; }
:where(.nad) :is(h1, h2, h3, h4) { font-family: var(--display); color: inherit; text-transform: none; letter-spacing: normal; }
.nad-h2, .nad-row__t, .nad-case__h, .nad-hero h1, .nad-close h2, .nad-aud__head h2, .nad-others h2 { font-family: var(--display); }
.nad ul.nad-list, .nad ol.nad-list { list-style: none; margin: 0; padding: 0; }
.nad a { color: inherit; text-decoration: none; }
.nad img { display: block; max-width: 100%; height: auto; }
.nad :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.nad-dark :focus-visible, .nad .is-dark :focus-visible { outline-color: var(--yellow); }
.nad-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nad-wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Shared type ---- */
.nad-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 16px; text-transform: uppercase;
}
.nad-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.nad-kicker--red::before { background: var(--red); }
.nad-kicker--yellow::before { background: var(--yellow); }
.nad-kicker--teal::before { background: var(--teal); }
.nad-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 14px; text-transform: uppercase; color: var(--muted); }
.nad-h2 { font-weight: 900; font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.nad-serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---- Buttons ---- */
.nad-btn {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 52px; padding: 15px 26px; border-radius: 999px;
	background: var(--ink); color: var(--ground) !important;
	font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 20px;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
	will-change: transform;
}
.nad-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(22, 22, 22, .55); }
.nad-btn:active { transform: translateY(0); }
.nad-btn .nad-arrow { transition: transform .18s var(--ease); }
.nad-btn:hover .nad-arrow { transform: translate(2px, -2px); }
.nad-btn--yellow { background: var(--yellow); color: var(--ink) !important; }
.nad-btn--yellow:hover { box-shadow: 0 12px 30px -8px rgba(255, 196, 0, .6); }
.nad-btn--lg { min-height: 60px; padding: 18px 32px; font-size: 18px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.nad-hero { background: var(--yellow); position: relative; isolation: isolate; overflow: clip; }
.nad-hero::after {
	/* halftone paper grain, pure CSS */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22;
	background-image: radial-gradient(rgba(22, 22, 22, .18) 1px, transparent 1.2px);
	background-size: 7px 7px;
	mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
	-webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
}
.nad-hero .nad-wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 112px); }
.nad-hero__copy { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 2; }
.nad-hero h1 { font-weight: 900; font-size: clamp(46px, 7.4vw, 118px); letter-spacing: -.04em; word-spacing: .12em; line-height: .92; text-wrap: balance; }
.nad-hero--cat h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: .98; letter-spacing: -.045em; }
.nad-hero__sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); max-width: 36ch; }
.nad-hero--cat .nad-hero__sub { max-width: 46ch; }
.nad-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 4px; }

/* delivered box (category pages) */
.nad-delivered {
	background: rgba(255, 255, 255, .42); border: 1.5px solid var(--ink); border-radius: 14px;
	padding: 16px 20px; max-width: 560px; display: flex; flex-direction: column; gap: 6px;
}
.nad-delivered .nad-label { color: var(--ink); }
.nad-delivered p:not(.nad-label) { font-size: 16px; line-height: 1.5; }
.nad-delivered strong { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; }

/* polaroid fan */
.nad-fan { position: relative; height: clamp(360px, 38vw, 540px); perspective: 1200px; }
.nad-polaroid {
	position: absolute; background: var(--paper); padding: 10px 10px 40px; border-radius: 4px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 18px 40px -14px rgba(40, 28, 0, .45);
	transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(var(--r, 0deg));
	transition: transform .5s var(--ease);
}
.nad-polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; background: var(--sand); }
.nad-polaroid figcaption { position: absolute; left: 12px; right: 12px; bottom: 8px; font-size: 11px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nad-fan .nad-polaroid:nth-child(1) { width: 44%; left: 0; top: 12%; --r: -8deg; z-index: 1; }
.nad-fan .nad-polaroid:nth-child(2) { width: 44%; left: 22%; top: 0; --r: 3deg; z-index: 3; }
.nad-fan .nad-polaroid:nth-child(3) { width: 42%; right: 0; top: 16%; --r: 9deg; z-index: 2; }
.nad-fan .nad-polaroid:nth-child(4) { width: 36%; left: 40%; bottom: -2%; --r: -4deg; z-index: 4; }
.nad-fan:hover .nad-polaroid:nth-child(1) { --tx: -14px; --r: -11deg; }
.nad-fan:hover .nad-polaroid:nth-child(3) { --tx: 14px; --r: 12deg; }
.nad-fan:hover .nad-polaroid:nth-child(4) { --ty: 10px; --r: -6deg; }
.nad-sticker {
	position: absolute; z-index: 5; left: 2%; bottom: 10%;
	background: var(--red); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px);
	padding: 8px 16px 9px; border-radius: 999px; transform: rotate(-7deg);
	box-shadow: 0 14px 30px #1C181433;
}

/* hero load choreography */
@media (prefers-reduced-motion: no-preference) {
	.nad-hero__copy > * { animation: nad-rise .8s var(--ease) both; }
	.nad-hero__copy > h1 { animation: none; } /* the H1 is the LCP: paint it at once */
	.nad-hero__copy > *:nth-child(2) { animation-delay: .06s; }
	.nad-hero__copy > *:nth-child(3) { animation-delay: .14s; }
	.nad-hero__copy > *:nth-child(4) { animation-delay: .2s; }
	.nad-hero__copy > *:nth-child(5) { animation-delay: .26s; }
	.nad-fan .nad-polaroid { animation: nad-deal .9s var(--ease) both; }
	.nad-fan .nad-polaroid:nth-child(1) { animation-delay: .15s; }
	.nad-fan .nad-polaroid:nth-child(2) { animation-delay: .25s; }
	.nad-fan .nad-polaroid:nth-child(3) { animation-delay: .35s; }
	.nad-fan .nad-polaroid:nth-child(4) { animation-delay: .45s; }
	.nad-sticker { animation: nad-pop .5s .8s cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes nad-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes nad-deal { from { opacity: 0; translate: 0 40px; rotate: 0deg; } }
@keyframes nad-pop { from { opacity: 0; transform: rotate(-7deg) scale(.6); } }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.nad-trust { border-bottom: 1px solid var(--line); padding-block: 26px 28px; }
.nad-trust .nad-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.nad-trust__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); flex-shrink: 0; }
.nad-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; }
.nad-logos img { height: var(--h, 38px); width: auto; max-width: 140px; object-fit: contain; transition: transform .25s var(--ease); }
.nad-logos li:hover img { transform: translateY(-2px); }
.nad-names { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--display); font-weight: 800; font-size: 17px; }
.nad-names li:not(:last-child)::after { content: "·"; color: var(--khaki); font-family: var(--sans); font-weight: 400; margin-left: 14px; }

/* ==========================================================================
   CHOOSER ("Which one are you?") - departure board rows
   ========================================================================== */
.nad-choose { background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
.nad-choose__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.nad-rows { border-top: 1px solid var(--night-line); }
.nad-row {
	position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 52px; align-items: center; gap: 24px;
	padding: 18px 20px; border-bottom: 1px solid var(--night-line); border-radius: 14px;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nad-row__n { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.nad-row__t { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.045em; line-height: 1.02; }
.nad-row__s { margin-top: 6px; font-size: 15px; color: var(--on-dark); transition: color .25s; }
.nad-row__img { width: 150px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--night-track); transform: rotate(0); transition: transform .35s var(--ease); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
.nad-row__img img { width: 100%; height: 100%; object-fit: cover; }
.nad-row__go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-size: 18px; transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease); }
/* whole-row hit area via the title link */
.nad-row a.nad-row__link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.nad-row:hover, .nad-row:focus-within { background: var(--yellow); color: var(--ink); }
.nad-row:hover .nad-row__n, .nad-row:focus-within .nad-row__n { color: var(--ink); }
.nad-row:hover .nad-row__s, .nad-row:focus-within .nad-row__s { color: var(--ink); }
.nad-row:hover .nad-row__img, .nad-row:focus-within .nad-row__img { transform: rotate(-4deg) scale(1.12); }
.nad-row:hover .nad-row__go, .nad-row:focus-within .nad-row__go { background: var(--ink); border-color: var(--ink); color: var(--yellow); transform: rotate(45deg); }
.nad-row a.nad-row__link:focus-visible { outline: none; }

/* ==========================================================================
   PARTNER STORIES (the 'daily' block: partner stories, as they ran)
   Standard D14 cards; the old newspaper frame was dropped 2026-09-27.
   ========================================================================== */
.nad-daily-sec { padding-block: clamp(64px, 8vw, 120px) clamp(40px, 5vw, 72px); background: var(--ground); }
.nad-daily-sec__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.nad-daily-sec__head p { max-width: 38ch; color: var(--body); }
.nad-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nad-story {
	display: flex; flex-direction: column; position: relative; overflow: hidden;
	background: #FFFFFF; border: 1px solid var(--sand); border-radius: 16px;
	box-shadow: 0 8px 20px #0000000D;
}
.nad-story__shot { overflow: hidden; background: var(--sand); }
.nad-story__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.nad-story:hover .nad-story__shot img { transform: scale(1.035); }
.nad-story__cat {
	display: flex; align-items: center; gap: 8px; margin: 18px 20px 0;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.nad-story__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.nad .nad-story__h {
	margin: 10px 20px 22px; font-family: var(--display); font-weight: 900; font-size: clamp(20px, 1.8vw, 24px);
	line-height: 1.12; letter-spacing: -.03em; word-spacing: .1em; text-wrap: balance;
}
.nad-story__h a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.nad-story__h a { background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 0 .32em no-repeat; transition: background-size .35s var(--ease); }
.nad-story:hover .nad-story__h a, .nad-story__h a:focus-visible { background-size: 100% .32em; }

/* ==========================================================================
   PROOF NUMBERS ("What people actually did.")
   ========================================================================== */
.nad-proofnums { padding-block: clamp(48px, 6vw, 96px) clamp(32px, 4vw, 56px); }
.nad .nad-proofnums__intro { font-family: var(--display); font-weight: 900; letter-spacing: -.03em; word-spacing: .1em; font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 20px; }
.nad-big { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px clamp(20px, 3vw, 44px); padding-block: clamp(16px, 2vw, 28px); border-top: 1.5px solid var(--ink); }
.nad-big:last-child { border-bottom: 1.5px solid var(--ink); }
.nad-big__n { font-family: var(--display); font-weight: 900; font-size: clamp(76px, 12.5vw, 184px); letter-spacing: -.06em; line-height: .86; font-variant-numeric: tabular-nums; padding-bottom: .04em; padding-inline-end: .05em; }
.nad-big__l { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; max-width: 30ch; }
.nad-big__l a { font-weight: 700; border-bottom: 1.5px solid currentColor; }
.nad-big--flip { grid-template-columns: minmax(0, 1fr) auto; }
.nad-big--flip .nad-big__l { text-align: right; justify-self: end; order: -1; }
.nad-big--hl .nad-big__n { justify-self: start; background: var(--yellow); padding: .02em .12em .08em; border-radius: 14px; }

/* ==========================================================================
   CASE FILES (category pages)
   ========================================================================== */
.nad-cases { padding-block: clamp(56px, 7vw, 104px) clamp(24px, 3vw, 40px); }
.nad-case { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nad-case + .nad-case { margin-top: clamp(64px, 8vw, 112px); }
.nad-case--flip .nad-case__copy { order: 2; }
.nad-case__copy { display: flex; flex-direction: column; gap: 24px; }
.nad-case__h { font-weight: 900; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.nad-case__part { display: flex; flex-direction: column; gap: 8px; }
.nad-case__part p:not(.nad-label) { font-size: 18px; line-height: 1.6; }
.nad-got { display: flex; flex-direction: column; gap: 6px; }
.nad-got li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.nad-got li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); flex-shrink: 0; transform: translateY(-2px); }
.nad-case__media { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 150px; padding-right: 8px; }
.nad-browser { display: block; max-width: 100%; border-radius: 16px; overflow: hidden; background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 24px 54px #1C18141F; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.nad-browser:hover { transform: translate(-3px, -3px); }
.nad-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); background: var(--yellow-soft); font-size: 12px; color: var(--body); }
.nad-browser__bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; }
.nad-browser__bar span { min-width: 0; margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nad-browser img { width: 100%; aspect-ratio: 584 / 400; object-fit: cover; object-position: 50% 0; }
.nad-case__cap { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nad-stats { display: flex; flex-wrap: wrap; gap: 16px 40px; padding-top: 4px; }
.nad-stat b { display: inline-block; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.nad-stat:first-child b { box-shadow: inset 0 -.28em 0 var(--yellow); }
.nad-stat span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   AUDIENCE BAND
   ========================================================================== */
.nad-aud-sec { padding-block: clamp(40px, 5vw, 72px); }
.nad-aud { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 56px); display: grid; gap: 40px; }
.nad-aud__head { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.nad-aud__head h2 { font-weight: 900; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.035em; line-height: 1.08; margin-top: 14px; max-width: 18ch; }
.nad-aud__tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--khaki); text-transform: uppercase; white-space: nowrap; }
.nad-aud__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.nad-aud__sub { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--night-line); padding-bottom: 14px; margin-bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nad-aud__sub small { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--khaki); }
.nad-bars { display: grid; gap: 14px; }
.nad-bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 48px; align-items: center; gap: 16px; font-size: 15px; }
.nad-bar span:first-child { color: var(--sand); font-weight: 500; }
.nad-bar b { text-align: right; }
.nad-track { display: block; height: 16px; background: var(--night-track); border-radius: 4px; overflow: hidden; }
.nad-track i { display: block; height: 100%; width: var(--v); background: var(--yellow); border-radius: 0 4px 4px 0; transform-origin: left; }
.nad-pct { display: flex; align-items: baseline; gap: 12px; }
.nad-pct b { font-family: var(--display); font-weight: 900; color: var(--yellow); font-size: clamp(40px, 4vw, 54px); letter-spacing: -.045em; line-height: 1; }
.nad-pct span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nad-age { display: grid; grid-template-columns: 41.3fr 34.9fr 23.8fr; gap: 2px; margin-top: 16px; }
.nad-age i { height: 16px; background: var(--yellow); }
.nad-age i:first-child { border-radius: 4px 0 0 4px; }
.nad-age i:nth-of-type(3) { background: var(--night-track); border-radius: 0 4px 4px 0; }
.nad-age small { font-size: 13px; color: var(--sand); padding-top: 8px; }
.nad-age small:last-of-type { color: var(--khaki); }
.nad-aud__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); border-top: 1px solid var(--night-line); padding-top: 32px; }
.nad-aud__pair .nad-track { height: 12px; margin-top: 12px; }
.nad-aud__pair .nad-pct b { font-size: clamp(34px, 3vw, 42px); }
.nad-chan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--night-line); padding-top: 32px; }
.nad-chan b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.nad-chan span { display: block; margin-top: 6px; font-size: 14px; color: var(--khaki); line-height: 1.4; }
.nad-aud__note { font-size: 13.5px; line-height: 1.55; color: var(--on-dark); max-width: 110ch; }

/* ==========================================================================
   QUOTE
   ========================================================================== */
.nad-quote { background: var(--ground); color: var(--ink); padding-block: clamp(56px, 6vw, 96px); position: relative; overflow: clip; }
.nad-quote .nad-wrap { position: relative; }
.nad-quote__mark { font-family: var(--serif); font-size: clamp(90px, 10vw, 150px); line-height: .6; color: var(--yellow); display: block; height: .5em; }
.nad-quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.22; letter-spacing: -.01em; max-width: 30ch; text-wrap: pretty; }
.nad-quote figcaption { margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--khaki); }
.nad-quote__second { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--night-line); max-width: 60ch; }
.nad-quote__second p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; color: var(--body); }

/* ==========================================================================
   OTHER CATEGORIES (category pages)
   ========================================================================== */
.nad-others { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px); }
.nad-others h2 { font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; margin-bottom: 20px; }
.nad-others__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.nad-chip { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 124px; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); transition: background-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.nad-chip b { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: -.03em; line-height: 1.1; }
.nad-chip span { font-size: 18px; align-self: end; transition: transform .2s var(--ease); }
.nad-chip:hover { background: var(--yellow); transform: translateY(-3px); box-shadow: 0 4px 0 var(--ink); }
.nad-chip:hover span { transform: translate(2px, -2px); }

/* ==========================================================================
   CLOSING
   ========================================================================== */
.nad-close { background: var(--yellow); position: relative; overflow: clip; }
.nad-close .nad-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.nad-close h2 { font-weight: 900; font-size: clamp(42px, 7vw, 108px); letter-spacing: -.04em; word-spacing: .12em; line-height: .94; max-width: 13ch; text-wrap: balance; margin-bottom: 32px; }
.nad-close__mascot { align-self: center; width: clamp(150px, 20vw, 300px); transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
	.nad-close__mascot.is-in { animation: nad-wave 1.4s var(--ease) both; }
}
@keyframes nad-wave { 0% { transform: translateY(40px) rotate(0); opacity: 0; } 45% { transform: translateY(0) rotate(-6deg); opacity: 1; } 70% { transform: rotate(4deg); } 100% { transform: rotate(0); } }

/* ---- Sticky mobile CTA ---- */
.nad-dock {
	position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
	transform: translateY(160%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
}
.nad-dock .nad-btn { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); }

/* ==========================================================================
   SCROLL REVEAL (progressive: content is visible without JS)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.nad.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.nad.js [data-reveal].is-in { opacity: 1; transform: none; }
	.nad.js .nad-track i { transform: scaleX(0); transition: transform 1.1s var(--ease); }
	.nad.js .is-in .nad-track i, .nad.js .nad-track.is-in i { transform: scaleX(1); }
	.nad.js .nad-row { opacity: 0; transform: translateX(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
	.nad.js .nad-rows.is-in .nad-row { opacity: 1; transform: none; }
	.nad.js .nad-rows.is-in .nad-row:nth-child(2) { transition-delay: .06s, .06s, 0s, 0s; }
	.nad.js .nad-rows.is-in .nad-row:nth-child(3) { transition-delay: .12s, .12s, 0s, 0s; }
	.nad.js .nad-rows.is-in .nad-row:nth-child(4) { transition-delay: .18s, .18s, 0s, 0s; }
	.nad.js .nad-rows.is-in .nad-row:nth-child(5) { transition-delay: .24s, .24s, 0s, 0s; }
	.nad.js .nad-rows.is-in .nad-row:nth-child(6) { transition-delay: .3s, .3s, 0s, 0s; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
	.nad-others__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nad-chan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nad-hero .nad-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.nad-fan { height: 94vw; max-height: 520px; }
	.nad-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.nad-case, .nad-case--flip { grid-template-columns: minmax(0, 1fr); }
	.nad-case--flip .nad-case__copy { order: 0; }
	.nad-case__media { position: relative; top: auto; }
	.nad-aud__grid, .nad-aud__pair { grid-template-columns: 1fr; }
	.nad-choose__head, .nad-daily-sec__head, .nad-aud__head { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
	.nad { font-size: 16px; }
	.nad-row { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 14px; padding: 16px 8px; }
	.nad-row__img { display: none; }
	.nad-row__go { width: 40px; height: 40px; }
	.nad-row__s { font-size: 14px; }
	.nad-big, .nad-big--flip { grid-template-columns: 1fr; gap: 6px; }
	.nad-big--flip .nad-big__l { text-align: left; justify-self: start; order: 0; }
	/* partner stories swipe sideways on phones */
	.nad-stories { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: thin; }
	.nad-story { flex: 0 0 80%; scroll-snap-align: start; }
	.nad-chan { grid-template-columns: 1fr 1fr; gap: 20px; }
	.nad-bar { grid-template-columns: 82px minmax(0, 1fr) 40px; gap: 10px; font-size: 14px; }
	.nad-others__grid { grid-template-columns: 1fr 1fr; }
	.nad-chip { min-height: 104px; }
	.nad-close .nad-wrap { grid-template-columns: 1fr; }
	.nad-close__mascot { justify-self: end; margin-top: -40px; }
	.nad-case__media { gap: 12px; }
	.nad-stats { gap: 14px 28px; }
	.nad-dock { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
	.nad-dock .nad-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Revision round 1 (designer / CRO / copy panel)
   ========================================================================== */
/* word gaps collapse at Outfit 900 with tight tracking */
.nad-h2, .nad-row__t, .nad-case__h, .nad-aud__head h2 { word-spacing: .1em; }
/* quote now sits on the light ground */
.nad-quote figcaption { color: var(--muted); }
/* delivered line reads as proof, not an alert */
.nad-delivered { background: none; border: 0; border-left: 3px solid var(--ink); border-radius: 0; padding: 2px 0 2px 18px; }
/* "Not quite you?" as compact rows */
.nad-chip { min-height: 0; flex-direction: row; align-items: center; padding: 18px 20px; }
@media (max-width: 640px) {
	.nad-others__grid { grid-template-columns: 1fr; gap: 8px; }
	.nad-chip { min-height: 0; }
	.nad-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.nad-stat b { font-size: clamp(24px, 7.4vw, 34px); }
}

/* kicker sits inside the main H1 so the heading says "Advertise with Noms Magazine" */
.nad-hero h1 .nad-kicker { display: flex; margin-bottom: 26px; font-family: var(--sans); letter-spacing: .14em; word-spacing: normal; }
/* category kicker: link back to the main advertise page */
.nad-crumb { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.nad-crumb:hover { text-decoration-thickness: 3px; }
/* category hero fan: two or three cards */
.nad-fan--cat { height: clamp(340px, 34vw, 480px); }
.nad-fan--cat .nad-polaroid:nth-child(1) { width: 50%; left: 2%; top: 12%; --r: -6deg; z-index: 2; }
.nad-fan--cat .nad-polaroid:nth-child(2) { width: 50%; left: auto; right: 2%; top: 0; --r: 5deg; z-index: 1; }
.nad-fan--cat .nad-polaroid:nth-child(3) { width: 40%; left: 30%; top: auto; bottom: -4%; --r: -2deg; z-index: 3; }
.nad-fan--cat .nad-polaroid img { aspect-ratio: 5 / 4; }
@media (prefers-reduced-motion: reduce) { .nad-dock { transition: none; } }
@media (max-width: 900px) {
	.nad-fan--cat { height: 78vw; max-height: 440px; }
}

/* ==========================================================================
   Revision round 2 (designer / PM / copy / a11y panel)
   ========================================================================== */
/* kicker children flow as one line (flex split the breadcrumb into columns) */
.nad-hero .nad-kicker { display: block; }
.nad-hero .nad-kicker::before { display: inline-block; margin-right: 10px; vertical-align: 1px; }
.nad-crumb { white-space: nowrap; }
/* optical logo sizes: compact marks up, wide wordmarks down */
.nad-logos img[alt="BC Dairy"], .nad-logos img[alt="Crave the Heights"] { --h: 46px; }
.nad-logos img[alt="Metro Vancouver Croissant Crawl"] { --h: 54px; }
.nad-logos img[alt="Tourism Richmond"], .nad-logos img[alt="Evo Car Share"] { --h: 32px; }
/* proof numbers: the link never strands "See" on its own line */
.nad-big__l a { white-space: nowrap; }
.nad-big--hl .nad-big__l { max-width: 24ch; }
/* "Not quite you?" chips share one height */
.nad-others__grid > li { display: flex; }
.nad-chip { flex: 1; }
.nad-chip b { text-wrap: balance; }
/* quote: mark hangs in the margin on wide screens */
@media (min-width: 1100px) {
	.nad-quote figure { position: relative; }
	.nad-quote__mark { position: absolute; left: -.55em; top: .12em; }
}
/* closing band carries the hero's halftone so the page ends where it began */
.nad-close { isolation: isolate; }
.nad-close::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22;
	background-image: radial-gradient(rgba(22, 22, 22, .18) 1px, transparent 1.2px); background-size: 7px 7px;
	mask-image: linear-gradient(245deg, transparent 35%, #000 100%); -webkit-mask-image: linear-gradient(245deg, transparent 35%, #000 100%);
}
/* hero fans: captions stay readable where cards overlap */
.nad-fan .nad-polaroid:nth-child(3) { top: 22%; }
.nad-fan .nad-polaroid:nth-child(4) { left: 46%; bottom: -8%; width: 34%; }
.nad-fan .nad-polaroid:nth-child(3) figcaption { text-align: right; }
.nad-fan--cat .nad-polaroid:nth-child(1) { z-index: 1; }
.nad-fan--cat .nad-polaroid:nth-child(2) { z-index: 2; }
.nad-fan--cat .nad-polaroid:nth-child(3) { left: 44%; bottom: -8%; top: auto; width: 40%; }
/* two-card fans: bigger pair, centred against the copy */
.nad-fan--cat:not(:has(> :nth-child(3))) { height: clamp(320px, 30vw, 420px); }
.nad-fan--cat:not(:has(> :nth-child(3))) .nad-polaroid { width: 58%; }
.nad-fan--cat:not(:has(> :nth-child(3))) .nad-polaroid:nth-child(1) { top: 20%; }

/* Passport stamp: each case's lead number, pressed onto the evidence.
   Echoes the printed festival passport; the number also stays in the stat row for screen readers. */
.nad-stamp {
	position: absolute; z-index: 3; top: -34px; right: -14px; width: 136px; height: 136px; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
	background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); transform: rotate(-12deg);
	box-shadow: 0 10px 24px -12px rgba(22, 22, 22, .6);
}
.nad-stamp::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--ink); border-radius: 50%; }
.nad-stamp b { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.nad-stamp span { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; max-width: 96px; }
.nad-case__media:has(.nad-stamp) .nad-stats .nad-stat:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nad-case--flip .nad-stamp { right: auto; left: -14px; transform: rotate(10deg); }
@media (prefers-reduced-motion: no-preference) {
	.nad.js .nad-case__media .nad-stamp { opacity: 0; }
	.nad.js .nad-case__media.is-in .nad-stamp { animation: nad-stamp .55s .35s cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes nad-stamp { from { opacity: 0; scale: 1.7; } to { opacity: 1; scale: 1; } }

@media (max-width: 640px) {
	.nad-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 18px 12px; width: 100%; }
	.nad-stamp { width: 104px; height: 104px; top: -22px; right: -4px; }
	.nad-case--flip .nad-stamp { left: -4px; }
	.nad-stamp b { font-size: 23px; }
	.nad-stamp span { font-size: 8.5px; max-width: 74px; letter-spacing: .08em; }
}

/* ==========================================================================
   Revision round 3 (creative director / PM / QA)
   ========================================================================== */
/* stamp sits on the lower corner of the evidence image, never over a headline */
.nad-evidence { position: relative; }
.nad-evidence .nad-stamp { top: auto; bottom: 18px; right: -22px; } /* inside the image so it never covers the caption */
.nad-case--flip .nad-evidence .nad-stamp { right: auto; left: -22px; }
/* Daily anchors: land with the case kicker clear of a sticky site header */
.nad-case { scroll-margin-top: 140px; }
/* NomNom waits hidden until it waves in (no flash then fade) */
@media (prefers-reduced-motion: no-preference) {
	.nad.js .nad-close__mascot:not(.is-in) { opacity: 0; }
}
/* hanging quote mark never runs into the page edge */
@media (min-width: 1100px) {
	.nad-quote__mark { left: max(-.55em, calc(-1 * var(--gutter) + 6px)); }
}
@media (max-width: 900px) {
	.nad-case--flip .nad-evidence .nad-stamp { left: auto; right: -6px; transform: rotate(-12deg); }
	.nad-evidence .nad-stamp { right: -6px; bottom: 14px; }
}
@media (max-width: 640px) {
	.nad-polaroid { padding-bottom: 34px; }
	.nad-polaroid figcaption { font-size: 9.5px; letter-spacing: .06em; }
	.nad-evidence .nad-stamp, .nad-case--flip .nad-evidence .nad-stamp { top: auto; bottom: 12px; right: -4px; left: auto; }
	.nad-logos:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* round 4 sign-off: main hero croissant card sits under the cards whose captions it covered;
   left-side stamps hang out no further than right-side ones */
.nad-fan:not(.nad-fan--cat) .nad-polaroid:nth-child(4) { z-index: 1; }
.nad-case--flip .nad-evidence .nad-stamp { left: -12px; }
@media (max-width: 900px) { .nad-case--flip .nad-evidence .nad-stamp { left: auto; } }
