/* Syne, self-hosted under the SIL Open Font License (fonts/OFL.txt). No third-party font host is contacted. */
@font-face {
  font-family: "Syne";
  src: url("/fonts/syne.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5d5d5a;
  --line: #e3e3df;
  --mint: #d7eedd;
  --mint-soft: #eef7f0;
  --pink: #f8cbe3;
  --pink-soft: #fcedf5;
  --yellow: #f2b53c;
  --yellow-soft: #fdf3dc;
  --ink: #111111;
  --ink-on: #ffffff;
  --radius: 28px;
  --max: 1200px;
  --prose: 760px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: "Syne", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1110;
    --text: #f0f0ec;
    --muted: #a5a7a1;
    --line: #2a2d2b;
    --mint: #234a33;
    --mint-soft: #16241c;
    --pink: #5a2a44;
    --pink-soft: #26161f;
    --yellow: #e6a93a;
    --yellow-soft: #2a2414;
    --ink: #f0f0ec;
    --ink-on: #111111;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 3px; }
svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, .brand, .display { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 8vw, 104px); line-height: 1.02; margin: 0 0 20px; }
h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.08; margin: 0 0 16px; }
h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; margin: 0 0 10px; }
p, ul, ol { margin: 0 0 14px; }
li { margin: 4px 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 620px; }
.meta { color: var(--muted); font-size: 15px; }
.label { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin: 0 0 18px; }

/* ── Elementum-style word marks: soft pills behind a word, a yellow hand-drawn stroke under one ── */
.hl-mint, .hl-pink {
  border-radius: 999px; padding: 0 0.2em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl-mint { background: var(--mint); }
.hl-pink { background: var(--pink); }
.scribble {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C30 2 62 2 98 6 M10 12 C40 7 70 8 94 10' fill='none' stroke='%23f2b53c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 0.32em;
  padding-bottom: 0.06em;
}

/* ── Header ── */
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px; padding-bottom: 22px;
}
.brand { font-size: 22px; font-weight: 600; text-decoration: none; }
header.site nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 15px; }
header.site nav a { text-decoration: none; color: var(--muted); }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }
header.site nav a.pill { color: var(--ink-on); }

