:root {
  --bg: #111111;
  --surface: #161616;
  --surface-elevated: #1d1d1f;
  --ink: #f5f4f0;
  --ink-muted: #9a9892;
  --ink-dim: #66645f;
  --accent: #ffa800;
  --accent-ink: #111111;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --gutter: clamp(20px, 5vw, 64px);
  --max-w: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  min-height: 100svh;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  transition: top 0.18s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

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

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Fixed Top Header */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-block: 20px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.86) 0%, rgba(17, 17, 17, 0) 100%);
  pointer-events: none;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav a {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: opacity 0.25s var(--ease-out);
}

.brand:hover {
  opacity: 0.86;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-muted);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.72);
  backdrop-filter: blur(8px);
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 168, 0, 0.7);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(22, 22, 22, 0.76);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: border-color 0.22s var(--ease-out), transform 0.22s var(--ease-out), background-color 0.22s var(--ease-out);
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(29, 29, 31, 0.92);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Section 1: Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 112px;
  padding-bottom: 36px;
  background-color: var(--surface);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: contrast(1.04) brightness(0.92);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.78) 42%, rgba(17, 17, 17, 0.22) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.45) 0%, rgba(17, 17, 17, 0.1) 45%, rgba(17, 17, 17, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 7vh, 72px);
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(48px, 7.2vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.22s var(--ease-out), background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #ffb726;
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(22, 22, 22, 0.65);
  backdrop-filter: blur(8px);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(29, 29, 31, 0.9);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease-out);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}

.text-link:hover {
  color: var(--ink);
}

.text-link:hover::after {
  transform: scaleX(1);
}

/* Hero bottom index bar */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.disciplines-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-size: 11px;
  color: var(--ink-muted);
}

.disciplines-inline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.disciplines-inline b {
  color: var(--accent);
  font-weight: 500;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.clock {
  font-size: 11px;
  color: var(--ink-muted);
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 22, 22, 0.72);
  font-size: 11px;
  color: var(--ink-muted);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.motion-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

/* Entrance animation */
[data-enter] .enter-item {
  opacity: 0;
  transform: translateY(16px);
  animation: enterUp 0.8s var(--ease-out) forwards;
}

[data-enter] .enter-item:nth-child(2) { animation-delay: 0.08s; }
[data-enter] .enter-item:nth-child(3) { animation-delay: 0.16s; }
[data-enter] .enter-item:nth-child(4) { animation-delay: 0.24s; }

@keyframes enterUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section 2: Studio Overview & Direct Contact */
.closing {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(96px, 12vh, 132px);
  padding-bottom: 36px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.closing .wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 56px;
}

.closing-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.section-label {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
}

.craft-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.craft-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s var(--ease-out);
}

.craft-row:hover {
  border-bottom-color: var(--line-strong);
}

.craft-num {
  font-size: 12px;
  color: var(--ink-dim);
  padding-top: 4px;
  transition: color 0.25s var(--ease-out);
}

.craft-row:hover .craft-num {
  color: var(--accent);
}

.craft-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.craft-desc {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 48ch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.phone-link {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.2s var(--ease-out);
}

.phone-link:hover {
  color: var(--accent);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--ink-muted);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.copy-btn[data-copied="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.channel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.channel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
  transition: color 0.2s var(--ease-out), padding-left 0.25s var(--ease-out);
}

.channel-link span:last-child {
  font-size: 12px;
  color: var(--ink-muted);
}

.channel-link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.location-note {
  font-size: 14px;
  color: var(--ink-muted);
}

.legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .closing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .status-pill {
    display: none;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .hero-media video {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.68) 0%, rgba(17, 17, 17, 0.45) 38%, rgba(17, 17, 17, 0.94) 82%);
  }

  .cta-row {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .craft-row {
    grid-template-columns: 40px 1fr;
    padding-block: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-enter] .enter-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn,
  .nav-cta,
  .text-link::after,
  .channel-link,
  .copy-btn {
    transition: none;
  }
}
