/* Clean Slate Templates
   One stylesheet for the homepage and the privacy notice.
   Colours live in :root so the accent can be changed in one place. */

@font-face {
  font-family: "Young Serif";
  src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfbf9;
  --graphite: #1e2226;
  --pencil: #5c636b;
  --rule: #e2e4e3;
  --slate: #3e5c76;        /* the one accent colour */
  --slate-deep: #2f4a61;   /* hover and pressed states of the accent */
  --slate-wash: #eef2f5;   /* quiet panel behind the sign-up */

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --line: 2rem;            /* ruled-paper spacing used in the hero */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--slate); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--slate-deep); }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--graphite);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--graphite);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--graphite); }
.site-nav ul {
  display: flex;
  gap: clamp(0.9rem, 3vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--pencil);
  text-decoration: none;
  font-size: 0.975rem;
}
.site-nav a:hover { color: var(--graphite); text-decoration: underline; }

/* ---------- Hero: a fresh sheet of ruled paper ---------- */

.hero {
  overflow-x: clip;
  padding: calc(var(--line) * 2) 0 calc(var(--line) * 1.5);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--line) - 1px),
    var(--rule) calc(var(--line) - 1px),
    var(--rule) var(--line)
  );
  background-position: 0 calc(var(--line) * 2 - 0.45rem);
}
.hero .wrap { position: relative; }

.hero h1 {
  margin: 0;
  max-width: 21ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  line-height: calc(var(--line) * 2);
  letter-spacing: -0.02em;
  color: var(--graphite);
}
@media (max-width: 640px) {
  :root { --line: 1.75rem; }
  /* nudge the headline down so it sits on the ruled lines at this size */
  .hero h1 { position: relative; top: 6px; }
}

.hero .lede {
  max-width: 34rem;
  margin: var(--line) 0 0;
  font-size: 1.15rem;
  line-height: var(--line);
  color: var(--pencil);
}

/* The one strong slate line: a ruler-drawn underline under the hero */
.hero .ruler {
  display: block;
  width: min(100%, 22rem);
  height: 3px;
  margin-top: calc(var(--line) - 3px);
  background: var(--slate);
}

.button {
  display: inline-block;
  margin-top: var(--line);
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  background: var(--slate);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { background: var(--slate-deep); color: #fff; }

/* ---------- Template shelves ---------- */

.templates { padding: 3.5rem 0 1rem; }

.shelf { margin-bottom: 3.75rem; }

.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.shelf-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.2;
}
.shelf-head p {
  margin: 0;
  color: var(--pencil);
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .shelf-head { display: block; }
  .shelf-head p { margin-top: 0.25rem; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 1.2rem; }
  .site-nav ul { gap: 0.7rem; }
  .site-nav a { font-size: 0.875rem; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 2.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card { position: relative; }

.card a.cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.card a.cover-link:hover .cover img { transform: scale(1.025); }

.card-text {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  align-items: baseline;
  margin-top: 0.9rem;
}
.card h3 {
  margin: 0;
  font-size: 1.075rem;
  font-weight: 700;
  line-height: 1.35;
}
.card a.cover-link:hover h3 { text-decoration: underline; text-underline-offset: 0.18em; }
.price {
  font-family: var(--serif);  /* the body face slashes its zeros, which looks odd in prices */
  font-weight: 400;
  font-size: 1.1rem;
  font-variant-numeric: lining-nums;
  color: var(--slate);
  white-space: nowrap;
}
.card p {
  grid-column: 1 / -1;
  margin: 0.3rem 0 0;
  color: var(--pencil);
  font-size: 0.975rem;
  line-height: 1.5;
}

/* Templates waiting for Notion's approval */
.card.soon .cover img { filter: saturate(0.85); }
.card.soon .price { font-family: var(--sans); font-size: 0.95rem; color: var(--pencil); font-style: italic; }

.prices-note {
  margin: -1.5rem 0 0;
  color: var(--pencil);
  font-size: 0.925rem;
}

/* ---------- About ---------- */

.about {
  padding: 4rem 0;
  border-top: 1px solid var(--rule);
}
.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 38rem);
  gap: 1.5rem 4rem;
}
.about h2,
.signup h2,
.prose h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.2;
}
.about p { margin: 0 0 1rem; }
.about p:last-child { margin-bottom: 0; }
.signature {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--slate);
}

