/* ============================================================
   WENAO — Liquid Glass Design System v2
   Luminous light glass · Apple-inspired · witheverythingnotallatonce.com
   ============================================================ */

@font-face {
  font-family: "Kiona";
  src: url("https://assets.zyrosite.com/606q9VmO3AUKzXgS/Kiona%20Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #221a33;
  --graphite: #4a4160;
  --paper: #faf7ff;
  --violet: #7b5edb;
  --violet-deep: #3a285f;
  --sea: #a891f5;
  --blush: #d7b2ff;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(34, 26, 51, 0.12);
  --shadow: 0 30px 80px rgba(66, 45, 106, 0.16);
  --shadow-soft: 0 18px 50px rgba(66, 45, 106, 0.12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .5, 1);
  --dur: .9s;
  --radius: clamp(30px, 3.6vw, 52px);
  --font-display: "Kiona", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* ---------- Ambient aurora field ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  will-change: transform;
  animation: aurora-drift 26s var(--ease) infinite alternate;
}

.aurora span:nth-child(1) { top: -18vmax; left: -10vmax; background: radial-gradient(circle, #d9c9ff, transparent 62%); }
.aurora span:nth-child(2) { top: -8vmax; right: -14vmax; background: radial-gradient(circle, #ffd9f3, transparent 60%); animation-delay: -8s; animation-duration: 32s; }
.aurora span:nth-child(3) { bottom: -22vmax; left: 22vw; background: radial-gradient(circle, #c9d4ff, transparent 62%); animation-delay: -16s; animation-duration: 38s; }

@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
  to   { transform: translate3d(-4vw, 8vh, 0) scale(.96); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }

::selection { background: rgba(123, 94, 219, .22); }

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

/* ---------- Scroll progress ---------- */

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--blush), var(--sea));
  pointer-events: none;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 400;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: top .2s ease;
}

.skip-link:focus { top: 20px; }

/* ---------- Brand mark ---------- */

.brand-mark {
  position: fixed;
  z-index: 120;
  top: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.5));
  box-shadow: 0 14px 38px rgba(80, 58, 130, 0.14), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.brand-mark:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(80, 58, 130, 0.2), inset 0 1px 0 rgba(255,255,255,.95); }
.brand-mark img { width: 84px; height: auto; display: block; }

.brand-mark span {
  color: rgba(34, 26, 51, 0.62);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Floating dock (liquid glass, centered) ---------- */

.floating-dock {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.52));
  box-shadow: 0 22px 55px rgba(80, 58, 130, 0.22), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
}

.dock-section-indicator { display: none; }
.dock-links { display: contents; }

.floating-dock a {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(34, 26, 51, 0.6);
  font-size: 0;
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}

.floating-dock a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.6);
}

.floating-dock a.active {
  color: var(--ink);
  background: linear-gradient(160deg, rgba(255,255,255,.98), rgba(255,255,255,.8));
  box-shadow: 0 8px 20px rgba(80, 58, 130, 0.18), inset 0 1px 0 #fff;
}

.floating-dock svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(34, 26, 51, 0.88);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.floating-dock a:hover .dock-tip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 3D tilt (pointer-follow) ---------- */

.js .card-lift, .js .post-tile, .js .hero-stats { will-change: transform; transform-style: preserve-3d; }
.card-lift.tilting, .hero-stats.tilting { transition: box-shadow .6s ease; }
.post-tile.tilting { transition: height .95s cubic-bezier(.25, .9, .2, 1), box-shadow .95s ease; }

/* ---------- Liquid glass primitives ---------- */

.liquid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(250, 246, 255, 0.55) 52%, rgba(216, 200, 255, 0.32)),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

/* pointer-tracked specular sheen (JS sets --mx / --my) */
.liquid::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, 0.4), transparent 65%);
  transition: opacity .7s ease;
}

.liquid:hover::before { opacity: 1; }

/* static lensing highlight */
.liquid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 46%);
  opacity: .75;
}

