/* ==========================================================================
   Snackery Labs · home.css · v3 "Elevated"
   Homepage-only styles — loaded only on front-page.php
   Sections: opener scrub → headline wall → pillars → rail head →
   horizontal rail → stats → credo → clients marquee → bites → studio → news
   ========================================================================== */

:root {
  --hp-indigo-900: #0b0d4a;
  --hp-indigo-800: #101585;
  --hp-indigo-500: #3f48d9;
  --hp-indigo-300: #9ca1ef;
  --hp-indigo-200: #c8cbf6;
  --hp-indigo-100: #e7e9fc;
  --hp-lemon:      #FDF37E;
  --hp-white:      #ffffff;
  --hp-body:       #3a3a3a;
  --hp-fd: 'Rubik', sans-serif;
  --hp-fb: 'Work Sans', sans-serif;
}

body { font-family: var(--hp-fb); }
.hp-hl {
  background: var(--hp-lemon);
  color: var(--hp-indigo-900);
  border-radius: 0.08em;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── OPENER · kernel → store → business scrub ─────────────────────── */
.op { height: 820svh; position: relative; background: var(--hp-indigo-900); }
.op__pin {
  position: sticky; top: 0; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
  text-align: center;
  background: var(--hp-indigo-900);
  color: var(--hp-white);
  perspective: 900px;
}
.op__kernel {
  position: absolute; z-index: 3;
  top: 50%; left: 50%;
  height: min(35svh, 37vw); width: auto;
  transform: translate(-50%,-50%) perspective(760px) rotateZ(-6deg) rotateY(var(--kr, 0deg)) scale(calc(max(0, 1 - var(--p, 0)*4.2)));
  opacity: calc(1 - max(0, var(--p, 0) - 0.18)*14);
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.4));
  will-change: transform, opacity;
}
.op__lead, .op__lead2 {
  position: absolute; z-index: 3;
  top: 16svh; left: 50%; transform: translateX(-50%);
  font-family: var(--hp-fd); font-weight: 700;
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--hp-indigo-200);
  white-space: nowrap;
}
.op__lead  { opacity: calc(min(1, max(0, var(--p, 0) - 0.12)*7) - max(0, var(--q, 0) - 0.2)*5); }
.op__lead2 { opacity: calc(max(0, var(--q, 0) - 0.38)*4); }
.op__word {
  position: absolute; z-index: 2;
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(48px, 10.5vw, 150px);
  letter-spacing: -0.035em; line-height: 0.9;
  white-space: nowrap;
}
.op__store {
  color: transparent;
  -webkit-text-stroke: 2.5px rgba(200,203,246,0.6);
  transform: scale(calc(1 + var(--q, 0)*14));
  opacity: calc(min(1, max(0, var(--p, 0) - 0.1)*7) - max(0, var(--q, 0) - 0.06)*4);
  will-change: transform, opacity;
}
.op__biz {
  color: var(--hp-lemon);
  transform: scale(calc(0.3 + min(1, max(0, var(--q, 0) - 0.12)*2)*0.7));
  opacity: calc(max(0, var(--q, 0) - 0.22)*3.2);
  filter: blur(calc(max(0, 0.42 - var(--q, 0))*14px));
  will-change: transform, opacity, filter;
}
.op__cap {
  position: absolute; z-index: 3;
  bottom: 11svh; left: 50%; transform: translateX(-50%);
  width: min(660px, calc(100vw - 48px));
  padding: 0;
  font-size: clamp(16px, 2vw, 21px); line-height: 1.55;
  color: var(--hp-indigo-200);
}
.op__cap em { font-style: normal; color: var(--hp-white); font-weight: 600; }
.op__c1 { opacity: calc(min(var(--q, 0)*6, 1) - max(0, var(--q, 0) - 0.18)*5); }
.op__c2 { opacity: calc(min(1, max(0, var(--q, 0) - 0.3)*5) - max(0, var(--q, 0) - 0.66)*6); }
.op__c3 { opacity: calc((var(--q, 0) - 0.74)*5); color: var(--hp-white); }
.op__c3 em { color: var(--hp-lemon); }
.op__hint {
  position: absolute; z-index: 3;
  bottom: 3.5svh; left: 50%; transform: translateX(-50%);
  font-family: var(--hp-fd); font-weight: 700;
  font-size:13.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--hp-indigo-300);
  opacity: calc(1 - var(--p, 0)*6);
}

