:root {
  color-scheme: dark;
  --bg: #090909;
  --surface: #171717;
  --text: #fafafa;
  --soft: #b6b6bc;
  --muted: #99999f;
  --line: #303033;
  --line-hover: #606067;
  --radius: 22px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; color: var(--soft); }
h1, h2, h3 { margin: 0; line-height: 1.14; font-weight: 600; letter-spacing: -.045em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; }
::selection { background: #d8d8e5; color: #090909; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.section-anchor { scroll-margin-top: 128px; }
.skip-link { position: fixed; top: -80px; left: 24px; z-index: 100; padding: 12px 20px; color: var(--bg); background: var(--text); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 24px; z-index: 30; width: min(1280px, calc(100% - 64px)); margin: 24px auto 0; padding: 20px 28px; border: 1px solid #29292c; border-radius: var(--radius); background: rgba(28, 28, 29, .96); }
.header-inner, .brand, .nav { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 32px; }
.brand { flex-shrink: 0; gap: 12px; line-height: 1.2; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.brand img { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.brand strong { font-weight: 400; color: #c5c5cc; }
.nav { gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { transition: color .2s; }
.nav a:not(.nav-contact) { color: #d6d6dc; }
.nav a:not(.nav-contact):hover { color: white; }
.nav-contact { display: inline-flex; align-items: center; gap: 20px; padding: 12px 20px; margin-left: 12px; color: var(--bg); background: var(--text); border-radius: 12px; }
.nav-contact:hover { background: #dadade; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-hover); border-radius: 10px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--text); }
.hero { position: relative; isolation: isolate; padding: 96px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -140px 0 0; background-image: radial-gradient(circle, #252528 1.5px, transparent 1.7px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, #000 65%, transparent); opacity: .65; }
.hero-inner { text-align: center; }
.studio-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; border: 1px solid var(--line); padding: 7px 14px; border-radius: 30px; background: #171717; color: #d4d4da; font-size: 13px; }
.status-dot { width: 6px; height: 6px; background: #cfcfd8; border-radius: 50%; }
h1 { font-size: clamp(48px, 6.2vw, 84px); line-height: 1.09; font-weight: 500; letter-spacing: -.055em; }
h1 span { color: #b5b5bf; }
.hero-lead { max-width: 660px; margin: 24px auto 0; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin: 32px 0 64px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
.button.primary { background: var(--text); color: #111114; }
.button.primary:hover { background: #dcdce2; transform: translateY(-2px); }
.button.secondary { background: transparent; border-color: #606066; }
.button.secondary:hover { background: var(--surface); border-color: #b6b6bc; transform: translateY(-2px); }
.hero-dots { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero-dots i { position: absolute; display: block; width: 5px; height: 5px; border-radius: 50%; }
.hero-dots i:nth-child(1) { top: 140px; left: 8%; background: #ef6b88; }
.hero-dots i:nth-child(2) { top: 340px; left: 18%; background: #709aff; }
.hero-dots i:nth-child(3) { top: 190px; right: 11%; background: #b29aff; }
.hero-dots i:nth-child(4) { top: 390px; right: 7%; background: #e8cb70; }
.product-dock { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; text-align: left; }
.product-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #181819; font-size: 15px; font-weight: 500; transition: border-color .2s, transform .2s, background .2s; }
.product-tile:hover { border-color: #6a6a70; background: #202022; transform: translateY(-5px); }
.product-tile img { width: 64px; height: 64px; border-radius: 15px; object-fit: contain; }
.tile-arrow { position: absolute; top: 20px; right: 22px; color: #a5a5ae; font-size: 20px; }
.dock-caption { margin-top: 24px; color: var(--muted); font-size: 13px; }
.studio-section { padding: 64px 0 80px; }
.studio-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 112px; padding-top: 64px; border-top: 1px solid var(--line); }
.eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b9b9c3; }
.studio-intro h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.2; }
.studio-copy > p + p { margin-top: 16px; }
.studio-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.studio-facts span { display: block; font-size: 12px; color: var(--muted); }
.studio-facts strong { font-size: 14px; font-weight: 500; }
.section { padding: 64px 0; }
.content-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.section-title { position: sticky; top: 148px; padding-top: 8px; }
.section-number { color: #c9c9d3; margin-right: 10px; font-variant-numeric: tabular-nums; }
.section-title h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.16; }
.section-title > p:last-child { margin-top: 20px; font-size: 15px; }
.project-list { display: grid; gap: 24px; }
.project-card { display: grid; grid-template-columns: minmax(0, 1fr) 144px; align-items: start; gap: 36px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.project-card:hover { border-color: #505056; }
.project-copy { min-width: 0; }
.project-meta { margin-bottom: 16px; font-size: 12px; font-weight: 500; color: #b5b5bf; }
.project-card h3 { font-size: 29px; font-weight: 500; line-height: 1.16; }
.product-subtitle { margin-top: 6px; color: #d4d4dc; font-size: 14px; }
.project-description { margin-top: 18px; font-size: 14px; line-height: 1.85; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-row span { padding: 4px 10px; color: #c2c2cc; border: 1px solid #3b3b40; border-radius: 6px; font-size: 11px; line-height: 1.6; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.action-row .button { padding-inline: 16px; min-height: 46px; font-size: 12px; gap: 18px; border-radius: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 10px; font-size: 12px; color: #d0d0d9; }
.text-link:hover { color: white; }
.project-media { display: flex; justify-content: center; padding-top: 4px; }
.project-media img { width: 144px; height: 144px; object-fit: contain; border-radius: 28px; }
.contact-section { padding: 80px 0 96px; }
.contact-card { position: relative; padding: 64px 32px; border: 1px solid #37373c; border-radius: 24px; background: #181819; text-align: center; overflow: hidden; }
.contact-symbol { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #4d4d55; border-radius: 14px; margin: 0 auto 26px; color: white; font-size: 30px; }
.contact-card h2 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 500; }
.contact-card > p:not(.eyebrow) { margin: 24px auto; max-width: 560px; }
.contact-card .button { max-width: 100%; overflow-wrap: anywhere; }
.support-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 32px; color: #b1b1bc; font-size: 12px; }
.support-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding: 0 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-top > p { font-size: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 24px; color: var(--muted); font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { color: white; }
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav-contact { margin-left: 0; }
  .content-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
  .project-card { padding: 28px; grid-template-columns: minmax(0, 1fr) 112px; gap: 24px; }
  .project-media img { width: 112px; height: 112px; border-radius: 24px; }
  .studio-layout { gap: 64px; }
  .product-tile { padding: 20px; font-size: 13px; }
}
@media (max-width: 800px) {
  .site-header { width: calc(100% - 40px); top: 16px; margin-top: 16px; padding: 16px 20px; }
  .container { width: calc(100% - 48px); }
  .brand { font-size: 20px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; align-items: stretch; padding: 20px; border: 1px solid var(--line-hover); border-radius: 18px; background: #1c1c1d; gap: 8px; box-shadow: 0 16px 32px #0008; }
  .nav.open { display: flex; flex-direction: column; }
  .nav a { padding: 12px; }
  .nav-contact { justify-content: space-between; margin-top: 8px; }
  .hero { padding-top: 72px; }
  .hero-actions { margin-bottom: 48px; }
  .product-dock { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .product-tile { padding: 20px; gap: 16px; }
  .studio-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .studio-section { padding-block: 40px; }
  .content-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-title { position: static; max-width: 500px; }
  .section-title h2 { font-size: 36px; }
  .section-title > p:last-child { margin-top: 12px; }
  .section { padding-block: 40px; }
  .project-card { grid-template-columns: minmax(0, 1fr) 144px; padding: 32px; }
  .project-media img { width: 144px; height: 144px; border-radius: 28px; }
  .footer-top { flex-wrap: wrap; }
  .footer-top > p { order: 2; flex-basis: 100%; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .site-header { width: calc(100% - 32px); padding: 12px 16px; border-radius: 18px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand img { width: 40px; height: 40px; border-radius: 11px; }
  .hero { padding-top: 56px; }
  h1 { font-size: clamp(38px, 9vw, 48px); letter-spacing: -.05em; }
  .studio-badge { font-size: 11px; margin-bottom: 24px; padding-inline: 12px; }
  .hero-lead { font-size: 15px; margin-top: 20px; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
  .hero-actions .button { min-height: 50px; }
  .product-dock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-tile { font-size: 12px; padding: 16px; }
  .product-tile img { width: 52px; height: 52px; border-radius: 12px; }
  .tile-arrow { top: 10px; right: 14px; }
  .product-tile:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .product-tile:last-child .tile-arrow { top: 26px; }
  .studio-facts { gap: 12px; }
  .studio-facts strong { font-size: 12px; }
  .section-title h2 { font-size: 32px; }
  .project-card { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 18px; }
  .project-media { order: -1; padding: 0; }
  .project-media img { width: 80px; height: 80px; border-radius: 18px; }
  .project-card h3 { font-size: 28px; }
  .project-meta { margin-bottom: 12px; }
  .action-row { gap: 12px 20px; }
  .contact-section { padding: 40px 0 64px; }
  .contact-card { padding: 40px 20px; }
  .contact-card h2 { font-size: 34px; }
  .contact-card .button { font-size: 12px; gap: 12px; padding-inline: 12px; }
  .support-links { gap: 12px 18px; }
  .footer-bottom { gap: 16px; }
  .footer-bottom nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Heading markup includes light-theme emphasis; the original Studio dark
   typography has no italic accents. All baseline dark rules above are unchanged. */
h1 em, h2 em { font-style: normal; }

/* Identical, compact header toggle in both standalone themes. */
.header-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line-hover); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 12px; font-weight: 600; line-height: 1; }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle-symbol { font-size: 18px; line-height: 1; }
@media (max-width: 1100px) {
  .theme-toggle-label { display: none; }
  .theme-toggle { width: 44px; padding: 8px; }
  .header-inner { gap: 18px; }
}
@media (max-width: 800px) {
  .header-actions { gap: 10px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 360px) {
  .header-actions { gap: 6px; }
  .header-inner { gap: 8px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .menu-toggle, .theme-toggle { width: 38px; min-height: 38px; height: 38px; }
}
