:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #161513;
  --soft: #6b665e;
  --line: #ebe8e2;
  --tr: #ff2e93;
  --cw: #34d9aa;
  --cd: #f4b400;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
p { margin: 0 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 22px 28px; position: relative; z-index: 10;
}
.logo { font-family: var(--display); font-weight: 700; font-size: 21px; text-decoration: none; letter-spacing: -.01em; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav > a { text-decoration: none; color: var(--soft); }
.top nav > a:hover { color: var(--ink); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 5px 13px; border-radius: 99px;
  border: 1.5px solid var(--line); color: var(--soft); transition: border-color .2s, color .2s, transform .2s;
}
.pill:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 600px) {
  .top { padding: 16px; flex-wrap: wrap; }
  .top nav { gap: 12px; }
  .pill { font-size: 12.5px; padding: 4px 10px; }
  .top nav > a.hide-sm { display: none; }
}

/* ---------- Landing: the hat stack ---------- */
.stage {
  position: relative; max-width: var(--max); margin: 0 auto;
  min-height: calc(100vh - 90px); min-height: calc(100svh - 90px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
  padding: 0 28px 72px;
}
.capstack { position: relative; aspect-ratio: 650 / 1000; }
.capstack .cap, .capstack .hat, .capstack .hat img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.capstack[data-active="cw"] .cap:not(.cw),
.capstack[data-active="tr"] .cap:not(.tr),
.capstack[data-active="cd"] .cap:not(.cd) { opacity: .13; }

.stack {
  z-index: 2; width: clamp(230px, 27vw, 360px); margin: 0 auto;
  transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite;
}
@keyframes info-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { rotate: -1.2deg; } 50% { rotate: 1.2deg; } }
.stack .hat { pointer-events: none; transition: filter .35s; }
.hits { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 10; overflow: visible; }
.hits polygon { fill: transparent; cursor: pointer; }
.hits a { outline: none; }
.hits a:focus-visible polygon { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 6; }
.stack .hat.cw { transform-origin: 50% 25%; }
.stack .hat.tr { transform-origin: 50% 50%; }
.stack .hat.cd { transform-origin: 50% 78%; }
.stack .hat.cw { --glow: #34d9aa; }
.stack .hat.tr { --glow: #ff2e93; }
.stack .hat.cd { --glow: #f4b400; }
.stack .hat.active {
  z-index: 5;
  filter: drop-shadow(0 12px 20px color-mix(in srgb, var(--glow) 45%, transparent));
  animation: halo .9s ease-out;
}
@keyframes halo {
  0%   { filter: drop-shadow(0 0 0 transparent); }
  35%  { filter: drop-shadow(0 16px 38px color-mix(in srgb, var(--glow) 80%, transparent)); }
  60%  { filter: drop-shadow(0 10px 12px color-mix(in srgb, var(--glow) 35%, transparent)); }
  80%  { filter: drop-shadow(0 14px 26px color-mix(in srgb, var(--glow) 60%, transparent)); }
  100% { filter: drop-shadow(0 12px 20px color-mix(in srgb, var(--glow) 45%, transparent)); }
}

.infos { display: grid; position: relative; z-index: 2; }
.info {
  grid-area: 1 / 1; align-self: center;
  opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden;
  transition: opacity .35s, transform .45s cubic-bezier(.3, 1.4, .5, 1), visibility 0s .35s;
}
.info.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.info .tag { font-family: var(--hand); font-size: 27px; color: var(--soft); margin: 0 0 4px; }
.info h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(44px, 6vw, 80px); line-height: .95; margin: 0 0 16px;
}
.info h2 .aside {
  display: inline-block; background: none; font-family: var(--hand); font-weight: 700;
  font-size: .5em; letter-spacing: 0; color: var(--tr); rotate: -6deg; translate: 0 -.35em; margin: 0 .05em;
}
.info h2 small { display: block; font-size: .32em; font-weight: 600; letter-spacing: -.01em; color: var(--soft); margin-top: 10px; line-height: 1.2; }
.info p { font-size: 18px; color: #3b3833; max-width: 44ch; }
.info[data-hat="cw"] { --band: var(--cw); }
.info[data-hat="tr"] { --band: var(--tr); }
.info[data-hat="cd"] { --band: var(--cd); }
.info h2 span { background: linear-gradient(transparent 58%, var(--band) 58%, var(--band) 92%, transparent 92%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; padding: 0; list-style: none; }
.chips li { border: 1.5px solid var(--line); border-radius: 99px; padding: 5px 14px; font-size: 14.5px; background: #fff; }
.go {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 19px; text-decoration: none;
  padding: 13px 24px; border-radius: 99px; background: var(--ink); color: #fff;
  box-shadow: 5px 5px 0 var(--c, var(--ink)); transition: transform .2s, box-shadow .2s;
}
.go:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--c, var(--ink)); }
.go span { transition: transform .2s; }
.go:hover span { transform: translateX(4px); }
.info[data-hat="tr"] .go { --c: var(--tr); }
.info[data-hat="cw"] .go { --c: var(--cw); }
.info[data-hat="cd"] .go { --c: var(--cd); }
.hint { font-family: var(--hand); font-size: 26px; color: var(--soft); }
.hint.touch { display: none; }
@media (hover: none) { .hint.mouse { display: none; } .hint.touch { display: inline; } }

.whoami {
  position: absolute; left: 28px; right: 28px; bottom: 22px; margin: 0;
  font: 500 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
  text-align: center;
}

.doodle {
  position: absolute; z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--display); font-weight: 800; line-height: 1;
}

@media (max-width: 820px) {
  .stage { grid-template-columns: 1fr; gap: 20px; padding: 16px 16px 24px; align-content: start; min-height: 0; }
  .whoami { position: static; margin-top: 8px; text-align: left; }
  .stack { width: min(220px, 56vw); margin-top: 6px; }
  .info { align-self: start; }
  .info:not(.show) { display: none; }
  .info.show { animation: info-in .4s ease both; }
  .doodle.hide-sm { display: none; }
}

/* ---------- Persona pages ---------- */
.p-tr { --accent: var(--tr); --accent-ink: #e0157a; --accent-soft: #ffd0e6; }
.p-cw { --accent: var(--cw); --accent-ink: #0b8a67; --accent-soft: #bff3e2; }
.p-about { --accent: var(--tr); --accent-ink: #e0157a; --accent-soft: #ffd0e6; }
.p-cd { --accent: var(--cd); --accent-ink: #9a6f00; --accent-soft: #f4b400; }

.phero {
  position: relative; max-width: var(--max); margin: 0 auto;
  min-height: calc(92vh - 90px);
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 32px;
  padding: 20px 28px 80px;
}
.kicker { font-family: var(--hand); font-size: 30px; color: var(--accent-ink); margin: 0 0 8px; }
.phero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em;
  font-size: clamp(40px, 5.4vw, 76px); line-height: .98; margin: 0 0 24px;
  position: relative; z-index: 2;
}
.hl { background: linear-gradient(transparent 60%, var(--accent-soft) 60%, var(--accent-soft) 90%, transparent 90%); padding: 0 .04em; }
.lede { font-size: clamp(18px, 1.9vw, 21px); color: #3b3833; max-width: 54ch; margin-bottom: 32px; position: relative; z-index: 2; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 2; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 99px; text-decoration: none;
  font-weight: 600; font-size: 15.5px; border: 2px solid var(--ink); transition: transform .2s, box-shadow .2s;
}
.btn.primary { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--accent); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
.hero-art { position: relative; height: 100%; min-height: 440px; }
.big-hat { position: absolute !important; left: 50%; top: 50%; width: min(300px, 26vw); transform: translate(-50%, -50%); z-index: 2; }
.big-hat.solo { width: min(470px, 40vw); }
.big-hat.solo img {
  width: 100%; height: auto; display: block; transform-origin: 50% 90%;
  animation: sway 6s ease-in-out infinite;
  filter: drop-shadow(0 22px 26px color-mix(in srgb, var(--accent) 30%, transparent));
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.hero-art:hover .big-hat.solo img { transform: translateY(-4%) rotate(-5deg) scale(1.04); }
.blob { position: absolute; border-radius: 50%; background: var(--accent); z-index: 1; }
.blob.b1 { width: 340px; height: 340px; left: 50%; top: 50%; transform: translate(-50%, -55%); opacity: .14; }
.blob.b2 { width: 90px; height: 90px; right: 4%; top: 6%; }
.phero .doodle { color: var(--accent); }
@media (max-width: 820px) {
  .phero { grid-template-columns: 1fr; padding: 8px 16px 64px; min-height: 0; gap: 8px; }
  .phero .kicker { font-size: 23px; line-height: 1.15; }
  .hero-art { min-height: 270px; order: -1; }
  .big-hat, .big-hat.solo { width: 250px; }
  .blob.b1 { width: 220px; height: 220px; }
  .blob.b2 { width: 56px; height: 56px; }
}

.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: 20px -20px; position: relative; z-index: 3; }
.marquee-inner { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4.4vw, 56px); letter-spacing: -.02em; will-change: translate; }
.marquee-inner b { color: var(--accent); font-weight: 800; }

.sec { max-width: var(--max); margin: 0 auto; padding: 100px 28px; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 44px; align-items: end; }
.sec-head .kicker { font-size: 26px; margin: 0; }
.sec h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(34px, 5vw, 60px); line-height: 1; margin: 0; }
.sec h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin: 0 0 8px; }
@media (max-width: 720px) { .sec-head { grid-template-columns: 1fr; gap: 4px; } }

.about { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.about p { font-size: 19px; }
.pull {
  position: relative; margin: 34px 0 0; padding: 30px 30px 22px 30px;
  border: 2px solid var(--ink); border-radius: 24px; background: #fff;
  box-shadow: 6px 6px 0 var(--accent);
}
.pull::before {
  content: "“"; position: absolute; top: -34px; left: 18px;
  font-family: var(--display); font-weight: 800; font-size: 110px; line-height: 1; color: var(--accent);
  background: #fff; padding: 0 8px; height: 62px; overflow: hidden;
}
.pull blockquote { margin: 0; }
.pull blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.3; letter-spacing: -.015em; margin: 0; }
.pull figcaption { font-family: var(--hand); font-size: 26px; color: var(--accent-ink); margin-top: 10px; text-align: right; }
.me {
  margin: 0 0 10px; padding: 12px 12px 34px; background: #fff; border-radius: 6px;
  box-shadow: 0 1px 2px #0000001a, 0 12px 28px #00000024;
  rotate: -3deg; transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1), scale .5s cubic-bezier(.3, 1.6, .5, 1);
  max-width: 340px; justify-self: center;
}
.me:hover { rotate: 1.5deg; scale: 1.03; }
.me img { display: block; width: 100%; height: auto; border-radius: 2px; }
.me figcaption { font-family: var(--hand); font-weight: 400; font-size: 27px; line-height: 1; color: var(--ink); text-align: center; margin: 10px 0 -18px; rotate: -2deg; }
.stats { display: grid; gap: 18px; align-content: start; }
.stat { border: 2px solid var(--ink); border-radius: 20px; padding: 16px 20px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 1; letter-spacing: -.03em; }
.stat span { font-size: 14px; color: var(--soft); }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; gap: 28px; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  border: 2px solid var(--ink); border-radius: 22px; padding: 26px; background: #fff;
  box-shadow: 6px 6px 0 var(--accent); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--accent); }
