:root {
  --bg: #f5f9ff;
  --panel: #ffffff;
  --line: rgba(17, 28, 39, 0.1);
  --text: #0e1623;
  --muted: #5f6d7a;
  --accent: #1b63ff;
  --accent-soft: rgba(27, 99, 255, 0.12);
}

* {
  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;
}

.site-shell {
  overflow: clip;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  color: #f8fbff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 11, 22, 0.18), rgba(5, 11, 22, 0.36) 34%, rgba(7, 12, 20, 0.74) 100%),
    linear-gradient(90deg, rgba(4, 16, 32, 0.72), rgba(4, 16, 32, 0.16) 46%, rgba(4, 16, 32, 0.58) 100%);
}

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

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

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

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

.brand {
  color: #ffffff;
}

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

.hero-nav a {
  color: rgba(248, 251, 255, 0.76);
}

.hero-nav a:hover,
.hero-nav a:focus-visible {
  color: #ffffff;
}

.hero-copy {
  align-self: end;
  max-width: 44rem;
  padding-bottom: clamp(2rem, 6vh, 4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(248, 251, 255, 0.76);
}

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

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

.lead {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: rgba(248, 251, 255, 0.82);
}

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

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

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

.button.primary {
  background: #ffffff;
  color: var(--text);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  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-rail {
  align-self: end;
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(1.2rem, 4vh, 2.2rem);
}

.hero-rail article {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.rail-label {
  color: rgba(248, 251, 255, 0.72);
}

.hero-rail p {
  margin: 0.85rem 0 0;
  line-height: 1.7;
  color: rgba(248, 251, 255, 0.84);
}

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

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

.section-grid,
.contact-wrap {
  display: grid;
  gap: 1rem;
}

.section-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  border-radius: 34px;
  background: rgba(245, 249, 255, 0.98);
  box-shadow: 0 20px 44px rgba(14, 22, 35, 0.08);
}

.section-copy {
  padding: clamp(0.55rem, 1vw, 0.9rem) clamp(0.2rem, 0.6vw, 0.5rem) 0 0;
}

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

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: clamp(0.45rem, 0.8vw, 0.8rem);
}

.focus-card {
  padding: 1.35rem;
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 24px 50px rgba(14, 22, 35, 0.08);
}

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

.focus-card h3 {
  margin-top: 1rem;
  font-size: 1.8rem;
  line-height: 1.02;
  color: var(--text);
}

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

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

.contact-wrap {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(27, 99, 255, 0.07), rgba(255, 255, 255, 0.96));
}

.contact-copy,
.contact-form {
  padding: clamp(1.4rem, 2vw, 2rem);
  border-radius: 28px;
  background: #ffffff;
}

.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 var(--line);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(27, 99, 255, 0.34);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

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

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

.site-footer p {
  margin: 0;
  color: var(--muted);
}

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

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

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

  .hero-copy,
  .hero-rail {
    padding-bottom: 0;
  }

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

  .section-copy,
  .focus-list {
    padding-top: 0;
  }
}

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

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

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

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

  .button {
    width: 100%;
  }
}
