:root {
  --immersive-bg: #efe7dc;
  --immersive-bg-deep: #152229;
  --immersive-surface: rgba(255, 250, 244, 0.72);
  --immersive-surface-strong: rgba(255, 251, 246, 0.86);
  --immersive-ink: #12232a;
  --immersive-muted: #5c6d6d;
  --immersive-line: rgba(18, 35, 42, 0.1);
  --immersive-accent: #2f7d6b;
  --immersive-accent-soft: rgba(47, 125, 107, 0.14);
  --immersive-shadow: 0 28px 90px rgba(20, 24, 23, 0.12);
  --immersive-radius-xl: 38px;
  --immersive-radius-lg: 26px;
  --immersive-radius-md: 18px;
  --immersive-progress: 0;
  --immersive-glow-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--immersive-ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(47, 125, 107, 0.14), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(186, 100, 61, 0.08), transparent 18%),
    linear-gradient(180deg, #f8f2e9 0%, var(--immersive-bg) 100%);
  overflow-x: clip;
}

body.immersive-motion::before {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  right: -40px;
  top: 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 125, 107, 0.16), transparent 66%);
  filter: blur(10px);
  transform: translate3d(0, var(--immersive-glow-shift), 0);
  pointer-events: none;
  z-index: 0;
}

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

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

.immersive-page {
  position: relative;
  z-index: 1;
}

.immersive-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.immersive-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 242, 233, 0.84);
  border-bottom: 1px solid var(--immersive-line);
}

.immersive-header-row,
.immersive-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

.immersive-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.immersive-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(18, 35, 42, 1), rgba(39, 57, 62, 0.96));
  color: #fff4eb;
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 14px 30px rgba(18, 24, 28, 0.18);
}

.immersive-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.immersive-brand-copy strong {
  font-size: 1rem;
}

.immersive-brand-copy small,
.immersive-nav a,
.immersive-header-actions a:not(.button),
.hero-text,
.immersive-section-head p,
.story-step p,
.broken-card p,
.proof-panel p,
.editorial-card p,
.final-cta-card p,
.immersive-footer p {
  color: var(--immersive-muted);
}

.immersive-nav,
.immersive-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.immersive-nav a,
.immersive-header-actions a:not(.button) {
  font-size: 0.94rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-accent {
  background: var(--immersive-accent);
  color: #fff8f3;
  box-shadow: 0 16px 30px rgba(210, 111, 55, 0.24);
}

.button-ghost {
  border-color: rgba(22, 25, 24, 0.14);
  background: rgba(255, 255, 255, 0.58);
  color: var(--immersive-ink);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--immersive-accent);
}

