/* Unreal Workbooks: palette taken from the workbook pages themselves.
   Ivory paper, navy ink, gold leaf, rust accent. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --paper: #f8f2e6;
  --paper-2: #f0e7d5;
  --paper-3: #e8dcc4;
  --ink: #14233f;
  --ink-2: #1d3157;
  --ink-soft: #4a5570;
  --gold: #c9a23f;
  --gold-hi: #e2c26d;
  --gold-deep: #9e7a24;
  --rust: #8f3a26;
  --line: rgba(20, 35, 63, .14);
  --line-light: rgba(248, 242, 230, .16);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow-page: 0 2px 4px rgba(20,35,63,.08), 0 18px 40px -12px rgba(20,35,63,.35), 0 50px 90px -30px rgba(20,35,63,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::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: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
cite { font-style: italic; }
::selection { background: var(--gold-hi); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Shared type ---------- */
h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
h2 em, .hero__title em, .plate__title em, .cta h2 em { color: var(--gold-deep); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); }

.eyebrow, .chapter, .tag, .plate__kicker, .bonus__tag {
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--rust); margin-bottom: 28px; }
.diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

.chapter { color: var(--rust); display: flex; align-items: center; gap: 14px; margin-bottom: 22px; white-space: nowrap; }
.chapter::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
.chapter::after { content: ""; height: 1px; flex: 0 1 120px; background: linear-gradient(90deg, var(--gold), transparent); }
.chapter--gold { color: var(--gold-hi); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head__sub { margin-top: 20px; font-size: 1.15rem; color: var(--ink-soft); }
.sec-head--light h2 { color: var(--paper); }
.sec-head--light h2 em { color: var(--gold-hi); }
.sec-head--light .chapter { color: var(--gold-hi); }
.sec-head--light .sec-head__sub { color: rgba(248,242,230,.72); }

.tag { display: inline-block; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.tag--navy { background: var(--ink); color: var(--paper); }
.tag--gold { background: var(--gold); color: var(--ink); }
.tag--rust { background: var(--rust); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  background: var(--ink); color: var(--paper);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: 12px 20px; font-size: .9rem; gap: 0; white-space: pre; }
/* Main call to action: flat navy, crisp type, arrow in a gold circle. */
.btn--gold {
  padding: 10px 10px 10px 28px; gap: 18px; font-size: 1.02rem; letter-spacing: 0;
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 2px rgba(20,35,63,.2), 0 12px 28px -14px rgba(20,35,63,.55);
}
.btn--gold:hover { background: var(--ink-2); box-shadow: 0 1px 2px rgba(20,35,63,.2), 0 18px 34px -14px rgba(20,35,63,.6); }
.btn--gold .btn__arrow {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-hi); color: var(--ink); font-size: 1.05rem;
}
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(248,242,230,.94); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; color: var(--ink-soft); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-hi); font: italic 400 1.6rem/1 var(--serif);
  box-shadow: inset 0 0 0 1px rgba(226,194,109,.35);
}
.brand__name { font: 400 1.45rem/1 var(--serif); letter-spacing: -.01em; }
.brand__name em { color: var(--gold-deep); }
.brand--light .brand__name { color: var(--paper); }
.brand--light .brand__name em { color: var(--gold-hi); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(130px, 16vw, 180px) 0 60px;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(201,162,63,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(143,58,38,.07), transparent 60%),
    var(--paper);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  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 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .94; letter-spacing: -.025em;
}
.hero__title .line { display: block; }
.hero__title .nb { white-space: nowrap; }
.hero__lede { margin: 32px 0 40px; max-width: 540px; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-soft); }
.hero__lede strong { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 62%, rgba(226,194,109,.55) 62%); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__note { max-width: 420px; font-size: .92rem; color: var(--ink-soft); }