.card .n { font-family: var(--hand); font-size: 24px; color: var(--accent-ink); display: block; margin-bottom: 6px; }
.card p { color: var(--soft); font-size: 15.5px; margin: 0; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows > li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: baseline;
  padding: 26px 0; border-top: 1.5px solid var(--ink);
}
.rows > li:last-child { border-bottom: 1.5px solid var(--ink); }
.rows strong {
  font: 500 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
  transition: color .2s;
}
.rows strong small { display: block; font-weight: 400; font-size: 13px; letter-spacing: .02em; text-transform: none; margin-top: 4px; }
.rows > li:hover strong { color: var(--accent-ink); }

/* brand names as a typographic run, not pills */
.rows .chips { display: block; margin: 0; }
.rows .chips li {
  display: inline-block; border: 0; padding: 0; background: none;
  font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.4; letter-spacing: -.02em; color: var(--ink); transition: color .2s;
}
.rows .chips li:not(:last-child)::after { content: "/"; margin: 0 .4em; font-weight: 400; color: var(--accent); }
.p-cd .rows .chips li:not(:last-child)::after { color: var(--accent-ink); }
.rows .chips li:hover { color: var(--accent-ink); }
@media (max-width: 720px) { .rows > li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; } }
.note a, .about p a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.note { margin-top: 22px; font-family: var(--hand); font-size: 24px; color: var(--soft); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two ul { margin: 0; padding-left: 20px; color: #3b3833; }
.two li { margin-bottom: 6px; }
@media (max-width: 720px) { .two { grid-template-columns: 1fr; gap: 32px; } }

.feature {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  border: 2px solid var(--ink); border-radius: 28px; padding: 40px; background: #fffbea;
  box-shadow: 8px 8px 0 var(--ink);
}
.feature h3 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px; }
.feat-chips { margin: 4px 0 22px; }
.feat-chips li { background: #fff; border-color: #e7dfc4; }
.feature .big { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 9vw, 120px); line-height: .9; letter-spacing: -.05em; text-align: center; }
.feature { grid-template-columns: 1fr; }
.feat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.feat-head .kicker { margin: 0; }
.feat-logo { width: 60px; height: auto; display: block; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.feature:hover .feat-logo { transform: rotate(-8deg) scale(1.08); }
@media (max-width: 720px) { .feature { padding: 26px; } }

.launches { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.launch {
  border: 2px solid var(--ink); border-radius: 28px; padding: 34px 34px 30px; background: #fff;
  box-shadow: 8px 8px 0 var(--accent); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s;
}
.launch:nth-child(2) { box-shadow: 8px 8px 0 var(--ink); }
.launch:nth-child(3) { box-shadow: 8px 8px 0 var(--tr); }
.launch:hover { transform: translate(-3px, -3px) rotate(-1deg); }
.launch:nth-child(2):hover { transform: translate(-3px, -3px) rotate(1deg); }
.launch .kicker { font-size: 24px; margin-bottom: 4px; }
.launch h3 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.2vw, 56px); line-height: .95; letter-spacing: -.04em; margin: 0 0 16px; }
.launch p:last-child { color: #3b3833; margin: 0; }
@media (max-width: 720px) { .launches { grid-template-columns: 1fr; } .launch { padding: 26px; } }

details { border-top: 2px solid var(--ink); padding: 20px 0; }
details:last-of-type { border-bottom: 2px solid var(--ink); }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-ink); font-size: 28px; line-height: .9; transition: rotate .25s; }
details[open] summary::after { rotate: 45deg; }
details p { color: #3b3833; margin: 12px 0 0; max-width: 70ch; }

.say { text-align: center; padding: 100px 28px 80px; position: relative; }
.say h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(36px, 5vw, 68px); line-height: 1; margin: 0 0 16px; }
.say p { color: var(--soft); font-size: 19px; }
.say .mail { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.6vw, 38px); text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 8px; word-break: break-all; }
.say .ctas { justify-content: center; margin-top: 30px; }
.alt-contact { margin-top: 18px; font-size: 15px; }
.alt-contact a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }

