/* angelomacaione.com — values measured on the Framer site (2026-10-16). */

@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #000;
  --surface: #0f151f;
  --text: #d1dae0;
  --text-muted: #b3c2cb;
  --text-dim: rgba(209, 218, 224, 0.5);
  --text-pill: #adb1b8;
  --white: #fff;
  --teal: #06efe8;
  --teal-deep: #0c6078;
  --teal-wash: rgba(12, 96, 120, 0.3);
  --magenta: #f051d5;
  --line: rgba(209, 218, 224, 0.14);
  --btn-shadow: rgba(47, 43, 67, 0.1) 0 -1px 0 0 inset, rgba(47, 43, 67, 0.1) 0 1px 3px 0;

  --container: 1016px;
  --gutter: 16px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 32px;
  --r-pill: 37px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Satoshi", system-ui, sans-serif;
  --font-btn: "Hanken Grotesk", "Satoshi", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-btn); font-size: 16px; line-height: 24px; letter-spacing: -0.16px;
  color: var(--white); border-radius: var(--r-pill); box-shadow: var(--btn-shadow);
  transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { position: relative; background: var(--magenta); padding: 12px 16px; }
.btn--primary::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: inherit; pointer-events: none; }
.btn--primary:hover { background: #f36bdc; }
.btn--ghost { padding: 4px 14px; border: 1px solid rgba(209, 218, 224, 0.28); }
.btn--ghost:hover { border-color: rgba(209, 218, 224, 0.6); }
.btn--lg { min-width: 230px; min-height: 56px; }

/* Nav ---------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 20px 40px; pointer-events: none; }
.nav::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,0));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent); }
.nav__inner { max-width: 1120px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.nav a, .nav img { pointer-events: auto; }
.nav__logo img { width: 48px; height: 48px; }
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__links a:not(.btn) { padding: 12px; font-size: 15px; font-weight: 500; color: var(--text); transition: color 200ms; }
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links .btn { margin-left: 12px; }

/* Hero --------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
/* The title lives inside the Spline scene: the HTML copy is for screen readers and search,
   and only shows if the scene cannot load at all. */
.hero__fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero.is-failed .hero__fallback { inset: 0; width: auto; height: auto; clip: auto; white-space: normal; display: grid; place-items: center; text-align: center; padding: 24px; }
.hero canvas { opacity: 0; transition: opacity 700ms ease; }
.hero.is-ready canvas { opacity: 1; }
/* Loader while the scene downloads: a thin teal ring, gone as soon as the scene is ready. */
.hero__loader { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity 400ms ease; }
.hero__loader span { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(6, 239, 232, 0.15); border-top-color: var(--teal); animation: hero-spin 900ms linear infinite; }
.hero.is-ready .hero__loader, .hero.is-failed .hero__loader { opacity: 0; }
@keyframes hero-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__loader span { animation-duration: 2.4s; } }
.hero__fallback h1 { font-size: clamp(36px, 7vw, 88px); line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; color: #b9b3f2; font-weight: 900; }

/* 404 ---------------------------------------------------------------- */
.page-404 { overflow: hidden; }
.nav--bare::before { display: none; }
.hero--404 { height: 100vh; height: 100svh; }
.hero__fallback small { display: block; font-size: 0.3em; letter-spacing: 0.08em; }
.btn--glass { padding: 12px 16px; background: rgba(15, 21, 31, 0.8); }
.btn--glass:hover { background: rgba(15, 21, 31, 1); }
.btn svg { width: 16px; height: 16px; flex: none; }
.not-found__back { position: fixed; left: 50%; bottom: max(72px, env(safe-area-inset-bottom, 0px) + 24px); transform: translateX(-50%); z-index: 10; }
.not-found__back:hover { transform: translateX(-50%) translateY(-1px); }

/* Section heads ------------------------------------------------------ */
.section-head { display: flex; align-items: center; gap: 16px; font-size: 38px; line-height: 1.2; font-weight: 400; color: var(--text); letter-spacing: -0.5px; }
.section-head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); flex: none; }

