/* ==========================================================================
   National Fraud Helpline — landing, page 1 (v2)
   Concept: "messages you've already seen". Evergreen + butter, still-life
   photography, chat bubbles as the recurring motif.
   ========================================================================== */

@font-face {
  font-family: 'Young Serif';
  src: url('../fonts/young-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-grotesk.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --ever-950: oklch(0.2 0.034 165);
  --ever-900: oklch(0.255 0.046 163);
  --ever-800: oklch(0.3 0.052 162);
  --ever-700: oklch(0.36 0.054 161);
  --ever-600: oklch(0.45 0.05 160);
  --ink: oklch(0.23 0.035 165);
  --ink-soft: oklch(0.43 0.03 163);
  --paper: oklch(0.968 0.013 105);
  --paper-hi: oklch(0.99 0.007 105);
  --line: oklch(0.87 0.022 135);
  --mist: oklch(0.925 0.03 150);
  --butter: oklch(0.885 0.155 96);
  --butter-deep: oklch(0.83 0.165 92);
  --flag: oklch(0.66 0.21 32);
  --on-dark: oklch(0.955 0.018 105);
  --on-dark-soft: oklch(0.84 0.035 150);

  /* type */
  --display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --text: 'Schibsted Grotesk', system-ui, sans-serif;
  --step-h1: clamp(2.5rem, 1.45rem + 4.4vw, 4.75rem);
  --step-h2: clamp(2.125rem, 1.5rem + 2.7vw, 3.5rem);
  --step-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --step-lede: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;

  /* space (4pt) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 96px;
  --gutter: clamp(20px, 4.5vw, 56px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 28px;
  --radius-msg: 22px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
svg, img { display: block; }
img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  max-width: 1280px;
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter);
  color: var(--on-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
}
.brand__name {
  display: grid;
  font-family: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__name span + span { letter-spacing: 0.435em; }

/* --------------------------------------------------------------------------
   Screen 1 · Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--ever-950);
}

/* photograph: Mark at his desk. Phones: top band; desktop: full bleed, right side */
.hero__bg img {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -3;
  width: 100%;
  height: min(108vw, 470px);
  object-fit: cover;
  object-position: 50% 18%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg,
    oklch(0.2 0.034 165 / 0.5) 0,
    transparent 90px,
    transparent calc(min(108vw, 470px) * 0.5),
    var(--ever-950) calc(min(108vw, 470px) - 4px));
  pointer-events: none;
}

/* paper grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  padding-block: calc(min(108vw, 470px) - 96px) var(--space-3xl);
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-h1);
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
  max-width: 15ch;
}

/* hand-drawn underline under the promise */
.mark {
  white-space: nowrap;
  padding-bottom: 0.08em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12.5C52 5 104 3.5 152 6.5c50 3 98 4.5 145 1' fill='none' stroke='%23f0d04a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 100% / 100% 0.22em;
}

.lede {
  margin-top: var(--space-xl);
  max-width: 34em;
  font-size: var(--step-lede);
  line-height: 1.6;
  color: var(--on-dark-soft);
}
.lede strong {
  font-weight: 600;
  color: var(--on-dark);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  min-height: 68px;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-2xl);
  border-radius: 999px;
  background: var(--butter);
  color: var(--ever-950);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 18px 40px -18px oklch(0.885 0.155 96 / 0.55);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cta svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--ever-950);
  fill: none;
  stroke: var(--butter);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta:hover {
  background: var(--butter-deep);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -18px oklch(0.885 0.155 96 / 0.7);
}
.cta:active { transform: scale(0.985); }

/* terms strip under the main button */
.assure {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
  max-width: 540px;
  margin-top: var(--space-2xl);
  border-top: 1px solid color-mix(in oklch, var(--on-dark) 20%, transparent);
}
.assure li {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: var(--space-lg) var(--space-md) 0 var(--space-lg);
  border-left: 1px solid color-mix(in oklch, var(--on-dark) 20%, transparent);
}
.assure li:first-child {
  padding-left: 0;
  border-left: 0;
}
.assure strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  white-space: nowrap;
}
.assure span {
  font-size: var(--step-small);
  line-height: 1.35;
  color: var(--on-dark-soft);
}

/* --------------------------------------------------------------------------
   Messages (shared by hero scene and case cards)
   -------------------------------------------------------------------------- */
.msg__from {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.msg--scam .msg__from::before,
.msg--quote .msg__from::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flag);
}
.msg__text {
  width: fit-content;
  padding: 14px 18px;
  border-radius: var(--radius-msg);
  font-size: 1.0625rem;
  line-height: 1.4;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Hero badge: who is in the photograph
   -------------------------------------------------------------------------- */
.hero__badge {
  order: -1;
  display: inline-grid;
  justify-self: start;
  gap: 2px;
  padding: 10px 16px;
  border: 1px solid color-mix(in oklch, var(--on-dark) 18%, transparent);
  border-radius: 16px;
  background: color-mix(in oklch, var(--ever-950) 62%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  line-height: 1.3;
}
.hero__badge strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.125rem;
}
.hero__badge span {
  font-size: var(--step-small);
  color: var(--on-dark-soft);
}
.hero__badge .hero__live {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in oklch, var(--on-dark) 16%, transparent);
  font-weight: 600;
  color: var(--on-dark);
}
.hero__live i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: oklch(0.78 0.19 150);
}
.hero__live i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
}