h1,
h2,
h3,
strong {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 0.96;
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.immersive-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 28px 0 72px;
  background:
    radial-gradient(circle at 78% 18%, rgba(210, 111, 55, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.immersive-hero-grid,
.immersive-story-layout,
.editorial-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 34px;
  align-items: start;
}

.immersive-hero-copy {
  padding-top: 36px;
}

.immersive-hero-copy h1 {
  max-width: 8ch;
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 24px;
  font-size: 1.06rem;
}

.immersive-hero-media {
  min-height: 720px;
  position: relative;
  display: grid;
  isolation: isolate;
}

.media-block,
.floating-card,
.proof-panel,
.broken-card,
.editorial-card,
.final-cta-card {
  border-radius: var(--immersive-radius-xl);
  border: 1px solid rgba(22, 25, 24, 0.08);
  background: var(--immersive-surface);
  box-shadow: var(--immersive-shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.media-block {
  position: absolute;
}

.media-block-main {
  inset: 0 14% 10% 0;
  transform: rotate(-2deg);
}

.media-block-small {
  width: 32%;
  min-height: 220px;
}

.media-block-top {
  top: 0;
  right: 0;
  transform: translateY(12%) rotate(5deg);
}

.media-block-bottom {
  right: 6%;
  bottom: 0;
  transform: translateY(0) rotate(-4deg);
}

.floating-card {
  position: absolute;
  right: 8%;
  top: 38%;
  width: min(360px, 82%);
  padding: 22px;
  background: var(--immersive-surface-strong);
}

.floating-card-summary {
  z-index: 3;
}

.floating-card-browser {
  left: 0;
  right: auto;
  top: 54%;
  width: min(320px, 72%);
  padding: 14px;
  z-index: 2;
}

.browser-chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.browser-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(22, 25, 24, 0.18);
}

.browser-stage {
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(244, 241, 236, 0.95), rgba(255, 255, 255, 0.76));
  display: grid;
  gap: 12px;
}

.browser-stage-hero,
.browser-stage-wide,
.browser-stage-row span {
  display: block;
  border-radius: 18px;
  background: rgba(18, 24, 28, 0.1);
}

.browser-stage-hero {
  min-height: 112px;
  background:
    linear-gradient(135deg, rgba(210, 111, 55, 0.42), rgba(18, 24, 28, 0.14)),
    rgba(18, 24, 28, 0.06);
}

.browser-stage-wide {
  min-height: 68px;
  background: rgba(210, 111, 55, 0.16);
}

.browser-stage-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.browser-stage-row-tight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.browser-stage-row span {
  min-height: 56px;
}

.immersive-ribbon {
  padding: 10px 0 18px;
}

.immersive-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.immersive-ribbon article {
  padding: 18px 20px;
  border-radius: var(--immersive-radius-lg);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(22, 25, 24, 0.08);
}

.immersive-ribbon strong {
  display: block;
  margin-bottom: 8px;
}

.immersive-section {
  padding: 68px 0;
}

.immersive-section-story {
  padding-top: 76px;
  position: relative;
}

.story-pin {
  position: sticky;
  top: 118px;
  align-self: start;
}

.story-copy p:last-child {
  max-width: 48ch;
}

.story-stage {
  min-height: 720px;
  position: relative;
  display: grid;
}

.story-stage-media {
  position: absolute;
  inset: 6% 8% 14% 0;
  border-radius: var(--immersive-radius-xl);
  overflow: hidden;
  box-shadow: var(--immersive-shadow);
}

.story-window {
  position: absolute;
  padding: 20px;
  border-radius: var(--immersive-radius-lg);
  border: 1px solid rgba(22, 25, 24, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--immersive-shadow);
  backdrop-filter: blur(16px);
}

.story-window-service {
  top: 0;
  right: 0;
  width: min(320px, 62%);
}

.story-window-coverage {
  right: 6%;
  bottom: 19%;
  width: min(260px, 46%);
}

.story-window-proof {
  left: 10%;
  bottom: 0;
  width: min(360px, 58%);
}

.story-window-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.story-window-lines span,
.coverage-dots span {
  display: block;
  border-radius: 999px;
  background: rgba(18, 24, 28, 0.12);
}

.story-window-lines span {
  min-height: 16px;
}

.story-window-lines .wide {
  width: 100%;
}

.story-window-lines .accent {
  background: rgba(210, 111, 55, 0.28);
}

.coverage-dots {
  min-height: 150px;
  margin-top: 14px;
  position: relative;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 24, 28, 0.06), rgba(18, 24, 28, 0.02)),
    rgba(255, 255, 255, 0.7);
}

.coverage-dots span {
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(210, 111, 55, 0.9);
  box-shadow: 0 0 0 8px rgba(210, 111, 55, 0.14);
}

.coverage-dots span:nth-child(1) { top: 22%; left: 26%; }
.coverage-dots span:nth-child(2) { top: 44%; left: 58%; }
.coverage-dots span:nth-child(3) { top: 66%; left: 40%; }
.coverage-dots span:nth-child(4) { top: 24%; left: 72%; }

.story-proof-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.story-proof-stack span,
.proof-tag-grid span {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: rgba(18, 24, 28, 0.08);
  font-weight: 600;
}

.immersive-section-media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 80% 18%, rgba(210, 111, 55, 0.08), transparent 26%);
}

.immersive-section-coverage {
  padding-top: 12px;
}

.coverage-band {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 24px;
  padding: 34px;
  border-radius: var(--immersive-radius-xl);
  background:
    linear-gradient(135deg, rgba(20, 24, 23, 0.96), rgba(36, 41, 40, 0.92)),
    var(--immersive-surface-dark);
  color: #f7f2eb;
  box-shadow: var(--immersive-shadow);
}

