/* AG Studio Ventures: main-site design system, used by every page of agstudioventures.com.
   Scoped to body.studio. Pages are built by infra/site/build_studio_pages.py. */
@font-face { font-family: "SG"; src: url(/assets/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SG"; src: url(/assets/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

body.studio {
  --bg: #0f1620; --bg2: #131b26; --card: #172030; --card2: #1c2738; --line: rgba(255,255,255,.09);
  --ink: #eef2f7; --muted: #a9b3c4; --soft: #7d889b;
  --teal: #2ec4b6; --violet: #8b6cff; --coral: #ff6b4a; --gold: #f2c14e;
  --grad: linear-gradient(100deg, var(--teal), var(--violet) 55%, var(--coral));
  --r: 18px; --maxw: 1200px; --gut: 24px;
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 "Plex", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.studio *, body.studio *::before, body.studio *::after { box-sizing: border-box; }
body.studio img { max-width: 100%; height: auto; display: block; }
body.studio a { color: inherit; }
body.studio h1, body.studio h2, body.studio h3 { font-family: "SG", "Plex", system-ui, sans-serif; font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--ink); }
body.studio h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.04; }
body.studio h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; }
body.studio h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.01em; }
body.studio p { margin: 0; }
body.studio .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.studio .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
body.studio .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40em; }
body.studio .kicker { display: block; font: 600 .82rem/1.2 "Plex", system-ui, sans-serif; color: var(--teal); margin-bottom: 14px; }
body.studio .skip { position: absolute; left: -9999px; }
body.studio .skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
body.studio :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
body.studio .st-header { position: sticky; top: 0; z-index: 40; background: rgba(15,22,32,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body.studio .st-bar { display: flex; align-items: center; gap: 28px; height: 68px; }
body.studio .st-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem/1 "SG", sans-serif; white-space: nowrap; }
body.studio .st-brand img { width: 30px; height: 30px; border-radius: 7px; }
body.studio .st-nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
body.studio .st-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
body.studio .st-nav a:hover, body.studio .st-nav a[aria-current="page"] { color: var(--ink); }
body.studio .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 .98rem/1 "Plex", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
body.studio .btn.primary { background: var(--grad); color: #0b0f16; box-shadow: 0 8px 30px rgba(139,108,255,.28); }
body.studio .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(139,108,255,.4); }
body.studio .btn.ghost { border-color: rgba(255,255,255,.22); color: var(--ink); background: rgba(255,255,255,.03); }
body.studio .btn.ghost:hover { background: rgba(255,255,255,.08); }
body.studio .btn.small { padding: 10px 16px; font-size: .9rem; }
body.studio .st-cta { margin-left: 6px; }
@media (max-width: 900px) {
  body.studio .st-bar { flex-wrap: wrap; height: auto; padding: 12px var(--gut); gap: 10px 18px; }
  body.studio .st-nav { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; padding-bottom: 4px; }
  body.studio .st-cta { margin-left: auto; }
}

/* ---------- hero ---------- */
body.studio .hero { position: relative; overflow: hidden; background: #131b26; border-bottom: 1px solid var(--line); }
body.studio .hero-art { position: absolute; inset: 0 0 0 auto; width: min(64%, 1000px); height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
body.studio .hero-art img { width: 100%; height: 100% !important; object-fit: cover; object-position: 60% 50%; }
body.studio .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #131b26 0%, rgba(19,27,38,.72) 22%, rgba(19,27,38,0) 55%), linear-gradient(0deg, #131b26 0%, rgba(19,27,38,0) 22%); }
body.studio .hero-in { position: relative; z-index: 1; padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); max-width: 640px; }
body.studio .hero-in .lede { margin-top: 22px; }
body.studio .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 820px) {
  body.studio .hero-art { position: relative; width: 100%; height: 300px; -webkit-mask-image: none; mask-image: none; }
  body.studio .hero-art::after { background: linear-gradient(0deg, #131b26 0%, rgba(19,27,38,0) 45%); }
  body.studio .hero-in { padding: 8px 0 60px; }
}

/* ---------- sections ---------- */
body.studio .section { padding: clamp(64px, 9vw, 112px) 0; }
body.studio .section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.studio .head { max-width: 760px; margin-bottom: 44px; }
body.studio .head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }
body.studio .split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
body.studio .split.rev > :first-child { order: 2; }
body.studio .split .art { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
body.studio .split .art img { width: 100%; height: auto; }
@media (max-width: 860px) { body.studio .split { grid-template-columns: 1fr; } body.studio .split.rev > :first-child { order: 0; } }

/* ---------- cards ---------- */
body.studio .grid { display: grid; gap: 22px; }
body.studio .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.studio .grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.studio .grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { body.studio .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.studio .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.studio .grid.c4, body.studio .grid.c3, body.studio .grid.c2 { grid-template-columns: 1fr; } }
body.studio .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
body.studio .card p { color: var(--muted); }
body.studio .card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,196,182,.12); color: var(--teal); }
body.studio .card .ico svg { width: 22px; height: 22px; }

/* product cards */
body.studio .pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
body.studio .pcard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); box-shadow: 0 22px 50px rgba(0,0,0,.35); }
body.studio .pcard .pimg { aspect-ratio: 16 / 11; overflow: hidden; background: #172030; }
body.studio .pcard .pimg img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
body.studio .pcard:hover .pimg img { transform: scale(1.04); }
body.studio .pcard .pbody { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
body.studio .pcard .pbody p { color: var(--muted); font-size: .98rem; }
body.studio .pcard .who { font-size: .9rem; color: var(--soft); }
body.studio .pcard .pfoot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.studio .go { font-weight: 600; color: var(--ink); white-space: nowrap; }
body.studio .go::after { content: " \2192"; transition: margin .2s ease; }
body.studio .pcard:hover .go::after { margin-left: 4px; }
body.studio .stage { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--muted); }
body.studio .stage::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
body.studio .stage.dev::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* flagship */
body.studio .flagship { display: grid; grid-template-columns: 1.1fr 1fr; background: linear-gradient(135deg, rgba(47,91,234,.18), rgba(23,32,48,1) 55%); border: 1px solid rgba(47,91,234,.4); border-radius: 24px; overflow: hidden; text-decoration: none; margin-bottom: 22px; }
body.studio .flagship .pimg img { width: 100%; height: 100% !important; object-fit: cover; }
body.studio .flagship .fbody { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
body.studio .flagship .fbody p { color: var(--muted); }
body.studio .flagship .tagline { font: 700 .82rem/1 "Plex", sans-serif; color: #8fb0ff; }
body.studio .flagship ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
body.studio .flagship li::before { content: "\2713"; color: #8fb0ff; margin-right: 10px; font-weight: 700; }
@media (max-width: 860px) { body.studio .flagship { grid-template-columns: 1fr; } body.studio .flagship .pimg { aspect-ratio: 16/10; } }

/* group heading */
body.studio .group { margin: 64px 0 26px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; }
body.studio .group:first-of-type { margin-top: 0; }
body.studio .group h3 { font-size: 1.55rem; }
body.studio .group p { color: var(--muted); grid-column: 1 / -1; max-width: 46em; }

/* strip of product tiles on Home */
body.studio .tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
body.studio .tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
body.studio .tile:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
body.studio .tile img { aspect-ratio: 1; object-fit: cover; width: 100%; }
body.studio .tile div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
body.studio .tile strong { font: 700 1.02rem/1.2 "SG", sans-serif; }
body.studio .tile span { font-size: .88rem; color: var(--muted); line-height: 1.45; }
body.studio .tile .stage { margin-top: auto; padding-top: 6px; font-size: .78rem; }
@media (max-width: 1000px) { body.studio .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.studio .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* countdown band */
body.studio .band { position: relative; border-radius: 26px; padding: clamp(32px, 5vw, 56px); overflow: hidden; background: linear-gradient(120deg, rgba(46,196,182,.22), rgba(139,108,255,.22) 50%, rgba(255,107,74,.2)); border: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
body.studio .band p { color: var(--muted); margin-top: 12px; }
body.studio .count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
body.studio .count div { background: rgba(10,14,20,.55); border: 1px solid var(--line); border-radius: 14px; padding: 16px 8px; text-align: center; }
body.studio .count b { display: block; font: 700 clamp(1.6rem, 3.4vw, 2.4rem)/1 "SG", sans-serif; }
body.studio .count span { font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { body.studio .band { grid-template-columns: 1fr; } }

/* steps, timeline */
body.studio .steps { counter-reset: s; }
body.studio .steps .card h3::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 .9rem/1 "SG", sans-serif; color: var(--teal); margin-bottom: 12px; }
body.studio .timeline { display: grid; gap: 0; position: relative; margin-left: 10px; }
body.studio .timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--violet), var(--coral)); opacity: .6; }
body.studio .tl { position: relative; padding: 0 0 34px 42px; }
body.studio .tl:last-child { padding-bottom: 0; }
body.studio .tl::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--teal); }
body.studio .tl.next::before { border-color: var(--coral); }
body.studio .tl time, body.studio .tl .when { font: 700 .9rem/1 "SG", sans-serif; color: var(--teal); }
body.studio .tl h3 { margin: 8px 0 6px; }
body.studio .tl p { color: var(--muted); }

/* offer facts (careers) */
body.studio .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.studio .fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
body.studio .fact b { display: block; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.1 "SG", sans-serif; margin-bottom: 8px; }
body.studio .fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { body.studio .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.studio .role { padding: 0; overflow: hidden; }
body.studio .role img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
body.studio .role .rb { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
body.studio .role ul, body.studio .ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); }
body.studio .role li::before, body.studio .ticks li::before { content: "\2713"; color: var(--teal); font-weight: 700; margin-right: 10px; }
body.studio .flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
body.studio .flow div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-weight: 600; }
body.studio .flow div::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #0b0f16; font: 700 .9rem/1 "SG", sans-serif; margin-bottom: 12px; }
@media (max-width: 900px) { body.studio .flow { grid-template-columns: 1fr 1fr; } }

