/* In Good Company — studio stylesheet
   Layout: pared back and easy to read. A light ground, one typeface (Valley Sans: Medium for headings, Light for text),
   small uppercase labels in outlined pills, big rounded image cards, and the green used sparingly as a highlight. */
:root {
  --paper: #f3f2ee;       /* light ground */
  --card: #e8e7e1;        /* image wells and panels */
  --ink: #111110;         /* text and black bands */
  --muted: #6b6a64;       /* secondary text */
  --rule: #d3d2cb;        /* hairlines */
  --accent: #d5dc4e;      /* the brand green-yellow */
  --accent-lo: #b9c03a;
  --sans: "Valley Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --t-label: .74rem;
  --t-body: 1.06rem;
  --t-lead: clamp(1.45rem, 1.1rem + 1.4vw, 2.35rem);
  --t-h2: clamp(1.7rem, 1.3rem + 1.6vw, 2.7rem);
  --t-h1: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gl: max(32px, env(safe-area-inset-left, 0px)); --gr: max(32px, env(safe-area-inset-right, 0px)); } }

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 300 var(--t-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
em, i { font-style: normal; }
b, strong { font-weight: 500; }
.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }

/* Labels: small caps in an outlined pill */
.label, .crumbs, dt, figcaption { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.pill, .tags span, .cs-tags .label { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1; padding: .6em .85em .55em; border: 1px solid currentColor; border-radius: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.muted, .note { color: var(--muted); }
.lede { font-size: var(--t-lead); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }
.lil { color: inherit; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; gap: .5em; font: 500 .95rem/1 var(--sans); padding: .95em 1.3em .9em; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; border: 1px solid var(--ink); transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.button:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--accent); border-color: var(--accent); }
.button-sm { font-size: .88rem; padding: .8em 1.1em .75em; }
.arrow-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.arrow-link:hover { background: var(--accent); }
.copy { font: 500 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: none; color: inherit; border: 1px solid currentColor; border-radius: 6px; padding: .75em 1em; cursor: pointer; }
.copy:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand .face { width: 30px; height: 30px; }
.brand .word { height: 17px; width: auto; }
nav.main { display: flex; gap: 28px; }
nav.main a { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
nav.main a:hover { border-color: var(--ink); }
nav.main a[aria-current="page"] { border-color: var(--ink); }
.header-cta { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); font: 500 var(--t-label)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; cursor: pointer; }
.mt-close { display: none; } .menu-open .mt-close { display: inline; } .menu-open .mt-open { display: none; }
.menu-toggle .lines { display: none; }
.mobile-menu { display: none; }
@media (max-width: 760px) {
  nav.main { display: none; }
  .menu-toggle { display: inline-flex; order: 2; }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 40; background: var(--paper); padding-top: calc(env(safe-area-inset-top, 0px) + 72px); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden; overflow-y: auto; }
  .menu-open .mobile-menu { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
}
.mm-inner { display: grid; gap: 40px; padding-block: 20px 40px; }
.mm-links a { display: block; font-size: 2.6rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; text-decoration: none; }
.mm-foot { display: grid; gap: 6px; color: var(--muted); }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { font-size: var(--t-h2); max-width: 22ch; }
.section-head p { max-width: 44ch; color: var(--muted); }
.crumbs { padding-top: 10px; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.reveal { transform: translateY(24px); transition: transform .9s var(--ease); }
.reveal.is-in { transform: none; }

/* Home: showreel */
.reel-wrap { position: relative; padding-top: 6px; }
.reel { position: relative; aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; border-radius: 14px; overflow: hidden; background: var(--ink); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .reel-tag { position: absolute; left: 16px; bottom: 16px; color: #fff; border-color: rgba(255,255,255,.7); }
.spin-badge { position: absolute; z-index: 2; right: clamp(10px, 4vw, 70px); bottom: clamp(-60px, -4vw, -40px); width: clamp(104px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.spin-badge svg { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.spin-badge text { font: 500 11px var(--sans); letter-spacing: 1.4px; text-transform: uppercase; fill: var(--ink); }
.spin-badge .dot { fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.intro { display: grid; gap: 28px; padding-block: clamp(80px, 9vw, 130px) clamp(40px, 5vw, 70px); }
.intro .lede { max-width: 30ch; }
.intro .lede strong { font-weight: 500; }
.intro .ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Brand with us / Launch with us */
.withus { display: grid; gap: 14px; }
@media (min-width: 860px) { .withus { grid-template-columns: 1fr 1fr; } }
.withus a { display: grid; grid-template-columns: 1fr auto; gap: 26px 20px; align-content: space-between; min-height: 300px; padding: clamp(22px, 2.6vw, 34px); border-radius: 14px; background: var(--card); text-decoration: none; transition: background .25s; }
.withus a:hover { background: var(--accent); }
.withus .txt { display: grid; gap: 12px; align-content: start; }
.withus h2 { font-size: var(--t-h2); }
.withus p { color: var(--ink); max-width: 38ch; }
.withus .go { grid-column: 1 / -1; font-weight: 500; font-size: .95rem; }
.withus .icon { width: clamp(96px, 10vw, 130px); height: auto; color: var(--ink); }

/* Work */
.wall { display: grid; gap: clamp(36px, 4vw, 56px) 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .wall { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1150px) { .wall.three { grid-template-columns: 1fr 1fr 1fr; } }
.project { display: grid; gap: 14px; align-content: start; min-width: 0; }
.project > a { display: block; border-radius: 14px; overflow: hidden; }
.project .media { aspect-ratio: 4 / 3; background: var(--card); overflow: hidden; border-radius: 14px; }
.project .media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.project > a:hover .media img { opacity: .88; }
.project-row { display: grid; gap: 10px; }
.project h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); letter-spacing: -.015em; }
.project h3 a { text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.project .line { color: var(--muted); }
.all-work { margin-top: clamp(36px, 4vw, 56px); }

/* Expertise list */
.svc-rows { border-top: 1px solid var(--ink); }
.svc-rows li { border-bottom: 1px solid var(--rule); }
.svc-rows a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: baseline; padding: 18px 8px; text-decoration: none; transition: background .2s; }
.svc-rows .name { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; }
.svc-rows .blurb { color: var(--muted); }
.svc-rows .arrow { display: none; }
.svc-rows a:hover { background: var(--accent); }
.svc-rows a:hover .blurb { color: var(--ink); }
@media (max-width: 700px) { .svc-rows a { grid-template-columns: 1fr; } }

/* Quotes */
.quotes { display: grid; gap: 14px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
.quotes blockquote { display: grid; gap: 24px; align-content: space-between; padding: clamp(22px, 2.6vw, 34px); border-radius: 14px; background: var(--card); }
.quotes blockquote p { font-size: 1.15rem; line-height: 1.5; }
.quotes footer { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.quotes footer small { display: block; font-size: inherit; color: var(--muted); margin-top: 4px; }
.quotes.single blockquote { background: transparent; border-top: 1px solid var(--ink); border-radius: 0; padding: 26px 0 0; }
.quotes.single blockquote p { font-size: var(--t-lead); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }

/* Clients and sectors */
.clients { display: flex; flex-wrap: wrap; gap: 8px; }
.clients li { font-size: .95rem; font-weight: 500; padding: .5em .85em; border: 1px solid var(--rule); border-radius: 6px; }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: var(--muted); }
.sectors li { font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .6em .85em; border-radius: 6px; background: var(--card); }

/* Contact block */
.contact-block .wrap { display: grid; gap: 18px; border-top: 1px solid var(--ink); padding-top: clamp(40px, 5vw, 70px); }
.contact-block h2 { font-size: var(--t-h1); max-width: 18ch; }
.contact-block p { max-width: 50ch; color: var(--muted); }
.contact-block .actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 6px; }
.contact-block .mail { font-weight: 500; font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid currentColor; word-break: break-all; }
.contact-block .face-big { display: none; }

/* Footer: inverted, green band with a black wordmark */
footer.site { background: var(--accent); color: var(--ink); padding-block: clamp(40px, 5vw, 64px) calc(26px + env(safe-area-inset-bottom, 0px)); }
.foot-word { width: 100%; height: auto; margin-bottom: 28px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; }

/* Page heroes */
.page-hero { display: grid; gap: 20px; padding-block: clamp(36px, 5vw, 70px) clamp(20px, 3vw, 40px); }
.page-hero h1 { font-size: var(--t-h1); max-width: 18ch; }
.page-hero .lede { max-width: 40ch; }
.page-hero .sticker { display: none; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.split > * { min-width: 0; }

/* Services page */
.svc { display: grid; gap: 26px; padding-block: clamp(44px, 5vw, 76px); border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.svc-text { display: grid; gap: 16px; min-width: 0; align-content: start; }
.svc-text h2 { font-size: var(--t-h2); }
.svc-text > p { max-width: 52ch; }
.svc-media { min-width: 0; }
.svc-media .media { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--card); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.inc { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.inc li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.svc .more { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.svc .more a:not(.button) { font-weight: 500; }
.svc blockquote { padding: 20px 0 0; border-top: 1px solid var(--ink); display: grid; gap: 10px; }
.svc blockquote footer { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.process { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process > li { background: var(--card); border-radius: 14px; padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 14px; align-content: start; }
.process .num { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; }
.process h3 { font-size: 1.7rem; }
.process ul { display: grid; gap: 4px; color: var(--muted); }
.process ul li::before { content: "– "; }
.process-intro { max-width: 46ch; margin-top: 12px; color: var(--muted); }
.display { font-size: var(--t-h2) !important; font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }

/* Studio page */
.beliefs { border-top: 1px solid var(--ink); }
.beliefs li { display: grid; gap: 8px 40px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .beliefs li { grid-template-columns: 1fr 1.2fr; align-items: baseline; } }
.beliefs h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); }
.beliefs p { color: var(--muted); max-width: 50ch; }
.stat-row { display: none; }

/* Case studies (markup carried over) */
.cs-head { display: grid; gap: 18px; padding-block: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 40px); }
.cs-head h1 { font-size: var(--t-h1); max-width: 20ch; }
.cs-head .statement { font-size: var(--t-lead); font-weight: 300; line-height: 1.3; color: var(--muted); }
.cs-meta { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--ink); padding-top: 18px; margin-top: 8px; }
.cs-meta > div { min-width: 0; }
.cs-meta dt { color: var(--muted); margin-bottom: 6px; }
.cs-meta dd a { text-decoration: none; } .cs-meta dd a:hover { text-decoration: underline; }
.gallery-wrap { padding-block: 7px; }
.gallery { display: grid; gap: 14px; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery > .wide { grid-column: 1 / -1; } }
.gallery > div { min-width: 0; }
.gallery .media { border-radius: 14px; overflow: hidden; background: var(--card); }
.gallery .media img, .gallery .media video { width: 100%; height: auto; }
.gallery figcaption { padding: 10px 2px 0; color: var(--muted); background: var(--paper); font-weight: 300; text-transform: none; letter-spacing: 0; font-size: .88rem; }
.cs-intro { display: grid; gap: 20px; }
@media (min-width: 900px) { .cs-intro { grid-template-columns: 1fr 2fr; gap: 56px; } }
.cs-intro > div { display: grid; gap: 16px; align-content: start; min-width: 0; }
.cs-intro p { max-width: 62ch; font-size: 1.1rem; }
.cs-intro p.note { font-size: .95rem; }
.pull blockquote { display: grid; gap: 18px; border-top: 1px solid var(--ink); padding-top: 26px; }
.pull blockquote p { font-size: var(--t-lead); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }
.pull blockquote footer { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager a { display: grid; gap: 6px; padding: clamp(18px, 2.2vw, 28px); border-radius: 14px; background: var(--card); text-decoration: none; transition: background .2s; min-width: 0; }
.pager a strong { font-size: clamp(1.15rem, .95rem + .8vw, 1.7rem); font-weight: 500; letter-spacing: -.015em; overflow-wrap: anywhere; }
.pager a.next { text-align: right; }
.pager a:hover { background: var(--accent); }
mark.tbc { background: var(--accent); color: var(--ink); padding: .05em .3em; border-radius: 4px; }
.ph { aspect-ratio: 16 / 9; display: grid; place-content: center; gap: 8px; text-align: center; padding: 24px; background: var(--card); }
.ph.r43 { aspect-ratio: 4 / 3; }
.ph-name { font-size: 1.3rem; font-weight: 500; }
.ph-file { font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logo-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.logo-grid .media { border-radius: 14px; overflow: hidden; background: var(--card); }
.logo-grid img { width: 100%; height: auto; }

/* Forms */
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; min-width: 0; }
.form .full, .form fieldset { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 0; }
.opt { color: var(--muted); }
input, select, textarea { font: 300 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 13px 14px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 170px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { font-size: .95rem; font-weight: 300; text-transform: none; letter-spacing: 0; display: inline-flex; gap: 8px; align-items: center; padding: .5em .85em; border: 1px solid var(--rule); border-radius: 8px; background: #fff; cursor: pointer; }
.checks input { width: auto; margin: 0; accent-color: var(--ink); }
.checks label:has(input:checked) { background: var(--accent); border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; }
.email { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 500; word-break: break-all; }

/* Thanks and 404 */
.oneoff { min-height: 55vh; display: grid; align-content: center; gap: 22px; padding-block: 60px; }
.oneoff h1 { font-size: var(--t-h1); }
.oneoff img.face { width: 72px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { transform: none; }
}
.section-head .pill, .withus .label { justify-self: start; }

/* Intro sub-line, who we work with */
.intro-sub { max-width: 52ch; color: var(--muted); font-size: 1.1rem; }
h1.lede { font-weight: 300; }
.who { display: grid; gap: 14px; }
@media (min-width: 900px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who li { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1px solid var(--ink); }
.who h3 { font-size: 1.35rem; }
.who p { color: var(--muted); }
.who .arrow-link { justify-self: start; font-size: .95rem; }
h2.label, h2.pill { font-size: var(--t-label); letter-spacing: .1em; line-height: 1.4; }
h2.pill { display: inline-flex; font-size: .68rem; line-height: 1; }

/* Clients as links */
.clients a, .clients span { display: block; }
.clients li:has(a) { padding: 0; }
.clients li a { padding: .5em .85em; text-decoration: none; }
.clients li:has(a):hover { background: var(--accent); border-color: var(--accent); }

/* Blog lists */
.post-list { border-top: 1px solid var(--ink); }
.post-list .post { display: grid; gap: 8px 40px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .post-list .post { grid-template-columns: 180px 1fr; } }
.post-list time { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .4em; }
.post-list .post > div { display: grid; gap: 10px; max-width: 70ch; }
.post-list h2, .post-list h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); letter-spacing: -.015em; }
.post-list h2 a, .post-list h3 a { text-decoration: none; }
.post-list h2 a:hover, .post-list h3 a:hover { background: var(--accent); }
.post-list p { color: var(--muted); }
.sched { justify-self: start; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); padding: .5em .7em; border-radius: 6px; }

/* Blog post */
.post-head { max-width: 900px; }
.post-head .tags { margin-bottom: 4px; }
.post-meta { color: var(--muted); font-size: .95rem; }
.post-meta a { color: var(--ink); }
.prose { max-width: 68ch; display: grid; gap: 18px; padding-block: 10px 40px; font-size: 1.12rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.9rem); margin-top: 22px; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose a { text-decoration-color: var(--accent-lo); text-decoration-thickness: 2px; }
.prose a:hover { background: var(--accent); }
.author { max-width: 68ch; padding: 22px 24px; border-radius: 14px; background: var(--card); margin-bottom: 20px; }
.author strong { font-weight: 500; }
[hidden] { display: none !important; }
.spin-badge .face { position: absolute; inset: 0; margin: auto; width: 27%; height: 27%; }
.post-list .empty { padding-block: 24px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.foot-ext { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(17,17,16,.25); }
.foot-ext nav { align-items: center; }
.foot-ext .muted-dk { opacity: .65; }
.post-hero { margin-block: 0 10px; }
.post-hero img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: 14px; background: var(--card); }
.prose blockquote { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 8px; }
.prose blockquote p:first-child { font-size: 1.3rem; line-height: 1.4; }
.prose blockquote p:last-child { font-size: var(--t-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; font-weight: 300; text-transform: none; letter-spacing: 0; color: var(--ink); }
.consent input { width: auto; margin-top: 4px; accent-color: var(--ink); }
.form .note.full { grid-column: 1 / -1; }

/* Newsletter sign-up (footer) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.newsletter { display: grid; gap: 14px 40px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(17,17,16,.25); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.2fr; align-items: end; } .newsletter .nl-small, .newsletter .nl-status { grid-column: 2; } }
.newsletter h2.nl-h { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); margin-bottom: 6px; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-row input { flex: 1 1 220px; background: #fff; border-color: var(--ink); }
.nl-row .button:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.nl-small { font-size: .82rem; }
.nl-status:empty { display: none; }

/* Hero slideshow */
.reel .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .15s linear; }
.reel .slide.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reel .slide { transition: none; transform: none; } }

/* Spinning badge: a true circle */
.spin-badge { width: clamp(104px, 11vw, 150px); height: clamp(104px, 11vw, 150px); aspect-ratio: auto; flex: none; overflow: hidden; }
.spin-badge svg { display: block; width: 100%; height: 100%; transform-origin: 50% 50%; }

/* Headings that replaced eyebrow labels */
.sec-h { font-size: var(--t-h2); margin-bottom: 22px; }
.plain-h { font-size: 1.3rem; }
@media (min-width: 900px) { .cs-intro > div:only-child { grid-column: 2; } }
.section-head > div { display: block !important; }