.hero__stage { position: relative; perspective: 1600px; min-height: 560px; }
.stack { position: relative; width: min(100%, 440px); aspect-ratio: 900/1165; margin: 0 auto; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.stack__page { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: var(--shadow-page); }
.stack__page--back  { transform: translate3d(-24%, 4%, -120px) rotate(-11deg); filter: brightness(.96); }
.stack__page--mid   { transform: translate3d(16%, -3%, -60px) rotate(7deg); }
.stack__page--front { transform: translate3d(0, 0, 0) rotate(-2deg); }
.stack__page--front { box-shadow: var(--shadow-page), inset 6px 0 10px -6px rgba(0,0,0,.4); }
.stack { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.stamp {
  position: absolute; right: 2%; bottom: 4%; z-index: 3;
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #23386a, var(--ink) 70%);
  color: var(--paper); text-align: center;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--gold), 0 24px 40px -14px rgba(20,35,63,.6);
  transform: rotate(-8deg);
}
.stamp__big { font: italic 400 3.4rem/.9 var(--serif); color: var(--gold-hi); }
.stamp__small { font: 600 .62rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }

.ribbon {
  margin-top: clamp(48px, 7vw, 90px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font: italic 400 clamp(1.15rem, 1.8vw, 1.5rem)/1 var(--serif); color: var(--ink-soft);
}
.ribbon li { display: flex; align-items: center; gap: 24px; }
.ribbon li + li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Proof ---------- */
.proof {
  position: relative; padding: clamp(90px, 12vw, 150px) 0;
  background: radial-gradient(900px 500px at 80% 0%, rgba(201,162,63,.16), transparent 60%), var(--ink);
  color: var(--paper);
}
.shelf { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: clamp(36px, 5vw, 56px); border: 1px solid var(--line-light); border-radius: 22px; }
.shelf__tab {
  padding: 12px 22px; border: 0; border-radius: 16px; background: none; cursor: pointer; text-align: left;
  font: 400 1.15rem/1.2 var(--serif); color: rgba(248,242,230,.7);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.shelf__tab small { display: block; margin-top: 6px; font: 600 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.shelf__tab:hover { color: var(--paper); }
.shelf__tab[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.shelf__tab:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.gallery[hidden] { display: none; }
.gallery:not([hidden]) { animation: shelf-in .7s var(--ease) both; }
@keyframes shelf-in { from { opacity: 0; transform: translateY(16px); } }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.8vw, 24px); align-items: end; width: min(1400px, calc(100vw - 2 * var(--gutter))); margin-left: 50%; translate: -50% 0; }
.gallery__item {
  position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit;
  transition: transform .6s var(--ease);
}
.gallery__item img { width: 100%; aspect-ratio: 1100/1424; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); }
.gallery__item:nth-child(odd) { transform: translateY(24px); }
.gallery__item:hover { transform: translateY(-8px) rotate(-1deg); }
.gallery__item span { display: block; margin-top: 14px; font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(248,242,230,.55); text-align: left; }

.testimonial { position: relative; margin: clamp(80px, 10vw, 130px) auto 0; max-width: 860px; text-align: center; }
.testimonial__mark { display: block; font: 400 8rem/.6 var(--serif); color: var(--gold); height: 60px; }
.testimonial blockquote { margin: 0; font: italic 400 clamp(1.7rem, 3.2vw, 2.6rem)/1.25 var(--serif); }
.testimonial figcaption { margin-top: 28px; font-size: .95rem; color: rgba(248,242,230,.7); }
.testimonial figcaption strong { color: var(--paper); font-weight: 600; }
.todo { color: var(--gold-hi); opacity: .8; }

/* ---------- Question ---------- */
.question { padding: clamp(100px, 13vw, 170px) 0; }
.question__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.question__big { font: italic 400 clamp(3.4rem, 8.5vw, 7.8rem)/.92 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.question__body { padding-top: 46px; }
.voices { margin: 30px 0; border-top: 1px solid var(--line); }
.voices li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.voices li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.voices strong { color: var(--ink); font-weight: 600; }

/* ---------- Does ---------- */
.does { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); }
.does__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.does__list li { padding: 36px 24px 8px 0; }
.does__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 600 1rem/1 var(--sans); margin-bottom: 28px;
}
.num--rust { background: var(--rust); }
.does__list h3 { font: 400 1.6rem/1.1 var(--serif); margin-bottom: 14px; }
.does__list li:last-child h3 { color: var(--rust); }
.does__list p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Fit ---------- */
.fit { padding: clamp(90px, 12vw, 150px) 0; }
.fit__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.fit__card { border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); }
.fit__card--yes { background: #fffaf0; border: 1.5px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(20,35,63,.5); }
.fit__card--no { background: transparent; border: 1.5px solid var(--rust); }
.checks li, .crosses li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.checks li:last-child, .crosses li:last-child { border-bottom: 0; }
.checks li::before, .crosses li::before {
  position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 600 .85rem/1 var(--sans);
}
.checks li::before { content: "✓"; background: var(--ink); color: var(--gold-hi); }
.crosses li::before { content: "×"; background: var(--rust); color: var(--paper); font-size: 1.05rem; }

/* ---------- Offer plate ---------- */
.offer { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); }
.plate {
  position: relative; border-radius: 26px; padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(201,162,63,.18), transparent 60%),
    var(--ink);
  color: var(--paper);
  box-shadow: 0 60px 120px -60px rgba(20,35,63,.8);
  overflow: hidden;
}
.plate::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(226,194,109,.35); border-radius: 18px; pointer-events: none; }
.trio { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 16px; overflow: hidden; }
.trio > li { background: var(--ink); padding: clamp(28px, 3.5vw, 44px); }
.trio__n { display: block; font: italic 400 5rem/.8 var(--serif); color: var(--gold-hi); margin-bottom: 22px; }
.trio h3 { font: 400 clamp(1.8rem, 2.6vw, 2.3rem)/1.08 var(--serif); margin-bottom: 22px; }
.trio ul li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line-light); font-size: .97rem; color: rgba(248,242,230,.8); }
.trio ul li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.bonus__list h4 { font: 400 1.45rem/1.15 var(--serif); color: var(--gold-hi); margin-bottom: 10px; }
.bonus__list p { font-size: .95rem; color: rgba(248,242,230,.75); }

