:root {
  --bg: #edf2f9;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --ink: #111826;
  --muted: #5f6b81;
  --line: rgba(17, 24, 38, 0.1);
  --line-strong: rgba(17, 24, 38, 0.16);
  --accent: #1b5cff;
  --accent-soft: #31d4c5;
  --accent-pale: rgba(27, 92, 255, 0.1);
  --shadow: 0 24px 70px rgba(17, 24, 38, 0.12);
  --shell: min(1280px, calc(100vw - 56px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--ink);
  background: #eef3fb;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
figure { margin: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #1f6bf0;
  box-shadow: 0 10px 30px rgba(27, 92, 255, 0.12);
}

.header-inner {
  width: var(--shell);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 700;
}

main,
.site-footer {
  width: var(--shell);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.96fr);
  grid-template-rows: auto auto;
  gap: 34px 44px;
  align-items: center;
  overflow: clip;
}

.hero-word {
  position: absolute;
  left: 0;
  top: 26px;
  font-family: Outfit, sans-serif;
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 24, 38, 0.08);
  pointer-events: none;
  user-select: none;
}

.hero-copy,
.hero-visual,
.hero-rail,
.studio-section,
.contact-section {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--accent);
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  line-height: 0.95;
}

.lead,
.studio-copy p,
.contact-copy p,
.hero-rail p,
.form-note {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 1rem;
}

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

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  will-change: transform;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #4169ff);
  box-shadow: 0 16px 36px rgba(27, 92, 255, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-strong);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: min(74vh, 720px);
  min-height: 480px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe7f4;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(17, 24, 38, 0.08));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-rail article,
.studio-card,
.contact-section {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(17, 24, 38, 0.08);
  backdrop-filter: blur(12px);
}

.hero-rail article {
  min-height: 170px;
  padding: 22px 22px 20px;
  border-radius: 24px;
}

.hero-rail span {
  display: inline-block;
  margin-bottom: 16px;
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-rail h2,
.section-head h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.hero-rail h2 {
  font-size: 1.26rem;
}

.hero-rail p {
  margin: 10px 0 0;
}

.studio-section {
  padding: 76px 0 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 12ch;
}

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

.studio-card {
  min-height: 348px;
  padding: 18px;
  border-radius: 28px;
  display: grid;
  gap: 18px;
}

.studio-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-soft);
}

.studio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-copy {
  padding: 0 4px 4px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.text-card {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(27, 92, 255, 0.08), rgba(49, 212, 197, 0.1)),
    rgba(255, 255, 255, 0.78);
}

.contact-section {
  margin-top: 76px;
  margin-bottom: 28px;
  padding: 30px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
  gap: 26px;
}

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

.contact-form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0.96rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(27, 92, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(27, 92, 255, 0.1);
}

textarea {
  min-height: 154px;
  resize: vertical;
}

.form-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  min-height: 24px;
  margin: 0;
}

.site-footer {
  padding: 10px 0 36px;
  display: flex;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

.tilt-card {
  will-change: transform;
  transition: transform 180ms ease;
}

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

  .hero-visual {
    height: min(58vh, 620px);
    min-height: 360px;
  }

  .hero-word {
    font-size: clamp(4rem, 18vw, 10rem);
  }

  .hero-rail,
  .studio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(1280px, calc(100vw - 22px));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding: 32px 0 20px;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 34px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .lead {
    max-width: none;
  }

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

  .button {
    width: 100%;
  }

  .hero-visual,
  .contact-section,
  .studio-card,
  .hero-rail article {
    border-radius: 22px;
  }

  .contact-section {
    padding: 22px;
  }
}
