/* ==========================================================================
   Britnie Chin — portfolio
   Modern + clean. Warm neutrals, one accent, small moments of play.
   ========================================================================== */

@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Italic.ttf") format("truetype"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("../fonts/Gelasio-Italic.ttf") format("truetype"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --bg: #f5f0e7;
  --surface: #fffcf6;
  --soft: #ece5d7;
  --ink: #24251d;
  --ink-2: #4f4c40;
  --ink-3: #888370;
  --line: #e2d9c9;

  --accent: #5c6b3a;      /* olive */
  --accent-2: #7a2433;    /* burgundy */
  --forest-deep: #3c4727;
  --rust: #7a2433;
  --pink: #e7b8b0;
  --mustard: #e7b8b0;
  --lake: #5c6b3a;
  --earth: #5a3b2e;
  --tint-amazon: #f1ece2;
  --tint-compassion: #f1ece2;
  --tint-google: #f1ece2;
  --tint-sage: #f1ece2;
  --d-forest: #3c4727;
  --d-rust: #7a2433;
  --d-ochre: #e3b2a9;
  --d-lake: #5c6b3a;
  --d-earth: #4a3328;

  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Gelasio", Georgia, serif;

  --r-lg: 22px;
  --r-md: 14px;
  --shadow: 0 1px 2px rgba(22, 19, 15, .04), 0 8px 24px rgba(22, 19, 15, .06);
  --shadow-lift: 0 2px 6px rgba(22, 19, 15, .06), 0 22px 48px rgba(22, 19, 15, .12);
  --max: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--pink); }
