/* SereneCare - Building blocks theme
   Split: toy-cream hero / block-blue body. One yellow accent. */

:root {
  --cream: #f7f2e2;
  --cream-text: #f3ecd9;
  --blue: #1e4a73;
  --blue-deep: #14334f;
  --yellow: #d9a62e;
  --ink: #14334f;          /* text on cream: tinted deep blue, never pure black */
  --ink-soft: #3d5a76;     /* muted text on cream, no mid-gray */
  --line-cream: rgba(20, 51, 79, 0.14);
  --line-blue: rgba(243, 236, 217, 0.16);
  --display: "Sniglet", ui-rounded, "SF Pro Rounded", "Comic Sans MS", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.08rem + 0.6vw, 1.44rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --step-5: clamp(2.4rem, 1.7rem + 3.5vw, 4rem);
  --step-6: clamp(2.9rem, 1.7rem + 6vw, 5.5rem);
  --pad: clamp(5rem, 10vw, 8.5rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--blue-deep); }

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

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- grain ---------- */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 226, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line-cream);
  box-shadow: 0 8px 30px rgba(20, 51, 79, 0.08);
}
.header-inner {
  width: min(1280px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.logo {
  font-family: var(--display); font-weight: 800; font-size: 1.45rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.logo-cube {
  width: 30px; height: 30px; border-radius: 7px; background: var(--yellow);
  color: var(--blue-deep); font-family: var(--display); font-weight: 800;
  display: inline-grid; place-items: center; font-size: 1.05rem;
  box-shadow: inset 0 0 0 2px rgba(20,51,79,0.15), 0 4px 10px rgba(20,51,79,0.18);
  transform: rotate(-6deg);
}
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 0.25rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease-out;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 0.85rem 1.6rem; font-size: 1.02rem;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
  cursor: pointer; border: none; min-height: 48px;
}
.btn-email {
  background: var(--blue); color: var(--cream-text);
  box-shadow: 0 10px 24px rgba(30, 74, 115, 0.28);
}
.btn-email:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 74, 115, 0.34); background: var(--blue-deep); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--ink), 0 12px 24px rgba(20,51,79,0.12); }
.header-cta { padding: 0.6rem 1.15rem; font-size: 0.95rem; min-height: 44px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(720px 420px at 82% 12%, rgba(217, 166, 46, 0.16), transparent 65%),
    radial-gradient(560px 520px at 8% 88%, rgba(30, 74, 115, 0.10), transparent 60%),
    var(--cream);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  position: relative; z-index: 1;
}
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.3rem; display: block;
}
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: var(--step-6); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--ink); text-wrap: balance; margin-bottom: 1.4rem;
}
.hero h1 .accent {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--blue); position: relative; white-space: nowrap;
}
.hero h1 .accent svg {
  position: absolute; left: -2%; bottom: -0.18em; width: 104%; height: 0.32em;
  overflow: visible;
}
.hero-sub {
  font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft);
  max-width: 34ch; margin-bottom: 2rem; text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center;
  font-size: 0.95rem; font-weight: 600; color: var(--ink-soft);
}
.trust-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); flex: none; }