/* Work: stacked cards ------------------------------------------------ */
.work { padding: 0 0 64px; }
.stack { display: flex; flex-direction: column; gap: 48px; list-style: none; padding: 0; margin: 0 auto; }
.stack__item { position: sticky; top: calc(100px + var(--i) * 30px); transform-origin: 50% 0; will-change: transform; }
.card {
  /* Measured on the Framer site (1280 and 1440px): 1016×420, 32px padding all round.
     Left: image frame 444×293 at 32/32, chips 16px below at 32/341. Right: text column 540–984.
     Chips and button bottoms align 32px above the card edge. */
  position: relative; display: grid; grid-template-columns: 444px 444px; column-gap: 64px;
  background: var(--surface); border-radius: var(--r-lg); padding: 32px; height: 420px; overflow: hidden;
}
.card__latest {
  position: absolute; top: 0; left: 0; z-index: 2; padding: 12px 24px; background: var(--teal); border-radius: 0 0 var(--r-sm) 0;
  box-shadow: var(--teal) 0 1px 15px 0; font-size: 28px; font-weight: 900; line-height: 1.2; color: var(--teal-deep); letter-spacing: 0;
}
/* Hairline stroke drawn inside the box (Framer's ::after border), so it adds no size. */
.card::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(204, 204, 204, 0.1); border-radius: inherit; pointer-events: none; z-index: 3; }
/* Soft colour glow behind the text column; colour per card from site.json. */
.card__glow { position: absolute; left: 507px; top: -45px; width: 510px; height: 510px; border-radius: 50%;
  background: var(--glow, rgb(201, 95, 189)); opacity: 0.15; filter: blur(100px); pointer-events: none; }
.card__media, .card__body { position: relative; }
.card__media { display: flex; flex-direction: column; gap: 16px; }
.card__media .chips { gap: var(--chip-gap, 12px); }
.card__media .chip { min-width: 80px; text-align: center; }
/* Framer renders the 470×308 image inside a 444×293 clip (8px radius), offset −13/−7: same crop here. */
.card__frame { display: block; width: 444px; height: 293px; overflow: hidden; border-radius: var(--r-sm); }
.card__img { display: block; width: 470px; height: 308px; max-width: none; margin: -7px 0 0 -13px; object-fit: cover; }
/* Hover: the thumbnail zooms inside its clip, as on the Framer site. */
.card__img { transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1); }
/* Only the thumbnail, the title and the button open the case study; any of them zooms the image. */
.card:has(a:hover) .card__img, .card:has(a:focus-visible) .card__img { transform: scale(1.05); }
.card__frame { isolation: isolate; }
@media (prefers-reduced-motion: reduce) { .card__img { transition: none; } .card:has(a:hover) .card__img, .card:has(a:focus-visible) .card__img { transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; }
.chip { position: relative; padding: 12px 16px; border-radius: var(--r-sm); background: var(--teal-wash); color: var(--teal); font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0.6px; }
.chip::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(6, 239, 232, 0.4); border-radius: inherit; pointer-events: none; }
.card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card__title { font-size: 30px; line-height: 1.4; font-weight: 400; color: var(--text); letter-spacing: -0.5px; }
.card__bottom { display: flex; flex-direction: column; gap: 24px; }
.card__excerpt { font-size: 18px; line-height: 1.4; color: var(--text-muted); text-align: justify; letter-spacing: -0.3px; }
.card__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.card__reading { color: var(--teal); font-size: 18px; line-height: 1.4; letter-spacing: -0.3px; }
.card__title a { color: inherit; transition: color 200ms; }
.card__title a:hover { color: var(--white); }
.card__title a:focus-visible, .card__frame:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

/* About -------------------------------------------------------------- */
.about { padding: 96px 0 0; }
.about__body { margin-top: 24px; display: grid; gap: 22px; }
.about__body p { font-size: 20px; line-height: 1.4; color: var(--text); text-align: justify; }
.about__body a { color: var(--magenta); }
.about__body a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Tagline with rolling pills ---------------------------------------- */
.tagline { padding: 200px 0 160px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.tagline__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; font-size: 20px; line-height: 1.4; color: var(--white); letter-spacing: -0.5px; }
.pill { position: relative; display: inline-block; padding: 6px 18px; border: 1px solid rgba(173, 177, 184, 0.45); border-radius: var(--r-sm); }
.pill__window { display: block; height: 30px; overflow: hidden; }
.pill__track { display: flex; flex-direction: column; animation: roll 3.2s var(--ease-out) infinite; animation-delay: var(--delay, 0s); }
.pill__track span { display: block; height: 30px; line-height: 30px; color: var(--text-pill); font-size: 20px; white-space: nowrap; }
/* Same word stacked twice: each cycle rolls one line up, then holds. */
@keyframes roll { 0%, 70% { transform: translateY(0); } 100% { transform: translateY(-30px); } }