.bonus { position: relative; margin-top: 44px; border: 1.5px solid var(--gold); border-radius: 18px; padding: 44px clamp(20px, 3vw, 36px) 32px; background: rgba(201,162,63,.06); }
.bonus__tag { position: absolute; top: -14px; left: 28px; background: var(--gold); color: var(--ink); padding: 8px 16px; border-radius: 999px; }
.bonus__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ---------- Process ---------- */
.process { padding: clamp(90px, 12vw, 150px) 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 70%, var(--gold)); opacity: .9; }
.steps li { position: relative; }
.steps__when { display: block; font: italic 400 1.5rem/1 var(--serif); color: var(--rust); height: 36px; }
.steps__dot { position: relative; display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); margin: 6px 0 30px; z-index: 1; }
.steps__dot--gold { background: var(--gold); border-color: var(--gold-deep); box-shadow: 0 0 0 6px rgba(201,162,63,.25); }
.steps h3 { font: 400 1.9rem/1.08 var(--serif); margin-bottom: 12px; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
.hours { margin-top: 64px; display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 26px; border-radius: 999px; background: #fffaf0; border: 1px solid var(--line); font-size: 1.05rem; }
.hours span { font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rust); }

/* ---------- Straight answers ---------- */
.straight { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); }
.straight__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.note {
  background: #fffaf0; border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--line); position: relative;
  box-shadow: 0 30px 60px -45px rgba(20,35,63,.5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.note:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(20,35,63,.55); }
.note h3 { font: 400 1.7rem/1.12 var(--serif); margin-bottom: 16px; }
.note p:not(.tag) { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Risk ---------- */
.risk {
  padding: clamp(90px, 12vw, 150px) 0;
  background: radial-gradient(900px 500px at 10% 100%, rgba(201,162,63,.14), transparent 60%), var(--ink);
  color: var(--paper);
}
.seals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.seal { padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(248,242,230,.03); }
.seal__badge {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(226,194,109,.6);
}
.seal__badge svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.seal h3 { font: 400 1.6rem/1.1 var(--serif); color: var(--gold-hi); margin-bottom: 12px; }
.seal p { font-size: .95rem; color: rgba(248,242,230,.75); }

/* ---------- Price ---------- */
.price { padding: clamp(90px, 12vw, 150px) 0; }
.price__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; align-items: stretch; }
.price__main {
  position: relative; padding: clamp(32px, 5vw, 64px); border-radius: 26px;
  background: #fffaf0; border: 1.5px solid var(--gold);
  box-shadow: 0 50px 100px -60px rgba(158,122,36,.8);
}
.price__title { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif); }
.price__amount { margin: 28px 0 0; font: 400 clamp(5rem, 12vw, 9rem)/.85 var(--serif); letter-spacing: -.04em; color: var(--ink); }
.price__cur { font-size: .45em; vertical-align: .9em; margin-right: 4px; color: var(--gold-deep); }
.price__per { font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 30px; }
.price__terms { margin-bottom: 36px; }
.price__terms li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; }
.price__terms li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.price__alt { padding: clamp(32px, 4vw, 48px); border-radius: 26px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.price__alt .tag { align-self: flex-start; }
.price__alt h3 { font: 400 2.2rem/1.05 var(--serif); }
.price__alt-amount { font: italic 400 3.4rem/1 var(--serif); color: var(--gold-hi); margin: 18px 0; }
.price__alt p:last-child { color: rgba(248,242,230,.75); }

/* ---------- Limits ---------- */
.limits { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); }
.limits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.limits h2 { margin-bottom: 26px; }
.limits__cards { display: grid; gap: 18px; }
.capacity { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); border-radius: var(--radius); overflow: hidden; }
.capacity > div { padding: 30px; display: flex; align-items: center; gap: 18px; }
.capacity > div + div { border-left: 1px solid var(--line-light); }
.capacity__n { font: italic 400 4.6rem/.8 var(--serif); color: var(--gold-hi); }
.capacity__l { font: 600 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.season { background: #fffaf0; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.season p:not(.tag) { font-size: 1.05rem; }

/* ---------- About ---------- */
.about { padding: clamp(90px, 12vw, 150px) 0; }
.about__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.portrait {
  aspect-ratio: 4/5; border-radius: 200px 200px 22px 22px; position: relative;
  background: radial-gradient(circle at 50% 30%, var(--ink-2), var(--ink) 70%);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--gold), 0 50px 90px -50px rgba(20,35,63,.7);
}
.portrait span { font: italic 400 7rem/1 var(--serif); color: var(--gold-hi); }
.about h2 { margin-bottom: 28px; }
.about__text { font: 400 clamp(1.35rem, 2.2vw, 1.75rem)/1.45 var(--serif); color: var(--ink); }
.signature { margin-top: 28px; font: italic 400 2.2rem/1 var(--serif); color: var(--gold-deep); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); }
.faq__grid .sec-head { position: sticky; top: 120px; align-self: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative;
  font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.25 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font: 400 1.3rem/1 var(--sans); color: var(--gold-deep);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--gold-hi); border-color: var(--ink); }
