/* Tatiana Sy — shared styles. Three bright colors on a very mild off-white; one rounded sans; studs as the recurring shape. Light-only by design. */
:root {
  --paper: #FDFCFB;
  --plate: #F2F2EC;
  --ink: #212738;
  --ink-soft: #565C6C;
  --ink-faint: #8E929E;
  --line: #E9E9E3;
  --red: #E63A2E;
  --red-deep: #B82C22;
  --lime: #F5B400;
  --lime-deep: #C99200;
  --k-pink: #EC2F8B;
  --k-purple: #6B3FB0;
  --k-orange: #F58A1F;
  --k-green: #2FA84F;
  --k-blue: #2E7DE6;
  --k-red: #E63A2E;
  --k-yellow: #F5B400;
  --k-sky: #33B1E3;
  --brand-ink: #0E1632;
  --muted: #565C6C;
  --year: #7A7F8C;
  --display: "Poppins", "Futura", "Avenir Next", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease-pop: cubic-bezier(.3, 1.45, .5, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; cursor: url("img/banana.png") 1 20, auto; cursor: -webkit-image-set(url("img/banana.png") 1x, url("img/banana@2x.png") 2x) 1 20, auto; }
a, button { cursor: url("img/banana.png") 1 20, pointer; cursor: -webkit-image-set(url("img/banana.png") 1x, url("img/banana@2x.png") 2x) 1 20, pointer; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--k-purple); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark { background: linear-gradient(transparent 52%, var(--lime) 52%, var(--lime) 92%, transparent 92%); color: var(--ink); padding: 0 .08em; }
.mono { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.sq { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--c, var(--red)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); flex-shrink: 0; }

.chip { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 12px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="false"] { border-color: var(--line); color: var(--ink-faint); }
.btn { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 11px 18px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); transition: background .2s, transform .15s; }
.btn:hover { background: var(--red); }
.btn:active { transform: translateY(2px); }
.email { font-family: var(--mono); font-size: .82rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; user-select: all; overflow-wrap: anywhere; background: #fff; }

/* ---------- Snap-together name ---------- */
.name-zone { position: relative; width: 100%; touch-action: none; }
.nb { position: absolute; left: 0; top: 0; width: var(--bw); height: var(--bh); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .5s var(--ease-pop), opacity .3s; will-change: transform; }
.nb[data-tone="red"]  { --b: var(--red);  --f: var(--paper); --d: var(--red-deep); }
.nb[data-tone="lime"] { --b: var(--lime); --f: var(--ink);   --d: var(--lime-deep); }
.nb[data-tone="ink"]  { --b: var(--ink);  --f: var(--paper); --d: #0B0E16; }
.nb-face { position: relative; width: 100%; height: 100%; border-radius: 5px; background: var(--b); color: var(--f); display: grid; place-items: center; font-weight: 900; font-size: calc(var(--bh) * .6); line-height: 1; letter-spacing: -0.02em; padding-bottom: 4px; box-shadow: inset 0 -5px 0 var(--d), inset 0 2px 0 rgba(255,255,255,.25); transform-origin: 50% 100%; }
.nb-studs { position: absolute; left: 0; right: 0; top: -7px; height: 7px; display: flex; justify-content: space-evenly; pointer-events: none; }
.nb-studs i { width: 30%; height: 100%; background: var(--b); border-radius: 3px 3px 0 0; box-shadow: inset 0 -2px 0 var(--d), inset 2px 0 0 rgba(255,255,255,.22); }
.nb.dragging { transition: none; cursor: grabbing; z-index: 50; }
.nb.dragging .nb-face { box-shadow: inset 0 -5px 0 var(--d), inset 0 2px 0 rgba(255,255,255,.25), 0 18px 26px -12px rgba(33,39,56,.5); }
.bump { animation: bump .32s var(--ease-pop); }
@keyframes bump { 0% { transform: scale(1.06, .86); } 100% { transform: none; } }

/* ---------- Home ---------- */
.home { display: grid; grid-template-columns: clamp(340px, 31vw, 460px) minmax(0, 1fr); height: 100svh; min-height: 640px; }
@media (min-width: 861px) and (min-height: 640px) { html.home-page, html.home-page body { overflow: hidden; } }
.menu { position: relative; z-index: 3; padding-block: 34px 26px; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: 36px; display: flex; flex-direction: column; gap: 20px; background: var(--paper); min-height: 0; }
.dog { width: 46px; height: 46px; object-fit: contain; transition: transform .4s var(--ease-pop); }
.dog:hover { transform: rotate(-12deg) scale(1.08); }
.name-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.bio { display: grid; gap: 10px; max-width: 32ch; }
.bio p { margin: 0; }
.big-nav { display: grid; gap: 2px; margin-top: 4px; }
.big-nav a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; width: fit-content; transition: transform .3s var(--ease-pop); }
.big-nav a .sq { width: 16px; height: 16px; border-radius: 4px; transform: scale(.7); transition: transform .3s var(--ease-pop); }
.big-nav a .arr { font-weight: 500; font-size: .7em; opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .3s var(--ease-pop); }
.big-nav a small { font-family: var(--mono); font-size: .62rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); align-self: center; margin-left: 2px; }
.big-nav a:hover, .big-nav a:focus-visible { transform: translateX(4px); }
.big-nav a:hover .sq, .big-nav a:focus-visible .sq { transform: scale(1) rotate(45deg); }
.big-nav a:hover .arr, .big-nav a:focus-visible .arr { opacity: 1; transform: none; }
.menu-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.menu-foot .where { font-weight: 600; font-size: .95rem; }
.menu-foot .where span { font-variant-numeric: tabular-nums; color: var(--ink-faint); font-weight: 500; margin-left: 6px; }
.stage { position: relative; min-width: 0; min-height: 0; border-left: 1.5px solid var(--line); background: var(--paper); }

