@font-face {
  font-family: "Studio Sans";
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f2ec;
  --ink: #171a15;
  --muted: #575c53;
  --line: #d3d5c9;
  --lime: #c9f65a;
  --dark: #151b17;
  --gutter: clamp(18px, 4.7vw, 80px);
  font-family: "Studio Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body, button { font-size: 16px; }
p { line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #677c30; outline-offset: 5px; }
[id] { scroll-margin-top: 22px; }
h1, h2, h3, p { margin: 0; }

.shell { width: min(100% - var(--gutter) * 2, 1420px); margin-inline: auto; }

.skip-link {
  position: absolute; z-index: 10; top: 8px; left: 8px;
  padding: 12px 18px; transform: translateY(-140%); background: var(--lime);
}
.skip-link:focus { transform: none; }

.site-header { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 79px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-size: 20px; font-weight: 760; letter-spacing: -.055em; }
.brand img { flex: none; }
.brand-secondary { font-weight: 520; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.main-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { padding: 11px 15px; border: 1px solid #c7cbbd; border-radius: 100px; }
.nav-contact span { margin-left: 6px; }
.menu-toggle { color: var(--ink); background: transparent; border: 1px solid #aeb3a5; border-radius: 100px; padding: 9px 12px; cursor: pointer; font-weight: 650; }
.menu-toggle span { margin-left: 5px; display: inline-block; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }

.hero-inner {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(525px, 47vw, 680px); border-radius: 22px;
  background: radial-gradient(ellipse at 81% 40%, #293a1b, #101710 58%, #111612);
  color: #fafbf4;
}
.hero-inner::before, .hero-inner::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero-inner::before {
  background: url("assets/studio-hero.webp") right center / auto 112% no-repeat;
}
.hero-inner::after { background: linear-gradient(90deg, #111612f5 0%, #101511d6 30%, #10151152 55%, transparent 77%), linear-gradient(0deg, #0c100b85, transparent 34%); }
.hero-content { padding: 62px clamp(26px, 5.8vw, 95px) 76px; }
.eyebrow { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 11px; color: #e0e7d9; }
.signal { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px #c9f65a99; }
.hero h1 { margin-top: 21px; font-size: clamp(52px, 8.05vw, 122px); line-height: .96; letter-spacing: -.088em; font-weight: 750; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-intro { max-width: 390px; margin: 25px 0 25px; color: #e2e7dc; font-size: clamp(16px, 1.35vw, 20px); }
.button { display: inline-flex; width: fit-content; max-width: 100%; justify-content: center; align-items: center; gap: 22px; padding: 13px 19px; min-height: 47px; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 720; line-height: 1.4; transition: background-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #14190e; background: var(--lime); }
.button-primary:hover { background: #d9ff85; }
.button-dark { color: white; background: #182016; }
.button-dark:hover { background: #333e29; }
.hero .button:focus-visible, .detail-hero a:focus-visible { outline-color: white; }
.hero-index { position: absolute; right: clamp(26px, 4vw, 56px); bottom: 32px; display: flex; align-items: center; gap: 12px; color: #e4ecdf; font-family: ui-monospace, Consolas, monospace; font-size: 10px; letter-spacing: .1em; }
.hero-index-line { height: 1px; width: 28px; background: #bac7b2; }

.section { padding-block: clamp(66px, 8.6vw, 131px); }
.section-heading { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; color: var(--muted); }
.section-kicker > span { display: inline-grid; place-items: center; min-width: 29px; min-height: 23px; padding: 2px 4px; border: 1px solid currentColor; border-radius: 4px; letter-spacing: 0; }
h2 { font-size: clamp(40px, 6.1vw, 96px); font-weight: 750; line-height: .98; letter-spacing: -.081em; }
.section-heading > p { max-width: 310px; justify-self: end; color: var(--muted); font-size: 17px; }

.project-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 16px; }
.project-card { min-width: 0; }
.project-link { height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d8dace; border-radius: 16px; background: #f9f9f3; text-decoration: none; }
.project-link:hover .round-link { background: var(--ink); color: #fff; transform: translate(2px, -2px); }
.project-art { position: relative; overflow: hidden; min-height: clamp(190px, 24vw, 350px); background-position: center; background-size: cover; }
.art-tag { position: absolute; top: 17px; left: 17px; z-index: 1; padding: 6px 9px; background: #151a16ec; color: #f6faef; border: 1px solid #ffffff33; border-radius: 5px; font: 600 10px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; }
.plaxia-art { background-image: linear-gradient(180deg, #15271944, transparent 40%), url("assets/plaxia-citybuild.webp"); background-color: #344f3e; background-position: center 52%; }
.streamer-art { background-image: linear-gradient(140deg, #140f2070, transparent 60%), url("assets/stream-studio.webp"), radial-gradient(ellipse at 67% 30%, #6d37ae, #21152f 60%, #181220); background-color: #231630; }
.project-copy { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: clamp(19px, 2.4vw, 35px); }
.project-copy .eyebrow { color: var(--muted); }
.project-copy h3 { margin-top: 8px; font-size: clamp(28px, 3.3vw, 51px); font-weight: 740; line-height: 1.04; letter-spacing: -.065em; overflow-wrap: anywhere; }
.project-description { margin-top: 8px; color: var(--muted); }
.round-link { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid #c7cbbd; border-radius: 50%; font-size: 20px; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.project-restream { grid-column: 1 / -1; }
.project-restream .project-link { display: grid; grid-template-columns: 1.22fr 1fr; }
.project-restream .project-copy { align-items: center; }
.restream-art { display: grid; align-items: end; justify-items: center; background: radial-gradient(ellipse at 57% 82%, #224a43, #112d2b 48%, #101d20 85%); }
.restream-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#d4ffef13 1px, transparent 1px), linear-gradient(90deg,#d4ffef13 1px, transparent 1px); background-size: 25px 25px; mask-image: linear-gradient(transparent 7%, #000); }
.scope { z-index: 0; display: block; width: min(71%, 430px); margin-top: 62px; margin-bottom: -17px; padding: 10px; border: 1px solid #73b8a48c; border-radius: 11px; color: #a5fbd3; background: #132827; transform: rotate(-4deg); box-shadow: 0 18px 50px #081612c9; font: 10px/1.5 ui-monospace, Consolas, monospace; }
.scope-top { display: flex; align-items: center; gap: 4px; color: #b6d7cf; padding-bottom: 8px; }
.scope-top i { width: 5px; height: 5px; border-radius: 50%; background: #80a39e; }
.scope-top > span { margin-left: 7px; font-size: 9px; letter-spacing: .1em; }
.scope-body { display: grid; gap: 7px; padding: 11px; border: 1px solid #305450; border-radius: 5px; background: #102020; }
.scope-body svg { width: 100%; height: clamp(42px, 6vw, 95px); background: repeating-linear-gradient(0deg, #b7e9dc19 0 1px, transparent 1px 20px); }
.scope-label { letter-spacing: .12em; }
.scope-bottom { display: flex; justify-content: space-between; gap: 5px; color: #b6d7cf; }
.scope-bottom b { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #a5fbd3; }

.studio-section { background: var(--dark); color: #f0f2eb; padding-block: clamp(64px, 8vw, 116px); }
.studio-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(35px, 7vw, 115px); }
.studio-layout .section-kicker { color: #d3e1c8; }
.studio-layout h2 { color: var(--lime); }
.studio-layout p { color: #d4dcd0; }
.studio-layout h2 + p { max-width: 440px; margin-top: 22px; font-size: 17px; }
.service-list { border-top: 1px solid #525b50; }
.service-list article { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid #525b50; }
.service-list article > span { color: var(--lime); padding-top: 3px; font: 12px/1.5 ui-monospace, Consolas, monospace; }
.service-list h3 { font-size: 22px; letter-spacing: -.045em; }
.service-list p { margin-top: 3px; font-size: 15px; }

.product-feature { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.product-visual { position: relative; min-height: 270px; }
.product-visual img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.product-copy { padding: clamp(27px, 5vw, 75px); align-self: center; }
.product-copy h2 { font-size: clamp(36px, 4.9vw, 74px); overflow-wrap: anywhere; }
.product-copy > p:not(.eyebrow) { margin-block: 16px 19px; color: var(--muted); }
.text-link { display: inline-block; font-weight: 720; text-underline-offset: 4px; }
.text-link span { margin-left: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

.contact-panel { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; background: var(--lime); border-radius: 16px; padding: clamp(29px, 5vw, 69px); }
.contact-panel h2 { font-size: clamp(40px, 5.4vw, 80px); }
.contact-panel .section-kicker { color: #354629; }
.contact-panel p:not(.eyebrow) { margin-top: 12px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; min-height: 112px; padding-block: 23px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 21px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.site-footer small { color: var(--muted); }

.detail-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 385px; display: flex; align-items: flex-end; padding: clamp(26px, 6vw, 94px); border-radius: 18px; color: #f9faf5; background-position: center; background-size: cover; }
.detail-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #111813eb, #11181354 80%), linear-gradient(0deg, #0c100be0, transparent 80%); }
.detail-hero h1 { margin-top: 12px; font-size: clamp(47px, 8vw, 113px); font-weight: 750; letter-spacing: -.085em; line-height: .97; overflow-wrap: anywhere; }
.detail-hero p:not(.eyebrow) { margin: 16px 0 22px; max-width: 480px; color: #e3e9e0; }
.detail-hero .eyebrow { color: var(--lime); }
.detail-hero.restream-art { display: flex; background: radial-gradient(ellipse at 85% 20%, #305d51, #102220 70%); }
.detail-hero.restream-art::before { background-image: linear-gradient(#c3ffe31a 1px, transparent 1px), linear-gradient(90deg, #c3ffe31a 1px, transparent 1px); }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .57fr); gap: clamp(28px, 8vw, 120px); padding-block: clamp(52px, 7vw, 100px); }
.detail-content h2, .legal-page h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 13px; letter-spacing: -.065em; }
.detail-content h3 { font-size: 22px; letter-spacing: -.04em; margin: 23px 0 7px; }
.detail-content p + p, .legal-page p + p { margin-top: 12px; }
.detail-content ol { padding-left: 24px; line-height: 1.65; }
.detail-content li + li { margin-top: 7px; }
.detail-content aside { align-self: start; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #f9f9f3; }
.detail-content aside .eyebrow { color: var(--muted); margin-bottom: 11px; }
.detail-content aside a { overflow-wrap: anywhere; }
.product-legal { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.product-legal a { display: block; margin-top: 8px; }
.legal-page { max-width: 830px; min-height: 55vh; padding-block: clamp(42px, 6vw, 90px); }
.legal-page h1 { margin: 12px 0 25px; font-size: clamp(39px, 7.3vw, 91px); font-weight: 750; line-height: .98; letter-spacing: -.075em; overflow-wrap: anywhere; }
.legal-page h2 { margin-top: 29px; }
.legal-page p, .legal-page address { max-width: 70ch; overflow-wrap: anywhere; }
.legal-page address { font-style: normal; line-height: 1.65; margin: 10px 0; }
.notice { padding: 14px 16px; border-left: 4px solid #89a53b; background: #e7edda; }

@media (max-width: 900px) {
  .hero-inner::before { background-position: 56% center; }
  .hero-inner::after { background: linear-gradient(90deg, #111612f2, #10151180 57%, #10151126 90%), linear-gradient(0deg, #0c100b85, transparent 35%); }
}
@media (max-width: 740px) {
  .site-header { flex-wrap: wrap; min-height: 68px; gap: 12px; padding-block: 12px; }
  .main-nav { display: flex; width: 100%; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  .main-nav a { padding: 9px 0; }
  .main-nav a.nav-contact { padding: 8px 11px; }
  .hero-inner { min-height: 465px; border-radius: 15px; align-items: end; }
  .hero-content { padding: 86px 24px 58px; }
  .hero-inner::before { background-position: 64% center; }
  .hero-inner::after { background: linear-gradient(0deg, #0e130ff5 1%, #0e130fe0 30%, #10151142 86%), linear-gradient(90deg, #10151182, transparent 85%); }
  .hero-index { display: none; }
  .hero h1 { font-size: clamp(44px, 10vw, 74px); }
  .hero-intro { margin-block: 20px; }
  .section-heading, .project-grid, .project-restream .project-link, .studio-layout, .product-feature, .detail-content { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; margin-bottom: 21px; }
  .section-heading > p { justify-self: start; }
  .project-restream .project-copy { align-items: flex-end; }
  .project-art { min-height: clamp(194px, 47vw, 330px); }
  .product-visual { min-height: clamp(220px, 49vw, 330px); }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .detail-hero { min-height: 325px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
