/* ==========================================================================
   shiloopy.com — Shilpi Chakravorty
   One stylesheet. No framework, no build step.
   ========================================================================== */

/* --- Fonts (self-hosted; no third-party requests) ------------------------ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/Fraunces-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/Fraunces-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/Fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/Fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/InterTight-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/InterTight-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/InterTight-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/InterTight-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --paper:      #fdfcfa;
  --paper-2:    #f4f0ea;   /* banded sections */
  --ink-deep:   #17120f;   /* dark sections, in both themes */
  --on-deep:    #f3ece5;
  --ink:        #1d1d1d;
  --ink-soft:   #5f5953;
  --rule:       #e3ded6;
  --red:        #f12f07;   /* display sizes — 4.0:1 on paper */
  --red-ink:    #c4230a;   /* small text and links — 5.7:1 */
  --red-bright: #ff6a45;   /* on dark grounds */
  --red-wash:   #fdece7;
  /* Full-bleed red bands carry body copy, so the ground is a deeper red than
     the display red: white on #f12f07 is 4.1:1, which fails AA for small text.
     White on #d42905 is 5.1:1. */
  --band-bg:    #d42905;
  --band-fg:    #ffffff;

  /* Fraunces ships here with SOFT=28 and WONK=1 baked in; opsz and wght vary. */
  --display: 'Fraunces', 'Times New Roman', Times, serif;
  --body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --measure: 66ch;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --wrap: 78rem;
  --step: clamp(3.75rem, 9vw, 7.5rem);
  --head-h: 4.25rem;
  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:    #15100e;
    --paper-2:  #1e1815;
    --ink-deep: #0d0a08;
    --ink:      #f1eae3;
    --ink-soft: #b0a59b;
    --rule:     #372e28;
    --red:      #ff6a45;
    --red-ink:  #ff8465;
    --red-wash: #2a1611;
    --band-bg:  #ff6a45;
    --band-fg:  #15100e;
  }
}
:root[data-theme="dark"] {
  --paper:    #15100e;
  --paper-2:  #1e1815;
  --ink-deep: #0d0a08;
  --ink:      #f1eae3;
  --ink-soft: #b0a59b;
  --rule:     #372e28;
  --red:      #ff6a45;
  --red-ink:  #ff8465;
  --red-wash: #2a1611;
    --band-bg:  #ff6a45;
    --band-fg:  #15100e;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 1rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--red); color: #fff; }

/* --- Shared type --------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144;
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.015em;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin: 0 0 1rem;
}
.eyebrow__link { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.eyebrow--hero { margin-bottom: 1.5rem; color: var(--ink-soft); }
.sec-title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144;
  font-style: italic;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--red);
  text-wrap: balance;
}
.sec-note { color: var(--ink-soft); max-width: 38ch; margin: 0; }
.sec-more { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; max-width: 44ch; text-wrap: pretty; }
.prose { max-width: var(--measure); text-wrap: pretty; }
.prose--lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); }
.prose--small { font-size: .95rem; color: var(--ink-soft); margin-top: 1.5rem; }
.narrow { max-width: 46rem; }
.centred { text-align: center; }
.centred .prose { margin-inline: auto; }
.centred .sec-title { color: var(--red); }
.nowrap { white-space: nowrap; }
.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--step); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--band { background: var(--paper-2); }
.section--ink {
  background: var(--ink-deep);
  --ink: var(--on-deep);
  --ink-soft: rgba(243, 236, 229, .62);
  --rule: rgba(243, 236, 229, .16);
  --red: var(--red-bright);
  --red-ink: var(--red-bright);
  color: var(--ink);
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

/* --- Skip link ----------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; font-size: .9rem;
}
.skip:focus { left: 0; }

/* --- Header -------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-head[data-scrolled="true"] { border-bottom-color: var(--rule); }
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--head-h);
}
.site-head__mark { display: block; flex: none; }
.mark {
  display: block;
  width: clamp(7.5rem, 14vw, 10rem);
  aspect-ratio: 3.7973;
  background-color: var(--ink);
  -webkit-mask: url('../img/logo-720.png') no-repeat center / contain;
  mask: url('../img/logo-720.png') no-repeat center / contain;
  transition: background-color .25s var(--ease);
}
a:hover > .mark, a:focus-visible > .mark { background-color: var(--red); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav__link {
  position: relative;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding-block: .4rem;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--red-ink); }

.head-tools { display: flex; align-items: center; gap: .5rem; flex: none; }
.icon-btn {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  background: none; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover { border-color: var(--rule); color: var(--red-ink); }
.icon-btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
  :root[data-theme="light"] .icon-sun { display: none; }
  :root[data-theme="light"] .icon-moon { display: block; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  padding: .5rem .9rem; cursor: pointer;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--red); color: var(--red-ink); }
.nav-toggle__bars { display: grid; gap: 4px; width: 1rem; }
.nav-toggle__bars span { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: none; }
.progress span {
  display: block; height: 100%; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
}

@media (min-width: 58rem) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* --- Menu overlay -------------------------------------------------------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper);
  padding-top: calc(var(--head-h) + 2rem);
  overflow-y: auto;
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.menu[data-open="true"] { opacity: 1; }
.menu__list { display: grid; gap: .25rem; }
.menu__link {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'opsz' 144;
  font-size: clamp(2.4rem, 12vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-decoration: none;
  padding-block: .35rem;
  transition: color .2s var(--ease), transform .3s var(--ease);
}
.menu__link:hover, .menu__link:focus-visible { color: var(--red); transform: translateX(.35rem); }
.menu__foot { margin-top: 2.5rem; color: var(--ink-soft); font-size: .95rem; line-height: 2; }
.menu__foot a { color: var(--red-ink); text-decoration: none; border-bottom: 1px solid currentColor; }

/* --- Buttons and links --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: .85rem 1.6rem;
  background: none; color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn--primary { background: var(--band-bg); border-color: var(--band-bg); color: var(--band-fg); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--rule); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--red); color: var(--red-ink); }
.btn--on-red { background: var(--band-fg); border-color: var(--band-fg); color: var(--band-bg); }
.btn--on-red:hover, .btn--on-red:focus-visible { background: transparent; color: var(--band-fg); border-color: var(--band-fg); }
.link {
  color: var(--red-ink); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: opacity .2s var(--ease);
}
.link:hover { opacity: .6; }
.link--on-dark { color: var(--red-bright); }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero__name {
  color: var(--red);
  /* sized from the longest word (CHAKRAVORTY is 6.78em) so it can never
     overflow the gutters; the rem cap takes over once .wrap stops growing. */
  font-size: min(12.8vw, 9.8rem);
  line-height: .86;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__name span { display: block; }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr; align-items: end;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.hero__prop {
  font-family: var(--display);
  font-variation-settings: 'opsz' 110;
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -.01em;
  max-width: 24ch;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero__sub { color: var(--ink-soft); max-width: 42ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.hero__figure { position: relative; }
.hero__figure::after {
  content: ''; position: absolute; inset: auto -.75rem -.75rem auto;
  width: 58%; height: 42%; border: 1px solid var(--red); z-index: -1;
}
.hero__figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 52rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(13rem, .65fr); }
}

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-hero--tall { padding-block: clamp(4rem, 12vw, 9rem); }
.page-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--red);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.page-lede { margin-bottom: 0; }
.page-hero .hero__cta { margin-top: 2rem; }