.faq details p { padding: 0 56px 28px 0; color: var(--ink-soft); }

/* ---------- CTA + form ---------- */
.cta {
  position: relative; padding: clamp(100px, 13vw, 170px) 0;
  background:
    radial-gradient(1000px 600px at 90% 10%, rgba(201,162,63,.2), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(143,58,38,.25), transparent 60%),
    var(--ink);
  color: var(--paper);
}
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cta h2 { color: var(--paper); font-size: clamp(2.8rem, 6vw, 5.2rem); }
.cta h2 em { color: var(--gold-hi); }
.cta .lead { color: rgba(248,242,230,.78); margin-top: 28px; }
.mini-quote { margin: 40px 0 0; }
.mini-quote blockquote { margin: 0; font: italic 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.3 var(--serif); color: var(--paper); }
.mini-quote figcaption { margin-top: 12px; font-size: .9rem; color: rgba(248,242,230,.65); }
.ps { margin-top: 40px; padding: 24px 26px; border-left: 2px solid var(--gold); background: rgba(248,242,230,.04); font: italic 400 1.3rem/1.45 var(--serif); color: rgba(248,242,230,.9); }
.ps strong { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; color: var(--gold-hi); font-style: normal; margin-right: 6px; }

.form {
  background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(26px, 4vw, 44px);
  display: grid; gap: 18px; box-shadow: 0 60px 120px -40px rgba(0,0,0,.6);
}
.form__title { font: 400 2rem/1.1 var(--serif); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font: 600 .82rem/1.2 var(--sans); color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); }
.form input[type=text], .form input:not([type]), .form input[type=email], .form input[type=url] {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fffaf0;
  font: 400 1rem/1.2 var(--sans); color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,63,.22); }
