:root {
  --ink: #10141c;
  --ink-soft: #3a4250;
  --paper: #f3f5f7;
  --mist: #e4e9ef;
  --line: rgba(16, 20, 28, 0.12);
  --accent: #d61f26;
  --accent-deep: #a8161c;
  --hero-fog: linear-gradient(
    105deg,
    rgba(8, 10, 14, 0.78) 0%,
    rgba(8, 10, 14, 0.42) 48%,
    rgba(8, 10, 14, 0.18) 100%
  );
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #dfe7f0 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ece4dc 0%, transparent 45%),
    var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
.brand,
.brand-mark {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space);
  background: rgba(243, 245, 247, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 245, 247, 0.92);
}

.brand {
  font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f8fa;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--hero-fog);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 9rem) var(--space) clamp(3rem, 8vh, 5rem);
}

.brand-mark {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards 0.15s;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 700;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards 0.32s;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: rgba(247, 248, 250, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards 0.48s;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards 0.64s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  border-color: rgba(247, 248, 250, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--space);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
}

.section-lede {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.stories {
  background:
    linear-gradient(180deg, rgba(228, 233, 239, 0.65), transparent 40%),
    var(--paper);
}

.focus-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.focus-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) 1fr;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.focus-list strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.focus-list span {
  color: var(--ink-soft);
}

.youtube {
  background:
    linear-gradient(135deg, #1a2230 0%, #10141c 55%, #1c1514 100%);
  color: #f4f6f8;
}

.youtube .eyebrow {
  color: #ff6b6f;
}

.youtube .section-lede,
.youtube .plain-list {
  color: rgba(244, 246, 248, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: end;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.plain-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 500;
}

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.contact {
  background:
    radial-gradient(700px 320px at 80% 20%, rgba(214, 31, 38, 0.12), transparent 60%),
    linear-gradient(180deg, #e9eef3, var(--paper));
}

.contact-inner {
  max-width: 40rem;
}

.contact .btn {
  margin-top: 1.75rem;
}

.site-footer {
  padding: 2.5rem var(--space) 3rem;
  border-top: 1px solid var(--line);
  background: #eceff3;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-inner .brand {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-inner p {
  margin: 0.25rem 0;
  color: var(--ink-soft);
  max-width: 28rem;
}

.legal {
  margin-top: 1.25rem !important;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 3.6rem 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--space) 1rem;
    background: rgba(243, 245, 247, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-list li,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .brand-mark,
  .hero h1,
  .lede,
  .cta-row,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