/* ── HEADLINE WALL ─────────────────────────────────────────────────── */
.wall {
  position: relative;
  background: var(--hp-indigo-900);
  color: var(--hp-white);
  padding: 18svh 6vw 10svh;
}
.wall > .wall__badge, .wall > .wall__h1, .wall > .wall__bottom { position: relative; z-index: 2; }
.wall__popwrap {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 52svh; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.wall__popcorn {
  position: absolute; left: 18%;
  bottom: calc(-1*clamp(140px, 20vw, 300px));
  width: clamp(280px, 40vw, 600px);
  opacity: 0.5;
  will-change: transform;
  transform: translate(-50%, var(--py, 0)) rotate(var(--pr, 0deg));
}
.wall__popmask {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 9svh; z-index: 1;
  background: linear-gradient(to top, var(--hp-indigo-900) 55%, transparent);
}
.wall__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(246,244,234,0.92);
  color: var(--hp-indigo-800);
  border-radius: 6px; padding: 7px 14px;
  font-family: var(--hp-fd); font-weight: 700; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.wall__badge img { height: 15px; }
.wall__h1 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(46px, 8.6vw, 128px);
  line-height: 1; letter-spacing: -0.032em;
  margin: 4svh 0 0; max-width: 15ch;
  color: var(--hp-white);
}
.wall__line { display: block; overflow: hidden; }
.wall__line > span { display: block; transform: translateY(112%); opacity: 0; }
.wall__line.m1-on > span {
  transform: none; opacity: 1;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease-out;
}
.wall__bottom {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 5vw; align-items: end; margin-top: 7svh;
}
.wall__lede {
  max-width: 520px; font-size: 17.5px; line-height: 1.68;
  color: var(--hp-indigo-200); opacity: 0;
}
.wall__actions { display: flex; gap: 14px; margin-top: 4svh; flex-wrap: wrap; opacity: 0; }
.wall__lede.m1-on, .wall__actions.m1-on, .wall__sig.m1-on, .wall__illo.m1-on {
  opacity: 1; transition: opacity 0.6s ease-out;
}
.wall__cta {
  font-family: var(--hp-fd); font-weight: 700; font-size: 16px;
  padding: 18px 30px; border-radius: 12px; text-decoration: none;
  background: var(--hp-lemon); color: var(--hp-indigo-900);
  transition: transform 0.15s ease-out;
}
.wall__cta:hover { transform: translateY(-2px); }
.wall__cta--ghost {
  background: transparent; color: var(--hp-white);
  border: 1.5px solid rgba(246,244,234,0.32);
}
.wall__sig { margin-top: 6svh; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; opacity: 0; }
.wall__sig-name { font-family: var(--hp-fd); font-weight: 900; font-size: 15px; color: var(--hp-white); }
.wall__sig-title { font-size:13.5px; color: var(--hp-indigo-300); }
.wall__illo { opacity: 0; }
.wall__illo img { width: 100%; display: block; transform: translateX(calc(-30px - 30%)); }

/* laptop viewports: the wall fits one screen */
@media (min-width: 841px) and (max-height: 940px) {
  .wall { padding: max(12svh, 110px) 6vw 7svh; }
  .wall__badge { font-size:13.5px; padding: 6px 12px; }
  .wall__h1 { font-size: min(7vw, 13.5svh); margin-top: 3svh; }
  .wall__bottom { margin-top: 4svh; align-items: center; }
  .wall__lede { font-size: 15.5px; max-width: 480px; line-height: 1.6; }
  .wall__actions { margin-top: 3svh; }
  .wall__cta { padding: 14px 24px; font-size: 15px; }
  .wall__sig { margin-top: 3.5svh; }
  .wall__illo { max-width: 430px; justify-self: end; }
}

