@font-face {
  font-family: "Croco Rounded";
  src: url("/assets/fonts/crocodaddy-display-rounded-heavy.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  color-scheme: light;
  --forest-950: #112218;
  --forest-900: #1a3020;
  --forest-800: #29442c;
  --forest-700: #3d5c35;
  --forest-600: #587640;
  --moss-300: #b8c99d;
  --moss-100: #e8eddd;
  --cream-50: #fffaf0;
  --cream-100: #f8f0df;
  --cream-200: #eee0c6;
  --amber: #f2bd4d;
  --amber-strong: #e4a92d;
  --ink: #152118;
  --muted: #607064;
  --white: #ffffff;
  --line: rgba(30, 57, 35, 0.14);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --shadow-soft: 0 24px 70px rgba(34, 55, 31, 0.12);
  --shadow-card: 0 18px 42px rgba(30, 54, 29, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Croco Rounded", "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream-100);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--cream-100);
  color: var(--ink);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--forest-950);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - clamp(48px, 2.5vw, 120px)), clamp(1280px, 66.667vw, 2560px));
  margin: 0 auto;
}

.section-pad {
  padding: clamp(132px, min(6.875vw, 14svh), 260px) 0;
}

.button {
  display: inline-flex;
  min-height: clamp(50px, min(2.61vw, 5.2svh), 84px);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: clamp(14px, min(0.73vw, 1.5svh), 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease;
}

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

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #f7ead2;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: clamp(72px, 8svh, 116px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 240, 0) 0%,
    rgba(255, 250, 240, 0.12) 26%,
    rgba(255, 250, 240, 0.48) 62%,
    rgba(255, 250, 240, 0.88) 86%,
    var(--cream-50) 100%
  );
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 48%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 48%, #000 100%);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 1100ms ease,
    transform 7000ms linear;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-haze {
  display: none;
}

