:root {
  --bg: #f3efe9;
  --paper: rgba(255, 250, 244, 0.86);
  --paper-strong: rgba(255, 252, 248, 0.94);
  --ink: #1e2a31;
  --ink-soft: #58636a;
  --line: rgba(30, 42, 49, 0.12);
  --line-strong: rgba(30, 42, 49, 0.2);
  --accent: #314fc6;
  --accent-soft: rgba(49, 79, 198, 0.11);
  --accent-deep: #203073;
  --warm: #d8b98c;
  --hero-shadow: 0 35px 90px rgba(18, 27, 36, 0.18);
  --glass-shadow: 0 18px 50px rgba(18, 27, 36, 0.08);
  --max: 1240px;
  --page: 760px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 32%),
    radial-gradient(circle at bottom right, rgba(49, 79, 198, 0.09), transparent 25%),
    var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.home-body {
  background:
    linear-gradient(180deg, rgba(250, 247, 241, 0.88) 0%, rgba(243, 239, 233, 1) 100%);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand-name,
.home-wordmark,
.section-label,
.quote-mark,
.hero-kicker,
.hero-note,
.paper-kicker,
.site-footer-links a,
.nav-link,
.meta,
.eyebrow {
  font-family: "Newsreader", Georgia, serif;
}

p,
li {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink);
}

.page {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6d8693, #33586f);
  box-shadow: 0 0 0 10px rgba(51, 88, 111, 0.07);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.95rem;
}

.content {
  padding: 34px 24px 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead {
  max-width: 42rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.meta {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.card {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--ink-soft);
}

.footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

ul,
ol {
  padding-left: 20px;
}

code {
  padding: 0.12rem 0.32rem;
  border-radius: 8px;
  background: rgba(22, 42, 54, 0.06);
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 0.92em;
}

.home-nav {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(253, 248, 242, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 34px rgba(16, 22, 31, 0.08);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.home-nav.scrolled {
  background: rgba(248, 242, 236, 0.9);
  box-shadow: 0 16px 38px rgba(16, 22, 31, 0.12);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-brandmark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(49, 79, 198, 0.18);
  flex-shrink: 0;
}

.home-brandmark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-brandcopy {
  display: grid;
  gap: 2px;
}

.home-wordmark {
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.home-brandtag {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.home-navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 1rem;
  color: rgba(30, 42, 49, 0.78);
  transition: color 180ms ease;
}

.nav-link:hover,
.site-footer-links a:hover {
  color: var(--accent);
}

.nav-button,
.hero-button,
.hero-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-button,
.hero-button {
  background: linear-gradient(180deg, #3754d5 0%, #2d45b5 100%);
  color: white;
  box-shadow: 0 18px 36px rgba(49, 79, 198, 0.24);
}

.nav-button:hover,
.hero-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(49, 79, 198, 0.28);
}

.hero-button-secondary {
  background: rgba(255, 251, 246, 0.18);
  color: #f7efe7;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px);
}

.hero-button-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 251, 246, 0.24);
}

.hero-poster {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #11181d;
}

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

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 21, 0.78) 0%, rgba(10, 16, 21, 0.45) 36%, rgba(10, 16, 21, 0.12) 68%),
    linear-gradient(180deg, rgba(10, 16, 21, 0.38) 0%, rgba(10, 16, 21, 0.16) 28%, rgba(10, 16, 21, 0.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 44px), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  align-items: end;
  padding: 148px 0 44px;
}

.hero-copy {
  max-width: 620px;
  color: #f7efe7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 249, 242, 0.12);
  border: 1px solid rgba(255, 249, 242, 0.18);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 8ch;
  font-size: clamp(4.1rem, 10vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.hero-text {
  margin-top: 22px;
  max-width: 32rem;
  font-size: 1.16rem;
  line-height: 1.72;
  color: rgba(247, 239, 231, 0.82);
}

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

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 1.05rem;
  color: rgba(247, 239, 231, 0.84);
}

.hero-note::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(247, 239, 231, 0.5);
}

.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-delay-1 { animation-delay: 0.06s; }
.hero-delay-2 { animation-delay: 0.16s; }
.hero-delay-3 { animation-delay: 0.3s; }
.hero-delay-4 { animation-delay: 0.42s; }

.story {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 56px 0 78px;
}

.scene {
  padding: 88px 0;
  border-top: 1px solid rgba(30, 42, 49, 0.08);
}

.scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.scene-grid.reverse {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.scene-grid.reverse .scene-copy {
  order: 2;
}

.scene-grid.reverse .scene-media {
  order: 1;
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.scene-title {
  max-width: 11ch;
  font-size: clamp(2.9rem, 5vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.scene-text {
  max-width: 32rem;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.78;
}

.scene-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.scene-point {
  padding-top: 14px;
  border-top: 1px solid rgba(30, 42, 49, 0.1);
}

.scene-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.scene-media {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--hero-shadow);
  background: #dad5cf;
}

.scene-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  pointer-events: none;
}

.scene-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.scene-media:hover img {
  transform: scale(1.04);
}

.artifact {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(245, 239, 231, 0.94) 100%);
  border: 1px solid rgba(30, 42, 49, 0.09);
  box-shadow: 0 24px 54px rgba(30, 42, 49, 0.08);
}

.paper-kicker {
  color: var(--accent);
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paper-title {
  margin-top: 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.paper-copy {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.88;
}

.quote-mark {
  display: inline-block;
  margin-right: 6px;
  color: var(--warm);
  font-size: 2rem;
  line-height: 0.8;
}

.wide-band {
  position: relative;
  display: grid;
  gap: 24px;
  margin: 20px 0 88px;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--hero-shadow);
}

.wide-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.2) 0%, rgba(16, 21, 26, 0.58) 100%),
    linear-gradient(90deg, rgba(16, 21, 26, 0.64) 0%, rgba(16, 21, 26, 0.18) 70%);
}

