:root {
  --paper: #f3f1ec;
  --paper-2: #e8e4db;
  --ink: #161615;
  --ink-soft: #3c3b37;
  --muted: #6f6d67;
  --line: #d6d2c8;
  --accent: #1e3f3a;
  --accent-hover: #16322e;
  --on-accent: #f3f1ec;
  --header-h: 4.25rem;
  --max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
}

.skip:focus {
  top: 0.75rem;
  color: var(--paper);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

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

.mark {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-btn {
  display: none;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 50;
}

.menu-btn-bar {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked + .menu-btn .menu-btn-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle:checked + .menu-btn .menu-btn-bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta-right {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent) !important;
  border-color: var(--accent);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: transparent;
}

.band {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.band-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
}

.band-list li {
  padding: 1.15rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.band-list li:first-child {
  padding-left: var(--gutter);
}

.band-list li:last-child {
  padding-right: var(--gutter);
  border-right: 0;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}

.section-head h2 {
  margin: 0.85rem 0 0;
  font-family: var(--sans);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-intro {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.capability {
  padding: 2rem 1.75rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.capability:nth-child(odd) {
  padding-right: 2.5rem;
  border-right: 1px solid var(--line);
}

.capability:nth-child(even) {
  padding-left: 2.5rem;
}

.cap-num {
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.capability h3,
.steps h3 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.capability p,
.steps p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
}

.statement {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--gutter);
}

.statement blockquote {
  margin: 0 auto;
  max-width: var(--max);
}

.statement p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
  max-width: 20ch;
}

.steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 2rem 1.5rem 0 0;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps li:not(:first-child) {
  padding-left: 1.5rem;
}

.step-num {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.studio {
  border-top: 1px solid var(--line);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.studio-copy p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.studio-copy p:last-of-type {
  margin-bottom: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.contact-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-email {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.contact-email:hover {
  color: var(--accent);
}

.contact-note {
  margin: 1rem 0 1.5rem;
  color: var(--ink-soft);
}

.contact-card .btn {
  align-self: flex-start;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 2.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
}

.footer-name {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-tag {
  margin: 0.35rem 0 0;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.6rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-nav a {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--paper) 52%, transparent);
}

@media (max-width: 1040px) and (min-width: 861px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps li,
  .steps li:not(:first-child),
  .steps li:last-child {
    padding: 2rem 1.5rem 2rem 0;
    border-right: 1px solid var(--line);
  }

  .steps li:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 1.5rem;
  }

  .steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .menu-btn {
    display: flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--ink) 28%, transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 30;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(20rem, 86vw);
    background: var(--paper);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    z-index: 40;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: none;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    border: 1px solid var(--ink);
  }

  .hero h1 br {
    display: none;
  }

  .hero-meta-right {
    display: none;
  }

  .studio-grid,
  .contact-grid,
  .capability-grid,
  .steps,
  .band-list,
  .facts,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .band-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.05rem var(--gutter);
    white-space: normal;
  }

  .band-list li:last-child {
    border-bottom: 0;
  }

  .capability,
  .capability:nth-child(odd),
  .capability:nth-child(even),
  .steps li,
  .steps li:not(:first-child),
  .steps li:last-child {
    padding: 1.75rem 0;
    border-right: 0;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-btn-bar,
  .site-nav,
  .nav-backdrop {
    transition: none;
  }
}