/* Skills ------------------------------------------------------------- */
.skills { padding: 0 0 96px; }
.skills__list { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; }
.skills__list li { padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid rgba(209, 218, 224, 0.1); font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--text); }

/* Experience --------------------------------------------------------- */
.exp { padding: 0 0 64px; }
.exp__list { margin: 32px 0 0; padding: 0; list-style: none; }
.exp__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.exp__role { font-size: 24px; line-height: 1.4; color: var(--text-muted); letter-spacing: -0.5px; }
.exp__where { text-align: right; display: grid; gap: 10px; }
.exp__company { font-size: 18px; line-height: 1.4; color: var(--text-muted); }
.exp__dates { font-size: 14px; font-weight: 500; color: var(--text-dim); }

/* Footer CTA --------------------------------------------------------- */
.cta { position: relative; height: 680px; overflow: hidden; }
.cta__orbit { position: absolute; inset: 0 30% 0 0; }
.cta__content { position: absolute; right: max(var(--gutter), calc((100% - 1120px) / 2)); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 48px; text-align: center; }
.cta__title { font-size: 46px; line-height: 1.2; font-weight: 500; color: var(--text); letter-spacing: -0.5px; }
.footer { padding: 0 0 40px; }
.footer__links { display: flex; gap: 32px; }
.footer__links a { font-size: 14px; font-weight: 500; color: var(--white); }
.footer__links a:hover { color: var(--teal); }

/* Case study --------------------------------------------------------- */
.cs { padding-top: 112px; }
/* Case study — measured on the Framer site at 1440px ----------------- */
.cs__back { gap: 12px; height: 40px; padding: 8px 20px 8px 20px; margin-top: 8px; background: var(--surface); font-size: 16px; line-height: 24px; letter-spacing: -0.16px; }
.cs__back svg { width: 20px; height: 20px; margin-left: -4px; }
.cs__title { margin-top: 32px; font-size: 46px; line-height: 1.2; font-weight: 500; color: var(--teal); letter-spacing: -1.38px; }
.cs__meta { margin-top: 32px; display: flex; gap: 39px; }
.cs__meta dt { font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--text); letter-spacing: 0.6px; }
.cs__meta dd { margin: 3px 0 0; font-size: 14px; line-height: 1.2; font-weight: 500; color: var(--text-muted); letter-spacing: -0.2px; }
.cs__meta + .cs__section { margin-top: 64px; }

/* Dividers: 1px white-to-transparent gradient, always the full 1016px column. */
.cs__rule, .prose hr { height: 1px; border: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 68%, rgba(0, 0, 0, 0) 100%); }
.cs__rule--top { margin-top: var(--meta-gap, 64px); }
.cs__section--lead + .cs__rule { margin-top: 40px; }
.cs__rule + .cs__section { margin-top: 100px; }
.cs__rule--top + .cs__section { margin-top: 40px; }
.cs__rule--bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.cs__section--lead + .cs__rule--bleed { margin-top: 38px; }
.cs__rule--bleed + .cs__section { margin-top: 46px; }

.cs__section > h2 { font-size: 38px; line-height: 1.2; font-weight: 400; color: var(--text); letter-spacing: -0.7px; }
.cs__section .prose { margin-top: 32px; }

/* Overview: its own column width, colour and alignment per case study (frontmatter). */
.cs__section--lead > h2, .cs__section--lead .prose > p { max-width: var(--ov-w, 610px); }
.prose--lead { color: var(--ov-c, var(--text)); text-align: var(--ov-a, start); }

.prose { font-size: 20px; line-height: 1.4; color: var(--text); }
.prose--indent { padding-left: 32px; text-align: justify; }
.prose > * + * { margin-top: 18px; }
/* Lists as Framer draws them: no native markers, text 27.32px in, "•" / "1." hanging at 0. */
.prose ul, .prose ol { padding: 0; margin-bottom: 0; list-style: none; }
.prose ol { counter-reset: li; }
.prose li { position: relative; margin: 0; padding-left: 27.32px; }
.prose ul > li::before { content: "•"; position: absolute; left: 0; top: 0; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li) "."; position: absolute; left: 0; top: 0; }
.prose li > ul, .prose li > ol { margin: 0; }
.prose li > p + p, .prose li > ul + p { margin-top: 18px; }
.prose a { color: var(--magenta); }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose em { color: var(--text-muted); }
.prose .cs__note { color: var(--text-muted); }
.prose > .cs__note { font-size: var(--note-fs, 20px); line-height: 1.4; text-align: start; }
.prose > .cs__note + hr { margin-top: var(--note-after, 15px); }
.prose > .cs__note + hr.hr--loose { margin-top: 32px; }
/* Framer leaves an empty 19px list after the last paragraph on one page: same gap here. */
.prose > .cs__gap { height: 18px; }
.prose > .cs__spacer + .cs__note { margin-top: 10px; }

