/* Creayou. Design tokens follow the Figma file (Creayou_Site_1440): Black #1F1F1F, Grey #2B2B2B, Dark Grey #393939,
   Creayou Grey #BEBEBE, Milk Grey #F5F5F5, White #FFFFFF. Large type scales with the viewport, small text stays fixed. */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/GreatVibes.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Styrene A"; src: url("../fonts/StyreneA-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Styrene A"; src: url("../fonts/StyreneA-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Styrene A"; src: url("../fonts/StyreneA-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #1f1f1f; --grey: #2b2b2b; --dark-grey: #393939; --silver: #bebebe; --milk: #f5f5f5; --white: #ffffff;

  --bg: var(--black); --bg-2: var(--grey); --line: var(--dark-grey);
  --ink: var(--milk); --ink-2: var(--silver); --ink-3: #8a8a8a; --hero-ink: #c4c4c4;
  --pill: rgba(255,255,255,.06); --pill-hover: rgba(255,255,255,.12);
  --accent: #c8f04b;

  --f-display: "Styrene A", "Inter", system-ui, sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: max(16px, 3.4vw);
  --radius: max(10px, .9vw);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: var(--milk); --bg-2: var(--white); --line: #e2e2e2;
    --ink: var(--black); --ink-2: #555555; --ink-3: #6b6b6b; --hero-ink: #2b2b2b;
    --pill: rgba(0,0,0,.05); --pill-hover: rgba(0,0,0,.1);
    --accent: #6c4dff;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: var(--milk); --bg-2: var(--white); --line: #e2e2e2;
  --ink: var(--black); --ink-2: #555555; --ink-3: #6b6b6b; --hero-ink: #2b2b2b;
  --pill: rgba(0,0,0,.05); --pill-hover: rgba(0,0,0,.1);
  --accent: #6c4dff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--f-text); -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.085em; line-height: .8; margin: 0; }
.h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 5.6vw, 120px); letter-spacing: -.07em; line-height: .88; margin: 0; }
.h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.8vw, 56px); letter-spacing: -.045em; line-height: .98; margin: 0; }
.lead { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3.1vw, 64px); letter-spacing: -.055em; line-height: 1.02; margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--ink-3); text-transform: uppercase; }
.muted { color: var(--ink-2); }
.body-l { font-size: clamp(17px, 1.25vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 36em; }

/* Line reveal ("curtain"): every line sits in a mask and slides up */
.line-mask { display: block; overflow: hidden; padding: .04em 0 .26em; margin: -.04em 0 -.26em; }
.line-mask.done { overflow: visible; }
.line-inner { display: block; will-change: transform; }

/* ---------- Pills, buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 999px; background: var(--pill); font-size: 14px; font-weight: 500;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); white-space: nowrap;
}
.pill:hover { background: var(--pill-hover); }
.pill svg { width: 16px; height: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 28px;
  border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 16px;
  transition: transform .5s var(--ease), background-color .3s;
}
.btn:hover { transform: scale(1.04); }
.btn .arrow { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: max(16px, 2vw) var(--gutter);
  transition: transform .6s var(--ease);
}
.header.hidden { transform: translateY(-110%); }
.brand { justify-self: start; display: inline-flex; align-items: center; height: 40px; color: var(--ink); }
.brand svg { height: clamp(30px, 2.6vw, 44px); width: auto; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-8deg); }
.nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--pill); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav a { position: relative; height: 32px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .3s, background-color .3s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.header-right { justify-self: end; display: flex; gap: 8px; align-items: center; }
.theme-toggle { width: 40px; padding: 0; justify-content: center; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .moon { display: block; }
}

/* Corner dock: client login (left) and message button (right) */
.dock { position: fixed; z-index: 49; bottom: max(16px, 2vw); }
.dock.left { left: var(--gutter); }
.dock.right { right: var(--gutter); }
.msg-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: transform .5s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.msg-btn:hover { transform: scale(1.08) rotate(-6deg); }
.msg-btn svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg); transition: background-color .5s var(--ease); position: relative; height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-title { position: relative; z-index: 1; text-align: center; font-size: 8.4vw; color: var(--hero-ink); width: 92vw; }
.hero-video {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 84vw; aspect-ratio: 16/9;
  margin: calc(-84vw * 9 / 32) 0 0 -42vw; pointer-events: none; mix-blend-mode: lighten; filter: brightness(.88) contrast(1.15);
}
.hero-video video, .hero-video canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video.is-liquid video { opacity: 0; visibility: hidden; }
.hero-video { -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
:root[data-theme="light"] .hero-video:not(.is-liquid) { mix-blend-mode: darken; filter: invert(1) hue-rotate(180deg) brightness(1.12) saturate(1.4); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-video:not(.is-liquid) { mix-blend-mode: darken; filter: invert(1) hue-rotate(180deg) brightness(1.12) saturate(1.4); }
}
.hero-center { position: relative; z-index: 1; }
.hero-sub { position: absolute; left: 50%; top: 100%; width: min(92vw, 34em); transform: translateX(-50%); margin-top: var(--sub-gap, .2vw); display: flex; justify-content: center; text-align: center; }
.hero-sub p { margin: 0; font-size: clamp(15px, 1.1vw, 19px); line-height: 1.28; color: var(--ink-2); max-width: 34em; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 11vw, 220px) var(--gutter); position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 4.5vw, 88px); }
.count { font-family: var(--f-display); font-size: clamp(14px, 1vw, 18px); color: var(--ink-3); vertical-align: top; margin-left: .3em; letter-spacing: 0; }