/* hero entrance choreography */
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask > span { display: inline-block; transform: translateY(112%); }
.js body .mask > span, .js .mask > span { animation: rise 0.75s var(--ease) forwards; }
.js .mask:nth-of-type(1) > span, .js h1 .mask:nth-child(1) > span { animation-delay: 0.10s; }
@keyframes rise { to { transform: translateY(0); } }
.js .hero .eyebrow { opacity: 0; animation: fadein 0.6s ease-out 0.02s forwards; }
.js .hero h1 .mask > span { animation-delay: var(--hd, 0.1s); }
.js .hero-sub { opacity: 0; animation: fadeup 0.6s var(--ease) 0.55s forwards; }
.js .hero-ctas { opacity: 0; animation: fadeup 0.6s var(--ease) 0.68s forwards; }
.js .trust-row { opacity: 0; animation: fadeup 0.6s var(--ease) 0.8s forwards; }
.js .hero-art { opacity: 0; transform: translateY(26px) scale(0.97); animation: artsettle 0.9s var(--ease) 0.45s forwards; }
@keyframes artsettle { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- alphabet blocks ---------- */
.block-tower { position: relative; height: clamp(300px, 34vw, 430px); }
.block {
  position: absolute;
  width: var(--bs, 92px); aspect-ratio: 1;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800;
  font-size: calc(var(--bs, 92px) * 0.52);
  transform: rotate(var(--r, 0deg));
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.16),
    inset 0 -8px 0 rgba(0, 0, 0, 0.10),
    0 18px 34px rgba(20, 51, 79, 0.22);
  transition: transform 0.2s ease-out;
}
.block:hover { transform: rotate(var(--r, 0deg)) translateY(-8px) scale(1.04); }
.b-blue { background: var(--blue); color: var(--cream-text); }
.b-yellow { background: var(--yellow); color: var(--blue-deep); }
.b-cream { background: #fbf7ea; color: var(--blue); box-shadow: inset 0 0 0 3px rgba(30,74,115,0.28), inset 0 -8px 0 rgba(20,51,79,0.08), 0 18px 34px rgba(20,51,79,0.22); }
.tower-1 { --bs: 128px; --r: -7deg; left: 6%; bottom: 4%; }
.tower-2 { --bs: 128px; --r: 6deg; left: 34%; bottom: 4%; }
.tower-3 { --bs: 112px; --r: -4deg; left: 20%; bottom: 34%; }
.tower-4 { --bs: 76px; --r: 10deg; left: 62%; bottom: 8%; }
.tower-5 { --bs: 64px; --r: -12deg; left: 66%; bottom: 32%; }
.block-shadow {
  position: absolute; left: 4%; right: 8%; bottom: 0; height: 26px;
  background: radial-gradient(50% 100% at 40% 50%, rgba(20,51,79,0.22), transparent 70%);
}

/* ---------- section furniture ---------- */
section { position: relative; }
.sec-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 {
  font-family: var(--display); font-weight: 800;
  font-size: var(--step-5); line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance; margin-bottom: 1rem;
}
.sec-head h2 .accent { font-family: var(--serif); font-style: italic; font-weight: 400; }
.sec-head .lede { font-size: var(--step-1); line-height: 1.55; text-wrap: pretty; }
.on-cream .sec-head h2 { color: var(--ink); }
.on-cream .sec-head h2 .accent { color: var(--blue); }
.on-cream .sec-head .lede, .on-cream .eyebrow { color: var(--ink-soft); }
.on-blue .sec-head h2 { color: var(--cream-text); }
.on-blue .sec-head h2 .accent { color: var(--yellow); }
.on-blue .sec-head .lede { color: rgba(243, 236, 217, 0.82); }
.on-blue .eyebrow { color: rgba(243, 236, 217, 0.62); }

/* ---------- about (editorial split, cream) ---------- */
.about { background: var(--cream); padding: var(--pad) 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-copy p { margin-bottom: 1.2rem; text-wrap: pretty; color: var(--ink-soft); font-size: var(--step-0); }
.about-copy p strong { color: var(--ink); }
.stat-strip {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.2rem; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat .num {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat .lbl { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; margin-top: 0.35rem; }
.about-art {
  position: sticky; top: 110px;
  background: var(--blue); border-radius: 26px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 24px 60px rgba(20, 51, 79, 0.22);
  overflow: clip;
}
.about-art .mini-tower { position: relative; height: 210px; margin-bottom: 1.4rem; }
.about-art .mini-tower .block { --bs: 84px; }
.mt-1 { --r: -6deg; left: 2%; bottom: 0; }
.mt-2 { --r: 5deg; left: 32%; bottom: 0; }
.mt-3 { --r: -3deg; left: 17%; bottom: 44%; }
.about-art p { color: var(--cream-text); font-size: 0.98rem; line-height: 1.6; }
.about-art p strong { color: var(--yellow); }

/* ---------- transition 1: paper-chain wipe band ---------- */
.chain-band { background: var(--blue-deep); padding: 2.6rem 0; overflow: clip; }
.chain { display: flex; align-items: center; justify-content: center; }
.chain i {
  width: 40px; height: 62px; border: 11px solid var(--cream);
  border-radius: 50%; margin-left: -16px; flex: none;
  transform: rotate(14deg);
}
.chain i:nth-child(even) { border-color: var(--yellow); transform: rotate(-14deg); }
.js .chain i { opacity: 0; transform: rotate(14deg) scale(0.4); }
.js .chain i:nth-child(even) { transform: rotate(-14deg) scale(0.4); }
.js .chain.in i { animation: linkin 0.5s var(--ease) forwards; animation-delay: calc(var(--li) * 70ms); }
@keyframes linkin {
  to { opacity: 1; transform: rotate(14deg) scale(1); }
}
.js .chain.in i:nth-child(even) { animation-name: linkin2; }
@keyframes linkin2 {
  to { opacity: 1; transform: rotate(-14deg) scale(1); }
}

/* ---------- proof (blue) ---------- */
.proof { background: var(--blue); padding: var(--pad) 0; }
.ledger { border-top: 1px solid var(--line-blue); }
.ledger-row {
  display: grid; grid-template-columns: 110px 1fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 2rem 0; border-bottom: 1px solid var(--line-blue);
  align-items: baseline;
  transition: background 0.2s ease-out, padding-left 0.2s ease-out;
}
.ledger-row:hover { background: rgba(243, 236, 217, 0.04); padding-left: 0.75rem; }
.ledger-num {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(243, 236, 217, 0.4);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.ledger-date {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-deep); background: var(--yellow);
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.7rem;
}
.ledger-body h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  color: var(--cream-text); margin-bottom: 0.4rem; letter-spacing: -0.01em;
}
.ledger-body p { color: rgba(243, 236, 217, 0.78); max-width: 60ch; }
.proof-note {
  margin-top: 2rem; font-size: 0.92rem; color: rgba(243, 236, 217, 0.6);
  font-style: italic; font-family: var(--serif);
}

/* ---------- transition 2: block-stack divider ---------- */
.block-band { background: var(--blue-deep); padding: 3rem 0 3.4rem; overflow: clip; text-align: center; }
.block-band .band-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(243, 236, 217, 0.55); margin-bottom: 1.6rem; display: block;
}
.stack-row { display: flex; justify-content: center; align-items: flex-end; gap: 0.7rem; }
.stack-row .block { position: relative; left: auto; bottom: auto; --bs: clamp(56px, 8vw, 84px); }
.js .stack-row .block { opacity: 0; transform: translateY(-70px) rotate(var(--r, 0deg)); }
.js .stack-row.in .block {
  animation: blockdrop 0.65s var(--ease) forwards;
  animation-delay: calc(var(--bi) * 95ms);
}
@keyframes blockdrop {
  60% { opacity: 1; transform: translateY(8px) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }
}

/* ---------- steps (blue-deep) ---------- */
.steps { background: var(--blue-deep); padding: var(--pad) 0; }
.step-list { display: flex; flex-direction: column; gap: 0; max-width: 860px; }
.step {
  display: grid; grid-template-columns: 92px 1fr; gap: clamp(1rem, 3vw, 2rem);
  padding: 2.1rem 0; border-top: 1px solid var(--line-blue); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-blue); }
.step:nth-child(even) { margin-left: clamp(0px, 8vw, 110px); }
.step-num {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--yellow); line-height: 1; font-variant-numeric: tabular-nums;
}
.step h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  color: var(--cream-text); margin-bottom: 0.45rem; letter-spacing: -0.01em;
}
.step p { color: rgba(243, 236, 217, 0.78); max-width: 52ch; }
.step p a { color: var(--yellow); font-weight: 600; }
.steps-intro { color: rgba(243, 236, 217, 0.78); max-width: 62ch; margin-bottom: 2.5rem; font-size: var(--step-1); }

