/* Shashwita Verma portfolio. Light mode only, sunflower yellow. */
:root {
  color-scheme: light only;
  --paper: #fff8e1;
  --butter: #ffefa6;
  --sun: #ffd02e;
  --sun-deep: #f5b800;
  --amber: #d98e00;
  --ink: #2b1d08;
  --ink-soft: #5a4420;
  --seed: #5a3510;
  --leaf: #4f6b1f;
  --line: rgba(43, 29, 8, 0.16);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --header-h: 108px;
  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 4px 4px 0 var(--ink);
}
@media (min-width: 720px) { :root { --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--ff-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h4 { font-family: var(--ff-body); font-weight: 800; letter-spacing: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 7px var(--sun); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4rem; border: 2px solid var(--ink); border-radius: 999px;
  font: 700 1rem/1 var(--ff-body); text-decoration: none; cursor: pointer; color: var(--ink); background: transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn--sun { background: var(--sun); box-shadow: var(--shadow); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--sun-deep); }
.btn--line { background: var(--paper); }
.btn:hover { transform: translate(-2px, -2px); }
.btn--sun:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--sun-deep); }
.btn--line:hover { background: var(--butter); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 225, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); padding-top: env(safe-area-inset-top); }
.site-header__inner {
  max-width: var(--max); margin-inline: auto; padding: .6rem var(--pad);
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand resume" "nav nav"; align-items: center; gap: .1rem .75rem;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.brand__flower { width: 34px; height: 34px; flex: none; transition: transform .6s ease; }
.brand:hover .brand__flower { transform: rotate(90deg); }
.brand__name { font: 700 1.2rem/1 var(--ff-display); letter-spacing: -0.01em; }
.site-nav { grid-area: nav; display: flex; gap: .25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav a.is-section { background: var(--sun); }
.btn--resume { grid-area: resume; min-height: 44px; padding: 0 1.1rem; font-size: .95rem; white-space: nowrap; }
@media (min-width: 720px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav resume"; gap: 1.5rem; padding-block: .55rem; }
  .site-nav { justify-content: center; gap: .5rem; }
}

/* ---------- petals ---------- */
.petals { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.petal { opacity: .88; position: absolute; top: -14vh; left: var(--x); width: var(--s); height: calc(var(--s) * 2.25); animation: fall var(--dur) linear var(--delay) infinite; will-change: transform; }
.petal svg { width: 100%; height: 100%; display: block; animation: sway var(--sway) ease-in-out var(--delay) infinite alternate; transform-origin: 50% 20%; filter: drop-shadow(0 2px 2px rgba(122, 74, 22, .18)); }
@keyframes fall { from { transform: translate3d(0, -10vh, 0); } to { transform: translate3d(var(--drift), 118vh, 0); } }
@keyframes sway { from { transform: translateX(-26px) rotate(-40deg) rotateY(0deg); } to { transform: translateX(26px) rotate(45deg) rotateY(160deg); } }
.petal--burst { top: 0; left: 0; animation: none; }
@media (prefers-reduced-motion: reduce) { .petals { display: none; } }

/* ---------- common bits ---------- */
.kicker { font: 800 .78rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.1rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--seed); box-shadow: 0 0 0 4px var(--sun); flex: none; }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.section-head__sub { margin: 1.1rem 0 0; font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 .95rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .88rem; }
.chip--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.marker { background: linear-gradient(transparent 56%, var(--sun) 56%, var(--sun) 92%, transparent 92%); padding: 0 .08em; margin: 0 -.08em; background-size: 0% 100%; background-repeat: no-repeat; animation: marker 1s .5s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes marker { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .marker { animation: none; background-size: 100% 100%; } }

/* reveal on scroll (only when JS ran and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- section rail ---------- */
.rail { display: none; }
@media (min-width: 1360px) {
  .rail { position: fixed; right: 1.1rem; top: 50%; translate: 0 -50%; z-index: 45; display: flex; flex-direction: column; gap: 0; }
  .rail a { width: 28px; height: 28px; display: grid; place-items: center; }
  .rail a::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); transition: transform .2s, background-color .2s; }
  .rail a:hover::before { background: var(--sun); }
  .rail a.is-active::before { background: var(--ink); transform: scale(1.35); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 8vw, 7rem); padding-bottom: max(clamp(3rem, 8vw, 7rem), 64vw); background: radial-gradient(ellipse 60% 70% at 85% 40%, var(--butter), transparent 70%), var(--paper); min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero__inner { position: relative; z-index: 2; }
.hero__title { font-size: clamp(3.4rem, 13.5vw, 11rem); line-height: .88; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 1.6rem; }
.hero__first, .hero__last { display: block; }
.hero__lead { font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.4; max-width: 32rem; margin: 0 0 2rem; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }
.hero__flower { position: absolute; z-index: 1; right: -24vw; bottom: -16vw; width: min(82vw, 520px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.hero__flower-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(8px 14px 0 rgba(122, 74, 22, .12)); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.has-gsap) .hero__flower-svg { transform: rotate(calc(var(--sy, 0) * .07deg)); transition: transform .2s linear; }
  .hero__flower:hover .hero__flower-svg { filter: drop-shadow(8px 14px 0 rgba(122, 74, 22, .2)) brightness(1.04); }
}
@media (min-width: 900px) {
  .hero { padding-bottom: clamp(3rem, 8vw, 7rem); }
  .hero__flower { right: -11vw; bottom: auto; top: 50%; translate: 0 -50%; width: min(58vw, 780px); }
}

/* ---------- ticker ---------- */
.ticker { background: var(--sun); border-block: 2px solid var(--ink); overflow: hidden; padding: .85rem 0; }
.ticker__track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker__list { display: flex; list-style: none; flex: none; }
.ticker__list li { font: 600 clamp(1.1rem, 2.4vw, 1.6rem)/1 var(--ff-display); white-space: nowrap; padding-right: 1.6rem; display: inline-flex; align-items: center; gap: 1.6rem; }
.ticker__list li::after { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: var(--seed); box-shadow: 0 0 0 4px var(--paper); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; } .ticker__list[aria-hidden], .ticker__list + .ticker__list { display: none; } .ticker__list { flex-wrap: wrap; row-gap: .6rem; padding-inline: var(--pad); } }

/* ---------- work ---------- */
.work { background: var(--sun); padding: clamp(3.5rem, 9vw, 7rem) 0; position: relative; }
.work .kicker::before { background: var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.work .section-head__sub { color: var(--ink); }
.cases { list-style: none; display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.case-card {
  position: relative; display: grid; gap: 1rem 1.5rem; padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow);
  grid-template-columns: 1fr; transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover, .case-card:focus-within { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.case-card__no { font: 600 clamp(2.6rem, 6vw, 4.2rem)/1 var(--ff-display); color: transparent; -webkit-text-stroke: 2px var(--ink); }
.case-card__art { width: min(100%, 220px); height: auto; aspect-ratio: 220 / 150; background: var(--butter); border-radius: 18px; border: 2px solid var(--ink); padding: .5rem; }
.case-card__meta { font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--ink-soft); margin: 0 0 .6rem; }
.case-card h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .7rem; }
.case-card__link { text-decoration: none; }
.case-card__link::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.case-card__link:focus-visible { outline: none; box-shadow: none; }
.case-card:has(.case-card__link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.case-card__body p:not([class]) { max-width: 36rem; margin-bottom: .8rem; }
.case-card__role { font-size: .95rem; margin: 0; }
.case-card__go { position: absolute; right: clamp(1.25rem, 3vw, 2rem); top: clamp(1.25rem, 3vw, 2rem); width: 52px; height: 52px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); border-radius: 50%; font-size: 1.5rem; font-weight: 700; transition: transform .25s ease, background-color .25s; }
.case-card:hover .case-card__go { transform: rotate(-45deg); background: var(--ink); color: var(--paper); }
@media (min-width: 860px) {
  .case-card { grid-template-columns: auto 220px 1fr; align-items: center; padding-right: 5.5rem; }
  .case-card__go { top: 50%; translate: 0 -50%; }
  .case-card__no { width: 1.5ch; }
}

/* ---------- study (sticky narrative) ---------- */
.study { padding: clamp(3.5rem, 9vw, 7rem) 0; background: var(--paper); position: relative; }
.study__grid { display: grid; gap: 2rem; }
.study__stage { display: none; }
.study__steps { list-style: none; display: grid; gap: 1.2rem; counter-reset: s; }
.step { background: var(--butter); border: 2px solid var(--ink); border-radius: 22px; padding: 1.4rem 1.5rem 1.2rem; }
.step__no { font: 800 .75rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .7rem; }
.step h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .6rem; }
.step p:last-child { margin: 0; }
.study__more { margin: 2.5rem 0 0; }
@media (min-width: 900px) {
  .js .study__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .js .study__stage { display: block; position: sticky; top: calc(var(--header-h) + 2rem); }
  .js .study__steps { gap: 0; }
  .js .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; background: transparent; border: 0; border-radius: 0; padding: 1rem 0; opacity: .38; transition: opacity .45s ease; }
  .js .step.is-active { opacity: 1; }
  .js .step h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
  .js .step p { font-size: 1.15rem; max-width: 30rem; }
}
.stage-card { background: var(--sun); border: 2px solid var(--ink); border-radius: 32px; padding: 1.6rem; box-shadow: var(--shadow); }
.stage-svg { width: 100%; height: auto; display: block; }
.stage-caption { margin: 1rem 0 0; font-weight: 700; font-size: .9rem; text-align: center; }
.stage-svg .st { opacity: 0; transition: opacity .45s ease, transform .45s ease; transform: translateY(10px); }
[data-active="1"] .st--1, [data-active="2"] .st--2, [data-active="3"] .st--3, [data-active="4"] .st--4, [data-active="5"] .st--5 { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .stage-svg .st, .js .step { transition: none; } }

