/* Layout: a single scrapbook column; sections sit on soft pink paper bands, one hot-pink signature as the bold move */
:root {
  --paper: #fff6fa;
  --paper-2: #ffe4ef;
  --card: #ffffff;
  --ink: #2a1520;
  --ink-soft: #6e4a5c;
  --hot: #f7559e;
  --hot-ink: #ffffff;
  --blush: #ffc2db;
  --line: #f3cadb;
  --tape: rgba(247, 85, 158, .22);
  --f-sign: "Allura", "Brush Script MT", cursive;
  --f-head: "Cinzel Decorative", "Cinzel", Georgia, "Times New Roman", serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #160c11; --paper-2: #241219; --card: #2b1720; --ink: #fbe9f1; --ink-soft: #d6a9bf;
    --hot: #ff6aac; --hot-ink: #1a0b12; --blush: #6b2c47; --line: #4a2434; --tape: rgba(255, 106, 172, .28);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #160c11; --paper-2: #241219; --card: #2b1720; --ink: #fbe9f1; --ink-soft: #d6a9bf;
  --hot: #ff6aac; --hot-ink: #1a0b12; --blush: #6b2c47; --line: #4a2434; --tape: rgba(255, 106, 172, .28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--f-body); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: 72px; }
.band { background: var(--paper-2); }

h1, h2, h3 { font-family: var(--f-head); text-wrap: balance; margin: 0; line-height: 1.15; }
h2 { font-size: clamp(26px, 3.8vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
.eyebrow { font: 800 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--hot); }
.lead { color: var(--ink-soft); max-width: 62ch; margin: 12px 0 0; }
.head { display: grid; gap: 10px; margin-bottom: 36px; }

/* top bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
/* the author name: Cinzel Decorative with oversized Z and R */
.name { font-family: var(--f-head); font-weight: 700; color: var(--hot); line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.name .cap { font-size: 1.6em; line-height: .8; display: inline-block; transform: translateY(.06em); margin-right: -.04em; text-shadow: 0 3px 0 var(--blush); }
.logo { font-size: 20px; text-decoration: none; }
.hero .hero-name { color: var(--hot); }
.hero-name { font-size: clamp(36px, 8.4vw, 80px); margin: 18px 0 18px; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 12px; border-radius: 999px; }
.top nav a:hover { background: var(--blush); }

/* hero */
.hero { padding-block: 64px 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.sign { font: 400 clamp(84px, 14vw, 156px)/.9 var(--f-sign); color: var(--hot); margin: 0 0 6px -4px; }
.hero h1 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 400; }
.hero p { color: var(--ink-soft); max-width: 46ch; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--hot); }
.btn.solid { background: var(--hot); color: var(--hot-ink); }
.btn.ghost { color: var(--hot); }
.btn.solid:hover { filter: brightness(1.06); }
.btn.ghost:hover { background: var(--blush); }

/* hero note card: the open notebook */
.note { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 34px 28px 26px; transform: rotate(1.5deg); box-shadow: 0 18px 40px -24px rgba(120, 20, 70, .45);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--line) 31px 32px); background-position: 0 58px; }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: var(--tape); }
.note .eyebrow { display: block; margin-bottom: 14px; }
.note ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.note li { font-size: 16px; line-height: 32px; display: flex; gap: 10px; }
.note li span { color: var(--hot); font-weight: 800; }

