/* tarunverma.com — one stylesheet, no build step.
   Palette by colour psychology: paper (calm), forest (nature, trust),
   saffron (curiosity, Rajasthan light), sky (openness). Light only. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* rough-notation's keyframes live here so the CSP needs no inline styles */
@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }

:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-2: #efe9db;
  --card: rgba(255, 253, 247, 0.62);
  --ink: #1f2a24;
  --ink-2: #4b564f;
  --ink-3: #5f675f;
  --rule: #d9d1bf;
  --forest: #23704f;
  --forest-ink: #1b5a3f;
  --mint: #a9dcc3;
  --saffron: #d2811a;
  --saffron-soft: #f6d9a8;
  --saffron-ink: #9c5b0b; /* saffron for text: 4.9:1 on paper. Bright --saffron is decoration only */
  --sky: #cfe3ee;
  --plum: #8a4f7d;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --measure: 38rem;
  --radius: 22px;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 30px -18px rgba(31,42,36,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 12% -10%, #fbf0dc 0%, transparent 60%),
    radial-gradient(900px 520px at 100% 0%, #e3f0ea 0%, transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.18rem);
  line-height: 1.62;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--mint); text-decoration-thickness: .16em; text-underline-offset: .18em; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
a:hover { color: var(--forest-ink); text-decoration-color: var(--forest); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: .5rem .9rem; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- header: liquid-glass bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(247, 243, 234, 0.72);
  border-bottom: 1.5px solid var(--ink);
}
.site-header .inner { max-width: 72rem; margin: 0 auto; padding: .9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: var(--display); font-size: 1.45rem; font-weight: 460; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; gap: clamp(.8rem, 2.4vw, 1.8rem); align-items: center; }
.nav a { text-decoration: none; font-size: 1.02rem; padding: .2rem 0; border-bottom: 1.5px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav a:hover { border-bottom-color: var(--forest); color: var(--ink); }
@media (max-width: 640px) {
  .site-header .inner { flex-direction: column; align-items: flex-start; gap: .35rem; padding: .7rem 16px; }
  .nav { gap: 1.1rem; overflow-x: auto; max-width: 100%; }
  .wordmark { font-size: 1.3rem; }
}

main { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (max-width: 640px) { main { padding: 0 16px; } }

/* ---------- hero: the Mila-style title with a highlighter stroke ---------- */
.hero { text-align: center; padding: clamp(2.8rem, 7vw, 5rem) 0 1.4rem; }
.hero h1 {
  display: inline;
  font-family: var(--display);
  font-weight: 420;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -.022em;
  background-image: linear-gradient(transparent 78%, var(--mint) 78%, var(--mint) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .thesis { font-style: italic; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-2); margin: 1.3rem auto 0; max-width: 36rem; }
.page-hero { padding-bottom: .5rem; }

/* ---------- intro: round image + first-person text ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.8rem, 5vw, 4.2rem); align-items: start; padding: 2.4rem 0 1rem; }
.portrait { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -35px rgba(31,42,36,.55); background: var(--sky); }
.portrait svg, .portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-wrap { position: sticky; top: 6.5rem; }
.portrait-note { font-family: var(--hand); font-size: 1.35rem; color: var(--ink-2); text-align: center; margin-top: .8rem; transform: rotate(-2deg); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.05em; }
.prose .lede { font-size: 1.08em; }
.name-accent { color: var(--plum); font-weight: 560; }
.contact-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .9rem; border-radius: 999px;
  background: var(--card); border: 1px solid rgba(31,42,36,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-decoration: none; font-size: .95rem; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.chip:hover { transform: translateY(-2px); background: #fffdf6; color: var(--ink); }
.chip svg { width: 1.05em; height: 1.05em; }
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; }
  .portrait-wrap { position: static; max-width: 13.5rem; margin: 0 auto; }
}

/* ---------- section labels: ~ like this ~ ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.2rem) 0 0; }
.tilde { text-align: center; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 1.8rem; color: var(--ink); }
.tilde::before, .tilde::after { content: "~"; color: var(--saffron); margin: 0 .45em; font-style: normal; }
.section-intro { text-align: center; color: var(--ink-2); max-width: 36rem; margin: -1rem auto 2rem; }

/* ---------- news list ---------- */
.news { max-width: 46rem; margin: 0 auto; padding: 0; list-style: none; }
.news li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .95rem 0; border-top: 1px dashed var(--rule); }
.news li:last-child { border-bottom: 1px dashed var(--rule); }
.news time { font-family: var(--hand); font-size: 1.28rem; color: var(--saffron); line-height: 1.3; }
.news .kind { display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-right: .4rem; font-family: var(--body); font-weight: 600; }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- glass cards ---------- */
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.card {
  position: relative; padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid rgba(255,255,255,.85);
  outline: 1px solid rgba(31,42,36,.08);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 22px 40px -24px rgba(31,42,36,.4); }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 1.32rem; line-height: 1.25; margin: .2rem 0 .5rem; letter-spacing: -.01em; }
.card p { margin: 0 0 .7rem; color: var(--ink-2); font-size: .98em; }
.card .eyebrow { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--forest); }
.card .more { font-weight: 560; text-decoration-color: var(--saffron-soft); }
.card .icon { width: 2.4rem; height: 2.4rem; color: var(--forest); margin-bottom: .6rem; }
.card.accent-saffron .eyebrow, .card.accent-saffron .icon { color: var(--saffron); }
.card.accent-plum .eyebrow, .card.accent-plum .icon { color: var(--plum); }
.card.accent-sky .eyebrow, .card.accent-sky .icon { color: #2d6c8f; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: .6rem 0 0; list-style: none; }
.tags li { font-size: .78rem; padding: .16rem .55rem; border-radius: 999px; background: rgba(35,112,79,.08); color: var(--forest-ink); }

/* ---------- project features (work page) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.4rem, 4vw, 3rem); padding: 2.2rem 0; border-top: 1px solid var(--rule); align-items: start; }
.feature:first-of-type { border-top: 0; }
.feature .meta { position: sticky; top: 6.5rem; }
.feature h2 { font-family: var(--display); font-weight: 450; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); line-height: 1.12; margin: .25rem 0 .6rem; letter-spacing: -.018em; }
.feature .role { color: var(--ink-3); font-size: .95rem; margin: 0; }
.feature figure { margin: 1.2rem 0 0; }
.feature figure img, .feature figure svg { border-radius: 14px; box-shadow: var(--shadow); }
.feature figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .5rem; }
.feature .links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; padding: 0; list-style: none; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.2rem 0 .4rem; padding: 0; list-style: none; }
.stat-row li { min-width: 6.5rem; }
.stat-row b { display: block; font-family: var(--display); font-weight: 460; font-size: 1.9rem; line-height: 1; color: var(--forest-ink); letter-spacing: -.02em; }
.stat-row span { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature .meta { position: static; } }

/* ---------- quotes ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-weight: 380; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.quote blockquote::before { content: "\201C"; font-size: 3rem; line-height: 0; vertical-align: -.45em; color: var(--saffron); margin-right: .1em; font-style: normal; }
.quote figcaption { margin-top: .9rem; font-size: .92rem; color: var(--ink-2); }
.quote figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- timeline (journey) ---------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 50rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.4rem; top: .6rem; bottom: .6rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--rule) 0 6px, transparent 6px 12px); }
.timeline li { display: grid; grid-template-columns: 6.6rem 1fr; gap: 2rem; padding: 0 0 2rem; position: relative; }
.timeline li::after { content: ""; position: absolute; left: calc(7.4rem - 6px); top: .55rem; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--forest); }
.timeline .when { font-family: var(--hand); font-size: 1.35rem; color: var(--saffron); text-align: right; line-height: 1.3; }
.timeline h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 0 0 .3rem; line-height: 1.3; }
.timeline p { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: .1rem; padding-left: 2rem; }
  .timeline li::after { left: 0; }
  .timeline .when { text-align: left; }
}

/* ---------- life list: off the clock ---------- */
.life { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.life .card h3 { font-size: 1.18rem; }
.hand-note { font-family: var(--hand); font-size: 1.45rem; color: var(--forest-ink); line-height: 1.25; }

/* ---------- field journal: the gameful layer ---------- */
.spot {
  display: inline-flex; vertical-align: -.28em; width: 1.55em; height: 1.55em; padding: .18em; margin: 0 .12em;
  border-radius: 50%; border: 1.5px dashed var(--saffron); background: rgba(246,217,168,.35);
  color: var(--saffron); cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  font: inherit;
}
.spot svg { width: 100%; height: 100%; }
.spot:hover { transform: rotate(-8deg) scale(1.12); }
.spot[aria-pressed="true"] { border-style: solid; border-color: var(--forest); background: rgba(169,220,195,.55); color: var(--forest-ink); }
.spot.pop { animation: spot-pop .6s var(--ease); }
@keyframes spot-pop { 40% { transform: scale(1.45) rotate(8deg); } }

.journal-btn {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem .6rem .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.9);
  outline: 1px solid rgba(31,42,36,.12);
  background: rgba(255,253,247,.72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 16px 36px -20px rgba(31,42,36,.55); font: 600 .92rem/1 var(--body); color: var(--ink); cursor: pointer;
  transition: transform .3s var(--ease);
}
.journal-btn:hover { transform: translateY(-2px); }
.journal-btn svg { width: 1.3rem; height: 1.3rem; color: var(--forest); }
.journal-btn .count { font-family: var(--hand); font-size: 1.3rem; font-weight: 600; color: var(--saffron); }
.journal-btn.bump { animation: spot-pop .6s var(--ease); }

.journal {
  position: fixed; right: 16px; bottom: 76px; z-index: 31; width: min(24rem, calc(100vw - 32px)); max-height: min(34rem, 70vh); overflow: auto;
  padding: 1.2rem 1.25rem; border-radius: 20px; border: 1px solid rgba(255,255,255,.9); outline: 1px solid rgba(31,42,36,.12);
  background: rgba(252,249,241,.9); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 60px -30px rgba(31,42,36,.6);
  transform-origin: bottom right; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.journal[hidden] { display: block; opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; visibility: hidden; }
.journal h2 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 0 0 .2rem; }
.journal .how { font-size: .9rem; color: var(--ink-2); margin: 0 0 .9rem; }
.journal ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.journal li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .7rem; align-items: start; font-size: .9rem; color: var(--ink-2); }
.journal li .g { width: 2.2rem; height: 2.2rem; padding: .35rem; border-radius: 50%; border: 1.5px dashed var(--rule); color: var(--ink-3); }
.journal li.seen .g { border: 1.5px solid var(--forest); color: var(--forest-ink); background: rgba(169,220,195,.45); }
.journal li b { display: block; color: var(--ink); font-weight: 600; }
.journal li:not(.seen) .note { filter: blur(3.5px); user-select: none; }
.journal li:not(.seen) b { color: var(--ink-3); }
.journal .done { font-family: var(--hand); font-size: 1.35rem; color: var(--forest-ink); margin: 1rem 0 0; line-height: 1.25; }
.journal .reset { margin-top: .8rem; background: none; border: 0; padding: 0; font: inherit; font-size: .82rem; color: var(--ink-3); text-decoration: underline; cursor: pointer; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(4rem, 9vw, 6.5rem); border-top: 1.5px solid var(--ink); }
.site-footer .inner { max-width: 72rem; margin: 0 auto; padding: 2rem 1.25rem 6rem; display: grid; gap: 1.2rem; grid-template-columns: 1fr auto; align-items: end; color: var(--ink-2); font-size: .92rem; }
.site-footer .sign { font-family: var(--hand); font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.site-footer nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
@media (max-width: 640px) { .site-footer .inner { grid-template-columns: 1fr; padding: 2rem 16px 6rem; } }

/* ---------- utilities ---------- */
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.pubs { list-style: none; padding: 0; margin: 0 auto; max-width: 48rem; display: grid; gap: 1.1rem; }
.pubs li { padding: 1.1rem 1.25rem; }
.pubs .status { display: inline-block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: var(--saffron); margin-bottom: .3rem; }
.pubs cite { font-style: italic; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose.centered { margin: 0 auto; }
.eyebrow { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--forest); }
.eyebrow-wrap { margin: 0; }
[data-mark="circle"] { white-space: nowrap; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Polish pass, Sept 2026
   ========================================================= */

/* Text that was bright saffron fails contrast; keep saffron for marks, use ink-saffron for words */
.news time, .journal-btn .count, .pubs .status, .timeline .when, .card.accent-saffron .eyebrow { color: var(--saffron-ink); }

/* Only things you can click should move */
.card:hover { transform: none; box-shadow: var(--shadow); }

/* ---------- foci: an editorial 2×2, not a feature-card row ---------- */
.foci { list-style: none; margin: 0 auto; padding: 0; max-width: 60rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.foci li { position: relative; padding: 1.5rem 0 1.6rem 3.2rem; border-top: 1px solid var(--rule); }
.foci li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
.foci-n { position: absolute; left: 0; top: 1.35rem; font-family: var(--hand); font-size: 1.7rem; line-height: 1; color: var(--forest); }
.foci h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin: 0 0 .45rem; letter-spacing: -.01em; }
.foci p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .foci { grid-template-columns: 1fr; } .foci li:nth-last-child(2) { border-bottom: 0; } }

/* ---------- index of work: whole-row links ---------- */
.index { list-style: none; margin: 0 auto; padding: 0; max-width: 64rem; border-top: 1.5px solid var(--ink); }
.index-row {
  display: grid; grid-template-columns: 5.5rem minmax(10rem, 15rem) 1fr 7rem 1.5rem; gap: 1.25rem; align-items: baseline;
  padding: 1.15rem .75rem; border-bottom: 1px solid var(--rule); text-decoration: none; border-radius: 0;
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.index-row:hover, .index-row:focus-visible { background: rgba(169,220,195,.28); color: var(--ink); padding-left: 1.1rem; }
.ix-year { font-family: var(--hand); font-size: 1.3rem; color: var(--saffron-ink); line-height: 1; }
.ix-name { font-family: var(--display); font-size: 1.45rem; font-weight: 480; letter-spacing: -.015em; line-height: 1.2; }
.ix-line { color: var(--ink-2); font-size: .98rem; }
.ix-kind { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 650; color: var(--forest); text-align: right; }
.ix-arrow { color: var(--forest); transition: transform .3s var(--ease); justify-self: end; }
.index-row:hover .ix-arrow, .index-row:focus-visible .ix-arrow { transform: translateX(5px); }
@media (max-width: 820px) {
  .index-row { grid-template-columns: 1fr auto; grid-template-areas: "year kind" "name name" "line line"; gap: .25rem .75rem; padding: 1rem .25rem; }
  .ix-year { grid-area: year; } .ix-kind { grid-area: kind; } .ix-name { grid-area: name; } .ix-line { grid-area: line; } .ix-arrow { display: none; }
  .index-row:hover, .index-row:focus-visible { padding-left: .5rem; }
}

/* ---------- featured pull quote ---------- */
.pull { margin: 0 auto 2.6rem; max-width: 46rem; text-align: center; }
.pull blockquote { margin: 0; font-family: var(--display); font-style: italic; font-weight: 360; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem); line-height: 1.38; letter-spacing: -.01em; }
.pull blockquote em { font-style: normal; }
.pull blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--saffron); font-style: normal; margin-bottom: .4rem; }
.pull figcaption { margin-top: 1.2rem; color: var(--ink-2); font-size: .95rem; }
.pull figcaption b { color: var(--ink); font-weight: 600; }
.quotes-minor .quote { padding: 0 0 0 1.25rem; border-left: 2px solid var(--mint); }
.quotes-minor .quote blockquote { font-size: 1.08rem; }
.quotes-minor .quote blockquote::before { content: none; }

/* ---------- photo figure (journey) ---------- */
.photo-band { margin: 0 auto 2.2rem; max-width: 45rem; }
.photo-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -40px rgba(31,42,36,.6); }
.photo-band figcaption { margin-top: .6rem; font-size: .88rem; color: var(--ink-3); text-align: center; }