.liquid.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(74, 50, 122, 0.42) 40%, rgba(40, 26, 68, 0.55)),
    rgba(43, 28, 72, 0.34);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.liquid.dark::before {
  background: radial-gradient(340px circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, 0.22), transparent 62%);
}

.card-lift {
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.card-lift:hover {
  box-shadow: 0 40px 100px rgba(66, 45, 106, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* ---------- Pills, chips, buttons ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
  color: rgba(34, 26, 51, 0.68);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(123, 94, 219, 0.16);
  animation: pill-pulse 3s ease infinite;
}

@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(123, 94, 219, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(123, 94, 219, 0.22); }
}

.dark .pill { color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.14); border-color: rgba(255,255,255,.3); }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(34, 26, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 12px 30px rgba(80, 58, 130, 0.12);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  overflow: hidden;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease), background .3s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(130px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, 0.55), transparent 70%);
  transition: opacity .45s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 16px 40px rgba(80, 58, 130, 0.18); }
.button:hover::after { opacity: 1; }
.button.primary::after {
  background: radial-gradient(130px circle at var(--bx, 50%) var(--by, 50%), rgba(216, 194, 255, 0.55), transparent 70%);
}
.button:active { transform: translateY(0) scale(.985); }

.button.primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, #7b5edb, #2d204b);
  box-shadow: 0 14px 36px rgba(123, 94, 219, 0.34), inset 0 1px rgba(255, 255, 255, 0.3);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Layout & type ---------- */

.page-shell { min-height: 100vh; padding-bottom: 40px; }

.section { position: relative; padding: 104px 24px; }
.section-inner { width: min(1160px, 100%); margin: 0 auto; }

.section-title {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 40px;
}

h1, h2, h3 { text-wrap: balance; }

.section-title h1,
.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 86px);
  line-height: 1.03;
  font-weight: 400;
}

.section-title p, .lead {
  color: rgba(34, 26, 51, 0.72);
  font-size: 18.5px;
  line-height: 1.72;
}

.dark .lead, .dark p { color: rgba(255, 255, 255, 0.84); }

/* ---------- Scene system (background videos) ---------- */

.home-bg, .hero-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-scene { position: absolute; z-index: 0; border-radius: inherit; }

.scene-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.scene-layer.active { opacity: 1; }

.scene-layer video,
.hero-scene video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(.82) brightness(1.04) contrast(.98);
}

.scene-layer.active video { animation: scene-breathe 24s ease-in-out infinite alternate; }

@keyframes scene-breathe {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.14) translateY(-1.4%); }
}

.scene-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 247, 255, 0.93), rgba(250, 247, 255, 0.82) 34%, rgba(250, 247, 255, 0.9) 78%, rgba(250, 247, 255, 0.98)),
    radial-gradient(circle at 70% 20%, rgba(216, 178, 255, 0.12), transparent 42%);
}

.hero-scene .scene-veil {
  background: linear-gradient(160deg, rgba(40, 26, 68, 0.76), rgba(74, 50, 122, 0.55) 50%, rgba(40, 26, 68, 0.8));
}

.hero-scene.light-veil .scene-veil {
  background: linear-gradient(180deg, rgba(250, 247, 255, 0.82), rgba(250, 247, 255, 0.55) 50%, rgba(250, 247, 255, 0.88));
}

/* ---------- Home panels ---------- */

.home-panel { position: relative; padding: 128px 24px; }
.home-panel .section-inner { position: relative; }

.home-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 108px);
  line-height: 1.0;
  font-weight: 400;
  color: var(--ink);
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet), #b487ff 60%, var(--sea));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .lead { max-width: 56ch; }

.hero-tagline {
  margin-top: 26px;
  color: rgba(34, 26, 51, 0.55);
  font-size: 14px;
  letter-spacing: .02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px;
}

.hero-stats .stat {
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
  text-align: center;
}

.hero-stats strong {
  display: block;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
}

.hero-stats small {
  color: rgba(34, 26, 51, 0.6);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Hero rotating quote card ---------- */
.hero-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 34px 32px;
  min-height: 210px;
  text-align: left;
}