.wide-band > * {
  position: relative;
  z-index: 1;
  color: #f9f3eb;
}

.wide-band .section-label {
  color: #f1dfc4;
}

.wide-band h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.wide-band p {
  max-width: 35rem;
  color: rgba(249, 243, 235, 0.82);
  font-size: 1.08rem;
}

.trust-section {
  padding-bottom: 20px;
}

.trust-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(30, 42, 49, 0.1);
}

.trust-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.trust-label {
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trust-row p {
  font-size: 1.05rem;
  color: var(--ink);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.link-row a {
  font-weight: 600;
  color: var(--accent);
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 0 0 46px;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(30, 42, 49, 0.1);
}

.site-footer-copy {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer-links a {
  color: rgba(30, 42, 49, 0.76);
  transition: color 180ms ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.12) translate3d(-1.2%, -1.5%, 0);
  }
}

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

  .hero-media img,
  .hero-reveal,
  .reveal-on-scroll,
  .scene-media img,
  .nav-button,
  .hero-button,
  .hero-button-secondary {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 980px) {
  .home-nav {
    inset: 12px 14px auto;
    width: calc(100% - 28px);
  }

  .home-navlinks {
    gap: 16px;
  }

  .hero-inner {
    padding-top: 136px;
  }

  .scene-grid,
  .scene-grid.reverse,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .scene-grid.reverse .scene-copy,
  .scene-grid.reverse .scene-media {
    order: initial;
  }

  .scene-title,
  .wide-band h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .home-nav {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }

  .home-navlinks {
    flex-wrap: wrap;
  }

  .nav-button {
    width: 100%;
  }

  .hero-inner {
    width: min(calc(100% - 26px), var(--max));
    padding: 170px 0 34px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 16vw, 5.6rem);
    max-width: 9ch;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .story,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .scene,
  .wide-band {
    padding-left: 22px;
    padding-right: 22px;
  }

  .wide-band {
    margin-bottom: 64px;
  }

  .artifact {
    padding: 24px;
  }

  .scene-media img {
    min-height: 420px;
  }

  .page {
    width: min(calc(100% - 20px), var(--page));
    padding-top: 10px;
  }

  .nav,
  .content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }
}