/* ── PILLARS ───────────────────────────────────────────────────────── */
.pillars { background: var(--hp-white); color: #0b0b0b; padding: 16svh 6vw; }
.pillars .eyebrow { color: var(--hp-indigo-800); }
.pillar {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 4vw; padding: 6svh 0;
  border-bottom: 1px solid rgba(16,21,133,0.14);
  align-items: start;
}
.pillar:first-of-type { margin-top: 5svh; border-top: 1px solid rgba(16,21,133,0.14); }
.pillar__title {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(30px, 4.4vw, 58px);
  letter-spacing: -0.025em; color: var(--hp-indigo-800); line-height: 1;
}
.pillar__title em { font-style: italic; }
.pillar__desc { font-size: 16.5px; line-height: 1.7; color: var(--hp-body); max-width: 56ch; }

/* ── RAIL HEAD ─────────────────────────────────────────────────────── */
.railhead { background: var(--hp-white); color: #0b0b0b; padding: 6svh 6vw 10svh; }
.railhead .eyebrow { color: var(--hp-indigo-800); }
.railhead h2 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(34px, 5vw, 68px);
  letter-spacing: -0.028em; color: var(--hp-indigo-800);
  margin-top: 16px; line-height: 1.04;
}
.railhead h2 em { font-style: italic; }
.railhead p { margin-top: 18px; max-width: 58ch; font-size: 16.5px; line-height: 1.68; color: var(--hp-body); }
.railhead__hint {
  margin-top: 4svh;
  font-family: var(--hp-fd); font-weight: 700;
  font-size:13.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--hp-indigo-300);
}

