/*
=========================================================
N1E LAB VIDEO STUDIO
=========================================================
コンセプト:
- 映像制作
- シネマティック
- 大きなタイポグラフィ
- Guild / N1E Lab本体とは明確に違うデザイン

アクセント色:
--acid / --orange を変えるだけで調整できます。
*/

:root {
  color-scheme: dark;

  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --text: #f2f2ed;
  --muted: #929292;
  --line: #282828;

  --acid: #c9ff45;
  --orange: #ff7147;
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f3f1eb;
  --surface: #ffffff;
  --surface-2: #e8e5dd;
  --text: #111111;
  --muted: #696969;
  --line: #d4d0c7;

  --acid: #668900;
  --orange: #d65028;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.studio-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(to bottom, var(--bg) 65%, transparent);
  pointer-events: none;
}

.studio-header-inner {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
}

.studio-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.studio-brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.studio-brand strong {
  font-size: 11px;
  letter-spacing: .14em;
}

.studio-nav {
  display: flex;
  gap: 22px;
}

.studio-nav a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.studio-nav a:hover {
  color: var(--text);
}

.studio-actions {
  display: flex;
  gap: 7px;
}

.theme-button,
.menu-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.menu-button {
  display: none;
}

.studio-mobile-menu {
  display: none;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  pointer-events: auto;
}

.studio-mobile-menu.is-open {
  display: grid;
}

.studio-mobile-menu a {
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.studio-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  min-height: calc(100svh - 80px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 17%, rgba(255,113,71,.16), transparent 28rem),
    radial-gradient(circle at 18% 80%, rgba(201,255,69,.08), transparent 26rem),
    var(--bg);
}

.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(rgba(127,127,127,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,127,127,.07) 1px, transparent 1px);
  background-size: 64px 64px;
}

.studio-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 0 110px;
}

.studio-kicker,
.studio-index {
  display: block;
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.studio-hero h1 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(72px, 13.5vw, 180px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.075em;
}

.studio-hero h1 span {
  display: block;
}

.studio-hero .outline {
  margin-left: 11%;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.studio-hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  margin-top: 48px;
}

.studio-hero-bottom p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.round-link {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  font-size: 24px;
}

.studio-strip {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  gap: 36px;
  padding: 11px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  white-space: nowrap;
}

.studio-strip span {
  flex: 1 0 auto;
  min-width: 130px;
  text-align: center;
}

.studio-section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.studio-two-col {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 76px;
}

.studio-title h2,
.works-head h2,
.services-head h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .91;
  letter-spacing: -.06em;
}

.studio-copy {
  padding-top: 42px;
}

.studio-copy .large {
  margin: 0 0 34px;
  color: var(--text);
  font-size: clamp(27px, 4vw, 46px);
  line-height: 1.3;
  letter-spacing: -.03em;
}

.studio-copy p {
  max-width: 680px;
  color: var(--muted);
}

.works {
  background: var(--surface);
}

.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 42px;
}

.works-head p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.work-card {
  min-width: 0;
}

.work-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 28% 18%, rgba(255,113,71,.34), transparent 24rem),
    linear-gradient(135deg, var(--surface-2), var(--bg));
}

.work-visual.alt {
  background:
    radial-gradient(circle at 76% 28%, rgba(201,255,69,.20), transparent 20rem),
    linear-gradient(135deg, var(--surface-2), var(--bg));
}

.work-number {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.play-symbol {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px 0;
}

.work-meta small {
  color: var(--acid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.work-meta h3 {
  margin: 5px 0 0;
  font-size: 21px;
}

.work-meta > span {
  color: var(--muted);
  font-size: 11px;
}

.service-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.service-row > span {
  color: var(--acid);
  font-size: 10px;
  font-weight: 900;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(23px, 4vw, 42px);
  letter-spacing: -.035em;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.studio-final {
  padding: 130px 0 108px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,113,71,.16), transparent 28rem),
    var(--bg);
}

.studio-final h2 {
  margin: 0 0 34px;
  font-size: clamp(58px, 10vw, 126px);
  line-height: .82;
  letter-spacing: -.07em;
}

.studio-final a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.studio-footer {
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
}

.studio-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  .studio-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .studio-two-col {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .studio-copy {
    padding-top: 0;
  }

  .works-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 48px 1fr;
  }

  .service-row p {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .studio-header {
    padding-top: max(8px, env(safe-area-inset-top));
  }

  .studio-brand strong {
    font-size: 9px;
  }

  .studio-hero {
    min-height: auto;
  }

  .studio-hero-content {
    padding: 88px 0 96px;
  }

  .studio-hero h1 {
    font-size: clamp(64px, 23vw, 98px);
  }

  .studio-hero .outline {
    margin-left: 5%;
  }

  .studio-hero-bottom {
    grid-template-columns: 1fr;
  }

  .round-link {
    width: 62px;
    height: 62px;
  }

  .studio-section {
    padding: 84px 0;
  }

  .service-row h3 {
    font-size: 27px;
  }

  .studio-final {
    padding: 100px 0 82px;
  }

  .studio-footer-inner {
    flex-direction: column;
  }
}
