:root {
  --paper: #f6f4ee;
  --ink: #2d2e2c;
  --body-ink: #393a37;
  --acid: #63bd2a;
  --orange: rgb(205, 46, 39);
  --accent-gradient: linear-gradient(
    90deg,
    rgb(179, 25, 25) 0%,
    rgb(205, 46, 39) 48%,
    rgb(234, 78, 61) 100%
  );
}

body {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

body.video-open {
  overflow: hidden;
}

.masthead {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(246, 244, 238, .9);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transform: translate3d(0, 0, 0);
  transition: transform .65s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.auto-hide-nav .masthead:not(.is-shown) {
  transform: translate3d(0, -112%, 0);
}

.masthead.is-shown {
  box-shadow: 0 10px 30px rgba(28, 54, 22, .08);
}

main {
  padding-top: 72px;
}

.menu-toggle {
  appearance: none;
  padding: 14px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: #d84a42;
}

.contents-tabs {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  margin: 18px 0 24px;
}

.contents-tab {
  appearance: none;
  padding: 8px 0;
  border: 0;
  color: #aaa9a4;
  background: transparent;
  font: inherit;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.contents-tab.is-active {
  color: #249339;
}

.contents-tab:hover,
.contents-tab:focus-visible {
  color: #d84a42;
  transform: translateY(-2px);
}

.contents-panel[hidden] {
  display: none !important;
}

.contents-panel.is-active {
  animation: contents-panel-in .42s cubic-bezier(.16, 1, .3, 1) both;
}

.inactive-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 15px;
  padding: 18px 0;
  color: #aaa9a4;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  cursor: default;
}

.inactive-item b {
  color: #c6c5c0;
}

.part-two-list ol {
  margin-top: 16px;
}

.part-two-note {
  max-width: 920px;
  margin: 4px 0 24px;
  color: #898a85;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  font-weight: 500;
}

.part-two-note > span:last-child {
  display: block;
}

.part-two-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #287a36;
  background: rgba(99, 189, 42, .12);
  font-size: .72em;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.fullscreen-menu .contents-tabs {
  margin-top: 10px;
}

.fullscreen-menu .inactive-item {
  grid-template-columns: 58px 1fr;
  font-size: clamp(17px, 1.6vw, 25px);
}

.fullscreen-menu .part-two-note {
  max-width: 980px;
  margin-bottom: 14px;
  font-size: clamp(14px, 1.15vw, 18px);
}

@keyframes contents-panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .contents-tabs { margin: 12px 0 18px; }
  .contents-tab { font-size: 13px; }
  .inactive-item,
  .fullscreen-menu .inactive-item {
    grid-template-columns: 42px 1fr;
    gap: 8px;
    padding: 14px 0;
    font-size: 17px;
  }
}

.fullscreen-menu {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(30px, 5vw, 80px);
  overflow: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(218, 255, 190, .74), transparent 32%),
    radial-gradient(circle at 88% 84%, rgba(99, 189, 42, .18), transparent 35%),
    rgba(246, 244, 238, .97);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -24px, 0);
  transition: opacity .45s ease, visibility .45s, transform .65s cubic-bezier(.16, 1, .3, 1);
}

.fullscreen-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.fullscreen-menu nav {
  width: min(1200px, 100%);
}