/* Item titles: bold line with the 16px magenta dot hanging in the indent. */
.cs__item { position: relative; font-size: 20px; line-height: 1.4; font-weight: 700; text-align: start; }
.cs__item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--magenta); }
.prose > .cs__item { margin-top: 47px; }
.prose > .cs__item:first-child { margin-top: 0; }
.prose > .cs__item + * { margin-top: var(--gap, 10px); }
.prose > hr { margin: 15px 0 0 -32px; }
.prose > hr + *, .prose > hr + .cs__item { margin-top: 15px; }
.prose > hr.hr--loose { margin-top: 32px; }
.prose > hr + hr { margin-top: 30px; }
.prose > hr.hr--loose + *, .prose > hr.hr--loose + .cs__item { margin-top: 32px; }

/* Images: sized like the Framer components they come from. */
.cs__img { display: block; height: auto; max-width: none; }
.prose > .cs__img { margin-top: 42px; }
.prose > .cs__img--fixed { margin-top: 47px; }
.prose > .cs__img + * { margin-top: 47px; }
.cs__img--fit { width: 100%; }
.cs__img--cover { width: 100%; aspect-ratio: 984 / 549; object-fit: cover; }
.cs__img--fixed { width: var(--w); margin-left: auto; margin-right: auto; }
.prose--indent > .cs__img--fixed { transform: translateX(-16px); }
.cs__img--wide { width: calc(100% + 32px); margin-left: -32px; }
.cs__img--bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.prose--indent .cs__img--bleed { margin-left: calc(50% - 50vw - 16px); }
.prose--lead > .cs__img--bleed { margin-top: 31px; }

/* Unindented block with the dot above its title (IA "Before and After"). */
.cs__block { margin-left: -32px; text-align: start; }
.cs__block::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 0 22px; border-radius: 50%; background: var(--magenta); }
.prose > hr + .cs__block { margin-top: 15px; }
.cs__block > p:first-of-type + p { margin-top: 10px; }
.cs__block > .cs__img + .cs__img { margin-top: 80px; }
.cs__block > * + * { margin-top: 18px; }
.cs__block .cs__img--wide { width: 100%; margin-left: 0; }
.cs__block > .cs__img { margin-top: 48px; }
.prose > .cs__block + hr { margin-top: 46px; }

/* Accordion (OTA "Scope of Project"). */
.cs__section--accordion .acc__list { margin-top: 32px; }
.cs__section--accordion + .cs__section { margin-top: 96px; }
.acc__list { display: grid; gap: 12px; }
.acc { position: relative; border-radius: 10px; background: rgba(255, 255, 255, 0.12); }
.acc::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: inherit; pointer-events: none; }
.acc summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-size: 20px; line-height: 28px; color: var(--text); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { flex: none; width: 21px; height: 21px; fill: none; stroke: rgb(230, 230, 230); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease; }
.acc[open] summary svg { transform: rotate(90deg); }
.acc p { padding: 0 20px 16px 51px; margin-top: -7px; font-size: 18px; line-height: 1.4; color: var(--text-muted); }