.hero-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.05vw, 27px);
  line-height: 1.24;
  color: var(--ink);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.hero-quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  line-height: .45;
  color: var(--violet);
  opacity: .55;
  margin-bottom: 14px;
}

.hero-quote figcaption {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(34, 26, 51, 0.5);
  transition: opacity .55s var(--ease);
}

.hero-quote.is-swapping blockquote {
  opacity: 0;
  transform: translateY(10px);
}

.hero-quote.is-swapping figcaption { opacity: 0; }

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(34, 26, 51, 0.45);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--violet), transparent);
  animation: cue-drop 2.2s var(--ease) infinite;
}

@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Founder */

.founder-panel-card {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px);
}

.founder-panel-card blockquote {
  margin: 0 0 26px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
}

.founder-sign strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .04em;
}

.founder-sign span { color: rgba(255, 255, 255, 0.64); font-size: 13.5px; }

/* Belief cards */

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

.belief-card { padding: 30px 28px; }

.belief-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

.belief-card p { margin: 0; color: rgba(34, 26, 51, 0.68); font-size: 15px; line-height: 1.65; }

.belief-card .belief-num {
  font-family: var(--font-display);
  color: rgba(123, 94, 219, 0.5);
  font-size: 14px;
  letter-spacing: .1em;
}

/* Book panel (home) */

.book-split {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(44px, 6vw, 84px);
}

.book-split .cover-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(45, 28, 80, 0.3);
  transform: rotate(-2deg);
  transition: transform .8s var(--ease);
}

.book-split:hover .cover-wrap { transform: rotate(0deg) translateY(-6px); }
.book-split .cover-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Blog cards (home) */

.blog-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.blog-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 30px 28px;
}

.blog-feature small {
  color: rgba(34, 26, 51, 0.55);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-feature h3 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 400;
  line-height: 1.25;
}

.blog-feature .tags { color: rgba(34, 26, 51, 0.55); font-size: 13px; }

.blog-feature .go {
  margin-top: 18px;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .4s var(--ease);
}

.blog-feature:hover .go { transform: translateX(6px); }

/* ---------- Story page ---------- */

.page-hero {
  position: relative;
  min-height: 68svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 18px;
  border-radius: var(--radius);
  isolation: isolate;
}

.page-hero .section-inner {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 12vw, 150px) clamp(20px, 4vw, 56px) clamp(44px, 5vw, 72px);
}

.page-hero h1 {
  margin: 0 0 18px;
  max-width: 16ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 400;
  line-height: 1.02;
}

.page-hero .lead { max-width: 62ch; color: rgba(255, 255, 255, 0.88); }
.page-hero .pill { color: rgba(255,255,255,.9); background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.page-hero.on-light h1 { color: var(--ink); }
.page-hero.on-light .lead { color: rgba(34, 26, 51, 0.74); }
.page-hero.on-light .pill { color: rgba(34,26,51,.68); background: rgba(255,255,255,.6); border-color: rgba(255,255,255,.66); }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.journey-step { padding: 28px 24px; }

.journey-step .num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .12em;
}

.journey-step h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; font-weight: 400; }
.journey-step p { margin: 0; color: rgba(34, 26, 51, 0.66); font-size: 14.5px; line-height: 1.6; }

.method-list { display: grid; gap: 16px; }

.method-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px);
}

.method-item .num {
  color: rgba(123, 94, 219, 0.55);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
}

.method-item h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 28px); font-weight: 400; }
.method-item p { margin: 0; color: rgba(34, 26, 51, 0.7); line-height: 1.7; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.chip {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(34, 26, 51, 0.7);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- Book page ---------- */

.book-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: clip;
  text-align: center;
}

.book-stage .hero-scene .scene-veil {
  background: linear-gradient(180deg, rgba(248, 243, 234, 0.94), rgba(248, 243, 234, 0.86) 50%, rgba(250, 247, 255, 0.96));
}

.book-stage-inner {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 40px;
  color: rgba(34, 26, 51, 0.55);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.book-kicker::before,
.book-kicker::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(34, 26, 51, 0.25);
}

.book-float-zone {
  position: relative;
  perspective: 1600px;
  margin-bottom: 14px;
}

.book-orbit-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(80, 58, 130, 0.1);
  color: rgba(34, 26, 51, 0.6);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: orbit-bob 7s ease-in-out infinite alternate;
}