.hero-brand {
  position: absolute;
  top: clamp(20px, 1.25vw, 48px);
  left: clamp(20px, 1.25vw, 48px);
  z-index: 1;
  margin: 0;
  color: var(--forest-950);
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: clamp(22px, min(max(26px, 1.35vw), 3.4svh), 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-content {
  width: min(calc(100% - clamp(48px, 2.5vw, 120px)), clamp(1280px, 66.667vw, 2560px));
  min-height: max(760px, 100svh);
  margin: 0 auto;
  padding: clamp(82px, min(4.27vw, 10svh), 150px) 0 clamp(64px, min(3.34vw, 8svh), 112px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-content > * {
  width: min(43%, max(540px, 35vw));
}

.hero-scroll-cue {
  position: absolute;
  top: calc(min(100svh, 100%) - clamp(62px, 6.5svh, 96px));
  bottom: auto;
  left: 50%;
  z-index: 4;
  min-height: clamp(38px, 2vw, 64px);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 252, 239, 0.92);
  text-shadow:
    0 1px 2px rgba(12, 25, 16, 0.72),
    0 3px 12px rgba(12, 25, 16, 0.42);
  transform: translateX(-50%);
  animation: hero-scroll-breathe 2.4s ease-in-out infinite;
}

.hero-scroll-cue strong {
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: clamp(12px, min(max(12px, 0.625vw), 1.5svh), 20px);
  font-weight: 800;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.hero-scroll-cue span {
  font-size: clamp(10px, min(max(10px, 0.52vw), 1.3svh), 17px);
  opacity: 0.88;
}

@keyframes hero-scroll-breathe {
  0%,
  100% {
    opacity: 0.58;
    transform: translate(-50%, 0) scale(0.98);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -7px) scale(1);
  }
}

.eyebrow {
  margin: 0 0 clamp(18px, min(0.94vw, 2svh), 30px);
  color: var(--forest-700);
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: clamp(13px, min(max(13px, 0.68vw), 1.6svh), 22px);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.experience-copy h2,
.guardian-copy h2,
.closing-shell h2,
.agent-stage h3 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(56px, min(max(clamp(56px, 5vw, 76px), 4vw), 10svh), 160px);
  line-height: 1.14;
}

@media (min-width: 1440px) {
  .hero h1 {
    position: relative;
    left: clamp(-100px, -2.7vw, -52px);
  }
}

.button {
  min-width: 144px;
  padding: 0 clamp(26px, min(1.36vw, 2.9svh), 44px);
}

.button-primary {
  background: var(--amber);
  color: #23351e;
  box-shadow: 0 12px 30px rgba(198, 145, 30, 0.2);
}

.button-primary:hover {
  background: var(--amber-strong);
  box-shadow: 0 16px 34px rgba(172, 122, 19, 0.24);
}

.agent-section {
  position: relative;
  overflow: clip;
  background: var(--cream-50);
}

.agent-section-shell {
  width: 100%;
}

.agent-section-intro {
  min-height: clamp(460px, 62svh, 720px);
  padding-top: clamp(96px, 14svh, 180px);
  padding-bottom: clamp(84px, 12svh, 150px);
  display: flex;
  align-items: center;
}

.section-heading.agent-section-heading {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: clamp(68px, 8vw, 150px);
}

.agent-section-heading > div {
  display: block;
}

.agent-section-heading > p:last-child {
  max-width: 620px;
  margin: 0 0 0 auto;
  font-size: clamp(16px, min(max(16px, 0.84vw), 2.2svh), 28px);
}

.section-heading.agent-section-heading h2 {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(48px, min(max(clamp(48px, 4.25vw, 76px), 4vw), 10svh), 150px);
  line-height: 1.08;
  white-space: nowrap;
}

.agent-section-heading h2::after {
  content: "";
  position: absolute;
  top: 46%;
  right: -42px;
  width: 30px;
  height: 28px;
  background:
    linear-gradient(#cf3e2b 0 0) 4px 2px / 4px 13px no-repeat,
    linear-gradient(#cf3e2b 0 0) 15px 8px / 4px 12px no-repeat,
    linear-gradient(#cf3e2b 0 0) 24px 18px / 4px 10px no-repeat;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.section-heading {
  margin-bottom: clamp(68px, min(3.55vw, 7.2svh), 114px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: end;
  gap: clamp(80px, min(4.17vw, 8.4svh), 134px);
}

.section-heading h2,
.experience-copy h2,
.guardian-copy h2,
.closing-shell h2 {
  font-size: clamp(48px, min(max(clamp(48px, 5.3vw, 78px), 4.06vw), 10svh), 140px);
  line-height: 1.12;
}

.experience-copy h2 {
  font-size: clamp(42px, min(max(clamp(42px, 3.2vw, 48px), 2.5vw), 7svh), 84px);
  letter-spacing: -0.02em;
}

.experience-copy h2 span {
  display: block;
  white-space: nowrap;
}

.section-heading > p,
.experience-copy > p,
.guardian-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, min(max(16px, 0.84vw), 2.2svh), 28px);
  line-height: 1.9;
}

.agent-stage {
  --active-agent: #748d3f;
  --featured-scene: url("/assets/agents/buba/card-3d-v1.jpg");
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns:
    minmax(0, clamp(42%, calc(50% - max(0px, (100vw - 2596px) * 0.08)), 50%))
    minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  background: transparent;
  --slide-entry-x: 11%;
  --carousel-entry-x: 28px;
}

.agent-stage[data-slide-direction="previous"] {
  --slide-entry-x: -11%;
  --carousel-entry-x: -28px;
}

.agent-stage-copy {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: clamp(38px, 6svh, 120px) clamp(48px, 7vw, 480px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.agent-intro-kicker {
  margin: 0 0 clamp(16px, 1.8svh, 26px);
  color: var(--muted);
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: clamp(14px, min(0.74vw, 1.75svh), 23px);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.agent-species {
  margin: 0 0 clamp(14px, 0.78vw, 25px);
  color: var(--active-agent);
  font-size: clamp(15px, min(0.8vw, 1.9svh), 26px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.agent-stage h3 {
  font-size: clamp(76px, min(6.15vw, 14svh), 176px);
  line-height: 1;
}

.agent-stage-copy > p[data-featured-copy] {
  max-width: min(29vw, 840px);
  margin: clamp(30px, min(1.6vw, 3.2svh), 52px) 0 0;
  color: var(--muted);
  font-size: clamp(17px, min(0.94vw, 2.25svh), 30px);
  line-height: 1.82;
}

.agent-stage-actions {
  margin-top: clamp(36px, min(1.88vw, 4svh), 60px);
  display: none;
  align-items: center;
  gap: 24px;
}

.media-control {
  min-height: clamp(48px, 2.5vw, 78px);
  padding: clamp(7px, 0.37vw, 12px) clamp(18px, 0.94vw, 30px) clamp(7px, 0.37vw, 12px) clamp(9px, 0.47vw, 15px);
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 0.52vw, 17px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-100);
  color: var(--forest-700);
  cursor: pointer;
  font-size: clamp(13px, min(max(13px, 0.68vw), 1.6svh), 22px);
  font-weight: 800;
  transition:
    transform 200ms var(--ease-out),
    border-color 180ms ease,
    background-color 180ms ease;
}

.media-control:hover {
  transform: translateY(-2px);
  border-color: var(--active-agent);
  background: var(--white);
}

.media-control-icon {
  width: clamp(32px, 1.67vw, 53px);
  height: clamp(32px, 1.67vw, 53px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--active-agent);
  color: var(--white);
}

.media-icon {
  width: clamp(17px, 0.89vw, 28px);
  height: clamp(17px, 0.89vw, 28px);
  display: block;
  fill: currentColor;
}

.media-icon-pause,
.media-control[data-state="playing"] .media-icon-play {
  display: none;
}

.media-control[data-state="playing"] .media-icon-pause {
  display: block;
}

.agent-stage-visual {
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.agent-stage-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--featured-scene);
  background-position: center;
  background-size: cover;
  filter: blur(8px) saturate(0.9);
  transform: scale(1.07);
}

.agent-stage-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--cream-50) 0%, rgba(255, 250, 240, 0.94) 7%, rgba(255, 250, 240, 0.42) 24%, transparent 43%),
    linear-gradient(180deg, var(--cream-50) 0%, rgba(255, 250, 240, 0.9) 2%, rgba(255, 250, 240, 0.44) 8%, transparent 17%),
    linear-gradient(180deg, transparent 67%, rgba(255, 250, 240, 0.18) 76%, rgba(255, 250, 240, 0.72) 90%, var(--cream-50) 100%);
}

.agent-stage-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  height: auto;
  display: block;
  padding: 0;
  background: transparent;
}

.agent-stage-media::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--cream-50) 0%, rgba(255, 250, 240, 0.96) 4%, rgba(255, 250, 240, 0.62) 10%, transparent 20%),
    linear-gradient(180deg, transparent 74%, rgba(255, 250, 240, 0.2) 83%, rgba(255, 250, 240, 0.76) 93%, var(--cream-50) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.66) 5%,
    transparent 15%,
    transparent 72%,
    rgba(0, 0, 0, 0.42) 84%,
    #000 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.66) 5%,
    transparent 15%,
    transparent 72%,
    rgba(0, 0, 0, 0.42) 84%,
    #000 100%
  );
}