/* --------------------------------------------------------------------------
   Screen 2 · Case types
   -------------------------------------------------------------------------- */
.cases {
  padding-block: clamp(64px, 8.5vw, 120px) clamp(56px, 7vw, 104px);
}

.cases__head {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-h2);
  line-height: 1.05;
  letter-spacing: -0.016em;
}
.cases__head p {
  max-width: 30em;
  font-size: var(--step-lede);
  line-height: 1.5;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

.case { container-type: inline-size; }

/* base: compact row (phones) — all six fit in about one screen */
.case__link {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-content: start;
  column-gap: var(--space-lg);
  height: 100%;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-hi);
  color: var(--ink);
  text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}

.case__pic {
  display: block;
  grid-row: 1 / span 2;
  align-self: start;
}

.case__img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 1.4s var(--ease);
}

.case__body {
  grid-column: 2;
  padding: 2px 44px 0 0;
}
.case h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3125rem;
  line-height: 1.14;
  letter-spacing: -0.012em;
}
.case__sit { display: none; }

.msg--quote {
  grid-column: 2;
  margin-top: 10px;
}
.msg--quote .msg__from { display: none; }
.msg--quote .msg__text {
  padding: 9px 13px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.38;
}

.case__go {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
}
.case__go svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-hi);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), stroke .45s var(--ease);
}

/* featured cards (crypto, investment): dark, photograph on the right */
@container (min-width: 540px) {
  .case--lg .case__link {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-rows: auto 1fr;
    align-content: stretch;
    column-gap: 0;
    min-height: 380px;
    padding: 0;
    border-color: transparent;
    border-radius: var(--radius-card);
    background: var(--ever-900);
    color: var(--on-dark);
  }
  .case--lg .case__link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(440px circle at var(--mx) var(--my), oklch(0.885 0.155 96 / 0.18), transparent 62%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
  }
  .case--lg .case__img {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -1;
    width: 62%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    object-position: 50% 42%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 46%);
            mask-image: linear-gradient(to right, transparent 0%, #000 46%);
  }
  .case--lg .case__body {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    padding: var(--space-2xl) 0 0 var(--space-2xl);
  }
  .case--lg h3 { font-size: var(--step-h3); }
  .case--lg .case__sit {
    display: block;
    margin-top: var(--space-md);
    color: var(--on-dark-soft);
    line-height: 1.5;
  }
  .case--lg .msg--quote {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin: var(--space-xl) 0 var(--space-2xl) var(--space-2xl);
  }
  .case--lg .msg--quote .msg__from { display: flex; color: var(--on-dark); }
  .case--lg .msg--quote .msg__text {
    padding: 14px 18px;
    border-radius: var(--radius-msg);
    border-bottom-left-radius: 6px;
    background: var(--paper-hi);
    font-size: 1.125rem;
    box-shadow: 0 18px 36px -18px oklch(0.1 0.03 165 / 0.9);
  }
  .case--lg .case__go { top: var(--space-xl); right: var(--space-xl); }
  .case--lg .case__go svg {
    width: 48px;
    height: 48px;
    padding: 13px;
    border-color: color-mix(in oklch, var(--on-dark) 34%, transparent);
    background: color-mix(in oklch, var(--ever-950) 55%, transparent);
    stroke: var(--on-dark);
  }
}

@media (hover: hover) {
  .case__link:hover {
    transform: translateY(-5px);
    border-color: var(--ink);
    box-shadow: 0 30px 50px -34px oklch(0.2 0.034 165 / 0.6);
  }
  .case--lg .case__link:hover { border-color: transparent; }
  .case__link:hover::after { opacity: 1; }
  .case__link:hover .case__img { transform: scale(1.05); }
  .case__link:hover .case__go svg,
  .case--lg .case__link:hover .case__go svg {
    transform: translateX(3px);
    border-color: var(--butter);
    background: var(--butter);
    stroke: var(--ever-950);
  }
}
.case__link:active { transform: scale(0.99); }
.case__link:focus-visible { border-radius: var(--radius-card); }

