/* Allison Joyner Enterprises
   Layout idea: white/light-grey editorial canvas (per brand guide), gold used as blocks and
   highlighter strokes, the book living in its own purple world. */
:root {
  --gold: #f5cf5a;          /* AJE primary */
  --gold-deep: #e8bb2d;     /* book kit "Ms. Hunney yellow" */
  --gold-soft: #fdf3d0;
  --gray: #bbbbba;          /* AJE secondary */
  --gray-text: #6d6d6b;
  --ink: #2d283a;           /* book kit "better than black" */
  --paper: #ffffff;
  --mist: #f5f5f4;
  --line: #e4e4e2;
  --purple: #54388f;        /* book kit "Allison's fav. color" */
  --purple-deep: #3e2870;
  --sky: #769ad3;
  --display: "Century Gothic", CenturyGothic, "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Century Gothic", CenturyGothic, "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --script: "Allison", "Snell Roundhand", "Brush Script MT", cursive;
  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 24px 60px -24px rgba(45, 40, 58, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.mist { background: var(--mist); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Type helpers */
.eyebrow { font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: var(--gray-text); font-weight: 400; }
.eyebrow.on-dark { color: rgba(255,255,255,.75); }
.h-xl { font-size: clamp(42px, 6.4vw, 88px); }
.h-lg { font-size: clamp(32px, 4.4vw, 56px); }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #4a4657; max-width: 58ch; }
.hl { background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 34%; padding: 0 .08em; }
.script { font-family: var(--script); font-weight: 400; line-height: .9; letter-spacing: 0; }
.ghost-script { font-family: var(--script); color: var(--gray); opacity: .45; font-size: clamp(90px, 15vw, 220px); line-height: .8; pointer-events: none; user-select: none; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border: 2px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 700;
  border-radius: var(--radius); transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(45,40,58,.6); }
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .5s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.white { background: #fff; border-color: #fff; color: var(--purple-deep); }
.btn.sm { padding: 11px 18px; font-size: 11px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow span { transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header { transition: box-shadow .6s var(--ease), background .6s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .6s var(--ease); }
.brand img { height: 54px; width: auto; transition: height .6s var(--ease); }
.site-header.scrolled { box-shadow: 0 12px 30px -20px rgba(45,40,58,.35); background: rgba(255,255,255,.97); }
.site-header.scrolled .wrap { height: 68px; }
.site-header.scrolled .brand img { height: 44px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--gold); transition: right .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn { position: relative; background: none; border: 0; padding: 10px; display: grid; place-items: center; }
.cart-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--purple); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .header-actions .btn { display: none; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 28px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; box-shadow: var(--shadow); }
  .nav.open { transform: none; }
  .nav a { font-size: 15px; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--purple); }
}

/* Hero */
.hero { background: var(--mist); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(48px, 7vw, 96px); position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 2; }
.hero .ghost-script { position: absolute; left: -2%; bottom: -4%; z-index: 0; }
.hero-photo { position: relative; z-index: 1; justify-self: end; width: min(100%, 470px); }
.hero-photo::before { content: ""; position: absolute; inset: 9% -7% -6% 12%; background: var(--gold); border-radius: var(--radius); }
.hero-photo > img { position: relative; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.hero-book { position: absolute; left: -64px; bottom: 34px; width: 210px; background: #fff; padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transform: rotate(-4deg); transition: transform .25s; }
.hero-book:hover { transform: rotate(0) scale(1.04); }
.hero-book small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-text); }
.hero-book strong { font-size: 13px; line-height: 1.3; }
.roles { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-text); }
.roles span + span::before { content: "/"; margin-right: 18px; color: var(--gold-deep); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; width: min(86%, 420px); margin-top: 10px; }
  .hero-book { left: -22px; width: 160px; }
}


/* Section heading */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; }