.book-orbit-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c58a63;
}

.book-orbit-pill.p1 { left: -180px; top: 22%; }
.book-orbit-pill.p2 { right: -195px; top: 40%; animation-delay: -2.4s; }
.book-orbit-pill.p3 { left: -195px; bottom: 22%; animation-delay: -4.6s; }

@keyframes orbit-bob {
  from { transform: translateY(-7px); }
  to { transform: translateY(9px); }
}

.book-open-hint {
  margin: 22px 0 34px;
  color: rgba(34, 26, 51, 0.45);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.book-open-hint::before { content: "\00B7\00A0\00A0"; color: #c58a63; }

.book-stage-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: .02em;
  background: linear-gradient(97deg, #1f5f56 8%, #3d7a6d 34%, #8a7a5e 52%, #c58a63 72%, #b06f45 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.book-stage-title .t-teal,
.book-stage-title .t-copper { color: inherit; -webkit-text-fill-color: inherit; }

.book-stage-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 30px;
}

.book-stage-rule::before { content: ""; width: 34px; height: 2px; background: #c58a63; }
.book-stage-rule::after { content: ""; width: 34px; height: 2px; background: #1f5f56; }
.book-stage-rule span { width: 5px; height: 5px; border-radius: 50%; background: #c58a63; }

.book-core { display: flex; flex-direction: column; }

.book-core-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 6vw, 80px);
}

.book-core-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}

.book-note { display: grid; gap: 12px; margin: 4px 0 6px; text-align: left; }

.book-note span {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15.5px;
}

.book-note span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--violet));
}

/* 3D book object */

.book-object {
  position: relative;
  width: min(300px, 76vw);
  height: min(446px, 113vw);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  animation: book-float 6.5s ease-in-out infinite alternate;
  transition: width 1.15s cubic-bezier(.3, .9, .3, 1);
  -webkit-tap-highlight-color: transparent;
}

.book-object[aria-pressed="true"] {
  width: min(680px, 94vw);
  animation-play-state: paused;
}

@keyframes book-float {
  from { transform: translateY(-9px); }
  to { transform: translateY(11px); }
}

.book-3d {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg);
  transition: transform 1.1s var(--ease);
  filter: drop-shadow(0 40px 50px rgba(20, 10, 40, 0.32));
}

.book-object:hover .book-3d { transform: rotateY(-15deg) rotateX(3deg) translateY(-6px); }
.book-object[aria-pressed="true"] .book-3d { transform: none; filter: drop-shadow(0 30px 44px rgba(20, 10, 40, 0.28)); }

.book-front, .book-back, .book-pages, .book-spread { position: absolute; inset: 0; border-radius: 6px 12px 12px 6px; }