.cases__note {
  margin-top: var(--space-2xl);
  font-size: var(--step-body);
  color: var(--ink-soft);
}
.cases__note strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot {
  background: var(--ever-950);
  color: var(--on-dark-soft);
  font-size: var(--step-small);
  line-height: 1.6;
}
.foot__grid {
  display: grid;
  gap: var(--space-2xl);
  padding-block: var(--space-4xl) var(--space-2xl);
}
.foot .brand { color: var(--on-dark); }
.foot__brand p { margin-top: var(--space-lg); max-width: 26em; }
.foot__addr {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  font-style: normal;
}
.foot__addr strong {
  margin-bottom: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.foot--slim .foot__addr { margin-top: 0; }
.foot__legal { display: grid; gap: var(--space-lg); max-width: 72ch; }
.foot__legal strong { color: var(--on-dark); font-weight: 650; }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid color-mix(in oklch, var(--ever-600) 55%, transparent);
}
.foot__base nav { display: flex; gap: var(--space-xl); }
.foot__base a { text-underline-offset: 3px; }
.foot__base a:hover { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Breakpoints (page layout)
   -------------------------------------------------------------------------- */
@media (max-width: 519px) {
  .cta {
    display: flex;
    font-size: 1.0625rem;
    padding-left: var(--space-xl);
    gap: var(--space-md);
  }
}

@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .case--lg { grid-column: 1 / -1; }

  .case:not(.case--lg) .case__link {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: var(--radius-card);
  }
  .case:not(.case--lg) .case__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }
  .case:not(.case--lg) .case__body { padding: 20px 22px 0; }
  .case:not(.case--lg) h3 { font-size: 1.4375rem; }
  .case:not(.case--lg) .msg--quote { margin: var(--space-lg) 22px 24px; }
  .case:not(.case--lg) .msg--quote .msg__from { display: flex; color: var(--ink-soft); }
  .case:not(.case--lg) .msg--quote .msg__text {
    padding: 12px 16px;
    border-radius: 20px;
    border-bottom-left-radius: 6px;
    font-size: 1rem;
  }
  .case:not(.case--lg) .case__go { top: var(--space-lg); right: var(--space-lg); }
  .case:not(.case--lg) .case__go svg {
    width: 44px;
    height: 44px;
    padding: 12px;
    border-color: transparent;
  }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: var(--space-4xl);
    min-height: min(100svh, 900px);
    padding-block: 128px var(--space-5xl);
  }
  .hero__bg img {
    inset: 0;
    height: 100%;
    object-position: 100% 30%;
  }
  .hero__scrim {
    background:
      linear-gradient(90deg, oklch(0.2 0.034 165 / 0.97) 0%, oklch(0.2 0.034 165 / 0.9) 34%, oklch(0.2 0.034 165 / 0.45) 52%, transparent 68%),
      linear-gradient(0deg, oklch(0.2 0.034 165 / 0.6) 0%, transparent 24%);
  }
  .lede { max-width: 27em; }
  .hero__badge {
    order: 0;
    align-self: end;
    justify-self: end;
    margin-bottom: -40px;
  }

  .cases__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: var(--space-4xl);
  }
  .cases__head p { justify-self: end; }

  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .case { grid-column: span 6; }

  .foot__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-4xl); }
  .foot__base { grid-column: 1 / -1; }
}

@media (min-width: 1140px) {
  .case { grid-column: span 3; }
  .case--lg { grid-column: span 6; }
  .case:not(.case--lg) .case__img { aspect-ratio: 5 / 4; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes word {
  from { opacity: 0; transform: translateY(0.4em); }
  to   { opacity: 1; transform: none; }
}
@keyframes underline {
  from { background-size: 0% 0.22em; }
  to   { background-size: 100% 0.22em; }
}
@keyframes bgin {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}
@keyframes frame {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes typing {
  0%   { opacity: 0; transform: translateY(8px); }
  12%  { opacity: 1; transform: none; }
  88%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes dot {
  0%, 60%, 100% { transform: none; opacity: .45; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes ping {
  0%   { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@keyframes nudge {
  0%, 100% { transform: none; }
  50% { transform: translateY(4px); }
}

.w { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* headline: word by word */
  .js [data-split] .w {
    opacity: 0;
  }
  .js h1[data-split] .w,
  .js h2[data-split].is-in .w {
    animation: word .9s var(--ease) both;
    animation-delay: calc(var(--w) * 55ms + .1s);
  }
  .js h1 .mark {
    animation: underline .9s var(--ease) both;
    animation-delay: 1s;
  }

  .js .hero__copy > :not(h1) { animation: rise .9s var(--ease) both; }
  .js .hero__copy > .lede    { animation-delay: .55s; }
  .js .hero__copy > .cta     { animation-delay: .7s; }
  .js .hero__copy > .assure  { animation-delay: .85s; }

  .js .hero__badge { animation: rise .9s var(--ease) both; animation-delay: 1s; }
  .js .hero__bg img { animation: bgin 1.6s var(--ease) both; }

  .hero__live i::after { animation: ping 2.2s ease-out infinite; }
  .cta svg { animation: nudge 2.4s ease-in-out infinite; animation-delay: 3s; }

  .js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* per-image framing (vertical cards only) */
@media (min-width: 600px) {
  .case:not(.case--lg) .case__img[src*="psychic"] { object-position: 50% 40%; }
}
@media (min-width: 600px) {
  .case h3 { text-wrap: balance; }
}
