/* ============================================================
   SILVERIDGE GROUP — design system
   Brand: black #111111 · red #D62828 · light gray #F5F5F5
   Type: Cinzel (display, ~Trajan) · Montserrat (text)
   ============================================================ */

:root {
  --black: #272727;
  --carbon: #202020;
  --graphite: #343434;
  --smoke: #3d3d3d;
  --red: #d62828;
  --red-deep: #b01f1f;
  --gray: #f5f5f5;
  --white: #ffffff;

  --ink: #141414;                 /* text on light */
  --ink-soft: #56514e;            /* muted on light */
  --paper-ink: #f3efe9;           /* text on dark */
  --paper-soft: rgba(243,239,233,.62); /* muted on dark */
  --line-dark: rgba(243,239,233,.14);
  --line-light: rgba(17,17,17,.12);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.19, 1, .22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--red); color: #fff; }

/* ---- Surfaces: guaranteed contrast ---- */
.surface-black  { background: var(--black);  color: var(--paper-ink); }
.surface-carbon { background: var(--carbon); color: var(--paper-ink); }
.surface-gray   { background: var(--gray);   color: var(--ink); }
.surface-white  { background: var(--white);  color: var(--ink); }
.surface-black .muted, .surface-carbon .muted { color: var(--paper-soft); }
.surface-gray .muted,  .surface-white .muted  { color: var(--ink-soft); }

/* ---- Layout ---- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(76px, 11vw, 160px); position: relative; }

/* ---- Type ---- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
}
.kicker {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1vw, 12.5px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: ""; width: 30px; height: 1px; background: var(--red); display: inline-block;
}
h2.title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: .005em;
}
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 46ch; }
.rule { display: inline-block; width: 26px; height: 2px; background: var(--red); vertical-align: middle; }

/* ---- Buttons ---- */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 2px; cursor: pointer; border: var(--bw) solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn .arr { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--light { background: var(--paper-ink); color: var(--black); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--graphite); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; opacity: .9; }
.btn--ghost:hover { background: currentColor; opacity: 1; }
.surface-black .btn--ghost:hover, .surface-carbon .btn--ghost:hover { color: var(--black); }
.surface-gray .btn--ghost:hover, .surface-white .btn--ghost:hover { color: #fff; }

/* ---- Wordmark ---- */
.wordmark { display: inline-flex; flex-direction: row; align-items: center; gap: 11px; line-height: 1; }
.wordmark__icon { width: 38px; height: 38px; display: block; flex-shrink: 0; }
.wordmark__text { display: inline-flex; flex-direction: column; gap: 3px; }
.foot__logo { width: 232px; max-width: 72%; height: auto; margin-bottom: 6px; }
.wordmark__name {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; font-size: 19px;
}
.wordmark__group {
  font-family: var(--font-sans); font-weight: 500;
  text-transform: uppercase; letter-spacing: .42em; font-size: 9.5px;
  display: inline-flex; align-items: center; gap: 8px; padding-left: 2px; opacity: .9;
}
.wordmark__group .rule { width: 18px; height: 1.5px; }

/* ---- Nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  color: var(--paper-ink);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 26px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .4s var(--ease);
}
.nav--solid { background: rgba(39,39,39,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-dark); }
.nav--solid .nav__inner { padding-block: 16px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding: 4px 0; opacity: .82; transition: opacity .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--red);
  transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__end { display: flex; align-items: center; gap: 16px; }
.nav__burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--paper-ink); transition: transform .3s, opacity .3s; }

/* mobile menu overlay */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--black); color: var(--paper-ink);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 9vw, 64px); letter-spacing: .02em; line-height: 1.1; }
.menu__meta { display: flex; flex-direction: column; gap: 6px; color: var(--paper-soft); font-size: 14px; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, #3a2422 0%, #272727 42%, #1d1d1d 100%); color: var(--paper-ink); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--pad) clamp(54px, 8vw, 110px); }
.hero .kicker { margin-bottom: 26px; }
.hero__display {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(44px, 9.5vw, 138px); line-height: .96; letter-spacing: .005em; margin-bottom: 30px;
}
.hero__display em { font-style: normal; color: var(--red); }
.hero__lead { font-size: clamp(15px, 1.5vw, 19px); line-height: 1.6; max-width: 50ch; color: var(--paper-ink); opacity: .86; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge { position: absolute; right: 0; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--paper-soft);
  padding: 18px 14px; border-left: 1px solid var(--line-dark); }
.scroll-hint { position: absolute; left: var(--pad); bottom: 26px; z-index: 2; font-size: 10.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--paper-soft); display: flex; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 38px; background: var(--paper-soft); display: inline-block; position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(-100%); animation: scrolldash 2.4s var(--ease) infinite; }
@keyframes scrolldash { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 64px); }
.stat__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1; }
.stat__num .unit { color: var(--red); }
.stat__label { margin-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.stat + .stat, .stat { border-top: 1px solid currentColor; padding-top: 22px; }
.surface-black .stat, .surface-carbon .stat { border-color: var(--line-dark); }
.surface-gray .stat, .surface-white .stat { border-color: var(--line-light); }

/* ---- Split intro (two-col) ---- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.split p + p { margin-top: 18px; }

/* ---- Services list ---- */
.svc__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: clamp(14px, 3vw, 48px);
  align-items: baseline; padding: clamp(26px, 3.4vw, 44px) 0; border-top: 1px solid var(--line-light); transition: padding .4s var(--ease); }
