:root {
  --ink: #17134b;
  --accent: #e97627;
  --accent-dark: #b84f13;
  --paper: #fffaf3;
  --soft: #f3eadf;
  --line: #d9c8b7;
  --white: #fff;
  --shadow: 0 18px 50px rgba(35, 25, 61, .14);
  --header-nav-item-width: 168px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 Georgia, serif; }
a { color: inherit; }
button, .button { font: 700 1rem/1.2 system-ui, sans-serif; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
body.wp-theme-guy-wathieu-explorateur .site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,250,243,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
body.admin-bar.wp-theme-guy-wathieu-explorateur .site-header { top: 32px; }
.header-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 74px; }
.brand { text-decoration: none; font-size: 1.25rem; font-weight: 700; }
.author-brand { display: inline-flex; flex: 0 0 260px; max-width: 260px; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.author-brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.author-brand-symbol { flex: 0 0 auto; width: auto; height: 64px; }
.author-brand-text { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 1px; }
.author-brand-name { color: #08265f; white-space: nowrap; font: 400 30px/1 Georgia, "Times New Roman", serif; }
.author-brand-tagline { color: #315f86; white-space: nowrap; font: italic 18px/1.15 Georgia, "Times New Roman", serif; }
.nav { display: flex; flex-wrap: wrap; gap: 6px; }
.nav a { box-sizing: border-box; display: inline-flex; flex: 0 0 var(--header-nav-item-width); align-items: center; justify-content: center; width: var(--header-nav-item-width); min-height: 36px; padding: 7px 10px; border-radius: 999px; text-align: center; text-decoration: none; white-space: nowrap; font: 600 .84rem system-ui, sans-serif; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--white); background: var(--ink); }
main { overflow: hidden; }
.catalog { padding: 34px 0 64px; background: linear-gradient(145deg, #fff8ef, #eee6fb); }
.panel-placeholder { min-height: clamp(230px, 36vw, 420px); display: grid; place-items: center; padding: 32px; border: 2px dashed #7f7294; border-radius: 24px; background: rgba(255,255,255,.66); text-align: center; box-shadow: var(--shadow); }
.panel-placeholder strong { font: 800 clamp(1.25rem, 3vw, 2.2rem)/1.2 system-ui, sans-serif; }
.fr-book-panel { --fr-book-1-x: 17.31%; --fr-book-2-x: 50%; --fr-book-3-x: 82.69%; --fr-arrow-1-x: 33.65%; --fr-arrow-2-x: 66.35%; padding: clamp(18px, 3vw, 32px); border-radius: 24px; color: var(--white); background: var(--ink); text-align: center; }
.fr-book-panel__title { font: 800 clamp(1.1rem, 2.4vw, 1.65rem)/1.2 system-ui, sans-serif; }
.fr-book-panel__stage { width: 100%; max-width: 1100px; margin-inline: auto; }
.fr-book-panel__sequence { position: relative; width: 100%; min-height: clamp(34px, 5vw, 52px); white-space: nowrap; font: 800 clamp(1rem, 3.2vw, 1.8rem)/1 system-ui, sans-serif; }
.fr-book-panel__marker { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.fr-book-panel__marker--book-1 { left: var(--fr-book-1-x); }
.fr-book-panel__marker--book-2 { left: var(--fr-book-2-x); }
.fr-book-panel__marker--book-3 { left: var(--fr-book-3-x); }
.fr-book-panel__marker--arrow-1 { left: var(--fr-arrow-1-x); }
.fr-book-panel__marker--arrow-2 { left: var(--fr-arrow-2-x); }
.fr-book-panel__image { display: block; width: 100%; height: auto; margin: 4px auto; object-fit: contain; }
.en-book-panel { --en-book-1-x: 17.32%; --en-book-2-x: 50%; --en-book-3-x: 82.68%; --en-arrow-1-x: 33.66%; --en-arrow-2-x: 66.34%; padding: clamp(18px, 3vw, 32px); border-radius: 24px; color: var(--white); background: var(--ink); text-align: center; }
.en-book-panel__title { font: 800 clamp(1.1rem, 2.4vw, 1.65rem)/1.2 system-ui, sans-serif; }
.en-book-panel__stage { width: 100%; max-width: 1100px; margin-inline: auto; }
.en-book-panel__sequence { position: relative; width: 100%; min-height: clamp(34px, 5vw, 52px); white-space: nowrap; font: 800 clamp(1rem, 3.2vw, 1.8rem)/1 system-ui, sans-serif; }
.en-book-panel__marker { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.en-book-panel__marker--book-1 { left: var(--en-book-1-x); }
.en-book-panel__marker--book-2 { left: var(--en-book-2-x); }
.en-book-panel__marker--book-3 { left: var(--en-book-3-x); }
.en-book-panel__marker--arrow-1 { left: var(--en-arrow-1-x); }
.en-book-panel__marker--arrow-2 { left: var(--en-arrow-2-x); }
.en-book-panel__image { display: block; width: 100%; height: auto; margin: 4px auto; object-fit: contain; }
.lb-book-panel { --lb-book-1-x: 17.31%; --lb-book-2-x: 50%; --lb-book-3-x: 82.69%; --lb-arrow-1-x: 33.65%; --lb-arrow-2-x: 66.35%; padding: clamp(18px, 3vw, 32px); border-radius: 24px; color: var(--white); background: var(--ink); text-align: center; }
.lb-book-panel__title { font: 800 clamp(1.1rem, 2.4vw, 1.65rem)/1.2 system-ui, sans-serif; }
.lb-book-panel__stage { width: 100%; max-width: 1100px; margin-inline: auto; }
.lb-book-panel__sequence { position: relative; width: 100%; min-height: clamp(34px, 5vw, 52px); white-space: nowrap; font: 800 clamp(1rem, 3.2vw, 1.8rem)/1 system-ui, sans-serif; }
.lb-book-panel__marker { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.lb-book-panel__marker--book-1 { left: var(--lb-book-1-x); }
.lb-book-panel__marker--book-2 { left: var(--lb-book-2-x); }
.lb-book-panel__marker--book-3 { left: var(--lb-book-3-x); }
.lb-book-panel__marker--arrow-1 { left: var(--lb-arrow-1-x); }
.lb-book-panel__marker--arrow-2 { left: var(--lb-arrow-2-x); }
.lb-book-panel__image { display: block; width: 100%; height: auto; margin: 4px auto; object-fit: contain; }
.ko-book-panel { --ko-book-1-x: 17.31%; --ko-book-2-x: 50%; --ko-book-3-x: 82.69%; --ko-arrow-1-x: 33.65%; --ko-arrow-2-x: 66.35%; padding: clamp(18px, 3vw, 32px); border-radius: 24px; color: var(--white); background: var(--ink); text-align: center; }
.ko-book-panel__title { font: 800 clamp(1.1rem, 2.4vw, 1.65rem)/1.2 system-ui, sans-serif; }
.ko-book-panel__stage { width: 100%; max-width: 1100px; margin-inline: auto; }
.ko-book-panel__sequence { position: relative; width: 100%; min-height: clamp(34px, 5vw, 52px); white-space: nowrap; font: 800 clamp(1rem, 3.2vw, 1.8rem)/1 system-ui, sans-serif; }
.ko-book-panel__marker { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ko-book-panel__marker--book-1 { left: var(--ko-book-1-x); }
.ko-book-panel__marker--book-2 { left: var(--ko-book-2-x); }
.ko-book-panel__marker--book-3 { left: var(--ko-book-3-x); }
.ko-book-panel__marker--arrow-1 { left: var(--ko-arrow-1-x); }
.ko-book-panel__marker--arrow-2 { left: var(--ko-arrow-2-x); }
.ko-book-panel__image { display: block; width: 100%; height: auto; margin: 4px auto; object-fit: contain; }
.books-composite { position: relative; width: 100%; margin: 4px auto; isolation: isolate; }
.books-composite > img { margin: 0; }
body.wp-theme-guy-wathieu-explorateur .book-cover-hotspot { position: absolute; z-index: 1; padding: 0; border: 0; border-radius: 2px; background: transparent; box-shadow: none; color: inherit; font: inherit; cursor: pointer; overflow: hidden; transform: rotate(var(--cover-rotation)); transform-origin: center; transition: transform 180ms ease; }
body.wp-theme-guy-wathieu-explorateur .book-cover-hotspot--1 { --cover-rotation: -7deg; left: 3%; top: 6%; width: 28.5%; height: 88%; }
body.wp-theme-guy-wathieu-explorateur .book-cover-hotspot--2 { --cover-rotation: 0deg; left: 36.5%; top: 3%; width: 27%; height: 83%; }
body.wp-theme-guy-wathieu-explorateur .book-cover-hotspot--3 { --cover-rotation: 7deg; left: 68.5%; top: 6%; width: 28.5%; height: 88%; }
body.wp-theme-guy-wathieu-explorateur .book-cover-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(.4rem, 1.5vw, 1rem); background: rgba(0, 0, 0, .22); color: #fff; font-weight: 700; font-size: clamp(.65rem, 1.8vw, 1rem); line-height: 1.25; text-align: center; text-shadow: 0 2px 5px rgb(0 0 0 / 80%); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.book-cover-hotspot:hover,
.book-cover-hotspot:focus-visible { z-index: 2; transform: rotate(var(--cover-rotation)) scale(1.015); }
.book-cover-hotspot:hover .book-cover-overlay,
.book-cover-hotspot:focus-visible .book-cover-overlay { opacity: 1; }
.book-cover-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (hover: none) {
  .book-cover-hotspot:not(:focus-visible) .book-cover-overlay { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .book-cover-hotspot,
  .book-cover-overlay { transition: none; }
  .book-cover-hotspot:hover,
  .book-cover-hotspot:focus-visible { transform: rotate(var(--cover-rotation)); }
}
.directions { margin: 22px auto 14px; max-width: 780px; text-align: center; font-size: 1.05rem; }
.series-row { text-align: center; margin: 18px 0 26px; }
body.wp-theme-guy-wathieu-explorateur .button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 18px; border: 2px solid var(--ink); border-radius: 999px; color: var(--white); background: var(--ink); box-shadow: none; font: 700 1rem/1.2 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
body.wp-theme-guy-wathieu-explorateur .button:hover,
body.wp-theme-guy-wathieu-explorateur .button:focus-visible { color: var(--white); background: var(--accent-dark); border-color: var(--accent-dark); }
body.wp-theme-guy-wathieu-explorateur .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
body.wp-theme-guy-wathieu-explorateur .button.secondary { color: var(--ink); background: var(--white); }
body.wp-theme-guy-wathieu-explorateur .button[disabled] { color: #625d69; background: #ded9d3; border-color: #aaa39c; cursor: not-allowed; }
.book-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.book-group { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-align: center; box-shadow: 0 8px 24px rgba(35,25,61,.08); }
.book-number { width: 34px; height: 34px; display: grid; place-items: center; margin: -4px auto 8px; border-radius: 50%; color: var(--white); background: var(--ink); font: 800 1rem system-ui, sans-serif; }
.book-group h2 { min-height: 2.8em; margin: 0 0 14px; font-size: 1.15rem; line-height: 1.35; }
.button-pair { display: grid; gap: 9px; }
.section { padding: 72px 0; }
.section:nth-child(even) { background: var(--soft); }
body.wp-theme-guy-wathieu-explorateur .section h1,
body.wp-theme-guy-wathieu-explorateur .section h2 { margin-top: 0; color: var(--ink); font: 800 clamp(1.7rem, 4vw, 2.7rem)/1.15 system-ui, sans-serif; }
.author-landscape { width: 100%; margin: 1.25rem 0 1.5rem; overflow: hidden; border-radius: 24px; }
.author-landscape img { display: block; width: 100%; height: 470px; object-fit: cover; object-position: center bottom; }
.author-section { position: relative; z-index: 2; padding-bottom: 24px; overflow: visible; }
.author-bio-layout { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.author-bio-copy { grid-column: 2; min-width: 0; }
.author-mascot { position: absolute; top: -48px; left: 0; z-index: 3; display: flex; justify-content: center; align-items: flex-end; width: 300px; pointer-events: none; }
.author-mascot img { display: block; width: auto; max-width: 100%; height: 370px; object-fit: contain; }
.author-section + .section { margin-top: -60px; padding-top: 132px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { padding: 22px; border-radius: 16px; background: var(--white); }
.notice, .placeholder { padding: 16px 18px; border-left: 5px solid var(--accent); background: #fff3d8; }
.contact-link { font-weight: 700; }
.author-profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.author-profile-link { display: grid; grid-template-columns: 36px minmax(0, 1fr); flex: 0 0 calc(var(--header-nav-item-width) - 8px); width: calc(var(--header-nav-item-width) - 8px); height: 36px; overflow: hidden; color: var(--white); background: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font: 600 .84rem/1.2 system-ui, sans-serif; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.author-profile-logo, .author-profile-button { display: flex; align-items: center; justify-content: center; height: 100%; box-sizing: border-box; }
.author-profile-logo { padding: 6px; background: var(--white); }
.author-profile-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; }
.author-profile-button { min-width: 0; padding: 0 8px; text-align: center; }
.author-profile-link:hover { color: var(--white); background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.author-profile-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-footer { padding: 28px 0; color: var(--white); background: var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(14,10,35,.72); }
.modal-card { width: min(720px, 100%); max-height: min(86vh, 820px); overflow: auto; position: relative; padding: clamp(24px, 5vw, 44px); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.modal-card h2 { padding-right: 42px; font: 800 1.8rem/1.2 system-ui, sans-serif; }
.modal-card h3 { margin-top: 28px; font: 800 1.2rem system-ui, sans-serif; }
body.wp-theme-guy-wathieu-explorateur .modal-card .modal-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; appearance: none; cursor: pointer; font: 700 2rem/1 system-ui, sans-serif; }
body.wp-theme-guy-wathieu-explorateur .modal-card .modal-close:hover { color: var(--accent-dark); background: transparent; }
body.wp-theme-guy-wathieu-explorateur .modal-card .modal-close:focus-visible { color: var(--ink); background: transparent; outline: 3px solid var(--accent); outline-offset: 2px; }
.legal { padding: 46px 0 80px; }
.legal h1, .legal h2 { font-family: system-ui, sans-serif; line-height: 1.2; }
.legal .legal-page-title { margin-block: .67em; font-size: 2em; }
.check { padding: 14px 16px; border: 2px solid #a33; background: #fff0f0; }
body.modal-open { overflow: hidden; }

@media screen and (max-width: 782px) {
  body.admin-bar.wp-theme-guy-wathieu-explorateur .site-header { top: 46px; }
}

@media (max-width: 850px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .author-brand { flex-basis: auto; width: min(100%, 260px); }
  .author-brand-symbol { height: 58px; }
  .author-brand-name { font-size: 28px; }
  .author-brand-tagline { font-size: 17px; }
  .nav { width: 100%; }
  .book-actions { grid-template-columns: 1fr; }
  .book-group h2 { min-height: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .author-landscape img { height: 380px; }
  .author-bio-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; }
  .author-mascot { position: static; grid-column: 1; width: 220px; align-self: end; }
  .author-mascot img { height: 300px; }
  .author-section + .section { margin-top: 0; padding-top: 72px; }
  .author-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 160px)); }
  .author-profile-link { width: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 22px, 1180px); }
  .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { width: 100%; min-width: 0; padding: 6px 8px; font-size: .77rem; }
  .author-brand { gap: 9px; }
  .author-brand-symbol { height: 54px; }
  .author-brand-name { font-size: 26px; }
  .author-brand-tagline { font-size: 17px; }
  .values { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .fr-book-panel { padding: 14px 8px; }
  .fr-book-panel__sequence { min-height: 30px; }
  .fr-book-panel__image { margin-block: 2px; }
  .en-book-panel { padding: 14px 8px; }
  .en-book-panel__sequence { min-height: 30px; }
  .en-book-panel__image { margin-block: 2px; }
  .lb-book-panel { padding: 14px 8px; }
  .lb-book-panel__sequence { min-height: 30px; }
  .lb-book-panel__image { margin-block: 2px; }
  .ko-book-panel { padding: 14px 8px; }
  .ko-book-panel__sequence { min-height: 30px; }
  .ko-book-panel__image { margin-block: 2px; }
  .books-composite { margin-block: 2px; }
  .author-landscape img { height: auto; aspect-ratio: 16 / 9; object-position: center; }
  .author-bio-layout { grid-template-columns: 1fr; gap: .75rem; }
  .author-bio-copy { grid-column: 1; }
  .author-mascot { width: 100%; }
  .author-mascot img { height: 240px; }
  .author-section + .section { padding-top: 52px; }
  .button { width: 100%; }
  .author-profiles { grid-template-columns: repeat(2, minmax(0, 160px)); }
  .author-profile-link { min-width: 0; }
}
@media (max-width: 360px) {
  .nav { grid-template-columns: 1fr; }
  .author-profiles { grid-template-columns: minmax(0, 160px); }
  .author-brand-symbol { height: 50px; }
  .author-brand-name { font-size: 24px; }
  .author-brand-tagline { font-size: 16px; }
}
.nav a.legal-language-active {
  color: var(--white);
  background: var(--ink);
}