/* ── APP DECK · sticky cards land on the pile ─────────────────── */
.deck { padding: 0 5vw 12svh; }
.deck__card {
  position: sticky;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 -18px 50px rgba(11,13,74,0.14), inset 0 0 0 1px rgba(16,21,133,0.08);
  margin-bottom: 0;
}
/* reading room: pinned card dwells before the next one enters from the bottom */
.deck__card--2, .deck__card--3 { margin-top: 34svh; }
.deck__card--1 { top: max(11svh, 104px); }
.deck__card--2 { top: max(14svh, 128px); }
.deck__card--3 { top: max(17svh, 152px); }
.room {
  height: 78svh;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 4vw;
  padding: 7svh 5vw;
}
.room__label {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--hp-fd); font-weight: 700;
  font-size:13.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--hp-indigo-900);
  background: var(--hp-lemon);
  border-radius: 6px; padding: 7px 12px;
}
.room h3 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(34px, 4.8vw, 68px);
  letter-spacing: -0.028em; line-height: 1.02;
  color: var(--hp-indigo-800);
}
.room h3 em { font-style: italic; }
.room__tagline {
  font-family: var(--hp-fd); font-weight: 700;
  font-size: clamp(16px, 1.6vw, 19px);
  margin-top: 14px; letter-spacing: -0.01em;
  color: var(--hp-indigo-500);
}
.room__lede {
  margin-top: 16px; max-width: 50ch;
  font-size: clamp(15px, 1.35vw, 16.5px); line-height: 1.68;
  color: var(--hp-body);
}
.room__features {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 22px; list-style: none; max-width: 620px;
  padding: 0;
}
.room__features li {
  font-size: 13.5px; font-weight: 500; line-height: 1.5;
  padding-left: 18px; position: relative;
  color: #4a4a52;
}
.room__features li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--hp-lemon);
  box-shadow: inset 0 0 0 1.5px rgba(16,21,133,0.35);
}
.room__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.room__btn {
  font-family: var(--hp-fd); font-weight: 700; font-size: 14.5px;
  padding: 15px 24px; border-radius: 11px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hp-lemon); color: var(--hp-indigo-900);
  transition: transform 0.15s ease-out;
}
.room__btn:hover { transform: translateY(-2px); }
.room__btn--ghost {
  background: var(--hp-indigo-800); color: var(--hp-white);
  border: 0;
}
.room__btn--ghost img { filter: invert(1) brightness(2); }
.room__btn img { height: 14px; }
.room__status {
  margin-top: 18px; font-size:13.5px;
  display: flex; align-items: center; gap: 8px;
  color: var(--hp-indigo-800);
}
.room__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  animation: hp-pulse 2s ease-out infinite;
}
@keyframes hp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,21,133,0.35); }
  70%  { box-shadow: 0 0 0 9px rgba(16,21,133,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,21,133,0); }
}
.room__visual { display: grid; place-items: center; }
.room__panel {
  background: var(--hp-white);
  border-radius: 20px; padding: 30px 26px;
  box-shadow: 18px 18px 0 var(--hp-lemon), 0 26px 70px rgba(11,13,74,0.16), inset 0 0 0 1px rgba(16,21,133,0.08);
}
.room__panel img { width: min(30vw, 400px); display: block; }
.room--vd { background: var(--hp-indigo-100); }
.room--mf { background: var(--hp-white); }
.room--sb { background: #f3f4fe; }

/* short laptop viewports: keep air inside the rooms */
@media (min-width: 841px) and (max-height: 860px) {
  .room { padding: 6svh 5vw; height: 76svh; }
  .room h3 { font-size: clamp(28px, 3.8vw, 46px); }
  .room__tagline { font-size: 15.5px; margin-top: 10px; }
  .room__lede { font-size: 14.5px; margin-top: 12px; max-width: 46ch; }
  .room__features { margin-top: 14px; gap: 7px 18px; }
  .room__features li { font-size:13.5px; }
  .room__actions { margin-top: 18px; }
  .room__btn { padding: 12px 20px; font-size: 13.5px; }
  .room__status { margin-top: 12px; font-size:13.5px; }
  .room__panel { padding: 22px 20px; }
  .room__panel img { width: min(26vw, 330px); }
}

/* ── STATS ─────────────────────────────────────────────────────────── */
.stats {
  background: var(--hp-white); color: #0b0b0b;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16,21,133,0.14);
}
.stats > div { padding: 8svh 4vw; border-right: 1px solid rgba(16,21,133,0.14); }
.stats > div:last-child { border-right: 0; }
.stats__n {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(52px, 7vw, 104px);
  letter-spacing: -0.03em; color: var(--hp-indigo-800);
  font-variant-numeric: tabular-nums;
}
.stats__d { margin-top: 8px; font-size: 14px; color: var(--hp-body); max-width: 26ch; }

/* ── CREDO ─────────────────────────────────────────────────────────── */
.credo { background: var(--hp-white); color: #0b0b0b; padding: 16svh 6vw 8svh; text-align: center; }
.credo .eyebrow { color: var(--hp-indigo-800); justify-content: center; }
.credo h2 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(32px, 4.6vw, 62px);
  letter-spacing: -0.028em; color: var(--hp-indigo-800); margin-top: 16px;
}
.credo h2 em { font-style: italic; }
.credo .lede { margin: 20px auto 0; max-width: 62ch; font-size: 16.5px; line-height: 1.7; color: var(--hp-body); }
.credo .btn { margin-top: 28px; }

/* ── CLIENT LOGO MARQUEE ───────────────────────────────────────────── */
.clients { background: var(--hp-white); padding: 6svh 0 14svh; }
.clients__label {
  text-align: center;
  font-family: var(--hp-fd); font-weight: 700;
  font-size:13.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--hp-indigo-300);
  margin-bottom: 5svh; padding-inline: 24px;
}
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.clients__track {
  display: flex; align-items: center; gap: 10px;
  width: max-content; padding-inline: 32px;
  animation: clients-drift 60s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__logo {
  width: 300px; height: 90px; object-fit: contain;
  filter: grayscale(1); opacity: 0.55;
  transition: filter 0.2s ease-out, opacity 0.2s ease-out;
}
.clients__logo:hover { filter: none; opacity: 1; }
@keyframes clients-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SNACK BAR BITES ───────────────────────────────────────────────── */
.bites { background: var(--hp-white); color: #0b0b0b; padding: 10svh 6vw 14svh; }
.bites__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.bites__head .eyebrow { color: var(--hp-indigo-800); }
.bites__head h2 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(30px, 4.2vw, 56px);
  letter-spacing: -0.026em; color: var(--hp-indigo-800); margin-top: 14px;
}
.bites__all {
  font-family: var(--hp-fd); font-weight: 700; font-size: 14px;
  color: var(--hp-indigo-800); text-decoration: none;
  border-bottom: 2px solid var(--hp-lemon); padding-bottom: 2px;
}
.bites__card {
  position: relative; margin-top: 6svh;
  border-radius: 18px; overflow: hidden;
  min-height: 520px; display: grid;
}
.bites__card > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.bites__card:hover > img { transform: scale(1.02); }
.bites__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,13,74,0.82) 0%, rgba(11,13,74,0.35) 45%, rgba(11,13,74,0.12) 100%);
}
.bites__inner {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; align-items: end;
  padding: 44px; width: 100%;
}
.bites__kick {
  font-family: var(--hp-fd); font-weight: 700;
  font-size:13.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.bites__rt { font-size:13.5px; }
.bites__feat { display: block; text-decoration: none; color: var(--hp-white); }
.bites__feat .bites__kick { color: var(--hp-indigo-200); }
.bites__feat h3 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.022em; line-height: 1.08; margin-top: 12px;
  transition: color 0.2s ease-out;
}
.bites__feat:hover h3 { color: var(--hp-lemon); }
.bites__feat p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 48ch; }
.bites__feat .bites__rt { display: inline-block; margin-top: 14px; color: rgba(255,255,255,0.65); }
.bites__list {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 8px 22px;
  box-shadow: 0 18px 50px rgba(11,13,74,0.28);
}
.bites__list a {
  display: block; text-decoration: none; color: #0b0b0b;
  padding: 16px 0; border-bottom: 1px solid rgba(16,21,133,0.12);
}
.bites__list a:last-child { border-bottom: 0; }
.bites__list .bites__kick { color: var(--hp-indigo-300); }
.bites__list h4 {
  font-family: var(--hp-fd); font-weight: 700; font-size: 16.5px;
  line-height: 1.3; color: var(--hp-indigo-800); margin-top: 6px;
  transition: color 0.2s ease-out;
}
.bites__list a:hover h4 { color: var(--hp-indigo-500); }
.bites__list .bites__rt { display: block; margin-top: 5px; color: #8a8a8a; }

/* ── STUDIO ────────────────────────────────────────────────────────── */
.studio { position: relative; background: var(--hp-indigo-900); color: var(--hp-white); padding: 16svh 6vw; overflow: hidden; }
.studio__popcorn {
  position: absolute; top: -40px; right: 5vw; width: 220px; opacity: 0.1;
  pointer-events: none;
}
.studio__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 5vw; align-items: start; position: relative; }
.studio .eyebrow { color: var(--hp-lemon); }
.studio h2 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(32px, 4.6vw, 62px);
  letter-spacing: -0.028em; margin-top: 14px;
  color: var(--hp-white);
}
.studio h2 em { font-style: italic; }
.studio .lede { margin-top: 18px; max-width: 56ch; font-size: 16.5px; line-height: 1.7; color: var(--hp-indigo-200); }
.studio__menu { list-style: none; margin: 5svh 0 0; padding: 0; border-top: 1px solid rgba(246,244,234,0.16); }
.studio__menu li { padding: 3svh 0; border-bottom: 1px solid rgba(246,244,234,0.16); }
.studio__menu strong { font-family: var(--hp-fd); font-weight: 700; font-size: 17px; display: block; color: var(--hp-white); }
.studio__menu span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--hp-indigo-200); }
.studio__cta {
  display: inline-block; margin-top: 4svh;
  font-family: var(--hp-fd); font-weight: 700; font-size: 16px;
  background: var(--hp-lemon); color: var(--hp-indigo-900);
  padding: 18px 30px; border-radius: 12px; text-decoration: none;
  transition: transform 0.15s ease-out;
}
.studio__cta:hover { transform: translateY(-2px); }
.studio__card {
  position: sticky; top: 14svh;
  background: rgba(246,244,234,0.06);
  border: 1px solid rgba(246,244,234,0.14);
  border-radius: 18px; padding: 32px;
}
.studio__card h3 { font-family: var(--hp-fd); font-weight: 900; font-size: 24px; color: var(--hp-white); }
.studio__card h3 em { font-style: italic; color: var(--hp-lemon); }
.studio__card p { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--hp-indigo-200); }
.studio__card blockquote {
  margin: 22px 0 0; padding-left: 16px;
  border-left: 3px solid var(--hp-lemon);
  font-family: var(--hp-fd); font-weight: 700; font-size: 15px;
  color: var(--hp-white);
}