/* --- Topic strip --------------------------------------------------------- */
.strip { border-block: 1px solid var(--rule); padding-block: 1.1rem; overflow: hidden; }
.strip__row {
  display: flex; align-items: center; gap: 2.25rem;
  font-family: var(--display);
  font-variation-settings: 'opsz' 60;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  white-space: nowrap; width: max-content;
  animation: slide 44s linear infinite;
}
.strip__dot { color: var(--red); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Capability grid (home) ---------------------------------------------- */
.caps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cap { background: var(--ink-deep); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.cap__num {
  font-family: var(--display); font-variation-settings: 'opsz' 60;
  font-size: .95rem; color: var(--red); margin-bottom: 1.5rem;
}
.cap__title {
  font-family: var(--display); font-variation-settings: 'opsz' 90;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.12; margin-bottom: .75rem;
}
.cap__body { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (min-width: 44rem) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .caps { grid-template-columns: repeat(4, 1fr); } }

/* --- Experience list ----------------------------------------------------- */
.xp li {
  display: grid; grid-template-columns: 1fr; gap: .3rem .5rem;
  padding-block: clamp(1.15rem, 2.6vw, 1.6rem);
  border-top: 1px solid var(--rule);
}
.xp li:last-child { border-bottom: 1px solid var(--rule); }
.xp__org {
  font-variation-settings: 'opsz' 90;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem); line-height: 1.1;
  transition: color .25s var(--ease);
}
.xp li:hover .xp__org { color: var(--red-ink); }
.xp__role { color: var(--ink-soft); font-size: .95rem; }
.xp__kind {
  display: inline-block; margin-left: .5rem;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-ink); border: 1px solid var(--rule); border-radius: 999px; padding: .15rem .55rem;
}
.xp__years { color: var(--ink-soft); font-size: .85rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
@media (min-width: 48rem) {
  .xp li { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) auto; align-items: baseline; gap: 2rem; }
  .xp__years { text-align: right; }
}