@media (max-width: 760px) {
  .about .wrap { grid-template-columns: 1fr; }
}

/* ---------- Newsletter sign-up ---------- */

.signup { padding: 0 0 4.5rem; }
.signup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem 3rem;
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 12px;
  background: var(--slate-wash);
}
.signup-panel > div > p { margin: 0.75rem 0 0; color: var(--pencil); max-width: 30rem; }

@media (max-width: 760px) {
  .signup-panel { grid-template-columns: 1fr; }
}

/* Temporary form, shown until the EmailOctopus code is pasted in */
.mock-form label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.mock-form .row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.mock-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c9d1d8;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: var(--graphite);
}
.mock-form button {
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 6px;
  background: var(--slate);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.mock-form button:hover { background: var(--slate-deep); }
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--pencil);
}
.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--slate-deep);
  font-weight: 700;
}

/* Light-touch overrides so EmailOctopus's own form matches the page.
   EmailOctopus may change its class names; if the form looks off, check these. */
.signup .emailoctopus-form-wrapper { font-family: var(--sans) !important; }
.signup .emailoctopus-form input[type="email"],
.signup .emailoctopus-form input[type="text"] {
  border: 1px solid #c9d1d8 !important;
  border-radius: 6px !important;
  font-family: var(--sans) !important;
}
.signup .emailoctopus-form [type="submit"] {
  background: var(--slate) !important;
  border-color: var(--slate) !important;
  border-radius: 6px !important;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
  color: var(--pencil);
  font-size: 0.925rem;
}
.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a { color: var(--pencil); }
.site-footer a:hover { color: var(--graphite); }

/* ---------- Privacy notice page ---------- */

.prose {
  max-width: 42rem;
  padding: 3.5rem 0 4.5rem;
}
.prose h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.prose .updated { margin: 0.75rem 0 2.5rem; color: var(--pencil); }
.prose h2 { margin: 2.75rem 0 0.75rem; font-size: 1.5rem; }
.prose h3 { margin: 1.75rem 0 0.4rem; font-size: 1.075rem; }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.95rem;
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.prose th { font-weight: 700; }
@media (max-width: 560px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose td { border-bottom: 0; padding: 0.15rem 0; }
  .prose td:first-child { font-weight: 700; padding-top: 0.75rem; }
  .prose tr { border-bottom: 1px solid var(--rule); padding-bottom: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =====================================================================
   Motion and visuals (added 13 Oct 2026)
   Everything that moves is switched on by the "motion" class on <html>,
   which is only added when the visitor hasn't asked for reduced motion.
   ===================================================================== */

:root {
  --board: #26333f;        /* chalkboard slate, a deeper shade of the accent */
  --chalk: #f3f4ef;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Hero with a fanned hand of covers ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}
.hero h1 {
  max-width: none;
  font-size: clamp(2.5rem, 4.7vw, 3.9rem);
}

.fan {
  position: relative;
  height: 25rem;
  perspective: 1400px;
}
.fan-card {
  position: absolute;
  left: 57%;
  bottom: 2.5rem;
  width: min(19.5rem, 70%);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid rgba(30, 34, 38, 0.08);
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 34, 38, 0.06), 0 18px 40px -18px rgba(38, 51, 63, 0.35);
  transform-origin: 50% 190%;
  --r: 0deg;
  --x: 0px;
  --lift: 0px;
  transform: translateX(calc(-50% + var(--x))) translateY(var(--lift)) rotate(var(--r));
  transition: transform 0.6s var(--ease-out);
}
.fan-card:nth-child(1) { --r: -15deg; --x: -1.25rem; }
.fan-card:nth-child(2) { --r: -7.5deg; --x: -0.6rem; }
.fan-card:nth-child(3) { --r: 0deg; }
.fan-card:nth-child(4) { --r: 7.5deg; --x: 0.6rem; }
.fan-card:nth-child(5) { --r: 15deg; --x: 1.25rem; --lift: -0.5rem; }
.fan:hover .fan-card:nth-child(1) { --r: -21deg; }
.fan:hover .fan-card:nth-child(2) { --r: -10.5deg; }
.fan:hover .fan-card:nth-child(4) { --r: 10.5deg; }
.fan:hover .fan-card:nth-child(5) { --r: 21deg; --lift: -1.25rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .fan { height: 17rem; margin-top: 0.5rem; }
  .fan-card { left: 50%; width: min(15rem, 62%); bottom: 1rem; }
}

/* ---------- Numbers row ---------- */

.proof { border-bottom: 1px solid var(--rule); }
.proof ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.proof li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.6rem 1.5rem 1.6rem 0;
}
.proof li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.proof strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--slate);
  font-variant-numeric: lining-nums tabular-nums;
}
.proof span { color: var(--pencil); font-size: 0.95rem; line-height: 1.35; }
@media (max-width: 760px) {
  .proof ul { grid-template-columns: 1fr; }
  .proof li { padding: 1rem 0; }
  .proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- How it works: cards that stack as you scroll ---------- */

.how { padding: 1rem 0 4rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: sticky;
  top: 5.5rem;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  min-height: 17rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 -10px 30px -24px rgba(38, 51, 63, 0.45);
}
.step:nth-child(2) { top: 6.75rem; }
.step:nth-child(3) { top: 8rem; }
.step-num {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--slate);
  font-variant-numeric: lining-nums;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}