.book-front {
  overflow: hidden;
  background: linear-gradient(135deg, #2c4a42, #14312a);
  transform-origin: left center;
  transform: translateZ(8px);
  transition: transform 1.2s var(--ease) .12s, opacity .5s ease .12s;
  backface-visibility: hidden;
  z-index: 4;
}

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

/* corner page curl on hover (closed book) */
.book-front::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  background:
    linear-gradient(315deg, rgba(0, 0, 0, 0.001) 46%, #ece4d4 47%, #fdfaf2 60%, #d9d0bd 100%);
  border-top-left-radius: 8px;
  box-shadow: -7px -7px 14px rgba(20, 20, 20, 0.28);
  transition: width .55s var(--ease), height .55s var(--ease);
}

.book-object[aria-pressed="false"]:hover .book-front::after,
.book-object[aria-pressed="false"]:focus-visible .book-front::after {
  width: 58px;
  height: 58px;
}

.book-object[aria-pressed="true"] .book-front {
  transform: translateZ(8px) rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 1.15s var(--ease), opacity .4s ease .75s;
}

.book-back { background: linear-gradient(135deg, #23403a, #122a24); transform: translateZ(-8px); }

.book-pages {
  background: repeating-linear-gradient(90deg, #f7f2e6 0 2px, #e9e1cf 2px 4px);
  transform: translateZ(0);
  border-radius: 4px 10px 10px 4px;
}

/* ---------- Opened spread (matches original site) ---------- */

.book-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: translateZ(6px);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 30px 70px rgba(20, 20, 20, 0.22);
  transition: opacity .38s ease, visibility 0s linear .38s;
}

.book-object[aria-pressed="true"] .book-spread {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease .4s, visibility 0s linear .4s;
}

.book-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 34px) clamp(16px, 2.6vw, 30px);
  text-align: center;
}

.book-page.page-left {
  background: linear-gradient(150deg, #1d3b34, #122a24 70%);
  color: #f4efe3;
  border-radius: 6px 0 0 6px;
  box-shadow: inset -14px 0 26px rgba(0, 0, 0, 0.3);
}

.page-left .mini-cover {
  width: clamp(56px, 8vw, 84px);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.book-page small {
  color: #cf8a63;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.page-left strong {
  max-width: 20ch;
  color: #f4efe3;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.6vw, 16px);
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.page-left .author {
  color: rgba(244, 239, 227, 0.55);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.book-page.page-right {
  position: relative;
  align-items: flex-start;
  justify-content: flex-start;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(60, 50, 30, 0.07) 27px 28px),
    linear-gradient(160deg, #fdfaf1, #f4eee0);
  border-radius: 0 6px 6px 0;
  box-shadow: inset 12px 0 24px rgba(120, 100, 60, 0.12);
  color: #2c2a24;
  text-align: left;
}

.page-right .page-heading {
  align-self: stretch;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(197, 138, 99, 0.4);
}

.page-right p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11px, 1.35vw, 14.5px);
  line-height: 1.75;
  color: #37342c;
}

.page-right p.dropcap::first-letter {
  float: left;
  padding: 4px 8px 0 0;
  font-family: Georgia, serif;
  font-size: 3.1em;
  line-height: .78;
  color: #1d3b34;
}

.book-close {
  align-self: center;
  margin-top: auto;
  padding: 10px 22px;
  border: 1px solid rgba(197, 138, 99, 0.65);
  border-radius: 6px;
  background: transparent;
  color: #c58a63;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.book-close:hover { background: rgba(197, 138, 99, 0.12); }

.book-cover-fallback { display: none; }

/* ---------- Story: founder image scene ---------- */

.founder-scene {
  position: relative;
  min-height: 96svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 18px;
  border-radius: var(--radius);
  isolation: isolate;
}

.founder-scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.founder-scene-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
  transform: translateX(7%) scale(var(--zoom, 1));
  transform-origin: 58% 30%;
  will-change: transform;
  filter: saturate(.92);
}

.founder-scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24, 16, 42, 0.72) 0%, rgba(24, 16, 42, 0.42) 46%, rgba(24, 16, 42, 0.08) 78%);
}

.founder-scene .founder-panel-card {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0 clamp(20px, 6vw, 80px);
}

.book-meaning-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.book-model-card { margin: 0; padding: 18px; }
.book-model-card img { display: block; width: 100%; border-radius: calc(var(--radius) - 16px); }
.book-model-card figcaption { padding: 14px 10px 6px; color: rgba(34, 26, 51, 0.6); font-size: 13.5px; font-style: italic; }

.book-theme-river { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.book-theme { padding: 30px 26px; }
.book-theme .num { color: rgba(123, 94, 219, 0.5); font-family: var(--font-display); font-size: 14px; letter-spacing: .1em; }
.book-theme h3 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.book-theme p { margin: 0; color: rgba(34, 26, 51, 0.66); font-size: 14.5px; line-height: 1.62; }

.get-book-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
  padding: clamp(44px, 6vw, 80px);
}