.agent-stage-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  display: grid;
  place-items: stretch;
  overflow: visible;
  background: transparent;
}

.agent-stage-frame > img,
.agent-stage-frame > video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.68) 12%, #000 25%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.68) 12%, #000 25%, #000 100%);
}

@media (min-aspect-ratio: 21 / 9) {
  .agent-stage-frame > img,
  .agent-stage-frame > video {
    object-position: 42% bottom;
  }
}

.agent-stage-frame > img {
  transition:
    opacity 260ms ease,
    transform 480ms var(--ease-out);
}

.agent-stage-frame > video {
  display: block;
  background: transparent;
  transition:
    opacity 260ms ease,
    transform 480ms var(--ease-out);
}

.agent-stage-frame > [hidden] {
  display: none;
}

.agent-stage-frame > .is-changing {
  animation: companion-scene-slide 520ms var(--ease-out) both;
}

@keyframes companion-scene-slide {
  0% {
    opacity: 0.72;
    transform: translate3d(var(--slide-entry-x), 0, 0) scale(0.992);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.agent-carousel {
  position: absolute;
  right: auto;
  bottom: clamp(44px, 6svh, 76px);
  left: 50%;
  z-index: 4;
  align-self: center;
  width: min(clamp(520px, min(27.1vw, 54svh), 900px), calc(100% - 24px));
  height: clamp(134px, min(6.98vw, 14svh), 224px);
  transform: translateX(-50%);
}

.agent-carousel-window {
  position: relative;
  height: clamp(134px, min(6.98vw, 14svh), 224px);
  overflow: hidden;
}

.agent-carousel-window.is-switching {
  animation: companion-carousel-slide 440ms var(--ease-out) both;
}

@keyframes companion-carousel-slide {
  0% {
    opacity: 0.42;
    transform: translateX(var(--carousel-entry-x)) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.agent-carousel-card {
  --carousel-size: clamp(68px, min(3.54vw, 7.1svh), 116px);
  position: absolute;
  top: 50%;
  width: var(--carousel-size);
  padding: 0;
  display: grid;
  justify-items: center;
  gap: clamp(6px, min(0.32vw, 0.7svh), 11px);
  border: 0;
  background: transparent;
  color: var(--forest-800);
  font-family: var(--font-display);
  font-size: clamp(11px, min(0.58vw, 1.2svh), 19px);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  isolation: isolate;
  transition:
    opacity 240ms ease,
    filter 240ms ease,
    transform 300ms var(--ease-out);
}

.agent-carousel-card img {
  width: var(--carousel-size);
  height: var(--carousel-size);
  display: block;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.56);
  box-shadow: 0 7px 18px rgba(48, 65, 36, 0.08);
}

.agent-carousel-card > span {
  position: relative;
  z-index: 2;
}

.agent-carousel-card.is-current {
  --carousel-size: clamp(92px, min(4.8vw, 9.6svh), 158px);
  --media-progress: 0deg;
  left: 50%;
  z-index: 2;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.agent-carousel-card.is-current::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  z-index: 2;
  width: calc(var(--carousel-size) + 10px);
  height: calc(var(--carousel-size) + 10px);
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--active-agent) var(--media-progress),
    rgba(78, 98, 54, 0.18) 0
  );
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}

.agent-carousel-play-icon {
  position: absolute !important;
  top: calc(var(--carousel-size) / 2);
  left: 50%;
  z-index: 3;
  width: clamp(24px, min(1.25vw, 2.5svh), 40px);
  height: clamp(24px, min(1.25vw, 2.5svh), 40px);
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  filter: drop-shadow(0 2px 3px rgba(12, 26, 18, 0.46));
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}

.agent-carousel-play-icon .media-icon {
  width: 100%;
  height: 100%;
}

.agent-carousel-card[data-state="playing"] .agent-carousel-play-icon .media-icon-play {
  display: none;
}

.agent-carousel-card[data-state="playing"] .agent-carousel-play-icon .media-icon-pause {
  display: block;
}

.agent-carousel-card.is-current img {
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid rgba(255, 255, 255, 0.7);
  outline-offset: 1px;
}

.agent-carousel-card.is-current:focus-visible {
  outline: none;
}

.agent-carousel-card.is-current:focus-visible img {
  box-shadow:
    0 0 0 3px rgba(255, 252, 244, 0.9),
    0 0 0 5px var(--active-agent),
    0 7px 18px rgba(48, 65, 36, 0.08);
}

.agent-carousel-card.is-current > [data-carousel-current-name] {
  color: var(--active-agent);
  font-size: clamp(12px, min(0.63vw, 1.3svh), 20px);
}

.agent-carousel-card.is-previous {
  left: 27%;
  opacity: 0.58;
  filter: blur(1.1px) saturate(0.72);
  transform: translate(-50%, -50%) scale(0.86);
}

.agent-carousel-card.is-next {
  left: 73%;
  opacity: 0.58;
  filter: blur(1.1px) saturate(0.72);
  transform: translate(-50%, -50%) scale(0.86);
}

.agent-carousel-card.is-far-previous,
.agent-carousel-card.is-far-next {
  --carousel-size: clamp(58px, min(3.02vw, 6svh), 100px);
  z-index: 0;
  opacity: 0.28;
  filter: blur(2.4px) saturate(0.48);
}

.agent-carousel-card.is-far-previous {
  left: 8%;
  transform: translate(-50%, -50%) scale(0.78);
}

.agent-carousel-card.is-far-next {
  left: 92%;
  transform: translate(-50%, -50%) scale(0.78);
}

.agent-carousel-card.is-previous:hover,
.agent-carousel-card.is-next:hover,
.agent-carousel-card.is-far-previous:hover,
.agent-carousel-card.is-far-next:hover {
  opacity: 0.94;
  filter: blur(0) saturate(0.94);
}

.journey-section {
  background: var(--forest-950);
  color: var(--cream-50);
}

.section-heading-light h2,
.section-heading-light > p,
.section-heading-light .eyebrow {
  color: var(--cream-50);
}

.section-heading-light > p {
  color: rgba(255, 250, 240, 0.7);
}

.journey-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.72fr);
  align-items: start;
  gap: clamp(58px, 7vw, 108px);
}