.step p { margin: 0; color: var(--pencil); max-width: 30rem; }

.step-art {
  position: relative;
  min-height: 12rem;
  border-radius: 12px;
  background: var(--slate-wash);
  padding: 1.25rem;
  overflow: hidden;
}
.art-get img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--rule); }
.mini-row { display: flex; justify-content: space-between; margin-top: 0.6rem; font-size: 0.9rem; }
.mini-row span { font-family: var(--serif); color: var(--slate); }
.mini-btn, .mini-dup {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: var(--slate);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.mini-page { position: relative; height: 100%; min-height: 9.5rem; border-radius: 8px; background: #fff; border: 1px solid var(--rule); padding: 1rem; }
.mini-bar { display: block; height: 0.6rem; width: 70%; border-radius: 4px; background: var(--rule); margin-bottom: 0.6rem; }
.mini-bar.short { width: 45%; }
.mini-dup { position: absolute; right: 1rem; top: 1rem; margin: 0; }
.mini-cursor {
  position: absolute;
  right: 2.4rem;
  top: 2.6rem;
  width: 14px;
  height: 20px;
  background: var(--graphite);
  clip-path: polygon(0 0, 100% 62%, 58% 66%, 78% 100%, 62% 100%, 44% 70%, 0 92%);
}
.art-clear { display: flex; flex-direction: column; gap: 0.5rem; justify-content: center; }
.eg, .fresh {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--rule);
  font-size: 0.9rem;
}
.eg { color: var(--pencil); }
.fresh { border-style: dashed; color: var(--slate); font-weight: 700; }

@media (max-width: 860px) {
  .step { grid-template-columns: 3rem minmax(0, 1fr); top: 4.5rem; }
  .step:nth-child(2) { top: 5.25rem; }
  .step:nth-child(3) { top: 6rem; }
  .step-num { font-size: 2.75rem; }
  .step-art { grid-column: 1 / -1; min-height: 0; }
  .art-get img { max-height: 9rem; }
}

/* ---------- Footer: a chalkboard revealed from underneath ---------- */

body { display: flex; flex-direction: column; min-height: 100vh; }
main { position: relative; z-index: 1; background: var(--paper); }
.site-footer.board {
  position: sticky;
  bottom: 0;
  z-index: 0;
  border-top: 0;
  padding: 3.5rem 0 2rem;
  background: var(--board);
  color: rgba(243, 244, 239, 0.7);
  overflow: hidden;
}
.board-mark {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: 12vw;
  font-size: 18.6cqi;  /* sized so the wordmark fills the column at any width */
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--chalk);
  opacity: 0.92;
  white-space: nowrap;
  /* faint chalk grain */
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.1 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(var(--chalk), var(--chalk));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-footer.board .wrap:first-child { container-type: inline-size; }
.site-footer.board a { color: rgba(243, 244, 239, 0.8); }
.site-footer.board a:hover { color: #fff; }
.site-footer.board :focus-visible { outline-color: var(--chalk); }

/* ---------- Opening board ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--board);
  cursor: pointer;
}
.intro[hidden] { display: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro.clearing { background: transparent; }
.intro.done { opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.intro-skip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(243, 244, 239, 0.35);
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 244, 239, 0.8);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
html.intro-on { overflow: hidden; }

/* ---------- Entrance states (only with motion on) ---------- */

/* Hero headline: words rise onto the ruled lines */
.motion .hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.motion .hero h1 .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.motion .hero .ruler { transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out) 0.45s; }
.motion .hero .lede,
.motion .hero .button { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out); }
.motion .hero .lede { transition-delay: 0.55s; }
.motion .hero .button { transition-delay: 0.68s; }