/* ---------- about ---------- */
.about { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 4rem); background: var(--butter); border-top: 2px solid var(--ink); }
.about__grid { display: grid; gap: 2rem; }
.about__grid h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.about__text { font-size: 1.15rem; }
.about__h { font: 800 .8rem/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; }
.about__facts p { margin-bottom: 1.6rem; }
.plain-list { list-style: none; display: grid; gap: .6rem; }
.plain-list li { position: relative; padding-left: 1.5rem; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .65rem; height: .65rem; border-radius: 50%; background: var(--seed); box-shadow: 0 0 0 3px var(--sun); }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 3rem; align-items: start; } }
.skills { margin-top: clamp(2.5rem, 6vw, 4rem); }
.skills__title { font-size: 1.5rem; margin-bottom: 1.4rem; }
.skills__grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.skills__grid h4 { margin-bottom: .8rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { padding: .3rem .8rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--paper); line-height: 1.3; }

/* ---------- journey map ---------- */
.journey { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem); background-color: var(--butter); background-image: linear-gradient(rgba(43,29,8,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(43,29,8,.07) 1px, transparent 1px); background-size: 44px 44px; border-top: 2px solid var(--ink); }
.journey::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, transparent 40%, var(--butter) 100%); pointer-events: none; opacity: .6; }
.journey > .wrap { position: relative; }
.map { position: relative; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.html-no-js .map__svg { display: none; }
.map__compass { position: absolute; right: 0; top: -2.5rem; width: 84px; opacity: .9; display: none; }
@media (min-width: 720px) { .map__compass { display: block; } }
.stops { list-style: none; position: relative; z-index: 2; display: grid; gap: clamp(1.8rem, 5vw, 3.2rem); padding-left: 0; }
.stop { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.stop__pin { width: 40px; height: 40px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--paper); border: 3px solid var(--ink); display: grid; place-items: center; margin-top: .6rem; transition: background-color .4s ease, transform .4s ease; flex: none; }
.stop__pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.stop.is-reached .stop__pin { background: var(--sun); transform: scale(1.12); }
html:not(.js) .stop__pin { background: var(--sun); }
.stop__card { background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: 1.25rem 1.4rem 1rem; box-shadow: var(--shadow); max-width: 30rem; }
.stop__when { font: 800 .8rem/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .6rem; display: inline-block; background: var(--sun); padding: .35rem .7rem; border-radius: 999px; border: 2px solid var(--ink); }
.stop__card h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: .35rem; }
.stop__place { font-weight: 700; color: var(--ink-soft); font-size: .95rem; margin-bottom: .6rem; }
.stop__card p:last-child { margin-bottom: .4rem; font-size: 1rem; }
.stop--here .stop__card { background: var(--sun); }
.stop--here .stop__when { background: var(--ink); color: var(--paper); }
.map__end { margin: 3rem 0 0; text-align: center; position: relative; z-index: 2; }
.map__traveller { filter: drop-shadow(0 4px 0 rgba(43,29,8,.25)); }
@media (min-width: 760px) {
  .stops { gap: clamp(2rem, 4vw, 3rem); }
  .stop { grid-template-columns: 1fr 1fr; gap: 0; }
  .stop__pin { position: absolute; top: .9rem; left: 62%; margin: 0; }
  .stop__card { grid-column: 1; justify-self: end; margin-right: 2.5rem; }
  .stop:nth-child(even) .stop__pin { left: 38%; }
  .stop:nth-child(even) .stop__card { grid-column: 2; justify-self: start; margin-right: 0; margin-left: 2.5rem; }
}