.form input[type=file] { font: 400 .9rem var(--sans); color: var(--ink-soft); }
.form input[type=file]::file-selector-button { margin-right: 12px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 .82rem var(--sans); cursor: pointer; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font: 600 .82rem/1.2 var(--sans); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fffaf0; font: 400 .9rem/1 var(--sans); transition: all .25s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__status { font-size: .92rem; color: var(--rust); min-height: 1em; margin: 0; }
.form__status.is-ok { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: #0e1a31; color: rgba(248,242,230,.6); padding: 56px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__line { font: italic 400 1.3rem/1 var(--serif); color: var(--paper); margin: 0; }
.footer__small { font-size: .85rem; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,18,34,.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-height: 86vh; max-width: 88vw; width: auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: rgba(248,242,230,.75); font: italic 400 1.1rem var(--serif); }
.lightbox__close, .lightbox__nav {
  position: fixed; border: 1px solid rgba(248,242,230,.25); background: rgba(248,242,230,.08); color: var(--paper);
  width: 52px; height: 52px; border-radius: 50%; font: 400 1.8rem/1 var(--sans); cursor: pointer; display: grid; place-items: center;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 20px; top: 50%; translate: 0 -50%; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Hero plays on load, not on scroll, so it never sits blank. */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.2s var(--ease) both; }
.js .hero .reveal:nth-child(2) { animation-delay: .1s; }
.js .hero .reveal:nth-child(3) { animation-delay: .22s; }
.js .hero .reveal:nth-child(4) { animation-delay: .34s; }
.js .hero .hero__stage.reveal { animation-delay: .3s; }
.js .ribbon.reveal { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stack { animation: none; }
  .js .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__inner .btn { margin-left: auto; }
  .does__list { grid-template-columns: 1fr 1fr; }
  .does__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .does__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .does__list li:last-child { grid-column: 1 / -1; }
  .seals { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:nth-child(odd) { transform: none; }
}
@media (max-width: 880px) {
  body { font-size: 16px; }
  .hero__grid, .question__grid, .fit__grid, .price__grid, .limits__grid, .about__grid, .faq__grid, .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .form input, .form label { min-width: 0; max-width: 100%; }
  .hero__stage { min-height: 0; padding: 30px 0 10px; }
  .stack { width: min(62%, 320px); }
  .stamp { width: 104px; height: 104px; right: 4%; }
  .stamp__big { font-size: 2.6rem; }
  .question__body { padding-top: 0; }
  .straight__grid { grid-template-columns: 1fr; }
  .bonus__list { grid-template-columns: 1fr; gap: 22px; }
  .trio { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .steps::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--ink) 70%, var(--gold)); }
  .steps li { padding-bottom: 36px; }
  .steps__when { height: auto; margin-bottom: 8px; }
  .steps__dot { position: absolute; left: -36px; top: 2px; margin: 0; }
  .portrait { max-width: 300px; }
  .faq__grid .sec-head { position: static; margin-bottom: 8px; }
}
@media (max-width: 600px) {
  .nav__inner { gap: 12px; padding: 14px 16px; }
  .brand__name { font-size: 1.2rem; white-space: nowrap; }
  .btn--small { white-space: nowrap; }
  .hide-sm { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .btn--small { padding: 10px 14px; font-size: .8rem; }
  .ribbon { justify-content: center; }
  .ribbon li + li::before { display: none; }
  .does__list { grid-template-columns: 1fr; }
  .does__list li, .does__list li + li { padding: 30px 0 4px; border-left: 0; border-top: 1px solid var(--line); }
  .does__list li:first-child { border-top: 0; }
  .seals { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .capacity { grid-template-columns: 1fr; }
  .capacity > div + div { border-left: 0; border-top: 1px solid var(--line-light); }
  .form__row { grid-template-columns: 1fr; }
  .hours { border-radius: 18px; }
  .btn { padding: 16px 22px; }
  .btn--gold { padding: 8px 8px 8px 22px; }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
}

/* ---------- Before / after ---------- */
/* Both panels are sized from the screen height so the pair and the arrows fit on a laptop. */
.ba { --ba-h: min(clamp(360px, calc(100svh - 250px), 640px), calc((min(100vw, 1200px) - 2 * var(--gutter) - 210px) / 1.6)); padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); }
.ba__grid { display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.ba__side { min-width: 0; }
.ba__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font: 400 1.4rem/1 var(--serif); }
.ba__tag { font: 600 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.ba__tag--gold { color: var(--gold-deep); }

.doc { width: calc(var(--ba-h) * .82); background: #fff; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20,35,63,.5); overflow: hidden; }
.doc__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #eef0f3; border-bottom: 1px solid #dde1e6; font: 400 .78rem/1 var(--sans); color: #5b6370; }
.doc__dots { display: flex; gap: 5px; }
.doc__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3d7dd; }
.doc__page {
  position: relative; height: calc(var(--ba-h) - 35px); overflow-y: auto; scrollbar-width: thin;
  padding: calc(var(--ba-h) * .05) calc(var(--ba-h) * .06);
  font: 400 calc(var(--ba-h) * .024)/1.5 Calibri, Carlito, "Segoe UI", Arial, sans-serif; color: #1f1f1f; text-align: justify;
}
.doc__page p { margin: 0 -8px 12px; padding: 4px 8px; border-radius: 3px; cursor: pointer; transition: background .45s var(--ease), color .45s, box-shadow .45s; }
.doc__page .doc__h { font-weight: 700; text-align: left; }
.doc__page p.is-done { color: #9aa0a8; }
.doc__page p.is-on { background: #fff1b8; box-shadow: inset 3px 0 0 var(--gold); color: #111; }
.doc__page p:hover:not(.is-on) { background: #f6f3ea; }

.book { position: relative; perspective: 2400px; height: var(--ba-h); width: calc(var(--ba-h) * 1100 / 1424); }
.book__page { position: relative; height: 100%; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: var(--shadow-page); }
.book__page img, .book__leaf img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book__mark {
  position: absolute; border-radius: 8px; pointer-events: none; opacity: 0;
  border: 2px solid var(--gold); background: transparent;
  box-shadow: 0 0 0 4px rgba(226,194,109,.35), 0 0 22px rgba(201,162,63,.5);
  transition: left .6s var(--ease), top .6s var(--ease), width .6s var(--ease), height .6s var(--ease), opacity .4s;
}
.book__mark.is-on { opacity: 1; }
.book__leaf {
  position: absolute; inset: 0; z-index: 2; transform-origin: left center; backface-visibility: hidden;
  border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: var(--shadow-page);
}
.book__leaf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent 30%, rgba(255,255,255,.12) 70%, rgba(0,0,0,.1)); opacity: 0; animation: shade .9s var(--ease) forwards; }
.book__leaf--out { animation: leaf-out .9s cubic-bezier(.45,.05,.3,1) forwards; }
.book__leaf--in { animation: leaf-in .9s cubic-bezier(.45,.05,.3,1) forwards; }
@keyframes leaf-out { from { transform: rotateY(0); } to { transform: rotateY(-180deg); } }
@keyframes leaf-in { from { transform: rotateY(-180deg); } to { transform: rotateY(0); } }
@keyframes shade { 50% { opacity: 1; } 100% { opacity: 0; } }

.ba__controls { align-self: stretch; display: flex; flex-direction: column; align-items: center; padding-top: 49px; width: 136px; }
.ba__nav { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 22px; }
.ba__where { margin: 0; text-align: center; display: grid; gap: 8px; font: italic 400 .92rem/1.15 var(--serif); white-space: nowrap; }
.ba__count { white-space: nowrap; font: 600 .62rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-style: normal; }
.ba__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 1.35rem/1 var(--sans); cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, opacity .3s;
}
.ba__btn:hover:not(:disabled) { transform: translateY(-2px); background: var(--ink); color: var(--paper); }
.ba__btn--next {
  width: 64px; height: 64px; font-size: 1.5rem;
  background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(158,122,36,.9);
}
.ba__btn--next:hover:not(:disabled) { background: var(--ink); color: var(--gold-hi); border-color: var(--ink); }
.ba__btn:disabled { opacity: .3; cursor: default; }
.ba__btn--next:not(:disabled) { animation: nudge 2.4s ease-in-out 1.5s infinite; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 14px 34px -12px rgba(158,122,36,.9), 0 0 0 0 rgba(201,162,63,.45); } 85% { box-shadow: 0 14px 34px -12px rgba(158,122,36,.9), 0 0 0 12px rgba(201,162,63,0); } }

@media (max-width: 880px) {
  .ba { --ba-h: auto; }
  .ba__grid { grid-template-columns: minmax(0, 1fr); }
  .doc { width: auto; }
  .doc__page { height: 300px; padding: 22px; font-size: .92rem; }
  .book { height: auto; width: 100%; aspect-ratio: 1100 / 1424; }
  .ba__controls {
    order: 3; position: sticky; bottom: 12px; z-index: 5; width: auto; padding: 10px; flex-direction: row; gap: 12px;
    background: rgba(240,231,213,.95); backdrop-filter: blur(8px); border-radius: 999px; box-shadow: 0 10px 30px -15px rgba(20,35,63,.5);
  }
  .ba__controls .ba__btn--next { order: 3; width: 56px; height: 56px; font-size: 1.4rem; }
  .ba__controls .ba__where { order: 2; flex: 1; font-size: 1.05rem; }
  .ba__controls [data-ba-prev] { order: 1; width: 48px; height: 48px; }
}

.hero__note strong { color: var(--rust); font-weight: 600; }
.form__sub { margin: -10px 0 4px; font-size: .92rem; color: var(--ink-soft); }
.show-sm { display: none; }
@media (max-width: 600px) { .show-sm { display: inline; } }

/* Keep the hero button above the fold on short laptop screens. */
@media (min-width: 881px) {
  .hero { padding-top: clamp(104px, 15vh, 180px); }
  .hero__title { font-size: min(clamp(3.2rem, 7.4vw, 6.6rem), 10vh); }
  .hero__lede { margin: clamp(18px, 3vh, 32px) 0 clamp(22px, 3.6vh, 40px); }
  .eyebrow { margin-bottom: clamp(16px, 3vh, 28px); }
  .hero__stage { min-height: 0; }
  .stack { width: min(100%, 440px, 56vh); }
}

.ba__design { display: flex; align-items: baseline; justify-content: center; gap: 14px; max-width: 820px; min-height: 2.6em; margin: 22px auto 0; text-align: left; font: italic 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.35 var(--serif); color: var(--ink); }
.ba__design-tag { flex: none; font: 600 .66rem/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); background: var(--gold-deep); padding: 7px 12px; border-radius: 999px; transform: translateY(-2px); }
.ba__design [data-design].is-in, .ba__design span.is-in { animation: note-in .6s var(--ease) both; }
@keyframes note-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) {
  .ba__design { flex-direction: column; gap: 10px; margin-top: 18px; }
}