/* ── Buttons and pills ── */
.pill, .button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: var(--ink); color: var(--ink-on); text-decoration: none; white-space: nowrap;
}
.button { padding: 14px 26px; font-size: 16px; }
.button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.pill svg, .button svg { width: 18px; height: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li {
  margin: 0; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid currentColor; font-size: 15px;
}
.tags.big li { font-size: clamp(16px, 1.8vw, 20px); padding: 10px 22px; }
.tags.small li { font-size: 13px; padding: 5px 14px; border-color: var(--line); color: var(--muted); }

.round {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: var(--ink-on); text-decoration: none;
}
.round svg { width: 26px; height: 26px; }
.round.yellow { background: var(--yellow); color: #111111; }

/* ── Hero: big staggered headline, a short note to the side ── */
.hero { padding-top: clamp(32px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(200px, 260px); gap: 32px; align-items: end; }
.hero h1 > span { display: block; }
.hero h1 .in-1 { padding-left: 0.9em; }
.hero h1 .in-2 { padding-left: 0.3em; }
.hero-note { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.hero-note p { margin-bottom: 18px; }

/* ── Banner: a wide soft panel of creature circles, with a round arrow riding its edge ── */
.banner {
  position: relative; margin-top: clamp(24px, 4vw, 48px);
  border-radius: var(--radius); background: var(--mint-soft);
  aspect-ratio: 16 / 7; min-height: 280px;
}
.banner .round { position: absolute; right: 8%; bottom: -32px; }
.bubble {
  position: absolute; display: grid; place-items: center;
  border-radius: 50%; background: var(--mint);
}
.bubble svg { width: 58%; height: 58%; }
.bubble.pink { background: var(--pink); }
.bubble.yellow { background: var(--yellow); color: #111111; }
.bubble.plain { background: var(--bg); }
.banner .tag {
  position: absolute; padding: 8px 18px; border-radius: 999px;
  background: var(--bg); font-size: 15px; font-weight: 600;
}

/* ── Intro: a small label over a large paragraph ── */
.intro { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(56px, 8vw, 96px); }
.intro p.big { font-size: clamp(22px, 3vw, 34px); line-height: 1.35; max-width: 980px; margin: 0; }

/* ── Band: a full-width tinted section of pills ── */
.band { background: var(--mint); padding: clamp(56px, 8vw, 96px) 0; }
.band + .band { padding-top: 0; }
.band .label { margin-top: 0; }
.band h2 { margin-bottom: 28px; }
.band .group + .group { margin-top: 40px; }

/* ── Work: alternating media and text rows ── */
.work { padding: clamp(72px, 10vw, 128px) 0 0; }
.work > .wrap > header { margin-bottom: clamp(32px, 5vw, 64px); }
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px);
  align-items: center; margin-bottom: clamp(64px, 9vw, 112px);
}
.row:nth-of-type(even) .media { order: 2; }
.media {
  position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%;
  border-radius: var(--radius); background: var(--mint-soft);
  display: grid; place-items: center;
}
.media.pink { background: var(--pink-soft); }
.media.yellow { background: var(--yellow-soft); }
.media .bubble { position: static; width: 62%; aspect-ratio: 1; }
.media .round { position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); }
.row .copy p { color: var(--muted); max-width: 440px; }
.row .copy .tags { margin-top: 20px; }

.more {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px;
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.more::after { content: ""; width: 72px; height: 1px; background: currentColor; }

/* ── Split heading: two half-headlines around a round badge ── */
.split { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.split .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.split h2 { margin: 0; }
.split h2:last-child { text-align: right; }
.badge {
  display: grid; place-items: center; width: clamp(96px, 12vw, 132px); aspect-ratio: 1;
  border-radius: 50%; background: var(--yellow); color: #111111;
  font-family: var(--display); font-weight: 600; font-size: 17px; text-decoration: none; text-align: center;
}

/* ── List rows: small label, large line, arrow ── */
.list { border-top: 1px solid var(--line); margin: 0 0 clamp(64px, 9vw, 112px); padding: 0; list-style: none; }
.list li { margin: 0; border-bottom: 1px solid var(--line); }
.list .item {
  display: grid; grid-template-columns: minmax(120px, 220px) 1fr 40px; gap: 24px; align-items: center;
  padding: 26px 0; text-decoration: none;
}
.list .item small { font-size: 14px; color: var(--muted); }
.list .item span {
  font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -0.01em;
}
.list .item svg { width: 32px; height: 32px; justify-self: end; transition: transform 0.2s; }
.list a.item:hover svg { transform: translateX(6px); }

/* ── Quote box ── */
.quote {
  position: relative; max-width: 820px; margin: 0 auto clamp(64px, 9vw, 112px);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 64px);
  border-radius: var(--radius); background: var(--mint-soft);
  font-size: clamp(17px, 1.8vw, 20px); text-align: center;
}
.quote::before, .quote::after {
  position: absolute; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--mint);
}
.quote::before { content: "\201C"; left: 18px; top: 6px; }
.quote::after { content: "\201D"; right: 18px; bottom: -22px; }
.quote p:last-child { margin-bottom: 0; }

/* ── Callout card ── */
.callout {
  max-width: 980px; margin: 0 auto clamp(72px, 10vw, 128px);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius); background: var(--pink-soft); text-align: center;
}
.callout h2 { font-size: clamp(28px, 4vw, 44px); }
.callout p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.callout p:last-child { margin-bottom: 0; }

.note {
  max-width: 820px; margin: 0 auto clamp(72px, 10vw, 112px);
  border-left: 3px solid var(--yellow); padding: 4px 0 4px 18px; color: var(--muted);
}

/* ── Prose pages: privacy, terms, help ── */
main.prose { max-width: calc(var(--prose) + 2 * var(--gutter)); padding-top: clamp(32px, 6vw, 72px); padding-bottom: 96px; }
main.prose h1 { font-size: clamp(40px, 7vw, 72px); }
main.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 56px 0 14px; }
main.prose h3 { font-size: 20px; margin: 30px 0 8px; }
main.prose a { color: var(--text); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
main.prose .levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; padding: 0; list-style: none; }
main.prose .levels li { margin: 0; padding: 4px 14px; border-radius: 999px; background: var(--mint); font-size: 15px; }
main.prose details { border-bottom: 1px solid var(--line); padding: 16px 0; }
main.prose details summary { cursor: pointer; font-weight: 600; }
main.prose details p { margin: 10px 0 0; }
main.prose .note { margin: 28px 0; max-width: none; }