.coverage-band-copy h2,
.coverage-band-copy .eyebrow {
  color: #f7f2eb;
}

.coverage-band-copy p {
  color: rgba(247, 242, 235, 0.76);
}

.coverage-band-copy p:last-of-type {
  margin-bottom: 18px;
}

.coverage-band-media {
  position: relative;
  min-height: 320px;
}

.coverage-band-card {
  position: absolute;
  inset: 0 18% 10% 0;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--immersive-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(247, 242, 235, 0.12);
  box-shadow: var(--immersive-shadow);
}

.coverage-band-card-offset {
  inset: 18% 0 0 24%;
  background: rgba(210, 111, 55, 0.14);
}

.coverage-band-lines {
  display: grid;
  gap: 10px;
}

.coverage-band-lines span {
  display: block;
  min-height: 16px;
  border-radius: 999px;
  background: rgba(247, 242, 235, 0.2);
}

.coverage-band-lines .wide {
  width: 100%;
  background: rgba(210, 111, 55, 0.34);
}

.immersive-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.broken-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 20px;
}

.broken-card {
  min-height: 280px;
  padding: 22px;
  position: relative;
}

.broken-card-feature {
  grid-row: span 2;
  padding: 0;
  display: grid;
}

.broken-card-media {
  min-height: 420px;
}

.broken-card-copy {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.page-preview {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(248, 245, 240, 0.88);
}

.page-preview-header {
  min-height: 18px;
  border-radius: 999px;
  width: 42%;
  background: rgba(18, 24, 28, 0.12);
}

.page-preview-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.page-preview-body span {
  display: block;
  min-height: 72px;
  border-radius: 18px;
  background: rgba(18, 24, 28, 0.08);
}

.page-preview-body .tall {
  grid-row: span 2;
  min-height: 154px;
}

.page-preview-body .wide {
  grid-column: span 2;
}

.page-preview-body .accent {
  background: rgba(210, 111, 55, 0.18);
}

.mini-map {
  min-height: 170px;
  margin-top: 16px;
  border-radius: 22px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(18, 24, 28, 0.06), rgba(255, 255, 255, 0.82));
}

.mini-map::before,
.mini-map::after {
  content: "";
  position: absolute;
  inset: 24% 12%;
  border-radius: 999px;
  border: 1px dashed rgba(18, 24, 28, 0.12);
}

.mini-map::after {
  inset: 46% 20% 18% 28%;
}

.mini-map .pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--immersive-accent);
  box-shadow: 0 0 0 8px rgba(210, 111, 55, 0.12);
}

.mini-map .pin-a { top: 24%; left: 22%; }
.mini-map .pin-b { top: 46%; left: 64%; }
.mini-map .pin-c { bottom: 18%; left: 40%; }

.case-study-mini {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.case-study-mini strong {
  font-size: 1rem;
}

.case-study-mini span {
  display: block;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 24, 28, 0.07);
}

.broken-card-overlay {
  grid-column: span 2;
  min-height: 240px;
  background:
    linear-gradient(135deg, rgba(14, 18, 20, 0.78), rgba(43, 27, 20, 0.58)),
    radial-gradient(circle at top right, rgba(210, 111, 55, 0.18), transparent 30%);
  color: #f7f2eb;
}

.overlay-panel {
  max-width: 420px;
}

.overlay-panel p {
  color: rgba(247, 242, 235, 0.78);
}

.immersive-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 34px;
  padding: 0 0 10px;
}

.full-bleed-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: end;
}

.full-bleed-media,
.full-bleed-card {
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--immersive-shadow);
}

.full-bleed-card {
  padding: 28px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(20, 24, 23, 0.88), rgba(52, 31, 24, 0.72)),
    radial-gradient(circle at top right, rgba(210, 111, 55, 0.26), transparent 34%);
  color: #f7f2eb;
}

.full-bleed-card p {
  color: rgba(247, 242, 235, 0.76);
}

.proof-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-tag-grid span {
  background: rgba(255, 255, 255, 0.1);
}

.immersive-proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: 20px;
}

.proof-panel {
  padding: 22px;
  min-height: 220px;
}

.proof-panel-large {
  grid-row: span 2;
  padding: 0;
  display: grid;
}

