/* sudowoo.com. Single stylesheet, dark theme only. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0B0B0C; --surface: #141416; --surface-2: #1C1C1F;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.14);
  --text: #F2F2F0; --text-2: #A5A5AA; --text-3: #6F6F75;
  --accent: #9FE870; --accent-ink: #0B0B0C;
  --r-pill: 999px; --r-tile: 20px; --r-shot: 24px;
  --font-sans: "Geist", system-ui, sans-serif; --font-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16,1,.3,1); --t-fast: 160ms; --t-base: 240ms;
  --max: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body { margin: 0; position: relative; background: var(--bg); color: var(--text-2); font: 400 1.0625rem/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 540; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
h1, h2, h3 { color: var(--text); }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 560; letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 540; letter-spacing: -.02em; line-height: 1.08; }
h3 { font-size: 1.25rem; font-weight: 540; line-height: 1.25; }
.h-sm { font-size: 1.25rem; letter-spacing: -.01em; }
.lead { margin-top: 12px; max-width: 72ch; }

/* Header */
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(11,11,12,.72); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.cursor { color: var(--accent); animation: blink 2s steps(1, end) infinite; }
@keyframes blink { 0%, 49.99% { opacity: 1; } 50%, 100% { opacity: 0; } }
.nav-desktop { display: none; gap: 28px; }
.nav-desktop a, .nav-panel a { color: var(--text-2); text-decoration: none; font-size: .9375rem; transition: color var(--t-fast) var(--ease); }
.nav-desktop a:hover, .nav-panel a:hover { color: var(--text); }
.nav-mobile { display: block; }
.menu-btn { list-style: none; cursor: pointer; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--text); font-size: .9375rem; line-height: 1.2; user-select: none; }
.menu-btn::-webkit-details-marker { display: none; }
.nav-panel { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-panel a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
.nav-panel a:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid transparent; font: 500 1rem/1 var(--font-sans); text-decoration: none; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pill:hover { transform: translateY(-1px); }
.pill-primary { background: var(--accent); color: var(--accent-ink); }
.pill-ghost { border-color: var(--line-strong); color: var(--text); }
.pill-ghost:hover, .pill-sm:hover { border-color: rgba(255,255,255,.3); }
.pill-sm { min-height: 36px; padding: 0 16px; font-size: .875rem; border-color: var(--line-strong); color: var(--text); background: rgba(20,20,22,.86); }
.ulink { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Motion: hero fades up once */
.rise { animation: rise 420ms var(--ease) both; }
.rise-2 { animation-delay: 60ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { padding-top: 40px; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy h1 { text-wrap: balance; }
.hero-sub { margin-top: 24px; max-width: 46ch; font-size: 1.1875rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.shot { border-radius: var(--r-shot); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); background: var(--surface); }
.trio { display: flex; justify-content: center; align-items: center; }
.trio .shot { flex: none; max-width: none; }
.trio .shot-l, .trio .shot-r { display: none; }
.trio .shot-m { height: auto; width: 60vw; max-width: 300px; position: relative; z-index: 2; }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100dvh - var(--header-h)), 860px); padding-top: 72px; padding-bottom: 72px; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 46fr 54fr; gap: 24px; }
  .trio { --h: clamp(340px, 36vw, 520px); }
  .trio .shot { height: var(--h); width: auto; }
  .trio .shot-m { max-width: none; }
  .trio .shot-l, .trio .shot-r { display: block; height: calc(var(--h) * .88); position: relative; z-index: 1; }
  .trio .shot-l { transform: translateY(48px) rotate(-4deg); margin-right: -38px; }
  .trio .shot-r { transform: translateY(48px) rotate(4deg); margin-left: -38px; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }

/* Bento */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.card { position: relative; min-height: min-content; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.tile { flex: 1; display: flex; flex-direction: column; padding: 28px; color: inherit; text-decoration: none; min-height: 300px; }
.tile:focus-visible { outline-offset: -4px; border-radius: var(--r-tile); }
.tile-icon { width: 56px; height: 56px; border-radius: 14px; }
.tile h3 { margin-top: 20px; }
.tile-tag { margin-top: 8px; max-width: 38ch; }
.tile-meta { margin-top: 12px; font-size: .875rem; color: var(--text-2); }
.tile-media { position: relative; flex: 1 1 auto; min-height: 260px; margin: 28px -28px -28px; overflow: hidden; }
.tile-media img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 62%; max-width: 300px; height: 100%; object-fit: cover; object-position: top; border-radius: var(--r-shot) var(--r-shot) 0 0; border: 1px solid var(--line); border-bottom: 0; }
.tile-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,20,22,0) 72%, var(--surface) 100%); pointer-events: none; }
.tile-play { position: absolute; top: 24px; right: 24px; z-index: 2; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.4fr 1fr; grid-auto-rows: minmax(300px, auto); }
  .card-feat { grid-row: span 2; }
  .tile-media { min-height: 320px; }
  .card-feat .tile-media img { max-width: 340px; width: 56%; }
}

