/* Margaret Holloway · Design V2
   Dark, lit and moving. Every animation stops for reduced-motion users and when the
   reader presses "Pause motion" (WCAG 2.2.2). */

:root {
  --bg: #121319;
  --bg-2: #171820;
  --surface: #1C1D26;
  --surface-2: #24252F;
  --line: rgba(242, 238, 248, 0.09);
  --line-2: rgba(242, 238, 248, 0.18);
  --text: #F2EEF8;
  --muted: #ABA7BA;
  --violet: #A283F2;
  --violet-2: #7D5CE0;
  --violet-3: #5B3FC0;
  --lilac: #CDBBFF;
  --gold: #D1A254;
  --ink: #14151B;

  --display: "League Gothic", Impact, "Arial Narrow", sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;

  --gutter: 16px;
  --max: 1240px;
  --r: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(900px 600px at 85% -10%, rgba(125, 92, 224, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 60%, rgba(125, 92, 224, 0.08), transparent 60%);
  background-repeat: no-repeat;
}
/* Film grain: a light noise layer blended over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -2%); } 80% { transform: translate(3%, 3%); } }

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
picture > source { display: none; }
[hidden] { display: none !important; }
a { color: var(--lilac); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--lilac); color: var(--ink); padding: 12px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.violet { color: var(--violet); }
.spark { color: var(--lilac); display: inline-block; }

/* Missing-content markers, tuned for dark */
.needs { font-family: var(--mono); font-size: 14px; color: var(--ink); background: #FFF6DF; border: 1.5px dashed #E39A85; border-radius: 4px; padding: 1px 6px; line-height: 1.9; text-transform: none; letter-spacing: 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hide-needs .needs, .hide-needs [data-needs] { display: none !important; }

/* ---------- Lighting: a soft light that follows the pointer ---------- */
.cursor-light {
  position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(162, 131, 242, 0.16), transparent 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 400ms var(--ease);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
}
.has-pointer .cursor-light { opacity: 1; }

/* ---------- Comp bar and header ---------- */
.comp-bar { position: relative; z-index: 60; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 20px; padding: 4px var(--gutter); background: #0B0C10; font: 500 14px/1.3 var(--mono); color: var(--muted); }
.comp-bar a { color: var(--lilac); min-height: 44px; display: inline-flex; align-items: center; }
.comp-bar__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.comp-bar__toggle input { width: 20px; height: 20px; accent-color: var(--violet); }

.top { position: sticky; top: 0; z-index: 50; background: rgba(18, 19, 25, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand__tile { background: #F8F4EA; border-radius: 10px; padding: 5px 7px; display: inline-flex; }
.brand__tile img { height: 30px; width: auto; }
.brand__word { font-family: var(--display); font-size: 1.75rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 160ms; }
.nav a:hover { color: var(--text); }
.top__actions { display: flex; align-items: center; gap: 10px; }
.motion-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; font: 600 0.9rem/1 var(--body); cursor: pointer; }
.motion-btn:hover { color: var(--text); border-color: var(--lilac); }
.motion-btn svg { width: 16px; height: 16px; }
.motion-btn .i-play { display: none; }
.is-still .motion-btn .i-pause { display: none; }
.is-still .motion-btn .i-play { display: inline; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pill--solid { background: var(--violet); color: var(--ink); box-shadow: 0 0 0 0 rgba(162, 131, 242, 0.5), 0 10px 30px -10px rgba(162, 131, 242, 0.7); }
.pill--solid:hover { background: var(--lilac); }
@media (min-width: 1000px) { .nav { display: block; } }
@media (max-width: 560px) { .brand__word { display: none; } .motion-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .motion-btn { padding: 0 12px; } }

/* Mobile menu: a disclosure panel under the header */
.mnav { position: relative; }
.mnav__btn { list-style: none; }
.mnav__btn::-webkit-details-marker { display: none; }
.mnav[open] .mnav__btn { color: var(--text); border-color: var(--lilac); }
.mnav__panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 10px; border-radius: 16px; background: rgba(28, 29, 38, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.mnav__panel a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 10px; color: var(--text); text-decoration: none; font: 400 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.mnav__panel a:hover { background: rgba(162, 131, 242, 0.14); color: var(--lilac); }
@media (min-width: 1000px) { .mnav { display: none; } }
@media (max-width: 420px) { .top__actions .pill { padding: 0 14px; } }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 0; transition: transform 300ms var(--ease-out-expo), background-color 200ms, box-shadow 300ms; }
.btn svg { width: 18px; height: 18px; }
.btn--glow { color: var(--ink); background: linear-gradient(135deg, var(--lilac), var(--violet) 55%, var(--violet-2)); box-shadow: 0 12px 40px -12px rgba(162, 131, 242, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--glow:hover { box-shadow: 0 18px 60px -12px rgba(162, 131, 242, 1), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ghost { color: var(--text); background: rgba(242, 238, 248, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--lilac); }
.btn--ink { background: var(--ink); color: var(--text); min-height: 52px; }
.btn--ink:hover { background: #000; }

/* ---------- Display type ---------- */
.display { font-family: var(--display); text-transform: uppercase; line-height: 0.86; letter-spacing: 0.005em; }
.display--md { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
.display--sm { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); margin-bottom: 24px; }
.grad-text {
  background: linear-gradient(100deg, var(--violet-2) 0%, var(--violet) 30%, #E9E1FF 46%, var(--violet) 62%, var(--violet-2) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s var(--ease) infinite;
}
@keyframes sheen { 0%, 20% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 28px 0 48px; overflow: hidden; }
.hero__rail { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.rail-line { width: 48px; height: 1px; background: var(--violet); flex: none; }
.hero__rail-right { margin-left: auto; color: var(--muted); display: none; }
@media (min-width: 760px) { .hero__rail-right { display: inline; } }
.hero__grid { display: grid; gap: 24px; position: relative; }
.hero__type { position: relative; z-index: 3; }
.hero .display { font-size: clamp(4.25rem, 16vw, 12.25rem); }
.line { display: block; clip-path: inset(-0.05em -100vw 0 -100vw); padding-bottom: 0.02em; }
.line__in { display: block; }
.js .hero:not(.is-ready) .line__in { transform: translateY(105%); }
.js .hero:not(.is-ready) .signature { opacity: 0; }
.hero.is-ready .line__in { animation: rise 1100ms var(--ease-out-expo) both; }
.hero.is-ready .line:nth-child(2) .line__in { animation-delay: 120ms; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.line:nth-child(2) .line__in { color: var(--text); text-shadow: 0 6px 40px rgba(18, 19, 25, 0.6); }
.signature {
  font-family: var(--script); color: var(--lilac); font-size: clamp(3.25rem, 2rem + 5vw, 7rem); line-height: 1;
  margin: -0.12em 0 0.35em; transform: rotate(-5deg); transform-origin: left; padding-left: 26%; white-space: nowrap;
  text-shadow: 0 0 30px rgba(162, 131, 242, 0.55);
}
.hero.is-ready .signature { animation: ink-in 1600ms 500ms var(--ease) both; }
@keyframes ink-in { from { clip-path: inset(0 100% 0 0); opacity: 0.4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.hero__lede { max-width: 30em; color: var(--muted); font-size: 1.0625rem; margin-bottom: 14px; }
.hero__chant { color: var(--lilac); margin-bottom: 28px; }

.hero-portrait { position: relative; z-index: 1; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 846 / 1017; }
.hero-portrait__glow {
  position: absolute; inset: 6% -10% 10% 6%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(162, 131, 242, 0.75), rgba(125, 92, 224, 0.35) 55%, transparent 100%);
  filter: blur(30px); mix-blend-mode: screen; animation: breathe 8s var(--ease) infinite alternate;
}
@keyframes breathe { from { transform: scale(0.94); opacity: 0.8; } to { transform: scale(1.05); opacity: 1; } }
.dust { position: absolute; inset: -12% -16% -6% -16%; width: 132%; height: 118%; z-index: 0; pointer-events: none; }
.hero-portrait__frame {
  position: relative; z-index: 1; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 54% at 54% 42%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 54% at 54% 42%, #000 52%, transparent 100%);
}
.hero-portrait__frame::after {
  /* Colour grade: a violet light blended over the photo so it sits in the scene */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(162, 131, 242, 0.55), transparent 45%), linear-gradient(0deg, rgba(18, 19, 25, 0.9), transparent 35%);
  mix-blend-mode: soft-light;
}
.hero-portrait__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.06); }
.orbit { position: absolute; inset: -6% -10% 0 -24%; width: 134%; height: 106%; z-index: 2; pointer-events: none; overflow: visible; }
.orbit__dot { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px var(--violet)); }
.twinkle { position: absolute; z-index: 3; color: #fff; text-shadow: 0 0 12px var(--violet), 0 0 24px var(--violet); animation: twinkle 3.2s var(--ease) infinite; pointer-events: none; }
.twinkle--1 { top: 12%; right: 2%; font-size: 30px; }
.twinkle--2 { top: 58%; right: -4%; font-size: 18px; animation-delay: 1.1s; }
.twinkle--3 { top: 30%; left: 4%; font-size: 14px; animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.35; transform: scale(0.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.status-pill {
  position: absolute; z-index: 4; left: -2%; bottom: 14%; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 16px; font: 700 0.875rem/1.3 var(--body); color: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em;
  background: rgba(28, 29, 38, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2);
}
.status-pill:hover { box-shadow: inset 0 0 0 1px var(--lilac); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); flex: none; box-shadow: 0 0 0 0 rgba(162, 131, 242, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(162, 131, 242, 0.7); } 70% { box-shadow: 0 0 0 14px rgba(162, 131, 242, 0); } 100% { box-shadow: 0 0 0 0 rgba(162, 131, 242, 0); } }
.seal { position: absolute; z-index: 4; right: -4%; bottom: -2%; width: 150px; height: 150px; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font: 500 13px var(--mono); letter-spacing: 0.22em; fill: var(--lilac); }
.seal__core { width: 74px; height: 74px; border-radius: 50%; background: #F8F4EA; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(162, 131, 242, 0.18), 0 0 40px rgba(162, 131, 242, 0.5); }
.seal__core img { width: 48px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1000px) {
  .hero { padding: 36px 0 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 0; }
  .hero .display { font-size: clamp(6rem, 9vw, 9.75rem); white-space: nowrap; }
  .hero-portrait { margin: 0 0 0 auto; }
  .hero__lede, .hero__chant, .hero__type .btn-row { max-width: 30rem; }
}
@media (max-width: 999px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; width: min(86%, 420px); }
  .seal { width: 118px; height: 118px; right: -6%; }
  .seal__core { width: 58px; height: 58px; }
  .seal__core img { width: 38px; }
  .signature { padding-left: 6%; font-size: clamp(2.6rem, 1.6rem + 6vw, 4.5rem); margin-top: -0.05em; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.stat { padding: 22px 0 6px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 2px; }
.stat__n, .stat__suf { font: 400 clamp(3rem, 2.4rem + 2vw, 4.25rem)/1 var(--display); color: var(--text); }
.stat__suf { color: var(--violet); }
.stat__l { grid-column: 1 / -1; font: 500 14px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: linear-gradient(90deg, var(--bg), transparent 12%, transparent 88%, var(--bg)), rgba(28, 29, 38, 0.5); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 28px; animation: marquee 48s linear infinite; }
.marquee__track span { font: 400 clamp(2.25rem, 1.8rem + 2vw, 3.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: transparent; -webkit-text-stroke: 1px rgba(205, 187, 255, 0.75); }
.marquee__track span:nth-of-type(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; color: var(--violet); font-size: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 2; padding-block: clamp(64px, 40px + 6vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 14px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.link-arrow svg { width: 20px; height: 20px; transition: transform 300ms var(--ease-out-expo); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover svg { transform: translateX(6px); }

/* What I make */
.make__grid { display: grid; gap: 40px; }
.make__intro p { color: var(--muted); max-width: 22em; margin-top: 20px; }
.make__cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .make__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .make__grid { grid-template-columns: 260px 1fr; gap: 48px; align-items: start; } .make__cards { grid-template-columns: repeat(4, 1fr); } }
.make-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 20px; border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 400ms var(--ease-out-expo), box-shadow 300ms;
}
/* Spotlight: a light that follows the pointer inside each card */
.make-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(162, 131, 242, 0.22), transparent 60%);
}
.make-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(205, 187, 255, 0.35), 0 24px 50px -24px rgba(125, 92, 224, 0.6); }
.make-card:hover::before { opacity: 1; }
.make-card__icon { width: 40px; height: 40px; color: var(--violet); }
.make-card h3 { font: 400 1.875rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.make-card p { color: var(--muted); font-size: 1rem; margin: 0; flex: 1; }
.make-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.make-card__no { font: 500 14px var(--mono); color: var(--muted); }
.make-card__foot a { position: relative; z-index: 1; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; font-size: 0.95rem; }

/* Featured books */
.features { display: grid; gap: 20px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { perspective: 900px; }
.feature__link { display: block; height: 100%; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; overflow: hidden; transform-style: preserve-3d; transition: transform 500ms var(--ease-out-expo), box-shadow 300ms; position: relative; }
.feature__link:hover { box-shadow: inset 0 0 0 1px rgba(205, 187, 255, 0.4), 0 30px 60px -30px rgba(125, 92, 224, 0.8); }
.feature__stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 100%, rgba(162, 131, 242, 0.55), transparent 70%), linear-gradient(160deg, #262634, #15161D);
}
.feature__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(242, 238, 248, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 238, 248, 0.05) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }
.feature__cover { position: relative; width: auto; height: 74%; max-height: 74%; margin-top: 4%; border-radius: 3px; transform: rotate(-4deg) translateZ(40px); box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform 600ms var(--ease-out-expo); }
.feature__cover.is-mockup { box-shadow: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.7)); }
.feature__link:hover .feature__cover { transform: rotate(-1deg) translateY(-8px) translateZ(60px) scale(1.03); }
.feature__no { position: absolute; top: 14px; left: 14px; z-index: 2; font: 500 14px var(--mono); background: rgba(18, 19, 25, 0.75); padding: 4px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.feature__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 55%); opacity: 0; transition: opacity 300ms; mix-blend-mode: screen; }
.feature__link:hover .feature__glare { opacity: 1; }
.feature__meta { display: grid; gap: 4px; padding: 18px 64px 20px 20px; }
.feature__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.feature__kind { color: var(--muted); font-size: 0.95rem; }
.feature__arrow { position: absolute; right: 18px; bottom: 22px; width: 36px; height: 36px; padding: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 400ms var(--ease-out-expo), background-color 200ms, color 200ms; }
.feature__link:hover .feature__arrow { transform: rotate(45deg); background: var(--violet); color: var(--ink); }

/* Trio: shelf, process, offer */
.trio__grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .trio__grid { grid-template-columns: 1fr 1fr 1.05fr; align-items: stretch; } }
.panel { border-radius: 20px; padding: 30px 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.shelf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
.shelf-item { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--muted); min-height: 44px; }
.shelf-item__cover { height: 78px; width: auto; border-radius: 2px; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.8); transition: transform 300ms var(--ease-out-expo), box-shadow 300ms; }
.shelf-item__cover.is-mockup { box-shadow: none; }
.shelf-item:hover .shelf-item__cover, .shelf-item:focus-visible .shelf-item__cover { transform: translateY(-5px) rotate(-3deg); box-shadow: 0 16px 30px -10px rgba(125, 92, 224, 0.9); }
.shelf-item__label { font-size: 14px; line-height: 1.25; text-align: center; }
.shelf-item:hover .shelf-item__label { color: var(--text); }

.steps { position: relative; display: grid; gap: 22px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 0; border-left: 1.5px dashed rgba(205, 187, 255, 0.4); transform-origin: top; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 500 14px var(--mono); color: var(--ink); background: radial-gradient(circle at 35% 30%, var(--lilac), var(--violet) 60%, var(--violet-2)); box-shadow: 0 0 0 5px var(--surface), 0 0 24px rgba(162, 131, 242, 0.6); }
.steps strong { display: block; font: 400 1.5rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.steps span:not(.steps__n) { color: var(--muted); font-size: 1rem; }
.process.is-in .steps::before { animation: draw 1200ms 200ms var(--ease) both; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.offer {
  position: relative; overflow: hidden; border-radius: 20px; padding: 34px 28px 30px; color: var(--ink);
  background: linear-gradient(150deg, #CDBBFF 0%, #A283F2 45%, #7D5CE0 100%);
  box-shadow: 0 40px 80px -40px rgba(125, 92, 224, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.offer__glow { position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 65%); mix-blend-mode: overlay; animation: drift 12s var(--ease) infinite alternate; pointer-events: none; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-140px, 120px); } }
.display--offer { position: relative; font-size: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); color: #FBF8FF; text-shadow: 0 2px 18px rgba(91, 63, 192, 0.45); margin-bottom: 18px; max-width: 8ch; }
.offer p { position: relative; font-size: 1rem; color: var(--ink); max-width: 30em; }
.offer__form { position: relative; margin-top: 8px; }
.offer__row { display: flex; flex-wrap: wrap; gap: 8px; }
.offer__input { flex: 1 1 180px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 0; font: 600 1rem var(--body); color: var(--ink); background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(20, 21, 27, 0.25); }
.offer__input::placeholder { color: #4A4560; }
.offer__input:focus-visible { outline-color: var(--ink); }
.offer__input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #8C1D0F; }
.offer__check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin-top: 14px; font-size: 0.95rem; line-height: 1.45; cursor: pointer; }
.offer__check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.offer__err { margin: 10px 0 0; font-weight: 700; color: #5E1308; }
.offer .form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(20, 21, 27, 0.85); color: var(--text); font-size: 0.95rem; }
.offer :focus-visible { outline-color: var(--ink); }
.spark--offer { position: absolute; right: 30px; bottom: 26px; font-size: 26px; color: #fff; animation: twinkle 3s var(--ease) infinite; }

/* Contact */
.contact { overflow-x: clip; }
.contact__card { position: relative; display: grid; gap: 40px; padding: 40px 28px; border-radius: 24px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.contact__bio { color: var(--muted); font-size: 1rem; max-width: 30em; }
.contact__lines { display: grid; gap: 6px; margin-top: 16px; }
.contact__lines li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.contact__lines svg { width: 22px; height: 22px; color: var(--violet); flex: none; }
.contact__lines a { font-weight: 700; }
.arch { position: relative; margin: 0 auto; width: 260px; }
.arch__frame { position: relative; z-index: 1; border-radius: 140px 140px 18px 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 0 0 1px rgba(205, 187, 255, 0.35), 0 30px 80px -30px rgba(125, 92, 224, 0.9); background: var(--violet-3); }
.arch__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(91, 63, 192, 0.55), transparent 50%); mix-blend-mode: soft-light; }
.arch__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.arch__orbit { position: absolute; z-index: 2; left: -30%; right: -30%; bottom: 8%; width: 160%; pointer-events: none; }
.twinkle--arch { right: -10%; top: 14%; font-size: 22px; }
.contact__col--right .display--sm { margin-bottom: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.social { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 200ms, color 200ms, transform 300ms var(--ease-out-expo); }
.social svg { width: 22px; height: 22px; }
a.social:hover { background: var(--violet); color: var(--ink); transform: translateY(-3px); }
.social--off { opacity: 0.55; }
.socials__note { flex-basis: 100%; }
.contact__chant { color: var(--violet); margin-top: 28px; line-height: 1.7; }
@media (min-width: 1000px) {
  .contact { padding-top: 160px; }
  .contact__card { grid-template-columns: 1fr 300px 1fr; align-items: end; padding: 48px 44px; }
  .arch { width: 300px; margin-top: -170px; align-self: start; }
  .contact__col--right { justify-self: end; }
}

/* Footer */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: 0.95rem; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.foot a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--text); }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 900ms var(--ease), transform 900ms var(--ease-out-expo), filter 900ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .make-card, .js .feature { opacity: 0; transform: translateY(24px); }
.js .is-in-group .make-card, .js .is-in-group .feature { opacity: 1; transform: none; transition: opacity 800ms var(--ease), transform 900ms var(--ease-out-expo); }
.js .is-in-group > :nth-child(2) { transition-delay: 90ms !important; }
.js .is-in-group > :nth-child(3) { transition-delay: 180ms !important; }
.js .is-in-group > :nth-child(4) { transition-delay: 270ms !important; }

/* ---------- Stillness: reduced motion, or the reader pressed Pause ---------- */
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }
.is-still body::after { animation: none; }
.is-still .cursor-light { display: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation: none !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
  html.js:not(.force-motion) [data-reveal], html.js:not(.force-motion) .make-card, html.js:not(.force-motion) .feature { opacity: 1 !important; transform: none !important; filter: none !important; }
  html:not(.force-motion) .cursor-light { display: none; }
  html:not(.force-motion) .marquee__track { transform: none; }
}

@media (prefers-reduced-motion: reduce) { html.js:not(.force-motion) .hero .line__in { transform: none !important; } html.js:not(.force-motion) .hero .signature { opacity: 1 !important; } }