/* books: manuscript progress */
.book { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.cover { aspect-ratio: 2 / 3; max-width: 100%; border-radius: 4px 10px 10px 4px; background: linear-gradient(160deg, var(--hot), #b8246a); color: #fff; display: grid; place-items: center; text-align: center; padding: 18px; position: relative; box-shadow: inset 10px 0 0 rgba(0,0,0,.12), 0 14px 30px -18px rgba(120,20,70,.6); }
.cover b { font: 400 40px/1 var(--f-sign); display: block; }
.cover small { font: 800 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.book-body { min-width: 0; display: grid; gap: 12px; }
.book-body p { margin: 0; color: var(--ink-soft); }
.stages { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.stages li { font-size: 13px; font-weight: 600; text-align: center; padding-top: 14px; border-top: 5px solid var(--line); color: var(--ink-soft); }
.stages li.done { border-color: var(--hot); color: var(--ink); }
.stages li.now { border-color: var(--hot); color: var(--hot); font-weight: 800; }
.stages li.now::after { content: "  ← here"; }
.later { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.later-card { border: 2px dashed var(--hot); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.later-card p { margin: 0; color: var(--ink-soft); }
.pill { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--blush); color: var(--ink); padding: 5px 12px; border-radius: 999px; }

/* apps */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; }
.app-top { display: flex; gap: 16px; align-items: center; }
.app-top img { width: 76px; height: 76px; border-radius: 20px; flex: none; }
.app-top p { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.app ul { margin: 0; padding-left: 20px; color: var(--ink-soft); display: grid; gap: 4px; }
.app ul li::marker { color: var(--hot); }
.soon { font-size: 14px; color: var(--ink-soft); }

/* shop + follow */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { border: 2px dashed var(--hot); border-radius: 22px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.panel p { margin: 0; color: var(--ink-soft); }
.mail { color: var(--hot); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; user-select: all; }

/* about */
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.me { display: grid; gap: 18px; justify-items: center; text-align: center; position: sticky; top: 90px; }
.portrait { position: relative; width: 280px; max-width: 100%; aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; border-radius: 24px; background: #ffffff; display: block; box-shadow: 0 20px 40px -22px rgba(120, 20, 70, .6); }
.portrait::before { content: ""; position: absolute; top: 6px; right: -6px; width: 90px; height: 24px; transform: rotate(32deg); background: var(--tape); z-index: 1; }
.hi-name { font-size: clamp(28px, 3.4vw, 34px); margin: 8px 0 0; }
.story .first { font-size: 19px; color: var(--ink); }
.me .faceless { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 30ch; }
.words { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.words li { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--blush); }
.words-label { font-size: 12px; color: var(--ink-soft); margin: 0 0 -8px; }
.story { min-width: 0; display: grid; gap: 32px; }
.story h2 { margin-bottom: 4px; }
.story p { margin: 0 0 14px; max-width: 62ch; }
.pull { font: 400 clamp(19px, 2.2vw, 23px)/1.45 var(--f-head); color: var(--hot); border-left: 4px solid var(--hot); padding-left: 18px; margin: 6px 0 20px; max-width: 40ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; display: grid; gap: 10px; align-content: start; }
.fact.wide { grid-column: 1 / -1; }
.fact p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--hot); color: var(--ink); }
.pipe { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pipe li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.pipe li:last-child { border-bottom: 0; padding-bottom: 0; }
.pipe em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hot); }

/* how it started: a vertical timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 760px; }
.timeline li { position: relative; padding: 0 0 36px 40px; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--hot); }
.timeline li.now::after { background: var(--hot); box-shadow: 0 0 0 5px var(--tape); }
.timeline .when { font: 800 12px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hot); }
.timeline p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 760px) {
  section { padding-block: 52px; }
  .hero .wrap, .about, .apps, .duo, .facts, .later { grid-template-columns: 1fr; }
  .me { position: static; }
  .portrait { width: 240px; }
  .book { grid-template-columns: 1fr; }
  .cover { width: 170px; }
  .stages li { font-size: 11px; }
  .stages li.now::after { content: ""; }
  .top nav a { padding: 6px 8px; font-size: 14px; }
}


/* phones: the name sits above the menu so all five links fit */
@media (max-width: 560px) {
  .top .wrap { flex-direction: column; align-items: stretch; gap: 6px; padding-block: 8px; }
  .top .logo { align-self: center; }
  .top nav { justify-content: space-between; flex-wrap: nowrap; gap: 0; }
  .top nav a { padding: 6px 6px; font-size: 14px; }
}

/* smaller pages: coming soon and contact */
.page { padding-block: 72px 88px; }
.page .wrap { max-width: 760px; display: grid; gap: 22px; }
.page h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 700; color: var(--hot); }
.page .lead { margin: 0; font-size: 18px; }
.page .btns { margin-top: 4px; }
.soon-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 40px 28px 30px; transform: rotate(-1deg); box-shadow: 0 18px 40px -24px rgba(120, 20, 70, .45); display: grid; gap: 12px; justify-items: center; text-align: center; }
.soon-card::before { content: ""; position: absolute; top: -12px; left: 50%; width: 120px; height: 26px; transform: translateX(-50%) rotate(2deg); background: var(--tape); }
.soon-card img { width: 120px; height: 120px; border-radius: 18px; background: #ffffff; }
.soon-card p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.mail-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 14px; justify-items: start; }
.mail-big { font: 700 clamp(20px, 4.4vw, 30px)/1.2 var(--f-head); color: var(--hot); word-break: break-all; user-select: all; }
.copied { font-size: 14px; font-weight: 700; color: var(--ink-soft); min-height: 1.4em; margin: 0; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reasons li { border: 2px dashed var(--hot); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; }
.reasons strong { font-family: var(--f-head); font-size: 17px; }
.reasons span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }
.top nav a[aria-current="page"] { background: var(--blush); }
button.btn { font-family: inherit; cursor: pointer; background: transparent; }
.soon-card .btns { justify-content: center; }
.mail-big { font-family: var(--f-body); font-weight: 800; }
section { scroll-margin-top: 80px; }
@media (max-width: 560px) { section { scroll-margin-top: 96px; } }

/* contact form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 800; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.5 var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 3px var(--tape); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.form-status.good { color: var(--hot); }
.form-status.bad { color: var(--ink); }
.form-note { margin: 0; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; } }

/* shop + follow: buttons line up at the bottom of both boxes; round logo buttons */
.duo .panel { display: flex; flex-direction: column; gap: 12px; }
.duo .panel .btns { margin-top: auto; padding-top: 12px; }
.btn { min-height: 50px; line-height: 1.2; }
.btn.icon { width: 50px; padding: 0; justify-content: center; }
.btn.icon svg { display: block; }
.btn.ghost.icon:hover { background: var(--hot); color: var(--hot-ink); }

/* homepage: the top bar is just the menu; the ZR logo leads the hero */
.top .nav-only { justify-content: center; }
.hero-logo { width: 170px; height: 170px; border-radius: 28px; background: #ffffff; display: block; margin: 0 0 24px; box-shadow: 0 20px 40px -22px rgba(120, 20, 70, .6); }
.chips-more { display: none; }

/* phones: everything centred, tighter spacing */
@media (max-width: 560px) {
  section { padding-block: 40px; }
  .head { justify-items: center; text-align: center; margin-bottom: 26px; }
  .lead { margin-inline: auto; }
  .pill { justify-self: center; }

  .hero { padding-block: 30px 36px; text-align: center; }
  .hero .wrap { gap: 30px; }
  .hero-logo { width: 130px; height: 130px; margin: 0 auto 18px; }
  .hero h1 { font-size: 21px; line-height: 1.3; }
  .hero p { margin-inline: auto; }
  .btns { justify-content: center; }
  .hero .btns { flex-wrap: nowrap; gap: 10px; margin-top: 18px; }
  .hero .btn { padding: 12px 16px; font-size: 14px; white-space: nowrap; }
  .note { padding: 26px 16px 16px; transform: rotate(1deg); background-image: none; }
  .note .eyebrow { text-align: center; }
  .note ul { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .note li { font-size: 14px; line-height: 28px; gap: 6px; text-align: left; white-space: nowrap; }
  .note { padding-inline: 12px; }

  .book { padding: 22px 16px; text-align: center; justify-items: center; gap: 22px; }
  .book-body { justify-items: center; }
  .cover { width: 150px; }
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .chips li { text-align: center; font-size: 13px; padding: 6px 8px; }
  .chips:not(.open) li:nth-child(n+5) { display: none; }
  .chips-more { display: inline-block; font: 800 14px/1 var(--f-body); color: var(--hot); background: none; border: 0; padding: 6px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .later { gap: 16px; margin-top: 16px; }
  .later-card { text-align: center; justify-items: center; padding: 20px 18px; }

  .app { text-align: center; justify-items: center; padding: 22px 18px; }
  .app-top { flex-direction: column; gap: 10px; }
  .app ul { list-style: none; padding: 0; }

  .duo .panel { align-items: center; text-align: center; padding: 22px 18px; }

  .about { gap: 26px; }
  .story { text-align: center; gap: 20px; }
  .story p { margin-inline: auto; }
  .portrait { width: 200px; }

  .timeline li { padding: 30px 0 26px; text-align: center; justify-items: center; }
  .timeline li::before { display: none; }
  .timeline li::after { left: 50%; top: 0; margin-left: -8px; }

  footer .wrap { flex-direction: column; align-items: center; text-align: center; }
  footer nav { justify-content: center; }
}

/* phones: top bar is Home + a three-dots menu with the other pages */
.mini { display: none; }
@media (max-width: 560px) {
  .top .wrap { flex-direction: row; align-items: center; padding-block: 6px; }
  .top .logo, .top nav.full { display: none; }
  .mini { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .home-link { font: 700 18px/1 var(--f-head); color: var(--hot); text-decoration: none; padding: 10px 4px; }
  .more { position: relative; }
  .more summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--hot); }
  .more summary::-webkit-details-marker { display: none; }
  .more[open] summary { background: var(--blush); }
  .more .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px; display: grid; gap: 2px; box-shadow: 0 18px 40px -18px rgba(120, 20, 70, .5); }
  .more .menu a { text-decoration: none; font-weight: 700; font-size: 16px; padding: 11px 16px; border-radius: 12px; }
  .more .menu a:hover, .more .menu a[aria-current="page"] { background: var(--blush); }
}