/* Learn More */
.related { margin-top: 96px; }
.related__head { font-size: 38px; line-height: 1.2; font-weight: 400; color: var(--text); letter-spacing: -0.7px; }
.related__list { margin-top: 33px; display: grid; gap: 16px; list-style: none; padding: 0; }
.related__item a { display: grid; grid-template-columns: 192px 1fr; column-gap: 32px; align-items: start; min-height: 160px; }
.related__item img { width: 192px; height: 128px; object-fit: cover; border-radius: var(--r-sm); }
.related__title { margin-top: 19px; font-size: 24px; line-height: 1.4; color: var(--text-muted); transition: color 200ms; }
.related__item a:hover .related__title { color: var(--text); }
.related__item .chips { margin-top: 15px; gap: 16px; }
.related__item .chip { min-width: 60px; padding: 12px 16px; font-size: 14px; line-height: 1.2; letter-spacing: -0.2px; text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Articles: every case study, newest first ---------------------------- */
/* Tag chips that are links (home cards, articles) and the filter row. */
.chip--link, .chip--filter { display: inline-block; transition: background-color 200ms, color 200ms; }
.chip--link:hover, .chip--filter:hover { background: rgba(12, 96, 120, 0.6); }
.chip--link:focus-visible, .chip--filter:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.chips > li { display: flex; }
.filters { margin-top: 48px; }
.filters .chips { gap: 12px; }
.chip--filter { min-width: 60px; padding: 10px 16px; font-size: 14px; line-height: 1.2; letter-spacing: -0.2px; text-align: center; }
.chip--filter[aria-current] { background: var(--teal); color: var(--teal-deep); }
.chip--filter[aria-current]::after { border-color: var(--teal); }
.filters__status { margin-top: 16px; min-height: 20px; font-size: 14px; color: var(--text-muted); }
.filters + .filters__status + .articles__list, .filters__status + .articles__list { margin-top: 32px; }
.article[hidden] { display: none; }
.work__all { display: flex; justify-content: center; margin-top: 64px; }
.articles__list { margin-top: 64px; display: grid; gap: 32px; list-style: none; padding: 0; }
.article { display: grid; grid-template-columns: 240px 1fr; column-gap: 32px; align-items: start; padding-top: 32px; border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 68%, rgba(0, 0, 0, 0) 100%) 1; }
.article__thumb { display: block; width: 240px; height: 157px; overflow: hidden; border-radius: var(--r-sm); }
.article__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1); }
.article:has(a:hover) .article__thumb img, .article:has(a:focus-visible) .article__thumb img { transform: scale(1.05); }
.article__title { font-size: 24px; line-height: 1.4; font-weight: 400; color: var(--text); }
.article__title a { color: inherit; transition: color 200ms; }
.article__title a:hover { color: var(--white); }
.article__title a:focus-visible, .article__thumb:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.article .chips { margin-top: 12px; gap: 12px; }
.article .chip { min-width: 60px; padding: 8px 14px; font-size: 14px; line-height: 1.2; letter-spacing: -0.2px; text-align: center; }
.article__excerpt { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article__reading { margin-top: 8px; font-size: 14px; color: var(--teal); }
@media (prefers-reduced-motion: reduce) { .article__thumb img { transition: none; } .article:has(a:hover) .article__thumb img { transform: none; } }

/* Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .card { grid-template-columns: 1fr; padding: 16px; gap: 24px; border-radius: 24px; height: auto; }
  .card__glow { left: auto; right: -160px; top: auto; bottom: -160px; }
  .card__frame { width: 100%; height: auto; aspect-ratio: 444 / 293; }
  .card__img { width: 100%; height: 100%; margin: 0; }
  .card__latest { font-size: 12px; padding: 8px 14px; }
  .card__title { font-size: 24px; line-height: 1.2; }
}
@media (max-width: 809px) {
  .nav { padding: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .stack__item { position: static; }
  .chips { gap: 8px; }
  .chip { font-size: 14px; padding: 8px 12px; }
  .section-head { font-size: 30px; }
  .about__body p { font-size: 18px; }
  .tagline { padding: 120px 0 96px; }
  .exp__row { align-items: flex-start; }
  .exp__role { font-size: 20px; }
  .exp__company { font-size: 12px; }
  .exp__dates { font-size: 12px; }
  .cta { height: 720px; }
  .cta__orbit { inset: 0; }
  .cta__content { left: var(--gutter); right: var(--gutter); top: auto; bottom: 64px; transform: none; }
  .cta__title { font-size: 32px; }
  .cs__title { font-size: 32px; }
  .prose { font-size: 18px; }
  .prose--indent { padding-left: 0; text-align: start; }
  .cs__item::before { position: static; display: inline-block; margin-right: 12px; vertical-align: -2px; }
  .prose > hr, .cs__block { margin-left: 0; }
  .cs__img--fixed { width: 100%; transform: none; }
  .cs__img--wide { width: 100%; margin-left: 0; }
  .prose--indent .cs__img--bleed { margin-left: calc(50% - 50vw); }
  .related__item a { grid-template-columns: 1fr; gap: 16px; }
  .article { grid-template-columns: 1fr; row-gap: 16px; }
  .article__thumb { width: 100%; height: auto; aspect-ratio: 480 / 315; }
  .related__item img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
}

/* Reduced motion: no rolling, no stack scaling, no smooth scroll ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill__track { animation: none; }
  .stack__item { transform: none !important; }
  .btn, .btn:hover { transition: none; transform: none; }
  .not-found__back, .not-found__back:hover { transform: translateX(-50%); }
}