/* ---------- service area band ---------- */
.area { background: var(--blue); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.area-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.8rem;
}
.area h2 {
  font-family: var(--display); font-weight: 800; font-size: var(--step-3);
  color: var(--cream-text); letter-spacing: -0.01em; text-wrap: balance;
}
.area h2 .accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--yellow); }
.area p { color: rgba(243, 236, 217, 0.78); max-width: 52ch; margin-top: 0.7rem; }
.area-chip {
  display: inline-flex; align-items: center; gap: 0.7rem;
  border: 2px solid var(--yellow); border-radius: 999px;
  padding: 0.9rem 1.7rem; color: var(--cream-text);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  transition: transform 0.18s ease-out, background 0.18s ease-out;
  flex: none;
}
.area-chip:hover { transform: translateY(-3px); background: rgba(217, 166, 46, 0.12); }
.area-chip .pin { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); flex: none; }

/* ---------- FAQ (blue-deep) ---------- */
.faq { background: var(--blue-deep); padding: var(--pad) 0; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line-blue); }
.faq-item { border-bottom: 1px solid var(--line-blue); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding: 1.5rem 0; color: var(--cream-text);
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
  min-height: 56px;
}
.faq-q:hover { color: var(--yellow); }
.faq-q .plus {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(243, 236, 217, 0.35);
  display: inline-grid; place-items: center; font-size: 1.3rem; line-height: 1;
  transition: transform 0.25s var(--ease), background 0.2s ease-out, border-color 0.2s ease-out;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); }