.others { max-width: var(--max); margin: 0 auto; padding: 0 28px 90px; }
.others .kicker { text-align: center; font-size: 28px; margin-bottom: 20px; }
.others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.other {
  display: flex; align-items: center; gap: 22px; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 24px; padding: 22px 26px; transition: transform .25s, box-shadow .25s;
}
.other:hover { transform: translate(-3px, -3px) rotate(-.8deg); box-shadow: 8px 8px 0 var(--c); }
.o-cw { --c: var(--cw); } .o-tr { --c: var(--tr); } .o-cd { --c: var(--cd); }
.other .solo-thumb { width: 96px; height: auto; flex: none; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.other:hover .solo-thumb { transform: rotate(-10deg) scale(1.08); }
.other b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.other span { color: var(--soft); font-size: 15px; }
@media (max-width: 720px) { .others { padding: 0 16px 72px; } .others-grid { grid-template-columns: 1fr; } .other .solo-thumb { width: 76px; } }

footer { border-top: 1px solid var(--line); }
.foot-links a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 4px; }
.foot-links a:hover { text-decoration-color: currentColor; }
footer .in { max-width: var(--max); margin: 0 auto; padding: 24px 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--soft); }

.case-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.case-link { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 17px; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.case-teaser { margin-top: 34px; border: 2px solid var(--ink); border-radius: 22px; padding: 20px 24px; box-shadow: 6px 6px 0 var(--accent); display: grid; gap: 10px; justify-items: start; }
.case-teaser .kicker { font-size: 24px; margin: 0; }
.case-teaser a { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); letter-spacing: -.01em; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.timeline-link { max-width: var(--max); margin: 0 auto; padding: 0 28px; text-align: center; }
.timeline-link a { font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- 404 ---------- */
.p-404 { --accent-ink: var(--soft); }
.lost { max-width: var(--max); margin: 0 auto; padding: 48px 28px 96px; text-align: center; min-height: calc(100vh - 170px); }
.lost .kicker { font-size: 30px; color: var(--soft); margin: 0 0 6px; }
.lost h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(38px, 6.4vw, 84px); line-height: .98; margin: 0 auto 18px; max-width: 14ch; }
.lost-sub { font-family: var(--hand); font-size: 30px; color: var(--soft); margin: 0 0 30px; }
.lost-hats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.lost-hat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; padding: 18px 12px 16px; border-radius: 22px; transition: background .25s; }
.lost-hat img { width: 100%; max-width: 230px; height: auto; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), filter .3s; }
.lost-hat span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.lost-hat:hover img { transform: translateY(-6px) rotate(-7deg); filter: drop-shadow(0 14px 16px color-mix(in srgb, var(--c) 45%, transparent)); }
.lost-hat:hover { background: color-mix(in srgb, var(--c) 10%, white); }
@media (max-width: 600px) { .lost { padding: 28px 16px 64px; } .lost-hats { grid-template-columns: 1fr; max-width: 260px; } }