:focus-visible { outline: 2.5px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Subtle paper grain */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.muted { color: var(--ink-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5c6b3a; box-shadow: 0 0 0 4px rgba(92, 107, 58, .2); margin-right: 10px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: .95rem; transition: transform .3s var(--ease); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a.link { display: block; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; white-space: nowrap; }
.nav a.link:hover { background: var(--soft); color: var(--ink); }
.nav a.link[aria-current="page"] { color: var(--ink); background: var(--soft); }
.nav a.link.cta { background: var(--ink); color: var(--bg); }
.nav a.link.cta:hover { background: var(--rust); color: #fff; }
@media (max-width: 560px) {
  .brand .name { display: none; }
  .nav a.link { padding: 7px 11px; font-size: .9rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--rust); border-color: var(--rust); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.chip { display: inline-block; font-size: .78rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.45fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.hero h1 .rotator { display: inline-block; color: var(--accent); }
.rotator span { display: inline-block; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rotator span.out { opacity: 0; transform: translateY(.25em); }
.hero .lede { font-size: 1.2rem; max-width: 33em; margin: 26px 0 34px; color: var(--ink-2); }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; font-size: .9rem; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }

.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: auto -28px -28px auto; width: 72%; height: 64%; background: var(--d-ochre); border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; z-index: -1; transition: transform .6s var(--ease); }

.portrait:hover::before { transform: rotate(-6deg) scale(1.03); }

.hero .wrap > * { position: relative; z-index: 1; }
.portrait img { border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.portrait:hover img { transform: rotate(-1.5deg) scale(1.01); }
.portrait .badge { position: absolute; left: -22px; bottom: 34px; background: var(--surface); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-lift); display: flex; gap: 12px; align-items: center; transition: transform .4s var(--ease); }
.portrait:hover .badge { transform: translateY(-6px); }
.portrait .badge b { display: block; font-size: 1.6rem; line-height: 1; letter-spacing: -.03em; }
.portrait .badge span { font-size: .82rem; color: var(--ink-2); line-height: 1.3; }
.portrait .badge2 { left: auto; right: -18px; top: 30px; bottom: auto; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .portrait { max-width: 400px; }
}

/* Logos strip */
.worked { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.worked .wrap { display: flex; gap: 14px 40px; align-items: center; flex-wrap: wrap; }
.worked .eyebrow { margin: 0; }
.worked ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 36px; flex-wrap: wrap; }
.worked li { font-weight: 600; color: var(--ink-3); letter-spacing: -.01em; font-size: 1.05rem; transition: color .2s; }
.worked li:hover { color: var(--ink); }

/* Marquee */
.marquee { background: var(--forest-deep); overflow: hidden; padding: 22px 0; margin-top: 30px; }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee li { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; padding-right: 28px; color: #f4efe6; }
.marquee li.s { font-family: var(--serif); font-style: italic; color: var(--mustard); }
.marquee li::after { content: "✦"; color: var(--pink); font-size: .6em; margin-left: 28px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Numbered editorial labels */
.eyebrow .n { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--accent-2); margin-right: 8px; }

/* Portrait caption */
.portrait figcaption { position: absolute; right: -10px; bottom: -22px; background: var(--surface); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lift); font-family: var(--serif); font-style: italic; font-size: 1rem; transform: rotate(-3deg); transition: transform .4s var(--ease); }
.portrait:hover figcaption { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 900px) { .portrait figcaption { right: 12px; } }

/* Hero kicker */
.kicker { font-size: 1rem; font-weight: 500; color: var(--ink-2); margin: 0 0 18px; }
.kicker b { color: var(--ink); font-weight: 600; }

/* Hand-drawn doodles */
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .42em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--rust); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.doodle { position: absolute; pointer-events: none; }
.doodle path, .doodle circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spark { animation: twinkle 3.2s ease-in-out infinite; transform-origin: center; }
.spark.d2 { animation-delay: 1.1s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.18) rotate(12deg); } }
.portrait .s1 { width: 46px; right: -40px; top: 26%; }
.portrait .s2 { width: 30px; left: -48px; bottom: 22%; }
.portrait .loop { width: 120px; right: -60px; bottom: -64px; }
@media (max-width: 900px) { .portrait .s1 { right: -14px; } .portrait .s2 { left: -14px; } .portrait .loop { right: -10px; } }

/* Oversized editorial word */
.bigword { position: absolute; right: -10px; top: -70px; font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 16vw, 13rem); line-height: 1; color: #efdcd5; z-index: -1; pointer-events: none; user-select: none; letter-spacing: -.03em; }
#work .wrap { position: relative; z-index: 0; }

/* Mountain line art */
.contact .panel { position: relative; overflow: hidden; }
.contact .panel > * { position: relative; z-index: 1; }
.contact .panel.panel { padding-bottom: 140px; }
.contact .panel .peaks { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; z-index: 0; opacity: .55; }
.contact .panel .peaks path { fill: none; stroke: var(--mustard); stroke-width: 2; }
.contact .panel .peaks .sun { fill: var(--pink); stroke: none; opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head p.muted { max-width: 30em; margin: 0; }

/* ---------- Work ---------- */
.company { margin-top: 64px; }
.company:first-of-type { margin-top: 0; }
.company-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.company-head h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.company-head h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--accent)); }
.company-head span { color: var(--ink-3); font-size: .95rem; }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 820px) { .projects { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
a.card:hover, a.card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card .art { border-radius: 14px; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--tint, var(--soft)); }
.card .art { position: relative; place-items: end start; padding: 22px 26px; }
.cover-word { font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .95; color: #f6f1e7; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.cover-n { position: absolute; top: 18px; left: 26px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 231, .7); }
.cover-line { position: absolute; right: 22px; top: 22px; width: 42%; height: auto; opacity: .35; transition: transform .6s var(--ease), opacity .4s; }
.cover-line path { fill: none; stroke: #f6f1e7; stroke-width: 1.5; }
a.card:hover .cover-word { transform: translateX(6px); }
.light .cover-word { color: #5a1a26; }
.light .cover-n { color: rgba(90, 26, 38, .65); }
.light .cover-line path { stroke: #5a1a26; }
a.card:hover .cover-line { transform: translateX(-6px); opacity: .55; }
.card .body { padding: 18px 12px 10px; display: flex; flex-direction: column; flex: 1; }
.card .meta { display: flex; gap: 10px; font-size: .82rem; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; margin-bottom: 16px; }
.card .foot-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card .go { font-weight: 600; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.card .go .arr { transition: transform .25s var(--ease); }
a.card:hover .go .arr { transform: translateX(4px); }
.card .soon { font-size: .82rem; font-weight: 600; color: var(--ink-3); }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.approach .item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.approach .item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.approach .item { border-top: 3px solid var(--d-rust); }
.approach .item:nth-child(1) .num { color: var(--rust); }
.approach .item:nth-child(2) { border-top-color: var(--d-lake); }
.approach .item:nth-child(2) .num { color: var(--lake); }
.approach .item:nth-child(3) { border-top-color: var(--d-ochre); }
.approach .item:nth-child(3) .num { color: var(--earth); }
.approach .num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent); }
.approach h3 { margin: 10px 0 8px; }
.approach p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact .panel { background: var(--forest-deep); color: var(--bg); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact .panel h2 { color: #fff; }
.contact .panel .eyebrow .n { color: var(--mustard); }
.contact .panel .muted { color: #cfc8bf; margin: 14px 0 0; }
.contact .links { display: grid; gap: 10px; }
.contact .links a { display: flex; justify-content: space-between; align-items: center; text-decoration: none; font-weight: 500; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background .2s, transform .2s var(--ease); }
.contact .links a:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
@media (max-width: 800px) { .contact .panel.panel { grid-template-columns: 1fr; padding: 36px 28px 120px; } }
.foot { padding: 30px 0 44px; font-size: .9rem; color: var(--ink-3); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Case study ---------- */
.cs-hero { padding: 56px 0 10px; }
.back { display: inline-flex; gap: 8px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-3); margin-bottom: 30px; transition: color .2s; }
.back:hover { color: var(--ink); }
.cs-hero .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cs-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 16em; }
.cs-hero .summary { font-size: 1.25rem; color: var(--ink-2); max-width: 36em; margin-top: 22px; }
.cs-cover { margin-top: 44px; border-radius: var(--r-lg); background: var(--tint, var(--soft)); aspect-ratio: 21 / 8; display: grid; place-items: center; overflow: hidden; }
.cs-cover { position: relative; place-items: end start; padding: 36px 44px; }
.cs-cover .cover-word { font-size: clamp(3.4rem, 9vw, 7rem); }
.cs-cover .cover-line { width: 34%; right: 40px; top: 36px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0 0; }
.facts > div { padding: 20px 20px 20px 0; }
.facts dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-weight: 500; line-height: 1.4; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.cs section { padding: 64px 0; }
.two { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.two h2 { font-size: 1.6rem; }
.two .body { font-size: 1.1rem; max-width: 40em; color: var(--ink-2); }
.two .body strong { color: var(--ink); }
.two .body ul { padding-left: 1.2em; margin: 0 0 1em; }
.two .body li { margin-bottom: .4em; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; gap: 14px; } }

.question { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; letter-spacing: -.01em; border-left: 4px solid var(--mustard); padding-left: 24px; max-width: 28em; margin: 0; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.stats b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.stats span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (min-width: 601px) { .flips.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .flips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .flips { grid-template-columns: 1fr; } }
.flip { display: block; width: 100%; perspective: 1400px; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; min-height: 230px; }
.flip span { display: block; }
.flip .inner { position: relative; width: 100%; height: 100%; min-height: 250px; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .inner { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.flip .front { background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.flip:hover .front { box-shadow: var(--shadow); border-color: transparent; }
.flip .back-face { background: var(--accent); color: #fff; transform: rotateY(180deg); }
.flip .back-face .k { color: rgba(255,255,255,.72); }
.flip .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.flip .stat { font-size: 2.3rem; font-weight: 600; letter-spacing: -.04em; color: var(--accent-2); line-height: 1; margin: 14px 0 10px; }
.flip .h { font-weight: 600; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; }
.flip .p { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.5; }
.flip .face .turn { margin-top: auto; font-size: .85rem; font-weight: 500; color: var(--ink-3); }

.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.impact > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.impact > div:nth-child(1) { border-color: var(--rust); }
.impact > div:nth-child(2) { border-color: var(--lake); }
.impact > div:nth-child(3) { border-color: var(--mustard); }
.impact h3 { font-size: 1.12rem; margin-bottom: 8px; }
.impact p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 800px) { .impact { grid-template-columns: 1fr; } }

.note { background: var(--soft); border-radius: var(--r-md); padding: 18px 22px; color: var(--ink-2); font-size: .95rem; margin: 0; }

.next-cs { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 40px; }

/* ---------- About ---------- */
.about-hero { padding: 72px 0 40px; }
.about-hero .wrap { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.about-hero .photo { position: relative; }
.about-hero .photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--d-ochre); border-radius: var(--r-lg); z-index: -1; }
.about-hero .photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.about-hero .bio p { font-size: 1.12rem; max-width: 34em; color: var(--ink-2); }
.about-hero .bio h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 26px; }
@media (max-width: 860px) { .about-hero .wrap { grid-template-columns: 1fr; gap: 36px; } .about-hero .photo { max-width: 360px; } }

.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
@media (max-width: 860px) { .facts-row { grid-template-columns: 1fr 1fr; } }
.reveal { border: 1px solid var(--line); background: var(--surface); font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 18px; border-radius: var(--r-md); min-height: 116px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.reveal:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.reveal span { display: block; }
.reveal .q { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.reveal .a { margin-top: 10px; font-weight: 600; font-size: 1.05rem; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.reveal .tap { margin-top: auto; font-size: .82rem; color: var(--accent); font-weight: 600; }
.reveal[aria-expanded="true"] { background: var(--surface); border-color: var(--d-ochre); }
.reveal[aria-expanded="true"] .a { opacity: 1; transform: none; }
.reveal[aria-expanded="true"] .tap { display: none; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .yr { font-size: .92rem; font-weight: 600; color: var(--rust); }
.timeline .role { font-weight: 600; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

.photo-wall { columns: 4 220px; column-gap: 14px; }
.photo-wall button { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 14px; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; break-inside: avoid; }
.photo-wall img { width: 100%; transition: transform .6s var(--ease); }
.photo-wall button:hover img, .photo-wall button:focus-visible img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(16, 14, 11, .92); display: none; place-items: center; z-index: 200; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); animation: pop .3s var(--ease); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox figcaption { text-align: center; color: #e8e2d9; margin-top: 12px; min-height: 1em; font-size: .95rem; }
.lightbox .lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* Scroll-in */
.js .reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-up.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
  .scribble path { stroke-dashoffset: 0; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal-up { opacity: 1; transform: none; }
}

/* ==========================================================================
   ARCHIVE LAYER — tall editorial serif, polaroids with captions, collage hero
   ========================================================================== */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --display: "Instrument Serif", "Gelasio", Georgia, serif; --serif: "Instrument Serif", "Gelasio", Georgia, serif; --paper: #fffdf8; }

h1, h2, h3, .company-head h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: .98; }
h1 { font-size: clamp(3.2rem, 7.4vw, 6.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.hero h1 { font-size: clamp(2.9rem, 5.6vw, 4.9rem); }
.serif { font-family: var(--display); font-weight: 400; }
.eyebrow { font-family: var(--display); font-size: 1rem; letter-spacing: .14em; color: var(--ink-2); }
.eyebrow .n { font-size: 1.15rem; }

/* Nav: all-caps serif */
.brand { font-family: var(--display); font-weight: 400; font-size: 1.55rem; letter-spacing: 0; }
.brand .mark { display: none; }
.nav a.link { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; font-weight: 400; color: var(--ink); background: none !important; padding: 8px 12px; position: relative; }
.nav a.link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a.link:hover::after, .nav a.link[aria-current="page"]::after { transform: scaleX(1); }
.nav a.link.cta { color: var(--rust); background: none; }
.nav a.link.cta:hover { color: var(--rust); background: none; }
.brand .name { display: inline !important; }

/* Hero */
.hero { padding: 60px 0 60px; }
.hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 40px; }
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; }
.scribble svg { bottom: -.04em; }

/* Collage */
.collage { position: relative; height: 600px; }
.collage > * { position: absolute; transition: transform .45s var(--ease); }
.collage > *:hover { z-index: 20; }
.string { left: -4%; top: -6px; width: 108%; height: 90px; z-index: 12; pointer-events: none; }
.string path { fill: none; stroke: var(--rust); stroke-width: 1.6; }
.pola { background: var(--paper); padding: 10px 10px 44px; box-shadow: 0 1px 2px rgba(36,37,29,.12), 0 14px 30px rgba(36,37,29,.16); }
.pola img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pola .cap { position: absolute; left: 4px; right: 4px; bottom: 8px; text-align: center; font-family: var(--display); font-size: 1.05rem; line-height: 1.05; color: var(--ink); }
.pola .cap small { display: block; font-size: .82rem; color: var(--ink-3); }
.c-me { width: 250px; left: 30%; top: 46px; transform: rotate(-3deg); z-index: 6; }
.c-land { width: 180px; right: 0; top: 18px; transform: rotate(5deg); z-index: 4; }
.c-land img { aspect-ratio: 1 / 1; }
.c-land2 { width: 150px; left: 2%; top: 300px; transform: rotate(-7deg); z-index: 3; }
.c-land2 img { aspect-ratio: 1 / 1; }
.collage .c-me:hover { transform: rotate(0) translateY(-8px); }
.collage .c-land:hover { transform: rotate(1deg) translateY(-8px); }
.collage .c-land2:hover { transform: rotate(-2deg) translateY(-8px); }

.ticket { left: 0; top: 70px; width: 230px; transform: rotate(-9deg); z-index: 7; background: var(--pink); color: #5a1a26; padding: 14px 18px 14px 22px; box-shadow: 0 8px 18px rgba(36,37,29,.14);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket .t1 { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.ticket .t2 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; display: flex; justify-content: space-between; border-top: 1px dashed rgba(90,26,38,.5); padding-top: 6px; }
.collage .ticket:hover { transform: rotate(-4deg) translateY(-6px); }

.note { }
.card-note { right: 0; top: 440px; width: 250px; transform: rotate(3deg); z-index: 8; background: var(--paper); padding: 16px 18px 18px; box-shadow: 0 10px 24px rgba(36,37,29,.14);
  background-image: repeating-linear-gradient(transparent 0 25px, rgba(92,107,58,.22) 25px 26px); background-position: 0 30px; border-top: 3px solid var(--rust); }
.card-note p { margin: 0; font-size: .9rem; line-height: 26px; color: var(--ink-2); }
.card-note b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--ink); display: block; line-height: 26px; }
.collage .card-note:hover { transform: rotate(0) translateY(-6px); }

.stamp { right: 4%; left: auto; top: 285px; width: 92px; height: 92px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; transform: rotate(-14deg); z-index: 9; background: rgba(245,240,231,.6); }
.stamp span { font-size: 1.5rem; letter-spacing: 0; text-transform: none; font-style: italic; display: block; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .collage { height: 520px; max-width: 460px; margin-inline: auto; width: 100%; }
  .c-me { width: 210px; left: 26%; }
  .c-land { width: 140px; }
  .c-land2 { width: 120px; top: 290px; }
  .ticket { width: 190px; top: 40px; }
  .card-note { width: 210px; top: 400px; right: 0; }
  .stamp { top: 250px; right: 0; }
}

/* Marquee in serif */
.marquee li { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: 0; }

/* Project polaroids */
.projects { gap: 56px 44px; }
.card { background: transparent; border: 0; padding: 0; box-shadow: none; }
a.card:hover, a.card:focus-visible { transform: none; box-shadow: none; }
.card .frame { background: var(--paper); padding: 12px 12px 0; box-shadow: 0 1px 2px rgba(36,37,29,.1), 0 14px 30px rgba(36,37,29,.12); transform: rotate(var(--tilt, -1.2deg)); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.projects > .card:nth-child(even) .frame { --tilt: 1.2deg; }
a.card:hover .frame, a.card:focus-visible .frame { transform: rotate(0) translateY(-8px); box-shadow: 0 2px 6px rgba(36,37,29,.1), 0 26px 50px rgba(36,37,29,.18); }
.card .art { border-radius: 0; aspect-ratio: 5 / 4; }
.card .caption { text-align: center; padding: 16px 10px 18px; }
.card .caption h3 { font-size: 1.75rem; margin: 0; line-height: 1.05; }
.card .caption .where { display: block; font-family: var(--display); font-style: italic; color: var(--ink-3); font-size: 1.05rem; margin-top: 4px; }
.card .below { padding: 20px 4px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card .below p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; max-width: 30em; }
.card .below .go, .card .below .soon { white-space: nowrap; font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; }
.card .below .go { color: var(--rust); }
.cover-word { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); }
.company-head h3 { font-size: 2.2rem; }
.company-head h3::before { width: 12px; height: 12px; }
.company-head span { font-family: var(--display); font-style: italic; font-size: 1.1rem; }
.bigword { font-family: var(--display); font-size: clamp(7rem, 20vw, 16rem); }

/* Approach as index cards */
.approach .item { border-radius: 2px; border: 0; border-top: 3px solid var(--d-rust); background: var(--paper); box-shadow: 0 10px 24px rgba(36,37,29,.08);
  background-image: repeating-linear-gradient(transparent 0 27px, rgba(92,107,58,.16) 27px 28px); background-position: 0 58px; }
.approach .item:nth-child(1) { transform: rotate(-.8deg); }
.approach .item:nth-child(2) { transform: rotate(.6deg); }
.approach .item:nth-child(3) { transform: rotate(-.4deg); }
.approach .item:hover { transform: rotate(0) translateY(-4px); }
.approach h3 { font-size: 1.8rem; }
.approach p { line-height: 28px; }
.approach .num { font-family: var(--display); font-size: 1.3rem; }

/* Contact */
.contact .panel h2 { font-size: clamp(2.8rem, 5vw, 4.2rem); }

/* Case study */
.cs-hero h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); }
.cs-cover-frame { background: var(--paper); padding: 14px 14px 0; margin-top: 44px; box-shadow: 0 1px 2px rgba(36,37,29,.1), 0 18px 40px rgba(36,37,29,.12); transform: rotate(-.6deg); }
.cs-cover-frame .cs-cover { margin-top: 0; border-radius: 0; }
.cs-cover-frame .cap { text-align: center; font-family: var(--display); font-size: 1.3rem; padding: 14px 0 16px; }
.cs-cover-frame .cap i { color: var(--ink-3); }
.two h2 { font-size: 2.2rem; }
.question { font-family: var(--display); font-style: italic; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; }
.stats b { font-family: var(--display); font-weight: 400; }
.flip .front { border-radius: 2px; border: 0; border-top: 3px solid var(--d-rust); background: var(--paper); box-shadow: 0 8px 20px rgba(36,37,29,.08); }
.flip .back-face { border-radius: 2px; }
.flip .stat { font-family: var(--display); font-weight: 400; font-size: 2.8rem; color: var(--rust); letter-spacing: -.01em; }
.flip .h { font-size: 1.05rem; }
.impact h3 { font-size: 1.6rem; }

/* About */
.about-hero .photo { background: var(--paper); padding: 12px 12px 54px; box-shadow: 0 1px 2px rgba(36,37,29,.1), 0 18px 40px rgba(36,37,29,.14); transform: rotate(-2deg); }
.about-hero .photo::before { display: none; }
.about-hero .photo img { border-radius: 0; box-shadow: none; }
.about-hero .photo figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--display); font-size: 1.2rem; }
.about-hero .photo figcaption i { color: var(--ink-3); }
.about-hero .bio h1 { font-size: clamp(3.4rem, 7vw, 6rem); }
.reveal { border-radius: 2px; background: var(--paper); border: 0; border-top: 3px solid var(--d-ochre); box-shadow: 0 8px 20px rgba(36,37,29,.07); }
.reveal .a { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.05; }
.timeline .role { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.timeline .yr { font-family: var(--display); font-size: 1.1rem; font-weight: 400; }

.photo-wall { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
@media (max-width: 960px) { .photo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .photo-wall { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }
.photo-wall button { margin: 0; border-radius: 0; overflow: visible; background: var(--paper); padding: 10px 10px 0; box-shadow: 0 1px 2px rgba(36,37,29,.1), 0 12px 26px rgba(36,37,29,.12); transform: rotate(var(--r, 0deg)); transition: transform .4s var(--ease), box-shadow .4s; text-align: center; color: var(--ink); }
.photo-wall button:hover, .photo-wall button:focus-visible { transform: rotate(0) translateY(-6px) scale(1.03); z-index: 2; position: relative; }
.photo-wall button:hover img { transform: none; }
.photo-wall img { aspect-ratio: 1 / 1; object-fit: cover; }
.photo-wall .pc { display: block; font-family: var(--display); font-size: 1.05rem; padding: 10px 0 12px; line-height: 1.1; }
.photo-wall .pc small { display: block; color: var(--ink-3); font-size: .85rem; }
.lightbox figcaption { font-family: var(--display); font-size: 1.3rem; }
.photo-wall button:nth-child(4n+1) { --r: -2deg; }
.photo-wall button:nth-child(4n+2) { --r: 1.5deg; }
.photo-wall button:nth-child(4n+3) { --r: -1deg; }
.photo-wall button:nth-child(4n+4) { --r: 2.2deg; }

/* Editorial project rows */
.projects { grid-template-columns: 1fr; gap: 72px; }
.card.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; background: none; border: 0; padding: 0; }
.projects > .card.row:nth-child(even) .media { order: 2; }
.card.row .media { overflow: hidden; border-radius: 4px; box-shadow: 0 1px 2px rgba(36,37,29,.08), 0 18px 40px rgba(36,37,29,.1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card.row .media .art { aspect-ratio: 4 / 3; border-radius: 0; }
.card.row .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
a.card.row:hover .media { transform: translateY(-6px); box-shadow: 0 2px 6px rgba(36,37,29,.1), 0 28px 56px rgba(36,37,29,.16); }
a.card.row:hover .media img { transform: scale(1.04); }
.card.row .num { display: block; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--rust); margin-bottom: 10px; }
.card.row h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 0; }
.card.row .where { display: block; font-family: var(--display); font-style: italic; color: var(--ink-3); font-size: 1.25rem; margin: 8px 0 18px; }
.card.row p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; margin: 0 0 22px; max-width: 30em; }
.card.row .go, .card.row .soon { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .12em; display: inline-flex; gap: 8px; }
.card.row .go { color: var(--rust); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.card.row .soon { color: var(--ink-3); }
a.card.row:hover { transform: none; box-shadow: none; }
@media (max-width: 820px) {
  .card.row { grid-template-columns: 1fr; gap: 22px; }
  .projects > .card.row:nth-child(even) .media { order: 0; }
}
.projects > .card.row:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 820px) { .projects > .card.row:nth-child(even) { grid-template-columns: 1fr; } }

.cs-cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-cover:has(.cover-img) .cover-n { display: none; }

/* Case study artifacts */
.artifacts { display: grid; gap: 48px; }
.artifact { margin: 0; }
.artifact img { width: 100%; border-radius: 4px; box-shadow: 0 1px 2px rgba(36,37,29,.08), 0 18px 40px rgba(36,37,29,.1); background: var(--paper); }
.artifact figcaption { margin-top: 14px; color: var(--ink-2); font-size: .98rem; max-width: 46em; }
.artifact figcaption span { font-family: var(--display); font-style: italic; color: var(--rust); font-size: 1.15rem; margin-right: 6px; }

/* Trust journey */
.journey { position: relative; background: var(--paper); padding: 40px 36px 36px; border-radius: 4px; box-shadow: 0 1px 2px rgba(36,37,29,.06), 0 18px 40px rgba(36,37,29,.08); }
.j-line, .j-labels { position: absolute; left: 36px; right: 36px; top: 120px; width: calc(100% - 72px); height: 230px; pointer-events: none; overflow: visible; }
.j-line path { fill: none; stroke: var(--rust); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.j-line .mid { stroke: var(--line); stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.j-line circle { vector-effect: non-scaling-stroke; stroke: var(--paper); stroke-width: 3; }
.j-line circle.dip { fill: var(--rust); }
.j-line circle.up { fill: var(--accent); }
.j-labels text { font-family: var(--display); font-style: italic; font-size: 22px; fill: var(--ink); }
.j-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.j-col { display: flex; flex-direction: column; }
.j-step { font-family: var(--display); font-style: italic; color: var(--rust); font-size: 1.1rem; }
.j-col h3 { font-size: 1.9rem; margin: 2px 0 0; }
.j-shot { height: 250px; margin: 250px 0 20px; display: grid; place-items: center; background: var(--soft); border-radius: 4px; padding: 16px; }
.j-shot { overflow: hidden; }
.j-shot img { height: 218px; width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 20px rgba(36,37,29,.14); transition: transform .4s var(--ease); }
.j-col:hover .j-shot img { transform: translateY(-4px) scale(1.03); }
.j-feel { display: none; font-family: var(--display); font-size: 1.1rem; margin: 0 0 6px; }
.j-feel.j-dip { color: var(--rust); } .j-feel.j-up { color: var(--accent); }
.j-col p { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
@media (max-width: 900px) {
  .j-line, .j-labels { display: none; }
  .j-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .j-shot { margin: 14px 0 14px; }
  .j-feel { display: block; }
  .journey { padding: 28px 22px; }
}
@media (max-width: 560px) { .j-cols { grid-template-columns: 1fr; } }

/* Ranking chart */
.ranking { background: var(--paper); padding: 34px 36px; border-radius: 4px; box-shadow: 0 1px 2px rgba(36,37,29,.06), 0 18px 40px rgba(36,37,29,.08); }
.rk-legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); margin-bottom: 24px; }
.rk-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rk-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.rk-row { display: grid; grid-template-columns: 170px 1fr 190px; gap: 20px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.rk-row:first-of-type { border-top: 0; }
.rk-name { font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.rk-me .rk-name { color: var(--rust); font-style: italic; }
.rk-bar { display: flex; height: 38px; border-radius: 4px; overflow: hidden; gap: 2px; }
.rk-seg { display: grid; place-items: center; color: #fff; font-size: .85rem; font-weight: 600; transition: filter .2s; }
.rk-seg:hover { filter: brightness(1.1); }
.s1 { background: var(--d-forest); } .s2 { background: var(--accent); } .s3 { background: #b8b39a; color: var(--ink); } .s4 { background: #ddd5c4; color: var(--ink-2); }
.rk-me .s1 { background: var(--rust); } .rk-me .s2 { background: #b4505e; }
.rk-first { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 760px) { .rk-row { grid-template-columns: 1fr; gap: 8px; } .ranking { padding: 24px 20px; } }

/* Why vs whether */
.ww { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(36,37,29,.1); }
.ww-col { padding: 40px 40px 36px; }
.ww-col:first-child { background: var(--pink); color: #4a1520; }
.ww-col:last-child { background: var(--d-forest); color: #f3eee3; }
.ww-k { font-family: var(--display); font-style: italic; font-size: 1.3rem; opacity: .8; }
.ww-col h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin: 6px 0 22px; color: inherit; }
.ww-col ul { list-style: none; margin: 0; padding: 0; }
.ww-col li { padding: 12px 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 25%, transparent); font-size: 1.02rem; }
@media (max-width: 760px) { .ww { grid-template-columns: 1fr; } .ww-col { padding: 28px 24px; } }

/* Terminal cover */
.term-art { place-items: center !important; padding: 28px !important; }
.term { width: 100%; max-width: 560px; background: #16170f; border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.35); overflow: hidden; transition: transform .5s var(--ease); }
a.card:hover .term { transform: translateY(-4px); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #2f3027; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e86a5c; }
.term-bar i:nth-child(2) { background: #e8bd4f; } .term-bar i:nth-child(3) { background: #7bb662; }
.term-bar span { margin-left: auto; margin-right: auto; font: 500 .72rem var(--sans); color: #a8a593; letter-spacing: .06em; transform: translateX(-20px); }
.term pre { margin: 0; padding: 18px 20px 22px; font: 500 clamp(.62rem, 1.05vw, .86rem)/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #e9e4d6; white-space: pre; overflow: hidden; }
.term .tp { color: var(--pink); }
.term .cur { display: inline-block; width: .6em; height: 1.1em; background: #e9e4d6; vertical-align: -.2em; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cs-cover.term-art { aspect-ratio: 21 / 8; }
.cs-cover.term-art .term { max-width: 720px; }
.cs-cover.term-art .term pre { font-size: clamp(.7rem, 1.2vw, 1rem); }
@media (prefers-reduced-motion: reduce) { .term .cur { animation: none; } }

/* Workflow */
.workflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: wf; }
.wf-step { background: var(--paper); padding: 24px 20px 22px; border-radius: 4px; box-shadow: 0 10px 24px rgba(36,37,29,.07); position: relative; display: flex; flex-direction: column; border-top: 3px solid var(--accent); transition: transform .3s var(--ease); }
.wf-step:hover { transform: translateY(-4px); }
.wf-step:nth-child(3) { border-top-color: var(--rust); }
.wf-step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 30px; font-family: var(--display); font-size: 1.3rem; color: var(--ink-3); z-index: 2; }
.wf-n { font-family: var(--display); font-style: italic; color: var(--rust); font-size: 1.1rem; }
.wf-step h3 { font-size: 1.9rem; margin: 2px 0 6px; }
.wf-who { font-size: .82rem; color: var(--ink-3); margin: 0 0 16px; min-height: 2.4em; }
.wf-pain { margin: auto 0 0; font-size: .94rem; color: var(--ink-2); line-height: 1.5; }
.wf-pain span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
@media (max-width: 1000px) { .workflow { grid-template-columns: 1fr 1fr; } .wf-step::after { display: none; } }
@media (max-width: 560px) { .workflow { grid-template-columns: 1fr; } }

/* ==========================================================================
   READABILITY LAYER — all DM Sans, larger and darker text
   ========================================================================== */
:root { --display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: var(--display); --ink-2: #3d3b31; --ink-3: #6b6757; }
body { font-size: 18px; line-height: 1.65; }
h1, h2, h3, .company-head h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.serif { font-family: var(--display); font-style: normal; font-weight: 600; }
.eyebrow { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; font-weight: 600; color: var(--ink-3); }
.eyebrow .n { font-family: var(--display); font-style: normal; font-size: .78rem; font-weight: 700; }
.kicker { font-family: var(--display); font-size: .82rem; letter-spacing: .14em; font-weight: 600; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.nav a.link { font-family: var(--display); font-size: .82rem; letter-spacing: .12em; font-weight: 600; }
.hero .lede, .cs-hero .summary, .two .body, .about-hero .bio p { color: var(--ink-2); font-size: 1.15rem; }
.card.row p, .flip .p, .j-col p, .wf-pain, .impact p, .approach p, .artifact figcaption { color: var(--ink-2); font-size: 1.02rem; }
.card.row .num, .j-step, .wf-n, .artifact figcaption span { font-family: var(--display); font-style: normal; font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.card.row h3 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.card.row .where, .company-head span { font-family: var(--display); font-style: normal; font-size: 1rem; color: var(--ink-3); }
.card.row .go, .card.row .soon { font-family: var(--display); font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
.cover-word { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -.045em; font-size: clamp(2.6rem, 5vw, 4rem); }
.cs-cover .cover-word { font-size: clamp(3rem, 8vw, 6rem); }
.bigword { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -.06em; font-size: clamp(6rem, 17vw, 13rem); }
.marquee li { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.marquee li.s { font-family: var(--display); font-style: normal; }
.question { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -.02em; }
.two h2 { font-size: 1.6rem; }
.flip .stat { font-family: var(--display); font-weight: 700; font-size: 2.2rem; letter-spacing: -.04em; }
.flip .h { font-size: 1.08rem; }
.j-col h3, .wf-step h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.j-labels text { font-family: "DM Sans", sans-serif; font-style: normal; font-weight: 600; font-size: 18px; }
.rk-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.rk-me .rk-name { font-style: normal; }
.ww-k { font-family: var(--display); font-style: normal; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.ww-col h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.approach h3 { font-size: 1.35rem; }
.approach .num { font-family: var(--display); font-style: normal; font-weight: 700; font-size: .9rem; }
.impact h3 { font-size: 1.2rem; }
.timeline .role { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.timeline .yr { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.reveal .a { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.photo-wall .pc { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.pola .cap { font-family: var(--display); font-weight: 600; font-size: .9rem; }
.pola .cap small, .photo-wall .pc small { font-weight: 400; }
.ticket .t1 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.card-note b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.stamp { font-family: var(--display); font-weight: 600; font-size: .7rem; }
.stamp span { font-family: var(--display); font-style: normal; font-weight: 700; font-size: 1.2rem; }
.cs-cover-frame .cap, .about-hero .photo figcaption { font-family: var(--display); font-size: 1rem; font-weight: 600; }
.cs-cover-frame .cap i, .about-hero .photo figcaption i { font-style: normal; font-weight: 400; }
.contact .panel h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.lightbox figcaption { font-family: var(--display); font-size: 1rem; }

/* Collage: photos only */
.collage { height: 540px; }
.c-me { width: 270px; left: 26%; top: 50px; }
.c-land { width: 200px; right: 0; top: 24px; }
.c-land2 { width: 180px; left: 0; top: 270px; }
@media (max-width: 900px) { .collage { height: 480px; } .c-me { width: 220px; left: 24%; } .c-land { width: 150px; } .c-land2 { width: 140px; top: 260px; } }

/* Personal keepsakes */
.collage { height: 580px; }
.obj { position: absolute; transition: transform .45s var(--ease); font-family: var(--display); }
.o-blossom { width: 170px; right: 34%; top: -26px; z-index: 13; transform: rotate(-6deg); margin: 0; }
.o-blossom svg { width: 100%; height: auto; filter: drop-shadow(0 3px 4px rgba(36,37,29,.18)); }
.o-blossom .fl circle { fill: #f2c6c9; stroke: #e3a3aa; stroke-width: .8; }
.o-blossom .fl circle.c { fill: #b5455a; stroke: none; }
.o-blossom .bud { fill: #e9a9b3; }
.o-blossom figcaption { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: -10px 0 0 22px; transform: rotate(-24deg); transform-origin: left; width: max-content; }
.collage .o-blossom:hover { transform: rotate(0deg) scale(1.05); }

.o-bag { left: 0; top: 40px; width: 140px; z-index: 7; transform: rotate(-11deg); background: #fbf7ef; padding: 22px 14px 14px; border-radius: 6px 6px 4px 4px; box-shadow: 0 8px 18px rgba(36,37,29,.16); border-top: 10px solid var(--rust); display: flex; flex-direction: column; }
.bag-hole { position: absolute; top: -4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.bag-hole::before { content: ""; position: absolute; left: 50%; bottom: 8px; width: 1.5px; height: 46px; background: #8a6f5a; transform: rotate(18deg); transform-origin: bottom; }
.bag-k { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.bag-code { font-size: 2.9rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); margin: 4px 0 2px; }
.bag-city { font-size: .78rem; color: var(--ink-2); }
.bag-bars { height: 26px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; }
.collage .o-bag:hover { transform: rotate(-4deg) translateY(-6px); }

.o-permit { right: -6px; top: 330px; width: 178px; z-index: 9; transform: rotate(7deg); background: #d9bf94; background-image: radial-gradient(rgba(90,59,46,.08) 1px, transparent 1px); background-size: 6px 6px; padding: 16px 16px 14px 30px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); box-shadow: 0 8px 18px rgba(36,37,29,.18); display: flex; flex-direction: column; color: #3f2b20; }
.permit-hole { position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px #b99868; }
.permit-k { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.permit-place { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 6px; border-bottom: 1px dashed rgba(63,43,32,.45); padding-bottom: 6px; }
.permit-meta { font-size: .76rem; }
.collage .o-permit:hover { transform: rotate(2deg) translateY(-6px); }

.o-lift { left: 34%; top: 470px; width: 158px; z-index: 11; transform: rotate(-5deg); background: #fbf7ef; padding: 26px 14px 12px; border-radius: 4px; box-shadow: 0 8px 18px rgba(36,37,29,.16); border-left: 6px solid var(--d-lake); display: flex; flex-direction: column; }
.lift-wire { position: absolute; top: -18px; left: 50%; width: 30px; height: 36px; margin-left: -15px; border: 2px solid #9a9a92; border-bottom: 0; border-radius: 15px 15px 0 0; }
.lift-k { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lift-big { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 3px 0 4px; }
.lift-meta { font-size: .74rem; color: var(--ink-2); }
.collage .o-lift:hover { transform: rotate(0) translateY(-6px); }

.c-land2 { top: 250px; left: 2%; }
@media (max-width: 900px) {
  .collage { height: 560px; }
  .o-blossom { width: 120px; right: 30%; }
  .o-bag { width: 112px; padding: 18px 10px 10px; top: 20px; }
  .bag-code { font-size: 2.1rem; }
  .o-permit { width: 150px; top: 340px; }
  .permit-place { font-size: 1.1rem; }
  .o-lift { width: 132px; top: 440px; left: 30%; }
}
.o-blossom figcaption { position: absolute; left: 92%; top: -2px; margin: 0; transform: rotate(-6deg); white-space: nowrap; }
@media (max-width: 900px) {
  .o-lift { display: none; }
  .o-permit { width: 168px; top: 380px; right: 0; padding: 12px 12px 10px 26px; }
  .permit-place { font-size: 1.05rem; white-space: nowrap; }
  .permit-meta { white-space: nowrap; font-size: .7rem; }
  .collage { height: 520px; }
}

/* Minimal hero gallery */
.gallery { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 540px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; }
.gallery .g-main { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(22,23,15,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }
@media (max-width: 900px) { .gallery { height: 440px; } }
@media (max-width: 520px) { .gallery { height: 360px; gap: 10px; } }
.hero h1 { font-size: clamp(2rem, 3.3vw, 2.9rem) !important; letter-spacing: -.03em !important; line-height: 1.1 !important; max-width: 15em; }

/* Hand-drawn circle */
.circled { position: relative; white-space: nowrap; display: inline-block; }
.circled svg { position: absolute; left: -5%; top: -20%; width: 110%; height: 145%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--rust); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw-circle 1.3s .5s cubic-bezier(.6,.1,.3,1) forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
.circled:hover path { animation: draw-circle-again 1s cubic-bezier(.6,.1,.3,1); }
@keyframes draw-circle-again { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .circled path { stroke-dashoffset: 0; animation: none; } }

/* Headline underline across the whole statement */
.hero h1.underlined { position: relative; display: inline-block; padding-bottom: .28em; }
.hero h1.underlined svg { position: absolute; left: -1%; bottom: 0; width: 102%; height: .3em; overflow: visible; pointer-events: none; }
.hero h1.underlined path { fill: none; stroke: var(--rust); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s .4s var(--ease) forwards; }
@media (prefers-reduced-motion: reduce) { .hero h1.underlined path { stroke-dashoffset: 0; animation: none; } }

/* Static findings (case studies) */
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.findings.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .findings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .findings, .findings.four { grid-template-columns: 1fr; } }
.finding { background: var(--paper); border-top: 3px solid var(--d-rust); border-radius: 2px; padding: 24px 24px 22px; box-shadow: 0 8px 20px rgba(36,37,29,.07); display: flex; flex-direction: column; }
.finding .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.finding .stat { font-weight: 700; font-size: 2rem; letter-spacing: -.04em; color: var(--rust); line-height: 1.05; margin: 10px 0 8px; }
.finding .h { font-weight: 600; font-size: 1.05rem; line-height: 1.4; margin: 0 0 18px; color: var(--ink); }
.finding .rec { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.finding .rk { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.finding .rec p { margin: 0; font-size: 1rem; color: var(--ink-2); line-height: 1.55; }

/* About: static facts, no hover motion */
.facts-row .fact { background: var(--paper); border-top: 3px solid var(--d-ochre); border-radius: 2px; padding: 18px; box-shadow: 0 8px 20px rgba(36,37,29,.07); }
.facts-row .fact .q { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.facts-row .fact .a { display: block; margin-top: 8px; font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.finding, .facts-row .fact { transition: transform .3s var(--ease), box-shadow .3s; }
.finding:hover, .facts-row .fact:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(36,37,29,.12); }

/* Plain case study cover, no frame */
.cs-hero .cs-cover { margin-top: 44px; border-radius: 6px; transform: none; }

/* Illustrated question covers */
.cov-ill { position: relative; overflow: hidden; display: grid !important; place-items: start !important; align-content: space-between; padding: 26px 30px !important; }
.cov-ill .lab { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,231,.72); position: relative; z-index: 2; }
.cov-ill .qq { font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -.04em; color: #f6f1e7; max-width: 8.5em; position: relative; z-index: 2; }
.cov-ill .qq em { font-style: normal; color: #f1c9c1; }
.cov-ill .ill { position: absolute; right: 24px; top: 22px; width: 54%; height: auto; z-index: 1; transition: transform .6s var(--ease); }
a.card:hover .cov-ill .ill { transform: translateY(-4px) rotate(-1deg); }
.cov-ill .ill * { fill: none; stroke: #f6f1e7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cov-ill .ill .acc { fill: #f1c9c1; stroke: #f1c9c1; }
.cov-ill .ill .bg { fill: var(--tint); }
.cov-ill .ill .dot { fill: #f6f1e7; }
.cov-ill .ill .faint { opacity: .35; }
.cov-ill .ill .tick { stroke: var(--tint); stroke-width: 3; }
.cov-ill .ill .star { fill: var(--tint); stroke: none; }
.cov-ill.light .lab { color: rgba(90,26,38,.7); }
.cov-ill.light .qq { color: #3a1a20; }
.cov-ill.light .qq em { color: #7a2433; }
.cov-ill.light .ill * { stroke: #3a1a20; }
.cov-ill.light .ill .acc { fill: #7a2433; stroke: #7a2433; }
.cov-ill.light .ill .dot { fill: #3a1a20; }
.cs-cover.cov-ill { aspect-ratio: 21 / 8; }
.cs-cover.cov-ill .ill { width: 34%; right: 48px; top: 50%; transform: translateY(-50%); }
.cs-cover.cov-ill .qq { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 10em; }
@media (max-width: 600px) { .cov-ill .ill { width: 58%; right: 16px; top: 16px; } .cov-ill .qq { font-size: 1.7rem; } }

/* Mobile: stack the illustrated covers (label → drawing → question) so nothing overlaps */
@media (max-width: 600px) {
  .cov-ill, .cs-cover.cov-ill { aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; gap: 14px; padding: 20px 22px 24px !important; align-content: start; }
  .cov-ill .ill, .cs-cover.cov-ill .ill { position: static !important; transform: none !important; width: 66% !important; max-width: 240px; justify-self: center; margin: 4px 0 2px; }
  .cov-ill .qq, .cs-cover.cov-ill .qq { font-size: 1.6rem !important; max-width: none; }
}

/* Fluid covers: label / drawing / question each get their own row, so they can't collide at any width */
.cov-ill, .cs-cover.cov-ill { grid-template-rows: auto minmax(0,1fr) auto; align-content: stretch !important; row-gap: 10px; }
.cov-ill .ill, .cs-cover.cov-ill .ill { position: static !important; transform: none; grid-row: 2; justify-self: end; align-self: center; width: auto !important; max-width: 62%; height: 100% !important; max-height: 100%; min-height: 0; margin: 0; }
.cs-cover.cov-ill .ill { max-width: 40%; margin-right: 2%; }
a.card:hover .cov-ill .ill { transform: translateY(-4px) rotate(-1deg); }
.cov-ill .qq { grid-row: 3; font-size: clamp(1.5rem, 2.9vw, 2.8rem); }
@media (max-width: 600px) {
  .cov-ill .ill, .cs-cover.cov-ill .ill { height: auto !important; width: 66% !important; max-width: 240px; justify-self: center; }
}

/* Small phones: keep all three nav links on screen */
@media (max-width: 420px) {
  .nav .wrap { gap: 8px; }
  .nav ul { gap: 0; }
  .nav a.link { padding: 8px 7px !important; letter-spacing: .06em !important; font-size: .82rem !important; }
}
@media (max-width: 340px) { .nav a.link { padding: 8px 5px !important; font-size: .76rem !important; } }

/* Case study intro: let the summary run as wide as the headline */
.cs-hero .summary { max-width: 50em !important; }

/* More work: compact list under the featured cases */
.more-work { margin-top: 72px; }
.more-work .eyebrow { margin-bottom: 14px; }
.more-work ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(36,37,29,.14); }
.more-work li a { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid rgba(36,37,29,.14); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease), color .2s; }
.more-work .mw-t { font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.more-work .mw-w { color: var(--ink-3); font-size: .92rem; }
.more-work .mw-a { color: var(--rust); transition: transform .3s var(--ease); }
.more-work li a:hover { padding-left: 12px; color: var(--rust); }
.more-work li a:hover .mw-a { transform: translateX(4px); }
@media (max-width: 600px) { .more-work li a { grid-template-columns: 1fr auto; gap: 4px 16px; } .more-work .mw-w { grid-column: 1; grid-row: 2; } .more-work .mw-a { grid-row: 1 / span 2; align-self: center; } }

/* ===== Case study: scannable sections ===== */
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-top: 2px solid var(--ink); }
.glance > div { padding: 18px 24px 4px 0; }
.glance > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.gl-k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
.glance p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 760px) { .glance { grid-template-columns: 1fr; } .glance > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .glance > div { padding: 16px 0 14px; } }

.approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.approach li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.ap-n { font-size: .85rem; font-weight: 700; color: var(--rust); padding-top: 3px; }
.approach h3 { font-size: 1.15rem; margin: 0 0 6px; letter-spacing: -.01em; }
.approach p { margin: 0; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 760px) { .approach { grid-template-columns: 1fr; } }

.rc-main { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; max-width: 34em; margin: 0 0 26px; padding-left: 18px; border-left: 3px solid var(--rust); }
.recs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.recs li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rc-t { font-weight: 500; }
.rc-p { flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 600px) { .recs li { flex-direction: column; gap: 4px; } }

.reflect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rf-col { background: #fbf8f2; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; padding: 22px 24px; }
.rf-col:first-child { border-top-color: var(--rust); }
.rf-col h3 { font-size: 1.05rem; margin: 0 0 12px; }
.rf-col ul { margin: 0; padding-left: 18px; color: var(--ink-2); line-height: 1.55; }
.rf-col li + li { margin-top: 10px; }
@media (max-width: 860px) { .reflect { grid-template-columns: 1fr; } }
/* Four impact points: 2 x 2 instead of an orphan */
@media (min-width: 761px) { .impact:has(> div:nth-child(4)) { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }

/* Partner quote */
.partner-quote { margin: 0; padding: 36px 40px; background: var(--forest-deep); color: #f6f1e7; border-radius: 6px; }
.partner-quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.7rem); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; max-width: 34em; }
.partner-quote figcaption { margin-top: 18px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #e7b8b0; font-weight: 600; }
@media (max-width: 600px) { .partner-quote { padding: 26px 24px; } }

/* Three-zone trust map */
.ww.three { grid-template-columns: repeat(3, 1fr); }
.ww.three .ww-col:nth-child(1) { background: var(--d-forest); color: #f3eee3; }
.ww.three .ww-col:nth-child(2) { background: var(--pink); color: #4a1520; }
.ww.three .ww-col:nth-child(3) { background: var(--rust); color: #f6e9e6; }
.ww.three .ww-col { padding: 32px 30px 28px; }
.ww.three .ww-col h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
@media (max-width: 860px) { .ww.three { grid-template-columns: 1fr; } }

/* Trust map, readable version: light cards, colored header, larger dark text */
.ww.three { gap: 18px; box-shadow: none; border-radius: 0; overflow: visible; }
.ww.three .ww-col { background: #fbf8f2 !important; color: var(--ink) !important; border: 1px solid var(--line); border-top: 6px solid var(--z); border-radius: 6px; padding: 26px 28px 22px; }
.ww.three .ww-col:nth-child(1) { --z: var(--accent); --zt: var(--accent); }
.ww.three .ww-col:nth-child(2) { --z: #d99a8f; --zt: #9a4a3f; }
.ww.three .ww-col:nth-child(3) { --z: var(--rust); --zt: var(--rust); }
.ww.three .ww-k { color: var(--zt); opacity: 1; font-size: .8rem; }
.ww.three .ww-col h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin: 6px 0 16px; color: var(--ink); }
.ww.three .ww-col li { position: relative; padding: 12px 0 12px 30px; font-size: 1.05rem; line-height: 1.45; color: var(--ink-2); border-top: 1px solid var(--line); }
.ww.three .ww-col li::before { position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: var(--z); }
.ww.three .ww-col:nth-child(1) li::before { content: "\2713"; }
.ww.three .ww-col:nth-child(2) li::before { content: "~"; color: #5a1f18; }
.ww.three .ww-col:nth-child(3) li::before { content: "\2715"; }
.ww.three .ww-col:nth-child(2) li::before { content: "\2013"; font-size: .9rem; color: #fff; background: #c98276; }

/* ===== Accessibility & readability pass ===== */
/* Small labels: never below ~13px */
.finding .k, .finding .rk, .gl-k, .facts-row .q, .wf-pain span, .ww.three .ww-k, .rc-p, .facts dt, .eyebrow, .cov-ill .lab { font-size: max(.8rem, 13px) !important; }
/* Cover labels at full contrast */
.cov-ill .lab { color: #f6f1e7; }
.cov-ill.light .lab { color: #4a1520; }
/* Contact eyebrow on dark olive */
.contact .eyebrow, .contact .eyebrow .n { color: #ead8cf !important; }
/* Visible focus ring on dark panels and covers */
.contact :focus-visible, .marquee :focus-visible, .partner-quote :focus-visible { outline-color: #f1c9c1; }
a.card:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
/* Photo captions: readable whenever they show */
.gallery figcaption { font-size: .8rem; background: rgba(22,23,15,.72); }
.gallery figure:focus-within figcaption, .gallery figure:hover figcaption { opacity: 1; transform: none; }
/* Comfortable reading */
body { line-height: 1.6; }
.two .body p, .approach p, .finding .rec p, .impact p, .rf-col li { max-width: 68ch; }
.finding .rec p, .impact p { font-size: max(.95rem, 15px); line-height: 1.55; }
/* Links inside body copy are underlined so they don't rely on color */
.body a, .bio a, .note a { text-decoration: underline; text-underline-offset: 3px; }
/* Five facts fit on one row */
@media (min-width: 761px) { .facts:has(> div:nth-child(5)) { grid-template-columns: 1fr 1.3fr .8fr 1fr 1fr; } }

/* Ratings bars */
.rating { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.rating li { display: grid; grid-template-columns: 220px 1fr 48px; gap: 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.rating li:first-child .rt-bar i { background: var(--rust); }
.rt-n { font-weight: 500; }
.rt-bar { height: 12px; background: #e9e1d3; border-radius: 999px; overflow: hidden; }
.rt-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.rt-v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .rating li { grid-template-columns: 1fr 44px; } .rt-bar { grid-column: 1 / -1; grid-row: 2; } }

/* ===== Contact, minimal ===== */
.contact2 { padding: 40px 0 90px; }
.contact2 .wrap { border-top: 2px solid var(--ink); padding-top: 26px; }
.c2-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.c2-top .eyebrow { margin: 0; }
.c2-status { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.c2-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(92,107,58,.18); }
.c2-title { font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -.045em; line-height: 1; margin: 34px 0 18px; }
.c2-email { display: inline-flex; align-items: baseline; gap: 14px; font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; color: var(--rust); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size .35s var(--ease); word-break: break-word; }
.c2-email span { transition: transform .3s var(--ease); }
.c2-email:hover { background-size: 0 2px; }
.c2-email:hover span { transform: translateX(6px); }
.c2-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; }
.c2-links a { color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.c2-links a:hover { color: var(--rust); border-color: var(--rust); }
.c2-loc { color: var(--ink-3); }

/* ===== Contact: photo split ===== */
.contact3 { padding: 30px 0 90px; }
.c3 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--forest-deep); border-radius: 16px; overflow: hidden; }
.c3-photo { margin: 0; min-height: 340px; }
.c3-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.c3-body { padding: clamp(28px, 4.5vw, 56px); align-self: center; color: #f5f0e7; }
.c3-body .eyebrow { color: #ead8cf !important; margin: 0 0 14px; }
.c3-body .eyebrow .n { color: #f1c9c1 !important; }
.c3-body h2 { color: #f5f0e7; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; line-height: 1; margin: 0; }
.c3-lede { color: #e6dccd; font-size: 1.1rem; margin: 14px 0 26px; max-width: 30em; }
.c3-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.c3-btn { display: inline-flex; gap: 8px; align-items: center; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(245,240,231,.55); color: #f5f0e7; text-decoration: none; font-weight: 500; transition: background .2s, color .2s, transform .2s var(--ease); }
.c3-btn:hover { background: rgba(245,240,231,.12); transform: translateY(-2px); }
.c3-btn.primary { background: #f1c9c1; border-color: #f1c9c1; color: #3a1a20; font-weight: 600; }
.c3-btn.primary:hover { background: #f7dcd6; }
.c3-btn:focus-visible { outline: 3px solid #f1c9c1; outline-offset: 3px; }
.c3-mail { margin: 18px 0 0; font-size: .92rem; color: #cfc6b4; }
@media (max-width: 760px) { .c3 { grid-template-columns: 1fr; } .c3-photo { min-height: 0; aspect-ratio: 4 / 3; } }
.c3-photo { position: relative; min-height: 380px; }
.c3-photo img { position: absolute; inset: 0; object-position: 50% 45%; }
@media (max-width: 760px) { .c3-photo { min-height: 0; aspect-ratio: 4 / 3; } .c3-photo img { object-position: 50% 62%; } }
@media (min-width: 761px) { .c3-photo img { object-position: 50% 72%; } }
.about-hero figure figcaption i.loc, figcaption i.loc { display: block; margin-top: 2px; }
.about-hero .photo { padding-bottom: 74px !important; }
.about-hero .photo figcaption { bottom: 16px; line-height: 1.3; }
.about-hero .photo figcaption i.loc { font-size: .9rem; color: var(--ink-3); }

/* ===== Washi tape on polaroids (realistic, a few only) ===== */
.photo-wall button { position: relative; }
.photo-wall button::before { content: ""; position: absolute; z-index: 3; width: 92px; height: 26px; pointer-events: none;
  background: var(--tape, rgba(231,184,176,.72));
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 2px, transparent 2px 7px);
  box-shadow: 0 1px 2px rgba(36,37,29,.12);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px)), radial-gradient(circle at 0 50%, #000 0 0);
  clip-path: polygon(2% 8%, 6% 0, 12% 10%, 18% 2%, 26% 6%, 100% 0, 98% 12%, 100% 26%, 97% 40%, 100% 55%, 97% 70%, 100% 86%, 96% 100%, 88% 92%, 80% 100%, 0 100%, 3% 84%, 0 68%, 3% 52%, 0 36%, 3% 20%);
  opacity: 0; }
/* top-center tape */
.photo-wall button:nth-child(1)::before, .photo-wall button:nth-child(7)::before, .photo-wall button:nth-child(10)::before { opacity: 1; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
/* corner tape */
.photo-wall button:nth-child(4)::before, .photo-wall button:nth-child(6)::before, .photo-wall button:nth-child(12)::before { opacity: 1; top: -8px; right: -24px; transform: rotate(38deg); width: 78px; }
.photo-wall button:nth-child(6)::before, .photo-wall button:nth-child(10)::before { --tape: rgba(170,180,140,.7); }
.photo-wall button:nth-child(12)::before { --tape: rgba(238,228,206,.85); }

/* Tape only on the About portrait, not the gallery */
.photo-wall button::before { display: none !important; }
.about-hero .photo::before, .about-hero .photo::after { content: ""; position: absolute; z-index: 3; height: 30px; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 2px, transparent 2px 7px);
  box-shadow: 0 1px 2px rgba(36,37,29,.12);
  clip-path: polygon(2% 8%, 6% 0, 12% 10%, 18% 2%, 26% 6%, 100% 0, 98% 12%, 100% 26%, 97% 40%, 100% 55%, 97% 70%, 100% 86%, 96% 100%, 88% 92%, 80% 100%, 0 100%, 3% 84%, 0 68%, 3% 52%, 0 36%, 3% 20%); }
.about-hero .photo::before { width: 118px; top: -14px; left: calc(50% - 59px); right: auto; bottom: auto; transform: rotate(-4deg); background-color: rgba(231,184,176,.75); }
.about-hero .photo::after { width: 90px; bottom: 30px; right: -30px; transform: rotate(-38deg); background-color: rgba(170,180,140,.72); }
.about-hero .photo::before { display: block !important; inset: auto; border-radius: 0; }
.about-hero .photo::before { top: -14px; left: calc(50% - 59px); }

/* ===== Portrait: topo map scrap + pressed fern (replaces tape) ===== */
.about-hero .photo::before, .about-hero .photo::after { display: none !important; }
.about-hero .photo { isolation: isolate; }
.about-hero .photo img.topo { position: absolute; z-index: -1; width: 78%; height: auto; top: -34px; left: -46px; transform: rotate(-9deg);
  box-shadow: 0 1px 2px rgba(36,37,29,.1), 0 10px 22px rgba(36,37,29,.12);
  clip-path: polygon(0 3%, 7% 0, 15% 2%, 24% 0, 36% 3%, 48% 0, 60% 2%, 72% 0, 84% 3%, 100% 1%, 98% 14%, 100% 30%, 97% 46%, 100% 60%, 98% 78%, 100% 100%, 0 100%, 2% 84%, 0 66%, 3% 48%, 0 30%, 2% 14%); }
.about-hero .photo img.fern { position: absolute; z-index: 4; width: 120px; height: auto; right: -40px; bottom: 18px; transform: rotate(8deg); filter: drop-shadow(0 1px 1px rgba(36,37,29,.25)); pointer-events: none; }
.about-hero .photo > img:not(.topo):not(.fern) { position: relative; z-index: 1; }
@media (max-width: 860px) { .about-hero .photo img.topo { left: -20px; } .about-hero .photo img.fern { right: -18px; width: 96px; } }
.about-hero { overflow-x: clip; }
@media (max-width: 860px) { .about-hero .photo img.fern { right: -10px; bottom: 76px; width: 88px; } }

/* Portrait v2: topo peeks out from under the bottom; dried flower */
.about-hero .photo img.topo { width: 86%; top: auto; bottom: -46px; left: auto; right: -42px; transform: rotate(7deg); }
.about-hero .photo img.flower { position: absolute; z-index: 4; width: 92px; height: auto; left: -34px; bottom: 34px; transform: rotate(-14deg); filter: drop-shadow(0 1px 1px rgba(36,37,29,.25)); pointer-events: none; }
@media (max-width: 860px) { .about-hero .photo img.topo { right: -14px; bottom: -34px; } .about-hero .photo img.flower { left: -10px; bottom: 70px; width: 76px; } }

/* Portrait v3: topo sits under the whole polaroid */
.about-hero .photo > img.flower { position: absolute !important; z-index: 4 !important; }
.about-hero .photo { isolation: auto; position: relative; z-index: 1; }
.photo-stack { position: relative; align-self: start; }
.photo-stack img.topo { position: absolute; z-index: 0; width: 80%; height: auto; right: -40px; bottom: -40px; transform: rotate(8deg);
  box-shadow: 0 1px 2px rgba(36,37,29,.1), 0 10px 22px rgba(36,37,29,.12);
  clip-path: polygon(0 3%, 7% 0, 15% 2%, 24% 0, 36% 3%, 48% 0, 60% 2%, 72% 0, 84% 3%, 100% 1%, 98% 14%, 100% 30%, 97% 46%, 100% 60%, 98% 78%, 100% 100%, 0 100%, 2% 84%, 0 66%, 3% 48%, 0 30%, 2% 14%); }
@media (max-width: 860px) { .photo-stack { max-width: 360px; } .photo-stack img.topo { right: -12px; bottom: -30px; } }
@media (min-width: 861px) { .about-hero .photo img.flower { width: 118px; left: -46px; bottom: 30px; } }
/* realism: flower looks pressed onto the paper; topo has soft paper shadow */
.about-hero .photo img.flower { filter: drop-shadow(0 .5px .5px rgba(36,37,29,.35)) drop-shadow(0 2px 3px rgba(36,37,29,.12)) saturate(.9); }
.photo-stack img.topo { box-shadow: 0 1px 1px rgba(36,37,29,.12), 0 6px 14px rgba(36,37,29,.14); }

/* Alternate media left/right across all featured projects, not per company */
@media (min-width: 821px) {
  .projects > .card.row:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
  .projects > .card.row:nth-child(even) .media { order: 0; }
  .projects > .card.row.alt { grid-template-columns: 1fr 1.15fr; }
  .projects > .card.row.alt .media { order: 2; }
}

/* Custom cursor: a small star (burgundy with a cream edge shows on light and dark) */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("../img/cursor-star.svg") 14 14, auto; }
  a, button, [role="button"], .card, .photo-wall button, summary, label { cursor: url("../img/cursor-star-hover.svg") 14 14, pointer !important; }
  input, textarea { cursor: text; }
}

/* Jump link to the photo archive */
html { scroll-behavior: smooth; }
#photos { scroll-margin-top: 90px; }
.jump { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--rust); color: var(--rust); font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.jump span { transition: transform .3s var(--ease); }
.jump:hover { background: var(--rust); color: #fbf8f2; }
.jump:hover span { transform: translateY(3px); }
.bio a.jump { text-decoration: none; }
.c3-copy { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: rgba(207,198,180,.35); text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.c3-copy:hover { color: #f5f0e7; text-decoration-color: currentColor; }

/* ==========================================================================
   SITE COLORS — the one place to change them.
   These are the current values; edit a hex code here and it changes everywhere.
   ========================================================================== */
:root {
  --bg: #f5f0e7;            /* page background (cream) */
  --ink: #24251d;           /* main text */
  --ink-2: #3d3b31;         /* body text */
  --ink-3: #6b6757;         /* muted text */
  --accent: #5c6b3a;        /* olive */
  --rust: #7a2433;          /* burgundy (links, highlights) */
  --accent-2: #7a2433;      /* burgundy, used by older rules */
  --pink: #e7b8b0;          /* blush */
  --mustard: #e7b8b0;       /* blush, used by older rules */
  --forest-deep: #3c4727;   /* dark olive (contact panel) */
  --line: #e2d9c9;          /* thin dividers */
  --paper: #fffdf8;         /* polaroid paper */
  /* project cover colors */
  --d-forest: #3c4727; --d-rust: #7a2433; --d-ochre: #e3b2a9; --d-lake: #5c6b3a; --d-earth: #4a3328;
}

/* Returning from a case study lands on that project, clear of the sticky menu */
.projects > .card.row[id], #more-work { scroll-margin-top: 110px; }

/* Case study: walkthrough invitation (Amazon) */
.cs-cta { background: #fbf8f2; border: 1px solid var(--line); border-radius: 14px; padding: clamp(26px, 4vw, 44px); }
.cs-cta .eyebrow { margin: 0 0 10px; }
.cs-cta-t { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); max-width: 38em; margin: 0 0 22px; }
.cs-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--rust); color: #fbf8f2; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.cs-cta-btn:hover { background: #5f1b28; transform: translateY(-2px); }
.cs-cta-btn span { transition: transform .3s var(--ease); }
.cs-cta-btn:hover span { transform: translateX(4px); }