/* Book feature (home) + shop hero share the purple world */
.bookworld { background: var(--purple); color: #fff; position: relative; overflow: hidden; }
.bookworld::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/scene-sunset.jpg") center/cover; opacity: .28; mix-blend-mode: luminosity; }
.bookworld::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--purple) 20%, rgba(84,56,143,.55) 100%); }
.bookworld .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bookworld .lede { color: rgba(255,255,255,.88); }
.book-title-img { width: min(100%, 520px); filter: drop-shadow(0 6px 0 rgba(45,40,58,.35)); }
.book-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.book-cover { width: min(100%, 520px); border-radius: 6px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7), 0 0 0 8px rgba(255,255,255,.12); transform: rotate(3deg); transition: transform .4s; }
.book-stage:hover .book-cover { transform: rotate(0); }
.hunney { position: absolute; width: clamp(90px, 12vw, 150px); top: -6%; right: 0; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(0,0,0,.3)); }
@keyframes bob { 0%,100% { transform: translate(0,0) rotate(-6deg); } 50% { transform: translate(-14px,-18px) rotate(5deg); } }
.price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-note { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.saying { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; border-left: 4px solid var(--gold); padding-left: 20px; }
@media (max-width: 860px) { .bookworld .wrap { grid-template-columns: 1fr; } .book-stage { order: -1; } }

/* Cards / journal */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid var(--ink); background: transparent; padding: 9px 18px; border-radius: 999px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip:hover:not([aria-pressed="true"]) { background: var(--gold); border-color: var(--gold); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px) clamp(18px, 2.4vw, 32px); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.06); }
.card { transition: transform .8s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card-media video.preview { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.card.playing .card-media video.preview { opacity: 1; }
.card.playing .play { opacity: 0; transform: scale(.6); }
.play { transition: transform .25s, opacity .25s; }
.card-media.audio { background: var(--gold); display: grid; place-items: center; }
.card-media.audio .wave { display: flex; gap: 7px; align-items: center; height: 46%; }
.card-media.audio .wave i { width: 9px; background: var(--ink); border-radius: 5px; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 22%; } 50% { height: 100%; } }
.badge { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; padding: 7px 11px; border-radius: 999px; display: inline-flex; gap: 7px; align-items: center; z-index: 2; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }
.badge.watch::before { background: #e5484d; }
.badge.listen::before { background: var(--purple); }
.play { position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; z-index: 2; transition: transform .25s; }
.play::before { content: ""; border-left: 15px solid var(--ink); border-block: 9px solid transparent; margin-left: 4px; }
.card:hover .play { transform: scale(1.12); }
.card-meta { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gray-text); }
.card h3 { font-size: 22px; line-height: 1.22; }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.card p { color: #555162; font-size: 15.5px; }

/* Featured post */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; margin-bottom: clamp(40px, 5vw, 72px); }
.feature .card-media { aspect-ratio: 16/11; }
.feature h2 { font-size: clamp(28px, 3.6vw, 46px); }
.feature .stack { gap: 18px; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }

/* Reels strip */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.reels .card { scroll-snap-align: start; }
.reels .card-media { aspect-ratio: 9/16; }
.reels .card h3 { font-size: 17px; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 46%; height: 46%; border: 3px solid var(--gold); border-radius: var(--radius); }
.framed img { position: relative; border-radius: var(--radius); width: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.stats b { display: block; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-text); line-height: 1.5; display: block; margin-top: 8px; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); padding: 34px 30px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.quote blockquote { margin: 0; font-size: 16.5px; }
.quote cite { font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.quote cite b { display: block; font-size: 14px; letter-spacing: .1em; }
.quote cite span { color: var(--gray-text); }

/* Newsletter band */
.band { background: var(--gold); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
@media (max-width: 800px) { .band .wrap { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }
input, textarea, select { font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px 16px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; display: flex; flex-direction: column; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; min-height: 1.4em; font-weight: 700; }

/* Footer */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { width: 220px; }
.footer-grid h4 { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gray-text); font-weight: 400; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; font-size: 15px; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--gold-deep); text-decoration-thickness: 3px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; color: var(--gray-text); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Page hero (inner pages) */
.page-hero { background: var(--mist); position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 84px); }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.page-hero .ghost-script { position: absolute; right: -2%; bottom: -8%; }
.page-hero .wrap.split { display: grid; }
.page-hero .framed img { max-height: 620px; }

/* Shop */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 108px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { aspect-ratio: 5/4; background: var(--mist); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: var(--mist); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--purple); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: flex; flex-direction: column; gap: 24px; }
.buy .price { color: var(--purple); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--radius); }
.qty button { background: none; border: 0; width: 46px; height: 50px; font-size: 20px; }
.qty button:hover { background: var(--gold); }
.qty output { min-width: 44px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gray-text); }
.specs dd { margin: 4px 0 0; font-weight: 700; font-size: 15.5px; }
.cast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .cast { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cast { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; width: 100%; } }
.cast-card { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); text-align: center; perspective: 1400px; border-radius: 14px; }
.cast-inner { display: grid; transform-style: preserve-3d; transition: transform 1.1s var(--ease), translate .8s var(--ease); }
.cast-card:hover .cast-inner { translate: 0 -6px; }
.cast-card[aria-pressed="true"] .cast-inner { transform: rotateY(180deg); }
.cast-face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 20px; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cast-face.front { background: #fff; border: 1px solid var(--line); align-items: center; box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow .8s var(--ease); }
.cast-card:hover .front { box-shadow: var(--shadow); }
.cast-face.front img { height: 210px; width: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.cast-card:hover .front img { transform: scale(1.05) rotate(-2deg); }
.cast-face b { display: block; font-size: 19px; line-height: 1.2; }
.cast-face.front > span { font-size: 14px; color: #555162; line-height: 1.5; }
.flip-hint { margin-top: auto; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--purple); }
.cast-face.back { transform: rotateY(180deg); text-align: left; justify-content: center; background: var(--purple-deep); color: #fff; }
.cast-face.back small { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.cast-face.back .desc { font-size: 14.5px; line-height: 1.6; }
.cast-face.back .line { font-weight: 700; font-size: 15px; line-height: 1.35; padding-top: 12px; border-top: 2px solid currentColor; opacity: .95; }
.c-albert .back { background: var(--sky); color: var(--ink); }
.c-dad .back { background: var(--ink); }
.c-hunney .back { background: var(--gold); color: var(--ink); }
.c-allison .back .line, .c-dad .back .line { border-top-color: var(--gold); }
.tiers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tiers th { text-align: left; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray-text); font-weight: 400; padding: 10px 0; border-bottom: 2px solid var(--ink); }
.tiers td { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .downloads { grid-template-columns: repeat(2, 1fr); } }
.download { border: 2px dashed var(--purple); border-radius: 14px; padding: 26px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; background: #fff; transition: background .2s, transform .2s; }
.download:hover { background: #f1ecfb; transform: translateY(-4px); }
.download .sheet { display: block; width: 100%; aspect-ratio: 8.5 / 11; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px; box-shadow: 0 10px 24px -16px rgba(45,40,58,.45); overflow: hidden; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.download .sheet img { width: 100%; height: 100%; object-fit: contain; }
.download:hover .sheet { transform: rotate(-2deg) scale(1.03); box-shadow: var(--shadow); }
.download b { font-size: 17px; }
.download > span:last-child { margin-top: auto; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); font-weight: 700; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font-size: 22px; }
.svc ul { margin: 0; padding-left: 18px; color: #555162; font-size: 15.5px; }
.svc .rate { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; background: var(--gold); align-self: flex-start; padding: 5px 10px; border-radius: 3px; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }
.package { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; gap: 20px; }
.package.top { background: var(--ink); color: #fff; border-color: var(--ink); }
.package .amount { font-size: 46px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.package ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; font-size: 15.5px; }
.package li { padding-left: 24px; position: relative; }
.package li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.vid-frame { border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); max-width: 360px; margin-inline: auto; }
.vid-frame video { width: 100%; height: auto; }

/* Article */
.article-head { padding: clamp(48px, 7vw, 90px) 0 0; }
.article-head .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 22px; }
.article-cover { width: min(1100px, 100% - 40px); margin: clamp(32px, 4vw, 56px) auto 0; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.article-player { width: min(400px, 100% - 40px); margin: clamp(32px, 4vw, 56px) auto 0; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.article-player video { width: 100%; }
.article-audio { width: min(760px, 100% - 40px); margin: clamp(32px, 4vw, 56px) auto 0; background: var(--gold); padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.article-audio audio { width: 100%; }
.prose { width: min(700px, 100% - 40px); margin: clamp(36px, 5vw, 64px) auto; font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose a { text-decoration-color: var(--gold-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.prose blockquote { margin-inline: 0; border-left: 5px solid var(--gold); padding-left: 24px; font-size: 24px; line-height: 1.4; font-weight: 700; }
.prose ul { padding-left: 22px; }
.prose-gallery { width: min(1100px, 100% - 40px); margin: 0 auto clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 800px) { .prose-gallery { grid-template-columns: repeat(2, 1fr); } }
.prose-gallery a { border-radius: var(--radius); overflow: hidden; display: block; }
.prose-gallery img { width: 100%; transition: transform .4s; }
.prose-gallery a:hover img { transform: scale(1.04); }
.draft-flag { background: var(--gold-soft); border: 1px dashed var(--gold-deep); padding: 10px 14px; font-size: 13px; border-radius: var(--radius); }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(45,40,58,.55); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: #fff; z-index: 100; transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 15px; letter-spacing: .3em; text-transform: uppercase; }
.drawer .x { background: none; border: 0; font-size: 28px; line-height: 1; padding: 4px 10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.drawer-foot { padding: 22px 24px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: var(--mist); }
.line-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.line-item img { border-radius: var(--radius); }
.line-item h3 { font-size: 16px; line-height: 1.3; }
.line-item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.line-item .qty button { width: 34px; height: 36px; }
.line-item .remove { background: none; border: 0; font-size: 12px; text-decoration: underline; color: var(--gray-text); padding: 0; }
.total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.empty img { width: 110px; }
.cart-msg { font-size: 13.5px; background: var(--gold-soft); border-radius: var(--radius); padding: 10px 12px; }
.cart-msg[hidden] { display: none; }
.fine { font-size: 12.5px; color: var(--gray-text); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list small { display: block; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gray-text); }
.contact-list a { font-size: 20px; font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 4px; text-underline-offset: 5px; }

/* ---------- Motion (html.motion is set in <head>; js/motion.js does the rest) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[data-lenis-prevent] { overscroll-behavior: contain; }

/* Page fade in / out */
.motion main, .motion .site-footer { opacity: 0; }
.motion-ready main, .motion-ready .site-footer { opacity: 1; transition: opacity .9s var(--ease); }
html.leaving main, html.leaving .site-footer { opacity: 0; transform: translateY(-14px); transition: opacity .38s ease, transform .38s ease; }

/* Scroll reveals: rise, unblur, fade, staggered by --d */
.motion .rv { opacity: 0; transform: translate3d(0, 46px, 0); filter: blur(6px); }
.motion .rv.in { opacity: 1; transform: none; filter: none;
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s), filter 1.1s var(--ease) var(--d, 0s); }

/* Framed photos wipe up into view inside their gold frame */
.motion .rv .framed img, .motion .framed.rv img { clip-path: inset(100% 0 0 0); transform: scale(1.14); }
.motion .rv.in .framed img, .motion .framed.rv.in img { clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path 1.5s var(--ease) calc(var(--d, 0s) + .15s), transform 2s var(--ease) calc(var(--d, 0s) + .15s); }
.motion .framed::before { transition: inset 1.6s var(--ease) .3s, opacity 1.2s ease .3s; }
.motion .framed.rv:not(.in)::before, .motion .rv:not(.in) .framed::before { inset: 10px auto auto 10px; opacity: 0; }

/* Highlighter strokes sweep across */
.motion .hl { background-size: 0% 34%; transition: background-size 1.3s var(--ease) .45s; }
.motion .hl.lit, .motion-ready .hero .hl { background-size: 100% 34%; }
.motion-ready .hero .hl { transition-delay: 1.15s; }

/* Home hero entrance */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 44px, 0); filter: blur(8px); } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); transform: scale(1.1); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translate3d(60px, 30px, 0); } }
@keyframes bookIn { from { opacity: 0; transform: translate3d(-30px, 60px, 0) rotate(-14deg); } }
@keyframes fadeIn { from { opacity: 0; } }
.motion .hero-copy > *, .motion .hero-photo > img, .motion .hero-photo::before, .motion .hero-book, .motion .hero .ghost-script { opacity: 0; }
.motion-ready .hero-copy > * { opacity: 1; animation: rise 1.3s var(--ease) backwards; }
.motion-ready .hero-copy > :nth-child(1) { animation-delay: .25s; }
.motion-ready .hero-copy > :nth-child(2) { animation-delay: .38s; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: .52s; }
.motion-ready .hero-copy > :nth-child(4) { animation-delay: .66s; }
.motion-ready .hero-photo > img { opacity: 1; animation: wipe 1.7s var(--ease) .3s backwards; }
.motion-ready .hero-photo::before { opacity: 1; animation: slideIn 1.6s var(--ease) .65s backwards; }
.motion-ready .hero-book { opacity: 1; animation: bookIn 1.4s var(--ease) 1.1s backwards; }
.motion-ready .hero .ghost-script { opacity: .45; animation: fadeIn 2.4s ease .8s backwards; }

/* Smoother hovers */
.book-cover { transition: transform 1.2s var(--ease); }
.nav a::after { transition: right .5s var(--ease); }
.drawer { transition: transform .7s var(--ease); }
.scrim { transition: opacity .5s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; filter: none; }
}