/* ── Footer: the soft mint band, a big line, then the link columns ── */
footer.site { background: var(--mint); padding: clamp(72px, 10vw, 128px) 0 32px; }
footer.site .say { text-align: center; }
footer.site .say h2 { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; margin-bottom: 14px; }
footer.site .say p { color: var(--muted); margin-bottom: 28px; }
footer.site .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid currentColor;
}
footer.site .cols h3 { font-size: 17px; margin: 0 0 14px; }
footer.site .cols ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
footer.site .cols a { text-decoration: none; color: var(--muted); }
footer.site .cols a:hover { color: var(--text); }
footer.site .copy { margin: 56px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ── Narrow screens ── */
@media (max-width: 760px) {
  header.site nav a:not(.pill) { display: none; }
  header.site nav.keep a { display: inline; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero h1 .in-1 { padding-left: 0.5em; }
  .hero h1 .in-2 { padding-left: 0.2em; }
  .banner { aspect-ratio: 1 / 1; }
  .row { grid-template-columns: 1fr; }
  .row:nth-of-type(even) .media { order: 0; }
  .media { max-width: none; }
  .split .wrap { grid-template-columns: 1fr; justify-items: start; }
  .split h2:last-child { text-align: left; }
  .list .item { grid-template-columns: 1fr 32px; gap: 6px 16px; }
  .list .item small { grid-column: 1 / -1; }
}


/* ══ Studio home page (body.studio) ══════════════════════════════════════════════════════════════
   Used only by the landing page; the bimsy pages keep the styles above. */
.studio {
  --s-bg: var(--bg); --s-text: var(--text); --s-muted: var(--muted); --s-line: var(--line); --s-tint: var(--mint);
  background: var(--s-bg); color: var(--s-text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.studio h1, .studio h2, .studio h3, .s-brand, .s-product-title { font-family: var(--display); letter-spacing: -0.03em; }
.s-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.s-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 18px; }
.studio h2 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; font-weight: 600; margin: 0 0 clamp(36px, 5vw, 64px); }

/* Header */
.s-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--s-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--s-line); }
.s-header .s-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.s-brand { font-size: 21px; font-weight: 700; text-decoration: none; color: var(--s-text); }
.s-header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); font-size: 15px; }
.s-header nav a { color: var(--s-muted); text-decoration: none; }
.s-header nav a:hover { color: var(--s-text); }
.s-header nav a.s-pill { color: var(--s-bg); background: var(--s-text); padding: 9px 18px; border-radius: 999px; font-weight: 600; }