/* ---------- Case study: D5 ---------- */
.p-case { --accent: #8a3ffc; --accent-ink: #6b24d6; --accent-soft: #e6d6ff; }
.p-case .blob.b1 { background: linear-gradient(135deg, #5b3fd0, #c24bf0); opacity: .16; }
.p-case .blob.b2 { background: linear-gradient(135deg, #ff4f6d, #ff9a3d); }
.dimo-wrap { position: absolute; left: 50%; top: 50%; width: min(360px, 32vw); transform: translate(-50%, -50%); z-index: 2; }
.dimo { display: block; width: 100%; height: auto; animation: bob 3.6s ease-in-out infinite; filter: drop-shadow(0 26px 24px #6b24d633); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.case-facts { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.case-facts div { border-top: 2px solid var(--ink); padding-top: 10px; }
.case-facts dt { font: 500 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.case-facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.case-text p { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; max-width: 60ch; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card { border: 2px solid var(--ink); border-radius: 26px; padding: 30px; background: #fff; box-shadow: 7px 7px 0 var(--accent); }
.case-card .kicker { font-size: 24px; margin-bottom: 2px; }
.case-card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1; margin: 0 0 12px; }
.case-card p { color: #3b3833; }
.case-card.wide-simple { grid-column: 1 / -1; }
.case-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px; background: #faf6ff; }
.pair { display: grid; gap: 10px; margin: 18px 0 12px; }
.pair div { border-radius: 16px; background: color-mix(in srgb, var(--accent-soft) 50%, white); padding: 12px 16px; }
.pair span { font: 600 12px/1 var(--sans); letter-spacing: .12em; color: var(--accent-ink); display: block; margin-bottom: 6px; }
.pair b { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.pair em, .quote-tr em, .launch-steps em { display: block; font-style: italic; color: var(--soft); font-size: 15px; margin-top: 4px; }
.note-small { font-family: var(--hand); font-size: 23px; color: var(--accent-ink) !important; margin: 0; }
.case-logo { width: 150px; height: auto; display: block; margin-top: 18px; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.case-card:hover .case-logo { transform: rotate(-8deg) scale(1.06); }
.quote-tr { font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink) !important; border-left: 4px solid var(--accent); padding-left: 14px; margin-top: 16px; }
.dimo-small { width: 100%; max-width: 260px; height: auto; justify-self: center; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.case-card.wide:hover .dimo-small { transform: rotate(-8deg) translateY(-6px); }
.launch-split { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 56px; align-items: start; }
.phone { margin: 0; border: 10px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.phone img { display: block; width: 100%; height: auto; }
.launch-steps { position: sticky; top: 30px; }
.launch-steps > p { font-size: 19px; }
.launch-steps ol { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.launch-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; color: #3b3833; }
.launch-steps li > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; }
.launch-steps li:nth-child(1) > span { background: #ff4f6d; }
.launch-steps li:nth-child(2) > span { background: #2f9fe0; }
.launch-steps li:nth-child(3) > span { background: #8a3ffc; }
.launch-steps b { font-family: var(--display); font-size: 23px; letter-spacing: -.02em; color: var(--ink); }
.did-chips li { font-size: 17px; padding: 9px 18px; border: 2px solid var(--ink); }
@media (max-width: 820px) {
  .dimo-wrap { width: 220px; }
  .case-facts { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .case-grid, .case-card.wide, .launch-split { grid-template-columns: 1fr; }
  .launch-split { gap: 32px; } .phone { max-width: 340px; margin: 0 auto; }
  .launch-steps { position: static; }
  .case-card { padding: 24px; }
}
/* ---------- Phone spacing (kept last so it wins over the desktop rules above) ---------- */
@media (max-width: 720px) {
  .sec { padding: 28px 16px; }
  .sec-head { margin-bottom: 20px; }
  .sec > :last-child, .about > div > :last-child, .two ul, .case-text > :last-child { margin-bottom: 0; }
  .say { padding: 44px 16px 40px; }
  .others { padding-bottom: 44px; }
  .rows > li { padding: 16px 0; }
  .marquee { margin: 8px -20px; }
  .phero .blob.b1 { width: 120px; height: 120px; opacity: .14; }
  .phero .blob.b2 { width: 34px; height: 34px; right: 8%; top: 10%; }
  .phero .doodle { font-size: 48px !important; }
  .phero .doodle.star { font-size: 36px !important; }
  .stage .doodle { font-size: 40px !important; }
}

@media (prefers-reduced-motion: reduce) { .dimo { animation: none !important; } }

/* ---------- Case study: Maxx Royal ---------- */
.p-maxx { --accent: #c8a055; --accent-ink: #8a6a2a; --accent-soft: #f1e3c4; }
.p-maxx .blob.b1 { background: radial-gradient(circle at 30% 30%, #e7cf9a, #c8a055); opacity: .22; }
.p-maxx .blob.b2 { background: var(--ink); }
.name-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); z-index: 2;
  width: min(420px, 38vw); aspect-ratio: 4 / 3; border-radius: 28px; background: #000; padding: 0 30px;
  display: grid; place-content: center; text-align: center; box-shadow: 12px 12px 0 var(--accent);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.hero-art:hover .name-card { transform: translate(-50%, -50%) rotate(1deg) scale(1.03); }
.name-card .kicker { color: #e7cf9a; font-size: 26px; margin: 0 0 6px; }
.name-card img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .name-card { width: 280px; padding: 0 20px; } }
.concept { overflow: hidden; }
.film { position: relative; z-index: 1; margin: 44px 0 0; max-width: 900px; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film figcaption { margin-top: 16px; font-size: 14px; color: var(--soft); }
.film figcaption a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.concept .sec-head, .concept .case-text { position: relative; z-index: 1; }
.ball {
  position: absolute; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #f1efe9 40%, #d9d4c8 75%, #bfb8a8 100%);
  box-shadow: 0 18px 24px #00000014;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(20deg); } }

/* ---------- Case study: The Address ---------- */
.p-address { --accent: #b89b74; --accent-ink: #7d6444; --accent-soft: #eee2cf; }
.p-address .blob.b1 { background: radial-gradient(circle at 30% 30%, #e9dcc6, #b89b74); opacity: .22; }
.p-address .blob.b2 { background: var(--ink); }
.p-address .name-card { padding: 0 60px; }
.p-address .name-card .kicker { color: #e9dcc6; }
.address-card { background: #fff; border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--accent); padding: 0 24px; }
.address-card .kicker { color: var(--accent-ink); }
.address-card b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(38px, 4vw, 58px); letter-spacing: .02em; color: var(--ink); line-height: 1; }
.print-split { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 56px; align-items: center; }
.print-ad { margin: 0; box-shadow: 0 2px 4px #0000001a, 0 24px 40px #0000002e; rotate: -1.5deg; transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1); }
.print-ad:hover { rotate: 0deg; }
.print-ad img { display: block; width: 100%; height: auto; }
.print-copy > p { font-size: 19px; }
@media (max-width: 820px) { .print-split { grid-template-columns: 1fr; gap: 28px; } .print-ad { max-width: 340px; margin: 0 auto; } }
.address-card span { display: block; margin-top: 10px; font: 500 13px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--soft); }

/* ---------- About page ---------- */
.me.portrait {
  position: absolute; left: 50%; top: 50%; width: min(320px, 28vw); max-width: none; margin: 0;
  transform: translate(-50%, -50%); z-index: 2; padding: 14px 14px 40px;
}
.tl b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -.02em; line-height: 1.2; }
.tl span { display: block; color: var(--soft); font-size: 15.5px; margin-top: 4px; }
.rows > li:hover .tl b { color: var(--accent-ink); }
.facts { margin: 0; display: grid; gap: 14px; align-content: start; }
.facts div { border: 2px solid var(--ink); border-radius: 18px; padding: 14px 18px; }
.facts dt { font: 500 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.facts dd a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.others-grid.three { grid-template-columns: repeat(3, 1fr); }
.others-grid.three .other { flex-direction: column; align-items: flex-start; gap: 12px; }
@media (max-width: 900px) { .others-grid.three { grid-template-columns: 1fr; } .others-grid.three .other { flex-direction: row; align-items: center; } }
body.p-about .hero-art { min-height: 500px; }
@media (max-width: 820px) { .me.portrait { width: 230px; } body.p-about .hero-art { min-height: 370px; } }

/* ---------- Home: full-agency note ---------- */
.crew { max-width: var(--max); margin: 0 auto; padding: 72px 28px 64px; }
.crew-box {
  position: relative; max-width: 520px; margin: 0 auto; text-align: center;
  border: 2px solid var(--ink); border-radius: 22px; padding: 26px 26px 24px; background: #fff;
  box-shadow: 5px 5px 0 var(--cd);
}
.crew-box::before, .crew-box::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: -8px;
}
.crew-box::before { left: 26px; background: var(--cw); }
.crew-box::after { left: 44px; background: var(--tr); }
.crew .kicker { color: var(--soft); font-size: 21px; margin: 0; }
.crew h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(26px, 3.2vw, 36px); line-height: 1; margin: 0 0 10px; }
.crew p:not(.kicker) { font-size: 15px; color: #3b3833; max-width: 44ch; margin: 0 auto 16px; }
.crew .go { --c: var(--cd); font-size: 15px; padding: 9px 18px; box-shadow: 4px 4px 0 var(--c); }
@media (max-width: 600px) { .crew { padding: 48px 16px 44px; } .crew-box { padding: 24px 18px 20px; } }

/* ---------- Home: stacked marquee bands ---------- */
.bands { display: grid; margin-top: 24px; }
.band {
  display: block; overflow: hidden; text-decoration: none; color: #fff;
  padding: clamp(6px, .9vw, 12px) 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(28px, 5vw, 68px); line-height: 1;
  transition: filter .3s;
}
.b-cw { background: var(--cw); color: var(--ink); }
.b-tr { background: var(--tr); }
.b-cd { background: var(--cd); color: var(--ink); }
.band-track { display: flex; width: max-content; animation: band 38s linear infinite; }
.b-tr .band-track { animation-direction: reverse; animation-duration: 44s; }
.b-cd .band-track { animation-duration: 34s; }
.band-run { display: flex; align-items: center; flex: none; }
.band-run span { padding: 0 .28em; }
.band-run i { font-style: normal; font-size: .62em; display: inline-block; padding: 0 .3em; transition: rotate .6s cubic-bezier(.3, 1.6, .5, 1); }
.band:hover .band-track { animation-play-state: paused; }
.band:hover i { rotate: 180deg; }
.band:hover { filter: brightness(1.06) saturate(1.1); }
.band:focus-visible { outline: 4px dashed var(--ink); outline-offset: -8px; }
@keyframes band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.home-foot .in {
  max-width: var(--max); margin: 0 auto; padding: 22px 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--soft);
}
.home-foot a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 4px; }
@media (max-width: 600px) { .home-foot .in { padding: 20px 16px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  /* the home bands keep drifting, just slowly; hover still pauses them */
  .band-track { animation: band 90s linear infinite !important; }
  .b-tr .band-track { animation-direction: reverse !important; }
}