/* ── NEWSLETTER · elevated input ───────────────────────────────────── */
.news { position: relative; background: var(--hp-white); color: #0b0b0b; padding: 18svh 6vw; text-align: center; overflow: hidden; }
.news__popcorn { position: absolute; top: -60px; right: 6%; width: 280px; opacity: 0.07; pointer-events: none; }
.news .eyebrow { color: var(--hp-indigo-800); justify-content: center; }
.news h2 {
  font-family: var(--hp-fd); font-weight: 900;
  font-size: clamp(32px, 4.6vw, 62px);
  letter-spacing: -0.028em; color: var(--hp-indigo-800); margin-top: 14px;
}
.news h2 em { font-style: italic; }
.news p { margin: 18px auto 0; max-width: 56ch; font-size: 16px; line-height: 1.65; color: var(--hp-body); }
.news__form {
  margin: 5svh auto 0; max-width: 620px;
  display: flex;
  background: var(--hp-white);
  border: 2px solid rgba(16,21,133,0.16);
  border-radius: 16px; padding: 8px;
  box-shadow: 0 16px 44px rgba(11,13,74,0.09);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.news__form:focus-within {
  border-color: var(--hp-indigo-800);
  box-shadow: 0 16px 44px rgba(11,13,74,0.14), 0 0 0 4px rgba(253,243,126,0.6);
}
.news__form input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--hp-fb); font-size: 16px;
  padding: 14px 18px; color: #0b0b0b; min-width: 0;
}
.news__form button {
  font-family: var(--hp-fd); font-weight: 700; font-size: 15px;
  background: var(--hp-indigo-800); color: var(--hp-white);
  border: 0; border-radius: 11px; padding: 14px 26px; cursor: pointer;
  transition: transform 0.15s ease-out;
}
.news__form button:hover { transform: translateY(-1px); }
.news__fine { margin-top: 18px; font-size:13.5px; color: #8a8a8a; }

/* ── POPCORN ROTATION (studio + news decorations) ──────────────────── */
.popcorn-rotate { animation: popcorn-rotate 44s linear infinite; }
@keyframes popcorn-rotate { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 840px) {
  /* wall: tightened mobile composition */
  .wall { padding: 108px 6vw 7svh; }
  .wall__badge { font-size: 11.5px; letter-spacing: 0.06em; padding: 7px 11px; line-height: 1.45; }
  .wall__h1 { margin-top: 16px; font-size: clamp(34px, 9.4vw, 46px); }
  /* reorder: lede -> illustration -> CTAs -> signature */
  .wall__bottom { margin-top: 22px; display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .wall__bottom > div:first-child { display: contents; }
  .wall__lede { order: 1; font-size: 15.5px; line-height: 1.5; }
  .wall__illo { order: 2; margin: 22px auto 0; max-width: 340px; }
  .wall__actions { order: 3; margin-top: 24px; gap: 10px; position: relative; z-index: 2; }
  .wall__sig { order: 4; margin-top: 20px; gap: 8px 14px; }
  .wall__illo img { transform: none; }
  .wall__cta { width: 100%; text-align: center; padding: 16px 24px; flex: 1 1 100%; }
  .wall__popwrap { height: 34svh; }
  .wall__popcorn { opacity: 0.3; width: clamp(220px, 62vw, 340px); left: 50%; }
  .wall__bottom, .pillar, .room, .studio__grid, .stats, .bites__inner { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid rgba(16,21,133,0.14); }
  .room { align-content: center; gap: 20px; padding-top: 8svh; height: auto; min-height: 100svh; }
  .room__label { letter-spacing: 0.18em; font-size:13.5px; }
  .room h3 { font-size: clamp(30px, 8vw, 40px); }
  .room__lede { font-size: 15px; }
  .room__features { grid-template-columns: 1fr; gap: 8px; }
  .room__btn { width: 100%; justify-content: center; }
  .room__panel img { width: min(60vw, 300px); }
  .news__form { flex-direction: column; gap: 8px; }
  .news__form button { width: 100%; }
  .wall__h1 { font-size: clamp(40px, 11vw, 64px); }
}

/* ── REDUCED MOTION ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .deck__card { position: static; }
  .deck__card--2, .deck__card--3 { margin-top: 24px; }
  .op { height: 100svh; }
  .op__kernel, .op__store, .op__lead, .op__c1, .op__c2, .op__hint { display: none; }
  .op__biz { transform: none; opacity: 1; filter: none; }
  .op__lead2, .op__c3 { opacity: 1; }
  .wall__line > span, .wall__lede, .wall__actions, .wall__sig { opacity: 1 !important; transform: none !important; }
  .wall__illo { opacity: 1 !important; }
  .wall__popcorn { transform: translate(-50%, 0); }
  .rail__pin { position: static; height: auto; overflow: visible; }
  .room__dot { animation: none; }
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .clients__logo[aria-hidden="true"] { display: none; }
  .popcorn-rotate { animation: none; }
}
