:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --hair: rgba(29, 29, 31, 0.14);
  --card: #ffffff;
  --btn-bg: #1d1d1f;
  --btn-ink: #ffffff;
  --focus: #4271dc;
  --g-branding: linear-gradient(45deg, #8457bb 4%, #a477c3 38%, #d8c9e3 96%);
  --g-development: linear-gradient(45deg, #0d309c 4%, #4271dc 38%, #b7d9ea 96%);
  --g-marketing: linear-gradient(45deg, #3e935c 4%, #5fbf8a 38%, #bfe3cf 96%);
}
[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #1d1d1f;
  --ink: #f5f5f7;
  --ink-soft: #86868b;
  --hair: rgba(245, 245, 247, 0.18);
  --card: #1d1d1f;
  --btn-bg: #f5f5f7;
  --btn-ink: #1d1d1f;
  --g-branding: linear-gradient(45deg, #d8c9e3 8%, #a477c3 40%, #8457bb 70%, #3b2378 96%);
  --g-development: linear-gradient(45deg, #b7d9ea 8%, #4271dc 40%, #0d309c 70%, #0b2472 96%);
  --g-marketing: linear-gradient(45deg, #bfe3cf 8%, #5fbf8a 40%, #3e935c 70%, #1f5a3a 96%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 6.25%; }
@media (min-width: 1440px) { .shell { padding: 0 90px; } }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, .gallery:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; height: 52px; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--hair); }
.site-header .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-mark { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.site-nav { display: none; }
@media (min-width: 835px) { .site-nav { display: block; } .site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; } .site-nav a { text-decoration: none; color: var(--ink-soft); } .site-nav a:hover { color: var(--ink); } }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--ink); cursor: pointer; font-size: 15px; line-height: 1; }

/* buttons */
.btn-door { display: inline-flex; align-items: center; white-space: nowrap; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bg); }
.btn-door.compact { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-door.quiet { background: transparent; color: var(--ink); border-color: var(--hair); }

/* hero */
.hero { text-align: center; padding: clamp(64px, 12vw, 144px) 0 clamp(40px, 6vw, 72px); }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.hero h1 { margin: 0 auto; max-width: none; white-space: nowrap; font-weight: 700; font-size: clamp(28px, 7vw, 92px); line-height: 1.05; letter-spacing: -0.035em; }
.hero-lede { margin: 28px auto 0; max-width: 38ch; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.35; color: var(--ink-soft); }
.hero .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* local nav */
.local-nav { position: sticky; top: 52px; z-index: 15; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair); }
.local-nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a { display: block; white-space: nowrap; padding: 6px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--ink-soft); }
.local-nav a:hover { color: var(--ink); background: var(--bg-alt); }
@media (max-width: 640px) { .local-nav ul { justify-content: flex-start; } }

/* sections */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head h2, .panel h2 { margin: 0 0 20px; font-weight: 700; font-size: clamp(30px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
.lede { margin: 0; max-width: 46ch; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--ink-soft); }
.lede + .lede { margin-top: 16px; }

/* gallery of case study cards */
.gallery { margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-left: max(6.25%, calc((100vw - 1260px) / 2 + 6.25%)); scroll-padding-left: max(6.25%, calc((100vw - 1260px) / 2 + 6.25%)); }
.gallery::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0 6.25% 0 0; width: max-content; }
.hl-card { scroll-snap-align: start; width: 76vw; max-width: 420px; }
@media (min-width: 640px) { .hl-card { width: 380px; } }
@media (min-width: 1024px) { .hl-card { width: 440px; max-width: 440px; } }
.hl-card a { display: block; text-decoration: none; border-radius: 28px; overflow: clip; background: var(--card); border: 1px solid var(--hair); height: 100%; }
.hl-card .shot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-alt); }
@media (min-width: 640px) { .hl-card .shot { aspect-ratio: 3 / 2; } }
@media (min-width: 1024px) { .hl-card .shot { aspect-ratio: 16 / 9; } }
.hl-card .cap { padding: 20px 24px 26px; }
.hl-card .tag { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.hl-card h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.hl-card.wip .shot { display: grid; place-items: center; background: var(--bg-alt); }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--hair); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pills i { width: 12px; height: 12px; border-radius: 50%; display: block; background: var(--ink-soft); }
.pills .b i { background: var(--g-branding); } .pills .d i { background: var(--g-development); } .pills .m i { background: var(--g-marketing); }
.pills .a i { background: conic-gradient(from 30deg, #a477c3, #4271dc, #5fbf8a, #a477c3); }

/* case study */
.study .grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .study .grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .study.flip .grid { grid-template-columns: 7fr 5fr; } .study.flip .copy { order: 2; } }
.study h2 { font-size: clamp(28px, 4vw, 44px); max-width: 18ch; }
.study .copy p { margin: 0 0 16px; font-size: 18px; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.study .copy h3 { margin: 28px 0 10px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); max-width: 46ch; }
.rows li { padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 17px; }
.figs { display: grid; gap: 16px; grid-template-columns: 1fr; }
.figs.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .figs.two { grid-template-columns: 1fr 1fr; } .figs .wide { grid-column: 1 / -1; } }
.figs img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--hair); background: var(--bg-alt); }
.note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }

/* services */
.cards { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 735px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.svc { border-radius: 28px; padding: 28px; background: var(--card); border: 1px solid var(--hair); display: flex; flex-direction: column; }
.svc .sw { height: 96px; border-radius: 18px; margin-bottom: 24px; }
.svc.b .sw { background: var(--g-branding); } .svc.d .sw { background: var(--g-development); } .svc.m .sw { background: var(--g-marketing); }
.svc.a .sw { display: grid; place-items: center; background: var(--bg-alt); }
.svc.a .sw i { display: block; width: 68px; height: 68px; border-radius: 50%; background: conic-gradient(from 30deg, #a477c3, #4271dc, #5fbf8a, #a477c3); animation: turn 14s linear infinite; }
@supports (background: conic-gradient(in oklch, red, blue)) { .svc.a .sw i, .pills .a i { background: conic-gradient(from 30deg in oklch, #a477c3, #4271dc, #5fbf8a, #a477c3); } }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .svc.a .sw i { animation: none; } }
.svc h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.svc > p { margin: 0 0 16px; font-size: 16px; color: var(--ink-soft); }
.svc ul { margin: auto 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.svc li { padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.svc li:last-child { border-bottom: 0; }

.steps { margin-top: 48px; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 735px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps span { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.steps h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { margin: 0; max-width: 30ch; color: var(--ink-soft); font-size: 17px; }

.panel { max-width: 1260px; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--hair); padding: 48px 0 64px; font-size: 14px; color: var(--ink-soft); }
.footer-groups { display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 735px) { .footer-groups { grid-template-columns: repeat(3, 1fr); } }
.footer-groups h2 { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.footer-groups ul { list-style: none; margin: 0; padding: 0; }
.footer-groups li { padding: 4px 0; }
.footer-groups a { text-decoration: none; color: var(--ink); }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer-legal p { margin: 0; }

/* Tonight's additions: vertical sections, domain cards, FAQ, stats */
h2.big { margin: 0 0 20px; font-weight: 700; font-size: clamp(30px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
.two-col { margin-top: 32px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 835px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } .two-col .lede { max-width: none; } }
.dom-card { scroll-snap-align: start; width: 82vw; max-width: 400px; }
@media (min-width: 640px) { .dom-card { width: 360px; } }
.dom-card .in { height: 100%; border-radius: 28px; background: var(--card); border: 1px solid var(--hair); padding: 24px; display: flex; flex-direction: column; }
.dom-card .sw { height: 72px; border-radius: 18px; margin-bottom: 20px; }
.dom-card.b .sw { background: var(--g-branding); } .dom-card.d .sw { background: var(--g-development); } .dom-card.m .sw { background: var(--g-marketing); }
.dom-card .tag { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.dom-card h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.dom-card .dd { margin: 0 0 18px; font-size: 16px; color: var(--ink-soft); }
.dom-card .l3 { margin: auto 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.dom-card .l3 li { padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.dom-card .l3 li:last-child { border-bottom: 0; }
.gallery-track { align-items: stretch; }
.hl-card a:not([href]) { cursor: default; }
.cards.three { grid-template-columns: 1fr; } .cards.two { grid-template-columns: 1fr; }
@media (min-width: 835px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.cards .svc > p:last-child { margin-bottom: 0; }
.svc.a .sw { height: 96px; }
.stats { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 735px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats div { border-top: 1px solid var(--hair); padding-top: 16px; }
.stats b { display: block; font-size: 32px; letter-spacing: -0.03em; }
.stats span { color: var(--ink-soft); font-size: 17px; }
.faq { margin-top: 32px; max-width: 820px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-soft); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.5; }
.vert .section-head .lede { max-width: 52ch; }

/* L2 domain cards: equal height grid, no swatches */
.dom-grid { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dom-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .dom-grid { grid-template-columns: repeat(5, 1fr); } }
.dom-grid .dom-card { width: auto; max-width: none; }
.dom-grid .dom-card .in { min-height: 220px; padding: 24px; }
.dom-card .num { display: block; margin-bottom: 40px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.dom-card h3 { margin: 0 0 10px; }
.dom-card .dd { margin: 0; }
/* logo wall */
.logo-wall { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 735px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
.logo-wall li { border-radius: 28px; overflow: clip; border: 1px solid var(--hair); background: #fff; }
.logo-wall img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* logo wall: white logos on dark tiles */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-wall li { width: calc((100% - 16px) / 2); background: #0a0a0b; border-color: #0a0a0b; }
@media (min-width: 735px) { .logo-wall li { width: calc((100% - 32px) / 3); } }
@media (min-width: 1024px) { .logo-wall li { width: calc((100% - 48px) / 4); } }
.logo-wall img { aspect-ratio: 2 / 1; object-fit: contain; padding: 8%; }

/* Projects now */
.proj-note { margin: 28px 0 40px; max-width: 78ch; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--hair); background: var(--bg-alt); color: var(--ink-soft); line-height: 1.55; font-size: 16px; }
.proj-note strong { color: var(--ink); }
.proj-row { display: grid; gap: 28px; grid-template-columns: 1fr; border-radius: 28px; border: 1px solid var(--hair); background: var(--bg-alt); padding: 28px; margin: 0 0 16px; }
@media (min-width: 900px) { .proj-row { grid-template-columns: 5fr 7fr; gap: 48px; padding: 40px; } }
.proj-logo { background: #0a0a0b; border-radius: 20px; height: 150px; display: flex; align-items: center; justify-content: center; padding: 24px; margin-bottom: 24px; }
.proj-logo img { max-width: 70%; max-height: 100%; object-fit: contain; display: block; }
.proj-tag { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.proj-main h3 { margin: 0 0 12px; font-size: 34px; letter-spacing: -0.02em; }
.proj-intro { margin: 0 0 16px; font-size: 18px; line-height: 1.45; }
.proj-local { margin: 0; color: var(--ink); line-height: 1.5; }
.proj-local strong { color: var(--ink); }
.proj-detail h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.proj-list { margin: 0 0 24px; padding: 0 0 0 20px; display: grid; gap: 10px; line-height: 1.5; }
.proj-list li::marker { color: var(--ink-soft); }
.proj-ai { background: #0a0a0b; border-radius: 20px; padding: 20px 24px; }
.proj-ai h4 { margin-bottom: 8px; }
.proj-ai p { margin: 0; color: var(--ink); line-height: 1.55; }

/* no boxes around logos or the AI note: plain, neatly arranged */
.logo-wall li { background: none; border: 0; border-radius: 0; }
.proj-logo { background: none; border-radius: 0; height: 80px; justify-content: flex-start; padding: 0; margin-bottom: 20px; }
.proj-logo img { max-width: 220px; max-height: 80px; width: auto; height: auto; }
.proj-ai { background: none; border-radius: 0; padding: 20px 0 0; border-top: 1px solid var(--hair); }
.proj-note { background: none; border: 0; border-radius: 0; padding: 0; }
.proj-row { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--hair); padding: 40px 0; margin: 0; }
@media (min-width: 900px) { .proj-row { padding: 48px 0; } }