/* Buttons */
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.s-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--s-text); color: var(--s-bg); font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s; }
.s-btn:hover { transform: translateY(-2px); }
.s-btn svg { width: 18px; height: 18px; }
.s-btn-gold { background: var(--yellow); color: #111111; }
.s-btn-light { background: var(--ink); color: var(--ink-on); }
.s-link { font-weight: 600; font-size: 16px; color: var(--s-text); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.s-link-light { color: var(--s-text); }

/* Hero */
.s-hero { padding: clamp(48px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.s-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.s-hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.98; font-weight: 600; margin: 0; }
.s-soft { color: var(--s-muted); }
.s-lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--s-muted); max-width: 520px; margin: 28px 0 0; }
.s-collage { position: relative; height: clamp(420px, 46vw, 620px); }
.s-tile { position: absolute; width: 34%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; border-radius: 22px; box-shadow: 0 24px 50px -24px rgba(17, 17, 17, .35); }
.s-tile.t1 { left: 0; top: 6%; transform: rotate(-6deg); }
.s-tile.t2 { left: 6%; bottom: 2%; transform: rotate(4deg); width: 30%; }
.s-tile.t3 { right: 0; top: 2%; transform: rotate(5deg); }
.s-tile.t4 { right: 5%; bottom: 0; transform: rotate(-4deg); width: 30%; }
.s-phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%; z-index: 2; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #4a3c5e, #1e1729 40%, #2e2440); box-shadow: 0 50px 90px -30px rgba(20, 15, 28, .7); }
.s-phone img { display: block; width: 100%; height: auto; border-radius: 38px; }

/* Sections */
.s-section { padding: clamp(72px, 10vw, 140px) 0; }
.s-tint { background: var(--s-tint); }

/* Product feature */
.s-product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius); color: var(--s-text); background: var(--pink-soft); overflow: hidden; }
.s-app { display: flex; align-items: center; gap: 16px; }
.s-app img { width: 64px; height: 64px; border-radius: 15px; }
.s-app h3 { font-size: 28px; margin: 0; font-weight: 600; }
.s-app p { margin: 0; font-size: 14px; color: var(--s-muted); }
.s-product-title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; font-weight: 600; margin: 34px 0 0; }
.s-product-title span { background: var(--pink); border-radius: 999px; padding: 0 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.s-product-text { color: var(--s-muted); max-width: 480px; margin: 22px 0 0; }
.s-product-visual { position: relative; display: block; height: clamp(380px, 40vw, 560px); }
.s-product-visual .v-main { position: absolute; right: 0; top: 0; width: 68%; height: 100%; object-fit: cover; border-radius: 26px; }
.s-product-visual .v-side { position: absolute; left: 0; top: 12%; width: 38%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; border-radius: 20px; box-shadow: 0 24px 50px -20px rgba(17, 17, 17, .45); }
.s-product-visual .v-selfie { position: absolute; left: 10%; bottom: 4%; width: 26%; border-radius: 16px; overflow: hidden; border: 3px solid var(--yellow); box-shadow: 0 20px 40px -16px rgba(17, 17, 17, .5); }
.s-product-visual .v-selfie img { display: block; width: 100%; height: auto; }
.s-product-visual .v-selfie small { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: var(--bg); color: var(--text); font-size: 11px; font-weight: 600; }

/* What we do */
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.s-card { padding: 30px 28px 34px; border-radius: var(--radius); background: var(--s-bg); }
.s-num { display: inline-block; font-family: var(--display); font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: #111111; }
.s-card h3 { font-size: 24px; font-weight: 600; margin: 40px 0 10px; }
.s-card p { color: var(--s-muted); font-size: 16px; margin: 0; }

/* Approach */
.s-approach { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.s-principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--s-line); }
.s-principles li { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--s-line); color: var(--s-muted); font-size: 18px; }
.s-principles strong { display: block; color: var(--s-text); font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 4px; }

/* Contact */
.s-contact { margin: 0 auto clamp(72px, 10vw, 140px); padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); border-radius: var(--radius); text-align: center; color: var(--s-text); background: var(--mint-soft); }
.s-contact h2 { margin-bottom: 14px; font-size: clamp(30px, 4.4vw, 54px); }
.s-contact p { color: var(--s-muted); margin: 0 0 30px; }

/* Footer */
.s-footer { background: var(--mint); padding: 64px 0 32px; }
.s-footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.s-footer p { color: var(--s-muted); font-size: 15px; margin: 8px 0 0; }
.s-footer h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.s-footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.s-footer li { margin: 6px 0; }
.s-footer a:not(.s-brand) { color: var(--s-muted); text-decoration: none; }
.s-footer a:hover { color: var(--s-text); }
.s-copy { margin-top: 48px !important; font-size: 14px; }

@media (max-width: 900px) {
  .s-hero-grid, .s-product, .s-approach { grid-template-columns: 1fr; }
  .s-grid { grid-template-columns: repeat(2, 1fr); }
  .s-footer-top { grid-template-columns: 1fr 1fr; }
  .s-collage { height: 112vw; max-height: 560px; }
}
@media (max-width: 560px) {
  .s-header nav a:not(.s-pill) { display: none; }
  .s-grid { grid-template-columns: 1fr; }
  .s-product-visual { height: 120vw; }
}
@media (prefers-reduced-motion: reduce) { .s-btn { transition: none; } }
