:root {
  --orange: #ff7700;
  --black: #0b0b0b;
  --ink: #101010;
  --panel: #151515;
  --panel-soft: #1d1d1d;
  --white: #ffffff;
  --muted: #c7c7c7;
  --quiet: #8f969f;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 119, 0, 0.42);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 119, 0, 0.1) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 119, 0, 0.08), transparent 420px),
    var(--black);
  background-size: 56px 56px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 48px);
  background: rgba(11, 11, 11, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  width: 36px;
  min-width: 36px;
  text-decoration: none;
}

.header-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
  outline: none;
}

main {
  overflow-x: hidden;
}

.hero,
.section,
.site-footer {
  width: min(calc(100% - clamp(36px, 8vw, 96px)), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 69px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding-block: clamp(34px, 6vw, 76px);
}

.hero-content {
  min-width: 0;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.brand-lockup {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 20px;
}

.brand-mark {
  width: clamp(68px, 7vw, 96px);
  height: auto;
}

.brand-name {
  width: min(100%, 500px);
  height: auto;
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--orange);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-line span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  line-height: 0.92;
  font-weight: 950;
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 0.95;
  font-weight: 950;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.2;
}

.hero-copy,
.section-heading p,
.contact-card p,
.service-card p,
.work-card p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--black);
}

.button:hover,
.button:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.studio-panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(255, 119, 0, 0.18), rgba(255, 255, 255, 0.025) 42%),
    var(--panel);
  border: 1px solid var(--line);
  border-top: 7px solid var(--orange);
}

.panel-kicker,
.eyebrow,
.work-type {
  margin-bottom: 0;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-stats {
  display: grid;
  gap: 18px;
  margin: 0;
}

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

.studio-stats dt {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-stats dd {
  margin: 7px 0 0;
  color: var(--white);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 800;
  line-height: 1.35;
}

.section {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  padding-block: clamp(56px, 9vw, 104px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading p {
  margin-bottom: 0;
}

.service-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.work-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
  content: "";
  width: 42px;
  height: 6px;
  background: var(--orange);
}

.service-card p,
.work-card p {
  margin-bottom: 0;
}

.work-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-card {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 119, 0, 0.13), transparent 48%),
    var(--panel);
}

.instagram-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--orange);
  color: var(--black);
  font-weight: 950;
  text-decoration: none;
}

.instagram-strip strong {
  white-space: nowrap;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 18px;
  align-items: start;
}

.intake-form,
.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
}

.intake-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intake-form label:nth-child(4),
.intake-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  padding: 12px 13px;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.2);
}

.contact-card {
  gap: 18px;
}

.contact-card a {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 950;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 32px 52px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: min(240px, 52vw);
  height: auto;
}

.site-footer p {
  margin: 0;
  color: var(--quiet);
  font-weight: 800;
}

.mobile-contact-bar {
  display: none;
}

@media (min-width: 641px) {
  .mobile-contact-bar {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .hero,
  .section-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .studio-panel {
    max-width: 560px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    align-items: flex-start;
    padding-block: 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.74rem;
  }

  .hero,
  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    padding-block: 32px 52px;
  }

  .brand-lockup {
    justify-items: center;
  }

  .service-line {
    justify-content: center;
    text-align: center;
  }

  h1,
  h2 {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.45rem, 12.5vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-actions,
  .instagram-strip,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .work-grid,
  .intake-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .work-card {
    min-height: auto;
  }

  .instagram-strip strong {
    white-space: normal;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 11, 0.94);
    border-top: 1px solid var(--line-strong);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--black);
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}