.intro { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 3vw, 56px); }
.intro .lead { max-width: 17em; }
.intro-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; max-width: 1200px; }
.intro-meta div b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 48px); letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; color: var(--ink); }
.intro-meta div span { font-size: 14px; color: var(--ink-3); }

/* Marquee strip */
.marquee { position: relative; padding: clamp(20px, 3vw, 60px) 0; overflow: hidden; }
.marquee-band { rotate: -2.2deg; width: 110vw; margin-left: -5vw; background: var(--bg-2); padding: clamp(14px, 1.4vw, 26px) 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee-track span { font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 44px); letter-spacing: -.05em; padding: 0 1.1em; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 1.1em; }
.marquee-track span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--ink-3); }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 4vw, 80px) var(--gutter); }
.work-card { display: block; }
.work-card:nth-child(even) { margin-top: clamp(0px, 9vw, 180px); }
.work-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: 7 / 5; will-change: transform; transform-origin: 50% 100%; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: filter .6s var(--ease); will-change: transform; }
.work-card:hover .work-media img { filter: brightness(1.04); }
.work-info { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-top: 18px; }
.work-info h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 1.75vw, 34px); letter-spacing: -.045em; line-height: 1.05; margin: 0 0 6px; }
.work-info p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 30em; }
.tags { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: end; }
.tag { height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; background: var(--pill); color: var(--ink-2); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; margin-right: 6px; }
.center { display: flex; justify-content: center; margin-top: clamp(56px, 5vw, 96px); }