.get-book-grid img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(45, 28, 80, 0.4);
  transform: rotate(2deg);
  transition: transform .8s var(--ease);
}

.get-book-grid:hover img { transform: rotate(0) translateY(-6px); }

/* ---------- Blogs page: expanding vertical tiles ---------- */

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(34, 26, 51, 0.55);
  font-size: 13px;
}

.dark .post-meta { color: rgba(255, 255, 255, 0.62); }

.post-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.post-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 190px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  box-shadow: var(--shadow-soft);
  will-change: height;
  transform: translateZ(0);
  transition: height .95s cubic-bezier(.25, .9, .2, 1), box-shadow .95s ease;
}

.post-tile.open,
.post-tile:focus-visible {
  height: 340px;
  box-shadow: 0 36px 90px rgba(45, 28, 80, 0.28);
}

.post-tile .tile-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.03) translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 1.8s cubic-bezier(.22, .8, .2, 1), filter 1.2s ease;
  filter: saturate(.94);
}

.post-tile.open .tile-bg { transform: scale(1.09) translateZ(0); filter: saturate(1.04); }

.post-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(24, 16, 42, 0.06) 20%, rgba(24, 16, 42, 0.58) 72%, rgba(24, 16, 42, 0.78));
  transition: background .8s ease;
}

.post-tile.open::after,
.post-tile:focus-visible::after {
  background: linear-gradient(180deg, rgba(24, 16, 42, 0.24) 6%, rgba(24, 16, 42, 0.66) 52%, rgba(24, 16, 42, 0.85));
}

.post-tile .tile-cat {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.post-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.16;
  text-shadow: 0 2px 18px rgba(24, 16, 42, 0.4);
}

.post-tile .tile-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(10px);
  transition: grid-template-rows .95s cubic-bezier(.25, .9, .2, 1), opacity .7s ease .18s, transform .95s cubic-bezier(.25, .9, .2, 1);
}

.post-tile.open .tile-more,
.post-tile:focus-visible .tile-more {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}

.post-tile .tile-more > div { overflow: hidden; }

.post-tile .tile-more p {
  margin: 12px 0 14px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.65;
}

.post-tile .tile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.post-tile .tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.post-tile .tile-cta::after { content: "\2192"; transition: transform .5s var(--ease); }
.post-tile.open .tile-cta::after { transform: translateX(5px); }

/* ---------- Article pages ---------- */

.article-hero { min-height: 74svh; }

.article-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
}

.article-body { width: min(760px, 100%); margin: 0 auto; }

.article-body h2 {
  margin: 52px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
}

.article-body p { margin: 0 0 18px; color: rgba(34, 26, 51, 0.78); font-size: 17px; line-height: 1.8; }

.article-quote {
  margin: 46px 0;
  padding: clamp(28px, 4vw, 44px);
}

.article-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45;
  color: var(--ink);
}

.article-quote blockquote::before { content: "“"; display: block; color: var(--violet); font-size: 54px; line-height: .6; margin-bottom: 14px; }

.article-figure {
  margin: 40px 0;
  padding: 12px;
}

.article-figure img { display: block; width: 100%; border-radius: calc(var(--radius) - 18px); }

.article-figure figcaption {
  padding: 12px 10px 4px;
  color: rgba(34, 26, 51, 0.55);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.article-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 56px; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-info { padding: clamp(30px, 4vw, 48px); display: flex; flex-direction: column; }

.contact-info h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 400; line-height: 1.12; }

.contact-lines { display: grid; gap: 14px; margin-top: auto; padding-top: 30px; }

.contact-lines a, .contact-lines span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(34, 26, 51, 0.78);
  font-size: 15px;
  transition: color .3s ease, transform .4s var(--ease);
}

.contact-lines a:hover { color: var(--violet); transform: translateX(4px); }

