/* ============================================================
   SMALL WORK STUDIO
   Restraint. One huge wordmark, small quiet type, flat colour.
   Paper + ink + a single flat yellow. No gradients, no shadows.
   Display: Hanken Grotesk (variable, heavy) / Instrument Serif
   ============================================================ */

:root {
  --paper: #F3F1EB;
  --ink: #0D0D0C;
  --mute: #7B7971;
  --line: #D8D5CB;
  --stone: #E4E1D8;
  --yellow: #F6D635;

  --grot: "Hanken Grotesk", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 28px;
  --wrap: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--grot); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--yellow); color: #000; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.tiny { font-size: 12px; line-height: 1.35; color: var(--mute); }
kbd { font-family: var(--grot); font-size: 11px; padding: 0 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); }

/* highlighter hover — a flat yellow block wipes in behind the words */
.hl, .arrow-link {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left center / 0% 100%;
  transition: background-size 0.4s var(--ease);
}
.hl:hover, .arrow-link:hover, .hl[aria-current="page"] { background-size: 100% 100%; color: #000; }
.arrow-link { display: inline-block; font-size: 14px; font-weight: 500; padding: 1px 3px; margin-left: -3px; }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--paper); }
.hd { display: grid; grid-template-columns: 1.3fr 2fr 1fr auto; align-items: baseline; gap: 20px; padding-top: 14px; padding-bottom: 12px; font-size: 13px; font-weight: 500; }
.hd-brand { justify-self: start; }
.hd-spots { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.hd-spots i, .mobile-spots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 2.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.hd-clock { color: var(--mute); font-variant-numeric: tabular-nums; }
.hd-nav { display: flex; gap: 18px; justify-self: end; }
.hd-nav .hl { padding: 1px 4px; margin: 0 -4px; }
.menu-toggle { display: none; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 500; color: var(--ink); cursor: none; text-decoration: underline; text-underline-offset: 3px; }
.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 90px var(--gutter) 40px; background: var(--paper); position: fixed; inset: 0; z-index: 99; justify-content: flex-start; }
.mobile-nav a { font-family: var(--grot); font-weight: 600; font-size: 14vw; letter-spacing: -0.05em; line-height: 1; }
.mobile-nav .mobile-spots { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0; font-weight: 500; margin-top: 24px; }

