:root {
  --ink: #142338;
  --ink-deep: #0e1c2d;
  --paper: #fbf8f0;
  --white: #fffcf6;
  --teal: #145750;
  --mint: #c5e5d6;
  --mint-pale: #e3f0e6;
  --peach: #f5b99f;
  --soft: #506172;
  --line: #c6cec5;
  --display: Georgia, serif;
  --body: "Trebuchet MS", system-ui, sans-serif;
  --side: clamp(.95rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.4rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
:where(a, button, summary, video):focus-visible { outline: 3px solid #be603e; outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, .mobile-dock :focus-visible { outline-color: var(--peach); }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--side), 73rem); margin-inline: auto; }
.dark { color: var(--paper); background: var(--ink); }
.section { padding-block: clamp(3rem, 8vw, 7.2rem); }
.skip-link { position: fixed; z-index: 40; inset: .5rem auto auto .5rem; transform: translateY(-150%); padding: .65rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid #ffffff28;
}
.header-inner { min-height: 4.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.progress-line { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--peach); transform: scaleX(0); transform-origin: left; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; color: var(--paper); font-size: .88rem; font-weight: 700; letter-spacing: .115em; text-decoration: none; white-space: nowrap; }
.brand strong { color: var(--mint); }
.brand img { flex: none; border-radius: .58rem; border: 1px solid #ffffff40; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 clamp(.8rem, 3vw, 2.6rem); }
.site-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; color: #e5e9e7; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3.25rem;
  max-width: 100%;
  padding: .66rem 1.08rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 2.75rem; padding-inline: .8rem; font-size: .88rem; white-space: nowrap; }
.button-mint { background: var(--mint); color: var(--ink); }
.button-mint:hover { background: #e2f4e9; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--teal); }
.button-detail { padding-left: .7rem; border-left: 1px solid #315f5b64; font-size: .82em; white-space: nowrap; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.35rem; }
.text-link { display: inline-flex; gap: .5rem; align-items: center; min-height: 2.75rem; color: var(--teal); font-weight: 700; }
.dark .text-link { color: var(--mint); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(3rem, 1.4rem + 6.8vw, 7.2rem); line-height: .97; letter-spacing: -.061em; }
h2 { font-size: clamp(2.1rem, 1.45rem + 3vw, 4.6rem); line-height: 1.02; letter-spacing: -.048em; }
h3 { font-size: clamp(1.55rem, 1.2rem + 1.35vw, 2.35rem); line-height: 1.13; letter-spacing: -.035em; }
h1 em, h2 em { font-weight: 400; }
.kicker { margin: 0; color: var(--teal); font-size: .77rem; font-weight: 700; letter-spacing: .16em; line-height: 1.45; text-transform: uppercase; }
.dark .kicker { color: var(--mint); }
.signal { display: inline-block; flex: none; width: .53rem; height: .53rem; margin-right: .3rem; border-radius: 50%; vertical-align: .06em; background: var(--peach); }
.section-copy > p:not(.kicker), .section-heading > p:not(.kicker) { max-width: 34rem; color: var(--soft); font-size: clamp(1rem, .95rem + .35vw, 1.2rem); }
.section-copy h2, .section-heading h2, .questions h2 { margin-top: .7rem; }
.dark .section-copy > p:not(.kicker) { color: #d3dfdf; }

.hero {
  overflow: clip;
  background:
    radial-gradient(ellipse at 75% 67%, #2b514f 0%, #1a3545 36%, transparent 69%),
    var(--ink);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.25rem, 4.3vw, 4.2rem);
  min-height: min(41rem, 81svh);
  align-items: center;
  padding-block: clamp(2.7rem, 7.5vw, 6.5rem);
}
.hero-copy { container-type: inline-size; }
.hero h1 {
  margin: .85rem 0 1rem;
  font-size: clamp(2.7rem, min(1.4rem + 6.8vw, 21cqi), 7.2rem);
}
.hero h1 em { display: block; color: var(--mint); }
.hero-promise { margin: 0; color: #f9f5e9; font-family: var(--display); font-size: clamp(1.22rem, .96rem + 1vw, 1.9rem); line-height: 1.22; }
.hero-description { margin: .8rem 0 1.35rem; max-width: 30rem; color: #dbe4e3; font-size: clamp(.96rem, .91rem + .35vw, 1.12rem); }
.hero-format { margin: .72rem 0 0; color: #ccd8d9; font-size: .82rem; }
.hero-art { position: relative; display: grid; justify-items: center; align-items: center; min-width: 0; padding: 1.15rem 2rem 1.65rem; isolation: isolate; }
.hero-lines { position: absolute; z-index: -1; top: 2%; left: -10%; width: 120%; height: 100%; opacity: .75; pointer-events: none; }
.hero-lines path { stroke-dasharray: 900; animation: draw-route 1.65s cubic-bezier(.22, .65, .38, 1) both; }
.hero-lines path:nth-child(2) { animation-delay: .13s; }
.hero-lines path:nth-child(3) { animation-delay: .22s; }
@keyframes draw-route { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.hero-book {
  position: relative;
  z-index: 1;
  width: min(100%, 21rem);
  margin: 0;
  transform: rotate(-4deg);
  animation: book-arrives .8s cubic-bezier(.18, .68, .34, 1) both;
}
@keyframes book-arrives {
  from { opacity: 0; transform: translateY(15px) rotate(-1deg); }
  to { opacity: 1; transform: rotate(-4deg); }
}
.hero-book img {
  width: 100%;
  height: auto;
  border: 1px solid #a9c1c0;
  border-radius: .28rem .5rem .5rem .28rem;
  box-shadow: .46rem .3rem 0 #e8e3d5, .57rem .43rem 0 #a9b9b1, 0 1.45rem 3rem #0e1c2dd9;
}
.hero-book figcaption { margin: .68rem 0 0 .3rem; color: #e7eee8; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-book figcaption span { margin-right: .4rem; color: var(--peach); }
.art-note { position: absolute; z-index: 2; right: 0; bottom: 18%; display: flex; gap: .65rem; align-items: start; padding: .65rem .78rem; background: var(--peach); color: var(--ink); font-size: .76rem; font-weight: 700; line-height: 1.18; transform: rotate(5deg); box-shadow: 0 .35rem 1rem #10213442; }
.art-note span { font-size: 1.1rem; }

.edition-strip { background: var(--mint); border-bottom: 1px solid #abc7b8; }
.edition-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edition-inner > span { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 4.6rem; padding: .6rem; color: #25483f; font-size: .9rem; line-height: 1.2; text-align: left; }
.edition-inner > span + span { border-left: 1px solid #8fb6a6; }
.edition-inner strong { color: var(--ink); font-family: var(--display); font-size: clamp(1.55rem, 1rem + 1.5vw, 2.4rem); font-weight: 400; letter-spacing: -.04em; }

.section-grid, .offer-layout, .questions-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; gap: clamp(1.8rem, 7vw, 6rem); }
.situations { margin-top: 1.45rem; border-top: 1px solid var(--line); }
.situations details, .question-list details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 2.85rem; padding-block: .58rem; color: var(--ink); font-weight: 700; line-height: 1.3; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--teal); font-size: 1.25rem; line-height: 1; }
details[open] > summary::after { content: "−"; }
.situations details p, .question-list details p { margin: 0 1.25rem .9rem 0; max-width: 31rem; color: var(--soft); font-size: .95rem; }

.example-card { padding: clamp(1.15rem, 4vw, 2.55rem); border: 1px solid #b4c9b9; border-radius: .6rem; background: var(--mint-pale); box-shadow: .42rem .42rem 0 #c8dfd4; }
.example-card h3 { margin-top: .55rem; }
.timeline { position: relative; display: grid; gap: .5rem; margin: 1.15rem 0; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 9%; bottom: 9%; left: .51rem; width: 1px; background: #498076; content: ""; }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(4.5rem, .45fr) minmax(0, 1fr); align-items: center; gap: .45rem; min-height: 2.25rem; padding-left: 1.45rem; line-height: 1.25; }
.timeline li::before { position: absolute; top: calc(50% - .31rem); left: .2rem; width: .64rem; height: .64rem; border: 1px solid var(--teal); border-radius: 50%; background: var(--mint-pale); content: ""; }
.timeline li:nth-last-child(-n+2)::before { background: var(--peach); }
.timeline time { font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline small { display: block; color: var(--teal); font-size: .73rem; }
.example-note { margin: 0; color: #344f4c; font-size: .88rem; }
.brand-perspective { margin-top: clamp(2rem, 5vw, 4rem); padding: .12rem 0 .12rem clamp(.9rem, 3vw, 1.65rem); border-left: 3px solid #c87052; }
.brand-perspective p { margin: 0; max-width: 54rem; color: var(--soft); }
.brand-perspective .tagline { margin-bottom: .18rem; color: var(--ink); font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.2; }

.preview { border-block: 1px solid #dddace; background: #f1eee3; }
.section-heading { margin-bottom: clamp(1.15rem, 4vw, 2.4rem); }
.section-heading > p:last-child { margin-bottom: 0; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 2.4vw, 1.6rem); }
.preview-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(.55rem, 1.8vw, 1rem); border: 1px solid #c6c9be; border-radius: .55rem; background: var(--white); box-shadow: 0 .4rem .9rem #1423380c; text-decoration: none; }
.preview-card:hover { border-color: var(--teal); }
.preview-image { display: block; overflow: hidden; aspect-ratio: 677 / 960; border: 1px solid #d4d7cc; border-radius: .24rem; background: var(--paper); }
.preview-image img { width: 100%; height: auto; transition: transform .25s ease; }
.preview-card:hover img { transform: scale(1.022); }
.preview-caption { display: flex; justify-content: space-between; align-items: end; gap: .5rem; padding: .75rem .1rem .15rem; line-height: 1.23; }
.preview-caption small { display: block; margin-bottom: .3rem; color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.preview-caption strong { display: block; font-size: clamp(.95rem, .86rem + .5vw, 1.15rem); }
.preview-arrow { color: var(--teal); font-size: 1.35rem; }
.preview-actions { margin-top: 1.5rem; }

.watch {
  background: radial-gradient(ellipse at 75% 70%, #294f4b 0%, #193444 38%, transparent 70%), var(--ink);
}
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(1.55rem, 6vw, 5rem); }
.watch h2 { max-width: 11ch; }
.watch h2 em { color: var(--mint); }
.watch .section-copy > .video-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .85rem; }
.video-meta span:first-child { color: var(--peach); }
.video-transcript { margin-block: 1rem .8rem; border-block: 1px solid #ffffff35; }
.video-transcript summary { color: var(--mint); }
.video-transcript summary::after { color: var(--peach); }
.video-transcript p { margin: 0 0 .72rem; color: #d3dfdf; font-size: .95rem; }
.watch-player { position: relative; display: grid; justify-items: center; padding: clamp(.6rem, 3vw, 1.7rem); border: 1px solid #b8d6d05e; border-radius: .7rem; background: #0a192b52; }
.watch-player video { width: min(100%, 17.5rem); height: auto; aspect-ratio: 9 / 16; object-fit: contain; border-radius: .4rem; background: var(--ink-deep); }

.author-note {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 0% 0%, #f1eee3, transparent 65%), var(--paper);
}
.author-note h2 { max-width: 14ch; font-size: clamp(2rem, 1.45rem + 2.6vw, 3.8rem); }
.author-copy { padding-left: clamp(.85rem, 2vw, 1.5rem); border-left: 2px solid #c87052; }
.author-copy p { max-width: 54ch; margin: 0; color: var(--soft); }
.author-copy p + p { margin-top: .85rem; }

.offer { background: var(--mint-pale); }
.offer-layout { align-items: center; }
.offer-list { display: grid; gap: .38rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.offer-list li { position: relative; padding-left: 1.55rem; }
.offer-list li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 700; }
.price-card { padding: clamp(1.25rem, 4.3vw, 2.75rem); border: 1px solid #92b6a4; border-radius: .55rem; background: var(--white); box-shadow: .48rem .48rem 0 #9cbbab; }
.price { margin: .4rem 0 .3rem; font: 400 clamp(3.7rem, 2.6rem + 4vw, 6.5rem)/.95 var(--display); letter-spacing: -.065em; }
.price span { color: var(--teal); font: 700 .95rem/1 var(--body); letter-spacing: .09em; }
.price-detail { margin: .6rem 0 1rem; color: var(--soft); }
.availability { display: flex; align-items: center; gap: .35rem; margin: 0 0 .3rem; font-weight: 700; }
.availability .signal { background: #ae6247; }

.questions { background: var(--white); }
.questions-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.question-list { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding-block: 1.1rem; }

.mobile-dock {
  position: fixed;
  z-index: 9;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: .65rem;
  align-items: center;
  justify-content: space-between;
  padding: .55rem var(--side) calc(.55rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #ffffff44;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 -.25rem 1rem #14233824;
}
.mobile-dock div { min-width: 0; line-height: 1.2; }
.mobile-dock strong { display: block; font-size: .88rem; }
.mobile-dock div span { color: #d1dfde; font-size: .72rem; }

.page-dialog { width: min(94vw, 49rem); max-height: 91vh; max-height: 91dvh; margin: auto; padding: 0; border: 1px solid #a3b5ae; border-radius: .5rem; color: var(--ink); background: var(--white); overscroll-behavior: contain; }
.page-dialog::backdrop { background: #101e31d9; }
.dialog-bar { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .52rem .8rem; border-bottom: 1px solid var(--line); background: var(--white); }
.dialog-bar h2 { font-size: clamp(1.12rem, .95rem + .9vw, 1.55rem); letter-spacing: -.02em; }
.dialog-bar button { min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--mint-pale); color: var(--ink); cursor: pointer; white-space: nowrap; }
.page-dialog > img { width: min(100%, 677px); height: auto; margin-inline: auto; }

[data-reveal] { transition: opacity .52s ease, translate .52s cubic-bezier(.2, .6, .35, 1); }
.will-reveal { opacity: 0; translate: 0 15px; }
.will-reveal:focus-within, .will-reveal:focus { opacity: 1; translate: 0 0; }

@media (max-width: 53rem) {
  .hero-layout { min-height: auto; padding-block: clamp(2.2rem, 6.4vw, 4rem); }
  .hero-art { padding-inline: .9rem; }
  .art-note { right: -.2rem; }
}

@media (max-width: 42rem) {
  html { scroll-padding-top: 4.6rem; }
  .header-inner { min-height: 3.85rem; }
  .site-nav { display: none; }
  .section-grid, .watch-grid, .offer-layout, .questions-layout { grid-template-columns: minmax(0, 1fr); }
  .hero .actions { gap: .45rem .85rem; }
  .hero-art { padding-block: 1.05rem .75rem; }
  .hero-book { width: min(100%, clamp(10.6rem, 52vw, 15.5rem)); }
  .hero-lines { width: 100%; left: 0; }
  .art-note { right: max(0px, calc(50% - 10rem)); bottom: 13%; }
  .edition-inner > span { flex-direction: column; gap: .18rem; min-height: 3.85rem; padding: .38rem .22rem; font-size: .72rem; text-align: center; }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-player { padding: .75rem; }
}

@media (max-width: 37rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
}

@media (max-width: 26rem) {
  .header-inner { gap: .4rem; }
  .brand { gap: .35rem; font-size: .76rem; }
  .brand img { width: 1.75rem; height: 1.75rem; }
  .button-small { padding-inline: .55rem; gap: .3rem; font-size: .8rem; }
  .preview-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-card { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); align-items: center; gap: .75rem; }
  .preview-caption { align-items: center; padding: 0; }
}

@media (max-height: 34rem) and (orientation: landscape) {
  .hero-layout { min-height: 0; padding-block: 2rem; }
  .hero-book { width: min(100%, 15.5rem); }
  .watch-player video { max-height: 74vh; max-height: 74svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; translate: none; }
  .progress-line { display: none; }
}