.menu-eyebrow {
  margin: 0 0 clamp(24px, 4vw, 48px);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.menu-eyebrow span {
  color: inherit;
  opacity: .5;
}

.fullscreen-menu ol {
  display: grid;
  gap: clamp(8px, 1.2vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fullscreen-menu li {
  opacity: 0;
  transform: translate3d(-28px, 0, 0);
}

.fullscreen-menu.is-open li {
  animation: fullscreen-link-in .65s cubic-bezier(.16, 1, .3, 1) both;
}

.fullscreen-menu.is-open li:nth-child(2) { animation-delay: .05s; }
.fullscreen-menu.is-open li:nth-child(3) { animation-delay: .1s; }
.fullscreen-menu.is-open li:nth-child(4) { animation-delay: .15s; }
.fullscreen-menu.is-open li:nth-child(5) { animation-delay: .2s; }
.fullscreen-menu.is-open li:nth-child(6) { animation-delay: .25s; }
.fullscreen-menu.is-open li:nth-child(7) { animation-delay: .3s; }

.fullscreen-menu a {
  display: grid;
  grid-template-columns: clamp(46px, 6vw, 82px) 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: baseline;
  padding: clamp(7px, 1vw, 13px) 0;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(19px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  transition: color .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.fullscreen-menu a b {
  color: #d84a42;
  font-size: .78em;
}

.fullscreen-menu a:hover,
.fullscreen-menu a:focus-visible {
  color: #d84a42;
  transform: translateX(10px);
}

.menu-close {
  position: fixed;
  z-index: 2;
  top: clamp(20px, 3vw, 42px);
  right: clamp(20px, 3vw, 46px);
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 9px;
  width: 40px;
  height: 3px;
  background: #16813a;
  transform-origin: center;
}

.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }

.menu-close:hover,
.menu-close:focus-visible {
  transform: rotate(90deg) scale(1.12);
}

@keyframes fullscreen-link-in {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 900px) {
  main { padding-top: 58px; }
  .fullscreen-menu { place-items: start center; padding: 88px 22px 36px; }
  .menu-close { width: 48px; height: 48px; }
  .menu-close span { left: 7px; width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .masthead,
  .fullscreen-menu,
  .fullscreen-menu li,
  .menu-close {
    transition: none;
    animation: none;
  }
  .fullscreen-menu.is-open li { opacity: 1; transform: none; }
}

.chapter {
  margin-bottom: 6.6vw;
}

.chapter > p:not(.conclusion),
.intro > p {
  color: var(--body-ink);
  line-height: 1.84;
}

.chapter blockquote {
  font-style: italic;
}

.progress span,
.brand i {
  background: var(--accent-gradient);
}

.brand {
  transform-origin: left center;
  animation: brand-ai-enter .9s cubic-bezier(.16, 1, .3, 1) both;
}

.brand i {
  position: relative;
  overflow: visible;
  background: none;
  box-shadow: 0 0 10px rgba(205, 46, 39, .28);
  animation: brand-ai-dash 4s ease-in-out infinite;
}

.brand .dash-core,
.brand .dash-particles {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.brand .dash-core {
  z-index: 1;
  background: var(--accent-gradient);
  background-size: 240% 100%;
  animation: dash-core-cycle 4s ease-in-out infinite;
}

.brand .dash-particles {
  z-index: 2;
  inset: -6px -7px;
  opacity: 0;
  background:
    radial-gradient(circle, #ff7566 0 1.4px, transparent 1.8px) 2% 44% / 9px 9px,
    radial-gradient(circle, #cd2e27 0 1.8px, transparent 2.1px) 18% 18% / 12px 12px,
    radial-gradient(circle, #e94e3d 0 1.2px, transparent 1.7px) 42% 78% / 8px 8px,
    radial-gradient(circle, #ff9b8e 0 1px, transparent 1.5px) 72% 30% / 10px 10px,
    radial-gradient(circle, #b31919 0 1.5px, transparent 2px) 96% 68% / 11px 11px;
  filter: drop-shadow(0 0 4px rgba(234, 78, 61, .7));
  animation: dash-particle-cycle 4s cubic-bezier(.45, 0, .2, 1) infinite;
}

.brand i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .9) 48%, transparent 100%);
  transform: translateX(-140%) skewX(-20deg);
  animation: brand-ai-scan 3.2s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes brand-ai-enter {
  0% { opacity: 0; transform: translateX(-18px); filter: blur(5px); letter-spacing: .18em; }
  58% { opacity: 1; transform: translateX(3px); filter: blur(0); }
  100% { opacity: 1; transform: translateX(0); letter-spacing: .08em; }
}

@keyframes brand-ai-dash {
  0%, 100% { background-position: 0% 50%; transform: scaleX(1); }
  45% { background-position: 100% 50%; transform: scaleX(1.08); }
  60% { background-position: 70% 50%; transform: scaleX(.96); }
}

@keyframes dash-core-cycle {
  0%, 34%, 100% { opacity: 1; transform: scaleX(1); filter: blur(0); background-position: 0% 50%; }
  42% { opacity: .72; transform: scaleX(1.04); filter: blur(.4px); }
  49%, 63% { opacity: .05; transform: scaleX(.82); filter: blur(2px); background-position: 100% 50%; }
  72% { opacity: .76; transform: scaleX(1.06); filter: blur(.5px); }
}

@keyframes dash-particle-cycle {
  0%, 34%, 100% {
    opacity: 0;
    clip-path: circle(8% at 50% 50%);
    transform: translate3d(0, 0, 0) scale(.12, .05);
    filter: blur(1px);
  }
  43% {
    opacity: .68;
    clip-path: circle(62% at 50% 50%);
    transform: translate3d(0, 0, 0) scale(.38, .2);
  }
  52% {
    opacity: 1;
    clip-path: circle(68% at 50% 50%);
    transform: translate3d(2px, -1px, 0) scale(1.14, 1.08);
    filter: blur(0);
  }
  60% {
    opacity: .96;
    clip-path: circle(48% at 50% 50%);
    transform: translate3d(-1px, 1px, 0) scale(.82);
  }
  67% {
    opacity: .9;
    clip-path: circle(31% at 50% 50%);
    transform: translate3d(0, 0, 0) scale(.52);
    filter: blur(.15px);
  }
  72% {
    opacity: .82;
    clip-path: circle(19% at 50% 50%);
    transform: translate3d(0, 0, 0) scale(.28);
    filter: blur(.3px) drop-shadow(0 0 5px rgba(234, 78, 61, .8));
  }
  76% {
    opacity: .45;
    clip-path: circle(10% at 50% 50%);
    transform: translate3d(0, 0, 0) scale(.08);
    filter: blur(.55px);
  }
  82% {
    opacity: 0;
    clip-path: circle(6% at 50% 50%);
    transform: translate3d(0, 0, 0) scale(.025);
    filter: blur(1px);
  }
}

/* Continuous bright-red logo glint */
.brand {
  animation: none;
}

.brand i {
  animation: none;
  width: 48px;
  height: 8px;
  overflow: hidden;
  opacity: .88;
  box-shadow: none;
}

.brand .dash-particles {
  display: none;
  animation: none;
}

.brand .dash-core {
  inset: 1px 0;
  opacity: 1;
  transform: none;
  filter: none;
  background: linear-gradient(
    90deg,
    #c92f2a 0%,
    #ef5147 24%,
    #ff9a88 44%,
    #ffe1da 50%,
    #ff8b79 57%,
    #e7463c 76%,
    #c92f2a 100%
  );
  background-size: 320% 100%;
  animation:
    dash-red-flow 2.2s linear infinite,
    dash-soft-arc 4s cubic-bezier(.45, 0, .2, 1) infinite;
}

.brand i::after {
  z-index: 3;
  inset: 0 auto 0 -50%;
  width: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 244, 240, .06) 12%, rgba(255, 244, 240, .2) 32%, rgba(255, 244, 240, .4) 50%, rgba(255, 244, 240, .2) 68%, rgba(255, 244, 240, .06) 88%, transparent 100%);
  animation: dash-continuous-glint 6s linear infinite;
}

@keyframes dash-red-flow {
  from { background-position: 100% 50%; }
  to { background-position: -220% 50%; }
}

@keyframes dash-continuous-glint {
  from { transform: translateX(-100%) skewX(-10deg); opacity: .14; }
  45% { opacity: .42; }
  to { transform: translateX(100%) skewX(-10deg); opacity: .14; }
}

@keyframes dash-soft-arc {
  0%, 100% {
    clip-path: polygon(
      0 0, 20% 0, 40% 0, 50% 0, 60% 0, 80% 0, 100% 0,
      100% 100%, 80% 100%, 60% 100%, 50% 100%, 40% 100%, 20% 100%, 0 100%
    );
  }
  25% {
    clip-path: polygon(
      0 15%, 20% 12%, 40% 9%, 50% 7.5%, 60% 9%, 80% 12%, 100% 15%,
      100% 91%, 80% 88%, 60% 85%, 50% 83.5%, 40% 85%, 20% 88%, 0 91%
    );
  }
  52% {
    clip-path: polygon(
      0 27%, 20% 21%, 40% 16.5%, 50% 15%, 60% 16.5%, 80% 21%, 100% 27%,
      100% 88%, 80% 82%, 60% 77.5%, 50% 76%, 40% 77.5%, 20% 82%, 0 88%
    );
  }
  72% {
    clip-path: polygon(
      0 15%, 20% 18%, 40% 21%, 50% 22.5%, 60% 21%, 80% 18%, 100% 15%,
      100% 79%, 80% 82%, 60% 85%, 50% 86.5%, 40% 85%, 20% 82%, 0 79%
    );
  }
  86% {
    clip-path: polygon(
      0 9%, 20% 10.5%, 40% 12%, 50% 13.5%, 60% 12%, 80% 10.5%, 100% 9%,
      100% 88%, 80% 91%, 60% 92.5%, 50% 94%, 40% 92.5%, 20% 91%, 0 88%
    );
  }
}

@keyframes brand-ai-scan {
  0%, 24% { transform: translateX(-140%) skewX(-20deg); opacity: 0; }
  36% { opacity: .9; }
  58% { transform: translateX(145%) skewX(-20deg); opacity: 0; }
  100% { transform: translateX(145%) skewX(-20deg); opacity: 0; }
}

.progress span {
  position: relative;
  box-shadow:
    0 0 5px rgba(205, 46, 39, .82),
    0 0 13px rgba(234, 78, 61, .62),
    0 0 25px rgba(255, 119, 101, .34);
  animation: none;
}

.progress span::after {
  display: none;
}

@keyframes progress-ai-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.42) saturate(1.25); }
}

@keyframes progress-ai-tip {
  0%, 100% { opacity: .65; transform: translateY(-50%) scale(.7); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.18); }
}

.kicker,
.contents a span,
.chapter header > span,
.big-number strong {
  color: #c93a2f;
}

article > .lead {
  width: min(1275px, calc(100% - 40px));
  max-width: 1275px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(22px, 2.4vw, 32px);
}

@property --contents-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@property --hero-mesh-x1 { syntax: '<percentage>'; inherits: false; initial-value: 10%; }
@property --hero-mesh-y1 { syntax: '<percentage>'; inherits: false; initial-value: 20%; }
@property --hero-mesh-x2 { syntax: '<percentage>'; inherits: false; initial-value: 38%; }
@property --hero-mesh-y2 { syntax: '<percentage>'; inherits: false; initial-value: 78%; }
@property --hero-mesh-x3 { syntax: '<percentage>'; inherits: false; initial-value: 64%; }
@property --hero-mesh-y3 { syntax: '<percentage>'; inherits: false; initial-value: 18%; }
@property --hero-mesh-x4 { syntax: '<percentage>'; inherits: false; initial-value: 88%; }
@property --hero-mesh-y4 { syntax: '<percentage>'; inherits: false; initial-value: 74%; }

.contents {
  --contents-border-angle: 0deg;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(
      from var(--contents-border-angle),
      #1b7d25 0deg,
      #7edc43 80deg,
      #d9ffc0 145deg,
      #63bd2a 220deg,
      #b7f57f 300deg,
      #1b7d25 360deg
    ) border-box;
  box-shadow: none;
  animation: contents-border-flow 8.5s linear infinite;
}

.contents li {
  border: 0;
}

.contents .contents-part {
  color: inherit;
  opacity: .5;
}

.contents a {
  transition: color .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.contents a:hover,
.contents a:focus-visible {
  color: #d84a42;
  transform: translateX(8px);
}

@keyframes contents-border-flow {
  to { --contents-border-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .contents {
    animation: none;
  }
}

/* Intro paragraphs: calm staggered reveal */
.lead-split {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
}

.lead-split p {
  margin: 0;
}

.lead-split .ai-term {
  color: #16813a;
}

.motion-ready .lead-split p.motion-item {
  --enter-x: 0px;
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .75s ease,
    filter .8s ease,
    transform .9s cubic-bezier(.16, 1, .3, 1);
}

.motion-ready .lead-split p.motion-item:nth-child(2) {
  transition-delay: .1s;
}

.motion-ready .lead-split p.motion-item:nth-child(3) {
  transition-delay: .2s;
}

.motion-ready .lead-split p.motion-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.stat {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  justify-items: center;
  column-gap: clamp(24px, 5vw, 80px);
  text-align: center;
  border-radius: 0;
  clip-path: polygon(2% 0, 100% 2%, 98.8% 98%, 2.4% 100%, .7% 52%);
}

.closing {
  border-radius: 0;
  clip-path: polygon(0 2%, 98.5% 0, 99.8% 48%, 98.7% 100%, 1.5% 98%);
  font-size: clamp(30px, 4vw, 56px);
}

.stat strong,
.stat span,
.stat b {
  align-self: center;
  justify-self: center;
}

.stat .stat-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.stat .stat-option > span {
  font-weight: 400;
}

.compare {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border: 0;
  clip-path: polygon(1.5% 0, 100% 2.5%, 98.5% 100%, 0 97.5%);
}

.compare > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(34px, 5vw, 64px);
  border: 0;
  background: transparent;
  text-align: center;
}

.compare > div:last-child {
  background: transparent;
}

.compare .compare-option > span {
  font-weight: 400;
}

.compare .compare-label,
.stat .compare-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.stat .compare-label {
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

.compare .compare-icon,
.stat .compare-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare .compare-classic .compare-icon,
.stat .stat-classic .compare-icon {
  color: #d84a42;
}

.compare .compare-ai .compare-icon,
.stat .stat-ai .compare-icon {
  color: #087a32;
}

.compare > b {
  display: inline-block;
  color: #e0ffbd;
  font-size: 90px;
  font-weight: 400;
  line-height: 1;
  transform: scaleX(1.25);
}

.stat span {
  max-width: 330px;
  line-height: 1.15;
}

/* Hero cover */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  max-width: none;
  min-height: calc(125svh - 72px);
  margin: 0;
  padding: clamp(24px, 5vw, 72px) 3vw;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #d8d6cf;
}

.hero-image .photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .18) 100%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 112%;
  max-height: none;
  object-fit: cover;
  transform: translate3d(var(--parallax-x, 0), var(--parallax, 0), 0) scale(var(--photo-scale, 1.07));
  will-change: transform;
}

.hero-image figcaption {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 16px;
  right: 3vw;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .68);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .28);
  backdrop-filter: none;
}

