/* =====================================================================
   design2publish — site design v2 (2026-10-22)
   Warm sand base, deep navy blocks, brand orange, pastel tiles and real
   book covers. No scroll-driven animation (only a slow CSS ribbon loop).
   ===================================================================== */
:root {
  --bg: #f2ece2;
  --bg-2: #e9e0d1;
  --surface: #fbf7f0;
  --ink: #151a35;
  --ink-2: #3a3f5c;
  --muted: #61667f;
  --line: #ddd2c1;
  --navy: #1a2052;
  --navy-2: #262d6b;
  --accent: #f0460e;
  --accent-dark: #c9380a;
  --accent-soft: #ffe0d3;
  --peach: #ffd6c2;
  --lilac: #d9d3ff;
  --mint: #c3e7da;
  --butter: #ffe3a1;
  --f-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 2px 4px rgba(21, 26, 53, 0.05), 0 18px 40px -20px rgba(21, 26, 53, 0.3);
  --book-shadow: 0 24px 40px -18px rgba(10, 12, 30, 0.55);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * 0.6) 0; }
.sec--tight-top { padding-top: calc(var(--sec) * 0.5); }
.sec--sand { background: var(--bg-2); }
.sec--navy { background: var(--navy); color: #d9dcf2; }
.sec--navy h1, .sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--navy .lead { color: #aeb3d6; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.sec--navy .eyebrow { color: #ff9a74; }
.h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); }
.h1 em, .h2 em { font-family: var(--f-serif); font-weight: 500; font-style: italic; letter-spacing: -0.01em; color: var(--accent); }
.sec--navy .h2 em { color: #ff9a74; }
.lead { font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--muted); max-width: 60ch; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .lead { margin-top: 16px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .lead { margin-left: auto; margin-right: auto; }
.sec-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; max-width: none; }
.sec-head__side { display: grid; gap: 16px; justify-items: start; }
.sec-head__side .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(240, 70, 14, 0.8); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--ink); }
.btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pill--light { background: rgba(255, 255, 255, 0.12); color: #ffc4ad; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--bg-2); color: var(--ink-2); }
.icon-dot { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon-dot svg { width: 22px; height: 22px; }

/* ---------- Header (floating bar) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px 0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 8px 10px 8px 22px; border-radius: 18px; background: rgba(251, 247, 240, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(21, 26, 53, 0.08); box-shadow: 0 10px 30px -22px rgba(21, 26, 53, 0.5); }
.site-logo img { width: 158px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.site-nav a:hover { background: var(--bg-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.site-header__cta { display: flex; align-items: center; gap: 14px; }
.site-header__phone { display: grid; text-align: right; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.site-header__phone small { font-size: 11.5px; font-weight: 600; color: var(--accent); }
.site-header .btn { min-height: 46px; padding: 0 18px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(110px, 12vw, 160px);
  background:
    radial-gradient(40% 55% at 8% 20%, rgba(255, 196, 168, 0.75), transparent 70%),
    radial-gradient(38% 50% at 92% 18%, rgba(196, 186, 255, 0.7), transparent 70%),
    radial-gradient(45% 50% at 60% 100%, rgba(170, 225, 205, 0.6), transparent 70%),
    var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(21, 26, 53, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 26, 53, 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 60% at 75% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 75% 40%, #000, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 22px 0 20px; }
.hero .lead { margin-bottom: 30px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; max-width: 560px; }
.chips li { padding: 9px 14px; border: 1.5px solid rgba(240, 70, 14, 0.45); border-radius: 10px; background: rgba(255, 255, 255, 0.45); font-size: 13.5px; font-weight: 600; color: var(--accent-dark); }
.hero__art { position: relative; padding: 0 0 0 4%; }
.float-card { position: absolute; z-index: 3; display: grid; gap: 6px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: 13px; color: var(--muted); line-height: 1.35; }
.float-card b { font-family: var(--f-head); font-size: 15px; color: var(--ink); }
.float-card .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--butter); color: var(--ink); }
.float-card .dot svg { width: 20px; height: 20px; }
.avatars { display: flex; }
.avatars i { width: 32px; height: 32px; margin-right: -8px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--peach); }
.avatars i:nth-child(2) { background: var(--lilac); }
.avatars i:nth-child(3) { background: var(--mint); }
.avatars i.more { background: var(--navy); color: #fff; font-size: 15px; }

/* fanned book covers on a coloured panel */
.fan { position: relative; aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fan--navy { background: radial-gradient(70% 70% at 50% 35%, var(--navy-2), var(--navy) 75%); }
.fan--accent { background: radial-gradient(70% 70% at 50% 30%, #ff7a45, var(--accent) 75%); }
.fan--clear { background: transparent; aspect-ratio: auto; height: 100%; min-height: 200px; overflow: visible; }
.fan img { position: absolute; width: 34%; border-radius: 6px; box-shadow: var(--book-shadow); }
.fan img:nth-child(1) { transform: translateX(-62%) rotate(-9deg); }
.fan img:nth-child(2) { z-index: 2; width: 38%; transform: translateY(-2%); }
.fan img:nth-child(3) { transform: translateX(62%) rotate(9deg); }


/* ---------- Platforms strip ---------- */
.logos { padding: clamp(40px, 5vw, 64px) 0 clamp(36px, 4vw, 56px); text-align: center; }
.logos p { font-size: 14.5px; font-weight: 500; color: var(--muted); margin-bottom: 22px; }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; }
.logos li { font-family: var(--f-head); font-size: clamp(17px, 1.7vw, 22px); font-weight: 800; letter-spacing: -0.02em; color: #8a8597; }

/* ---------- Shelf of real covers ---------- */
.shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 26px; }
.shelf__book { display: grid; gap: 6px; align-content: start; }
.shelf__book img { width: 100%; aspect-ratio: 304 / 423; object-fit: cover; border-radius: 6px; box-shadow: var(--book-shadow); transition: transform .3s; }
.shelf__book:hover img { transform: translateY(-6px); }
.shelf__book span { margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.3; }
.shelf__book small { font-size: 13px; color: var(--muted); }

/* ---------- Services table ---------- */
.svc-table { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 80px minmax(220px, 1fr) 1.4fr 60px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.svc-row:nth-child(even) { background: rgba(217, 211, 255, 0.28); }
.svc-row:hover { background: var(--accent-soft); }
.svc-row__num { padding-left: 20px; font-family: var(--f-head); font-size: 20px; font-weight: 700; color: var(--muted); }
.svc-row__name { display: flex; align-items: center; gap: 16px; font-family: var(--f-head); font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; }
.svc-row__text { color: var(--muted); font-size: 15.5px; }
.svc-row__go { justify-self: end; margin-right: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; transition: background-color .2s; }
.svc-row__go svg { width: 16px; height: 16px; }
.svc-row:hover .svc-row__go { background: var(--accent); }
.svc-table:has(.svc-row__img) .svc-row { grid-template-columns: 80px minmax(220px, 1fr) 1.4fr 96px; }
.svc-row__img { justify-self: end; margin-right: 20px; }
.svc-row__img img { width: 64px; border-radius: 4px; box-shadow: var(--book-shadow); }

/* ---------- Ribbons (slow CSS loop) ---------- */
.ribbons { position: relative; height: 210px; overflow: hidden; }
.ribbon { position: absolute; left: -5%; width: 110%; padding: 16px 0; white-space: nowrap; overflow: hidden; }
.ribbon--dark { top: 40px; background: var(--navy); color: #fff; transform: rotate(-3deg); }
.ribbon--accent { top: 92px; background: var(--accent); color: #fff; transform: rotate(2.5deg); }
.ribbon__track { display: inline-flex; gap: 28px; align-items: center; font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; animation: ribbon 40s linear infinite; }
.ribbon--accent .ribbon__track { animation-direction: reverse; }
.ribbon__track i { font-style: normal; opacity: 0.5; }
@keyframes ribbon { to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; } }

/* ---------- Bento tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile h3 { font-size: 20px; margin-top: auto; }
.tile p { font-size: 14.5px; color: var(--ink-2); max-width: 32ch; }
.tile__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.65); color: var(--ink); }
.tile__icon svg { width: 21px; height: 21px; }
.tile--peach { background: var(--peach); }
.tile--lilac { background: var(--lilac); }
.tile--mint { background: var(--mint); }
.tile--butter { background: var(--butter); }
.tile--navy { background: var(--navy); }
.tile--navy h3 { color: #fff; }
.tile--navy p { color: #b9bde0; }
.tile--navy .tile__icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.tile--accent { background: var(--accent); }
.tile--accent h3 { color: #fff; }
.tile--accent p { color: #ffe0d3; }
.tile--accent .tile__icon { background: #fff; color: var(--accent); }
.tile--tall { grid-row: span 2; }
.tile--tall h3 { margin-top: 18px; }
.tile--tall .fan { flex: 1; margin: 18px -24px -24px; }
.tile--tall .fan img { width: 38%; }
.tile--tall .fan img:nth-child(2) { width: 42%; }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 18px; }
.tile--wide > div { grid-column: 1 / -1; align-self: end; max-width: 50%; }
.tile__covers { position: absolute; right: 22px; bottom: -26px; display: flex; gap: 10px; }
.tile__covers img { width: 82px; border-radius: 4px; box-shadow: var(--book-shadow); }
.tile__covers img:nth-child(2) { transform: translateY(-16px); }
.bento--simple { grid-auto-rows: auto; }
.bento--simple .tile h3 { margin-top: 24px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 30px 28px; border-radius: 20px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.step h3 { margin: 18px 0 10px; font-size: 21px; }
.step p { color: #b9bde0; font-size: 15px; }
.step__num { align-self: flex-start; justify-self: start; display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 12px; background: var(--accent); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 16px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plan--featured { background: var(--navy); border-color: var(--navy); color: #c4c8e6; box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; }
.plan__name { font-family: var(--f-head); font-size: 17px; font-weight: 700; color: var(--ink); }
.plan--featured .plan__name { color: #fff; }
.plan__price { font-family: var(--f-head); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.plan--featured .plan__price { color: #ff9a74; }
.plan__price small { display: block; margin-top: 8px; font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan p { color: var(--muted); }
.plan--featured .plan__price small, .plan--featured p { color: #b9bde0; }
.plan ul { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan--featured ul { border-color: rgba(255, 255, 255, 0.14); }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan--featured li { color: #e4e6f7; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.plan--featured .btn--primary { box-shadow: none; }
.note-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding: 26px 30px; border-radius: 22px; background: var(--butter); }
.note-box h3 { font-size: 20px; margin-bottom: 4px; }
.note-box p { color: var(--ink-2); max-width: 62ch; }

/* ---------- About band ---------- */
.about-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-band__media { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.ticks { display: grid; gap: 10px; margin: 24px 0 30px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; color: var(--accent); }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.values span { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.values span:nth-child(5n+1) { background: var(--peach); }
.values span:nth-child(5n+2) { background: var(--lilac); }
.values span:nth-child(5n+3) { background: var(--mint); }
.values span:nth-child(5n+4) { background: var(--butter); }
.values span:nth-child(5n+5) { background: var(--accent-soft); }
.statement { display: grid; grid-template-columns: 0.8fr 2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.statement p.big { font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -0.02em; color: #fff; }
.statement__label { display: grid; gap: 14px; }
.statement__label img { width: 150px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__intro .lead { margin: 14px 0 26px; }
.qa { display: grid; gap: 10px; }
.qa details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.sec--sand .qa details { background: var(--bg); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 700; font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: transform .2s, background-color .2s; }
.qa summary .plus svg { width: 14px; height: 14px; }
.qa details[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.qa .ans { padding: 0 60px 20px 22px; color: var(--muted); }
.qa-group + .qa-group { margin-top: 48px; }
.qa-group h3 { margin: 12px 0 6px; font-size: 24px; }
.qa-group > p { color: var(--muted); margin-bottom: 18px; }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.topics .tile { min-height: 200px; }
.topics .tile h3 { margin-top: 18px; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 14px; }
.timeline li { padding: 24px 26px; border-radius: 18px; background: var(--bg); border-left: 5px solid var(--accent); }
.timeline .when { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent-dark); text-transform: uppercase; }
.timeline h3 { margin: 6px 0 8px; font-size: 21px; }
.timeline p { color: var(--muted); max-width: 64ch; }

/* ---------- Page head ---------- */
.page-head { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 5vw, 72px)) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(40% 70% at 0% 0%, rgba(255, 196, 168, 0.8), transparent 70%),
    radial-gradient(40% 70% at 100% 10%, rgba(196, 186, 255, 0.75), transparent 70%),
    var(--bg-2); }
.page-head h1 { margin: 8px 0 18px; font-size: clamp(36px, 4.6vw, 60px); }
.crumbs { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.page-head__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.page-head__grid > div:only-child { grid-column: 1 / -1; max-width: 900px; }
.page-head__books { position: relative; height: 270px; }
.page-head__books img { position: absolute; top: 50%; left: 50%; width: 150px; border-radius: 5px; box-shadow: var(--book-shadow); }
.page-head__books img:nth-child(1) { transform: translate(-125%, -50%) rotate(-8deg); }
.page-head__books img:nth-child(2) { z-index: 2; width: 166px; transform: translate(-50%, -54%); }
.page-head__books img:nth-child(3) { transform: translate(25%, -50%) rotate(8deg); }

/* ---------- Books page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 26px; }
.book-card { display: grid; gap: 14px; align-content: start; }
.book-card[hidden] { display: none; }
.book-card__img { padding: 18px 18px 0; border-radius: 16px; background: var(--bg-2); }
.book-card:nth-child(4n+1) .book-card__img { background: var(--peach); }
.book-card:nth-child(4n+2) .book-card__img { background: var(--lilac); }
.book-card:nth-child(4n+3) .book-card__img { background: var(--mint); }
.book-card:nth-child(4n+4) .book-card__img { background: var(--butter); }
.book-card__img img { width: 100%; aspect-ratio: 304 / 423; object-fit: cover; border-radius: 4px 4px 0 0; box-shadow: var(--book-shadow); transition: transform .3s; transform-origin: bottom; }
.book-card:hover .book-card__img img { transform: translateY(-6px); }
.book-card__genre { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.book-card h3 { margin-top: 4px; font-size: 16.5px; line-height: 1.3; }
.book-card p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__offices { display: grid; gap: 18px; margin-top: 28px; }
.office { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.office b { display: block; font-family: var(--f-head); font-size: 17px; margin-bottom: 4px; }
.office p { color: var(--muted); font-size: 15px; }
.office a { color: var(--ink); font-weight: 500; }
.office a:hover { color: var(--accent); }
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--navy); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: #dfe1f5; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.06); font: inherit; color: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #ff9a74; box-shadow: 0 0 0 4px rgba(240, 70, 14, 0.25); }
.form__note { font-size: 13.5px; color: #aeb3d6; }
.form-card .link-arrow { color: #fff; }

/* ---------- CTA + footer ---------- */
.cta { position: relative; display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 32px; align-items: center; border-radius: 28px; overflow: hidden; background: var(--navy); color: #c4c8e6; }
.cta::after { content: ""; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 70, 14, 0.45), transparent 70%); pointer-events: none; }
.cta__books { position: relative; align-self: stretch; min-height: 280px; background: linear-gradient(135deg, var(--lilac), var(--peach)); }
.cta__books img { position: absolute; top: 50%; left: 50%; width: 30%; border-radius: 5px; box-shadow: var(--book-shadow); }
.cta__books img:nth-child(1) { transform: translate(-130%, -50%) rotate(-8deg); }
.cta__books img:nth-child(2) { z-index: 2; width: 34%; transform: translate(-50%, -52%); }
.cta__books img:nth-child(3) { transform: translate(30%, -50%) rotate(8deg); }
.cta__body { position: relative; z-index: 1; padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(32px, 4vw, 56px) 0; }
.cta h2 { color: #fff; margin: 14px 0 10px; }
.cta p { color: #aeb3d6; margin-bottom: 24px; }
.cta-form { display: flex; gap: 10px; max-width: 520px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.cta-form input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; color: #fff; font: inherit; }
.cta-form input::placeholder { color: #9196bd; }
.cta-form input:focus { outline: none; }
.cta-wrap .d2p-form-status { position: relative; z-index: 1; }
.site-footer { margin-top: calc(var(--sec) * 0.4); padding: clamp(56px, 7vw, 80px) 0 28px; background: var(--ink); color: #aeb3d6; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand img { width: 160px; margin-bottom: 16px; }
.site-footer__brand p { font-size: 15px; max-width: 36ch; }
.site-footer__mail { display: inline-block; margin-top: 8px; font-weight: 600; color: #fff; border-bottom: 2px solid var(--accent); }
.site-footer h4 { margin-bottom: 14px; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #ff9a74; }
.site-footer li a { display: inline-block; padding: 4px 0; font-size: 15px; color: #d9dcf2; }
.site-footer li a:hover, .site-footer__bottom a:hover { color: #ff9a74; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.site-footer__bottom nav { display: flex; gap: 18px; }

/* back to top */
.to-top { position: fixed; right: 24px; bottom: 96px; z-index: 90; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header__phone { display: none; }
}
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: calc(var(--header-h) + 4px) 0 0 0; z-index: 99; display: block; padding: 24px var(--gutter); background: var(--bg); transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: 22px; }
  .mobile-nav a[aria-current="page"] { color: var(--accent); }
  .mobile-nav .btn { margin-top: 24px; font-family: var(--f-body); font-size: 16px; border: 0; }
  body.nav-open { overflow: hidden; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-grid, .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shelf__book:nth-child(n+9) { display: none; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row, .svc-table:has(.svc-row__img) .svc-row { grid-template-columns: 60px 1fr 80px; }
  .svc-row__text { grid-column: 2 / 3; }
  .svc-row__go, .svc-row__img { grid-row: 1 / 3; grid-column: 3; }
  .svc-row__num { padding-left: 14px; }
}
@media (max-width: 900px) {
  .hero__grid, .about-band, .faq, .contact, .cta, .statement, .page-head__grid, .sec-head--split { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; }
  .faq__intro { position: static; }
  .plans, .steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .topics { grid-template-columns: 1fr 1fr; }
  .book-grid, .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf__book:nth-child(n+7) { display: none; }
  .page-head__books { display: none; }
  .cta__books { min-height: 220px; }
  .cta__body { padding: 0 28px 36px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .site-logo img { width: 132px; }
  .site-header__cta .btn--primary { display: none; }
  .site-header__inner { padding-left: 16px; }
  .bento, .topics, .form-row, .steps--4 { grid-template-columns: 1fr; }
  .tile--tall, .tile--wide { grid-row: auto; grid-column: auto; }
  .tile--wide > div { max-width: 60%; }
  .tile__covers img { width: 58px; }
  .book-grid, .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .shelf__book:nth-child(n+5) { display: none; }
  .svc-row, .svc-table:has(.svc-row__img) .svc-row { grid-template-columns: 1fr 56px; gap: 10px; padding: 18px 0; }
  .svc-row__num { display: none; }
  .svc-row__name { padding-left: 14px; }
  .svc-row__text { grid-column: 1; padding-left: 14px; }
  .svc-row__go, .svc-row__img { grid-column: 2; grid-row: 1 / 3; margin-right: 12px; }
  .svc-row__img img { width: 48px; }
  .ribbons { height: 160px; }
  .ribbon--dark { top: 26px; }
  .ribbon--accent { top: 74px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form input { padding: 14px 16px; }
  .qa .ans { padding-right: 22px; }
}

/* ---------- Chat + form status (from the original site app) ---------- */
.d2p-form-status { display: none; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.d2p-form-status.show { display: block; }
.d2p-form-status.ok { background: #e9f7ee; color: #1f6b3a; }
.d2p-form-status.err { background: #fdecea; color: #a1281c; }

/* =====================================================================
   v2.1 — hero book stage, "what we do" band, motion
   ===================================================================== */

/* ---------- Hero book stage ---------- */
.hero__art { position: relative; padding: 28px 0 34px; }
.stage { position: relative; height: clamp(440px, 40vw, 520px); border-radius: 32px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 45% at 50% 62%, rgba(240, 70, 14, 0.45), transparent 70%),
    radial-gradient(50% 50% at 85% 10%, rgba(140, 125, 255, 0.45), transparent 70%),
    linear-gradient(160deg, #2a3178 0%, var(--navy) 55%, #12163b 100%);
  box-shadow: 0 40px 80px -40px rgba(21, 26, 53, 0.8); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%); }
.stage__glow { position: absolute; left: 50%; top: 58%; width: 70%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 166, 120, 0.35), transparent 65%); z-index: -1; animation: glow 6s ease-in-out infinite; }
.stage__ring { position: absolute; left: 50%; top: 56%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.18); transform: translate(-50%, -50%); z-index: -1; }
.stage__ring--1 { width: 78%; aspect-ratio: 1; animation: spin 60s linear infinite; }
.stage__ring--2 { width: 104%; aspect-ratio: 1; border-style: solid; border-color: rgba(255, 255, 255, 0.07); }
.stage__spark { position: absolute; width: 10px; height: 10px; background: var(--butter); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3.2s ease-in-out infinite; }
.stage__spark--1 { left: 14%; top: 64%; }
.stage__spark--2 { right: 12%; top: 34%; width: 14px; height: 14px; background: #ffb592; animation-delay: 1s; }
.stage__spark--3 { left: 58%; top: 12%; width: 8px; height: 8px; background: #fff; animation-delay: 2s; }
.seal { position: absolute; left: 22px; top: 22px; width: 96px; height: 96px; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-plain 22s linear infinite; }
.seal text { font: 700 9.6px/1 var(--f-body); letter-spacing: 0.18em; fill: rgba(255, 255, 255, 0.75); }
.seal__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 8px 18px -6px rgba(240, 70, 14, 0.8); }
.seal__icon svg { position: static; width: 20px; height: 20px; animation: none; }
.stage__books { position: absolute; left: 50%; bottom: 13%; width: 88%; height: 70%; transform: translateX(-50%); }
.book3d { position: absolute; bottom: 0; left: 50%; width: 36%; border-radius: 3px 7px 7px 3px; overflow: hidden; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.75), 0 10px 14px -8px rgba(0, 0, 0, 0.4); transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.book3d img { width: 100%; aspect-ratio: 304 / 423; object-fit: cover; }
.book3d::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(255, 255, 255, 0.18) 45%, rgba(0, 0, 0, 0.15)); z-index: 1; }
.book3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 35%); pointer-events: none; }
.book3d--1 { transform: translateX(-112%) rotate(-10deg); transform-origin: bottom right; }
.book3d--2 { z-index: 2; width: 43%; transform: translateX(-50%); }
.book3d--3 { transform: translateX(12%) rotate(10deg); transform-origin: bottom left; }
.stage:hover .book3d--1 { transform: translateX(-124%) rotate(-14deg); }
.stage:hover .book3d--2 { transform: translateX(-50%) translateY(-14px); }
.stage:hover .book3d--3 { transform: translateX(24%) rotate(14deg); }
.stage__shelf { position: absolute; left: 8%; right: 8%; bottom: 10%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); }
.float-card--team { right: -18px; top: 0; }
.float-card--steps { left: -22px; bottom: 6px; grid-template-columns: 40px auto; align-items: center; gap: 12px; }
.float-card--steps small { display: block; }
.float-card--steps .dot { background: var(--mint); }

/* ---------- "What we do" band ---------- */
.band-wrap { position: relative; z-index: 2; margin-top: calc(clamp(70px, 8vw, 110px) * -1); }
.band { display: grid; grid-template-columns: 0.85fr 2fr; gap: 0; border-radius: 28px; background: var(--navy); box-shadow: 0 40px 70px -40px rgba(21, 26, 53, 0.7); }
.band__intro { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 34px 32px 150px; border-radius: 28px 0 0 28px; overflow: hidden; background: linear-gradient(150deg, #ff7a45 0%, var(--accent) 60%, #d9360a 100%); color: #fff; }
.band__intro::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, 0.1); }
.band__intro .eyebrow { color: #fff; opacity: 0.85; margin-bottom: 12px; }
.band__intro h2 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; }
.band__intro h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--butter); }
.band__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 14.5px; border-bottom: 2px solid rgba(255, 255, 255, 0.5); padding-bottom: 2px; }
.band__link svg { width: 14px; height: 14px; transition: transform .25s; }
.band__link:hover svg { transform: translateX(4px); }
.band__books { position: absolute; left: 50%; bottom: -30px; width: 230px; height: 160px; transform: translateX(-50%); }
.band__books img { position: absolute; bottom: 0; left: 50%; width: 82px; border-radius: 3px 5px 5px 3px; box-shadow: 0 18px 26px -12px rgba(0, 0, 0, 0.6); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.band__books img:nth-child(1) { transform: translateX(-125%) rotate(-12deg); }
.band__books img:nth-child(2) { z-index: 2; width: 94px; transform: translateX(-50%) translateY(-10px); }
.band__books img:nth-child(3) { transform: translateX(25%) rotate(12deg); }
.band:hover .band__books img:nth-child(1) { transform: translateX(-135%) translateY(-12px) rotate(-16deg); }
.band:hover .band__books img:nth-child(2) { transform: translateX(-50%) translateY(-26px); }
.band:hover .band__books img:nth-child(3) { transform: translateX(35%) translateY(-12px) rotate(16deg); }
.band__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: clamp(24px, 3vw, 34px); }
.band__grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: calc(clamp(24px, 3vw, 34px) + 52px); border-top: 2px dashed rgba(255, 255, 255, 0.14); }
.band__item { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; background: #1f2660; border: 1px solid rgba(255, 255, 255, 0.12); color: #c4c8e6; font-size: 14.5px; transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .35s, border-color .35s; }
.band__item:hover { transform: translateY(-6px); background: var(--navy-2); border-color: rgba(255, 154, 116, 0.55); }
.band__num { position: absolute; right: 20px; top: 16px; font-family: var(--f-head); font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22); transition: -webkit-text-stroke-color .35s; }
.band__item:hover .band__num { -webkit-text-stroke-color: rgba(255, 154, 116, 0.8); }
.band__icon { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--butter); color: var(--ink); transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .35s, color .35s; }
.band__icon svg { width: 23px; height: 23px; }
.band__item:hover .band__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
.band__item h3 { margin: 20px 0 8px; font-size: 19px; color: #fff; }
.band__item p { flex: 1; }
.band__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: #ff9a74; }
.band__more svg { width: 14px; height: 14px; transition: transform .25s; }
.band__item:hover .band__more svg { transform: translateX(5px); }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-plain { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
@keyframes book-in-1 { from { opacity: 0; transform: translateX(-60%) translateY(40px) rotate(0); } }
@keyframes book-in-2 { from { opacity: 0; transform: translateX(-50%) translateY(60px); } }
@keyframes book-in-3 { from { opacity: 0; transform: translateX(-40%) translateY(40px) rotate(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.85) translateY(16px); } }

/* hero entrance (runs once on load) */
.hero__copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.stage { animation: pop .9s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
.book3d--1 { animation: book-in-1 1s cubic-bezier(.2, .8, .2, 1) .45s backwards; }
.book3d--2 { animation: book-in-2 1s cubic-bezier(.2, .8, .2, 1) .3s backwards; }
.book3d--3 { animation: book-in-3 1s cubic-bezier(.2, .8, .2, 1) .6s backwards; }
.float-card--team { animation: pop .7s cubic-bezier(.2, .8, .2, 1) .9s both, bob 6s ease-in-out 1.6s infinite; }
.float-card--steps { animation: pop .7s cubic-bezier(.2, .8, .2, 1) 1.1s both, bob 6s ease-in-out 1.8s infinite; }

/* rotating hero word */
.rotator { display: inline-block; transition: opacity .35s, transform .35s; }
.rotator.is-out { opacity: 0; transform: translateY(14px); }

/* reveal on scroll: only when JS runs, so content stays visible without it */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* hover polish */
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.chips li { transition: background-color .25s, color .25s, transform .25s; }
.chips li:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.logos li { transition: color .3s; }
.logos li:hover { color: var(--accent); }
.tile__icon { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
a.tile:hover .tile__icon { transform: rotate(-12deg) scale(1.1); }
.tile__covers img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
a.tile:hover .tile__covers img:nth-child(1) { transform: translateY(-12px) rotate(-5deg); }
a.tile:hover .tile__covers img:nth-child(2) { transform: translateY(-30px); }
a.tile:hover .tile__covers img:nth-child(3) { transform: translateY(-12px) rotate(5deg); }
.tile .fan img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
a.tile:hover .fan img:nth-child(1) { transform: translateX(-72%) rotate(-13deg); }
a.tile:hover .fan img:nth-child(2) { transform: translateY(-8%); }
a.tile:hover .fan img:nth-child(3) { transform: translateX(72%) rotate(13deg); }
.shelf__book img { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.shelf__book:hover img { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 34px 44px -20px rgba(10, 12, 30, 0.6); }
.svc-row .icon-dot { transition: transform .4s cubic-bezier(.2, .8, .2, 1), background-color .3s, color .3s; }
.svc-row:hover .icon-dot { transform: rotate(-10deg) scale(1.1); background: var(--accent); color: #fff; }
.svc-row__go { transition: background-color .25s, transform .3s; }
.svc-row:hover .svc-row__go { transform: rotate(-45deg); }
.plan { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step { transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255, 154, 116, 0.5); }
.site-header__inner { transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled .site-header__inner { background: rgba(251, 247, 240, 0.97); box-shadow: 0 14px 34px -18px rgba(21, 26, 53, 0.45); }

@media (max-width: 1080px) {
  .band { grid-template-columns: 1fr; }
  .band__intro { border-radius: 28px 28px 0 0; padding-bottom: 140px; }
  .band__grid::before { display: none; }
}
@media (max-width: 900px) {
  .band__grid { grid-template-columns: 1fr; }
  .hero__art { margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .stage { height: 380px; }
  .seal { width: 76px; height: 76px; left: 14px; top: 14px; }
  .seal__icon { width: 34px; height: 34px; }
  .float-card--team { right: 0; top: 0; }
  .float-card--steps { left: 0; bottom: 0; }
  .stage__books { width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Our Family of Brands (About page) ---------- */
.brands { padding: clamp(56px, 7vw, 96px) 0; background: linear-gradient(105deg, #efe7da 0%, #e6e0d6 45%, #c9cbd8 100%); text-align: center; }
.brands__head { max-width: 720px; margin: 0 auto clamp(34px, 4.5vw, 54px); }
.brands__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.brands__eyebrow::before, .brands__eyebrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: 0.6; }
.brands__title { margin: 0 0 14px; font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
.brands__lead { margin: 0 auto; max-width: 58ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; color: var(--muted); }
.brands__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.brands__list li + li { border-left: 1px solid rgba(21, 26, 53, 0.14); }
.brands__list a { display: grid; justify-items: center; align-content: center; gap: 16px; height: 100%; padding: 22px 18px; border-radius: 18px; transition: background-color 0.3s, transform 0.3s; }
.brands__list a:hover { background: rgba(255, 255, 255, 0.55); transform: translateY(-3px); }
.brands__list img { display: block; width: auto; height: clamp(26px, 2.6vw, 38px); max-width: 100%; object-fit: contain; }
.brands__tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.brands__list a:hover .brands__tag { color: var(--accent); }
.brands__note { display: flex; align-items: center; justify-content: center; gap: 16px; margin: clamp(30px, 4vw, 46px) 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink); }
.brands__note::before, .brands__note::after { content: ""; width: clamp(30px, 6vw, 80px); height: 1px; background: rgba(21, 26, 53, 0.14); }
@media (max-width: 900px) { .brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; } .brands__list li:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .brands__list { grid-template-columns: 1fr; } .brands__list li + li { border-left: 0; border-top: 1px solid rgba(21, 26, 53, 0.14); } .brands__note::before, .brands__note::after { display: none; } }