.contact-lines svg { width: 18px; height: 18px; stroke: var(--violet); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.contact-form { display: grid; gap: 16px; padding: clamp(30px, 4vw, 48px); }

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(34, 26, 51, 0.62);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter-form input:focus {
  outline: none;
  border-color: rgba(123, 94, 219, 0.55);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(123, 94, 219, 0.14), inset 0 1px rgba(255, 255, 255, 0.7);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.form-note { color: rgba(34, 26, 51, 0.5); font-size: 12.5px; margin: 4px 0 0; }

.newsletter-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 4.5vw, 54px);
}

.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; }

/* ---------- Footer ---------- */

.site-footer { padding: 70px 24px 130px; }

.footer-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(44px, 6vw, 96px);
}

.footer-card h4 {
  margin: 0 0 16px;
  color: rgba(34, 26, 51, 0.5);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-card p { margin: 0; color: rgba(34, 26, 51, 0.66); font-size: 14.5px; line-height: 1.7; max-width: 40ch; }

.footer-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer-card ul a {
  color: rgba(34, 26, 51, 0.7);
  font-size: 14.5px;
  transition: color .3s ease, transform .4s var(--ease);
  display: inline-block;
}

.footer-card ul a:hover { color: var(--violet); transform: translateX(4px); }

.footer-brand img { width: 96px; margin-bottom: 14px; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(34, 26, 51, 0.08);
  color: rgba(34, 26, 51, 0.45);
  font-size: 12.5px;
}

/* ---------- Reveal & motion ---------- */

/* reveal states only apply when JS is running (html.js) — content is never hidden if JS fails */
.js .reveal {
  opacity: 0;
  transform: translateY(30px) scale(.985);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.js .reveal.in { opacity: 1; transform: none; }

.js .reveal-text {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(7px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    filter var(--dur) ease;
  transition-delay: var(--d, 0s);
}

.js .reveal-text.in { opacity: 1; transform: none; filter: blur(0); }

/* page-load choreography for hero */
.boot .hero-copy > * {
  opacity: 0;
  transform: translateY(26px);
  animation: boot-in 1.1s var(--ease) forwards;
}

.boot .hero-copy > *:nth-child(1) { animation-delay: .15s; }
.boot .hero-copy > *:nth-child(2) { animation-delay: .28s; }
.boot .hero-copy > *:nth-child(3) { animation-delay: .42s; }
.boot .hero-copy > *:nth-child(4) { animation-delay: .56s; }
.boot .hero-copy > *:nth-child(5) { animation-delay: .7s; }
.boot .hero-aside { opacity: 0; animation: boot-in 1.2s var(--ease) .6s forwards; }

@keyframes boot-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* View transitions (progressive enhancement) */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-out .45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }

@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.995); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px) scale(1.005); } }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid, .book-core-card, .book-meaning-grid, .contact-grid, .newsletter-panel, .get-book-grid, .book-split { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .footer-card { grid-template-columns: 1fr 1fr; }
  .hero-aside { max-width: 480px; }
  .book-orbit-pill.p1 { left: -40px; top: 6%; }
  .book-orbit-pill.p2 { right: -50px; top: 34%; }
  .book-orbit-pill.p3 { left: -50px; bottom: 10%; }
  .founder-scene .founder-panel-card { margin: clamp(60px, 10vw, 100px) 20px 40px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 16px; }
  .home-panel { padding: 92px 16px; }
  .page-hero, .founder-scene { margin: 10px; }
  .belief-grid, .book-theme-river, .journey-grid, .blog-feature-grid { grid-template-columns: 1fr; }
  .method-item { grid-template-columns: 1fr; gap: 8px; }
  .brand-mark span { display: none; }
  .floating-dock { bottom: 12px; gap: 3px; padding: 6px 9px; }
  .floating-dock a { width: 50px; height: 50px; }
  .dock-tip { display: none; }
  .footer-card { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 110px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); padding: 14px; }
  .hero-quote { min-height: auto; padding: 28px 26px; }
  .hero-aside { max