:root {
  --bg: #090d14;
  --panel: #0f1624;
  --panel-2: rgba(15, 22, 36, 0.86);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.72);
  --accent: #7f4dff;
  --accent-2: #8fe5ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.hero-media,
.hero-shade,
.hero-grid-lines {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../assets/hero-impact.jpg") center center / cover no-repeat;
  transform: scale(1.05);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.16), rgba(7, 10, 16, 0.46) 34%, rgba(7, 10, 16, 0.84) 100%),
    radial-gradient(circle at center, rgba(127, 77, 255, 0.14), rgba(127, 77, 255, 0) 35%);
}

.hero-grid-lines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.25rem clamp(1.2rem, 2vw, 2.2rem) 1.8rem;
}

.site-header,
.hero-center,
.hero-bottom,
.focus-card,
.contact-copy,
.contact-form {
  min-width: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.hero-nav a,
.eyebrow,
.focus-card span,
.site-footer p {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-nav a,
.eyebrow {
  color: rgba(244, 247, 251, 0.74);
}

.hero-center {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 4rem 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 7.3rem);
  line-height: 0.92;
}

.lead {
  max-width: 46rem;
  margin: 1.35rem auto 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions,
.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.6rem;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.button.primary {
  background: linear-gradient(90deg, var(--accent), #ad6dff);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(127, 77, 255, 0.28);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible {
  transform: translate3d(0, -4px, 0);
}

.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-bottom article {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(10, 16, 26, 0.54);
  backdrop-filter: blur(14px);
}

.hero-bottom strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
}

.hero-bottom span,
.focus-card p,
.contact-copy p,
label span,
.form-note {
  color: var(--muted);
}

.hero-bottom span {
  display: block;
  margin-top: 0.8rem;
  line-height: 1.7;
}

.studio-section,
.contact-section {
  padding: clamp(1.2rem, 2vw, 2rem);
}

.section-head {
  margin-bottom: 1.1rem;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.focus-card {
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--panel);
}

.focus-card span {
  color: var(--accent-2);
}

.focus-card h3 {
  margin-top: 1rem;
  font-size: 1.8rem;
  line-height: 1.02;
}

.focus-card p,
.contact-copy p,
label {
  line-height: 1.75;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.contact-copy,
.contact-form {
  padding: clamp(1.4rem, 2vw, 2rem);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), var(--panel-2);
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.55rem;
}

label span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(127, 77, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(127, 77, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  padding-top: 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 660ms ease, transform 660ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1080px) {
  .hero-bottom,
  .focus-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-shell {
    padding: 1rem 1rem 1.35rem;
  }

  .site-header,
  .hero-nav,
  .form-actions {
    align-items: flex-start;
  }

  .site-header,
  .form-actions {
    flex-direction: column;
  }

  .row.two {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
