:root {
  --ink: #0b1016;
  --ink-soft: #151c24;
  --paper: #f3f1ed;
  --white: #fff;
  --muted: #a9b0b8;
  --line: rgba(255,255,255,.14);
  --red: #b70e2e;
  --red-bright: #dd1f46;
  --red-deep: #650619;
  --silver: #d9dce0;
  --trio-image: url('assets/trio-accueil-2026-10-23.webp');
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: #fff; color: #111; transition: top .2s; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 90; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--red-bright); box-shadow: 0 0 14px var(--red); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - var(--max)) / 2)); background: linear-gradient(to bottom, rgba(11,16,22,.94), rgba(11,16,22,.72)); border-bottom: 1px solid transparent; backdrop-filter: blur(12px); transition: height .25s, border-color .25s, background .25s; }
.site-header.is-scrolled { height: 68px; border-color: var(--line); background: rgba(11,16,22,.94); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.35); color: #fff; font: italic 24px/1 var(--serif); position: relative; }
.brand-mark::after { content: ''; position: absolute; width: 12px; height: 2px; bottom: -1px; right: -1px; background: var(--red-bright); }
.brand strong { display: block; font: 600 16px/1.1 var(--serif); }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.navigation { display: flex; align-items: center; gap: 36px; }
.navigation a, .navigation button { position: relative; color: #e8e8e8; text-decoration: none; font: inherit; font-size: 13px; letter-spacing: .09em; }
.navigation button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.navigation a::after, .navigation button::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--red-bright); transition: right .25s; }
.navigation a:hover::after, .navigation a:focus-visible::after, .navigation button:hover::after, .navigation button:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 1px; background: #fff; margin: 5px auto; transition: transform .2s, opacity .2s; }

