@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0f0f14;
  --body: #33343d;
  --muted: #6b6d78;
  --line: #e6e6ea;
  --soft: #f6f6f8;
  --paper: #fff;
  --accent: hsl(241, 69%, 68%);
  --accent-ink: var(--accent);
  --accent-soft: hsl(241, 80%, 97%);
  --grad: linear-gradient(100deg, hsl(241, 69%, 68%) 0%, hsl(256, 70%, 63%) 55%, hsl(270, 66%, 56%) 100%);
  --wide: 1200px;
  --text: 720px;
  --col: 1000px;
  --pad: 40px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
h1, h2, h3 { color: var(--ink); font-weight: 650; letter-spacing: -0.025em; line-height: 1.12; margin: 0; }

.wrap { width: min(var(--wide), 100% - var(--pad) * 2); margin-inline: auto; }
.text { width: min(var(--text), 100% - var(--pad) * 2); margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--body); text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 16px; border-radius: 999px; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.icon-link { display: inline-grid !important; place-items: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 50% !important; }
.icon-link svg { display: block; }
.footer-base { align-items: center; }
.footer-base .icon-link { color: #fff; width: 36px; height: 36px; }
.footer-base .icon-link:hover { background: rgba(255,255,255,.1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-size: 17px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a33; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--accent-ink); letter-spacing: 0; margin: 0 0 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); letter-spacing: -0.04em; line-height: 1.03; }
.grad, .hero h1 em, .stat b, .facts dd.big {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero h1 em { font-style: normal; padding-bottom: .06em; }
.hero .lede { font-size: 21px; line-height: 1.55; color: var(--body); max-width: 600px; margin: 28px 0 36px; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; background: #c9cacc; aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 60% 58%; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 12px; line-height: 1.35; }
.hero-photo figcaption span { display: block; font-weight: 500; color: var(--muted); }

/* Stats */
.stats { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 32px 40px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b { display: inline-block; font-size: 52px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; padding-bottom: .12em; margin-bottom: 8px; }
.stat span { display: block; font-size: 16px; line-height: 1.45; color: var(--body); }
.stat small { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* How I work band */
.how { margin: 96px 0 0; }
.how-card { background: var(--accent); color: #fff; border-radius: 32px; padding: 72px 64px; }
.how-card p { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; max-width: 900px; color: #fff; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 40px; margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.35); }
.logos img { height: var(--h, 32px); width: auto; }

/* Section heads */
.section { padding: 112px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.035em; }
.section-head p { margin: 0; color: var(--muted); max-width: 420px; }

/* Featured work */
.work-list { display: grid; gap: 28px; }
.work { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.work:hover { box-shadow: 0 24px 60px -28px rgba(15,15,20,.28); transform: translateY(-2px); }
.work-img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--soft); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover .work-img img { transform: scale(1.03); }
.work-body { padding: 48px; display: flex; flex-direction: column; }
.work-logo { display: block; align-self: flex-start; height: var(--h, 28px); width: auto; margin: 0 0 22px; }
.work-co { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.work-body h3 { font-size: 32px; letter-spacing: -0.03em; margin-bottom: 16px; }
.work-body > p { margin: 0 0 28px; color: var(--body); }
.work-meta { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.work-meta dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.work-meta dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.work-link { margin-top: 28px; font-weight: 600; color: var(--accent-ink); }
.work:nth-child(even) .work-img { order: 2; }

/* Earlier work */
.earlier { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mini { text-decoration: none; color: inherit; }
.mini-img { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--soft); margin-bottom: 16px; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mini:hover .mini-img img { transform: scale(1.04); }
.mini h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 4px; }
.mini p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.45; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.quote p { margin: 0 0 28px; color: var(--ink); font-size: 19px; line-height: 1.55; font-weight: 500; }
.quote cite { margin-top: auto; font-style: normal; font-size: 15px; color: var(--muted); }
.quote cite b { display: block; color: var(--ink); font-weight: 600; }

/* Footer */
.footer { margin-top: 128px; background: var(--ink); color: #c9cad2; padding: 96px 0 40px; }
.footer h2 { color: #fff; font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.04em; max-width: 760px; }
.footer .actions { margin: 40px 0 80px; }
.footer .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.footer .btn-primary:hover { background: #ececf0; }
.footer .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.footer .btn-ghost:hover { background: rgba(255,255,255,.08); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.footer-base a { color: #fff; text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }

/* Case study */
.case-head { padding: 72px 0 56px; }
.back { display: flex; width: max-content; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 32px; }
.back:hover { color: var(--ink); }
.case-logo { display: block; height: var(--h, 40px); width: auto; margin: 0 0 28px; }
.case-head h1 { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1.05; }
.case-head .lede { font-size: 22px; line-height: 1.5; color: var(--body); margin: 28px 0 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { padding: 28px 32px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.facts dd.big { display: inline-block; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.cover { margin: 0 0 24px; border-radius: 20px; overflow: hidden; background: var(--soft); padding: 32px; }
.cover img { width: 100%; height: 380px; object-fit: contain; }

.col { width: min(var(--col), 100% - var(--pad) * 2); margin-inline: auto; }
.prose { padding: 40px 0 0; }
.prose h2 { font-size: 32px; letter-spacing: -0.03em; margin-top: 72px; margin-bottom: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 0; margin-bottom: 22px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); }
.prose .figure { margin: 48px 0; }
.prose .figure img, .prose .figure video { width: auto; max-width: 100%; max-height: 560px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.prose .figrow { display: flex; gap: 20px; margin: 48px 0; }
.figrow .cell { flex-basis: 0; min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.figrow .cell img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.figrow .scroll img, .prose .figure .scroll img { height: auto; max-height: none; border: 0; border-radius: 0; }
.scroll.solo { max-width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.prose .figure figcaption { font-size: 15px; color: var(--muted); margin-top: 12px; }
.prose .result { background: var(--accent-soft); border-radius: var(--radius); padding: 36px 40px; margin-top: 72px; }
.prose .result h2 { margin-top: 0; }
.prose .result p:last-child, .prose .result ul:last-child { margin-bottom: 0; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 112px; }
.pager a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.pager a span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 6px; }
.pager a:hover { background: var(--soft); }
.pager .next { grid-column: 2; text-align: right; }

/* Gallery + video pages */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.gallery a { text-decoration: none; color: var(--ink); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--line); }
.gallery figcaption { font-weight: 600; margin-top: 14px; }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.videos figure { margin: 0; }
.videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
.videos figcaption { font-weight: 600; color: var(--ink); margin-top: 14px; }

/* About */
.about-hero { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: start; padding: 72px 0 0; }
.about-hero img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 25%; background: #c9cacc; }
.about-hero h1 { font-size: clamp(44px, 5vw, 68px); letter-spacing: -0.04em; margin-bottom: 28px; }
.about-hero p { margin: 0 0 20px; }
.about-hero .lede { font-size: 22px; line-height: 1.5; color: var(--ink); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cols h2 { font-size: 32px; letter-spacing: -0.03em; margin-bottom: 18px; }
.cols p { margin: 0 0 20px; }
.badges { display: flex; gap: 20px; align-items: center; margin-top: 28px; }
.badges img { height: 96px; width: auto; }

/* Contact */
.contact { padding: 96px 0 0; }
.contact h1 { font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.045em; line-height: 1; max-width: 900px; }
.contact .lede { font-size: 21px; max-width: 720px; margin: 32px 0 48px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.contact-grid a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 600; }
.contact-grid a span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.contact-grid a:hover { background: var(--soft); }

.footer-slim { padding-top: 40px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-layout .lede { margin-bottom: 40px; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 15px; font-weight: 600; color: var(--muted); }
.contact-list dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.copy { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.copy:hover { background: #ececf0; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: 0 30px 70px -40px rgba(15,15,20,.3); display: grid; gap: 22px; }
.form h2 { font-size: 28px; letter-spacing: -0.03em; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 15px; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 54px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input, .field.invalid textarea { border-color: #d14343; }
.field .error { color: #c03030; font-size: 14px; font-weight: 500; }
.field .error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-content: center; width: 100%; cursor: pointer; font-family: inherit; }
.form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.form-status { margin: 0; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.bad { color: #c03030; }
.form-done { padding: 24px 0; }
.form-done h2 { font-size: 34px; margin-bottom: 12px; }
.form-done p { margin: 0 0 12px; }
.preview-note { font-size: 14px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.work-img img, .js .work.reveal .work-img img, .js .figrow > .reveal img, .js .prose .figure.reveal img { transform: scale(1.06); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.js .work.reveal.in .work-img img, .js .figrow > .reveal.in img, .js .prose .figure.reveal.in img { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .contact-list div { grid-template-columns: 76px minmax(0, 1fr); }
  .contact-list dd { font-size: 16px; min-width: 0; }
  .contact-list dd span { overflow-wrap: anywhere; }
  .form { padding: 28px 22px; border-radius: 22px; }
  .row { grid-template-columns: 1fr; }
  :root { --pad: 22px; }
  body { font-size: 17px; }
  .nav .wrap { height: 64px; }
  .brand { white-space: nowrap; font-size: 18px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 10px; font-size: 15px; }
  .hero { padding: 48px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .lede { font-size: 19px; }
  .hero-photo { aspect-ratio: 1; }
  .hero-photo img { object-position: 50% 62%; transform: scale(1.25); transform-origin: 60% 50%; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 28px 16px 28px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat b { font-size: 38px; }
  .how { margin-top: 64px; }
  .how-card { padding: 44px 28px; border-radius: 24px; }
  .logos { display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; gap: 32px 16px; margin-top: 36px; }
  .logos img { height: calc(var(--h, 32px) * .72); max-width: 100%; object-fit: contain; }
  .section { padding-top: 80px; }
  .section-head { flex-direction: column; align-items: start; margin-bottom: 32px; }
  .work { grid-template-columns: 1fr; }
  .work:nth-child(even) .work-img { order: 0; }
  .work-body { padding: 28px; }
  .work-body h3 { font-size: 26px; }
  .earlier { grid-template-columns: 1fr 1fr; gap: 20px; }
  .quotes { grid-template-columns: 1fr; }
  .footer { margin-top: 96px; padding-top: 72px; }
  .footer .actions { margin-bottom: 56px; }
  .case-head { padding: 40px 0 36px; }
  .case-head .lede { font-size: 19px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts div { padding: 22px 24px; }
  .prose .figrow { gap: 10px; margin: 32px 0; }
  .figrow .cell { border-radius: 10px; }
  .cover { padding: 20px; }
  .cover img { height: 240px; }
  .prose .figure img, .prose .figure video { max-height: 420px; }
  .prose h2 { font-size: 26px; margin-top: 56px; }
  .prose .result { padding: 28px 24px; }
  .pager { grid-template-columns: 1fr; margin-top: 72px; }
  .pager .next { grid-column: 1; }
  .gallery, .videos { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .about-hero img { aspect-ratio: 4 / 3; }
  .cols { grid-template-columns: 1fr; gap: 0; }
  .contact { padding-top: 56px; }
  .contact-grid { grid-template-columns: 1fr; margin-top: 48px; }
}


/* Résumé */
.btn-resume { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px !important; margin-left: 6px; border-radius: 999px !important; background: var(--ink) !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; text-decoration: none; }
.btn-resume:hover { background: #2a2a33 !important; }
.contact-resume { margin-top: 32px; }

/* Lab */
.lab { border-top: 1px solid var(--ink); }
.lab-item { display: grid; grid-template-columns: 64px 5fr 7fr; gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); }
.lab-n { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.lab-item h3 { font-size: 26px; letter-spacing: -0.025em; }
.lab-item p { margin: 0; color: var(--body); }

@media (max-width: 960px) {
  .nav-resume { display: none !important; }
  .lab-item { grid-template-columns: 40px 1fr; gap: 8px 12px; padding: 24px 0; }
  .lab-item p { grid-column: 2; }
  .lab-item h3 { font-size: 22px; }
}

/* Blog */
@media (max-width: 420px) { .nav-links a { padding: 8px 7px; font-size: 14px; } .brand { font-size: 16px; } .nav-links .icon-link { width: 32px; height: 32px; } }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 24px; }
.post-row { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.post-row:hover { box-shadow: 0 24px 60px -28px rgba(15,15,20,.28); transform: translateY(-2px); }
.post-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--soft); }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-row:hover .post-img img { transform: scale(1.03); }
.post-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.post-body h2 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 12px; }
.post-body p:not(.post-meta) { margin: 0 0 20px; color: var(--body); }
.post-body .more { margin-top: auto; font-weight: 600; color: var(--accent-ink); }
.post-meta { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.case-head .post-meta { margin-bottom: 16px; }
.post-cover { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-cover img { display: block; width: 100%; height: auto; }
.prose h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.35; margin: 48px 0 14px; }
.prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose blockquote { margin: 0 0 40px; padding: 0 0 0 24px; border-left: 3px solid var(--accent); font-size: 26px; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.post-source { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 960px) {
  .post-list { grid-template-columns: 1fr; }
  .post-body { padding: 24px; }
  .post-body h2 { font-size: 22px; }
  .prose h3 { font-size: 20px; }
  .prose blockquote { font-size: 21px; }
}

/* Hero and stats loops */
.hero-photo { overflow: hidden; animation: glow 10s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: -28px 36px 90px -24px hsla(241, 69%, 68%, .55), 24px -20px 80px -30px hsla(215, 95%, 68%, .35); }
  50% { box-shadow: 28px 40px 100px -24px hsla(215, 95%, 68%, .5), -24px -24px 90px -30px hsla(256, 70%, 63%, .45); }
}

.hero h1 em { background-image: linear-gradient(100deg, hsl(241, 69%, 68%) 0%, hsl(270, 66%, 56%) 35%, hsl(241, 90%, 80%) 50%, hsl(270, 66%, 56%) 65%, hsl(241, 69%, 68%) 100%); background-size: 250% 100%; animation: shimmer 7s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 55%,100% { background-position: 0% 0; } }

.hero-photo img { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.5) translate(0, 0); } to { transform: scale(1.58) translate(-1.5%, -1%); } }
@keyframes drift-sm { from { transform: scale(1.25) translate(0, 0); } to { transform: scale(1.32) translate(-1.5%, -1%); } }
@media (max-width: 960px) { .hero-photo img { animation-name: drift-sm; } }


.stat b { background-image: linear-gradient(100deg, hsl(241, 69%, 68%) 0%, hsl(270, 66%, 56%) 35%, hsl(241, 90%, 80%) 50%, hsl(270, 66%, 56%) 65%, hsl(241, 69%, 68%) 100%); background-size: 250% 100%; background-position: 100% 0; animation: shimmer 9s ease-in-out infinite; }
.stat:nth-child(2) b { animation-delay: .6s; }
.stat:nth-child(3) b { animation-delay: 1.2s; }
.stat:nth-child(4) b { animation-delay: 1.8s; }
@media (prefers-reduced-motion: reduce) { .stat b, .hero-photo, .hero h1 em, .hero-photo img { animation: none !important; } }