/* --- About teaser / about grid ------------------------------------------- */
.about-teaser, .about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
.about-teaser img, .about-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.big-answer {
  font-family: var(--display); font-variation-settings: 'opsz' 90;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem); line-height: 1.22;
  margin-bottom: 1.5rem; text-wrap: balance;
}
.big-answer em { font-style: italic; color: var(--red-ink); }
.big-answer--lead { font-size: clamp(1.4rem, 4vw, 2.3rem); max-width: 22ch; margin-bottom: 0; }
@media (min-width: 60rem) {
  .about-teaser { grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.25fr); }
  .about-grid { grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr); }
  .about-grid__figure { position: sticky; top: calc(var(--head-h) + 2rem); }
}

/* --- Pull quote ---------------------------------------------------------- */
.quote { background: var(--band-bg); color: var(--band-fg); padding-block: clamp(3.5rem, 9vw, 7rem); }
.quote__text {
  font-family: var(--display); font-variation-settings: 'opsz' 144;
  font-size: clamp(1.9rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em;
  max-width: 20ch; text-wrap: balance;
}
.quote__note { margin-top: 1.5rem; font-style: italic; }

/* --- Timeline (about) ---------------------------------------------------- */
.timeline { display: grid; }
.tl {
  display: grid; grid-template-columns: 1fr; gap: .5rem;
  padding-block: clamp(1.5rem, 3.5vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.tl:last-child { border-bottom: 1px solid var(--rule); }
.tl__years { color: var(--red-ink); font-size: .8rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; margin: 0; }
.tl__org { font-variation-settings: 'opsz' 90; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.1; margin-bottom: .35rem; }
.tl__role { color: var(--ink-soft); font-size: .9rem; letter-spacing: .02em; margin-bottom: .75rem; }
.tl__note { max-width: 58ch; margin: 0; }
@media (min-width: 48rem) { .tl { grid-template-columns: 9rem minmax(0, 1fr); gap: 2rem; } }

/* --- Traits / topics / ticks --------------------------------------------- */
.traits, .topics { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.trait h3, .topic h3 {
  font-family: var(--display); font-variation-settings: 'opsz' 72;
  font-size: 1.3rem; line-height: 1.15; margin-bottom: .6rem; color: var(--red-ink);
}
.trait p, .topic p { color: var(--ink-soft); margin: 0; max-width: 46ch; }
@media (min-width: 48rem) { .traits, .topics { grid-template-columns: repeat(3, 1fr); } }

.ticks { display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 1.6rem; max-width: 46ch; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: .8rem; height: 1px; background: var(--red);
}
.two-col { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 52rem) { .two-col { grid-template-columns: repeat(2, 1fr); } }

/* --- Services (work) ----------------------------------------------------- */
.services { display: grid; }
.svc {
  display: grid; grid-template-columns: 1fr; gap: .75rem;
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border-top: 1px solid var(--rule);
}
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc__num {
  font-family: var(--display); font-variation-settings: 'opsz' 60;
  color: var(--red-ink); font-size: .95rem; margin: 0;
}
.svc__title { font-variation-settings: 'opsz' 110; font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.08; margin-bottom: .75rem; }
.svc__lead { font-size: clamp(1.02rem, 1vw + .8rem, 1.2rem); max-width: 48ch; margin-bottom: 1.5rem; }
.svc__list { display: grid; gap: .7rem; color: var(--ink-soft); }
.svc__list li { position: relative; padding-left: 1.6rem; max-width: 52ch; }
.svc__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: .8rem; height: 1px; background: var(--red);
}
@media (min-width: 52rem) { .svc { grid-template-columns: 6rem minmax(0, 1fr); gap: 2rem; } }

/* --- Process steps ------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.step { background: var(--ink-deep); padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.step__num { color: var(--red); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.25rem; }
.step__title {
  font-family: var(--display); font-variation-settings: 'opsz' 90;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem); line-height: 1.12; margin-bottom: .85rem;
}
.step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 58rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* --- Post cards ---------------------------------------------------------- */
.post-card { border-top: 1px solid var(--rule); }
.posts > li:last-child .post-card { border-bottom: 1px solid var(--rule); }
.post-card a {
  display: grid; grid-template-columns: 1fr; gap: .75rem;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  text-decoration: none; align-items: start;
}
.post-card__title {
  font-variation-settings: 'opsz' 144;
  font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: .6rem; text-wrap: balance;
  transition: color .25s var(--ease);
}
.post-card a:hover .post-card__title, .post-card a:focus-visible .post-card__title { color: var(--red); }
.post-card p { color: var(--ink-soft); max-width: 56ch; margin: 0; }
.post-card__meta {
  display: flex; gap: .75rem; align-items: baseline; margin: 0;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.post-card__meta .cat { color: var(--red-ink); font-weight: 600; }
.post-card__more {
  margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--red-ink);
}
.post-card__more::after { content: ' →'; transition: margin-left .25s var(--ease); }
.post-card a:hover .post-card__more::after { margin-left: .3rem; }
@media (min-width: 52rem) {
  .post-card a { grid-template-columns: 9rem minmax(0, 1fr) 6rem; gap: 2.5rem; }
  .post-card__meta { flex-direction: column; gap: .4rem; }
  .post-card__more { text-align: right; }
}

/* --- CTA band ------------------------------------------------------------ */
.cta-band { background: var(--band-bg); color: var(--band-fg); padding-block: clamp(3rem, 7vw, 5.5rem); }
.cta-band__inner { display: grid; gap: 2rem; align-items: center; }
.cta-band__title {
  font-family: var(--display); font-variation-settings: 'opsz' 144;
  font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.04; letter-spacing: -.02em;
  max-width: 20ch; margin-bottom: .75rem; text-wrap: balance;
}
.cta-band__line { max-width: 46ch; margin: 0; }
.cta-band .btn { justify-self: start; }
@media (min-width: 52rem) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  .cta-band .btn { justify-self: end; }
}

/* --- Contact ------------------------------------------------------------- */
.contact-card { border: 1px solid var(--rule); padding: clamp(1.75rem, 5vw, 3.5rem); }
.contact-card__mail {
  font-variation-settings: 'opsz' 144;
  font-size: clamp(1.5rem, 5.6vw, 3.4rem); line-height: 1.05;
  color: var(--red); text-decoration: none; display: inline-block;
  word-break: break-word; border-bottom: 2px solid transparent;
  transition: border-color .3s var(--ease);
}
.contact-card__mail:hover, .contact-card__mail:focus-visible { border-bottom-color: var(--red); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; }
.contact-card__note { margin: 1rem 0 0; font-size: .85rem; color: var(--red-ink); min-height: 1.2em; }

/* --- Article ------------------------------------------------------------- */
.article { padding-block: clamp(2rem, 5vw, 3.5rem) var(--step); }
.article__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.article__title { font-size: clamp(2.1rem, 6vw, 4rem); line-height: .98; letter-spacing: -.02em; color: var(--red); margin-bottom: 1.25rem; max-width: 20ch; text-wrap: balance; }
.article__stand { font-size: clamp(1.05rem, 1vw + .8rem, 1.3rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.5rem; text-wrap: pretty; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.article__body { max-width: calc(var(--measure) + var(--gutter) * 2); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.article__body > p { margin-bottom: 1.5em; text-wrap: pretty; }
.article__body h2 {
  font-family: var(--display); font-variation-settings: 'opsz' 110;
  font-size: clamp(1.45rem, 3.4vw, 2rem); line-height: 1.12;
  margin: 2.5em 0 .8em; text-wrap: balance;
}
.article__body h3 { font-size: 1rem; font-weight: 600; letter-spacing: .02em; margin: 2em 0 .5em; color: var(--red-ink); }
.article__body blockquote {
  margin: 2em 0; padding: 1.25rem 0 1.25rem 1.75rem;
  border-left: 2px solid var(--red);
  font-family: var(--display); font-variation-settings: 'opsz' 60;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem); line-height: 1.45;
}
.article__body ul { margin: 0 0 1.5em; display: grid; gap: 1em; }
.article__body ul li { position: relative; padding-left: 1.6rem; }
.article__body ul li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: .8rem; height: 1px; background: var(--red);
}
.article__body .note { margin: 2.5em 0 0; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--red-wash); font-size: .95rem; }
.article__body .note strong { color: var(--red-ink); }
.article__sign {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  font-family: var(--display); font-style: italic; font-variation-settings: 'opsz' 72;
  font-size: 1.35rem; color: var(--red-ink);
}
.article__nav {
  display: grid; gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.article__nav a { text-decoration: none; max-width: 24rem; }
.article__nav span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .4rem; }
.article__nav strong {
  font-family: var(--display); font-variation-settings: 'opsz' 90;
  font-weight: 400; font-size: 1.15rem; line-height: 1.2;
  transition: color .25s var(--ease);
}
.article__nav a:hover strong { color: var(--red-ink); }
@media (min-width: 46rem) {
  .article__nav { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .article__nav .next { justify-self: end; text-align: right; }
}

/* --- Footer -------------------------------------------------------------- */
.site-foot { padding-block: clamp(3rem, 6vw, 5rem) 2rem; border-top: 1px solid var(--rule); }
.site-foot__top { display: grid; gap: clamp(2rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.site-foot__line { color: var(--ink-soft); max-width: 32ch; margin: 1.25rem 0 0; font-size: .95rem; }
.site-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foot-col h2 { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 1rem; }
.foot-col ul { display: grid; gap: .6rem; }
.foot-col a { font-size: .95rem; text-decoration: none; color: var(--ink); transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--red-ink); }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.site-foot__base small { color: var(--ink-soft); font-size: .78rem; letter-spacing: .04em; }
@media (min-width: 52rem) { .site-foot__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }

/* --- Back to top --------------------------------------------------------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 40;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
  opacity: 0; transform: translateY(.5rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.to-top[data-show="true"] { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--red); color: var(--red-ink); }
.to-top svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* --- Motion, focus, print ------------------------------------------------ */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .strip__row { animation: none; }
}

@media print {
  .site-head, .strip, .menu, .to-top, .article__nav, .cta-band, .site-foot__cols { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero__name, .page-title, .article__title, .sec-title, .contact-card__mail { color: #000; }
  .section--ink, .quote, .cta-band { background: #fff; color: #000; border-block: 1px solid #000; }
  a { text-decoration: underline; }
}

/* --- Draft notice and badge ---------------------------------------------- */
.draft-note {
  background: var(--red-wash);
  border-bottom: 1px solid var(--rule);
  padding-block: 1rem;
}
.draft-note p {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
  font-size: .9rem; color: var(--ink); max-width: 78rem;
}
.draft-note strong { color: var(--red-ink); letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.badge {
  display: inline-block;
  font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-ink); border: 1px solid currentColor; border-radius: 999px;
  padding: .1rem .5rem; line-height: 1.5;
}

/* --- Writing filters ----------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}
.filters__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.filters__set { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: baseline; gap: .4rem;
  background: none; cursor: pointer;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.chip:hover { border-color: var(--red); color: var(--red-ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip__n { font-size: .68rem; opacity: .65; font-variant-numeric: tabular-nums; }
.posts__empty { color: var(--ink-soft); padding-block: 2rem; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 0; }
.faq__item { border-top: 1px solid var(--rule); padding-block: clamp(1.25rem, 3vw, 1.85rem); }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__item h3 {
  font-family: var(--display); font-variation-settings: 'opsz' 72;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.15; margin-bottom: .5rem;
}
.faq__item p { color: var(--ink-soft); max-width: 62ch; margin: 0; }
@media (min-width: 60rem) {
  .faq__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem; align-items: start; }
  .faq__item h3 { margin-bottom: 0; }
}

/* --- Selected work ------------------------------------------------------- */
.cases { display: grid; }
.case {
  display: grid; grid-template-columns: 1fr; gap: .75rem;
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border-top: 1px solid var(--rule);
}
.case:last-child { border-bottom: 1px solid var(--rule); }
.case__kind {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-ink); margin: 0;
}
.case__title { font-variation-settings: 'opsz' 110; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.08; margin-bottom: .75rem; text-wrap: balance; }
.case__lead { font-size: clamp(1.02rem, 1vw + .8rem, 1.18rem); max-width: 54ch; margin-bottom: 1.5rem; }
.case__list { display: grid; gap: .7rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.case__list li { position: relative; padding-left: 1.6rem; max-width: 56ch; }
.case__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: .8rem; height: 1px; background: var(--red);
}
.case__note { max-width: 56ch; margin: 0; font-size: .97rem; }
.case__note strong { color: var(--red-ink); }
@media (min-width: 52rem) { .case { grid-template-columns: 14rem minmax(0, 1fr); gap: 2.5rem; } }

.disclosure {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper-2);
  border-left: 2px solid var(--red);
}
.disclosure p { max-width: 68ch; font-size: .97rem; }
.disclosure strong { color: var(--red-ink); }
.disclosure__cta { margin-top: 1.5rem; }

/* --- Work list (home) ---------------------------------------------------- */
.worklist { border-top: 1px solid var(--rule); }
.worklist li { border-bottom: 1px solid var(--rule); }
.worklist a {
  display: grid; gap: .35rem; padding-block: 1.1rem; text-decoration: none;
  transition: color .25s var(--ease);
}
.worklist__kind { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.worklist__title {
  font-family: var(--display); font-variation-settings: 'opsz' 90;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.15;
}
.worklist a:hover .worklist__title, .worklist a:focus-visible .worklist__title { color: var(--red); }
.worklist__note { margin-top: 1.5rem; font-size: .88rem; color: var(--ink-soft); }
@media (min-width: 46rem) {
  .worklist a { grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; align-items: baseline; }
}

/* --- Facts row ----------------------------------------------------------- */
.facts { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem); }
.facts__list { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.facts__list li {
  display: flex; align-items: baseline; gap: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--rule);
}
.facts__n {
  font-variation-settings: 'opsz' 144;
  font-size: clamp(2.5rem, 6vw, 4rem); line-height: .8;
  color: var(--red); flex: none; min-width: 2ch;
}
.facts__k { color: var(--ink-soft); font-size: .92rem; line-height: 1.35; max-width: 26ch; }
@media (min-width: 48rem) { .facts__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* --- FAQ accordion ------------------------------------------------------- */
details.faq__item { display: block; border-top: 1px solid var(--rule); }
.faq li:last-child details.faq__item { border-bottom: 1px solid var(--rule); }
details.faq__item summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding-block: clamp(1.1rem, 2.6vw, 1.5rem);
  cursor: pointer; list-style: none;
  font-family: var(--display); font-variation-settings: 'opsz' 72;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.2;
  transition: color .25s var(--ease);
}
details.faq__item summary::-webkit-details-marker { display: none; }
details.faq__item summary::after {
  content: '+'; flex: none;
  font-family: var(--body); font-size: 1.1rem; color: var(--red-ink);
  transition: transform .3s var(--ease);
}
details.faq__item[open] summary::after { transform: rotate(45deg); }
details.faq__item summary:hover { color: var(--red-ink); }
.faq__a { padding-bottom: clamp(1.1rem, 2.6vw, 1.5rem); }
.faq__a p { color: var(--ink-soft); max-width: 62ch; margin: 0; }
@media (min-width: 60rem) {
  details.faq__item summary { padding-right: 2rem; }
  .faq__a { max-width: 62ch; }
}

/* --- Images earn a little life ------------------------------------------ */
.hero__figure, .about-teaser__figure, .about-grid__figure { overflow: hidden; }
.hero__figure img, .about-teaser__figure img, .about-grid__figure img {
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.hero__figure:hover img, .about-teaser__figure:hover img, .about-grid__figure:hover img {
  transform: scale(1.03);
}

/* --- Cards lift on hover ------------------------------------------------- */
.cap, .step { transition: background-color .3s var(--ease); }
.cap:hover, .step:hover { background: #1f1814; }
.worklist a { transition: padding-left .3s var(--ease); }
.worklist a:hover { padding-left: .5rem; }

/* --- Fold-away detail ---------------------------------------------------- */
details.reveal-list { margin-top: .25rem; }
details.reveal-list summary {
  display: inline-flex; align-items: center; gap: .5rem;
  cursor: pointer; list-style: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-ink);
  padding-block: .35rem;
  transition: opacity .2s var(--ease);
}
details.reveal-list summary::-webkit-details-marker { display: none; }
details.reveal-list summary::after {
  content: '+'; font-size: .95rem; letter-spacing: 0;
  transition: transform .3s var(--ease);
}
details.reveal-list[open] summary::after { transform: rotate(45deg); }
details.reveal-list summary:hover { opacity: .65; }
details.reveal-list .svc__list { margin-top: 1rem; }
