:root {
  --ink: #151414;
  --paper: #fff8ef;
  --muted: #766f67;
  --line: rgba(21, 20, 20, 0.15);
  --ember: #ff6a3d;
  --teal: #00b8b0;
  --gold: #f6b94b;
  --plum: #4a255d;
  --night: #17161b;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fffaf2;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 248, 239, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ember);
  color: #fffaf2;
  border: 2px solid rgba(255, 250, 242, 0.8);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 750;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 64px) 86px;
  color: #fffaf2;
  isolation: isolate;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  z-index: -3;
  object-fit: cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 13, 16, 0.9), rgba(16, 13, 16, 0.5) 48%, rgba(16, 13, 16, 0.36)),
    linear-gradient(0deg, rgba(16, 13, 16, 0.88), rgba(16, 13, 16, 0.04) 42%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.studio h2,
.contact h2 {
  margin: 0;
  max-width: 900px;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(4.6rem, 11vw, 9.2rem);
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(1.12rem, 2.3vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
}

.button-primary {
  background: var(--ember);
  color: #fffaf2;
}

.button-primary:hover {
  background: #ff7b53;
}

.button-secondary {
  border: 1px solid rgba(255, 250, 242, 0.72);
  color: #fffaf2;
}

.button-secondary:hover {
  border-color: #fffaf2;
  background: rgba(255, 250, 242, 0.1);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 250, 242, 0.68);
  border-radius: 999px;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 9px;
  margin: 9px auto;
  border-radius: 999px;
  background: var(--gold);
}

.intro,
.studio,
.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 76px 0 58px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
}

.intro h2,
.studio h2,
.contact h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.3rem);
}

.intro p,
.studio-copy p,
.feature-card p,
.studio-panel span {
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.feature-card {
  min-height: 300px;
  padding: clamp(26px, 4vw, 46px);
  background: #fffdf8;
}

.feature-number {
  color: var(--teal);
  font-weight: 900;
}

.feature-card h3 {
  margin: 80px 0 14px;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  line-height: 1;
}

.feature-card p {
  max-width: 360px;
  margin: 0;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  padding: 92px 0;
}

.studio .section-kicker,
.contact .section-kicker {
  color: var(--plum);
}

.studio-copy p {
  max-width: 610px;
  margin: 26px 0 0;
}

.studio-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--night);
  color: #fffaf2;
  box-shadow: 10px 10px 0 var(--gold);
}

.studio-panel p,
.studio-panel strong,
.studio-panel span {
  margin: 0;
}

.studio-panel p {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-panel strong {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
}

.studio-panel span {
  color: rgba(255, 250, 242, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.contact-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 6px 6px 0 var(--teal);
}

.contact-link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 8px 8px 0 var(--teal);
}

.legal-action {
  margin-top: 10px;
  background: #fffdf8;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: rgba(255, 250, 242, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #fffaf2;
  font-weight: 800;
}

.legal-page {
  background: #fffdf8;
}

.legal-header {
  position: sticky;
  background: rgba(255, 248, 239, 0.96);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.legal-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.legal-document {
  color: #2f3348;
}

.legal-document a {
  color: #5f4fd1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero,
.summary,
.contact-card {
  border: 1px solid #d9d2f5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(62, 66, 92, 0.08);
}

.legal-hero {
  padding: clamp(24px, 5vw, 42px);
}

.legal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-hero p,
.legal-document li {
  font-size: 1rem;
}

.legal-document .meta {
  color: var(--muted);
}

.legal-document h2,
.legal-document h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.legal-document h2 {
  margin: 2.1em 0 0.55em;
  padding-top: 1em;
  border-top: 2px solid #d9d2f5;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.legal-document h3 {
  margin: 1.5em 0 0.45em;
  font-size: 1.08rem;
}

.legal-document p,
.legal-document li {
  color: #555b74;
}

.summary,
.contact-card {
  margin: 22px 0;
  padding: 20px;
  background: #f7f3ff;
}

.summary h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
  margin: 24px 0 8px;
  padding: 18px;
  border: 1px solid #d9d2f5;
  border-radius: 8px;
  background: #ffffff;
}

.toc a {
  font-weight: 800;
  text-decoration: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d9d2f5;
  border-radius: 8px;
}

.legal-document table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

.legal-document th,
.legal-document td {
  padding: 12px;
  border-bottom: 1px solid #e7e1fa;
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  background: #f2edff;
  color: var(--ink);
}

.tag {
  display: inline-flex;
  margin: 6px 6px 0 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9fff2;
  color: #24523a;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 780px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 20px;
    background: rgba(255, 248, 239, 0.96);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .site-nav.is-open {
    display: grid;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }

  .hero {
    min-height: 90svh;
    padding: 112px 20px 78px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 13, 16, 0.88), rgba(16, 13, 16, 0.45)),
      linear-gradient(0deg, rgba(16, 13, 16, 0.88), rgba(16, 13, 16, 0.08) 56%);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .button {
    width: 100%;
  }

  .intro-grid,
  .studio,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-card h3 {
    margin-top: 46px;
  }

  .contact-link {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-shell {
    width: min(100% - 28px, 980px);
    padding-top: 32px;
  }
}