/* Picture and design steps: extras the workbook adds, shown only on the page. */
.book__marks { position: absolute; inset: 0; pointer-events: none; }
.book__mark.is-strong { border-width: 3px; box-shadow: 0 0 0 5px rgba(226,194,109,.4), 0 0 30px rgba(201,162,63,.6); }
.ba__design.is-hidden { visibility: hidden; }

/* Headline: "You wrote the book." in heritage blue, then the payoff in navy with "workbook" in gold. */
.hero__title .line:first-child { color: #3d5f8f; }
.hero__title, h2 { font-weight: 500; letter-spacing: -.02em; }

/* Headline: a small lead-in line, then the full-size payoff. */
.hero__title .line:first-child { font-size: .46em; letter-spacing: -.01em; margin-bottom: .24em; }
.stamp { width: 150px; height: 150px; }
.stamp__small { font-size: .6rem; letter-spacing: .14em; }
@media (max-width: 880px) { .stamp { width: 124px; height: 124px; } .stamp__small { font-size: .52rem; } }

/* Highlighter: one soft stroke across "You wrote the book." after the hero settles, and it stays. */
.hl { position: relative; z-index: 0; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -.12em; right: -.12em; bottom: .04em; height: .5em;
  background: #ffdf7e; border-radius: .14em .3em .22em .12em; mix-blend-mode: multiply; opacity: 0;
  transform: scaleX(0); transform-origin: left center;
}
.js .hl::after { animation: hl-in .85s cubic-bezier(.6,.05,.25,1) 1.4s forwards; }
@keyframes hl-in { from { opacity: .9; transform: scaleX(0); } to { opacity: .9; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .js .hl::after { animation: none; opacity: .9; transform: none; } }

/* "Added" note: a frosted card beside the page, with a gold leader line to it (never on the page). */
.ba__grid { --ba-gap: clamp(16px, 2.5vw, 36px); gap: var(--ba-gap); }
.ba__flagslot { width: 100%; height: max(170px, calc(var(--ba-h) * .38)); }
.ba__flag {
  position: relative; width: 100%; padding: 14px 14px 16px; text-align: left; color: var(--ink);
  background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(20,35,63,.08); border-radius: 14px; box-shadow: 0 10px 30px -18px rgba(20,35,63,.45);
  opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease);
}
.ba__flag.is-on { opacity: 1; transform: none; transition: opacity .5s .15s, transform .6s .15s var(--ease); }
.ba__flag p { margin: 0; }
.ba__flag-tag { display: flex; align-items: center; gap: 8px; font: 600 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.ba__flag-plus { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gold-deep); font: 600 .8rem/1 var(--sans); letter-spacing: 0; }
.ba__flag-title { margin-top: 10px !important; font: italic 500 1.08rem/1.15 var(--serif); color: var(--ink); }
.ba__flag-text { margin-top: 6px !important; font: 400 .76rem/1.45 var(--sans); color: var(--ink-soft); }
/* Leader line: drawn by script from the card to whatever is outlined on the page. */
.ba__grid { position: relative; }
.ba__lead { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 4; opacity: 0; transition: opacity .3s; }
.ba__lead.is-on { opacity: 1; transition: opacity .5s .35s; }
.ba__lead line { stroke: var(--gold-deep); stroke-width: 1.25; }
.ba__lead circle { fill: var(--gold-deep); stroke: #fff; stroke-width: 1.5; }
@media (max-width: 880px) { .ba__lead { display: none; } }
@media (max-width: 880px) {
  .ba__controls { align-self: auto; }
  .ba__flagslot { display: none; }
  .ba__nav { flex-direction: row; margin-top: 0; width: 100%; gap: 12px; }
  .ba__nav .ba__btn--next { order: 3; }
  .ba__nav .ba__where { order: 2; flex: 1; }
  .ba__nav [data-ba-prev] { order: 1; }
}

/* Phone before/after: the manuscript as a page, then the finished two-page spread. */
.ba-m { display: none; }
@media (max-width: 880px) {
  .ba__grid > .ba__controls, .ba__grid > .ba__side:last-child, .ba__design, .ba__lead { display: none !important; }
  .doc__page { height: auto; max-height: none; overflow: visible; }
  .doc__page p { cursor: default; }
  .doc__page p.is-on, .doc__page p.is-done { background: none; box-shadow: none; color: #1f1f1f; }
  .ba-m { display: block; margin-top: 28px; }
  .ba__wide { display: none; }
  .ba-m__spread { display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 24px 50px -24px rgba(20,35,63,.55); border-radius: 6px; overflow: hidden; }
  .ba-m__page { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; }
  .ba-m__page img { width: 100%; aspect-ratio: 1100 / 1424; object-fit: cover; }
  .ba-m__page:first-child::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 18px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.14)); }
  .ba-m__page:last-child::after { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 18px; background: linear-gradient(90deg, rgba(0,0,0,.12), transparent); }
  .ba-m__note { margin: 14px 2px 0; font-size: .9rem; color: var(--ink-soft); }
}

