:root {
  --bg: #f7f6f2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --ink: #101828;
  --muted: #5f6575;
  --line: rgba(16, 24, 40, 0.08);
  --line-strong: rgba(16, 24, 40, 0.14);
  --blue: #2863f6;
  --orange: #ff7a59;
  --mint: #6fd2c6;
  --yellow: #f1c85f;
  --shadow: 0 26px 70px rgba(16, 24, 40, 0.09);
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 122, 89, 0.12), transparent 20%),
    radial-gradient(circle at 84% 12%, rgba(40, 99, 246, 0.14), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(111, 210, 198, 0.12), transparent 18%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, .brand { font-family: Outfit, sans-serif; letter-spacing: 0; }

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

.hero-shell {
  position: relative;
  min-height: 100vh;
  padding: 26px 0 34px;
  overflow: clip;
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shell::before {
  width: 260px;
  height: 260px;
  left: -110px;
  top: 140px;
  background: rgba(255, 122, 89, 0.08);
}

.hero-shell::after {
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: 24px;
  background: rgba(40, 99, 246, 0.08);
}

.site-header {
  position: relative;
  z-index: 3;
  min-height: 58px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: 1.34rem;
  font-weight: 800;
}

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

.main-nav a {
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 28px 44px;
  align-items: start;
  padding-top: 18px;
}

.hero-layout > *,
.focus-grid > *,
.text-card > *,
.contact-section > * {
  min-width: 0;
}

.hero-copy {
  padding: 46px 0 10px;
}

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

.eyebrow.dark {
  color: rgba(255, 255, 255, 0.76);
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.6rem, 6.1vw, 6.9rem);
  line-height: 0.92;
}

.lead,
.focus-copy p,
.contact-panel p,
.form-note,
.hero-tags span,
.orbit-card span {
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  max-width: 52ch;
  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: 28px;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff966b);
  box-shadow: 0 16px 34px rgba(255, 122, 89, 0.26);
}

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

.button.dark {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #20304f);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

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

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
  font-size: 0.94rem;
}

.hero-stage {
  position: relative;
  min-height: 660px;
}

.blob {
  position: absolute;
  inset: auto;
}

.blob-back {
  width: 92%;
  height: 92%;
  right: 0;
  top: 42px;
  border-radius: 45% 55% 58% 42% / 42% 40% 60% 58%;
  background:
    linear-gradient(145deg, rgba(111, 210, 198, 0.32), rgba(40, 99, 246, 0.18)),
    rgba(255, 255, 255, 0.55);
}

.blob-front {
  position: absolute;
  right: 24px;
  top: 0;
  width: 86%;
  min-height: 590px;
  padding: 38px;
  border-radius: 40% 60% 54% 46% / 42% 40% 60% 58%;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    var(--surface-solid);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blob-front img {
  width: 100%;
  height: 100%;
  min-height: 514px;
  object-fit: contain;
}

.orbit-card {
  position: absolute;
  min-width: 180px;
  max-width: 220px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08);
}

.orbit-card.top {
  left: 8px;
  top: 92px;
  border-radius: 26px 26px 26px 10px;
}

.orbit-card.bottom {
  right: 0;
  bottom: 50px;
  border-radius: 26px 26px 10px 26px;
}

.orbit-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: Outfit, sans-serif;
  font-size: 1.06rem;
}

.focus-section {
  padding: 18px 0 0;
}

.section-head {
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.focus-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 44px rgba(16, 24, 40, 0.07);
  overflow: hidden;
}

.large-card {
  border-radius: 38px 86px 42px 42px;
}

.offset-card {
  margin-top: 74px;
  border-radius: 96px 38px 40px 54px;
}

.text-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 0.55fr);
  gap: 18px;
  border-radius: 44px 44px 96px 38px;
}

.focus-media {
  overflow: hidden;
  border-radius: 28px;
  background: #e9eef8;
}

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

.large-card .focus-media,
.offset-card .focus-media {
  aspect-ratio: 16 / 10;
}

.small-media {
  min-height: 200px;
}

.focus-copy {
  padding: 18px 6px 8px;
}

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

.contact-section {
  margin: 78px 0 28px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
  gap: 22px;
  align-items: stretch;
  border-radius: 48px 48px 110px 48px;
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.96), rgba(33, 48, 79, 0.94)),
    #0f172a;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.16);
}

.contact-panel {
  padding: 8px 6px 8px 4px;
  color: #f8fafc;
}

.contact-panel h2 {
  max-width: 10ch;
}

.contact-panel p:last-child {
  color: rgba(248, 250, 252, 0.72);
}

.contact-form {
  padding: 22px;
  border-radius: 34px 34px 82px 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  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;
  color: #f8fafc;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 122, 89, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.16);
}

textarea {
  min-height: 152px;
  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;
  color: rgba(248, 250, 252, 0.72);
}

.site-footer {
  padding: 10px 0 34px;
  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-layout,
  .contact-section,
  .text-card,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-stage {
    min-height: 560px;
  }

  .offset-card {
    margin-top: 0;
  }

  .text-card {
    grid-column: auto;
  }
}

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

  .hero-shell {
    padding-top: 10px;
  }

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

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

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

  h1 {
    max-width: 8ch;
    font-size: 1.95rem;
  }

  .lead {
    max-width: none;
  }

  .hero-stage {
    min-height: 470px;
    overflow: hidden;
  }

  .blob-front {
    right: 0;
    width: 100%;
    min-height: 420px;
    padding: 24px;
  }

  .blob-front img {
    min-height: 360px;
  }

  .orbit-card {
    min-width: 0;
    max-width: 180px;
    padding: 14px 14px 12px;
  }

  .orbit-card.top {
    left: 8px;
    top: 48px;
  }

  .orbit-card.bottom {
    right: 8px;
    bottom: 18px;
  }

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

  .button {
    width: 100%;
  }

  .contact-section,
  .contact-form,
  .large-card,
  .offset-card,
  .text-card {
    border-radius: 26px;
  }

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