.svc__row:last-child { border-bottom: 1px solid var(--line-light); }
.svc__num { font-family: var(--font-display); color: var(--red); font-size: 15px; letter-spacing: .1em; }
.svc__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(19px, 2.2vw, 28px); letter-spacing: .01em; line-height: 1.1; }
.svc__desc { color: var(--ink-soft); font-size: 15px; max-width: 48ch; }
.svc__go { width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s; }
.svc__go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .35s var(--ease); }
.svc__row:hover { background: linear-gradient(90deg, rgba(214,40,40,.04), transparent 60%); padding-inline: 14px; }
.svc__row:hover .svc__go { background: var(--red); border-color: var(--red); color: #fff; }
.svc__row:hover .svc__go svg { transform: translate(2px, -2px); }

/* ---- Big CTA band ---- */
.bandcta { text-align: center; }
.bandcta h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(32px, 6vw, 78px); line-height: 1.02; }

/* ---- Insights teaser cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.card { display: flex; flex-direction: column; gap: 16px; }
.card__thumb { aspect-ratio: 4/3; background: var(--graphite); overflow: hidden; position: relative; }
.card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4)); }
.card__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.card__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.18; }

/* ---- Footer ---- */
.foot { padding-block: clamp(64px, 8vw, 120px) 40px; }
.foot__cta { display: inline-flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(38px, 8vw, 104px); line-height: 1;
  letter-spacing: .01em; margin-bottom: clamp(54px, 8vw, 100px); transition: color .3s; }
.foot__cta:hover { color: var(--red); }
.foot__cta .arr--lg { width: clamp(34px, 5vw, 64px); height: clamp(34px, 5vw, 64px); fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .4s var(--ease); }
.foot__cta:hover .arr--lg { transform: translate(8px, -8px); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.foot__brand .muted { margin-top: 18px; max-width: 34ch; font-size: 14px; }
.foot__col h4 { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.foot__col a, .foot__col p { display: block; font-size: 14px; line-height: 2; color: var(--paper-ink); opacity: .82; transition: opacity .25s, color .25s; }
.foot__col a:hover { opacity: 1; color: var(--red); }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--line-dark); font-size: 12.5px; letter-spacing: .04em; }
.foot__social a:hover { color: var(--red); }
.foot__social .dot { margin: 0 8px; opacity: .4; }

/* ---- Reveal animations (progressive enhancement: fully visible without JS) ---- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.lines .line { display: block; overflow: hidden; }
.lines .line > span { display: block; transition: transform 1.05s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .lines .line > span { transform: translateY(116%); }
/* .in rules MUST carry the html.js prefix too, or they lose the cascade to the hide rules above */
html.js .reveal.in { opacity: 1; transform: none; }
html.js .lines.in .line > span { transform: translateY(0); }
.js-loading .reveal, .js-loading .lines .line > span { transition: none; }

/* Hero content animates with pure CSS on load — guaranteed visible, never JS/observer-dependent */
.hero .reveal { animation: hFade 0.9s var(--ease) both; }
.hero .lines .line > span { animation: hRise 1.05s var(--ease-out) both; }
.hero .kicker.reveal { animation-delay: 0.05s; }
.hero .hero__display .line:nth-child(1) > span { animation-delay: 0.12s; }
.hero .hero__display .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero .hero__lead { animation-delay: 0.34s; }
.hero .hero__cta { animation-delay: 0.46s; }
@keyframes hFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hRise { from { transform: translateY(116%); } to { transform: translateY(0); } }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .svc__row { grid-template-columns: 40px minmax(0, 1fr); }
  .svc__desc, .svc__go { display: none; }
}
@media (max-width: 560px) {
  .foot__grid { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
}

/* ---- Interior page hero ---- */
.hero--page { min-height: 66vh; }
.hero--page .hero__display { font-size: clamp(38px, 7vw, 92px); }
.hero--page .hero__inner { padding-bottom: clamp(48px, 6vw, 84px); }

/* ---- Services detail ---- */
.svcd { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(40px, 5vw, 76px) 0; border-top: 1px solid var(--line-light); align-items: start; }
.svcd:first-of-type { border-top: 0; padding-top: 0; }
.svcd__num { font-family: var(--font-display); color: var(--red); font-size: 22px; letter-spacing: .08em; }
.svcd__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(23px, 3vw, 38px); line-height: 1.05; margin-bottom: 18px; }
.svcd__body { font-size: 16px; line-height: 1.75; max-width: 64ch; color: var(--ink-soft); }
.svcd__body strong { color: var(--ink); font-weight: 600; }
.svcd__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border: 1px solid var(--line-light); border-radius: 2px; color: var(--ink-soft); }

