:root {
  --bg: #e8edf2;
  --bg-soft: #f4f7fa;
  --ink: #12161c;
  --mute: #5a6572;
  --line: rgba(18, 22, 28, 0.1);
  --steel: #3d4a5c;
  --signal: #d9f5ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-soft);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 48px);
  color: #fff;
  background: rgba(10, 16, 24, 0.26);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
  transition: color 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.is-scrolled {
  color: var(--ink);
  background: rgba(244, 247, 250, 0.92);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(18, 22, 28, 0.06);
}

.nav a {
  pointer-events: auto;
}

.nav-brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
}

.nav-brand span {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid currentColor;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.68;
}

.nav-cta {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: inherit;
  padding: 10px 18px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.nav-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.nav.is-scrolled .nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* —— 1. Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #c5d0dc;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  transform: scale(1.04);
  filter: brightness(1.18) contrast(1.05) saturate(1.05);
  animation: ken 28s ease-in-out infinite alternate;
}

@keyframes ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1%, -0.5%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(232, 237, 242, 0.35) 0%,
      rgba(232, 237, 242, 0.12) 28%,
      rgba(18, 22, 28, 0.25) 55%,
      rgba(18, 22, 28, 0.55) 78%,
      var(--bg-soft) 100%);
  pointer-events: none;
}

.anchor {
  position: absolute;
  inset: 0 auto auto;
}

.hero-status {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(52px, 10vh, 92px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  min-width: min(420px, 42vw);
  color: #fff;
  background: rgba(10, 16, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-status div {
  padding: 14px 16px;
}

.hero-status div+div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-status dt {
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.58;
}

.hero-status dd {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 4px 1px 0;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 72px) clamp(48px, 10vh, 88px);
  max-width: 1100px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 9.5vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.05s var(--ease) 0.12s forwards;
}

.brand span {
  display: block;
  color: #e8eef5;
  font-weight: 500;
}

.lede {
  max-width: 34ch;
  font-size: clamp(16px, 2.1vw, 20px);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.05s var(--ease) 0.3s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.05s var(--ease) 0.48s forwards;
}

.btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.hero .btn-primary {
  background: #fff;
  color: #12161c;
  border-color: #fff;
}

.hero .btn-primary:hover {
  background: transparent;
  color: #fff;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn-ghost:hover {
  background: #fff;
  color: #12161c;
}

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

/* —— 2. Story —— */
.story {
  padding: clamp(56px, 10vh, 100px) clamp(20px, 5vw, 72px) clamp(40px, 8vh, 72px);
  background: var(--bg-soft);
  position: relative;
  z-index: 2;
}

.story-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}

.story h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 5.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 16px;
  color: var(--ink);
}

.story p {
  max-width: 40ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--mute);
  line-height: 1.5;
  margin-bottom: 22px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  margin: 0 0 30px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list li {
  padding: 16px 12px 16px 0;
}

.feature-list li+li {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.feature-list span {
  color: var(--mute);
  font-size: 11px;
  line-height: 1.35;
}

.shots {
  display: grid;
  gap: 12px;
}

.shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #d5dde6;
  box-shadow: 0 12px 40px rgba(18, 22, 28, 0.08);
}

.shot:last-child {
  aspect-ratio: 16 / 9;
}

.shot img {
  transition: transform 1.2s var(--ease);
  filter: brightness(1.08);
}

.shot:hover img {
  transform: scale(1.04);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(8, 13, 19, 0.72));
  pointer-events: none;
}

.shot figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shot figcaption span {
  opacity: 0.6;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

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

/* —— 3. Close —— */
.close {
  padding: clamp(48px, 9vh, 88px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--bg);
}

.close h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--ink);
}

.close p {
  color: var(--mute);
  margin-bottom: 24px;
  font-size: 16px;
}

footer {
  padding: 22px clamp(20px, 5vw, 72px) 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.06em;
}

footer .mark {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-links a {
  border-bottom: 1px solid rgba(18, 22, 28, 0.2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 899px) {
  .hero-status {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav-brand span {
    display: none;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list li {
    padding: 12px 0;
  }

  .feature-list li+li {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .brand,
  .lede,
  .cta-row,
  .reveal,
  .hero-media img {
    opacity: 1;
    transform: none;
  }
}