.proof-panel-media {
  min-height: 360px;
}

.proof-panel-copy {
  padding: 22px;
}

.proof-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-metric-row span {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: rgba(18, 24, 28, 0.08);
  font-weight: 600;
}

.proof-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--immersive-accent);
  font-size: 1.3rem;
  font-weight: 700;
}

.editorial-copy {
  padding-top: 18px;
}

.editorial-copy .button {
  margin-top: 24px;
}

.editorial-stack {
  display: grid;
  gap: 18px;
}

.editorial-card {
  padding: 24px;
}

.editorial-card-large {
  padding: 0;
  overflow: hidden;
}

.editorial-card-media {
  min-height: 320px;
}

.editorial-card-copy {
  padding: 24px;
}

.editorial-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.immersive-section-cta {
  padding-top: 42px;
  padding-bottom: 82px;
}

.final-cta-card {
  padding: 34px;
  display: grid;
  gap: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 236, 228, 0.78));
}

.immersive-footer {
  border-top: 1px solid var(--immersive-line);
  background: rgba(247, 244, 238, 0.84);
}

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

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.soft {
  transform: translate3d(0, 18px, 0) scale(0.985);
}

.reveal.scale {
  transform: translate3d(0, 18px, 0) scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.media-block,
.broken-card,
.proof-panel,
.editorial-card,
.button,
.immersive-ribbon article {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.media-block:hover,
.broken-card:hover,
.proof-panel:hover,
.editorial-card:hover,
.immersive-ribbon article:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(20, 24, 23, 0.16);
  border-color: rgba(210, 111, 55, 0.18);
}

@media (max-width: 1180px) {
  .immersive-hero-grid,
  .immersive-story-layout,
  .coverage-band,
  .editorial-grid,
  .immersive-proof-grid,
  .broken-grid,
  .full-bleed-grid {
    grid-template-columns: 1fr;
  }

  .immersive-ribbon-grid {
    grid-template-columns: 1fr;
  }

  .story-pin {
    position: static;
  }

  .immersive-hero-media {
    min-height: 560px;
  }

  .story-stage {
    min-height: 620px;
  }

  .editorial-mini-grid {
    grid-template-columns: 1fr;
  }

  .coverage-band-media {
    min-height: 420px;
  }
}

@media (max-width: 920px) {
  .immersive-header-row,
  .immersive-footer-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .immersive-nav {
    display: none;
  }

  .immersive-header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .media-block-main {
    inset: 0 0 18% 0;
    transform: none;
  }

  .media-block-small {
    width: 38%;
  }

  .floating-card {
    right: 0;
    width: min(360px, 88%);
  }

  .floating-card-browser {
    left: 0;
    top: auto;
    bottom: 12px;
  }

  .story-stage {
    min-height: auto;
    gap: 16px;
  }

  .story-stage-media,
  .story-window {
    position: static;
  }

  .story-stage-media {
    min-height: 360px;
  }

  .coverage-band-media {
    display: grid;
    gap: 14px;
    min-height: auto;
  }

  .coverage-band-card,
  .coverage-band-card-offset {
    position: relative;
    inset: auto;
  }
}

@media (max-width: 760px) {
  .immersive-shell {
    width: calc(100% - 20px);
  }

  .immersive-hero {
    min-height: auto;
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .immersive-hero-media {
    min-height: 460px;
  }

  .media-block-main {
    inset: 0 0 24% 0;
  }

  .media-block-small {
    width: 42%;
    min-height: 150px;
  }

  .floating-card {
    left: 12px;
    right: 12px;
    width: auto;
    top: auto;
    bottom: 12px;
  }

  .broken-card-overlay {
    grid-column: span 1;
  }

  .browser-stage-row,
  .page-preview-body,
  .editorial-mini-grid {
    grid-template-columns: 1fr;
  }

  .page-preview-body .tall,
  .page-preview-body .wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 88px;
  }

  .full-bleed-media,
  .full-bleed-card {
    min-height: 300px;
  }

  .coverage-band {
    padding: 22px;
  }
}

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

  .reveal,
  .media-block,
  .broken-card,
  .proof-panel,
  .editorial-card,
  .button,
  .immersive-ribbon article {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