/* Works page list */
.page-hero { padding: clamp(150px, 15vw, 280px) var(--gutter) clamp(40px, 4vw, 80px); }
.page-hero .display { font-size: clamp(64px, 13vw, 260px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 56px); }
.filters button { height: 40px; padding: 0 18px; border-radius: 999px; background: var(--pill); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.work-list { display: grid; gap: clamp(72px, 8vw, 160px); padding: 0 var(--gutter) clamp(96px, 10vw, 200px); }
.work-row { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(20px, 3vw, 64px); align-items: end; }
.work-row:nth-child(even) { grid-template-columns: 4fr 7fr; }
.work-row:nth-child(even) .work-media { order: 2; }
.work-row .work-info { padding: 0; display: block; }
.work-row .work-info h3 { font-size: clamp(28px, 3vw, 60px); margin-bottom: 14px; }
.work-row .work-info p { font-size: 16px; margin-bottom: 20px; }
.work-row .tags { justify-content: start; margin-bottom: 20px; }
.work-row.is-hidden { display: none; }
.link-u { position: relative; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.link-u .arrow { width: 12px; height: 12px; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(1); transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(0); }

/* ---------- Testimonials ---------- */
.quotes { text-align: center; }
.quote-stage { position: relative; display: grid; max-width: 1180px; margin: 0 auto; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.quote.active { opacity: 1; visibility: visible; }
.quote blockquote { margin: 0 0 32px; font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 64px); letter-spacing: -.055em; line-height: 1.02; }
.quote figcaption { font-size: 15px; color: var(--ink-2); }
.quote figcaption b { color: var(--ink); font-weight: 500; }
.quote-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 48px; }
.quote-nav button { width: 48px; height: 48px; border-radius: 50%; background: var(--pill); display: grid; place-items: center; transition: background-color .3s, transform .4s var(--ease); }
.quote-nav button:hover { background: var(--pill-hover); transform: scale(1.06); }
.quote-nav svg { width: 16px; height: 16px; }
.quote-dots { display: flex; gap: 6px; }
.quote-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: .4; transition: opacity .3s, width .4s var(--ease); }
.quote-dots i.on { opacity: 1; width: 22px; border-radius: 4px; background: var(--ink); }
.quote-mark { width: clamp(44px, 4vw, 72px); margin: 0 auto 36px; color: var(--ink-3); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { position: relative; padding: clamp(32px, 3.4vw, 64px) clamp(0px, 2vw, 40px) clamp(32px, 3.4vw, 64px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: clamp(20px, 2.6vw, 52px); }
.service .num { font-size: 13px; color: var(--ink-3); margin-bottom: clamp(32px, 4vw, 80px); display: block; }
.service h3 { margin-bottom: 16px; }
.service p { margin: 0; color: var(--ink-2); max-width: 30em; font-size: 16px; }
.service ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--pill); color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { text-align: center; padding-block: clamp(120px, 13vw, 260px); }
.cta .eyebrow { display: block; margin-bottom: 24px; }
.cta-mail { display: inline-block; font-family: var(--f-display); font-size: clamp(36px, 6.4vw, 136px); letter-spacing: -.075em; line-height: 1; position: relative; }
.cta-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: max(2px, .05em); background: currentColor; transform: scaleX(.0); transform-origin: left; transition: transform .9s var(--ease); }
.cta-mail:hover::after { transform: scaleX(1); }
.cta-actions { display: flex; gap: 10px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: clamp(48px, 4vw, 80px) var(--gutter) clamp(96px, 8vw, 120px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; font-size: 15px; }
.footer .logo-full { width: 150px; color: var(--ink); margin-bottom: 24px; }
.footer .foot-h { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); transition: color .3s; }
.footer a:hover { color: var(--ink); }
.footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 13px; padding-top: 32px; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-hero .display { font-size: clamp(48px, 9vw, 190px); }
.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 120px); align-items: start; }
.founder .body-l + .body-l { margin-top: 1em; }
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cap-grid div { padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 30px); letter-spacing: -.035em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 32px); counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--bg-2); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.step span { font-size: 13px; color: var(--ink-3); }
.step h3 { margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding: clamp(24px, 2.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.value p { margin: 0; color: var(--ink-2); max-width: 34em; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 140px); padding: 0 var(--gutter) clamp(96px, 10vw, 200px); }
.form { display: grid; gap: clamp(36px, 3.4vw, 60px); }
.field-label { display: block; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 30px); letter-spacing: -.035em; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; user-select: none; }
.chip span:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.input { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; transition: border-color .3s; }
.input:focus-within { border-color: var(--ink); }
.input span { display: block; font-size: 13px; color: var(--ink-3); }
.input input, .input textarea { width: 100%; background: none; border: 0; outline: 0; color: var(--ink); font: 400 clamp(18px, 1.3vw, 22px)/1.4 var(--f-text); padding: 6px 0 2px; resize: vertical; }
.input input::placeholder, .input textarea::placeholder { color: var(--ink-3); opacity: .6; }
.input.full { grid-column: 1 / -1; }
.contact-side { display: grid; gap: 40px; align-content: start; }
.contact-side a.big { font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 34px); letter-spacing: -.035em; }
.form-note { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }

/* Login stub */
.stub { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.stub .display { font-size: clamp(48px, 8vw, 160px); margin-bottom: 24px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; z-index: 100; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none; opacity: 0; mix-blend-mode: difference; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s; display: grid; place-items: center; }
.cursor i { position: absolute; inset: 0; border-radius: 50%; background: #fff; transition: border-radius .4s var(--ease); }
.cursor.on { opacity: 1; }
.cursor.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.view { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; }
.cursor.view i { background: var(--ink); }
.cursor b { position: relative; font-size: 13px; font-weight: 500; color: var(--bg); opacity: 0; transition: opacity .3s; }
.cursor.view b { opacity: 1; }
.cursor.text { width: 3px; height: 30px; margin: -15px 0 0 -1px; }
.cursor.text i { border-radius: 2px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header { grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav { justify-self: center; }
  .nav a { padding: 0 11px; font-size: 13px; }
  .wa-label { display: none; }
  .wa-pill { width: 40px; padding: 0; justify-content: center; }
  .hero-title { font-size: 10.4vw; }
  .hero-video { width: 130vw; margin: calc(-130vw * 9 / 32) 0 0 -65vw; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { margin-top: 0; }
  .work-row, .work-row:nth-child(even) { grid-template-columns: 1fr; }
  .work-row:nth-child(even) .work-media { order: 0; }
  .services { grid-template-columns: 1fr; }
  .service:nth-child(odd) { border-right: 0; }
  .service:nth-child(even) { padding-left: 0; }
  .intro-meta { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; gap: 40px; }
  .value { grid-template-columns: 1fr; gap: 10px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .inputs { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
}
.dock.left { display: flex; gap: 8px; }
.menu-btn, .menu { display: none; }
@media (max-width: 760px) {
  .header { grid-template-columns: 1fr auto; }
  .header .nav, .header-right { display: none; }
  .menu-btn { display: inline-flex; position: fixed; z-index: 60; top: max(16px, 2vw); right: var(--gutter); gap: 10px; }
  .menu-btn i { position: relative; width: 14px; height: 8px; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
  .menu-btn i::before { top: 0; } .menu-btn i::after { top: 6.5px; }
  .menu-btn[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }
  .menu { display: flex; position: fixed; inset: 0; z-index: 55; background: var(--bg); flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 32px; }
  .menu[hidden] { display: none; }
  .menu-links { display: grid; gap: 4px; }
  .menu-links a { font-family: var(--f-display); font-size: 13vw; line-height: .92; letter-spacing: -.08em; text-transform: uppercase; color: var(--ink); }
  .menu-foot { display: flex; flex-wrap: wrap; gap: 8px; }
  .menu-foot .theme-toggle { display: inline-flex; }
  .dock.left { display: none; }
  .brand svg { height: 30px; }
  .page-hero.about-hero .display { font-size: 9.2vw; }
  .page-hero .display { font-size: 13vw; }
  .article-head .display { font-size: 11vw; }
  .work-info { flex-direction: column; gap: 10px; }
  .work-info .tags { justify-content: start; order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .work-media img { transform: none; }
}

/* ---------- Motion layer ---------- */
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--bg); pointer-events: none; visibility: hidden; }
.js .curtain { visibility: visible; }
.js.first .curtain { visibility: hidden; }
.js.first .intro { visibility: visible; }
.js.first .intro-word span { opacity: 0; }
.intro { position: fixed; inset: 0; z-index: 95; background: var(--bg); display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.intro-word { display: flex; overflow: hidden; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 4.2vw, 72px); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); padding-left: .32em; }
.intro-word span { display: inline-block; }
.sw { transition: none; }
.header.scrolled .nav, .header.scrolled .pill { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.service, .value, .cap-grid > div { --line: 1; }
.service::before, .value::before, .cap-grid > div::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); opacity: .5; transform: scaleX(var(--line)); transform-origin: left; }
.value, .cap-grid > div { position: relative; }

/* Smart form states */
.input { position: relative; }
.input-msg { display: block; min-height: 18px; font-size: 13px; color: var(--ink-3); padding-top: 6px; }
.input.bad { border-color: #e5484d; }
.input.bad .input-msg { color: #e5484d; }
.input.ok::after { content: ""; position: absolute; right: 2px; top: 34px; width: 14px; height: 8px; border-left: 2px solid #3ddc84; border-bottom: 2px solid #3ddc84; transform: rotate(-45deg); }
.input-msg .suggest { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-size: 13px; }
.form-note.bad { color: #e5484d; }
.form-note.ok { color: #3ddc84; }
.count { position: absolute; right: 0; bottom: 8px; font-size: 12px; color: var(--ink-3); }
.input textarea { overflow: hidden; min-height: 96px; resize: none; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 3vw, 64px) clamp(16px, 1.6vw, 32px); padding: 0 var(--gutter) clamp(96px, 10vw, 200px); }
.post-card { display: block; }
.post-card .work-media { aspect-ratio: 4 / 3; }
.post-card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(21px, 1.6vw, 30px); letter-spacing: -.04em; line-height: 1.05; margin: 16px 0 8px; }
.post-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.post-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.post-cover { position: relative; display: grid; place-items: center; width: 100%; height: 100%; background: var(--bg-2); overflow: hidden; }
.post-cover b { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 90px); letter-spacing: -.075em; color: var(--ink-3); opacity: .5; text-transform: uppercase; }
.article { padding: 0 var(--gutter); }
.article-head { max-width: 1100px; margin: 0 auto; padding: clamp(150px, 14vw, 260px) 0 clamp(40px, 4vw, 72px); }
.article-head .display { font-size: clamp(44px, 6.4vw, 124px); }
.article-head .post-meta { margin-top: 32px; }
.prose { max-width: 720px; margin: 0 auto; padding-bottom: clamp(80px, 8vw, 160px); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.2vw, 40px); letter-spacing: -.045em; line-height: 1.04; color: var(--ink); margin: 2.2em 0 .6em; }
.prose h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.5vw, 26px); color: var(--ink); margin: 1.8em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--ink); font-family: var(--f-display); font-size: 1.3em; line-height: 1.3; color: var(--ink); }
.prose code { font-size: .9em; background: var(--pill); padding: 2px 6px; border-radius: 6px; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose .lede { font-size: 1.25em; color: var(--ink); line-height: 1.45; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1200px) { .post-grid { grid-template-columns: 1fr 1fr; } }

.hero-video.is-liquid { mix-blend-mode: lighten; filter: none; }
:root[data-theme="light"] .hero-video.is-liquid { mix-blend-mode: normal; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hero-video.is-liquid { mix-blend-mode: normal; } }

/* Section head with subtitle under the title */
.section-head.stack { flex-direction: column; align-items: flex-start; gap: 0; }
.section-head.stack > p, .page-hero .sub { margin: var(--subhead-gap, 0) 0 0; }

/* About: capability groups */
.cap-list { border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; padding: clamp(22px, 2.2vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cap-row h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 42px); letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.cap-row p { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 30px); letter-spacing: -.035em; line-height: 1.3; color: var(--ink-3); }
.cap-row p span:not(:last-child)::after { content: ", "; }
@media (max-width: 760px) { .cap-row { grid-template-columns: 1fr; gap: 10px; } }

/* Founder photo with the liquid effect */
.founder-photo { position: relative; width: clamp(180px, 22vw, 380px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 28px; isolation: isolate; }
.founder-photo img, .founder-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-photo.is-liquid img { visibility: hidden; }
@media (max-width: 760px) { .founder-photo { width: 56vw; } }

/* Nothing of the animated headings shows before their reveal starts */
.js [data-lines] { visibility: hidden; }
[data-lines], .hero-script, .hero-sub { cursor: default; -webkit-user-select: none; user-select: none; }
.js .hero-sub p { opacity: 0; }

/* Decorative script behind the hero title (aria-hidden). */
.hero-script { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; --script-shift: 2.6svh; }
.hero-script-text { text-align: center; font-family: "Great Vibes", cursive; font-size: 9vw; line-height: 1; text-transform: uppercase; color: var(--script); width: 94vw; transform: translateY(var(--script-shift, 0)); }
.hero-script .w { display: inline-block; white-space: nowrap; }
.hero-script .c { display: inline-block; transform-origin: 50% 55%; }
.js .hero-script .c { opacity: 0; }
:root { --script: #2c2c2c; }
:root[data-theme="light"] { --script: #e6e6e6; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --script: #e6e6e6; } }
@media (max-width: 760px) { .hero-script-text { font-size: 13vw; } }
@media (prefers-reduced-motion: reduce) { .js .hero-script .c { opacity: 1; } }

/* Cookie consent: one pill, same height and baseline as the Client login pill */
.consent { position: fixed; z-index: 60; left: 50%; bottom: max(16px, 2vw); transform: translateX(-50%); height: 40px; max-width: calc(100vw - 2 * var(--gutter) - 2 * 150px); display: flex; align-items: center; gap: 14px; padding: 0 4px 0 18px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: 13px; line-height: 1; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.consent[hidden] { display: none; }
.consent p { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.consent div { display: flex; gap: 4px; flex: none; }
.consent .pill { height: 32px; padding: 0 14px; font-size: 13px; }
.consent .pill.solid { background: var(--ink); color: var(--bg); }
@media (max-width: 760px) { .consent { height: auto; max-width: none; width: calc(100vw - 32px); white-space: normal; line-height: 1.35; border-radius: 20px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; bottom: 76px; } .consent div > * { flex: 1; justify-content: center; } }

/* Service pages */
.service-lead { max-width: 21em; margin-top: clamp(24px, 2.4vw, 40px); color: var(--ink-2, var(--ink)); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 1.8vw, 32px) 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: clamp(18px, 1.5vw, 26px); font-weight: 500; letter-spacing: -.01em; }
.faq-item summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item p { margin: 0 0 clamp(20px, 1.8vw, 32px); max-width: 46em; color: var(--ink-3); }
.service-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(32px, 3vw, 56px); }
.service-more .eyebrow { margin-right: 8px; }
.service-hero .display { font-size: clamp(44px, 8.4vw, 170px); }
.post-title { font-size: clamp(40px, 9vw, 200px); overflow-wrap: anywhere; }

/* Case studies */
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--gutter); margin: clamp(40px, 4vw, 72px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.case-facts dt { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.case-facts dd { margin: 0; font-size: 15px; line-height: 1.4; }
.case-links { margin-top: 28px; display: flex; gap: 24px; }
.case-slices { max-width: 2000px; margin: 0 auto; }
.case-slices img { display: block; width: 100%; height: auto; }
.case-end { text-align: center; }
.case-end .cta-actions { justify-content: center; margin-top: 32px; }
@media (max-width: 760px) { .case-facts { grid-template-columns: 1fr 1fr; } }

/* Phones: bigger title on five lines, bigger logo, centred quotes, tighter CTA */
@media (max-width: 760px) {
  .hero-title { font-size: 14.2vw; }
  .hero-video { width: 360vw; margin: calc(-360vw * 9 / 32) 0 0 -180vw; }
  .quote-stage { align-items: center; }
  .quote { align-self: center; }
  .cta { padding-block: 72px 96px; }
}