/* ===== CURSOR ===== */
@media (pointer: fine) { body { cursor: none; } a, button, [data-magnetic] { cursor: none; } }
.custom-cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; position: absolute; top: -4px; left: -4px; transition: transform 0.25s var(--ease); }
.cursor-ring { display: none; }
.custom-cursor.is-hovering .cursor-dot { transform: scale(2.6); }
.cursor-label {
  position: absolute; top: 0; left: 0; transform: translate(14px, 14px) scale(0); transform-origin: 0 0;
  background: var(--yellow); color: #000; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 6px 11px; border-radius: 99px;
  transition: transform 0.3s var(--ease);
}
.custom-cursor.has-label { mix-blend-mode: normal; }
.custom-cursor.has-label .cursor-label { transform: translate(14px, 14px) scale(1); }
.custom-cursor.has-label .cursor-dot { background: #000; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .custom-cursor { display: none; } body, a, button { cursor: auto; } }

/* ===== HERO — the wordmark ===== */
.hero { padding-top: 96px; }
.wordmark {
  font-family: var(--grot); font-weight: 700; font-size: 17vw; line-height: 0.82; letter-spacing: -0.065em;
  white-space: nowrap; margin: 0; padding-top: 0.04em;
}
.wm-line { display: block; padding-bottom: 0.02em; }
.wordmark .ch { display: inline-block; font-weight: 640; will-change: transform; user-select: none; }
.js .wordmark { visibility: hidden; animation: wm-show 0.01s 2.5s forwards; }
.js .wordmark.wm-ready { visibility: visible; animation: none; }
@keyframes wm-show { to { visibility: visible; } }
.grab-hint { margin-top: 10px; }
.hero-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.hero-desc { grid-column: 1 / 4; }
.hero-intro { grid-column: 5 / 11; font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.12; letter-spacing: -0.01em; }
.hero-links { grid-column: 11 / 13; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

/* ===== TYPOGRAPHIC COVERS (stand in for photography) ===== */
.covers-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; align-items: start; }
.cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px 18px; min-height: 480px; overflow: hidden; transition: background 0.5s var(--ease), color 0.5s var(--ease); }
.cover-meta { display: flex; justify-content: space-between; color: inherit; opacity: 0.6; }
.cover-name { font-family: var(--serif); font-size: clamp(2.6rem, 6.4vw, 7rem); line-height: 0.9; letter-spacing: -0.03em; transition: transform 0.6s var(--ease); }
.cover:hover .cover-name { transform: translateY(-8px); }
.cover--ink { background: var(--ink); color: var(--paper); }
.cover--yellow { background: var(--yellow); color: #000; }
.cover--stone { background: var(--stone); color: #000; }
.cover--ink:hover { background: var(--yellow); color: #000; }
.cover--yellow:hover { background: var(--ink); color: var(--paper); }
.cover--stone:hover { background: var(--ink); color: var(--paper); }
.cover-1 { grid-column: 1 / 7; min-height: 620px; }
.cover-2 { grid-column: 7 / 11; min-height: 460px; margin-top: 140px; }
.cover-3 { grid-column: 11 / 13; min-height: 340px; margin-top: 40px; }
.cover-3 .cover-name { font-size: clamp(1.6rem, 3.2vw, 3.4rem); }
.all-work { margin-top: 28px; }

/* ===== STATEMENT — one flat field ===== */
.statement { background: var(--yellow); margin-top: 140px; padding: 20px 0 80px; min-height: 92vh; display: flex; align-items: stretch; color: #000; }
.statement .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; padding-top: 16px; width: 100%; }
.statement .tiny { color: rgba(0,0,0,0.6); }
.statement-text { font-family: var(--grot); font-weight: 640; font-size: clamp(3.4rem, 11vw, 12rem); line-height: 0.88; letter-spacing: -0.06em; max-width: 12ch; }
.statement-sub { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.15; max-width: 30ch; margin-left: auto; }

/* ===== HOME SECTIONS ===== */
.sec-label { padding-top: 6px; }
.services-home, .quote-home, .team-home { padding: 100px 0 0; }
.services-grid, .quote-grid, .team-grid-home { display: grid; grid-template-columns: 4fr 8fr; gap: 20px; }
.svc { display: grid; grid-template-columns: 1fr 1fr 24px; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--ink); transition: padding-left 0.5s var(--ease); }
.svc-list .svc:last-child { border-bottom: 1px solid var(--ink); }
.svc:hover { padding-left: 14px; }
.svc-title { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.svc-desc { color: var(--mute); max-width: 32ch; }
.svc-arrow { text-align: right; }
.quote-text { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; max-width: 24ch; }
.quote-attr { margin-top: 24px; }
.team-names { display: flex; flex-wrap: wrap; gap: 6px 40px; }
.team-names p { display: flex; flex-direction: column; }
.tn { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.03em; }
.closing { padding: 160px 0 140px; }
.closing-text { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 20ch; margin-top: 14px; }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--ink); padding: 18px 0 20px; }
.foot-label { font-size: 12px; color: var(--mute); margin-bottom: 8px; }
.foot-mail { display: inline-block; font-family: var(--grot); font-weight: 640; font-size: clamp(1.8rem, 10.2vw, 12rem); letter-spacing: -0.06em; line-height: 0.95; margin: 6px 0 70px; }
.foot-mail:hover { background: var(--yellow); color: #000; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 60px; }
.foot-grid a { display: table; }
.foot-grid p { margin-bottom: 2px; }
.foot-bottom { padding-right: 44px; display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; font-size: 13px; font-weight: 600; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: none; transition: background 0.3s, color 0.3s; }
.btn:hover { background: var(--yellow); color: #000; }
.text-link { font-size: 13px; font-weight: 600; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left center / 0% 100%; transition: background-size 0.4s var(--ease); display: inline-block; margin-top: 12px; }
.text-link:hover { background-size: 100% 100%; color: #000; }


/* ===== STATEMENT: marker canvas ===== */
.statement { position: relative; }
.statement canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.statement .wrap { position: relative; z-index: 1; pointer-events: none; }
.statement-top { display: flex; justify-content: space-between; }

/* ===== PAGE CURTAIN ===== */

/* ===== FLOATING CARD (work list) ===== */
.float-card { position: fixed; top: 0; left: 0; width: 230px; height: 290px; z-index: 60; pointer-events: none; opacity: 0; padding: 14px; display: flex; align-items: flex-end; font-family: var(--serif); font-size: 2.6rem; line-height: 0.92; letter-spacing: -0.03em; transition: opacity 0.2s; }
.float-card.is-on { opacity: 1; }
.float-card--ink { background: var(--ink); color: var(--paper); }
.float-card--yellow { background: var(--yellow); color: #000; }
.float-card--stone { background: var(--stone); color: #000; }
[data-lit] .lw { transition: none; }
@media (max-width: 980px) { .float-card { display: none; } .statement-top .tiny:last-child { display: none; } }

/* ===== REVEAL ===== */
.reveal { opacity: 1; transform: none; }
html.js-loaded .reveal { opacity: 0; transform: translateY(18px); }
html.js-loaded .reveal.is-visible, .reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1000; transform: translate(-50%, 16px); background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 500; padding: 8px 14px; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.empty { color: var(--mute); padding: 60px 0; }

/* ===== INNER PAGES ===== */
.page-hero--photo { padding: 120px 0 60px; }
.page-hero--photo .wrap { display: block; }
.page-hero-title { font-family: var(--grot); font-weight: 640; font-size: clamp(4rem, 15vw, 16rem); line-height: 0.84; letter-spacing: -0.065em; }
.page-hero-intro { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.2rem); line-height: 1.12; max-width: 34ch; margin-top: 36px; margin-left: 33.33%; }
.photo-slot { position: relative; display: flex; align-items: flex-end; background: var(--stone); }
.photo-slot-label { margin: 12px; font-size: 12px; color: var(--mute); }

.story { padding: 40px 0 80px; }
.story-content { margin-left: 33.33%; max-width: 640px; }
.story-content p { color: var(--mute); font-size: 15px; margin-bottom: 16px; max-width: 52ch; }
.story-content p.story-lead { color: var(--ink); font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.8rem); line-height: 1.1; letter-spacing: -0.01em; max-width: none; margin-bottom: 28px; }
.values { padding: 40px 0 100px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.section-head h2 { font-family: var(--grot); font-size: 12px; font-weight: 500; color: var(--mute); }
.value-row { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--ink); }
.value-list > .value-row:last-child { border-bottom: 1px solid var(--ink); }
.value-row h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.value-row p { color: var(--mute); max-width: 36ch; }
.team { padding: 0 0 120px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-card .photo-slot { aspect-ratio: 4/5; }
.team-card h3 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.team-card p { color: var(--mute); margin-top: -6px; }

.services-list { padding-top: 20px; }
.service-block { border-top: 1px solid var(--ink); }
.service-block-inner { padding: 28px 0 50px; display: grid; grid-template-columns: 4fr 8fr; gap: 20px; }
.service-block-copy { grid-column: 2; }
.service-block-copy h2 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: 0.95; letter-spacing: -0.03em; }
.service-block-summary { font-size: 16px; margin: 16px 0 8px !important; font-weight: 500; }
.service-block-copy p { color: var(--mute); max-width: 52ch; }
.deliverables { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.deliverables li { font-size: 12px; padding: 5px 11px; border: 1px solid var(--ink); border-radius: 99px; }
.process { padding: 60px 0 120px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { border-top: 1px solid var(--ink); padding-top: 12px; }
.process-step h3 { font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.process-step p { color: var(--mute); }

.work-list { padding-bottom: 120px; }
.filter-chips { display: flex; gap: 18px; margin-bottom: 20px; }
.chip { background: none; border: 0; padding: 0; font-family: var(--grot); font-size: 13px; font-weight: 500; color: var(--mute); cursor: none; display: inline-flex; gap: 5px; }
.chip.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.chip-count { color: var(--mute); }
.chip:hover { color: var(--ink); }
.index-row { display: grid; grid-template-columns: 4fr 5fr 1.5fr 1fr 24px; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--ink); transition: padding-left 0.5s var(--ease), background 0.3s; }
.index-list > .index-row:last-child { border-bottom: 1px solid var(--ink); }
.index-row:hover { padding-left: 14px; background: var(--yellow); color: #000; }
.index-row-swatch { display: none; }
.index-row-title { font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4.8rem); line-height: 0.95; letter-spacing: -0.03em; }
.index-row-summary { display: block; color: var(--mute); max-width: 38ch; }
.index-row:hover .index-row-summary { color: #000; }
.index-row-cat, .index-row-year { font-size: 12px; }
.index-row-arrow { text-align: right; }
.index-row.is-filtered-out { display: none; }

.case-back { display: inline-block; margin: 130px 0 40px; font-size: 13px; font-weight: 500; }
.case-hero-header { display: block; }
.case-hero-text h1 { font-family: var(--grot); font-weight: 640; font-size: clamp(3.6rem, 12vw, 13rem); line-height: 0.85; letter-spacing: -0.065em; }
.case-hero-text .band-tag { display: none; }
.case-hero-intro { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.2rem); line-height: 1.12; max-width: 30ch; margin: 32px 0 0 33.33%; color: var(--ink); }
.case-hero-logo { display: none; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; padding: 14px 0; border-top: 1px solid var(--ink); }
.case-meta-item { display: flex; flex-direction: column; gap: 2px; }
.case-meta-label { font-size: 12px; color: var(--mute); }
.case-meta-value { font-size: 14px; font-weight: 500; }
.case-feature { padding: 14px 0 0; }
.case-feature-img { aspect-ratio: 16/9; background: var(--yellow); }
.case-body { padding: 60px 0 60px; }
.case-content { margin-left: 33.33%; max-width: 560px; color: var(--mute); font-size: 15px; }
.case-content p { margin-bottom: 14px; }
.case-content p:first-child { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.6rem); color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; }
.case-deliverables { margin: 40px 0 0 33.33%; }
.case-section-label { font-size: 12px; font-weight: 500; color: var(--mute); margin-bottom: 10px; }
.case-nav { padding: 40px 0 80px; }
.case-nav-inner { border-top: 1px solid var(--ink); padding-top: 14px; }
.case-nav-link { display: flex; flex-direction: column; }
.case-nav-label { font-size: 12px; color: var(--mute); }
.case-nav-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.02em; }
.case-nav-link:hover .case-nav-title { background: var(--yellow); color: #000; }

.journal-index { padding: 40px 0 120px; }
.journal-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.journal-card { border-top: 1px solid var(--ink); padding-top: 12px; display: block; }
.journal-card h3 { font-family: var(--serif); font-size: 2.2rem; line-height: 1; letter-spacing: -0.02em; margin: 8px 0; }
.journal-card p { color: var(--mute); }
.journal-card-date { font-size: 12px; color: var(--mute); }
.journal-post-hero h1 { font-family: var(--grot); font-weight: 640; font-size: clamp(3rem, 9vw, 9rem); line-height: 0.9; letter-spacing: -0.06em; }
.journal-post-meta { display: flex; gap: 14px; margin-top: 18px; color: var(--mute); }
.journal-post-body { margin-left: 33.33%; max-width: 600px; font-size: 16px; line-height: 1.6; color: var(--mute); padding: 60px 0 100px; }
.journal-post-body p { margin-bottom: 16px; }

.contact-grid-section { padding: 10px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 20px; }
.contact-form-wrap { grid-column: 2; }
.contact-details { grid-column: 3; grid-row: 1; }
.contact-form-wrap h2, .contact-details h2 { font-family: var(--grot); font-size: 12px; font-weight: 500; color: var(--mute); margin-bottom: 18px; }
.contact-form { display: grid; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mute); }
.field input, .field select, .field textarea { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.01em; color: var(--ink); padding: 6px 0 10px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; resize: vertical; }
.field select { appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left bottom / 100% 3px; }
.contact-form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; }
.contact-detail-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.contact-detail-label { display: block; font-size: 12px; color: var(--mute); }
.contact-social { display: flex; flex-direction: column; margin-top: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  :root { --gutter: 18px; }
  .hd { grid-template-columns: 1fr auto; }
  .hd-spots, .hd-clock, .hd-nav { display: none; }
  .menu-toggle { display: inline; justify-self: end; }
  .mobile-nav.is-open { display: flex; }
  .hero { padding-top: 70px; }
  .wordmark { font-size: 19vw; }
  .hero-row { grid-template-columns: 1fr; gap: 24px; padding-bottom: 56px; }
  .hero-desc, .hero-intro, .hero-links { grid-column: 1; }
  .hero-links { flex-direction: row; gap: 20px; }
  .covers-grid { grid-template-columns: 1fr; }
  .cover-1, .cover-2, .cover-3 { grid-column: 1; margin-top: 0; min-height: 320px; }
  .statement { margin-top: 80px; min-height: 70vh; }
  .services-grid, .quote-grid, .team-grid-home { grid-template-columns: 1fr; gap: 20px; }
  .svc { grid-template-columns: 1fr 24px; }
  .svc-desc { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-intro, .story-content, .case-hero-intro, .case-content, .case-deliverables, .journal-post-body { margin-left: 0; }
  .value-row { grid-template-columns: 1fr; gap: 6px; }
  .team-grid, .process-grid, .journal-index-grid { grid-template-columns: 1fr 1fr; }
  .service-block-inner { grid-template-columns: 1fr; }
  .service-block-copy { grid-column: 1; }
  .index-row { grid-template-columns: 1fr 24px; }
  .index-row-summary, .index-row-cat, .index-row-year { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-details { grid-column: 1; grid-row: auto; }
  .case-meta { grid-template-columns: 1fr; }
  .custom-cursor { display: none; }
}
@media (max-width: 600px) {
  .team-grid, .process-grid, .journal-index-grid, .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 4px; }
}

/* ===== LOUD COLOUR BLOCKS (home) ===== */
:root { --pink: #FFB1DE; --blue: #2B3BFF; --red: #FF4A1C; --green: #0E7A4B; }
.hero { background: var(--pink); margin-top: 0; padding-top: 56px; padding-bottom: 60px; }
.page-home .hero .tiny, .page-home .hero .hero-desc { color: rgba(13,13,12,0.65); }
.covers { background: var(--blue); color: #fff; padding: 90px 0 70px; }
.covers .all-work { color: #fff; margin-top: 40px; }
.covers .hl:hover { color: #000; }
.cover--yellow { background: var(--yellow); color: #000; }
.cover--pink { background: var(--pink); color: #000; }
.cover--paper { background: var(--paper); color: #000; }
.cover--pink:hover, .cover--paper:hover, .cover--yellow:hover { background: var(--ink); color: #fff; }
.statement { margin-top: 0; }
.services-home { background: var(--red); color: #fff; padding: 110px 0 110px; }
.services-home .tiny, .services-home .svc-desc { color: rgba(255,255,255,0.8); }
.services-home .svc { border-color: #fff; }
.services-home .svc:hover { background: #fff; color: var(--red); padding-left: 18px; padding-right: 18px; }
.services-home .svc:hover .svc-desc { color: var(--red); }
.quote-home { background: var(--green); color: var(--paper); padding: 120px 0 130px; }
.quote-home .tiny { color: rgba(243,241,235,0.75); }
.quote-text { font-size: clamp(2.2rem, 5vw, 5.4rem); max-width: 22ch; }
.team-home { background: var(--blue); color: #fff; padding: 100px 0 110px; }
.team-home .tiny { color: rgba(255,255,255,0.8); }
.team-home .tn { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.03em; }
.closing { background: var(--ink); color: var(--yellow); }
.closing .tiny { color: rgba(246,214,53,0.7); }
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(255,255,255,0.25); }
.site-footer .foot-label, .site-footer .foot-bottom, .site-footer .tiny { color: rgba(243,241,235,0.65); }
.site-footer .foot-mail:hover { background: var(--pink); color: #000; }
.page-home .site-header { transition: background 0.4s, color 0.4s; }
.site-header.tone-pink { background: var(--pink); color: var(--ink); }
.site-header.tone-blue, .site-header.tone-red, .site-header.tone-green, .site-header.tone-ink { color: #fff; }
.site-header.tone-blue { background: var(--blue); } .site-header.tone-red { background: var(--red); }
.site-header.tone-green { background: var(--green); } .site-header.tone-ink { background: var(--ink); }
.site-header.tone-yellow { background: var(--yellow); color: #000; }
.site-header[class*="tone-"] .hd-clock, .site-header[class*="tone-"] a, .site-header[class*="tone-"] .menu-toggle { color: inherit; }
.site-header[class*="tone-"] .hd-spots i { background: currentColor; }
.float-card--blue { background: var(--blue); color: #fff; }
.float-card--pink { background: var(--pink); color: #000; }

/* ===== FUN CURSOR ===== */
.cursor-dot { width: 16px; height: 16px; top: -8px; left: -8px; transition: none; }
.cursor-tail { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; background: #fff; border-radius: 50%; mix-blend-mode: difference; transition: opacity 0.25s; }
.tail-off .cursor-tail { opacity: 0; }
.cursor-pop { position: fixed; z-index: 9998; width: 9px; height: 9px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-tail, .cursor-pop { display: none; } }

/* ===== PLAY ===== */
.play { background: var(--paper); padding: 100px 0 120px; }
.play-head { display: flex; justify-content: space-between; align-items: baseline; }
.play-title { font-family: var(--grot); font-weight: 640; font-size: clamp(3rem, 10vw, 11rem); line-height: 0.86; letter-spacing: -0.06em; margin: 20px 0 30px; }
.tetris-keys { display: none; gap: 6px; margin-top: 10px; }
.tetris-keys button { flex: 1; padding: 12px 0; border: 1px solid var(--ink); background: none; font: inherit; font-weight: 600; }
.tetris-lede { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; margin: 12px 0 26px; max-width: 14ch; }
.unlock-list { list-style: none; padding: 0; margin: 0; max-width: 460px; }
.unlock-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; opacity: 0.22; pointer-events: none; filter: blur(3px); transition: opacity 0.5s, filter 0.5s; }
.unlock-list li:last-child { border-bottom: 1px solid var(--ink); }
.unlock-list li.is-open { opacity: 1; filter: none; pointer-events: auto; }
.toss { position: relative; margin-top: 70px; border-top: 1px solid rgba(255,255,255,0.5); }
.toss canvas { display: block; width: 100%; }
.toss-hint { position: absolute; top: 10px; left: 0; color: rgba(255,255,255,0.8); }
.site-header.tone-paper { background: var(--paper); color: var(--ink); }
.cursor-tail { background: none; border-radius: 0; mix-blend-mode: normal; line-height: 1; margin-left: -0.5em; display: block; }
.cursor-tail { translate: -50% -50%; }
.unlock-list li a { pointer-events: auto; }
.services-home .svc-list .svc:last-child { border-bottom-color: #fff; }

.cursor-dot { width: auto; height: auto; background: none; border-radius: 0; top: 0; left: 0; translate: -50% -50%; font-size: 30px; line-height: 1; color: #fff; text-align: center; }
.cursor-tail { font-size: 18px; }

.play { background: var(--ink); color: var(--paper); }
.play .tiny { color: rgba(243,241,235,0.65); }
.play-title { color: var(--yellow); }
.tetris { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: start; margin-top: 30px; }
.tetris-board { grid-column: 2; grid-row: 1; }
.tetris-board canvas { display: block; height: min(78vh, 760px); width: auto; aspect-ratio: 10 / 18; outline: none; border: 1px solid rgba(243,241,235,0.35); }
.tetris-side { grid-column: 3; grid-row: 1; padding-top: 4px; }
.tetris-lede { color: var(--paper); }
.unlock-list li { border-color: rgba(243,241,235,0.5); color: var(--paper); }
.unlock-list li:last-child { border-color: rgba(243,241,235,0.5); }
.unlock-list a { color: var(--yellow); }
.tetris-keys button { border-color: var(--paper); color: var(--paper); }
@media (max-width: 760px) { .tetris { grid-template-columns: 1fr; } .tetris-board, .tetris-side { grid-column: 1; grid-row: auto; } .tetris-board canvas { height: auto; width: 100%; max-width: 420px; } }
.site-header.tone-paper { background: var(--ink); color: #fff; }

/* Tetris on pink */
.play { background: var(--pink); color: #000; }
.play .tiny { color: rgba(0,0,0,0.65); }
.play-title { color: #000; }
.tetris-board canvas { border: 0; background: var(--ink); }
.tetris-lede { color: #000; }
.unlock-list li { border-color: #000; color: #000; }
.unlock-list li:last-child { border-color: #000; }
.unlock-list a { color: #000; }
.tetris-keys button { border-color: #000; color: #000; }

.toss { grid-column: 1 / -1; }

.tetris-next { grid-column: 1; grid-row: 1; justify-self: end; }
.tetris-next canvas { display: block; width: 112px; height: 112px; margin-top: 8px; }
@media (max-width: 760px) { .tetris-next { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ===== SITE-WIDE THEMES ===== */
.theme-pink { background: var(--pink); color: #0D0D0C; --ink: #0D0D0C; --mute: rgba(13,13,12,0.65); }
.theme-yellow { background: var(--yellow); color: #000; --ink: #000; --mute: rgba(0,0,0,0.62); }
.theme-blue { background: var(--blue); color: #fff; --ink: #fff; --mute: rgba(255,255,255,0.78); }
.theme-red { background: var(--red); color: #fff; --ink: #fff; --mute: rgba(255,255,255,0.8); }
.theme-green { background: var(--green); color: var(--paper); --ink: var(--paper); --mute: rgba(243,241,235,0.75); }
.theme-ink { background: #0D0D0C; color: var(--paper); --ink: var(--paper); --mute: rgba(243,241,235,0.65); }
.theme-pink, .theme-yellow, .theme-blue, .theme-red, .theme-green, .theme-ink { transition: none; }
.theme-blue .hl:hover, .theme-red .hl:hover, .theme-green .hl:hover, .theme-ink .hl:hover { color: #000; }
.page-hero--photo { padding: 120px 0 90px; }
.values, .team { padding-top: 90px; padding-bottom: 110px; }
.team-grid { gap: 20px; }
.team-tile { display: grid; place-items: end center; aspect-ratio: 4 / 5; overflow: hidden; }
.team-tile img { width: 82%; height: auto; transform: translateY(6%); transition: transform 0.6s var(--ease); }
.team-card:hover .team-tile img { transform: translateY(0) rotate(-4deg) scale(1.05); }
.tile-0 { background: var(--yellow); } .tile-1 { background: var(--pink); } .tile-2 { background: var(--paper); }
.team-card h3, .team-card p { color: inherit; }
.service-block { border-top: 0; padding: 60px 0; }
.service-block .deliverables { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.service-block .deliverables li { border: 1px solid currentColor; background: none; color: inherit; padding: 6px 12px; border-radius: 99px; font-size: 13px; }
.service-block-copy p { color: inherit; opacity: 0.85; }
.service-block-copy h2 { font-size: clamp(3.4rem, 9vw, 9rem); font-family: var(--grot); font-weight: 640; letter-spacing: -0.06em; }
.process { padding: 90px 0 110px; }
.process-step h3 { font-size: 2.4rem; }
.case-hero { padding-bottom: 70px; }
.case-nav { padding: 70px 0 80px; }
.case-nav-link:hover .case-nav-title { background: var(--yellow); color: #000; }
.page-contact .contact-grid-section { padding-top: 70px; }


/* ===== PAGE CURTAIN: marker scribble fills the screen ===== */
.curtain { position: fixed; inset: 0; z-index: 9990; pointer-events: none; visibility: hidden; color: var(--c, #2B3BFF); }
.scribble { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scribble path { fill: none; stroke: currentColor; stroke-width: 235; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.curtain.is-in { visibility: visible; pointer-events: all; }
.curtain.is-in .scribble path { animation: scrib-in 0.8s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
.from-nav .curtain { visibility: visible; animation: cur-hide 0s 1.15s forwards; }
.from-nav .curtain .scribble path { stroke-dashoffset: 0; animation: scrib-out 0.75s 0.2s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
@keyframes scrib-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes scrib-out { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes cur-hide { to { visibility: hidden; } }

/* ===== HOW IT WORKS: a conversation ===== */
.how { padding: 110px 0 130px; }
.how-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 20px; }
.how-title { font-family: var(--grot); font-weight: 640; font-size: clamp(3rem, 8vw, 9rem); line-height: 0.88; letter-spacing: -0.06em; margin: 14px 0 0; }
.how .tiny { color: rgba(0,0,0,0.65); }
.chat { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.msg { display: flex; gap: 14px; align-items: flex-end; opacity: 0; transform: translateY(26px) scale(0.96); transition: opacity 0.4s, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
.msg.in { opacity: 1; transform: none; }
.msg--you { justify-content: flex-end; }
.msg-face { width: 54px; height: 54px; object-fit: contain; flex: none; }
.msg-body { display: flex; flex-direction: column; gap: 4px; max-width: 82%; }
.msg--you .msg-body { align-items: flex-end; }
.msg-name { color: rgba(0,0,0,0.6); padding-left: 4px; }
.msg-text { margin: 0; padding: 14px 20px; font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.12; letter-spacing: -0.01em; background: #fff; color: #000; border-radius: 26px 26px 26px 6px; }
.msg--you .msg-text { background: #0D0D0C; color: var(--paper); border-radius: 26px 26px 6px 26px; }
@media (max-width: 760px) { .how-wrap { grid-template-columns: 1fr; gap: 40px; } .msg-body { max-width: 88%; } }

/* ===== WHAT WE DO ===== */
.services-home { padding: 110px 0 120px; }
.wwd-list { margin-top: 18px; }
.wwd { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; padding: 26px 0 30px; border-top: 1px solid #0D0D0C; overflow: hidden; }
.wwd-list .wwd:last-child { border-bottom: 1px solid #0D0D0C; }
.wwd-title { font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 9.5rem); line-height: 0.9; letter-spacing: -0.035em; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 88% / 0% 42%; transition: background-size 0.5s var(--ease); width: fit-content; }
.wwd:hover .wwd-title { background-size: 100% 42%; }
.wwd-copy { display: flex; flex-direction: column; gap: 10px; padding-right: 0; }
.wwd-sum { font-size: 17px; font-weight: 500; }
.wwd-del { font-size: 13px; color: rgba(13,13,12,0.7); max-width: 40ch; }
@media (max-width: 760px) { .wwd { grid-template-columns: 1fr; } .wwd-copy { padding-right: 0; } }
.services-home .tiny, .services-home .sec-label { color: rgba(13,13,12,0.65); }

/* ===== MENU: one pull tag, sheet of flat colour bands ===== */
.hd { grid-template-columns: 1.3fr 2fr 1fr 96px; }
.hd-nav, .menu-toggle, .mobile-nav { display: none !important; }
.pull { position: fixed; top: 0; right: 30px; z-index: 260; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
.pull:hover { animation: swing 1.2s ease-in-out; }
.menu-open .pull { animation: none; }
@keyframes swing { 0% { transform: rotate(0); } 22% { transform: rotate(6deg); } 48% { transform: rotate(-4deg); } 74% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
.pull-string { display: block; width: 2px; height: 34px; background: #0D0D0C; }
.menu-flag { position: relative; display: block; width: 54px; height: 132px; border: 0; padding: 0; cursor: none; touch-action: none; background: #0D0D0C; color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 18px), 0 100%); }
.menu-flag span { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); writing-mode: vertical-rl; font: 600 13px var(--grot); letter-spacing: 0.06em; white-space: nowrap; }
.menu-flag::after { content: "\2193"; position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font: 800 20px var(--grot); color: #0D0D0C; animation: nudge 1.4s ease-in-out infinite; clip-path: none; }
.menu-open .menu-flag::after { content: ""; }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
.sheet-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(13,13,12,0.4); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.menu-open .sheet-scrim { opacity: 1; pointer-events: auto; }
.menu-dragging .sheet-scrim { pointer-events: none; }
.sheet { position: fixed; top: 0; right: 0; width: min(560px, 100vw); z-index: 250; background: #0D0D0C; color: #F3F1EB; transform: translateY(-104%); visibility: hidden; transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1); }
.menu-open .sheet { transform: none; visibility: visible; }
.sheet-nav { display: block; }
.band { display: block; padding: 18px 104px 14px 28px; background: var(--bg); color: var(--fg); transition: background 0.25s, color 0.25s; }
.band .bl-w { display: block; font: 800 clamp(3.2rem, 8.6vw, 4.8rem)/0.95 var(--grot); letter-spacing: -0.065em; white-space: nowrap; }
.band:hover, .band:focus-visible { background: #0D0D0C; color: #F3F1EB; }
.bl-w .lt { display: inline-block; white-space: pre; }
.band:hover .lt { animation: hop 0.6s cubic-bezier(0.3, 1.7, 0.5, 1) calc(var(--k) * 38ms) both; }
@keyframes hop { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-0.18em) rotate(-5deg); } 60% { transform: translateY(0.03em) rotate(2deg); } 100% { transform: translateY(0) rotate(0); } }
.sheet-foot { display: flex; justify-content: space-between; gap: 14px; padding: 14px 104px 16px 28px; font: 400 12px var(--grot); color: rgba(243,241,235,0.7); }
.sheet-foot a:hover { color: #F6D635; }
@media (max-width: 760px) { .pull { right: 14px; } .band { padding: 16px 92px 12px 20px; } .sheet-foot { padding: 12px 92px 14px 20px; flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .band:hover .lt { animation: none; } }

/* ===== MENU refinements: serif words, round pull-ball, circle-reveal hover ===== */
.menu-flag { width: 62px; height: 62px; border-radius: 50%; clip-path: none; background: #0D0D0C; color: #fff; display: grid; place-items: center; }
.menu-flag span { position: static; transform: none; writing-mode: horizontal-tb; font: 600 13px var(--grot); letter-spacing: 0.02em; }
.menu-flag::after { bottom: -30px; }
.pull-string { height: 40px; }
.band { position: relative; overflow: hidden; padding: 10px 104px 14px 28px; }
.band .bl-w { display: block; font: 400 clamp(3.8rem, 10.4vw, 6rem)/0.95 var(--serif); letter-spacing: -0.035em; white-space: nowrap; padding-bottom: 0.04em; }
.band:hover, .band:focus-visible { background: var(--bg); color: var(--fg); }
.band-in { position: absolute; inset: 0; padding: 10px 104px 14px 28px; background: #0D0D0C; color: #F3F1EB; clip-path: circle(0px at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.band:hover .band-in, .band:focus-visible .band-in { clip-path: circle(900px at var(--mx, 50%) var(--my, 50%)); }
.band:hover .lt { animation: none; }
@media (max-width: 760px) { .band, .band-in { padding: 8px 92px 12px 20px; } }

/* menu ball label: menu -> pull on hover, back when open */
.menu-flag { position: relative; }
.menu-flag .l { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px var(--grot); letter-spacing: 0.02em; transition: opacity 0.2s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.menu-flag .l-pull, .menu-flag .l-back { opacity: 0; transform: translateY(8px); }
.menu-flag:hover .l-menu { opacity: 0; transform: translateY(-8px); }
.menu-flag:hover .l-pull { opacity: 1; transform: none; }
.menu-open .menu-flag .l-menu, .menu-open .menu-flag:hover .l-menu, .menu-open .menu-flag:hover .l-pull { opacity: 0; }
.menu-open .menu-flag .l-back { opacity: 1; transform: none; }

/* ===== WHAT WE DO: flat colour bands + circle-reveal hover ===== */
.services-home { background: var(--paper); color: #0D0D0C; padding: 90px 0 0; }
.services-home .sec-label { color: var(--mute); margin-bottom: 18px; }
.wwd-list { display: block; margin: 0; }
.wwd { position: relative; display: block; overflow: hidden; padding: 0; border: 0; background: var(--bg); color: #fff; }
.wwd-list .wwd:last-child { border: 0; }
.wwd-main { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; max-width: var(--wrap); margin: 0 auto; padding: 38px var(--gutter) 44px; }
.wwd-title { font: 400 clamp(3.6rem, 9vw, 9rem)/0.9 var(--serif); letter-spacing: -0.035em; background: none; width: auto; display: block; }
.wwd:hover .wwd-title { background: none; }
.wwd-copy { display: flex; flex-direction: column; gap: 10px; padding-right: 0; }
.wwd-sum { font: 500 17px/1.3 var(--grot); }
.wwd-del { font: 400 13px/1.4 var(--grot); color: inherit; opacity: 0.8; max-width: 44ch; }
.wwd-in { position: absolute; inset: 0; background: #0D0D0C; color: #F3F1EB; clip-path: circle(0px at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.wwd:hover .wwd-in, .wwd:focus-visible .wwd-in { clip-path: circle(1800px at var(--mx, 50%) var(--my, 50%)); }
@media (max-width: 760px) { .wwd-main { grid-template-columns: 1fr; padding: 30px var(--gutter) 34px; } }

/* ===== WHAT WE DO: letter magnets ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.services-home.magnets { padding: 90px 0 90px; background: var(--paper); }
.mag-head { display: flex; justify-content: space-between; align-items: baseline; }
.mag-stage { position: relative; margin-top: 14px; user-select: none; }
.mag-stage canvas { display: block; width: 100%; cursor: grab; touch-action: pan-y; }
.mag-panel { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; padding-top: 26px; border-top: 1px solid #0D0D0C; margin-top: 18px; }
.mag-title { font: 400 clamp(2.8rem, 7vw, 6rem)/0.95 var(--serif); letter-spacing: -0.035em; }
.mag-body { display: flex; flex-direction: column; gap: 10px; }
.mag-sum { font: 500 17px/1.3 var(--grot); }
.mag-desc { font: 400 14px/1.5 var(--grot); color: var(--mute); max-width: 48ch; }
.mag-del { font: 400 13px/1.5 var(--grot); color: #0D0D0C; }
.mag-link { font: 600 13px var(--grot); width: fit-content; }
@media (max-width: 760px) { .mag-panel { grid-template-columns: 1fr; } }

/* ===== WHAT WE DO: mixing desk ===== */
.services-home.mixer { padding: 90px 0 100px; background: var(--paper); }
.mix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.mix-col { position: relative; background: var(--paper); border: 1px solid #0D0D0C; overflow: hidden; min-height: 560px; user-select: none; }
.mix-in { position: absolute; inset: 0; padding: 22px 22px 22px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 16px; }
.mix-over { position: absolute; inset: 0; background: var(--c); color: #fff; pointer-events: none; clip-path: inset(100% 0 0 0); }
.mix-base { position: absolute; inset: 0; color: #0D0D0C; }
.mix-title { font: 400 clamp(2.4rem, 3.8vw, 3.6rem)/0.95 var(--serif); letter-spacing: -0.03em; }
.mix-rig { position: relative; min-height: 300px; }
.mix-slot { position: absolute; left: 27px; top: 22px; bottom: 22px; width: 3px; background: currentColor; opacity: 0.9; }
.mix-slot::before, .mix-slot::after { content: ""; position: absolute; left: -9px; width: 21px; height: 3px; background: currentColor; }
.mix-slot::before { top: -2px; } .mix-slot::after { bottom: -2px; }
.mix-list { list-style: none; margin: 0; padding: 0; position: absolute; left: 86px; right: 0; top: 22px; bottom: 22px; }
.mix-list li { position: absolute; left: 0; right: 0; bottom: calc(var(--p) * 100%); transform: translateY(50%); font: 400 clamp(1.3rem, 1.9vw, 1.7rem)/1.05 var(--serif); letter-spacing: -0.01em; }
.mix-list li::before { content: ""; position: absolute; left: -48px; top: 50%; width: 32px; height: 2px; background: currentColor; opacity: 0.5; transform: translateY(-50%); }
.mix-sum { font: 500 15px/1.3 var(--grot); max-width: 30ch; }
.mix-link { font: 600 13px var(--grot); width: fit-content; opacity: 0; transition: opacity 0.3s; }
.is-full .mix-base .mix-link { opacity: 1; }
.mix-over .mix-link { opacity: 0; }
.mix-knob { position: absolute; z-index: 5; width: 56px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: #0D0D0C; cursor: grab; display: grid; place-items: center; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); touch-action: none; }
.mix-knob i { display: block; width: 34px; height: 3px; background: #fff; border-radius: 2px; }
.mix-knob:hover { transform: scale(1.08); }
.is-drag .mix-knob { cursor: grabbing; transform: scale(1.12); }
.mix-knob:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 900px) { .mix-grid { grid-template-columns: 1fr; } .mix-col { min-height: 460px; } .mix-rig { min-height: 240px; } }

/* ===== WHAT'S BUGGING YOU ===== */
.services-home.bug { background: var(--paper); padding: 90px 0 110px; }
.bug-title { font: 400 clamp(3.4rem, 9.5vw, 9rem)/0.9 var(--serif); letter-spacing: -0.04em; margin: 16px 0 30px; }
.bug-opts { display: flex; flex-wrap: wrap; gap: 12px; }
.bug-opt { font: 700 clamp(1.15rem, 2.1vw, 1.7rem)/1.1 var(--grot); letter-spacing: -0.03em; padding: 16px 22px 17px; border: 2px solid #0D0D0C; background: transparent; color: #0D0D0C; cursor: none; text-align: left; transition: background 0.2s, color 0.2s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bug-opt:hover { background: #F6D635; transform: translateY(-3px) rotate(-0.6deg); }
.bug-opt.is-on { background: var(--c); border-color: var(--c); color: #fff; }
.bug-chat { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; min-height: 40px; }
.bug-msg { display: flex; gap: 12px; align-items: flex-end; opacity: 0; transform: translateY(18px) scale(0.97); transition: opacity 0.35s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bug-msg.in { opacity: 1; transform: none; }
.bug-msg--you { justify-content: flex-end; }
.bug-face { width: 52px; height: 52px; object-fit: contain; flex: none; }
.bug-face--ghost { visibility: hidden; }
.bug-col { display: flex; flex-direction: column; gap: 4px; max-width: 86%; }
.bug-name { font: 400 12px var(--grot); color: var(--mute); padding-left: 4px; }
.bug-bubble { padding: 14px 20px; font: 400 clamp(1.2rem, 1.8vw, 1.6rem)/1.15 var(--serif); letter-spacing: -0.01em; background: var(--c, #0D0D0C); color: #fff; border-radius: 24px 24px 24px 6px; }
.bug-bubble--you { background: #0D0D0C; color: var(--paper); border-radius: 24px 24px 6px 24px; font-family: var(--grot); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.bug-bubble--link { display: inline-block; font-family: var(--grot); font-weight: 700; font-size: 1rem; width: fit-content; }
.bug-typing .bug-bubble { display: flex; gap: 5px; padding: 18px 20px; }
.bug-typing .bug-bubble i { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.5; animation: dot 1s infinite; }
.bug-typing .bug-bubble i:nth-child(2) { animation-delay: 0.15s; } .bug-typing .bug-bubble i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-5px); opacity: 1; } }

/* ===== HOW IT WORKS: scroll-drawn path ===== */
.how2 { background: var(--yellow); color: #0D0D0C; padding: 110px 0 130px; }
.how2 .tiny { color: rgba(0,0,0,0.65); }
.how2-title { font: 800 clamp(3.2rem, 9vw, 8.6rem)/0.88 var(--grot); letter-spacing: -0.065em; margin: 14px 0 70px; }
.hp { position: relative; height: 1050px; }
.hp-line { position: absolute; left: 50%; top: 0; width: 120px; height: 100%; transform: translateX(-50%); overflow: visible; }
.hp-line path { fill: none; stroke: #0D0D0C; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hp-ghost { opacity: 0.18; }
.hp-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hp-list { list-style: none; margin: 0; padding: 0; }
.hp-stop { position: absolute; top: var(--t); width: 50%; transform: translateY(-50%); }
.hp-l { left: 0; padding-right: 80px; text-align: right; }
.hp-r { left: 50%; padding-left: 80px; }
.hp-dot { position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--yellow); border: 3px solid #0D0D0C; transform: scale(0.6); transition: transform 0.5s cubic-bezier(0.34, 1.8, 0.5, 1), background 0.3s; }
.hp-l .hp-dot { right: -13px; } .hp-r .hp-dot { left: -13px; }
.hp-stop.is-on .hp-dot { transform: scale(1.25); background: #0D0D0C; }
.hp-card { opacity: 0.22; transform: translateY(14px); transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hp-stop.is-on .hp-card { opacity: 1; transform: none; }
.hp-word { font: 400 clamp(3rem, 7vw, 6.4rem)/0.92 var(--serif); letter-spacing: -0.035em; }
.hp-text { font: 500 16px/1.35 var(--grot); max-width: 30ch; margin-top: 10px; }
.hp-l .hp-text { margin-left: auto; }
@media (max-width: 760px) { .hp { height: 1150px; } .hp-line { left: 22px; transform: none; width: 60px; } .hp-stop, .hp-l, .hp-r { left: 0; width: 100%; padding: 0 0 0 64px; text-align: left; } .hp-l .hp-dot, .hp-r .hp-dot { left: 9px; right: auto; } .hp-l .hp-text { margin-left: 0; } }

.menu-flag::after, .menu-open .menu-flag::after { content: none !important; display: none !important; }

/* ===== HOW IT WORKS: accordion rows ===== */
.how3 { background: #0D0D0C; color: #F3F1EB; padding: 110px 0 0; }
.how3 .tiny { color: rgba(243,241,235,0.6); }
.how3-title { font: 800 clamp(3.2rem, 9vw, 8.6rem)/0.88 var(--grot); letter-spacing: -0.065em; margin: 14px 0 70px; color: #F3F1EB; }
.acc-row { border-top: 1px solid rgba(243,241,235,0.3); background: transparent; color: #F3F1EB; transition: background 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.45s; }
.acc-row.is-open { background: var(--bg); color: var(--fg); border-top-color: var(--bg); }
.acc-row:not(.is-open):hover { background: rgba(243,241,235,0.07); }
.acc-head { display: block; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 0; cursor: none; }
.acc-in { display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 22px; }
.acc-word { font: 400 clamp(3.6rem, 11vw, 10rem)/0.9 var(--serif); letter-spacing: -0.04em; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.acc-row:not(.is-open) .acc-head:hover .acc-word { transform: translateX(14px); }
.acc-ic { font: 600 clamp(1.4rem, 3vw, 2.4rem) var(--grot); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.acc-row.is-open .acc-ic { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.acc-row.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-text { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 38px; font: 500 clamp(1.2rem, 2vw, 1.7rem)/1.25 var(--grot); }
.acc-text { max-width: min(var(--wrap), 100%); }
@media (min-width: 761px) { .acc-text { padding-right: 45%; } }
.hero > .wrap { padding-right: 96px; } @media (max-width: 760px) { .hero > .wrap { padding-right: 80px; } }

/* how it works: richer open rows */
.acc-body { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 44px; display: grid; grid-template-columns: 6fr 5fr; gap: 40px; align-items: start; }
.acc-body .acc-text { margin: 0; padding: 0; max-width: 24ch; font: 400 clamp(1.7rem, 3vw, 2.8rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.acc-side { display: flex; flex-direction: column; gap: 18px; }
.acc-points { list-style: none; margin: 0; padding: 0; }
.acc-points li { font: 500 16px/1.3 var(--grot); padding: 11px 0; border-top: 1px solid currentColor; }
.acc-points li:last-child { border-bottom: 1px solid currentColor; }
.acc-get { font: 400 16px/1.35 var(--grot); }
.acc-get b { display: block; font: 700 12px var(--grot); letter-spacing: 0.02em; margin-bottom: 4px; opacity: 0.75; }
.how3-cta { padding: 34px var(--gutter) 40px; border-top: 1px solid rgba(243,241,235,0.3); }
.how3-cta a { font: 600 15px var(--grot); color: #F3F1EB; }
.how3-cta a:hover { color: #000; }
@media (max-width: 760px) { .acc-body { grid-template-columns: 1fr; gap: 22px; } .acc-body .acc-text { max-width: none; } }

/* ===== SERVICES PAGE: chapters + real work ===== */
.chapter { padding: 100px 0 110px; }
.chapter-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: start; }
.chapter-left { position: sticky; top: 90px; }
.chapter-title { font: 400 clamp(4rem, 10.5vw, 10.5rem)/0.88 var(--serif); letter-spacing: -0.04em; }
.chapter-sum { font: 500 18px/1.3 var(--grot); margin-top: 22px; max-width: 24ch; }
.chapter-right { display: flex; flex-direction: column; gap: 26px; padding-top: 14px; }
.chapter-desc { font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.12 var(--serif); letter-spacing: -0.015em; max-width: 26ch; }
.chapter-list { list-style: none; margin: 0; padding: 0; }
.chapter-list li { font: 600 17px/1.3 var(--grot); padding: 13px 0; border-top: 1px solid currentColor; }
.chapter-list li:last-child { border-bottom: 1px solid currentColor; }
.chapter-label { margin-bottom: -14px; opacity: 0.75; }
.chapter-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.proof { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; padding: 14px 16px 16px; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.proof .proof-meta { display: flex; justify-content: space-between; color: inherit; opacity: 0.65; }
.proof-name { font: 400 clamp(2rem, 3vw, 2.8rem)/0.92 var(--serif); letter-spacing: -0.03em; transition: transform 0.5s var(--ease); }
.proof:hover .proof-name { transform: translateY(-6px); }
.proof.cover--yellow, .proof.cover--pink, .proof.cover--paper { color: #000; }
.chapter-cta { font: 600 15px var(--grot); width: fit-content; }
@media (max-width: 860px) { .chapter-grid { grid-template-columns: 1fr; } .chapter-left { position: static; } .chapter { padding: 70px 0 76px; } }

/* ===== SERVICES: bolder chapters ===== */
.chapter { position: relative; overflow: hidden; padding: 120px 0 130px; }
.chapter::before { content: attr(data-word); position: absolute; right: -2vw; bottom: -0.2em; font: 800 clamp(14rem, 36vw, 38rem)/0.72 var(--grot); letter-spacing: -0.07em; color: rgba(0,0,0,0.08); pointer-events: none; z-index: 0; white-space: nowrap; }
.chapter.theme-blue::before { color: rgba(255,255,255,0.1); }
.chapter .wrap { position: relative; z-index: 1; }
.chapter-title { font-size: clamp(4.4rem, 12vw, 12.6rem); }
.chapter-desc { font-size: clamp(1.7rem, 2.8vw, 2.7rem); max-width: 22ch; }
.chapter-list li { position: relative; overflow: hidden; padding: 16px 14px; font: 400 clamp(1.5rem, 2.3vw, 2.1rem)/1.05 var(--serif); letter-spacing: -0.015em; }
.chapter-list li .dl-in { position: absolute; inset: 0; padding: 16px 14px; background: #0D0D0C; color: #F3F1EB; clip-path: circle(0px at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.chapter-list li:hover .dl-in { clip-path: circle(900px at var(--mx, 50%) var(--my, 50%)); }
.proof { min-height: 270px; transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.proof:hover { transform: translateY(-6px) rotate(-1.2deg); background: #0D0D0C; color: #F3F1EB; }
.proof-name { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
@media (max-width: 860px) { .chapter { padding: 76px 0 84px; } .chapter::before { font-size: 16rem; } }

/* how it works heading */
.how3-title { margin: 14px 0 80px; line-height: 0.92; letter-spacing: -0.04em; }
.how3-title .ht-a { font: 800 clamp(3.6rem, 11vw, 10.6rem)/0.92 var(--grot); letter-spacing: -0.065em; }
.how3-title .ht-b, .how3-title .ht-c { font: italic 400 clamp(4rem, 12.4vw, 12rem)/0.9 var(--serif); letter-spacing: -0.04em; position: relative; display: inline-block; }
.how3-title .ht-b { color: #FFB1DE; }
.how3-title .ht-c { color: #F6D635; }
.ht-line { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.22em; overflow: visible; pointer-events: none; }
.ht-line path { fill: none; stroke: #F6D635; stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(0.6, 0, 0.2, 1) 0.4s; }
.is-in .ht-line path { stroke-dashoffset: 0; }
.how3-title .ht-b { transform: rotate(-2deg); transform-origin: left bottom; }

/* ===== ABOUT: values as big rows ===== */
.page-about .page-hero-title { font-size: clamp(3.8rem, 12.5vw, 13rem); }
.values { padding: 90px 0 0; }
.values .section-head { margin-bottom: 30px; }
.val-list { margin-top: 10px; }
.val-row { position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.55); }
.val-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.55); }
.val-main { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: baseline; padding-top: 26px; padding-bottom: 30px; }
.val-title { font: 400 clamp(3rem, 7.6vw, 7.4rem)/0.92 var(--serif); letter-spacing: -0.035em; }
.val-desc { font: 500 17px/1.35 var(--grot); max-width: 36ch; color: inherit; }
.val-in { position: absolute; inset: 0; background: #0D0D0C; color: #F3F1EB; clip-path: circle(0px at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.val-row:hover .val-in { clip-path: circle(1800px at var(--mx, 50%) var(--my, 50%)); }
.values + .team { padding-top: 90px; }
@media (max-width: 760px) { .val-main { grid-template-columns: 1fr; gap: 10px; } }

/* how it works heading: stylised wave + rocket */
.ht-hand, .ht-rocket { display: inline-block; width: 0.78em; height: 0.78em; font-size: clamp(4rem, 12.4vw, 12rem); vertical-align: -0.08em; margin-left: 0.06em; overflow: visible; }
.ht-hand { margin-left: 0.1em; }
.hand-wave { transform-origin: 52px 92px; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 20% { transform: rotate(-10deg); } 30% { transform: rotate(16deg); } 40% { transform: rotate(-8deg); } 48% { transform: rotate(8deg); } }
.hand-arc { opacity: 0; animation: arc 2.6s ease-in-out infinite; }
.hand-arc.a2 { animation-delay: 0.12s; }
@keyframes arc { 0%, 5% { opacity: 0; } 15%, 40% { opacity: 1; } 55%, 100% { opacity: 0; } }
.rocket-fly { animation: fly 3.2s ease-in-out infinite; }
@keyframes fly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(7px, -9px); } }
.flame { transform-origin: 55px 76px; animation: flick 0.18s ease-in-out infinite alternate; }
.flame.f2 { animation-duration: 0.14s; }
@keyframes flick { from { transform: scaleY(0.85); } to { transform: scaleY(1.2); } }
@media (prefers-reduced-motion: reduce) { .hand-wave, .hand-arc, .rocket-fly, .flame { animation: none; } .hand-arc { opacity: 1; } }

/* ===== ABOUT: team memoji pop out of bold shapes ===== */
.team-grid { gap: 28px; }
.tm { position: relative; aspect-ratio: 1 / 1.02; margin-bottom: 8px; cursor: none; }
.tm-shape { position: absolute; left: 4%; right: 4%; bottom: 0; height: 80%; background: var(--sh, #F6D635); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), border-radius 0.6s; }
.tm-0 { --sh: #F6D635; } .tm-0 .tm-shape { border-radius: 999px 999px 0 0; }
.tm-1 { --sh: #2B3BFF; } .tm-1 .tm-shape { border-radius: 50%; height: 82%; }
.tm-2 { --sh: #FFB1DE; } .tm-2 .tm-shape { border-radius: 38% 62% 54% 46% / 52% 42% 58% 48%; }
.tm:hover .tm-shape { transform: rotate(-4deg) scale(1.03); }
.tm-face { position: absolute; left: 50%; bottom: 2%; width: 92%; height: auto; transform: translateX(-50%) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); animation: bob 4.2s ease-in-out infinite; pointer-events: none; user-select: none; }
.tm-1 .tm-face { animation-delay: -1.4s; } .tm-2 .tm-face { animation-delay: -2.8s; }
@keyframes bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 8px; } }
.team-card h3 { font: 400 clamp(3rem, 5.4vw, 5.4rem)/0.95 var(--serif); letter-spacing: -0.035em; margin-top: 6px; }
.team-card p { margin-top: 4px; font: 500 15px var(--grot); }
@media (prefers-reduced-motion: reduce) { .tm-face { animation: none; } }

/* homepage quote: easier to read */
.quote-home .quote-text { font-family: var(--serif); font-size: clamp(1.8rem, 3.1vw, 3.1rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 34ch; color: #fff; }
.quote-home .quote-attr { margin-top: 28px; font: 600 15px var(--grot); color: #fff; opacity: 1; }
.quote-home .quote-attr::before { content: ""; display: block; width: 44px; height: 2px; background: var(--yellow); margin-bottom: 14px; }

/* ===== HOMEPAGE QUOTE: bold layout ===== */
.quote-home { padding: 110px 0 120px; overflow: hidden; }
.q-grid { display: grid; grid-template-columns: 7.2fr 4.8fr; gap: 56px; align-items: center; margin-top: 18px; }
.q-main { position: relative; }
.q-mark { display: block; font: 400 clamp(9rem, 17vw, 17rem)/0.6 var(--serif); color: var(--yellow); height: 0.52em; margin: 0 0 6px -0.04em; }
.quote-home .quote-text { font-size: clamp(1.9rem, 3.2vw, 3.3rem); line-height: 1.16; max-width: 30ch; color: #fff; }
.qm { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 90% / 0% 44%; color: inherit; padding: 0 0.04em; transition: background-size 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s; }
.quote-text.is-in .qm { background-size: 100% 44%; color: #000; }
.quote-text.is-in .qm + .qm { transition-delay: 0.9s; }
.q-attr { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 4px solid var(--yellow); }
.q-attr b { font: 700 17px var(--grot); color: #fff; }
.q-attr span { font: 400 14px var(--grot); color: rgba(255,255,255,0.8); }
.q-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; padding: 18px 20px 20px; background: var(--yellow); color: #000; transform: rotate(2.5deg); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s, color 0.4s; }
.q-card:hover { transform: rotate(-1deg) translateY(-8px); background: #0D0D0C; color: #F3F1EB; }
.q-card-top { display: flex; justify-content: space-between; font: 500 13px var(--grot); opacity: 0.7; }
.q-card-name { font: 400 clamp(3.4rem, 6vw, 6.4rem)/0.9 var(--serif); letter-spacing: -0.035em; }
.q-card-go { font: 600 14px var(--grot); }
@media (max-width: 860px) { .q-grid { grid-template-columns: 1fr; gap: 40px; } .q-card { min-height: 260px; transform: rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .qm { transition: none; } }
.q-grid { margin-top: 64px; } .q-mark { height: 0.62em; margin-bottom: 14px; }
@media (max-width: 860px) { .q-grid { margin-top: 36px; } .q-mark { font-size: 8rem; height: 0.4em; margin-bottom: 10px; } }

/* quote: big and bold, no card */
.q-grid { display: block; margin-top: 54px; }
.q-mark { font-size: clamp(10rem, 20vw, 20rem); height: 0.6em; margin-bottom: 18px; }
.quote-home .quote-text { font-size: clamp(2.3rem, 4.6vw, 5rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 27ch; }
.q-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: 44px; max-width: 1100px; }
.q-foot .q-attr { margin-top: 0; }
.q-link { font: 600 15px var(--grot); color: #fff; }
.q-link:hover { color: #000; }
@media (max-width: 860px) { .q-grid { margin-top: 34px; } .q-mark { font-size: 9rem; height: 0.42em; } }
.quote-home .quote-text { font-size: clamp(2.2rem, 4.2vw, 4.6rem); max-width: 38ch; } .q-mark { height: 0.5em; margin-bottom: 8px; } .q-foot { max-width: none; }
.qm { color: #fff; transition: background-size 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s, color 0.3s ease 0.8s; } .quote-text.is-in .qm + .qm { transition-delay: 0.9s, 1.3s; }

/* ===== ABOUT: smaller heading + team bands ===== */
.page-about .page-hero-title { font-size: clamp(3rem, 8.6vw, 9rem); }
.team-bands { background: var(--paper); padding-top: 70px; }
.tb-label { padding-bottom: 14px; }
.tb-label .tiny { color: var(--mute); }
.tb { background: var(--bg); color: var(--fg); overflow: hidden; }
.tb-in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: end; padding-top: 60px; padding-bottom: 0; min-height: 520px; }
.tb--flip .tb-in { grid-template-columns: 7fr 5fr; }
.tb--flip .tb-art { order: 2; }
.tb-art { position: relative; aspect-ratio: 1 / 1; width: min(100%, 520px); justify-self: center; cursor: none; align-self: end; }
.tb-disc { position: absolute; left: 6%; right: 6%; bottom: 0; height: 84%; border-radius: 50%; background: rgba(255,255,255,0.28); }
.tb:nth-of-type(2) .tb-disc, .tb-bands .tb:nth-of-type(2) .tb-disc { background: rgba(255,255,255,0.18); }
.tb-face { position: absolute; left: 50%; bottom: 0; width: 100%; height: auto; transform: translateX(-50%) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); animation: bob 4.4s ease-in-out infinite; pointer-events: none; user-select: none; }
.tb-art.is-hi .tb-face { animation: jump 0.7s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes jump { 0% { transform: translateX(-50%) translateY(0) scale(1); } 40% { transform: translateX(-50%) translateY(-34px) scale(1.04) rotate(-3deg); } 100% { transform: translateX(-50%) translateY(0) scale(1); } }
.tb-bubble { position: absolute; top: 4%; right: 2%; padding: 12px 18px; background: #0D0D0C; color: #F3F1EB; font: 600 17px var(--grot); border-radius: 22px 22px 22px 4px; white-space: nowrap; opacity: 0; transform: scale(0.5) rotate(-6deg); transform-origin: left bottom; transition: opacity 0.2s, transform 0.5s cubic-bezier(0.34, 1.8, 0.5, 1); pointer-events: none; }
.tb-art.is-hi .tb-bubble { opacity: 1; transform: scale(1) rotate(2deg); }
.tb-text { padding-bottom: 60px; }
.tb-name { font: 400 clamp(5rem, 13vw, 13rem)/0.85 var(--serif); letter-spacing: -0.045em; }
.tb-role { font: 700 15px var(--grot); margin-top: 22px; letter-spacing: 0.01em; }
.tb-does { font: 400 clamp(1.5rem, 2.6vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.015em; margin-top: 10px; max-width: 22ch; }
@media (max-width: 860px) { .tb-in, .tb--flip .tb-in { grid-template-columns: 1fr; gap: 10px; padding-top: 40px; min-height: 0; } .tb--flip .tb-art { order: 0; } .tb-art { width: min(80%, 360px); } .tb-text { padding-bottom: 40px; } }
@media (prefers-reduced-motion: reduce) { .tb-face { animation: none; } }
.tb-face { width: auto; height: auto; max-width: 104%; max-height: 104%; } .tb-art { aspect-ratio: 1 / 1.05; } .tb-bubble { top: 2%; right: -2%; z-index: 3; }

/* menu ball: capitals */
.menu-flag .l { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 700; }

/* team: consistent sizing */
.tb-art { width: clamp(300px, 34vw, 470px); height: clamp(300px, 34vw, 470px); aspect-ratio: auto; justify-self: center; }
.tb-disc { left: 4%; right: 4%; height: 86%; }
.tb-face { height: calc(var(--k, 1) * 100%); width: auto; max-width: none; max-height: none; }
.tb-in { min-height: 0; padding-top: 70px; }
.tb-text { padding-bottom: 70px; }
@media (max-width: 860px) { .tb-art { width: min(78vw, 340px); height: min(78vw, 340px); } }
.tb-in { align-items: center; padding-top: 56px; padding-bottom: 56px; } .tb-text { padding-bottom: 0; } .tb-art { align-self: center; }

/* ===== HOMEPAGE QUOTE v2: pull line + supporting text ===== */
.qh2 { padding: 100px 0 110px; }
.qh-pull { position: relative; font: 400 clamp(3.2rem, 8.2vw, 8.6rem)/0.98 var(--serif); letter-spacing: -0.04em; color: #fff; margin: 48px 0 0; max-width: 17ch; }
.qh-mark { position: absolute; left: -0.5em; top: -0.12em; color: var(--yellow); font-size: 0.9em; }
.qh-pull .qm { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 90% / 0% 44%; color: #fff; padding: 0 0.04em; transition: background-size 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s, color 0.3s ease 0.8s; }
.qh-pull.is-in .qm { background-size: 100% 44%; color: #000; }
.qh-row { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.4); }
.qh-who { display: flex; align-items: center; gap: 16px; }
.qh-av { width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); color: #000; display: grid; place-items: center; font: 400 2rem/1 var(--serif); flex: none; }
.qh2 .q-attr { margin: 0; padding-left: 0; border: 0; }
.qh-body { font: 400 17px/1.5 var(--grot); color: rgba(255,255,255,0.92); max-width: 62ch; }
.qh-link { display: inline-block; margin-top: 26px; margin-left: calc(33.33% + 13px); font: 600 15px var(--grot); color: #fff; }
@media (max-width: 860px) { .qh-pull { max-width: none; margin-top: 56px; } .qh-mark { left: -0.1em; top: -0.8em; } .qh-row { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; } .qh-link { margin-left: 0; } }
.qh-mark { position: static; display: block; font-size: 0.95em; line-height: 0.6; height: 0.42em; margin-bottom: 0.18em; margin-left: -0.03em; }

/* real Bad Baker logo image */
.case-feature-img--real { aspect-ratio: 16 / 9; overflow: hidden; background: #E34B3B; }
.case-feature-img--real img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover--img { background: #E34B3B; color: #fff; overflow: hidden; }
.cover--img .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cover--img:hover .cover-img { transform: scale(1.05); }
.cover--img .cover-meta { position: relative; z-index: 1; color: #fff; opacity: 0.85; }
.cover--img .cover-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cover--img:hover { background: #E34B3B; color: #fff; }

/* quote: back to the single-column layout, simple and big but not huge */
.quote-home .quote-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 20px; }
.quote-home .quote-text { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 4.8rem); line-height: 1.08; letter-spacing: -0.015em; max-width: 24ch; color: #fff; }
.quote-home .quote-attr { margin-top: 26px; font: 500 13px var(--grot); color: rgba(255,255,255,0.85); }
.quote-home .quote-attr::before { content: none; }
@media (max-width: 860px) { .quote-home .quote-grid { grid-template-columns: 1fr; } }

/* ===== SERVICES: type-specimen posters ===== */
.tester { background: var(--paper); padding: 50px 0 40px; }
.tester-in { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: baseline; }
.tester-label { font: 600 14px var(--grot); }
.tester-input { font: 400 clamp(2.2rem, 5vw, 4.6rem)/1 var(--serif); letter-spacing: -0.03em; border: 0; border-bottom: 2px solid #0D0D0C; background: transparent; padding: 4px 0 8px; outline: none; color: #0D0D0C; width: 100%; }
.tester-input::placeholder { color: rgba(13,13,12,0.3); }
.tester-hint { grid-column: 2; color: var(--mute); }
.spec { position: relative; overflow: hidden; padding: 28px 0 90px; }
.spec-meta { display: flex; justify-content: space-between; gap: 16px; font: 500 12px var(--grot); border-bottom: 1px solid currentColor; padding-bottom: 12px; margin-bottom: 18px; }
.spec-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; align-items: start; }
.spec-glyph { font: 400 clamp(16rem, 36vw, 38rem)/0.74 var(--serif); letter-spacing: -0.06em; opacity: 0.2; margin-left: -0.04em; user-select: none; }
.spec-ladder { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lad { display: grid; grid-template-columns: 38px 1fr; align-items: baseline; gap: 12px; margin: 0; border-top: 1px solid rgba(0,0,0,0.22); padding-top: 6px; min-width: 0; }
.theme-blue .lad { border-top-color: rgba(255,255,255,0.4); }
.lad i { font: 500 11px var(--grot); font-style: normal; opacity: 0.7; }
.lad span { font-family: var(--serif); white-space: nowrap; overflow: hidden; letter-spacing: -0.03em; line-height: 1; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.lad-120 span { font-size: clamp(3.4rem, 8.2vw, 8.4rem); } .lad-72 span { font-size: clamp(2.4rem, 5vw, 5rem); } .lad-48 span { font-size: clamp(1.8rem, 3.4vw, 3.4rem); } .lad-32 span { font-size: clamp(1.4rem, 2.2vw, 2.2rem); } .lad-20 span { font-size: 1.3rem; } .lad-14 span { font-size: 0.95rem; }
.spec-sets { margin-top: 40px; }
.spec-label { opacity: 0.75; margin-bottom: 10px; }
.spec-glyphs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.spec-glyphs li { border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 14px; transition: background 0.3s, color 0.3s; }
.spec-glyphs li i { font: 400 clamp(3.4rem, 6vw, 5.6rem)/0.9 var(--serif); font-style: normal; letter-spacing: -0.04em; }
.spec-glyphs li span { font: 600 14px/1.25 var(--grot); }
.spec-glyphs li:hover { background: #0D0D0C; color: #F3F1EB; }
.spec-foot { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; margin-top: 50px; align-items: start; }
.spec-desc { font: 400 clamp(1.5rem, 2.3vw, 2.2rem)/1.15 var(--serif); letter-spacing: -0.015em; max-width: 26ch; }
.spec-right { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 860px) { .spec-grid, .spec-foot { grid-template-columns: 1fr; } .spec-glyph { font-size: 14rem; } .tester-in { grid-template-columns: 1fr; } .tester-hint { grid-column: 1; } .spec-meta span:nth-child(3) { display: none; } }

/* hero: intro now leads, links sit beside it */
.hero-intro { grid-column: 1 / 9; font-size: clamp(1.7rem, 3.1vw, 3.1rem); max-width: 30ch; }
.hero-links { grid-column: 10 / 13; }
@media (max-width: 760px) { .hero-intro, .hero-links { grid-column: 1; } }

/* how it works heading: one line on desktop */
@media (min-width: 900px) {
  .how3-title { white-space: nowrap; }
  .how3-title br { display: none; }
  .how3-title .ht-a { font-size: 6.6vw; }
  .how3-title .ht-b, .how3-title .ht-c { font-size: 7.5vw; }
  .ht-hand, .ht-rocket { font-size: 7.5vw; }
}
@media (min-width: 900px) {
  .how3-title .ht-a { font-size: 8.9vw; }
  .how3-title .ht-b, .how3-title .ht-c { font-size: 10vw; }
  .ht-hand, .ht-rocket { font-size: 10vw; }
}
.chapter::before, .chapter.theme-blue::before { content: none !important; display: none !important; }

/* ===== SERVICES: flip cards ===== */
.pcard { position: relative; min-height: 300px; perspective: 1100px; cursor: none; outline: none; }
.pcard:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.pcard-in { position: relative; width: 100%; height: 100%; min-height: 300px; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))); transition: transform 0.7s cubic-bezier(0.3, 1.3, 0.5, 1); }
.pcard.is-tilting .pcard-in { transition: transform 0.12s ease-out; }
.pcard.is-flipped { --flip: 180deg; }
.pcard-front, .pcard-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 16px 18px 18px; display: flex; flex-direction: column; }
.pcard-front { justify-content: space-between; overflow: hidden; }
.pcard-back { transform: rotateY(180deg); background: #0D0D0C; color: #F3F1EB; gap: 10px; overflow: auto; }
.pc--yellow { background: #F6D635; color: #000; } .pc--pink { background: #FFB1DE; color: #000; } .pc--paper { background: #F3F1EB; color: #000; }
.pcard-front.has-img { background: #E34B3B; color: #fff; }
.pcard-front.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-meta { position: relative; display: flex; justify-content: space-between; font: 500 12px var(--grot); opacity: 0.75; z-index: 1; }
.pcard-name { position: relative; font: 400 clamp(2.6rem, 3.6vw, 3.6rem)/0.9 var(--serif); letter-spacing: -0.03em; z-index: 1; }
.pcard-front.has-img .pcard-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pcard-hint { position: relative; font: 600 12px var(--grot); z-index: 1; opacity: 0.8; }
.pcard-front.has-img .pcard-hint { align-self: flex-end; background: rgba(0,0,0,0.35); padding: 4px 9px; border-radius: 99px; }
.pcard-kicker { font: 600 12px var(--grot); opacity: 0.6; }
.pcard-scope { font: 400 1.5rem/1.05 var(--serif); letter-spacing: -0.02em; }
.pcard-list { list-style: none; margin: 0; padding: 0; font: 500 13px/1.3 var(--grot); }
.pcard-list li { padding: 6px 0; border-top: 1px solid rgba(243,241,235,0.3); }
.pcard-link { margin-top: auto; font: 600 13px var(--grot); color: #F6D635; width: fit-content; }
.pcard-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.chapter-proof { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (prefers-reduced-motion: reduce) { .pcard-in { transition: none; } }

/* ===== SERVICES HERO ===== */
.svc-hero { padding: 130px 0 0; }
.svc-title { font-size: 1px; line-height: 0.9; margin: 0; }
.svc-title .sh-a { font: 800 clamp(4.6rem, 14vw, 14.5rem)/0.86 var(--grot); letter-spacing: -0.07em; }
.svc-title .sh-b { font: italic 400 clamp(5rem, 15.6vw, 16rem)/0.86 var(--serif); letter-spacing: -0.045em; color: #F6D635; display: inline-block; transform: rotate(-3deg); transform-origin: left bottom; padding: 0 0.04em; }
.svc-intro { font: 400 clamp(1.8rem, 3.2vw, 3.2rem)/1.08 var(--serif); letter-spacing: -0.02em; max-width: 24ch; margin: 38px 0 0 33.33%; }
.svc-jump { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid rgba(255,255,255,0.7); }
.sj { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 22px 0; border-right: 1px solid rgba(255,255,255,0.7); color: #fff; }
.sj:not(:first-child) { padding-left: 22px; }
.sj:last-child { border-right: 0; }
.sj-t { font: 400 clamp(1.9rem, 3.2vw, 3.2rem)/1 var(--serif); letter-spacing: -0.03em; }
.sj-ar { font: 600 clamp(1.4rem, 2.4vw, 2.2rem) var(--grot); }
.sj-in { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 22px 22px; background: #0D0D0C; color: #F3F1EB; clip-path: circle(0px at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.sj:first-child .sj-in { padding-left: 0; }
.sj:hover .sj-in, .sj:focus-visible .sj-in { clip-path: circle(900px at var(--mx, 50%) var(--my, 50%)); }
@media (max-width: 860px) { .svc-intro { margin-left: 0; } .svc-jump { grid-template-columns: 1fr; } .sj, .sj:not(:first-child) { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.5); } .sj-in { padding: 16px 0; } }
.svc-title { font-size: clamp(4.6rem, 14vw, 14.5rem); word-spacing: 0.06em; letter-spacing: 0; } .svc-title .sh-b { margin: 0 0.04em; }

/* services hero on black: yellow fill on hover */
.svc-hero.theme-ink .sj-in { background: #F6D635; color: #000; }
.svc-hero.theme-ink { padding-bottom: 0; }

/* menu ball turns light over dark sections */
html:has(.site-header.tone-ink):not(.menu-open) .menu-flag { background: #F3F1EB; color: #0D0D0C; }
html:has(.site-header.tone-ink):not(.menu-open) .pull-string { background: #F3F1EB; }

/* services hero: matches other pages, with quick links */
.page-hero--photo.has-jump { padding-bottom: 0; }
.page-hero--photo.has-jump .svc-jump { margin-top: 64px; }
.page-hero--photo.has-jump .sj-in { background: #0D0D0C; color: #F3F1EB; }
.page-services .page-hero-title { font-size: clamp(4rem, 15vw, 16rem); }
