:root { --ink:#26514e; --paper:#e0ded6; --lime:#d4ff53; --body-size:18px; --body-leading:1.65; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'IBM Plex Serif', Georgia, serif; font-size:var(--body-size); line-height:var(--body-leading); font-weight:500; }
body::before { content:''; position:fixed; inset:0; background:url('assets/paper-base.png') center/cover; opacity:.3; pointer-events:none; z-index:-1; }
button,a { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible { outline:3px solid var(--ink); outline-offset:5px; }
.skip-link { position:fixed; left:20px; top:-100px; z-index:10; background:var(--lime); color:var(--ink); padding:12px; }
.skip-link:focus { top:10px; }
.hero-paper { position:relative; margin:20px auto 0; width:calc(100% - 50px); max-width:1580px; min-height:759px; overflow:hidden; background:url('assets/paper-grid.png') left top/100% auto; box-shadow:0 8px 12px #00000040; transform-origin:center top; }
.hero-inner { padding:0 74px; position:relative; z-index:1; }
.paper-accent { position:absolute; left:-64px; top:-188px; pointer-events:none; z-index:0; mix-blend-mode: multiply;filter: contrast(1.05) saturate(0.95); opacity:.9;}
.paper-accent img { display:block; max-width:none; }
.masthead { padding-top:55px; padding-bottom:37px; gap:30px; }
.wordmark { display:flex; align-items:baseline; justify-content:space-between; gap:18px; width:266px; flex-shrink:0; color:var(--ink); text-decoration:none; line-height:.9; }
.wordmark span:first-child { font-family:'Pixelify Sans',sans-serif; font-size:56px; }
.wordmark span:last-child { font-family:'Piazzolla',serif; font-size:51px; font-weight:500; }
.nav-preview ul { gap:clamp(18px,2.75vw,40px); font-size:18px; font-weight:500; white-space:nowrap; }
.rule-wrap { overflow:hidden; height:2px; }
.rule-wrap img { display:block; max-width:none; }
.hero-body { padding-top:55px; }
.character-column { position:relative; }
.character-stage { position:relative; height:490px; width:100%; }
.speech-bubble { position:absolute; top:5px; left:50%; margin-left:0; padding:14px 24px; background:white; border-radius:48px; font-size:24px; line-height:1.3; font-weight:500; white-space:nowrap; z-index:2; }
.speech-bubble::after { content:""; position:absolute; left:24px; top:calc(100% - 8px); width:32px; height:32px; background:white; clip-path:polygon(0 0,100% 0,0 100%); pointer-events:none; }
.fabrice { display:block; position:absolute; height:399px; width:auto; left:calc(50% - 116px); top:88px; max-width:none;mix-blend-mode: multiply;filter: contrast(1.05) saturate(0.95); opacity:.92; }
.intro-copy { padding-top:45px; padding-left:58px; }
h1 { font-size:clamp(54px,5.56vw,88px); line-height:.9; font-weight:600; letter-spacing:-.025em; margin:0 0 30px; max-width:800px; }
.intro-copy p { font-size:var(--body-size); line-height:var(--body-leading); font-weight:500; margin:0; max-width:60ch; }
.mobile-menu,.mobile-nav { display:none; }
.review-panel { max-width:1290px; display:flex; align-items:center; justify-content:space-between; gap:30px; margin-top:40px; padding:0 25px 90px; }
.review-label { font-family:'Pixelify Sans',sans-serif; font-size:19px; margin:0 0 7px; }
.review-description { font-size:16px; margin:0; }
.review-button { border:1px solid #26514e66; color:var(--ink); border-radius:0; padding:11px 16px; font-family:inherit; font-size:14px; background:#f5f4ee70; }
.review-button:hover,.review-button[aria-pressed=true] { background:var(--ink); color:var(--paper); }
.review-button:disabled { border-color:#26514e66; color:var(--ink); opacity:.45; }
@media(min-width:1600px) { .hero-paper { min-height:800px; } }
@media(max-width:1250px) and (min-width:992px) {
 .hero-inner { padding:0 45px; } .wordmark { width:220px; } .wordmark span:first-child { font-size:46px; } .wordmark span:last-child { font-size:43px; }
 .nav-preview ul { gap:18px; font-size:15px; } .intro-copy { padding-left:35px; }
 .fabrice { height:365px; top:110px; left:calc(50% - 105px); }
 .speech-bubble { font-size:21px; padding:12px 20px; left:40%; }
}
@media(max-width:991px) {
 .hero-paper { width:calc(100% - 28px); margin-top:14px; min-height:0; }
 .hero-inner { padding:0 28px; } .masthead { padding:34px 0 26px; }
 .wordmark { width:auto; gap:12px; } .wordmark span:first-child { font-size:42px; } .wordmark span:last-child { font-size:39px; }
 .nav-preview { display:none; } .mobile-menu { display:flex; align-items:center; gap:10px; background:none; border:0; padding:6px 0 6px 10px; color:var(--ink); font-size:16px; }
 .mobile-nav:not([hidden]) { display:block; padding:0 0 15px; font-size:16px; line-height:1.7; } .mobile-nav p { margin:0; }
 .paper-accent { top:0; left:0; width:100%; height:125px; overflow:hidden; }
 .paper-accent img { transform:translate(-250px,-160px) scale(.65); transform-origin:0 0; }
 .hero-body { padding:35px 0 45px; } .intro-copy { padding:0; order:0; } .character-column { order:1; margin-top:25px; }
 h1 { font-size:clamp(44px,7.7vw,70px); line-height:.98; margin-bottom:24px; max-width:650px; }
 .intro-copy p { max-width:60ch; }
 .character-stage { max-width:380px; height:375px; margin:auto; }
 .fabrice { height:295px; top:76px; left:calc(50% - 108px); }
 .speech-bubble { font-size:19px; top:0; left:46%; padding:11px 19px; }
 .speech-bubble::after { width:26px; height:26px; }

 .review-panel { flex-direction:column; align-items:flex-start; margin-top:30px; padding:0 42px 55px; gap:20px; }
}
@media(max-width:420px) { .hero-inner { padding:0 20px; } .wordmark span:first-child { font-size:36px; } .wordmark span:last-child { font-size:34px; } h1 { font-size:43px; } .character-stage { height:365px; } .review-panel { padding:0 34px 55px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Refined navbar scale, scoped separately from the footer branding. */
.masthead { padding-top:50px; padding-bottom:32px; }
.masthead .wordmark { width:220px; gap:14px; }
.masthead .wordmark span:first-child { font-size:46px; }
.masthead .wordmark span:last-child { font-size:42px; }
.nav-preview ul { font-size:16px; gap:clamp(18px,2vw,30px); }
@media(max-width:1250px) and (min-width:992px) {
 .masthead .wordmark { width:190px; }
 .masthead .wordmark span:first-child { font-size:40px; }
 .masthead .wordmark span:last-child { font-size:37px; }
 .nav-preview ul { font-size:14px; gap:18px; }
}
@media(max-width:991px) {
 .masthead { padding-top:30px; padding-bottom:24px; }
 .masthead .wordmark { width:auto; gap:11px; }
 .masthead .wordmark span:first-child { font-size:36px; }
 .masthead .wordmark span:last-child { font-size:33px; }
 .mobile-menu,.mobile-nav:not([hidden]) { font-size:15px; }
}
@media(max-width:420px) {
 .masthead .wordmark span:first-child { font-size:32px; }
 .masthead .wordmark span:last-child { font-size:30px; }
}

/* A compact hero with vertically centred, left-aligned copy beside the character. */
@media(min-width:992px) {
 .hero-paper { min-height:680px; }
 .hero-body { padding-top:35px; padding-bottom:28px; align-items:center; }
 .character-stage { height:450px; }
 .fabrice { height:365px; top:68px; left:calc(50% - 106px); }
 .speech-bubble { top:0; }
 .intro-copy { padding-top:0; padding-left:40px; align-self:center; text-align:left; }
 .intro-copy h1,.intro-copy p { margin-left:0; margin-right:0; }
}
@media(min-width:1600px) { .hero-paper { min-height:720px; } }
@media(min-width:768px) and (max-width:991px) {
 .hero-body { padding:28px 0 32px; align-items:center; }
 .character-column { order:0; margin-top:0; }
 .character-stage { height:345px; }
 .fabrice { height:270px; top:60px; left:calc(50% - 83px); }
 .speech-bubble { top:0; left:36%; font-size:18px; padding:10px 16px; }
 .intro-copy { order:1; padding-left:28px; text-align:left; align-self:center; }
 .intro-copy h1 { font-size:clamp(42px,5.3vw,54px); margin-left:0; margin-right:0; }
 .intro-copy p { margin-left:0; margin-right:0; }
}
@media(max-width:767px) {
 .hero-body { padding:28px 0 30px; }
 .character-column { margin-top:18px; }
 .character-stage { height:345px; }
 .fabrice { height:285px; top:58px; }
}
/* A shorter attached tail leaves a small breathing gap above Fabrice's head. */
.speech-bubble::after { width:26px; height:23px; }
@media(min-width:992px) and (max-width:1250px) { .speech-bubble { top:7px; } }
@media(min-width:768px) and (max-width:991px) { .speech-bubble::after { width:24px; height:22px; } }
@media(max-width:767px) { .speech-bubble::after { width:24px; height:21px; } }

/* A small pinned note invites speaking enquiries from the introduction. */
.speaker-invitation { position:relative; display:inline-flex; align-items:center; gap:18px; max-width:100%; margin:32px 0 0 3px; padding:22px 22px 18px; background:linear-gradient(115deg,#d7ff6999,#d7ff69dd),url('assets/paper-grid.png') center/350px; color:var(--ink); font-size:18px; font-weight:600; line-height:1.35; text-decoration:none; border-radius:1px 2px 2px 1px; box-shadow:0 1px 1px #183b3820,3px 6px 7px -3px #183b3840; transform:rotate(-2deg); transform-origin:28px 0; transition:transform .25s ease,box-shadow .25s ease; }
.speaker-invitation .invitation-arrow { width:20px; height:20px; flex-shrink:0; }
.speaker-invitation .invitation-pin { position:absolute; width:30px; height:38px; left:13px; top:-16px; pointer-events:none; filter:drop-shadow(1px 2px 1px #183b3830); }
.speaker-invitation:hover { color:var(--ink); transform:rotate(-.5deg) translateY(-1px); box-shadow:0 1px 1px #183b3820,5px 9px 10px -3px #183b3845; }
.speaker-invitation:hover span { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:575px) { .speaker-invitation { font-size:17px; padding:21px 19px 17px; margin-top:30px; } }
@media(prefers-reduced-motion:reduce) { .speaker-invitation { transition:none; }.speaker-invitation:hover { transform:rotate(-2deg); } }

/* On phones the invitation follows the character, keeping one shared CTA. */
@media(max-width:767px) {
 .hero-body .intro-copy { display:contents; }
 .hero-body .intro-copy h1,.hero-body .intro-copy p { order:0; width:100%; }
 .hero-body .character-column { order:1; }
 .hero-body .speaker-invitation { order:2; width:fit-content; max-width:calc(100% - 8px); margin:28px auto 8px; }
}