/* Testing */
.testing { display: flex; gap: 12px; margin-top: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.t-item { flex: 1 0 min(280px, 80vw); display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); scroll-snap-align: start; }
.t-item > div { display: flex; flex-direction: column; min-width: 0; }
.t-item span:not(.t-icon) { font-size: .875rem; }
.t-icon, .t-icon-img { flex: none; width: 40px; height: 40px; border-radius: 12px; }
.t-icon { display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font: 500 1.05rem/1 var(--font-mono); }

/* Studio */
.studio-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.studio-copy { display: grid; gap: 20px; max-width: 62ch; }
.studio-copy p:first-child { color: var(--text); font-size: 1.25rem; line-height: 1.5; }
@media (min-width: 900px) { .studio-grid { grid-template-columns: 5fr 7fr; gap: 64px; } .studio-grid h2 { max-width: 12ch; } }

/* Contact band */
.band { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(64px, 9vw, 104px); }
.band-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.band-inner p { max-width: 46ch; }
.band-inner .pill { margin-top: 12px; }

/* Footer */
.site-footer { padding-top: 56px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-brand p { margin-top: 12px; max-width: 32ch; font-size: .9375rem; }
.footer-h { font-size: .875rem; font-weight: 540; letter-spacing: 0; color: var(--text); margin-bottom: 12px; }
.footer-list { display: grid; gap: 8px; font-size: .9375rem; }
.footer-list a, .footer-links a { text-decoration: none; color: var(--text-2); transition: color var(--t-fast) var(--ease); }
.footer-list a:hover, .footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; }
.footer-links { display: flex; gap: 20px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

/* App page */
.app-hero { padding-top: 48px; padding-bottom: 24px; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; }
.app-hero-copy h1 { margin-top: 24px; font-size: clamp(2.4rem, 5vw, 4rem); }
.app-tag { margin-top: 16px; max-width: 44ch; font-size: 1.1875rem; }
.app-facts { margin-top: 16px; font-size: .9375rem; }
.badge { display: inline-block; margin-top: 28px; border-radius: 10px; transition: transform var(--t-fast) var(--ease); }
.badge:hover { transform: translateY(-1px); }
.badge img { height: 56px; width: auto; }
.app-hero-shot .shot { width: min(360px, 70vw); height: auto; }
@media (min-width: 900px) {
  .app-hero { padding-top: 72px; }
  .app-hero-grid { grid-template-columns: 1fr auto; gap: 64px; }
}
.gallery { display: flex; gap: 16px; margin-top: 24px; padding: 4px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.gallery li { flex: none; scroll-snap-align: start; width: 70vw; max-width: 240px; }
.gallery .shot { width: 100%; height: auto; }
@media (min-width: 1280px) { .gallery { padding-inline: calc((100% - var(--max)) / 2); scroll-padding-inline: calc((100% - var(--max)) / 2); } }

/* Prose and policy pages */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); letter-spacing: -.015em; margin-top: 44px; }
.prose h3 { margin-top: 32px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--text-3); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc { padding-top: 56px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.doc-date { font-size: .9375rem; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 20px; }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--text); }
.facts dd { overflow-wrap: anywhere; }
.prose .support-list { list-style: none; padding-left: 0; gap: 28px; margin-top: 36px; }
.support-item h2 { margin-top: 0; font-size: 1.25rem; }
.prose .support-item ul { margin-top: 8px; list-style: none; padding-left: 0; gap: 4px; }
.nf { padding-top: 120px; padding-bottom: 160px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.nf .pill { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