.hero { min-height: 100svh; max-width: 1480px; margin: 0 auto; padding: 132px max(28px, calc((100vw - var(--max)) / 2)) 72px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(48px, 6vw, 90px); position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0 50% 0 0; z-index: -2; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, #000, transparent); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .18; pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; background: var(--red); top: 12%; right: 10%; }
.hero-glow-two { width: 280px; height: 280px; background: #406080; bottom: 10%; left: 18%; }
.eyebrow, .section-kicker, .overline { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow .eyebrow-line { flex: 0 0 42px; width: 42px; height: 1px; background: var(--red-bright); }
.eyebrow .eyebrow-text { width: auto; height: auto; background: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font: 400 clamp(62px, 7.4vw, 108px)/.9 var(--serif); letter-spacing: -.055em; }
h1 em, h2 em { color: var(--red-bright); font-weight: 400; }
.hero-intro { max-width: 590px; color: #c4c9cf; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.hero-intro p { margin: 0; white-space: pre-line; }
.hero-intro p + p { margin-top: 18px; }
.hero-intro strong { color: #fff; font-weight: 700; }
.hero-intro .hero-hook { color: #fff; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; }
.hero-intro .hero-story { color: #aeb5bc; font-size: 15px; line-height: 1.75; }
.hero-actions { max-width: 610px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; margin-top: 36px; }
.hero-actions .button { width: 100%; min-height: 56px; padding: 11px 18px; text-align: center; }
.hero-actions #hero-purchase-button { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button:hover:not(:disabled), .button:focus-visible:not(:disabled) { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(120,0,25,.25); }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-bright); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.035); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.button-muted { color: #8f969e; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.035); cursor: default; }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover, .button-light:focus-visible { background: var(--paper); }
.text-link { color: #eee; text-decoration: none; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 5px; }
.text-link span { color: var(--red-bright); margin-left: 6px; }
.content-note { margin: 32px 0 0; color: #777f88; font-size: 11px; letter-spacing: .08em; }
.hero-visual { position: relative; width: min(100%, 570px); justify-self: end; }
.hero-frame { position: relative; box-shadow: 0 45px 90px rgba(0,0,0,.5); }
.hero-frame img { width: 100%; height: auto; object-fit: contain; filter: none; }
.hero-frame p { position: absolute; z-index: 1; left: 42px; right: 42px; bottom: 34px; margin: 0; font-family: var(--serif); }
.hero-frame p[hidden] { display: none; }
.hero-frame p span, .hero-frame p strong { display: block; }
.hero-frame p span { color: #c6cbd1; font-size: 14px; font-style: italic; }
.hero-frame p strong { margin-top: 4px; font-size: 22px; font-weight: 400; }

.section { padding: clamp(90px, 11vw, 150px) max(28px, calc((100vw - var(--max)) / 2)); }
.series { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px 100px; position: relative; overflow: hidden; }
.series::after { content: '3'; position: absolute; right: -10px; bottom: -120px; color: rgba(183,14,46,.05); font: italic 480px/.8 var(--serif); pointer-events: none; }
.series .section-kicker { color: var(--red); }
.series-heading { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.series h2, .section-heading h2, .final-cta h2 { margin-bottom: 0; font: 400 clamp(44px, 5.4vw, 74px)/1.02 var(--serif); letter-spacing: -.045em; }
.series-heading > p { max-width: 530px; margin-bottom: 5px; color: #535a61; font-size: 17px; line-height: 1.85; }
.spoiler-promise { grid-column: 1 / -1; justify-self: center; margin: 26px 0 0; color: #6b7176; font-size: 12px; letter-spacing: .05em; }
.spoiler-promise span { color: var(--red); margin-right: 8px; }

.books { background: linear-gradient(150deg, #111820, #080c11 78%); }
.section-heading { max-width: var(--max); margin: 0 auto 60px; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading .section-kicker { color: var(--red-bright); margin-bottom: 12px; }
.section-heading > p { width: min(100%, 430px); color: #8f98a1; margin-bottom: 5px; font-size: 14px; }
.book-tabs { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-tabs button { height: 74px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #767e87; cursor: pointer; text-align: left; padding: 0 24px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s, background .2s; }
.book-tabs button:last-child { border-right: 0; }
.book-tabs button span { color: var(--red-bright); margin-right: 14px; font-family: var(--serif); font-size: 18px; font-style: italic; }
.book-tabs button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.045); box-shadow: inset 0 -2px var(--red-bright); }
.book-tabs button:hover, .book-tabs button:focus-visible { color: #fff; background: rgba(255,255,255,.03); }
.book-panel { max-width: 1040px; min-height: 620px; margin: 60px auto 0; display: grid; grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; gap: clamp(55px, 8vw, 110px); animation: panelIn .4s ease both; }
.book-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.book-cover-wrap { position: relative; width: 100%; filter: drop-shadow(0 32px 38px rgba(0,0,0,.42)); }
.book-cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }
.book-number { position: absolute; right: -44px; bottom: -28px; z-index: -1; color: rgba(255,255,255,.055); font: italic 146px/1 var(--serif); }
.book-number.dark { color: rgba(255,255,255,.085); }
.status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 34px; color: #c5cbd2; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(255,255,255,.07); }
.status-available { color: #e65a75; }
.status-soon { color: #d9dce0; }
.status-preorder { margin-bottom: 28px; padding: 10px 14px; border: 1px solid rgba(246,74,108,.6); border-radius: 2px; color: #fff; background: linear-gradient(110deg, rgba(183,14,46,.88), rgba(111,8,29,.72)); box-shadow: 0 10px 28px rgba(125,5,29,.22); }
.status-preorder i { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.status-writing { color: #8993a0; }
.book-copy .overline { margin-bottom: 15px; }
.book-copy h3 { max-width: 650px; margin-bottom: 25px; font: 400 clamp(34px, 4vw, 52px)/1.1 var(--serif); letter-spacing: -.035em; }
.book-copy > p:not(.overline):not(.book-release) { max-width: 610px; color: #a7afb8; font-size: 16px; line-height: 1.85; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 31px 0 38px; }
.book-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.1); color: #8e97a0; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.book-release { margin: -13px 0 21px; padding-left: 13px; border-left: 2px solid var(--red-bright); color: #f0dfe3; font-size: 11px; font-weight: 750; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.book-release strong { color: inherit; font: inherit; }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.book-actions .button { min-height: 54px; }
.future-cover { aspect-ratio: 2 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(190,15,50,.35), transparent 32%), linear-gradient(145deg, #200610, #06090d 72%); border: 1px solid rgba(255,255,255,.13); }
.future-cover::before, .future-cover::after { content: ''; position: absolute; width: 170%; height: 1px; background: rgba(255,255,255,.12); transform: rotate(-45deg); }
.future-cover::after { transform: rotate(45deg); }
.future-art { text-align: center; z-index: 1; }
.future-art span { display: block; font: 400 30px/1 var(--serif); }
.future-art strong { display: block; color: var(--red-bright); font: italic 164px/.85 var(--serif); text-shadow: 0 0 45px rgba(220,20,60,.3); }
.future-art small { display: block; margin-top: 22px; letter-spacing: .2em; text-transform: uppercase; }

.characters { background: #e9e8e5; color: var(--ink); }
.characters .section-heading .section-kicker { color: var(--red); }
.characters .section-heading > p { color: #636970; }
.character-picker { max-width: var(--max); height: 470px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #fff; }
.character-card { position: relative; isolation: isolate; border: 0; padding: 0; overflow: hidden; cursor: pointer; text-align: left; background: #10151b; }
.character-photo { position: absolute; inset: 0; z-index: -2; background-image: url('assets/trio.png'); background-size: 300% 100%; background-repeat: no-repeat; filter: grayscale(.18) saturate(.74) contrast(1.05); transform: scale(1.015); transition: filter .4s, transform .5s; }
.photo-matthew { background-position: left center; }
.photo-isabelle { background-position: center center; }
.photo-benoit { background-position: right center; }
.character-photo.has-custom-image { background-size: cover; background-position: center 20%; }
.character-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4,7,10,.94), transparent 60%), linear-gradient(rgba(14,21,29,.1), rgba(14,21,29,.26)); transition: background .3s; }
.character-name { position: absolute; left: 27px; right: 27px; bottom: 25px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.character-name small { grid-column: 1; margin-bottom: 5px; color: #aab1b9; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.character-name strong { grid-column: 1; color: #fff; font: 400 35px/1 var(--serif); text-shadow: 0 2px 14px rgba(0,0,0,.75); }
.character-name i { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 19px; font-style: normal; font-weight: 300; transition: transform .25s, background .25s; }
.character-card:hover .character-photo, .character-card:focus-visible .character-photo, .character-card.is-active .character-photo { filter: grayscale(0) saturate(.9) contrast(1.02); transform: scale(1.05); }
.character-card.is-active .character-overlay { background: linear-gradient(to top, rgba(80,2,18,.95), transparent 66%), linear-gradient(rgba(10,16,22,0), rgba(10,16,22,.15)); }
.character-card.is-active .character-name i { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.character-card:focus-visible { outline: 3px solid var(--red-bright); outline-offset: -3px; }
.character-detail { max-width: var(--max); min-height: 230px; margin: 0 auto; padding: 46px 0 10px; display: grid; grid-template-columns: 90px 1fr minmax(260px, 380px); gap: 45px; align-items: start; border-bottom: 1px solid rgba(11,16,22,.18); }
.detail-index { color: var(--red); font: italic 52px/1 var(--serif); }
.character-detail .overline { color: #6b7177; margin-bottom: 10px; }
.character-detail h3 { margin-bottom: 12px; font: 400 39px/1 var(--serif); }
.character-detail div > p:last-child { color: #535a60; margin-bottom: 0; }
.character-detail blockquote { margin: 0; padding-left: 28px; border-left: 2px solid var(--red); color: #555b60; font: italic 20px/1.6 var(--serif); }

.final-cta { padding: clamp(90px, 11vw, 150px) 28px; position: relative; overflow: hidden; text-align: center; background-image: linear-gradient(rgba(80,2,18,.91), rgba(35,3,11,.96)), var(--trio-image); background-position: center, center 42%; background-size: cover, cover; }
.final-cta::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.13); pointer-events: none; }
.final-cta-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.final-cta .section-kicker { color: #ef9caf; }
.final-cta h2 { margin-bottom: 24px; }
.final-cta h2 em { color: #fff; }
.final-intro { max-width: 680px; margin: 0 auto 36px; }
.final-cta .final-intro p { margin: 0 auto 6px; color: #d3c7ca; }
.final-cta .final-intro strong { color: #fff; }
.final-cta [hidden] { display: none; }

footer { min-height: 150px; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; color: #707983; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand { color: #fff; text-transform: none; }
footer p { margin: 0; }

.purchase-dialog { width: min(560px, calc(100vw - 34px)); padding: 48px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; color: var(--paper); background: #10161d; box-shadow: 0 35px 100px rgba(0,0,0,.75); }
.purchase-dialog::backdrop { background: rgba(4,7,10,.8); backdrop-filter: blur(6px); }
.purchase-dialog .section-kicker { color: var(--red-bright); margin-bottom: 10px; }
.purchase-dialog h2 { margin-bottom: 15px; font: 400 38px/1.08 var(--serif); }
.purchase-dialog > p:not(.section-kicker) { color: #9ca4ad; }
.purchase-dialog[data-book="2"] { width: min(610px, calc(100vw - 34px)); }
.purchase-dialog[data-purchase-mode="all"] { width: min(940px, calc(100vw - 34px)); }
.purchase-dialog[data-book="2"] #purchase-description { max-width: 470px; color: #fff; font: 400 24px/1.35 var(--serif); }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.store-list { margin: 28px 0; border-top: 1px solid var(--line); }
.store-item { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; font: 18px/1.2 var(--serif); }
.store-item[hidden] { display: none; }
.store-item[aria-disabled="true"] { cursor: default; }
.store-item.has-link { color: #fff; }
.store-item.has-link:hover, .store-item.has-link:focus-visible { color: #f68ba1; }
.store-list small { align-self: center; color: #737c86; font: 700 9px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.store-direct { margin: 10px 0 5px; padding: 18px 16px; border: 1px solid rgba(221,31,70,.34); background: rgba(183,14,46,.09); }
.store-direct > span { display: grid; gap: 5px; }
.store-direct em { color: #aab2bb; font: italic 12px/1.3 var(--serif); }
.store-direct small { max-width: 180px; text-align: right; line-height: 1.4; }
.all-purchase-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0 24px; }
.all-purchase-panel[hidden] { display: none; }
.purchase-book-section { min-width: 0; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.025); }
.purchase-section-heading { min-height: 138px; padding: 22px; border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(135deg, rgba(183,14,46,.15), transparent 72%); }
.purchase-section-heading p { margin: 0 0 5px; color: #ff7894; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.purchase-section-heading h3 { margin: 0 0 10px; font: 400 32px/1 var(--serif); }
.purchase-section-heading > span { color: #a5adb6; font-size: 12px; }
.purchase-section-heading > span strong { color: #fff; font-weight: 700; }
.purchase-options { display: grid; }
.purchase-option { min-height: 78px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: color .2s, background .2s; }
.purchase-option:last-child { border-bottom: 0; }
.purchase-option strong { font: 400 17px/1.3 var(--serif); }
.purchase-option small { max-width: 125px; color: #77818c; font-size: 8px; font-weight: 750; letter-spacing: .1em; line-height: 1.35; text-align: right; text-transform: uppercase; }
.purchase-option-featured { background: rgba(183,14,46,.1); }
.purchase-option.has-link:hover, .purchase-option.has-link:focus-visible { color: #f68ba1; background: rgba(183,14,46,.15); }
.purchase-option.has-link small { color: #e7a5b3; }
.purchase-option[aria-disabled="true"] { cursor: default; }
.dialog-done { min-height: 44px; padding-inline: 20px; border-color: rgba(255,255,255,.18); color: #c0c7ce; background: transparent; }
.dialog-done:hover, .dialog-done:focus-visible { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(255,255,255,.05); }

.editor-launch { position: fixed; right: 22px; bottom: 22px; z-index: 45; min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; color: #fff; background: rgba(20,27,35,.94); box-shadow: 0 12px 34px rgba(0,0,0,.36); backdrop-filter: blur(10px); cursor: pointer; font-size: 11px; font-weight: 750; letter-spacing: .06em; transition: transform .2s, background .2s; }
.editor-launch:hover, .editor-launch:focus-visible { transform: translateY(-2px); background: var(--red); }
.editor-launch span { color: #ff7995; font-size: 18px; }
.editor-launch:hover span { color: #fff; }

.editor-dialog { width: min(980px, calc(100vw - 28px)); height: min(900px, calc(100svh - 28px)); max-height: none; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: var(--paper); background: #10161d; box-shadow: 0 38px 110px rgba(0,0,0,.78); overflow: hidden; }
.editor-dialog::backdrop { background: rgba(3,6,9,.82); backdrop-filter: blur(7px); }
.editor-header { min-height: 150px; display: flex; justify-content: space-between; gap: 35px; padding: 32px 38px 26px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(183,14,46,.13), transparent 55%); }
.editor-header .section-kicker { color: var(--red-bright); margin-bottom: 7px; }
.editor-header h2 { margin: 0 0 7px; font: 400 40px/1 var(--serif); }
.editor-header p:last-child { max-width: 680px; margin: 0; color: #9099a3; font-size: 12px; }
.editor-close { flex: 0 0 auto; width: 40px; height: 40px; border: 0; color: #fff; background: transparent; font-size: 29px; cursor: pointer; }
.editor-form { height: calc(100% - 263px); padding: 18px 38px 42px; overflow-y: auto; scrollbar-color: #37414c #10161d; }
.editor-form details { border-bottom: 1px solid var(--line); }
.editor-form summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 64px; cursor: pointer; font: 400 22px/1.2 var(--serif); }
.editor-form summary::-webkit-details-marker { display: none; }
.editor-form summary::after { content: '+'; color: var(--red-bright); font: 300 24px/1 var(--sans); transition: transform .2s; }
.editor-form details[open] summary::after { transform: rotate(45deg); }
.editor-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 4px 0 30px; }
.editor-fields h3 { grid-column: 1 / -1; margin: 14px 0 -5px; color: #e4e7ea; font: 400 18px/1.2 var(--serif); }
.editor-fields label, .import-field label { display: grid; gap: 7px; color: #b5bdc5; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.editor-fields label small { color: #68727d; font-size: 9px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.editor-fields input, .editor-fields textarea, .import-field input { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; padding: 12px 13px; outline: none; color: #f3f3f3; background: rgba(255,255,255,.045); font: 400 14px/1.5 var(--sans); resize: vertical; transition: border-color .2s, background .2s; }
.editor-fields input:focus, .editor-fields textarea:focus, .import-field input:focus { border-color: var(--red-bright); background: rgba(255,255,255,.065); }
.field-wide { grid-column: 1 / -1; }
.editor-fields .link-help { margin: -5px 0 3px; color: #7f8993; font-size: 11px; line-height: 1.5; }
.editor-fields .link-help strong { color: #bfc6cd; font-weight: 650; }
.editor-fields .toggle-field { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 3px; background: rgba(255,255,255,.025); cursor: pointer; }
.editor-fields .toggle-field input { appearance: none; width: 20px; height: 20px; flex: 0 0 20px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; background: rgba(255,255,255,.04); cursor: pointer; }
.editor-fields .toggle-field input:checked { border-color: var(--red-bright); background: var(--red); box-shadow: inset 0 0 0 4px #10161d; }
.editor-fields .toggle-field span { color: #c4cbd2; font-size: 11px; letter-spacing: .04em; text-transform: none; }
.image-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 4px 0 10px; }
.image-field { display: flex; min-height: 165px; flex-direction: column; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.025); }
.image-field > span { display: grid; gap: 3px; }
.image-field strong { font: 400 16px/1.25 var(--serif); }
.image-field small { color: #69737e; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.image-field input { width: 100%; color: #9ca4ad; font-size: 10px; }
.image-field input::file-selector-button { margin-right: 9px; padding: 7px 9px; border: 0; border-radius: 2px; color: #fff; background: #323b45; cursor: pointer; }
.image-field button { margin-top: auto; padding: 0; border: 0; color: #828c96; background: transparent; cursor: pointer; font-size: 10px; text-align: left; text-decoration: underline; }
.image-help { margin: 4px 0 28px; color: #69737e; font-size: 10px; }
.import-field { padding: 5px 0 28px; }
.editor-footer { min-height: 113px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 38px; border-top: 1px solid var(--line); background: #0b1016; }
.editor-footer p { max-width: 230px; margin: 0; color: #7f8994; font-size: 10px; }
.editor-footer p.is-dirty { color: #f29aad; }
.editor-actions { display: flex; align-items: center; gap: 9px; }
.editor-actions .button { min-height: 44px; padding: 0 15px; font-size: 10px; }
.editor-reset { color: #858e98; border-color: transparent; background: transparent; }
.editor-save { color: #fff; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(82%, 520px); justify-self: center; }
  .series-heading { grid-template-columns: 1fr; gap: 28px; }
  .book-panel { grid-template-columns: minmax(220px, 300px) 1fr; gap: 55px; }
  .character-detail { grid-template-columns: 60px 1fr; }
  .character-detail blockquote { grid-column: 2; }
  footer { padding: 40px 28px; grid-template-columns: 1fr auto; }
  footer p:first-of-type { display: none; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 68px; padding: 0 20px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .navigation { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 30px; background: rgba(8,12,17,.98); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s, visibility .2s, transform .2s; }
  .navigation.is-open { opacity: 1; visibility: visible; transform: none; }
  .navigation a, .navigation button { font: 34px/1.2 var(--serif); letter-spacing: 0; }
  .hero { padding: 112px 22px 70px; gap: 60px; }
  h1 { font-size: clamp(58px, 18vw, 82px); }
  .hero-actions { grid-template-columns: 1fr; gap: 12px; }
  .hero-actions #hero-purchase-button { width: 100%; }
  .hero-visual { width: calc(100% - 20px); }
  .section { padding: 90px 22px; }
  .series { display: block; }
  .series-heading { display: block; }
  .series-heading > p { margin-top: 28px; }
  .section-heading { display: block; margin-bottom: 42px; }
  .section-heading > p { margin-top: 20px; }
  .book-tabs button { padding: 0 12px; font-size: 9px; text-align: center; }
  .book-tabs button span { display: block; margin: 0; font-size: 15px; }
  .book-panel { min-height: 0; grid-template-columns: 1fr; gap: 55px; margin-top: 48px; }
  .book-cover-wrap { width: min(78%, 330px); justify-self: center; }
  .book-copy h3 { font-size: 38px; }
  .book-actions { display: grid; }
  .book-actions .button { width: 100%; padding: 14px 18px; text-align: center; }
  .character-picker { height: auto; grid-template-columns: 1fr; background: transparent; gap: 8px; }
  .character-card { height: 152px; }
  .character-photo { background-size: 300% auto; background-position-y: 24%; }
  .photo-matthew { background-position-x: left; }
  .photo-isabelle { background-position-x: center; }
  .photo-benoit { background-position-x: right; }
  .character-photo.has-custom-image { background-size: cover; background-position: center 20%; }
  .character-detail { grid-template-columns: 42px 1fr; gap: 18px; padding-top: 36px; }
  .character-detail blockquote { grid-column: 1 / -1; margin-top: 12px; }
  .purchase-dialog { padding: 42px 24px 28px; }
  .all-purchase-panel { grid-template-columns: 1fr; }
  .purchase-section-heading { min-height: 0; }
  .purchase-option { grid-template-columns: 1fr; gap: 7px; }
  .purchase-option small { max-width: none; text-align: left; }
  .store-direct { align-items: flex-start; flex-direction: column; gap: 14px; }
  .store-direct small { max-width: none; text-align: left; }
  .editor-launch { right: 14px; bottom: 14px; min-height: 42px; }
  .editor-dialog { width: calc(100vw - 12px); height: calc(100svh - 12px); }
  .editor-header { min-height: 158px; padding: 25px 20px 20px; }
  .editor-header h2 { font-size: 34px; }
  .editor-header p:last-child { font-size: 10px; }
  .editor-form { height: calc(100% - 296px); padding: 10px 20px 35px; }
  .editor-form summary { min-height: 58px; font-size: 19px; }
  .editor-fields, .image-fields { grid-template-columns: 1fr; }
  .editor-fields h3, .field-wide { grid-column: 1; }
  .image-field { min-height: 145px; }
  .editor-footer { min-height: 138px; align-items: stretch; flex-direction: column; padding: 14px 20px 17px; }
  .editor-footer p { max-width: none; }
  .editor-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .editor-actions .button-primary { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