@media (max-width: 860px) {
  .home { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .menu { padding-block: 28px 22px; padding-left: var(--gl); padding-right: var(--gr); }
  .stage { height: 92svh; min-height: 600px; border-left: 0; border-top: 1.5px solid var(--line); }
}

/* ---------- Face builder ---------- */
.fb { position: relative; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px max(26px, env(safe-area-inset-right, 0px)) 18px 26px; }
.fb-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fb-title { display: block; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.fb-sub { font-size: .9rem; color: var(--ink-soft); }
.fb-actions { display: flex; gap: 8px; }
.fb-btn { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 13px; transition: background .2s, color .2s; }
.fb-btn:hover { background: var(--ink); color: var(--paper); }
.fb-btn[data-act="shuffle"] { background: var(--lime); border-color: var(--lime-deep); box-shadow: inset 0 -2px 0 var(--lime-deep); }
.fb-btn[data-act="shuffle"]:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fb-board { flex: 1; min-height: 0; display: grid; place-items: center; }
.fb-plate {
  position: relative; border-radius: 10px; touch-action: none;
  background-color: var(--plate);
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.95) 0 23%, rgba(33,39,56,.11) 24% 30%, transparent 31%);
  background-size: var(--u) var(--u);
  box-shadow: 0 0 0 1.5px var(--line), 0 5px 0 #E0E0D8, 0 24px 40px -26px rgba(33,39,56,.35);
}
.fb-pc { position: absolute; left: 0; top: 0; transition: transform .3s var(--ease-pop); cursor: grab; touch-action: none; outline: none; }
.fb-pc-in { width: 100%; height: 100%; transform-origin: 50% 100%; filter: drop-shadow(0 1.5px 0 rgba(33,39,56,.18)); }
.fb-pc-in svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fb-pc[data-cat="bricks"] .fb-pc-in { filter: drop-shadow(0 2px 0 rgba(33,39,56,.14)); }
.fb-pc:focus-visible .fb-pc-in { outline: 2.5px solid var(--red); outline-offset: 2px; border-radius: 3px; }
.fb-pc.dragging { transition: none; cursor: grabbing; z-index: 99999 !important; }
.fb-pc.dragging .fb-pc-in { transform: scale(1.05); filter: drop-shadow(0 14px 14px rgba(33,39,56,.32)); }
.fb-pc.leaving .fb-pc-in { opacity: .45; transform: scale(.9) rotate(-6deg); }
.fb-pc.gone { pointer-events: none; }
.fb-pc.gone .fb-pc-in { animation: gone .26s ease-in forwards; }
.fb-pc-in.new { animation: drop .42s var(--ease-pop); }
@keyframes drop { 0% { transform: translateY(-26px) scale(1.12); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes gone { to { transform: scale(.4) rotate(14deg); opacity: 0; } }

.fb-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fb-cat { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; text-align: left; transition: border-color .2s, background .2s, transform .25s var(--ease-pop); }
.fb-cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.fb-cat[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fb-cat[aria-expanded="true"] small { color: rgba(253,253,251,.6); }
.fb-ico { width: 38px; height: 30px; display: grid; place-items: center; flex-shrink: 0; background: var(--plate); border-radius: 8px; padding: 4px; }
.fb-ico svg { max-width: 100%; max-height: 100%; }
.fb-cat-text { display: grid; min-width: 0; line-height: 1.15; }
.fb-cat-text b { font-size: .95rem; font-weight: 800; }
.fb-cat-text small { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-hint { margin: 0; font-size: .8rem; color: var(--ink-faint); text-align: center; }

.fb-tray { position: absolute; left: 26px; right: 26px; bottom: 118px; z-index: 100000; background: #fff; border-radius: 16px; padding: 14px 14px 16px; box-shadow: 0 0 0 1.5px var(--ink), 0 6px 0 var(--ink), 0 30px 50px -24px rgba(33,39,56,.45); }
.fb-tray.in { animation: trayIn .32s var(--ease-pop); }
@keyframes trayIn { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.fb-tray-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; padding-right: 34px; flex-wrap: wrap; }
.fb-tray-title { font-size: 1.05rem; font-weight: 900; }
.fb-tray-note { font-size: .82rem; color: var(--ink-soft); }
.fb-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--plate); display: grid; place-items: center; }
.fb-x svg { width: 14px; height: 14px; }
.fb-x:hover { background: var(--red); color: #fff; }
.fb-variants { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.fb-var { flex: 1 0 96px; display: grid; justify-items: center; gap: 6px; padding: 10px 8px 8px; background: var(--plate); border: 1.5px solid transparent; border-radius: 12px; font-size: .82rem; font-weight: 700; transition: border-color .2s, transform .25s var(--ease-pop), background .2s; }
.fb-var:hover { border-color: var(--ink); background: #fff; transform: translateY(-3px); }
.fb-var:active { transform: translateY(0) scale(.97); }
.fb-var-ico { height: 46px; width: 80px; display: grid; place-items: center; }
.fb-var-ico svg { max-height: 100%; max-width: 100%; height: 46px; width: auto; aspect-ratio: var(--ar); }

@media (max-width: 1100px) { .fb-cat-text small { display: none; } .fb-ico { width: 32px; } }
@media (max-width: 860px) {
  .fb { padding: 18px var(--gr) 14px var(--gl); }
  .fb-legend { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .fb-cat { flex-direction: column; gap: 4px; padding: 8px 4px; text-align: center; }
  .fb-cat-text b { font-size: .78rem; }
  .fb-tray { left: var(--gl); right: var(--gr); bottom: 128px; }
}
@media (prefers-reduced-motion: reduce) { .fb-pc, .nb { transition: none; } .bump, .fb-pc-in.new, .fb-tray.in { animation: none; } }

/* ---------- Inner pages ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(253,253,251,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
body.inner::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; padding-left: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; object-fit: contain; transition: transform .35s var(--ease-pop); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.top nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.top nav a { text-decoration: none; font-weight: 600; position: relative; padding: 4px 0; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 2px; background: var(--c, var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-pop); }
.top nav a:hover::after, .top nav a[aria-current="page"]::after { transform: scaleX(1); }

.page { padding-left: max(clamp(16px, 5vw, 72px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 5vw, 72px), env(safe-area-inset-right, 0px)); max-width: 1240px; margin-inline: auto; }
.foot { margin-top: 96px; background: var(--ink); color: var(--paper); }
.foot-in { max-width: 1240px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 34px 40px; padding-left: max(clamp(16px, 5vw, 72px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 5vw, 72px), env(safe-area-inset-right, 0px)); }
.foot p { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 900; letter-spacing: -0.02em; }
.foot p em { font-style: normal; color: var(--lime); }
.foot .contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foot .email { background: transparent; border-color: rgba(253,253,251,.25); color: var(--paper); }
.foot .btn { background: var(--lime); color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime-deep); }
.foot .btn:hover { background: var(--red); color: #fff; }

/* Page heads */
.p-head { padding-block: clamp(48px, 8vw, 96px) 36px; display: grid; gap: 18px; }
.p-head h1 { margin: 0; font-weight: 900; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -0.04em; text-wrap: balance; display: flex; align-items: flex-end; gap: .2em; flex-wrap: wrap; }
.p-head h1 .pips { display: inline-flex; gap: 6px; padding-bottom: .16em; }
.p-head h1 .pips i { width: .26em; height: .26em; border-radius: 50%; }
.p-head .lede { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }

/* Works index */
.works { display: grid; gap: clamp(40px, 6vw, 72px); padding-top: 16px; }
.work { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; text-decoration: none; }
.work .shot { border-radius: 16px; overflow: hidden; background: var(--plate); transition: transform .45s var(--ease-pop), box-shadow .45s; }
.work .shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.work:hover .shot, .work:focus-visible .shot { transform: translateY(-8px); box-shadow: 0 8px 0 var(--c), 0 34px 50px -30px rgba(33,39,56,.55); }
.work-text { display: grid; gap: 12px; min-width: 0; }
.work-text .meta { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); }
.work-text h2 { margin: 0; font-weight: 900; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; }
.work-text p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; max-width: 34ch; }
.work-text .go { font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }
.work-text .go span { transition: transform .3s var(--ease-pop); }
.work:hover .go span { transform: translateX(6px); }

/* Case study */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 8px 34px; margin: 0; }
.facts div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.facts dt::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.facts dd { margin: 0; font-weight: 600; }
.hero { border-radius: 18px; overflow: hidden; background: var(--hero-bg, var(--plate)); }
.hero img { width: 100%; height: auto; }
.hero.pad { padding: clamp(18px, 4vw, 48px); }

.cs { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-top: clamp(48px, 7vw, 88px); }
.toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 4px; }
.toc a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-faint); font-weight: 600; padding: 5px 0; transition: color .2s; }
.toc a .sq { transform: scale(0); transition: transform .3s var(--ease-pop); }
.toc a:hover, .toc a.on { color: var(--ink); }
.toc a.on .sq { transform: scale(1); }
.cs-body { display: grid; gap: clamp(56px, 7vw, 88px); min-width: 0; }
.cs-body section { display: grid; gap: 16px; scroll-margin-top: 90px; min-width: 0; }
.cs-body h2 { margin: 0; font-weight: 900; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05; display: flex; align-items: center; gap: 12px; }
.cs-body h2 .sq { width: 14px; height: 14px; }
.cs-body h3 { margin: 12px 0 0; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.cs-body p, .cs-body li { color: var(--ink-soft); max-width: 62ch; }
.cs-body p { margin: 0; }
.cs-body strong { color: var(--ink); }
.cs-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.cs-body ul li::marker { color: var(--c); }
.arrow-list { list-style: none; padding: 0 !important; }
.arrow-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; }
.arrow-list li::before { content: ""; width: 12px; height: 12px; margin-top: .45em; border-radius: 3px; background: var(--c); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.arrow-list b { color: var(--ink); }
.fig { margin: 8px 0 0; display: grid; gap: 10px; }
.fig img, .fig video { border-radius: 14px; }
.fig figcaption { font-size: .88rem; color: var(--ink-faint); }
.fig.tint { background: var(--plate); border-radius: 18px; padding: clamp(14px, 3vw, 32px); }
.fig.tint img { border-radius: 0; }
.ab { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)) minmax(0, 1fr); gap: 14px; align-items: start; }
.ab img { border-radius: 26px; }
.bubble { align-self: center; background: var(--ink); color: var(--paper); border-radius: 18px 18px 18px 4px; padding: 16px 18px; font-size: .98rem; max-width: 30ch; position: relative; }
.bubble b { color: var(--lime); font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; font-weight: 500; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.phones video { width: 100%; border-radius: 22px; background: var(--plate); aspect-ratio: 540 / 1174; object-fit: cover; box-shadow: 0 0 0 5px var(--ink), 0 24px 40px -24px rgba(33,39,56,.5); }
.phones figcaption { text-align: center; margin-top: 12px; }
.phone-one { width: min(280px, 70%); }
.phone-one video { width: 100%; border-radius: 26px; box-shadow: 0 0 0 5px var(--ink), 0 24px 40px -24px rgba(33,39,56,.5); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }

/* Research boxes */
.card { border: 1.5px solid var(--ink); border-radius: 18px; padding: clamp(18px, 3vw, 30px); background: #fff; display: grid; gap: 14px; box-shadow: 0 6px 0 var(--ink); }
.card h3 { margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.card h4 { margin: 4px 0 0; font-size: .7rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.card ol { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.card ol li { color: var(--ink); max-width: 60ch; }
.card ol li::marker { font-weight: 800; color: var(--red); }
.card hr { border: 0; border-top: 1.5px dashed var(--line); margin: 6px 0; width: 100%; }
.takeaways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.takeaways .pull { color: var(--ink); font-weight: 800; }
.rivals { display: flex; flex-wrap: wrap; gap: 8px; }
.rivals span { font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--plate); font-size: .92rem; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1.5px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--line); }
thead th { background: var(--ink); color: var(--paper); font-weight: 800; }
tbody th { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--ink-faint); background: var(--plate); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { color: var(--ink-soft); }

.personas { display: grid; gap: 16px; }
.persona { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; }
.persona .who { display: grid; gap: 10px; align-content: start; }
.persona .face { background: var(--plate); border-radius: 14px; aspect-ratio: 1; padding: 6px; }
.persona .face svg { width: 100%; height: 100%; }
.persona .who b { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; }
.persona dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: .84rem; }
.persona dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); align-self: center; }
.persona dd { margin: 0; font-weight: 600; }
.persona .story { display: grid; gap: 14px; min-width: 0; }
.persona .story p { font-size: .98rem; }
.persona .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.persona h5 { margin: 0 0 6px; font-size: .66rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.persona ul { gap: 4px; font-size: .92rem; }

.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 56px; margin-top: 56px; border-top: 1.5px solid var(--line); }
.pager a { text-decoration: none; display: grid; gap: 4px; }
.pager a b { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 900; letter-spacing: -0.02em; transition: color .2s; }
.pager a:hover b { color: var(--red); }
.pager a:last-child { text-align: right; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: clamp(48px, 8vw, 96px); }
.about .photo { border-radius: 18px; overflow: hidden; box-shadow: 0 8px 0 var(--red); }
.about .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 40%; }
.about-text { display: grid; gap: 18px; font-size: 1.25rem; line-height: 1.45; min-width: 0; }
.about-text h1 { margin: 0; font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: .95; letter-spacing: -0.04em; }
.about-text p { margin: 0; color: var(--ink-soft); max-width: 36ch; }
.about-text .contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }

/* Play */
.play-stage { height: min(860px, calc(100svh - 80px)); min-height: 620px; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.play-stage .fb { background: var(--paper); }

@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about .photo img { aspect-ratio: 4 / 3; }
  .ab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bubble { grid-column: 1 / -1; }
  .persona { grid-template-columns: minmax(0, 1fr); }
  .persona .face { width: 140px; }
  .takeaways { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: 14px; }
}
@media (max-width: 480px) {
  .persona .cols { grid-template-columns: minmax(0, 1fr); }
  .brand span { display: none; }
}


/* ================= Chicka canopy theme, shared by every page ================= */
body { background: var(--paper); }
.wrap { padding-left: max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-right, 0px)); }

.canopy { position: relative; height: 200px; background: url("img/canopy.svg") repeat-x center top / 1440px 200px; }
.nav { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-block: 10px 0; }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--brand-ink); height: 58px; padding-top: 2px; }
.nav .brand img { width: 40px; height: 38px; object-fit: contain; transition: transform .35s var(--ease-pop); }
.nav .brand:hover img { transform: rotate(-12deg) scale(1.08); }
.coconuts { display: flex; gap: 10px; align-items: flex-start; padding-top: 22px; }
.coco { position: relative; display: grid; place-items: center; width: 96px; height: 93px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 28px; color: #FFFFFF; text-shadow: 0 2px 0 rgba(60,25,10,.75), 0 0 9px rgba(60,25,10,.7); }
.coco::before { content: ""; position: absolute; inset: 0; background: var(--fruit) center / contain no-repeat; transform: rotate(var(--spin, 0deg)); transition: transform .5s var(--ease-pop); z-index: 0; }
.coco span { position: relative; z-index: 1; transition: transform .5s var(--ease-pop); }
/* Fruit links: mango, pomelo, kiwi */
.coco:nth-child(1) { --fruit: url("img/mango.webp"); --spin: -14.5deg; }
.coco:nth-child(2) { --fruit: url("img/pomelo.webp"); --spin: 0deg; }
.coco:nth-child(2)::before { top: -1px; bottom: 1px; }
.coco:nth-child(3) { --fruit: url("img/kiwi.webp"); --spin: -8deg; }
.coco:nth-child(3)::before { left: 3px; right: -3px; top: -1px; bottom: 1px; }
.coco:hover::before, .coco:focus-visible::before { transform: rotate(calc(var(--spin, 0deg) - 14deg)) scale(1.04); }
.coco:hover span, .coco:focus-visible span { transform: translateY(2px); }
.coco[aria-current="page"] span { text-decoration: underline 3px; text-underline-offset: 5px; }
.coco:focus-visible { outline-color: var(--ink); outline-offset: 2px; border-radius: 50%; }

/* Work grid (home and Work page) */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 35px 42px; align-items: start; padding-top: 24px; scroll-margin-top: 24px; }
.wcard { display: grid; gap: 12px; text-decoration: none; min-width: 0; }
.wcard.bdh { grid-column: 2; grid-row: 1 / span 2; }
.wcard .img { overflow: hidden; background: #F3F3F0; aspect-ratio: var(--ar); }
.wcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.wcard:hover .img img, .wcard:focus-visible .img img { transform: scale(1.035); }
.wcard-text { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wcard-text b { font-weight: 600; font-size: 20px; line-height: 27px; }
.wcard-text span { font-family: var(--mono); font-size: 18px; line-height: 26px; color: var(--year); }

/* Footer */
.home-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-block: 120px 40px; padding-right: 24px; }
.home-foot p { margin: 0; font-size: 17px; line-height: 22px; color: var(--muted); }
.home-foot .links { display: flex; gap: 32px; align-items: center; }
.home-foot .links span, .home-foot .links button { font-family: var(--mono); font-size: 17px; line-height: 22px; color: var(--muted); }
.home-foot button { background: none; border: 0; padding: 0; text-decoration: underline transparent; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.home-foot button:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Inner pages in the same voice */
.page { max-width: 1440px; padding-left: max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-right, 0px)); }
.p-head { padding-block: clamp(24px, 4vw, 48px) 36px; }
.p-head h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.p-head .eyebrow { font-family: var(--mono); font-size: 15px; color: var(--c, var(--muted)); }
.p-head .lede { color: var(--ink); font-weight: 500; }
.cs-body h2, .about-text h1, .card h3, .persona .who b, .pager a b { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
.toc a { font-family: var(--display); font-weight: 600; }
.hero { border-radius: 0; }
.fig img, .fig video, .fig.tint, .persona, .table-wrap, .about .photo, .about .photo img { border-radius: 0; }
.phones video { border-radius: 26px; }
.ab img { border-radius: 26px; }
.card { border-radius: 0; box-shadow: 0 6px 0 var(--ink); }
.card ol li::marker { color: var(--c, var(--k-purple)); }
.bubble b { color: var(--k-yellow); }
.pager a:hover b { color: var(--c, var(--k-purple)); }
.about .photo { box-shadow: 10px 10px 0 var(--k-green); }
.foot { display: none; }
.play-stage { border-radius: 0; }

@media (max-width: 860px) {
  .wcard.bdh { grid-column: auto; grid-row: auto; }
}
@media (max-width: 720px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .coco { width: 74px; height: 72px; font-size: 15px; }
  .coconuts { gap: 4px; padding-top: 34px; }
  .nav .brand span { display: none; }
}
@media (max-width: 860px) and (min-width: 721px) { .wcard.bdh { grid-column: 2; grid-row: 1 / span 2; } }
@media (prefers-reduced-motion: reduce) { .coco::before, .coco span { transition: none; } }
.persona .face { border-radius: 0; }

/* ================= Refined pass: flat green bar, no square markers, no box shadows, lighter headers ================= */
.canopy { height: auto; background: transparent; }
.nav { align-items: center; padding-block: 14px; }
.nav .brand { height: auto; padding-top: 0; }
.coconuts { padding-top: 0; }

.sq, .facts dt::before, .arrow-list li::before { display: none !important; }
.arrow-list { list-style: disc !important; padding-left: 1.2em !important; }
.arrow-list li { display: list-item; }
.arrow-list li::marker { color: var(--muted); }
.cs-body ul li::marker { color: var(--muted); }
.toc a { font-weight: 500; }
.toc a.on { color: var(--c, var(--ink)); }
.cs-body h2 { gap: 0; }

.card, .card[style], .about .photo, .phones video, .phone-one video, .fb-plate, .fb-tray, .btn, .work .shot, .wcard .img { box-shadow: none !important; }
.phones video, .phone-one video { border: 1.5px solid var(--line); }
.card { border-width: 1.5px; }
.fb-plate { border: 1.5px solid var(--line); }
.fb-tray { border: 1.5px solid var(--ink); }

.p-head h1, .cs-body h2, .about-text h1, .card h3, .persona .who b, .pager a b { font-weight: 600; letter-spacing: -0.025em; }
.cs-body h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.home-foot .links a { font-family: var(--mono); font-size: 17px; line-height: 22px; color: var(--muted); text-decoration: underline transparent; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.home-foot .links a:hover, .home-foot .links a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }

/* ================= Paper sync (Nov 5): case studies, About, Work, Play match the "Website — all pages" artboards ================= */
.p-head { padding-block: 72px 40px; gap: 12px; }
.p-head.cs-head { padding-block: 48px 36px; gap: 18px; }
.p-head h1 { font-size: clamp(48px, 6vw, 86px); line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.p-head .lede { font-size: 22px; line-height: 31px; font-weight: 500; color: var(--ink); max-width: 702px; }

.facts { padding-block: 0 34px; gap: 20px; }
.facts dt { font-size: 11px; line-height: 14px; letter-spacing: .12em; color: var(--ink-faint); }
.facts dd { font-size: 18px; line-height: 26px; font-weight: 600; color: #000; }

.cs { padding-top: 88px; gap: 72px; }
.toc { gap: 14px; }
.toc a { padding: 0; font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 20px; color: var(--ink-faint); }
.toc a.on { color: var(--c, var(--ink)); }
.cs-body { gap: 88px; }
.cs-body section { gap: 16px; }
.cs-body h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.025em; color: #000; }
.cs-body h3 { margin: 12px 0 0; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 28px; letter-spacing: 0; color: #000; }
.cs-body p, .cs-body li { max-width: none; font-size: 18px; line-height: 27px; color: var(--ink-soft); }
.cs-body .arrow-list li { line-height: 30px; }
.cs-body .arrow-list { gap: 0; }
.cs-body .arrow-list b { color: var(--ink); font-weight: 700; }

.fig { margin: 0; padding: 28px; gap: 10px; }
.fig.tint { padding: 28px; background: var(--plate); }
.fig figcaption { font-size: 15px; line-height: 18px; color: var(--ink-faint); }
.phones .fig, .fig.phone-one { padding: 0; }
.phones figcaption { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

.persona { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 18px; background: #fff; border: 0; }
.persona .who { gap: 10px; }
.persona .who b { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: 0; color: #000; }
.persona .who .meta { font-size: 14px; line-height: 21px; color: var(--ink-soft); }
.persona .story { gap: 14px; }
.persona .story > p { font-size: 16px; line-height: 24px; }
.persona .cols { gap: 20px; }
.persona h5 { margin: 0 0 6px; font-family: var(--sans); font-size: 11px; line-height: 14px; letter-spacing: .12em; color: #000; font-weight: 400; }
.persona ul { padding-left: 1.1em; gap: 0; }
.persona li { font-size: 15px; line-height: 23px; }

.ab { gap: 14px; align-items: center; }
.bubble { width: 300px; max-width: 100%; padding: 16px 18px; background: var(--ink); color: #FDFDFB !important; font-size: 16px !important; line-height: 24px !important; border-radius: 18px 18px 18px 4px; }

.card, .card[style] { background: #fff; border: 0 !important; outline: 1px solid #000; border-radius: 0; padding: 30px; gap: 14px; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; color: #000; }
.card h4 { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 18px; letter-spacing: .12em; text-transform: uppercase; color: #000; font-weight: 400; }
.card ol { gap: 0; }
.card ol li { font-size: 17px; line-height: 28px; color: var(--ink); }
.card ol li::marker { color: var(--k-blue); font-weight: 700; }
.card hr { border-top: 1.5px solid var(--line); margin: 0; }
.card > p, .takeaways p { font-size: 17px; line-height: 26px; color: var(--ink-soft); }
.takeaways ul li { font-size: 16px; line-height: 25px; }
.takeaways .pull { color: var(--ink); font-weight: 800; }
.rivals span { font-family: var(--sans); font-weight: 800; font-size: 15px; line-height: 18px; color: #000; }
.table-wrap { border-radius: 0; margin-top: 0; }
thead th { font-family: var(--sans); font-weight: 800; font-size: 16px; line-height: 20px; color: #FDFDFB; }
tbody th { font-family: var(--sans); font-size: 15px; line-height: 18px; letter-spacing: .1em; color: #000; font-weight: 400; width: 180px; }
td { font-size: 15px; line-height: 22px; }
#research .table-wrap { margin-bottom: 0; }

.pager { padding-top: 56px; margin-top: 0; border-top: 1.5px solid var(--line); }
.pager .mono { font-size: 12px; line-height: 16px; color: var(--ink-faint); }
.pager a:last-child .mono { letter-spacing: .1em; text-transform: uppercase; }
.pager a b { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: 0; color: #000; }

/* About */
.about { grid-template-columns: 358px minmax(0, 1fr); gap: 64px; padding-top: 24px; padding-bottom: 96px; align-items: start; }
.about .photo { width: 358px; height: 450px; box-shadow: none !important; border-radius: 0; }
.about .photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 25% 50%; }
.about-text { gap: 24px; }
.about-text h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 46px; color: var(--k-blue); }
.about-text p { max-width: 700px; font-size: 22px; line-height: 33px; font-weight: 500; color: #0E1632; }
.about + .home-foot, main.page + .home-foot { padding-top: 120px; }

@media (max-width: 860px) {
  .cs { gap: 0; padding-top: 56px; }
  .cs-body { gap: 64px; }
  .cs-body h2 { font-size: 32px; line-height: 36px; }
  .fig, .fig.tint { padding: 14px; }
  .persona { grid-template-columns: minmax(0, 1fr); }
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about .photo { width: 100%; max-width: 358px; height: auto; aspect-ratio: 358 / 450; }
  .about-text h2 { font-size: 32px; line-height: 38px; }
  .about-text p { font-size: 19px; line-height: 29px; }
  .p-head .lede { font-size: 19px; line-height: 27px; }
}
.fig img { height: auto; max-width: 100%; }
@media (min-width: 861px) { .home-foot { padding-right: 72px; } }
/* Nov 5: plain fruit labels, default cursor */
.coco { text-shadow: none; }
body { cursor: auto; }
a, button { cursor: pointer; }
.home-foot .links a:hover, .home-foot .links a:focus-visible { color: var(--k-blue); text-decoration-color: currentColor; }
/* keep every image and video at its natural proportions (width/height attributes only reserve space) */
img, video { height: auto; }
/* Case study pages: whole content area at 0.87×, centered (nav and footer stay full size) */
@media (min-width: 861px) { main.page:has(.cs-head), main.page:has(.about) { zoom: 0.87; margin-inline: auto; max-width: 1200px; padding-inline: clamp(24px, 5vw, 64px); } }