.hero-copy {
  width: min(980px, 93vw);
  max-width: none;
  padding: clamp(24px, 4vw, 54px);
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  border: 0;
  box-shadow:
    0 0 48px rgba(99, 189, 42, .22),
    0 18px 42px rgba(46, 129, 24, .12);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
  text-align: center;
}

.hero h1 {
  --hero-mesh-x1: 10%;
  --hero-mesh-y1: 20%;
  --hero-mesh-x2: 38%;
  --hero-mesh-y2: 78%;
  --hero-mesh-x3: 64%;
  --hero-mesh-y3: 18%;
  --hero-mesh-x4: 88%;
  --hero-mesh-y4: 74%;
  max-width: 900px;
  margin: .2em auto;
  padding: .12em .04em .16em;
  font-size: clamp(52px, 7.5vw, 112px);
  font-weight: 900;
  line-height: .98;
  overflow: visible;
  color: transparent;
  background:
    radial-gradient(circle at 22% 24%, #011f10 0 13%, rgba(2, 57, 26, .96) 27%, transparent 50%),
    radial-gradient(ellipse at 72% 70%, #04712d 0 13%, rgba(8, 145, 49, .94) 29%, transparent 53%),
    radial-gradient(circle at 76% 22%, #46d154 0 12%, rgba(89, 214, 84, .92) 28%, transparent 51%),
    radial-gradient(ellipse at 24% 76%, #b4f18a 0 13%, rgba(119, 215, 88, .95) 31%, transparent 55%),
    linear-gradient(90deg, #032d17 0%, #0b6c2e 28%, #28a83d 52%, #76d65c 76%, #a1e77c 100%);
  background-repeat: no-repeat;
  background-size: 150% 170%, 165% 145%, 145% 165%, 170% 150%, 210% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .dek {
  margin: 0 auto;
  font-size: clamp(16px, 1.92vw, 28px);
}

.hero .kicker {
  text-align: center;
}

.hero .hero-part {
  color: #aaa9a4;
}

.chapter h2 {
  font-size: clamp(38px, 5.6vw, 76px);
}

/* Subtle photo motion */
.wide {
  position: relative;
  width: 140%;
  margin-left: -20%;
  margin-right: -20%;
  overflow: visible;
  background: transparent;
}

.wide .photo-frame {
  height: min(48vw, 520px);
  overflow: hidden;
  background: #d8d6cf;
}

.wide .photo-frame img {
  width: 100%;
  height: calc(100% + 210px);
  max-height: none;
  margin-top: -105px;
  object-fit: cover;
}

.wide img {
  opacity: 0;
  transform: translate3d(var(--parallax-x, 0), var(--parallax, 20px), 0) scale(var(--photo-scale, 1.08));
  transition: opacity .8s ease;
  will-change: transform, opacity;
}

.wide.is-visible img {
  opacity: 1;
}

.wide figcaption {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 8px 0 0;
  color: #a2a29d;
  background: transparent;
  transform: none;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: .03em;
}

/* Scroll-led motion system */
.hero-copy {
  animation: hero-card-in 1.1s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-image img {
  animation: hero-image-in 1.5s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes hero-card-in {
  from { opacity: 0; transform: translate3d(-8vw, 40px, 0) scale(.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes hero-image-in {
  from { opacity: .35; filter: blur(12px); }
  to { opacity: 1; filter: blur(0); }
}

.motion-ready .motion-item {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(var(--enter-x, 0), 54px, 0) scale(.975);
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1),
    transform 1.05s cubic-bezier(.16, 1, .3, 1),
    filter .85s ease;
  transition-delay: var(--motion-delay, 0ms);
}

.motion-ready .motion-item.from-left { --enter-x: -11vw; }
.motion-ready .motion-item.from-right { --enter-x: 11vw; }

.motion-ready .motion-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .chapter h2.motion-item {
  clip-path: inset(0 0 100% 0);
  filter: none;
  transform: translateY(28px);
  transition: clip-path 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1), opacity .35s;
}

.motion-ready .chapter h2.motion-item.is-visible {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.scroll-card {
  opacity: 0;
  transform: translate3d(var(--card-x, 0), var(--card-y, 32px), 0) rotate(var(--card-r, 0deg));
  transition: opacity .8s ease;
  will-change: transform;
}

.scroll-card.is-visible { opacity: 1; }

.contents li.motion-item:nth-child(2n) { --enter-x: 7vw; }
.contents li.motion-item:nth-child(2n + 1) { --enter-x: -7vw; }

/* Contents rows stay crisp; the panel itself already supplies the reveal. */
.motion-ready .contents li.motion-item,
.motion-ready .contents li.motion-item.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

/* Soft animated glass on green panels */
.stat,
.compare,
.closing {
  color: #123510;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, 0) 27%),
    radial-gradient(circle at 84% 22%, rgba(213, 255, 126, .56) 0%, rgba(213, 255, 126, 0) 34%),
    radial-gradient(circle at 64% 88%, rgba(151, 226, 52, .44) 0%, rgba(151, 226, 52, 0) 31%),
    radial-gradient(circle at 24% 84%, rgba(231, 255, 180, .42) 0%, rgba(231, 255, 180, 0) 34%),
    linear-gradient(125deg, #50aa20 0%, #81d94c 36%, #63bd2a 58%, #96df67 76%, #4fa61f 100%);
  background-size: 155% 155%, 175% 175%, 165% 165%, 180% 180%, 250% 250%;
  background-blend-mode: screen, soft-light, multiply, screen, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .68),
    inset 0 -18px 38px rgba(65, 126, 30, .16),
    inset 0 20px 46px rgba(255, 255, 255, .14);
  animation: green-glass-flow 18s ease-in-out infinite;
}

.stat::before,
.compare::before,
.closing::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -48%;
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 255, 247, .98) 0 10%, rgba(228, 255, 178, .76) 20%, transparent 38%),
    radial-gradient(ellipse at 78% 24%, rgba(174, 255, 72, .98) 0 12%, rgba(107, 216, 35, .76) 26%, transparent 46%),
    radial-gradient(circle at 72% 76%, rgba(45, 145, 16, .86) 0 11%, rgba(75, 184, 27, .58) 25%, transparent 43%),
    radial-gradient(ellipse at 25% 78%, rgba(221, 255, 171, .96) 0 13%, rgba(163, 238, 92, .56) 28%, transparent 48%),
    radial-gradient(circle at 52% 48%, rgba(196, 174, 221, .62) 0 9%, rgba(184, 150, 211, .3) 24%, transparent 42%);
  background-blend-mode: screen, normal, multiply, screen, soft-light;
  filter: blur(34px) saturate(150%) contrast(112%);
  mix-blend-mode: normal;
  opacity: .94;
  transform-origin: center;
  animation: liquid-color-mix 8.5s cubic-bezier(.42, 0, .58, 1) infinite alternate;
  pointer-events: none;
}

.stat::after,
.compare::after,
.closing::after {
  display: none;
}

.stat > *,
.compare > *,
.closing > * {
  position: relative;
  z-index: 1;
}

@keyframes green-glass-flow {
  0%, 100% { background-position: 0% 20%, 100% 10%, 70% 100%, 0% 85%, 0% 50%; }
  25% { background-position: 28% 48%, 72% 30%, 48% 74%, 20% 54%, 42% 68%; }
  50% { background-position: 38% 55%, 62% 38%, 35% 62%, 48% 44%, 100% 50%; }
  75% { background-position: 62% 32%, 34% 68%, 76% 42%, 68% 66%, 52% 30%; }
}

@keyframes liquid-color-mix {
  0% { transform: translate3d(-5%, -3%, 0) rotate(-4deg) scale(1); filter: blur(24px) saturate(110%); }
  28% { transform: translate3d(6%, -7%, 0) rotate(3deg) scale(1.12, .94); filter: blur(30px) saturate(125%); }
  55% { transform: translate3d(8%, 6%, 0) rotate(8deg) scale(.96, 1.13); filter: blur(21px) saturate(118%); }
  78% { transform: translate3d(-7%, 8%, 0) rotate(-2deg) scale(1.1, .98); filter: blur(28px) saturate(132%); }
  100% { transform: translate3d(-3%, -5%, 0) rotate(-7deg) scale(1.04); filter: blur(25px) saturate(116%); }
}

@keyframes glass-highlight {
  0%, 18% { left: -55%; opacity: 0; }
  28% { opacity: .75; }
  52% { left: 125%; opacity: .25; }
  53%, 100% { left: 125%; opacity: 0; }
}

@media (max-width: 900px) {
  .stat {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 12px;
  }

  .stat .compare-label {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .compare {
    grid-template-columns: 1fr;
    clip-path: polygon(2% 0, 100% 1.5%, 98% 100%, 0 98.5%);
  }

  .compare > b {
    display: none;
  }

  .compare .compare-ai {
    border-top: 1px solid rgba(18, 53, 16, .24);
  }

  .hero {
    min-height: calc(115svh - 58px);
    padding: 24px 20px 34px;
  }

  .hero-copy {
    width: 100%;
    padding: 24px;
    border: 0;
    box-shadow:
      0 0 30px rgba(99, 189, 42, .2),
      0 12px 28px rgba(46, 129, 24, .1);
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 82px);
  }

  .chapter h2 {
    font-size: clamp(35px, 8.8vw, 58px);
  }

  .hero-image {
    margin: 0;
  }

  .hero-image figcaption {
    top: auto;
    bottom: 12px;
    right: 14px;
    font-size: 11px;
  }

  .wide {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .wide .photo-frame {
    height: min(62vw, 420px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .brand i,
  .brand i::after,
  .brand .dash-core,
  .brand .dash-particles {
    animation: none;
  }

  .progress span,
  .progress span::after {
    animation: none;
  }

  .hero-image img,
  .wide img {
    transform: scale(1.02);
    transition: none;
    will-change: auto;
  }

  .wide img {
    opacity: 1;
  }


  .chapter header > span {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-copy,
  .hero-image img,
  .motion-ready .motion-item,
  .motion-ready .chapter h2.motion-item,
  .scroll-card {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    animation: none;
    transition: none;
  }

  .stat,
  .compare,
  .closing,
  .stat::after,
  .stat::before,
  .compare::after,
  .compare::before,
  .closing::after {
    animation: none;
  }

  .closing::before {
    animation: none;
  }
}

/* Natural AI: soft organic gradient movement on color panels */
.stat,
.compare,
.closing {
  background:
    radial-gradient(circle at 8% 12%, #f8fff0 0 8%, rgba(226, 255, 182, .86) 18%, transparent 38%),
    radial-gradient(ellipse at 88% 18%, rgba(167, 255, 59, .96) 0 12%, rgba(102, 214, 30, .62) 30%, transparent 52%),
    radial-gradient(circle at 78% 92%, rgba(48, 143, 15, .78) 0 10%, rgba(75, 181, 27, .46) 28%, transparent 48%),
    radial-gradient(ellipse at 18% 88%, rgba(220, 255, 170, .94) 0 12%, rgba(166, 238, 96, .5) 30%, transparent 54%),
    linear-gradient(125deg, #439d18 0%, #b6f77e 38%, #62c628 67%, #d8f7b8 100%);
  background-repeat: no-repeat;
  background-size: 150% 165%, 165% 150%, 155% 170%, 170% 155%, 100% 100%;
  background-blend-mode: screen, normal, multiply, screen, normal;
  animation:
    panel-mesh-flow 7.2s cubic-bezier(.45, 0, .55, 1) infinite,
    mesh-base-breathe 5.2s ease-in-out infinite;
}

.stat::before,
.compare::before,
.closing::before {
  opacity: .98;
  animation: liquid-color-mix 7.2s cubic-bezier(.42, 0, .58, 1) infinite alternate;
}

.stat .ai-accent,
.compare .ai-accent,
.closing .ai-accent {
  color: #d84a42;
}

.stat b {
  color: #e0ffbd;
  display: inline-block;
  grid-row: 1;
  grid-column: 2;
  font-size: 90px;
  font-weight: 400;
  line-height: 1;
  transform: scaleX(1.35);
  transform-origin: center;
  opacity: 1;
  text-shadow: none;
}

.stat strong,
.compare strong {
  color: #123510;
}

.stat .stat-classic .metric-number,
.compare .compare-classic .metric-number {
  color: #d84a42;
}

.stat .stat-ai .metric-number,
.compare .compare-ai .metric-number {
  color: #087a32;
  text-shadow: 0 1px 0 rgba(230, 255, 215, .3);
}

@keyframes mesh-base-breathe {
  0%, 100% { filter: saturate(108%) brightness(1); }
  50% { filter: saturate(128%) brightness(1.035); }
}

@keyframes panel-mesh-flow {
  0%, 100% {
    background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0 0;
  }
  25% {
    background-position: 52% 38%, 62% 30%, 28% 72%, 68% 24%, 0 0;
  }
  50% {
    background-position: 100% 88%, 0% 66%, 4% 18%, 100% 72%, 0 0;
  }
  75% {
    background-position: 28% 72%, 74% 92%, 82% 36%, 18% 18%, 0 0;
  }
}

/* Wide video preview: scroll reveal without parallax */
.video-preview {
  position: relative;
  left: 50%;
  width: min(1190px, calc(100vw - 40px));
  margin: clamp(48px, 6vw, 92px) 0;
  transform: translateX(-50%);
}

.video-preview-frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: #07131b;
  box-shadow: 0 22px 52px rgba(14, 38, 22, .16);
  transform-origin: center;
  cursor: pointer;
  text-decoration: none;
}

.video-preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .6s ease;
}

.video-preview-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -28%;
  bottom: -28%;
  left: -70%;
  width: 42%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08) 22%, rgba(211, 255, 190, .62) 50%, rgba(255, 255, 255, .1) 78%, transparent);
  filter: blur(7px);
}

.video-preview-frame:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) brightness(1.035);
}

.video-preview-frame:hover::before {
  animation: video-hover-glint 1.15s cubic-bezier(.2, .72, .25, 1) both;
}

.video-preview-frame:focus-visible {
  outline: 3px solid #63bd2a;
  outline-offset: 6px;
}

.video-preview-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 43%, rgba(151, 255, 112, .46) 49%, rgba(235, 255, 224, .76) 50%, rgba(99, 189, 42, .36) 51%, transparent 57%),
    linear-gradient(180deg, rgba(99, 189, 42, .12), transparent 24%, transparent 76%, rgba(99, 189, 42, .1));
  background-size: 240% 100%, 100% 100%;
  background-position: 115% 0, 0 0;
}

.motion-ready .video-preview .video-preview-frame {
  opacity: .16;
  filter: blur(9px) saturate(.6);
  clip-path: inset(0 49% 0 49%);
  transform: scale(.975);
  transition:
    clip-path 1.25s cubic-bezier(.16, 1, .3, 1),
    opacity .72s ease,
    filter 1s ease,
    transform 1.15s cubic-bezier(.16, 1, .3, 1);
}

.motion-ready .video-preview.is-visible .video-preview-frame {
  opacity: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.motion-ready .video-preview.is-visible .video-preview-frame::after {
  animation: video-ai-scan 1.65s cubic-bezier(.2, .7, .2, 1) .18s both;
}

@keyframes video-ai-scan {
  0% { opacity: 0; background-position: 115% 0, 0 0; }
  18% { opacity: .9; }
  72% { opacity: .68; }
  100% { opacity: 0; background-position: -115% 0, 0 0; }
}

@keyframes video-hover-glint {
  0% { left: -70%; opacity: 0; }
  15% { opacity: .82; }
  78% { opacity: .64; }
  100% { left: 132%; opacity: 0; }
}

.video-modal {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 4vw, 64px);
  border: 0;
  overflow: hidden;
  color: #fff;
  background: rgba(8, 12, 10, .78);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.video-modal::backdrop {
  background: rgba(5, 8, 6, .52);
}

.video-modal[open] {
  display: grid;
  place-items: center;
  animation: video-modal-in .42s ease both;
}

.video-modal-shell {
  position: relative;
  width: min(1180px, 92vw);
  background: #050706;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48), 0 0 42px rgba(99, 189, 42, .2);
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 82dvh;
  background: #000;
}

.video-modal-close {
  position: fixed;
  z-index: 2;
  top: 22px;
  right: 24px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 244, 238, .92);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .25s ease;
}

.video-modal-close span {
  position: absolute;
  top: 25px;
  left: 11px;
  width: 30px;
  height: 2px;
  background: #173417;
}

.video-modal-close span:first-child { transform: rotate(45deg); }
.video-modal-close span:last-child { transform: rotate(-45deg); }

.video-modal-close:hover,
.video-modal-close:focus-visible {
  transform: rotate(90deg) scale(1.08);
  background: #b8ef91;
}

@keyframes video-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .video-modal { padding: 12px; }
  .video-modal-shell { width: 100%; }
  .video-modal-close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .video-modal-close span { top: 21px; left: 9px; width: 26px; }
}

@media (max-width: 600px) {
  .video-preview {
    width: calc(100vw - 24px);
    margin-top: 42px;
    margin-bottom: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-preview .video-preview-frame {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    transition: none;
  }

  .video-preview-frame::after { display: none; }
}

@keyframes natural-panel-flow {
  0%, 100% {
    background-position: -35% -25%, 118% -18%, 88% 122%, -28% 118%, 52% -35%, 0% 50%;
  }
  25% {
    background-position: 18% 22%, 72% 18%, 38% 84%, 24% 62%, 104% 42%, 34% 46%;
  }
  50% {
    background-position: 74% 66%, 22% 82%, -18% 34%, 92% 16%, 46% 112%, 72% 54%;
  }
  75% {
    background-position: 28% 92%, -22% 12%, 72% -24%, 38% 96%, -16% 38%, 100% 48%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat,
  .compare,
  .closing {
    animation: none;
  }
}

/* AI-chat typing for conclusion cards */
.conclusion {
  position: relative;
  border-left: 0;
  padding-left: 40px;
  background: #ebe8df;
  font-weight: 400;
}

.conclusion b,
.conclusion strong {
  font-weight: 400;
}

.conclusion::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8.4px;
  background: linear-gradient(
    180deg,
    #c92f2a 0%,
    #ef5147 24%,
    #ff9a88 44%,
    #ffe1da 50%,
    #ff8b79 57%,
    #e7463c 76%,
    #c92f2a 100%
  );
  background-size: 100% 320%;
  animation:
    conclusion-stripe-flow 4.2s linear infinite,
    conclusion-stripe-warp 4s cubic-bezier(.45, 0, .2, 1) infinite;
}

@keyframes conclusion-stripe-flow {
  from { background-position: 50% 100%; }
  to { background-position: 50% -220%; }
}

@keyframes conclusion-stripe-warp {
  0%, 100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  25% {
    clip-path: polygon(8% 0, 96% 0, 91% 20%, 84% 50%, 91% 80%, 96% 100%, 8% 100%, 14% 80%, 20% 50%, 14% 20%);
  }
  52% {
    clip-path: polygon(18% 0, 92% 0, 88% 20%, 76% 50%, 88% 80%, 92% 100%, 18% 100%, 26% 80%, 34% 50%, 26% 20%);
  }
  72% {
    clip-path: polygon(8% 0, 86% 0, 80% 20%, 72% 50%, 80% 80%, 86% 100%, 8% 100%, 15% 80%, 22% 50%, 15% 20%);
  }
}

.conclusion.ai-typing-ready .ai-char {
  display: none;
}

.conclusion.ai-typing-ready .ai-char.is-typed {
  display: inline;
}

.conclusion.ai-typing-active::after {
  content: '';
  display: inline-block;
  width: .11em;
  height: .92em;
  margin-left: .12em;
  vertical-align: -.08em;
  background: #d93a32;
  animation: ai-cursor-blink .72s steps(1, end) infinite;
}

@keyframes ai-cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: .12; }
}

@media (prefers-reduced-motion: reduce) {
  .conclusion::before {
    animation: none;
  }
}

.chapter blockquote {
  position: relative;
  margin: 2.2em -4vw;
  padding: clamp(32px, 5vw, 58px) clamp(28px, 5vw, 62px) clamp(30px, 4vw, 50px);
  border: 0;
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.55;
  letter-spacing: -.012em;
  font-weight: 600;
}

.chapter blockquote::before {
  content: none;
  display: none;
  position: absolute;
  top: -3%;
  bottom: -3%;
  left: 2.7%;
  width: 8px;
  background: var(--acid);
  transform: skewX(-3deg);
  transform-origin: center;
  pointer-events: none;
}

.chapter blockquote::after {
  content: none;
}

.chapter blockquote .quote-mark {
  position: absolute;
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
}

.chapter blockquote .quote-open {
  top: 14px;
  left: calc(3% + 28px);
}

.chapter blockquote .quote-close {
  right: calc(3% + 28px);
  bottom: 8px;
}

.chapter blockquote.is-visible .quote-open {
  animation: quote-mark-in .65s cubic-bezier(.16, 1, .3, 1) .12s both;
}

.chapter blockquote.is-visible .quote-close {
  animation: quote-mark-in .65s cubic-bezier(.16, 1, .3, 1) .58s both;
}

@keyframes quote-mark-in {
  from { opacity: 0; transform: translateY(16px) scale(.55) rotate(-8deg); filter: blur(4px); }
  70% { opacity: .26; transform: translateY(-2px) scale(1.08) rotate(2deg); filter: blur(0); }
  to { opacity: .2; transform: translateY(0) scale(1) rotate(0); filter: blur(0); }
}

@media (max-width: 900px) {
  .chapter blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 30px 24px;
    background: rgba(255, 255, 255, .68);
    box-shadow: none;
    clip-path: polygon(3.5% 0, 100% 0, 96.5% 100%, 0 100%);
  }

  .chapter blockquote::before {
    left: 3.1%;
    width: 6px;
  }

  .chapter blockquote .quote-open {
    top: 12px;
    left: calc(3.5% + 18px);
  }

  .chapter blockquote .quote-close {
    right: calc(3.5% + 18px);
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter blockquote .quote-mark,
  .chapter blockquote.is-visible .quote-mark {
    opacity: .2;
    transform: none;
    filter: none;
    animation: none;
  }

  .chapter blockquote::before {
    opacity: 1;
  }
}

/* Hero layout: the complete chair image always precedes the title card */
.hero {
  display: block;
  min-height: 0;
  padding: 0 3vw clamp(32px, 3.6vw, 60px);
  overflow: visible;
}

article > .lead {
  margin-top: 3.2vw;
  margin-bottom: 8vw;
}

.hero-image {
  position: relative;
  z-index: auto;
  inset: auto;
  width: calc(100% + 6vw);
  margin: 0 -3vw;
  overflow: hidden;
}

.hero-image .photo-frame {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 1376 / 768;
  overflow: hidden;
}

.hero-image::after {
  display: none;
}

.hero-image img {
  width: 100%;
  height: calc(100% + 110px);
  max-height: none;
  margin-top: -55px;
  object-fit: cover;
  object-position: center center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: clamp(-338px, -20.8vw, -195px) auto 0;
  opacity: 0;
  transform: translate3d(0, 70px, 0) scale(.96);
  filter: blur(8px);
  animation: none;
  transition:
    opacity 1s cubic-bezier(.16, 1, .3, 1),
    transform 1.15s cubic-bezier(.16, 1, .3, 1),
    filter .9s ease;
}

.hero-copy.hero-copy-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding: 0 20px 32px;
  }

  .hero-image {
    width: calc(100% + 40px);
    margin: 0 -20px;
  }

  .hero-copy {
    width: 100%;
    margin-top: clamp(-130px, -15.6vw, -70px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Stable mobile content gutter */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: clip;
  }

  article > section,
  article > nav,
  article > aside,
  article > .lead {
    width: calc(100% - 48px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .chapter > p,
  .intro > p {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .chapter blockquote {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .masthead {
    gap: 9px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(12px, 3.45vw, 15px);
    gap: 5px;
    letter-spacing: .045em;
    white-space: nowrap;
  }

  .brand i {
    width: 22px;
    height: 5px;
    flex: 0 0 22px;
  }

  .menu-toggle {
    flex: 0 0 auto;
    padding: 12px 0;
    font-size: 10px;
    letter-spacing: .035em;
  }
}

@media (max-width: 420px) {
  .chapter blockquote {
    padding-left: 22px;
    padding-right: 22px;
  }

  .masthead {
    gap: 7px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand {
    font-size: clamp(11px, 3.25vw, 13px);
    gap: 4px;
    letter-spacing: .025em;
  }

  .brand i {
    width: 18px;
    flex-basis: 18px;
  }

  .menu-toggle {
    font-size: 9px;
    letter-spacing: .02em;
  }
}

/* Perspective-less 3D title motion inspired by the referenced mockup */
.hero h1,
.chapter h2 {
  transform-origin: 50% 72%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

.hero h1 {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 58px, 0) rotateX(22deg) rotateY(-5deg) scale(.93);
}

.hero-copy.hero-copy-visible h1 {
  animation:
    title-3d-arrive 1.35s cubic-bezier(.16, 1, .3, 1) both,
    hero-title-mesh 6.4s cubic-bezier(.45, 0, .55, 1) infinite;
}

@keyframes hero-title-mesh {
  0%, 100% {
    --hero-mesh-x1: 10%; --hero-mesh-y1: 20%;
    --hero-mesh-x2: 38%; --hero-mesh-y2: 78%;
    --hero-mesh-x3: 64%; --hero-mesh-y3: 18%;
    --hero-mesh-x4: 88%; --hero-mesh-y4: 74%;
    background-position: 0% 0%, 100% 100%, 100% 0%, 0% 100%, 0% 50%;
  }
  25% {
    --hero-mesh-x1: 22%; --hero-mesh-y1: 48%;
    --hero-mesh-x2: 30%; --hero-mesh-y2: 60%;
    --hero-mesh-x3: 72%; --hero-mesh-y3: 34%;
    --hero-mesh-x4: 82%; --hero-mesh-y4: 50%;
    background-position: 70% 42%, 28% 18%, 18% 82%, 82% 24%, 42% 50%;
  }
  50% {
    --hero-mesh-x1: 16%; --hero-mesh-y1: 80%;
    --hero-mesh-x2: 44%; --hero-mesh-y2: 22%;
    --hero-mesh-x3: 58%; --hero-mesh-y3: 82%;
    --hero-mesh-x4: 92%; --hero-mesh-y4: 20%;
    background-position: 100% 100%, 0% 8%, 0% 100%, 100% 0%, 100% 50%;
  }
  75% {
    --hero-mesh-x1: 8%; --hero-mesh-y1: 42%;
    --hero-mesh-x2: 34%; --hero-mesh-y2: 88%;
    --hero-mesh-x3: 68%; --hero-mesh-y3: 28%;
    --hero-mesh-x4: 86%; --hero-mesh-y4: 66%;
    background-position: 30% 76%, 76% 86%, 82% 16%, 20% 78%, 58% 50%;
  }
}

.motion-ready .chapter h2.motion-item {
  --title-yaw: -6deg;
  opacity: 0;
  clip-path: none;
  filter: blur(5px);
  transform: perspective(1200px) translate3d(0, 66px, 0) rotateX(24deg) rotateY(var(--title-yaw)) scale(.925);
  transition: none;
}

.motion-ready .chapter h2.motion-item.from-right {
  --title-yaw: 6deg;
}

.motion-ready .chapter h2.motion-item.is-visible {
  clip-path: none;
  animation: title-3d-arrive 1.25s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes title-3d-arrive {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: perspective(1200px) translate3d(0, 68px, 0) rotateX(25deg) rotateY(var(--title-yaw, -5deg)) scale(.92);
    text-shadow: 0 0 0 rgba(23, 24, 23, 0);
  }
  62% {
    opacity: 1;
    filter: blur(0);
    transform: perspective(1200px) translate3d(0, -7px, 22px) rotateX(-2deg) rotateY(0) scale(1.015);
    text-shadow: 0 16px 24px rgba(23, 24, 23, .1);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
    text-shadow: 0 7px 15px rgba(23, 24, 23, .055);
  }
}

@keyframes title-3d-float {
  0%, 100% {
    opacity: 1;
    filter: blur(0);
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
    text-shadow: 0 7px 15px rgba(23, 24, 23, .055);
  }
  48% {
    transform: perspective(1200px) translate3d(0, -5px, 12px) rotateX(-.7deg) rotateY(.35deg) scale(1.002);
    text-shadow: 0 12px 20px rgba(23, 24, 23, .085);
  }
  72% {
    transform: perspective(1200px) translate3d(0, 2px, 3px) rotateX(.35deg) rotateY(-.2deg) scale(.999);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero-copy.hero-copy-visible h1,
  .motion-ready .chapter h2.motion-item,
  .motion-ready .chapter h2.motion-item.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: none;
    animation: none;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    width: 100%;
    max-width: 100%;
    padding: .14em .18em .2em;
    font-size: clamp(38px, 11.8vw, 58px);
    line-height: 1.01;
    letter-spacing: -.062em;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    padding-left: .1em;
    padding-right: .1em;
    font-size: 36px;
    letter-spacing: -.055em;
  }
}

/* Responsive QA safeguards */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

main,
article,
.chapter,
.intro,
.contents,
.contents-panel,
.hero-copy,
.stat,
.compare,
.closing,
.fullscreen-menu nav {
  min-width: 0;
}

.chapter h2,
.hero h1,
.hero .dek,
.contents a,
.contents a span,
.inactive-item span,
.part-two-note,
.closing {
  overflow-wrap: break-word;
}

.wide {
  left: 50%;
  width: min(140%, calc(100vw - 32px));
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .wide {
    left: auto;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    transform: none;
  }

  .contents {
    padding: clamp(22px, 5vw, 42px);
  }

  .contents a,
  .inactive-item,
  .fullscreen-menu a,
  .fullscreen-menu .inactive-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .fullscreen-menu nav {
    padding-bottom: 28px;
  }

  .stat,
  .compare,
  .closing {
    width: 100%;
    max-width: 100%;
  }

  .stat,
  .compare > div,
  .closing {
    padding-left: clamp(22px, 5vw, 40px);
    padding-right: clamp(22px, 5vw, 40px);
  }
}

@media (max-width: 420px) {
  .contents a,
  .inactive-item,
  .fullscreen-menu a,
  .fullscreen-menu .inactive-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }

  .fullscreen-menu {
    padding-left: 16px;
    padding-right: 16px;
  }

  .part-two-status {
    padding: 6px 9px;
    font-size: 10px;
    letter-spacing: .025em;
  }
}