/* ---- Team ---- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.member__photo { aspect-ratio: 4/5; background: linear-gradient(150deg, var(--graphite), #101010); position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: 26px; }
.member__photo span { font-family: var(--font-display); font-size: clamp(52px, 8vw, 104px); color: rgba(243,239,233,.14); letter-spacing: .05em; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 66px; height: 3px; background: var(--red); }
.member__role { color: var(--red); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 9px; }
.member__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.member__bio { color: var(--ink-soft); font-size: 15px; line-height: 1.75; max-width: 54ch; }
.member__bio + .member__bio { margin-top: 14px; }

/* ---- Contact + form ---- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 56px); margin-bottom: clamp(40px, 6vw, 72px); }
.contact__item h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.contact__item a, .contact__item p { display: block; font-size: clamp(16px, 1.8vw, 21px); line-height: 1.55; transition: color .25s; }
.contact__item a:hover { color: var(--red); }
.form { display: grid; gap: 24px; max-width: 660px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-light); padding: 12px 2px; transition: border-color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { resize: vertical; min-height: 96px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--ink-soft); max-width: 46ch; }
.form__msg { padding: 15px 18px; border-radius: 3px; font-size: 14px; display: none; }
.form__msg.is-ok { display: block; background: rgba(20,120,60,.10); color: #176b3a; }
.form__msg.is-err { display: block; background: rgba(214,40,40,.08); color: var(--red-deep); }

@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .svcd { grid-template-columns: 1fr; }
}

/* ---- Blog listing ---- */
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.post-feature__media { aspect-ratio: 16/10; background: var(--graphite); overflow: hidden; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3vw, 40px); line-height: 1.08; margin: 14px 0 16px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.post-grid .card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; display: block; }

/* ---- Article ---- */
.article { max-width: 760px; margin: 0 auto; }
.article__cat { color: var(--red); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.article__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 5vw, 58px); line-height: 1.05; margin: 16px 0 18px; }
.article__meta { color: var(--ink-soft); font-size: 13px; letter-spacing: .04em; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-bottom: clamp(26px, 4vw, 40px); margin-bottom: clamp(26px, 4vw, 40px); border-bottom: 1px solid var(--line-light); }
.article__cover { aspect-ratio: 16/9; background: var(--graphite); margin-bottom: clamp(30px, 4vw, 48px); overflow: hidden; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-content { font-size: 17px; line-height: 1.8; color: #2c2926; }
.article-content > * + * { margin-top: 22px; }
.article-content h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin-top: 44px; color: var(--ink); }
.article-content h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; margin-top: 32px; color: var(--ink); }
.article-content ul, .article-content ol { padding-left: 22px; }
.article-content li { margin-top: 8px; }
.article-content blockquote { border-left: 3px solid var(--red); padding: 4px 0 4px 24px; font-family: var(--font-display); font-size: clamp(19px, 2.3vw, 26px); line-height: 1.4; color: var(--ink); margin: 36px 0; }
.article-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-content strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-grid { grid-template-columns: 1fr; } }

/* ---- Responsive type & overflow safety ---- */
.display, .hero__display, h2.title, .svc__name, .svcd__name, .article__title,
.member__name, .post-feature__title, .foot__cta, .menu__links a, .lines .line > span {
  overflow-wrap: break-word;
}
@media (max-width: 600px) {
  h2.title { font-size: clamp(20px, 6.2vw, 28px); }
  .hero__display, .hero--page .hero__display { font-size: clamp(30px, 10vw, 60px); }
  .svc__name { font-size: 16px; display: block; }
  .svcd__name { font-size: 21px; }
  .article__title { font-size: clamp(25px, 7.4vw, 40px); }
  .member__name, .post-feature__title { font-size: 22px; }
  .foot__cta { font-size: clamp(28px, 10vw, 50px); }
  .article-content { font-size: 16px; }
  .kicker { letter-spacing: .16em; }
  .hero .kicker { font-size: 10px; }
}

/* screenshot helper: fixed hero height + reveal everything so a tall window captures the full page */
.shot .hero { min-height: 760px; height: 760px; }
.shot .reveal { opacity: 1 !important; transform: none !important; }
.shot .lines .line > span { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  html.js .lines .line > span { transform: none !important; }
}