/* ---------- hello / contact CTA ---------- */
.hello { background: var(--sun); border-top: 2px solid var(--ink); padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; position: relative; overflow: hidden; }
.kicker--ink::before { background: var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.hello h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 40rem; margin: 0 auto 1.6rem; }
.hello__mail { display: inline-block; font: 700 clamp(1.15rem, 5.2vw, 4.2rem)/1.1 var(--ff-display); letter-spacing: -.02em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; margin-bottom: 2.2rem; padding: .3rem .4rem; }
.hello__mail:hover { background: var(--ink); color: var(--sun); text-decoration-color: transparent; border-radius: 12px; }
.hello__row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.site-footer a { color: var(--paper); }
.site-footer__inner { display: grid; gap: 1.8rem; }
.site-footer__name { font: 700 1.8rem/1 var(--ff-display); margin: 0 0 .5rem; color: var(--sun); }
.site-footer__sub { margin: 0; opacity: .85; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer__small { font-size: .9rem; opacity: .7; margin: 0; }
.site-footer :focus-visible { outline-color: var(--sun); box-shadow: none; }
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: 1fr auto; } .site-footer__small { grid-column: 1 / -1; } }

/* ---------- case pages ---------- */
.case-hero { background: var(--sun); border-bottom: 2px solid var(--ink); padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.case-hero .wrap { position: relative; }
.case-hero h1 { font-size: clamp(2.4rem, 7.2vw, 5.4rem); max-width: 15ch; margin-bottom: 1.3rem; }
.case-hero__lead { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 40rem; line-height: 1.45; margin: 0; font-weight: 500; }
.case-hero__art { display: none; }
@media (min-width: 900px) { .case-hero__art { display: block; position: absolute; right: var(--pad); bottom: 0; width: 300px; background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; padding: .8rem; box-shadow: var(--shadow); } }
.back { margin-bottom: 1.6rem; }
.back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.case-hero .kicker::before { background: var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.case-layout { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.case-toc { font-size: .95rem; }
.case-toc__title { font: 800 .75rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.case-toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.case-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .95rem; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; background: var(--butter); }
.case-toc a:hover { background: var(--sun); }
@media (min-width: 960px) {
  .case-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 4rem; }
  .case-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
  .case-toc ol { display: grid; gap: 0; border-left: 2px solid var(--ink); }
  .case-toc a { border: 0; border-radius: 0 999px 999px 0; background: none; padding-left: 1rem; }
}
.case-body { max-width: 44rem; font-size: 1.125rem; }
.case-body section { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.case-body h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1.1rem; }
.case-body h3 { font-size: 1.35rem; margin: 1.6rem 0 .6rem; }
.case-body ul:not([class]), .case-body ol:not([class]) { padding-left: 1.3rem; margin-bottom: 1em; }
.case-body li { margin-bottom: .5em; }
.case-body li::marker { color: var(--amber); font-weight: 800; }
.glance { margin: 0; display: grid; gap: 0; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--butter); }
.glance > div { display: grid; gap: .25rem; padding: 1rem 1.3rem; border-bottom: 2px solid var(--ink); }
.glance > div:last-child { border-bottom: 0; }
.glance dt { font: 800 .75rem/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.glance dd { margin: 0; font-weight: 600; }
@media (min-width: 640px) { .glance > div { grid-template-columns: 9rem 1fr; gap: 1.5rem; } }
.method-list { list-style: none; counter-reset: m; display: grid; gap: .9rem; padding: 0 !important; }
.method-list li { counter-increment: m; position: relative; padding: 1rem 1.2rem 1rem 4rem; background: var(--butter); border: 2px solid var(--ink); border-radius: 18px; margin: 0; }
.method-list li::before { content: counter(m); position: absolute; left: 1rem; top: .85rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); border-radius: 50%; font: 800 .95rem/1 var(--ff-body); }
.theme-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1.3rem 0; }
.theme { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 1.2rem 1.3rem .6rem; box-shadow: 3px 3px 0 var(--sun-deep); }
.theme h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.theme p { font-size: 1rem; }
.direction-list { list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.direction-list li { padding: .8rem 1.1rem; background: var(--butter); border: 2px solid var(--ink); border-radius: 14px; margin: 0; }
.draft-note { background: #fff; border: 2px dashed var(--ink); border-radius: 16px; padding: .9rem 1.1rem; font-size: .95rem; margin-bottom: 2.5rem; }
.case-next { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.case-next .kicker::before { background: var(--sun); box-shadow: 0 0 0 4px var(--ink); border: 0; }
.case-next__link { display: inline-block; font: 600 clamp(1.7rem, 4.6vw, 3.2rem)/1.1 var(--ff-display); text-decoration: none; max-width: 22ch; }
.case-next__link:hover { color: var(--sun); }
.case-next :focus-visible { outline-color: var(--sun); box-shadow: none; }

/* ---------- contact + error ---------- */
.contact-hero { background: var(--sun); border-bottom: 2px solid var(--ink); padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.contact-hero h1 { font-size: clamp(3rem, 12vw, 8rem); line-height: .92; margin-bottom: 1.2rem; }
.contact-hero__lead { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 36rem; font-weight: 500; line-height: 1.45; margin-bottom: 1.8rem; }
.contact-body { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.contact-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.contact-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 26px; padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem; }
.contact-card--sun { background: var(--sun); }
.contact-card h2 { font: 800 .8rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.contact-card__value { font: 600 clamp(1.15rem, 2.6vw, 1.6rem)/1.2 var(--ff-display); overflow-wrap: anywhere; margin-bottom: 1rem; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: auto 0 0; }
.copy-status { min-height: 1.5em; font-weight: 700; font-size: .95rem; margin: .8rem 0 0; }

/* print: keep it light */
@media print { .petals, .rail, .site-header { display: none; } }

/* ---------- polish ---------- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }
.has-gsap .reveal { transition: none; }
::selection { background: var(--ink); color: var(--sun); }
html { scrollbar-color: var(--sun-deep) var(--paper); scrollbar-width: thin; }
input, textarea { caret-color: var(--amber); }
a { text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
.btn, .case-card, .case-card__go, .site-nav a, .tag, .chip { transition-timing-function: var(--ease-out); }
.btn { transition-duration: .16s; }
.btn:active { transform: translate(2px, 2px) scale(.98); }
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: inherit; }
  .case-card:hover { transform: none; box-shadow: inherit; }
}
.case-meta { font: 600 .95rem/1.4 var(--ff-body); margin: .9rem 0 0; }

/* ---------- evidence figures ---------- */
.figure { margin: 1.6rem 0 2rem; }
.figure a { display: block; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s var(--ease-out); }
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: .95rem; margin-top: .7rem; color: var(--seed); }
@media (hover: hover) and (pointer: fine) { .figure a:hover { transform: translateY(-2px); } }