.faq-a { color: rgba(243, 236, 217, 0.82); padding: 0 0 1.7rem; max-width: 62ch; }
.faq-a a { color: var(--yellow); font-weight: 600; }
/* JS-off: answers stay visible */
.js .faq-a { display: none; }
.js .faq-item.open .faq-a { display: block; animation: fadeup 0.4s var(--ease); }

/* ---------- transition 3: yellow wipe band ---------- */
.wipe-band { background: var(--blue-deep); padding: 0; overflow: clip; }
.wipe-bar { height: clamp(70px, 10vw, 120px); background: var(--yellow); transform-origin: left center; }
.js .wipe-bar { transform: scaleX(0); }
.js .wipe-band.in .wipe-bar { transition: transform 0.9s var(--ease); transform: scaleX(1); }

/* ---------- final CTA (yellow) ---------- */
.final-cta {
  background: var(--yellow); color: var(--blue-deep);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0; text-align: left; overflow: clip; position: relative;
}
.final-cta .eyebrow { color: rgba(20, 51, 79, 0.62); }
.final-cta h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em;
  text-wrap: balance; margin-bottom: 1.3rem; max-width: 16ch;
}
.final-cta h2 .accent { font-family: var(--serif); font-style: italic; font-weight: 400; }
.final-cta .cta-sub { font-size: var(--step-1); max-width: 46ch; margin-bottom: 2.2rem; color: rgba(20, 51, 79, 0.82); }
.email-big {
  display: inline-block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.35rem, 3.4vw, 2.4rem); letter-spacing: -0.01em;
  color: var(--cream-text); background: var(--blue-deep);
  padding: 1.1rem 2.2rem; border-radius: 14px; text-decoration: none;
  box-shadow: 0 18px 44px rgba(20, 51, 79, 0.32);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  overflow-wrap: break-word; word-break: normal;
}
.email-big:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 26px 54px rgba(20, 51, 79, 0.38); }
.final-note { margin-top: 1.6rem; font-size: 0.95rem; color: rgba(20, 51, 79, 0.7); font-weight: 600; }
.cta-blocks { position: absolute; right: 6%; bottom: 34px; opacity: 0.95; pointer-events: none; }
.cta-blocks .block { --bs: 92px; position: relative; }
.cb-1 { --r: 8deg; }
.cb-2 { --r: -10deg; margin-top: -18px; margin-left: 46px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(243, 236, 217, 0.72); padding: 3rem 0 6rem; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start;
}
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--cream-text); margin-bottom: 0.5rem; }
.footer-inner p { font-size: 0.92rem; max-width: 44ch; }
.footer-inner a { color: var(--yellow); }
.footer-fine { width: 100%; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-blue); font-size: 0.82rem; color: rgba(243, 236, 217, 0.45); }

/* ---------- scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0s);
}

/* ---------- sticky mobile email bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: rgba(20, 51, 79, 0.96); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 0.7rem;
  box-shadow: 0 14px 40px rgba(10, 25, 40, 0.4);
  border: 1px solid rgba(243, 236, 217, 0.14);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--blue-deep); background: var(--yellow); text-decoration: none;
  border-radius: 10px; padding: 0.85rem; min-height: 52px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .block-tower { height: 300px; max-width: 440px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { position: static; }
  .cta-blocks { display: none; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-cta { font-size: 0.88rem; padding: 0.55rem 1rem; }
  .mobile-bar { display: block; }
  body { padding-bottom: 96px; }
  .site-footer { padding-bottom: 8rem; }
  .ledger-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .step { grid-template-columns: 64px 1fr; }
  .step:nth-child(even) { margin-left: 0; }
  .chain i { width: 30px; height: 48px; border-width: 8px; margin-left: -12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .eyebrow, .js .hero-sub, .js .hero-ctas, .js .trust-row, .js .hero-art { opacity: 1 !important; transform: none !important; }
  .js .mask > span { transform: none !important; }
  .js .chain i { opacity: 1 !important; transform: rotate(14deg) !important; }
  .js .chain i:nth-child(even) { transform: rotate(-14deg) !important; }
  .js .stack-row .block { opacity: 1 !important; transform: rotate(var(--r, 0deg)) !important; }
  .js .wipe-bar { transform: scaleX(1) !important; }
  .js .faq-item.open .faq-a { display: block; }
}