.journey-visual {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-items: center;
}

.journey-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  box-shadow: 0 30px 80px rgba(1, 9, 4, 0.3);
}

.journey-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(3, 15, 8, 0.52) 100%);
  pointer-events: none;
}

.journey-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 580ms ease,
    transform 900ms var(--ease-out);
}

.journey-frame img.is-active {
  opacity: 1;
  transform: scale(1);
}

.journey-counter {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: rgba(255, 250, 240, 0.58);
  font-family: "Baloo 2", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.journey-counter strong {
  color: var(--cream-50);
  font-size: 26px;
}

.journey-steps {
  margin: 0;
}

.journey-step {
  min-height: 100svh;
  padding: clamp(64px, 12vh, 120px) 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  opacity: 1;
  transform: none;
  transition:
    opacity 360ms ease,
    transform 520ms var(--ease-out);
}

.journey-step:last-child {
  border-bottom: 0;
}

.journey-story.is-enhanced .journey-step {
  opacity: 0.38;
  transform: translateY(12px);
}

.journey-story.is-enhanced .journey-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.journey-step-image {
  display: none;
}

.journey-step-copy > span {
  color: var(--amber);
  font-family: "Baloo 2", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.journey-step-kicker {
  margin: 26px 0 12px;
  color: rgba(255, 250, 240, 0.58);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.journey-step h3 {
  margin: 0;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: clamp(36px, min(max(clamp(36px, 3.8vw, 54px), 2.82vw), 8svh), 94px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.journey-step-copy > p:last-child {
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.68);
  font-size: clamp(15px, min(max(15px, 0.78vw), 2svh), 26px);
  line-height: 1.9;
}

.experience-section {
  background: var(--cream-100);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(540px, 1.25fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.experience-copy > p {
  margin-top: 30px;
}

.experience-copy {
  min-width: 0;
}

.experience-points {
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.experience-points li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.experience-points strong {
  color: var(--forest-800);
  font-size: clamp(13px, min(max(13px, 0.68vw), 1.7svh), 22px);
}

.experience-points span {
  color: var(--muted);
  font-size: clamp(14px, min(max(14px, 0.73vw), 1.9svh), 24px);
}

.product-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(38, 65, 35, 0.12);
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  box-shadow: var(--shadow-soft);
}

.product-figure img {
  width: 100%;
  height: auto;
}

.guardian-section {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
  background: var(--forest-950);
  color: var(--cream-50);
}

.guardian-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.guardian-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.guardian-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 25, 14, 0.45);
}

.guardian-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  align-items: end;
  gap: clamp(70px, 10vw, 150px);
}

.guardian-copy h2,
.guardian-copy .eyebrow {
  color: var(--cream-50);
}

.guardian-copy > p {
  max-width: 600px;
  margin: 30px 0 36px;
  color: rgba(255, 250, 240, 0.75);
}

.button-light {
  background: var(--cream-50);
  color: var(--forest-950);
}

.button-light:hover {
  background: var(--cream-200);
}

.guardian-list {
  border-top: 1px solid rgba(255, 250, 240, 0.25);
}

.guardian-list article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.25);
}

.guardian-list article > span {
  color: var(--amber);
  font-family: "Baloo 2", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.guardian-list h3 {
  margin: 0;
  color: var(--cream-50);
  font-size: clamp(20px, min(max(20px, 1.04vw), 2.6svh), 34px);
}

.guardian-list p {
  margin: 7px 0 0;
  color: rgba(255, 250, 240, 0.66);
  font-size: clamp(14px, min(max(14px, 0.73vw), 1.9svh), 24px);
  line-height: 1.7;
}

.closing-section {
  background: var(--cream-50);
}

.closing-shell {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.closing-shell .button {
  margin-top: 38px;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--cream-50);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-shell p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-shell a {
  color: var(--muted);
  font-size: 12px;
}

.footer-shell a:hover {
  color: var(--forest-800);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

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

@media (max-width: 1180px) {
  .agent-stage {
    grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1.18fr);
  }
}

@media (max-width: 980px) {
  .hero-content > * {
    width: min(50%, 470px);
  }

  .hero h1 {
    font-size: clamp(52px, 6vw, 64px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .section-heading.agent-section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 48px;
  }

  .agent-stage {
    grid-template-columns: minmax(280px, 0.8fr) minmax(380px, 1.2fr);
    min-height: 100svh;
    gap: 0;
  }

  .agent-stage-copy {
    min-height: 100svh;
    padding: 72px 48px;
  }

  .agent-stage-visual {
    min-height: 100svh;
    padding: 0;
  }

  .agent-stage h3 {
    font-size: clamp(70px, 8vw, 82px);
  }

  .journey-story {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 48px;
  }

  .experience-grid,
  .guardian-shell {
    grid-template-columns: 1fr;
  }

  .experience-copy {
    max-width: 680px;
  }

  .guardian-list {
    max-width: 680px;
  }

}

@media (max-width: 720px) {
  .section-shell,
  .hero-content {
    width: min(calc(100% - 32px), 620px);
  }

  .agent-section-shell {
    width: 100%;
  }

  .agent-section-intro {
    min-height: clamp(430px, 72svh, 620px);
    padding-top: 88px;
    padding-bottom: 76px;
  }

  .hero-brand {
    top: max(18px, env(safe-area-inset-top));
    left: max(16px, env(safe-area-inset-left));
    font-size: clamp(20px, 5.7vw, 24px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    min-height: max(560px, 100svh);
    background: #f8edd6;
  }

  .hero::after {
    height: clamp(52px, 8svh, 76px);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .hero-art {
    inset: 0;
    height: 100%;
  }

  .hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
  }

  .hero-haze {
    display: none;
  }

  .hero-content {
    min-height: max(560px, 100svh);
    padding: max(72px, calc(env(safe-area-inset-top) + 58px)) 0 clamp(188px, 29svh, 250px);
    justify-content: flex-start;
  }

  .hero-content > * {
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.8vw, 56px);
    line-height: 1.08;
  }

  .hero-scroll-cue {
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    min-height: 44px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading.agent-section-heading {
    display: block;
  }

  .agent-section-heading > p:last-child {
    max-width: 100%;
    margin: 26px 0 0;
  }

  .section-heading h2,
  .experience-copy h2,
  .guardian-copy h2,
  .closing-shell h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .experience-copy h2 {
    font-size: clamp(34px, 9.6vw, 42px);
  }

  .agent-stage {
    min-height: 0;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .agent-stage > * {
    min-width: 0;
  }

  .agent-stage-copy {
    order: 2;
    min-height: 0;
    padding: 72px max(24px, env(safe-area-inset-left)) 52px max(24px, env(safe-area-inset-right));
  }

  .agent-stage-visual {
    order: 1;
    min-height: clamp(440px, 132vw, 720px);
    padding: 0;
  }

  .agent-stage-media {
    height: auto;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 104px;
    padding: 12px 0 max(12px, env(safe-area-inset-bottom));
    touch-action: pan-y;
  }

  .agent-stage-media::after {
    background:
      linear-gradient(180deg, var(--cream-50) 0%, rgba(255, 250, 240, 0.9) 5%, rgba(255, 250, 240, 0.42) 12%, transparent 21%),
      linear-gradient(180deg, transparent 76%, rgba(255, 250, 240, 0.24) 84%, rgba(255, 250, 240, 0.78) 94%, var(--cream-50) 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 14%, transparent 76%, #000 100%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 14%, transparent 76%, #000 100%);
  }

  .agent-stage-frame {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
  }

  .agent-stage-frame > img,
  .agent-stage-frame > video {
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 84%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 84%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
  }

  .agent-stage-visual::after {
    background:
      linear-gradient(180deg, var(--cream-50) 0%, rgba(255, 250, 240, 0.74) 5%, rgba(255, 250, 240, 0.2) 14%, transparent 28%),
      linear-gradient(180deg, transparent 68%, rgba(255, 250, 240, 0.22) 77%, rgba(255, 250, 240, 0.74) 90%, var(--cream-50) 100%);
  }

  .agent-section-heading h2 {
    width: auto;
    white-space: normal;
  }

  .agent-section-heading > p:last-child,
  .agent-stage-copy > p[data-featured-copy] {
    max-width: 100%;
  }

  .agent-section-heading h2::after {
    display: none;
  }

  .agent-carousel {
    position: relative;
    right: auto;
    bottom: auto;
    left: 50%;
    width: calc(100% - 16px);
    height: 104px;
    transform: translateX(-50%);
  }

  .agent-carousel-window {
    height: 104px;
  }

  .agent-carousel-card {
    --carousel-size: clamp(44px, 13vw, 58px);
    min-width: 44px;
    min-height: 44px;
    font-size: 10px;
  }

  .agent-carousel-card.is-current {
    --carousel-size: clamp(66px, 19vw, 82px);
  }

  .agent-stage-actions {
    display: none;
  }

  .agent-carousel-card.is-current .agent-carousel-play-icon {
    color: var(--white);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .agent-carousel-card.is-current > [data-carousel-current-name] {
    font-size: 11px;
  }

  .agent-carousel-card.is-previous {
    left: 26%;
  }

  .agent-carousel-card.is-next {
    left: 74%;
  }

  .agent-carousel-card.is-far-previous,
  .agent-carousel-card.is-far-next {
    --carousel-size: clamp(38px, 11vw, 48px);
  }

  .agent-carousel-card.is-far-previous {
    left: 7%;
  }

  .agent-carousel-card.is-far-next {
    left: 93%;
  }

  .journey-story {
    display: block;
  }

  .journey-visual {
    display: none;
  }

  .journey-steps {
    margin-top: 0;
  }

  .journey-step {
    min-height: 0;
    padding: 0 0 72px;
    display: block;
    border-bottom: 0;
    opacity: 1;
    transform: none;
  }

  .journey-step:last-child {
    padding-bottom: 0;
  }

  .journey-step-image {
    width: 100%;
    height: auto;
    margin-bottom: 28px;
    display: block;
    border: 1px solid rgba(255, 250, 240, 0.14);
    border-radius: 26px;
  }

  .journey-step-kicker {
    margin-top: 20px;
  }

  .journey-step h3 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .experience-grid {
    gap: 48px;
  }

  .guardian-section {
    min-height: 0;
  }

  .guardian-shell {
    gap: 54px;
  }

  .closing-shell {
    min-height: 360px;
  }

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

  .footer-shell nav {
    display: grid;
    gap: 14px;
  }

  .footer-shell a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

}

@media (max-width: 440px) {
  .hero {
    min-height: max(560px, 100svh);
  }

  .hero-content {
    min-height: max(560px, 100svh);
    padding-bottom: clamp(176px, 27svh, 220px);
  }

  .hero h1 {
    font-size: clamp(34px, 11.5vw, 42px);
  }

  .button {
    min-width: 132px;
    min-height: 48px;
    padding: 0 20px;
    font-size: 13px;
  }

  .agent-stage-copy {
    min-height: 0;
    padding: 64px 20px 42px;
  }

  .agent-stage h3 {
    font-size: clamp(58px, 17vw, 72px);
  }

  .agent-carousel {
    right: auto;
    left: 50%;
    width: calc(100% - 12px);
  }

  .experience-points li {
    grid-template-columns: 74px 1fr;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero,
  .hero-content {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: max(60px, calc(env(safe-area-inset-top) + 48px));
    padding-bottom: 70px;
  }

  .hero h1 {
    width: 52%;
    font-size: clamp(32px, 6.4vw, 46px);
  }

  .hero-slide {
    object-position: 62% 54%;
  }

  .hero-scroll-cue {
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .agent-stage-copy {
    min-height: 480px;
    padding: 56px 24px 44px;
  }

  .agent-stage-visual {
    min-height: 480px;
    padding: 0;
  }

  .agent-stage-media {
    height: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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