/* "See an example" link and pop-up (site styling, not the workbook's). */
.note__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 .92rem/1 var(--sans); color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 4px;
}
.note__link span { transition: transform .3s var(--ease); }
.note__link:hover span { transform: translateX(4px); }
.note p + p:not(.tag) { margin-top: 12px; }
.example { width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10,18,34,.6); }
.example::backdrop { background: rgba(10,18,34,.72); backdrop-filter: blur(4px); }
.example__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; }
.example__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 3vw, 44px); padding: clamp(22px, 3vw, 40px); align-items: start; }
.example__page { margin: 0; position: sticky; top: 0; }
.example__page img { width: 100%; border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-page); }
.example__page figcaption { margin-top: 12px; font: italic 400 .92rem/1.3 var(--serif); color: var(--ink-soft); }
.example__body h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 12px; }
.example__lead { color: var(--ink-soft); margin-bottom: 22px; }
.example__list { display: grid; gap: 14px; }
.example__list li { background: #fffaf0; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.example__list p { margin: 0; font-size: .92rem; line-height: 1.45; }
.example__kind { font: 600 .66rem/1 var(--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--rust); }
.example__list span { display: inline-block; min-width: 82px; margin-right: 8px; font: 600 .66rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.example__was { color: var(--ink-soft); }
.example__now { color: var(--ink); font-weight: 600; }
.example__now span { color: var(--gold-deep); }
.example__foot { margin-top: 18px; font: italic 400 1.05rem/1.4 var(--serif); }
@media (max-width: 760px) {
  .example__grid { grid-template-columns: 1fr; }
  .example__page { position: static; max-width: 260px; }
  .example__list span { display: block; margin-bottom: 2px; }
}