/* ---------- native page transitions (2026 browsers; others just navigate) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- print: a clean one-column CV-like page ---------- */
@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .journal-btn, .journal, .skip, .portrait-wrap, .site-footer nav, .spot, .ix-arrow { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .intro { grid-template-columns: 1fr; }
  .card, .chip { box-shadow: none; backdrop-filter: none; background: none; border: 1px solid #ccc; }
  a { text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .rough-annotation { display: none; }
}
.pull blockquote p { margin: 0; }
.pull blockquote::before { margin-bottom: .1rem; }
/* On phones the journal pill hid a line of text on every screen: shrink it to an icon and count */
@media (max-width: 640px) {
  .journal-btn { padding: .55rem .7rem; gap: .35rem; right: 12px; bottom: 12px; }
  .journal-btn > span:not(.count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .journal { right: 12px; bottom: 64px; }
}

/* ---------- work page: jump links, framed interfaces, partners, why-it-matters ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.6rem auto .4rem; max-width: 52rem; }
.jump a { font-size: .9rem; text-decoration: none; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--rule); background: rgba(255,253,247,.6); transition: background .2s var(--ease), border-color .2s var(--ease); }
.jump a:hover { background: #fffdf6; border-color: var(--forest); color: var(--ink); }
.feature { scroll-margin-top: 5.5rem; }

.shot { margin: 0 0 1.4rem; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 50px -30px rgba(31,42,36,.55); outline: 1px solid rgba(31,42,36,.1); }
.shot-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: #efeadf; border-bottom: 1px solid var(--rule); }
.shot-bar i { width: .62rem; height: .62rem; border-radius: 50%; background: #d8cfbd; }
.shot-bar span { margin-left: .6rem; font-size: .76rem; color: var(--ink-3); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.feature .shot img { border-radius: 0; box-shadow: none; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); outline: 1px solid rgba(31,42,36,.08); }
.pair figcaption { font-size: .82rem; color: var(--ink-3); margin-top: .4rem; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

.why { margin: 1.2rem 0 0; padding: .9rem 1.1rem; border-left: 3px solid var(--forest); background: rgba(169,220,195,.18); border-radius: 0 12px 12px 0; }
.why b { color: var(--forest-ink); }

.partners { margin: 1.5rem 0 .4rem; padding: 1.1rem 0 .2rem; border-top: 1px dashed var(--rule); display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; align-items: flex-start; }
.partner-group p { margin: 0 0 .55rem; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 650; color: var(--ink-3); }
.partner-group ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.partner-group img { height: 44px; width: auto; max-width: 190px; object-fit: contain; border-radius: 0; box-shadow: none; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.partner-group img[src*="unep"] { height: 58px; }
.partner-group img[src*="wwf"] { height: 52px; }
.partner-group img[src*="atree"] { height: 56px; max-width: 280px; }
.partners:hover img, .partners:focus-within img { filter: none; opacity: 1; }
.partner-text { font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.partners-note { flex-basis: 100%; margin: .2rem 0 0; font-size: .76rem; color: var(--ink-3); }
.partners-inline { border-top: 0; margin-top: 1rem; padding-top: 0; }
.feature .meta .partner-group img { border-radius: 0; box-shadow: none; }
@media (hover: none) { .partner-group img { filter: none; opacity: 1; } }

/* ---------- the film ---------- */
.film { margin: 2rem auto 1rem; max-width: 60rem; }
.film video { width: 100%; height: auto; display: block; border-radius: 16px; background: var(--paper-2); box-shadow: 0 30px 60px -36px rgba(31,42,36,.6); outline: 1px solid rgba(31,42,36,.1); }
.film figcaption { margin-top: .7rem; text-align: center; font-size: .9rem; color: var(--ink-3); }