/* FAQ */
body.studio .faq { display: grid; gap: 12px; max-width: 860px; }
body.studio .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
body.studio .faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
body.studio .faq summary::-webkit-details-marker { display: none; }
body.studio .faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; line-height: 1; }
body.studio .faq details[open] summary::after { content: "\2212"; }
body.studio .faq details p { color: var(--muted); margin-top: 10px; }

/* forms */
body.studio .formcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
body.studio .formcard form { display: grid; gap: 16px; }
body.studio .formcard .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { body.studio .formcard .row2 { grid-template-columns: 1fr; } }
body.studio label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
body.studio input, body.studio select, body.studio textarea { width: 100%; background: #0f1620; border: 1px solid rgba(255,255,255,.16); color: var(--ink); border-radius: 12px; padding: 13px 14px; font: 400 1rem/1.4 "Plex", sans-serif; }
body.studio input:focus, body.studio select:focus, body.studio textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,.2); }
body.studio .formnote { font-size: .9rem; color: var(--soft); }
body.studio .formmsg { display: none; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
body.studio .formmsg.ok { display: block; background: rgba(46,196,182,.14); border: 1px solid rgba(46,196,182,.4); color: #9ff0e6; }
body.studio .formmsg.err { display: block; background: rgba(255,107,74,.12); border: 1px solid rgba(255,107,74,.45); color: #ffc2b3; }
body.studio button[disabled] { opacity: .55; cursor: not-allowed; }

/* call to action */
body.studio .cta { text-align: center; padding: clamp(56px, 8vw, 96px) var(--gut); border-radius: 28px; background: radial-gradient(120% 140% at 50% 0%, rgba(139,108,255,.3), rgba(15,22,32,0) 60%), var(--card); border: 1px solid var(--line); }
body.studio .cta p { color: var(--muted); max-width: 36em; margin: 14px auto 0; }
body.studio .cta .actions { justify-content: center; }
body.studio .note { font-size: .92rem; color: var(--soft); margin-top: 18px; }

/* footer */
body.studio .st-footer { border-top: 1px solid var(--line); background: #0b1119; padding: 56px 0 36px; margin-top: 0; }
body.studio .st-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
body.studio .st-foot h4 { font: 700 .95rem/1 "SG", sans-serif; margin: 0 0 14px; color: var(--ink); }
body.studio .st-foot .st-brand { display: flex; margin-bottom: 0; color: var(--ink); }
body.studio .st-foot a:not(.st-brand) { display: block; color: var(--muted); text-decoration: none; margin: 0 0 9px; font-size: .95rem; }
body.studio .st-foot a:not(.st-brand):hover { color: var(--ink); }
body.studio .st-foot p { color: var(--soft); font-size: .92rem; margin-top: 12px; max-width: 26em; }
body.studio .st-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .88rem; color: var(--soft); }
body.studio .st-legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
body.studio .st-legal a { color: var(--soft); text-decoration: none; }
@media (max-width: 860px) { body.studio .st-foot { grid-template-columns: 1fr 1fr; } }

/* motion */
body.studio .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
body.studio .reveal.in { opacity: 1; transform: none; }
body.studio .float { animation: stFloat 9s ease-in-out infinite; }
@keyframes stFloat { 0%, 100% { transform: translateY(0) scale(1.02); } 50% { transform: translateY(-10px) scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  body.studio .reveal { opacity: 1; transform: none; transition: none; }
  body.studio .float { animation: none; }
  body.studio .pcard, body.studio .tile, body.studio .btn { transition: none; }
}

/* wide banner images inside sections */
body.studio .banner { margin-top: 34px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
body.studio .banner img { width: 100%; aspect-ratio: 21 / 9; height: auto !important; object-fit: cover; }
@media (max-width: 640px) { body.studio .banner img { aspect-ratio: 16 / 10; } }

/* ================= v2: sectioned site ================= */
/* header: dropdown menus (desktop) and a menu button (phones) */
body.studio .st-nav .dd { position: relative; }
body.studio .st-nav .dd-btn { background: none; border: 0; padding: 8px 0; color: var(--muted); font: 600 .95rem/1 "Plex", sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
body.studio .st-nav .dd-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
body.studio .st-nav .dd-btn:hover, body.studio .st-nav .dd.cur > .dd-btn, body.studio .st-nav .dd.open > .dd-btn { color: var(--ink); }
body.studio .st-nav .dd.open > .dd-btn::after { transform: rotate(225deg) translateY(-1px); }
body.studio .st-nav .dd-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; background: #141c28; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50; }
body.studio .st-nav .dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
body.studio .st-nav .dd.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 901px) { body.studio .st-nav .dd:hover .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
body.studio .st-nav .dd-panel.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
body.studio .st-nav .dd-panel a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
body.studio .st-nav .dd-panel a:hover, body.studio .st-nav .dd-panel a[aria-current="page"] { background: rgba(255,255,255,.06); }
body.studio .st-nav .dd-panel a img { width: 44px; height: 44px !important; border-radius: 10px; object-fit: cover; flex: none; }
body.studio .st-nav .dd-panel a b { display: block; font: 700 .95rem/1.2 "SG", sans-serif; }
body.studio .st-nav .dd-panel a small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 3px; font-weight: 400; }
body.studio .st-burger { display: none; margin-left: auto; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: var(--ink); border-radius: 12px; width: 44px; height: 40px; cursor: pointer; }
body.studio .st-burger span, body.studio .st-burger span::before, body.studio .st-burger span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s ease; }
body.studio .st-burger span::before, body.studio .st-burger span::after { content: ""; position: absolute; left: 0; }
body.studio .st-burger span::before { top: -6px; } body.studio .st-burger span::after { top: 6px; }
body.studio .st-header.open .st-burger span { background: transparent; }
body.studio .st-header.open .st-burger span::before { transform: translateY(6px) rotate(45deg); }
body.studio .st-header.open .st-burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  body.studio .st-bar { flex-wrap: nowrap; height: 64px; padding: 0 var(--gut); gap: 12px; }
  body.studio .st-burger { display: block; }
  body.studio .st-cta { display: none; }
  body.studio .st-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; width: auto; order: 0; margin: 0; padding: 8px var(--gut) 22px; background: #0f1620; border-bottom: 1px solid var(--line); max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
  body.studio .st-header.open .st-nav { display: flex; }
  body.studio .st-nav > a, body.studio .st-nav .dd-btn { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1.02rem; width: 100%; justify-content: space-between; color: var(--ink); }
  body.studio .st-nav .dd-panel, body.studio .st-nav .dd-panel.wide { position: static; transform: none; opacity: 1; visibility: visible; display: none; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 4px 0 10px; grid-template-columns: 1fr; }
  body.studio .st-nav .dd.open .dd-panel { display: grid; transform: none; }
  body.studio .st-nav .mob-cta { display: flex; margin-top: 18px; justify-content: center; }
}
@media (min-width: 901px) { body.studio .st-nav .mob-cta { display: none; } }

/* section navigation under a page's hero: "you are here" within a section */
body.studio .subnav { position: sticky; top: 68px; z-index: 30; background: rgba(15,22,32,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body.studio .subnav .wrap { display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
body.studio .subnav .wrap::-webkit-scrollbar { display: none; }
body.studio .subnav .sn-title { font: 700 .8rem/1 "Plex", sans-serif; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; padding-right: 6px; border-right: 1px solid var(--line); margin-right: -6px; padding: 6px 18px 6px 0; }
body.studio .subnav a { position: relative; padding: 18px 0 16px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; }
body.studio .subnav a:hover { color: var(--ink); }
body.studio .subnav a[aria-current="page"] { color: var(--ink); }
body.studio .subnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); }
@media (max-width: 900px) { body.studio .subnav { top: 64px; } body.studio .subnav .sn-title { display: none; } }

/* breadcrumb line above a hero title */
body.studio .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--soft); margin-bottom: 16px; }
body.studio .crumbs a { color: var(--muted); text-decoration: none; }
body.studio .crumbs a:hover { color: var(--ink); }
body.studio .crumbs span[aria-hidden] { opacity: .6; }

/* hero with a collage of product artwork (product family pages) */
body.studio .hero-art.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: center; padding: 40px 40px 40px 18%; }
body.studio .hero-art.collage img { height: auto !important; aspect-ratio: 1; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px rgba(0,0,0,.45); object-fit: cover; }
body.studio .hero-art.collage img:nth-child(2) { transform: translateY(36px); }
body.studio .hero-art.collage img:nth-child(3) { transform: translateY(-10px); }
body.studio .hero-art.collage img:nth-child(4) { transform: translateY(26px); }
body.studio .hero-art.collage.one { grid-template-columns: 1fr; padding-left: 30%; }
body.studio .hero-art.collage.one img { max-width: 440px; }
body.studio .hero-art.collage::after { background: linear-gradient(90deg, #131b26 0%, rgba(19,27,38,.5) 20%, rgba(19,27,38,0) 45%); }
@media (max-width: 820px) {
  body.studio .hero-art.collage { height: auto; padding: 24px var(--gut) 34px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  body.studio .hero-art.collage.one { grid-template-columns: 1fr; padding-left: var(--gut); }
  body.studio .hero-art.collage.one img { max-width: 260px; margin: 0 auto; }
  body.studio .hero-art.collage img { border-radius: 14px; }
  body.studio .hero-art.collage img:nth-child(n) { transform: none; }
}
body.studio .hero.compact .hero-in { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }

/* family cards (Home, All products) */
body.studio .fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { body.studio .fams { grid-template-columns: 1fr; } }
body.studio .fam { position: relative; display: grid; grid-template-columns: 1fr 172px; gap: 22px; align-items: center; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
body.studio .fam::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0%, var(--tint, rgba(46,196,182,.18)), transparent 55%); pointer-events: none; }
body.studio .fam:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); box-shadow: 0 26px 60px rgba(0,0,0,.4); }
body.studio .fam > div { position: relative; }
body.studio .fam .fk { font: 700 .78rem/1 "Plex", sans-serif; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
body.studio .fam h3 { font-size: 1.45rem; margin: 10px 0 8px; }
body.studio .fam p { color: var(--muted); font-size: .98rem; }
body.studio .fam .names { margin-top: 14px; font-size: .9rem; color: var(--soft); }
body.studio .fam .names b { color: var(--ink); font-weight: 600; }
body.studio .fam .go { display: inline-block; margin-top: 16px; }
body.studio .fam .stack { position: relative; height: 172px; }
body.studio .fam .stack img { position: absolute; width: 112px; height: 112px !important; border-radius: 18px; object-fit: cover; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 34px rgba(0,0,0,.45); transition: transform .35s ease; }
body.studio .fam .stack img:nth-child(1) { right: 0; top: 0; z-index: 3; }
body.studio .fam .stack img:nth-child(2) { right: 56px; top: 36px; z-index: 2; transform: rotate(-6deg); }
body.studio .fam .stack img:nth-child(3) { right: 8px; top: 60px; z-index: 1; transform: rotate(5deg); }
body.studio .fam .stack img:nth-child(4) { right: 60px; top: 2px; z-index: 0; transform: rotate(8deg); }
body.studio .fam .stack.one img { width: 150px; height: 150px !important; top: 11px; }
body.studio .fam:hover .stack img:nth-child(2) { transform: rotate(-9deg) translateX(-6px); }
body.studio .fam:hover .stack img:nth-child(3) { transform: rotate(8deg) translateY(4px); }
@media (max-width: 520px) { body.studio .fam { grid-template-columns: 1fr; } body.studio .fam .stack { height: 128px; order: -1; } body.studio .fam .stack img { width: 92px; height: 92px !important; } body.studio .fam .stack img:nth-child(1) { right: auto; left: 0; } body.studio .fam .stack img:nth-child(2) { right: auto; left: 70px; top: 18px; } body.studio .fam .stack img:nth-child(3) { right: auto; left: 140px; top: 30px; } body.studio .fam .stack img:nth-child(4) { right: auto; left: 210px; top: 8px; } body.studio .fam .stack.one img { width: 120px; height: 120px !important; top: 0; } }

/* one product in detail (family pages) */
body.studio .prow { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
body.studio .prow + .prow { margin-top: clamp(56px, 8vw, 96px); }
body.studio .prow.rev { grid-template-columns: 1fr minmax(0, 420px); }
body.studio .prow.rev .pimg { order: 2; }
body.studio .prow .pimg { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
body.studio .prow .pimg img { width: 100%; height: auto !important; aspect-ratio: 1; object-fit: cover; }
body.studio .prow h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 8px 0 14px; }
body.studio .prow .lede { margin-bottom: 20px; }
body.studio .prow .meta { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin: 22px 0 0; color: var(--soft); font-size: .92rem; }
body.studio .prow .actions { margin-top: 26px; }
@media (max-width: 860px) { body.studio .prow, body.studio .prow.rev { grid-template-columns: 1fr; } body.studio .prow.rev .pimg { order: 0; } body.studio .prow .pimg { max-width: 420px; } }

/* big link cards with an image (investors, partners, company) */
body.studio .lcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
body.studio .lcard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); box-shadow: 0 26px 60px rgba(0,0,0,.4); }
body.studio .lcard .limg { aspect-ratio: 16 / 9; overflow: hidden; }
body.studio .lcard .limg img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
body.studio .lcard:hover .limg img { transform: scale(1.04); }
body.studio .lcard .lb { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
body.studio .lcard .lb p { color: var(--muted); }
body.studio .lcard .lb .go { margin-top: auto; padding-top: 6px; }
body.studio .lcard .date { font-size: .86rem; color: var(--soft); }

/* key numbers */
body.studio .facts.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { body.studio .facts.c3 { grid-template-columns: 1fr; } }
body.studio .card.link { text-decoration: none; }
body.studio .card.link:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
body.studio .card .go { margin-top: auto; font-size: .92rem; }

/* long-form text: blog posts and legal pages */
body.studio .prose { max-width: 760px; }
body.studio .prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
body.studio .prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
body.studio .prose p, body.studio .prose li, body.studio .prose dd { color: #c9d1dd; font-size: 1.04rem; line-height: 1.75; }
body.studio .prose p { margin: 0 0 16px; }
body.studio .prose ul, body.studio .prose ol { padding-left: 22px; margin: 0 0 18px; }
body.studio .prose li { margin-bottom: 6px; }
body.studio .prose a { color: #8fe3d9; }
body.studio .prose dt { font-weight: 600; margin-top: 16px; }
body.studio .prose dd { margin: 4px 0 0 0; }
body.studio .prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .96rem; display: block; overflow-x: auto; }
body.studio .prose th, body.studio .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: #c9d1dd; }
body.studio .prose th { background: var(--card); color: var(--ink); }
body.studio .prose code { background: var(--card); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
body.studio .prose section:first-child h2 { margin-top: 0; }
body.studio .prose nav ol { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { body.studio .prose nav ol { columns: 1; } }
body.studio .prose fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 16px; }
body.studio .prose legend { font-weight: 600; padding: 0 6px; }
body.studio .prose input[type=checkbox] { width: auto; margin-right: 8px; }
body.studio .prose label { display: inline-flex; align-items: center; font-weight: 500; }
body.studio .prose .btn.outline { border-color: rgba(255,255,255,.22); color: var(--ink); background: rgba(255,255,255,.03); }
body.studio .prose .actions { margin-top: 12px; }
body.studio .doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
body.studio .doc aside { position: sticky; top: 140px; display: grid; gap: 4px; }
body.studio .doc aside h4 { font: 700 .8rem/1 "Plex", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin: 0 0 10px; }
body.studio .doc aside a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .94rem; }
body.studio .doc aside a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
body.studio .doc aside a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.07); }
@media (max-width: 900px) { body.studio .doc { grid-template-columns: 1fr; } body.studio .doc aside { position: static; display: none; } }
body.studio .updated { color: var(--soft); font-size: .92rem; margin-top: 14px; }
body.studio .post-art { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin: 0 0 36px; }
body.studio .post-art img { width: 100%; height: auto !important; aspect-ratio: 21 / 9; object-fit: cover; }