.motion .fan-card {
  opacity: 0;
  transform: translateX(calc(-50% + 40vw)) translateY(30vh) rotate(25deg);
  transition: transform 1.1s var(--ease-out), opacity 0.5s ease;
}
.motion .fan-card:nth-child(1) { transition-delay: 0.30s; }
.motion .fan-card:nth-child(2) { transition-delay: 0.38s; }
.motion .fan-card:nth-child(3) { transition-delay: 0.46s; }
.motion .fan-card:nth-child(4) { transition-delay: 0.54s; }
.motion .fan-card:nth-child(5) { transition-delay: 0.62s; }

.motion .hero.go h1 .w > span { transform: none; }
.motion .hero.go .ruler { transform: none; }
.motion .hero.go .lede,
.motion .hero.go .button { opacity: 1; transform: none; }
.motion .hero.go .fan-card {
  opacity: 1;
  transform: translateX(calc(-50% + var(--x))) translateY(var(--lift)) rotate(var(--r));
}
/* after the deal, hover changes should be quick and undelayed */
.motion .hero.settled .fan-card { transition: transform 0.6s var(--ease-out); transition-delay: 0s; }

/* Covers are wiped on, left to right, as each shelf scrolls into view */
.motion .cover { clip-path: inset(0 100% 0 0 round 8px); transition: clip-path 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .in .cover { clip-path: inset(0 0 0 0 round 8px); }

/* Step 3: the example rows get wiped away */
.motion .art-clear .eg { transition: clip-path 0.6s var(--ease-out), opacity 0.6s ease, max-height 0.5s ease 0.5s, padding 0.5s ease 0.5s, margin 0.5s ease 0.5s, border-width 0.5s ease 0.5s; clip-path: inset(0 0 0 0); max-height: 3rem; }
.motion .art-clear.in .eg { clip-path: inset(0 0 0 100%); opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -0.5rem; border-width: 0; }
.motion .art-clear .eg:nth-child(2) { transition-delay: 0.15s, 0.15s, 0.65s, 0.65s, 0.65s, 0.65s; }
.motion .art-clear .eg:nth-child(3) { transition-delay: 0.3s, 0.3s, 0.8s, 0.8s, 0.8s, 0.8s; }
.motion .art-clear .fresh { transition: opacity 0.5s ease 1.2s, transform 0.5s var(--ease-out) 1.2s; }
.motion .art-clear:not(.in) .fresh { opacity: 0; transform: translateY(6px); }

/* Step 2: the cursor clicks Duplicate */
@keyframes cs-click {
  0%, 55% { transform: translate(-30px, 30px); }
  70% { transform: translate(0, 0); }
  76% { transform: translate(0, 0) scale(0.85); }
  82%, 100% { transform: translate(0, 0); }
}
@keyframes cs-press {
  0%, 74% { background: var(--slate); }
  78%, 92% { background: var(--slate-deep); box-shadow: 0 0 0 4px rgba(62, 92, 118, 0.25); }
  100% { background: var(--slate); }
}
.motion .art-dup.in .mini-cursor { animation: cs-click 3.2s var(--ease-out) infinite; }
.motion .art-dup.in .mini-dup { animation: cs-press 3.2s ease infinite; }

/* Card hover: a gentle tilt towards the pointer (set by site.js) */
.motion .cover-link .cover { transition: clip-path 0.9s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s ease; }
.motion .cover-link.tilting .cover {
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-4px);
  box-shadow: 0 22px 40px -24px rgba(38, 51, 63, 0.5);
}
.motion .cover-link.tilting .cover img { transform: none; }
