@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&display=swap');

:root {
  --ink: #182a25;
  --ink-soft: #466059;
  --paper: #f6efe3;
  --paper-deep: #ebe2d0;
  --cream: #f6efe3;
  --sage: #f6efe3;
  --sage-deep: #e5dcc8;
  --terracotta: #a84f38;
  --terracotta-dark: #853728;
  --page-inner: #f6efe3;
  --gold: #c79b55;
  --gold-bright: #e0c078;
  --leather: #3b1410;
  --leather-mid: #5c1f18;
  --leather-deep: #1f0a08;
  --check-red: #b71c1c;
  --check-cream: #f4efe6;
  --line: rgba(24, 42, 37, 0.18);
  --white: #fffdf8;
  --shadow: 0 28px 70px rgba(9, 25, 21, 0.26);
  --menu-h: 720px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  background-color: var(--check-cream);
}
body::before {
  content: '';
  position: fixed;
  inset: -40%;
  pointer-events: none;
  z-index: 0;
  background-color: var(--check-cream);
  background-image:
    linear-gradient(45deg, var(--check-red) 25%, transparent 25%, transparent 75%, var(--check-red) 75%, var(--check-red)),
    linear-gradient(45deg, var(--check-red) 25%, transparent 25%, transparent 75%, var(--check-red) 75%, var(--check-red));
  background-size: 128px 128px;
  background-position: 0 0, 64px 64px;
  transform: rotate(-18deg);
  transform-origin: center center;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(180deg, rgba(244,239,230,.5), rgba(244,239,230,.68));
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(199, 155, 85, .65); outline-offset: 4px; }

.ambient { display: none; }
.site-header {
  height: 72px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f7f0e5;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, rgba(31,10,8,.92), rgba(59,20,16,.88));
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(31,10,8,.25);
}
.mini-brand { display: inline-flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.mini-brand em { color: #c79b55; font-style: normal; font-weight: 400; }
.mini-brand-mark { width: 25px; height: 25px; border: 1px solid #c79b55; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 15px; color: #e6bc79; }
.header-note { font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #d6b8a0; }
.status-dot { display: inline-block; height: 6px; width: 6px; border-radius: 50%; background: #c79b55; margin: 0 7px 1px 0; box-shadow: 0 0 0 4px rgba(199,155,85,.12); }

.experience { width: min(1280px, calc(100% - 32px)); margin: 0 auto; padding: 8px 0 36px; position: relative; z-index: 1; }
.intro-line { display: flex; align-items: center; gap: 16px; color: #5c2a22; margin: 0 auto 14px; max-width: 1180px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .11em; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.line-rule { height: 1px; flex: 1; background: rgba(183,28,28,.35); }
.line-label-right { color: #7a3a30; }
.book-shell {
  width: min(1180px, 100%);
  margin: auto;
  position: relative;
  padding-left: 28px;
  padding-bottom: 36px;
}
.menu-plate {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(92%, 980px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.menu-plate-rim,
.menu-plate-well {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.menu-plate-rim {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0%, #fffcfa 55%, #f7f4f0 100%);
  box-shadow:
    0 10px 28px rgba(40, 18, 10, .16),
    inset 0 0 0 3px #b71c1c,
    inset 0 0 0 6px #ffffff,
    inset 0 0 0 8px rgba(183, 28, 28, .55);
}
.menu-plate-rim::before {
  content: '';
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 2px solid #b71c1c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.menu-plate-well {
  inset: 16%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0%, #fdfcfa 60%, #f5f2ee 100%);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, .03);
}
.menu-dos {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 30px;
  z-index: 3;
  border-radius: 8px 0 0 8px;
  background:
    linear-gradient(90deg, #1a0806 0%, var(--leather-mid) 35%, var(--leather) 55%, #2a0f0c 100%);
  box-shadow:
    inset 2px 0 0 rgba(224,192,120,.35),
    inset -3px 0 8px rgba(0,0,0,.45),
    4px 0 14px rgba(31,10,8,.35);
}
.menu-dos-ribs {
  position: absolute;
  inset: 14% 7px;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 18%,
      rgba(0,0,0,.28) 18% 19%,
      rgba(224,192,120,.22) 19% 20%,
      transparent 20% 100%
    );
  opacity: .9;
  pointer-events: none;
}
.menu-coiffe {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 14px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, #e8c878, #b8923f 45%, #8a6a28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 1px 3px rgba(0,0,0,.45);
  z-index: 2;
}
.menu-coiffe--top { top: 8px; }
.menu-coiffe--bottom { bottom: 8px; }
.menu-back-cover {
  position: absolute;
  z-index: 0;
  inset: 10px 0 10px 18px;
  border-radius: 4px 12px 12px 4px;
  background:
    linear-gradient(145deg, var(--leather-mid), var(--leather-deep));
  box-shadow:
    inset 0 0 0 2px rgba(224,192,120,.4),
    14px 18px 40px rgba(31,10,8,.35);
  transform: translate(10px, 6px) rotate(.6deg);
}
.book { position: relative; width: 100%; height: min(720px, calc(100vh - 175px)); min-height: 590px; perspective: 2400px; transform-style: preserve-3d; z-index: 2; }
.book-shadow { position: absolute; z-index: 0; inset: 4% 2% -5%; background: rgba(0,0,0,.42); filter: blur(22px); transform: rotate(-1deg); border-radius: 12px; }
.page { position: absolute; inset: 0; overflow: hidden; border-radius: 4px 12px 12px 4px; box-shadow: 8px 5px 0 rgba(11, 27, 22, .08), var(--shadow); transform-origin: left center; transform-style: preserve-3d; backface-visibility: hidden; transition: transform .9s cubic-bezier(.72, .01, .28, 1), box-shadow .6s ease; will-change: transform; }
.page.turned { transform: rotateY(-180deg); box-shadow: -2px 3px 0 rgba(11, 27, 22, .08), -16px 20px 55px rgba(9, 25, 21, .08); }
.page:not(.turned) { box-shadow: 8px 5px 0 rgba(11, 27, 22, .08), var(--shadow); }
.page:nth-child(1) { --page-index: 0; z-index: 20; }
.page:nth-child(2) { --page-index: 1; z-index: 19; }
.page:nth-child(3) { --page-index: 2; z-index: 18; }
.page:nth-child(4) { --page-index: 3; z-index: 17; }
.page:nth-child(5) { --page-index: 4; z-index: 16; }
.page:nth-child(6) { --page-index: 5; z-index: 15; }
.page:nth-child(7) { --page-index: 6; z-index: 14; }
.page:nth-child(8) { --page-index: 7; z-index: 13; }
.page.turned:nth-child(1) { z-index: 10; }
.page.turned:nth-child(2) { z-index: 11; }
.page.turned:nth-child(3) { z-index: 12; }
.page.turned:nth-child(4) { z-index: 13; }
.page.turned:nth-child(5) { z-index: 14; }
.page.turned:nth-child(6) { z-index: 15; }
.page.turned:nth-child(7) { z-index: 16; }
.page.turned:nth-child(8) { z-index: 17; }
.page-body { position: relative; height: calc(100% - 82px); overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(24,42,37,.23) transparent; }
.page-body::-webkit-scrollbar { width: 6px; }
.page-body::-webkit-scrollbar-thumb { background: rgba(24,42,37,.22); border-radius: 99px; }
.page-number { position: absolute; top: 32px; right: 42px; color: rgba(24,42,37,.44); font: 10px var(--mono); letter-spacing: .1em; z-index: 2; }
.light-number { color: rgba(255,253,248,.62); }
.eyebrow { margin: 0 0 18px; color: var(--terracotta); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
.eyebrow.light { color: #d6b273; }
h2, h3, p { margin-top: 0; }
h2 { font: 600 clamp(35px, 4.6vw, 66px)/.98 var(--serif); letter-spacing: -.045em; margin-bottom: 24px; }
h2 em { color: var(--terracotta); font-style: italic; font-weight: 500; }
.light-page h2 em, .cream-page h2 em { color: var(--terracotta); }
.lead { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-soft); max-width: 410px; }
.paper-grain { position: absolute; inset: 0; pointer-events: none; opacity: .21; mix-blend-mode: multiply; background-image: radial-gradient(rgba(24,42,37,.42) .45px, transparent .45px); background-size: 5px 5px; }
.dark-grain { opacity: .1; mix-blend-mode: screen; background-image: radial-gradient(rgba(255,255,255,.5) .4px, transparent .4px); }

.cover-page,
.back-page {
  color: var(--paper);
  padding: 30px 42px 25px;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(224,192,120,.18), transparent 42%),
    radial-gradient(ellipse at 78% 82%, rgba(0,0,0,.35), transparent 50%),
    linear-gradient(145deg, var(--leather-mid) 0%, var(--leather) 42%, var(--leather-deep) 100%);
  box-shadow:
    inset 0 0 0 3px var(--gold-bright),
    inset 0 0 0 7px var(--leather-deep),
    inset 0 0 0 10px rgba(224,192,120,.65),
    0 0 0 1px rgba(90, 30, 22, .5),
    10px 14px 36px rgba(31, 10, 8, .45);
}
.cover-page::before,
.back-page::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(224,192,120,.35);
  pointer-events: none;
  z-index: 1;
  border-radius: 2px;
}
.leather-grain,
.cover-page .paper-grain,
.back-page .paper-grain {
  opacity: .55;
  mix-blend-mode: soft-light;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"),
    radial-gradient(rgba(0,0,0,.5) .7px, transparent .7px),
    radial-gradient(rgba(224,192,120,.22) .5px, transparent .5px);
  background-size: 180px 180px, 3px 3px, 6px 6px;
}
.cover-topline, .cover-footer, .page-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.cover-topline { position: relative; z-index: 1; color: #d8c4a0; }
.cover-topline span:last-child { color: #a8895c; }
.cover-content { height: calc(100% - 58px); display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(34px, 6vw, 88px); position: relative; z-index: 1; }
.cover-copy { padding: 5% 0 4% 7%; }
.wordmark { display: flex; align-items: baseline; color: #fbf6eb; font: 600 clamp(72px, 11vw, 152px)/.78 var(--serif); letter-spacing: -.085em; }
.wordmark-c { color: #c79b55; font-style: italic; margin-right: .04em; }
.cover-tagline { margin: 28px 0 20px; color: #f7e9d0; font: 500 clamp(22px, 2.7vw, 36px)/1.08 var(--serif); letter-spacing: -.035em; }
.cover-tagline i { color: #d5a564; font-weight: 500; }
.cover-description { max-width: 280px; color: #d2b896; font-size: 14px; line-height: 1.5; margin-bottom: 30px; }
.cover-media-wrap { max-width: 520px; width: 100%; justify-self: end; transform: rotate(1.4deg); }
.media-label { color: #c79b55; font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px 3px; }
.play-pip { width: 8px; height: 8px; background: #c76546; display: inline-block; border-radius: 50%; box-shadow: 0 0 0 4px rgba(199,101,70,.14); }
.video-frame { position: relative; border: 1px solid rgba(239,221,187,.35); padding: 10px; background: rgba(255,255,255,.05); box-shadow: 18px 20px 0 rgba(8,18,16,.22); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #b8cab8; }
.video-caption { position: absolute; left: 23px; bottom: 29px; color: white; text-shadow: 0 2px 8px rgba(0,0,0,.45); font: 15px/1.08 var(--serif); }
.video-caption strong { color: #f2cf91; font-style: italic; }
.sound-toggle { position: absolute; top: 19px; right: 19px; border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(19,42,37,.72); padding: 7px 9px; border-radius: 20px; font: 9px var(--mono); }
.sound-toggle span { color: #d5a564; margin-left: 3px; }
.cover-footer { position: absolute; bottom: 25px; left: 42px; right: 42px; color: #a8895c; z-index: 2; }
.cover-dish { color: #c79b55; font-size: 17px; }
a.pill-button, a.ghost-button, a.text-link { text-decoration: none; color: inherit; }
.pill-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; border-radius: 999px; padding: 13px 15px 13px 20px; font-size: 12px; font-weight: 600; letter-spacing: .01em; transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
a.ghost-button { border: 1px solid rgba(199, 101, 70, .35); border-radius: 999px; padding: 10px 16px; }
a.light-ghost { border-color: rgba(245, 240, 229, .35); color: #f5f0e5; }
.pill-button:hover { transform: translateY(-3px); }
.button-arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; }
.light-button { background: #e9c17d; color: var(--ink); }
.light-button .button-arrow { background: var(--ink); color: #f1d49e; }
.primary-button { background: var(--terracotta); color: white; box-shadow: 0 9px 20px rgba(167,77,53,.18); }
.primary-button:hover { background: var(--terracotta-dark); box-shadow: 0 12px 25px rgba(167,77,53,.26); }
.primary-button .button-arrow { background: rgba(255,255,255,.2); }

/* Feuillets intérieurs : même papier crème (couverture / dos restent cuir) */
.light-page,
.cream-page,
.sage-page,
.terracotta-page,
.dark-page {
  background:
    linear-gradient(180deg, #faf4ea 0%, var(--paper) 45%, #f1e8d8 100%);
  color: var(--ink);
}
.light-page::after,
.cream-page::after,
.sage-page::after,
.terracotta-page::after,
.dark-page::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(90, 40, 28, .12);
  pointer-events: none;
}
.split-layout { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 7%; padding: 10% 11%; }
.page-intro { position: relative; }
.accent-stamp { margin-top: 55px; width: 112px; height: 112px; border: 1px solid var(--terracotta); color: var(--terracotta); border-radius: 50%; display: grid; place-content: center; text-align: center; transform: rotate(-11deg); font: 9px/1.15 var(--mono); letter-spacing: .08em; }
.accent-stamp span { font-size: 7px; color: var(--gold); }
.quote-column { border-left: 1px solid var(--line); padding: 5px 3% 8px 10%; position: relative; }
.quote-mark { color: var(--terracotta); font: 72px/1 var(--serif); position: absolute; left: 25px; top: -23px; }
blockquote { font: 600 clamp(23px, 2.4vw, 34px)/1.13 var(--serif); letter-spacing: -.03em; max-width: 530px; margin: 0 0 28px; }
.quote-body { color: var(--ink-soft); line-height: 1.5; font-size: 14px; max-width: 460px; margin-bottom: 13px; }
.signature { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--terracotta); font: 11px var(--serif); font-style: italic; }
.signature-line { height: 1px; width: 65px; background: var(--terracotta); }
.page-footer { position: absolute; bottom: 25px; left: 42px; right: 42px; color: rgba(24,42,37,.52); border-top: 1px solid rgba(24,42,37,.15); padding-top: 11px; }

.menu-page { padding: 10% 12% 6%; }
.menu-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 16px; }
.menu-heading h2 { margin-bottom: 0; }
.menu-note { width: 235px; color: var(--ink-soft); font: italic 14px/1.4 var(--serif); padding-bottom: 4px; }
.dish-list { border-top: 1px solid var(--line); }
.dish-row { min-height: 83px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 45px 1fr 40px; align-items: center; gap: 20px; }
.dish-index { color: var(--terracotta); font: 11px var(--mono); }
.dish-row h3 { margin: 0 0 4px; font: 600 22px var(--serif); letter-spacing: -.02em; }
.dish-row p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.dish-icon { color: var(--terracotta); font: 23px var(--serif); text-align: right; }
.menu-bottom-note { display: flex; align-items: center; gap: 12px; margin-top: 25px; color: var(--ink-soft); font: italic 12px var(--serif); }
.mini-rule { width: 30px; height: 1px; background: var(--terracotta); }
.text-link { border: 0; background: transparent; color: var(--terracotta); font-size: 16px; padding: 0 0 0 7px; }

.journey-page { padding: 9% 11% 5%; }
.journey-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12%; align-items: end; }
.journey-heading h2 { margin-bottom: 10px; }
.journey-heading > p:last-child { color: var(--ink-soft); line-height: 1.45; font-size: 14px; margin-bottom: 10px; }
.journey-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 55px; border-top: 1px solid var(--terracotta); }
.journey-step { position: relative; padding: 22px 17px 0 0; border-right: 1px solid var(--line); min-height: 175px; }
.journey-step:not(:first-child) { padding-left: 17px; }
.step-marker { position: absolute; top: -12px; width: 23px; height: 23px; background: var(--paper); border: 1px solid var(--terracotta); border-radius: 50%; color: var(--terracotta); display: grid; place-items: center; font: 8px var(--mono); }
.step-copy { padding-top: 21px; }
.step-copy span { display: block; color: var(--terracotta); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.step-copy strong { display: block; font: 600 22px var(--serif); }
.step-copy p { color: var(--ink-soft); font-size: 12px; line-height: 1.45; padding-right: 10px; }
.journey-caption { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 7px; color: var(--ink-soft); font: italic 14px var(--serif); }
.caption-spark { color: var(--terracotta); font-style: normal; }

.profile-page { padding: 9% 11% 4%; }
.profile-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.profile-heading h2 { margin-bottom: 0; }
.profile-heading > p:last-child { max-width: 230px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; margin-bottom: 6px; }
.terracotta-page h2 em,
.dark-page h2 em,
.sage-page h2 em { color: var(--terracotta); }
.profile-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); margin-top: 46px; }
.profile-card { min-height: 225px; padding: 18px 17px 14px 0; border-right: 1px solid var(--line); position: relative; }
.profile-card:not(:first-child) { padding-left: 17px; }
.profile-card:last-child { border-right: 0; }
.profile-symbol { color: var(--terracotta); font: 30px var(--serif); }
.profile-count { float: right; color: rgba(24,42,37,.4); font: 9px var(--mono); }
.profile-card h3 { font: 600 20px var(--serif); margin: 42px 0 9px; color: var(--ink); }
.profile-card p { color: var(--ink-soft); font-size: 12px; line-height: 1.45; padding-right: 10px; }
.featured-profile { background: rgba(168,79,56,.08); }
.light-footer,
.dark-footer { color: rgba(24,42,37,.52); border-color: rgba(24,42,37,.15); }
.terracotta-page .page-number,
.dark-page .page-number { color: rgba(24,42,37,.44); }

.control-page { padding: 8% 11% 5%; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 8%; }
.control-heading h2 { margin-bottom: 16px; }
.control-heading > p:last-child { color: var(--ink-soft); font-size: 14px; line-height: 1.5; max-width: 290px; }
.control-levels { border-top: 1px solid var(--line); }
.level { min-height: 70px; display: grid; grid-template-columns: 42px 1fr 24px; gap: 17px; align-items: center; border-bottom: 1px solid var(--line); color: var(--ink); }
.level-number { color: var(--terracotta); font: 10px var(--mono); }
.level strong { font: 600 21px var(--serif); }
.level p { color: var(--ink-soft); font-size: 11px; margin: 4px 0 0; }
.level-line { height: 1px; width: 22px; background: rgba(168,79,56,.35); }
.active-level { color: var(--terracotta-dark); }
.active-level strong { color: var(--terracotta-dark); }
.active-level .level-line { background: var(--terracotta); width: 30px; }
.control-callout { grid-column: 1 / -1; display: flex; gap: 13px; align-items: center; border-top: 1px solid var(--line); padding-top: 17px; color: var(--ink-soft); font: italic 14px var(--serif); }
.control-callout span:first-child { color: var(--terracotta); font-style: normal; }

.cta-page { padding: 9% 11% 5%; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 9%; isolation: isolate; }
.cta-orbit { position: absolute; border: 1px solid rgba(199,155,85,.28); border-radius: 50%; z-index: -1; }
.orbit-one { width: 510px; height: 510px; top: 8%; left: 24%; }
.orbit-two { width: 270px; height: 270px; top: 29%; left: 46%; border-style: dashed; opacity: .58; }
.cta-copy .lead { max-width: 490px; }
.cta-buttons { display: flex; align-items: center; gap: 20px; margin-top: 31px; flex-wrap: wrap; }
.ghost-button { border: 0; background: transparent; color: var(--terracotta); padding: 10px 0; font-size: 12px; font-weight: 600; }
.ghost-button span { margin-left: 8px; transition: margin .2s ease; }
.ghost-button:hover span { margin-left: 14px; }
.cta-menu-card { background: #e7ddca; padding: 30px 28px; transform: rotate(3deg); box-shadow: 12px 16px 0 rgba(24,42,37,.1); max-width: 270px; justify-self: end; }
.card-kicker { display: block; color: var(--terracotta); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .13em; margin-bottom: 23px; }
.cta-menu-card ul { list-style: none; padding: 0; margin: 0 0 40px; }
.cta-menu-card li { font: 600 17px/1.18 var(--serif); padding: 12px 0; border-bottom: 1px solid rgba(24,42,37,.16); }
.cta-menu-card li::before { content: '✦'; color: var(--terracotta); font-size: 10px; margin-right: 9px; vertical-align: 2px; }
.card-signature { color: var(--ink-soft); font: italic 12px var(--serif); }

.back-page::after { content: none; }
.back-content {
  position: relative;
  z-index: 2;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8% 10%;
}
.back-mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid var(--gold-bright);
  display: grid;
  place-items: center;
  font: italic 48px var(--serif);
  color: var(--gold-bright);
  margin-bottom: 30px;
  box-shadow: inset 0 0 0 4px rgba(31,10,8,.5);
}
.back-page h2 { font-size: clamp(42px, 6vw, 78px); margin-bottom: 18px; }
.back-page h2 em { color: #e4be7d; }
.back-content > p:not(.eyebrow) { color: #d2b896; font: 17px/1.4 var(--serif); max-width: 380px; }
.back-restart {
  margin-top: 32px;
  display: inline-flex;
  color: #f5e6c8;
  text-decoration: none;
  border: 1px solid rgba(224,192,120,.45);
  border-radius: 999px;
  padding: 10px 18px;
  font: 600 12px var(--sans);
  background: rgba(0,0,0,.22);
}
.back-restart:hover { background: rgba(224,192,120,.15); }
.back-footer {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 42px;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 9px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a8895c;
}

.book-controls { max-width: 520px; margin: 19px auto 0; display: grid; grid-template-columns: 90px 1fr 90px; gap: 25px; align-items: center; color: #3b1410; }
.nav-button { color: #3b1410; background: transparent; border: 0; display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 18px; }
.nav-button small { color: #7a3a30; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.next-button { justify-content: flex-end; }
.page-progress { min-width: 0; }
.progress-meta { display: flex; justify-content: space-between; color: #7a3a30; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.progress-meta b { color: #8a1f1a; font-weight: 500; }
.progress-track { height: 2px; background: rgba(183,28,28,.18); }
.progress-track span { height: 100%; display: block; width: 12.5%; background: #c79b55; transition: width .4s ease; }
.page-dots { display: flex; gap: 7px; justify-content: center; margin-top: 12px; }
.page-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 99px; background: #a67a6e; transition: all .2s ease; }
.page-dot.active { width: 18px; background: #8a1f1a; }
.keyboard-hint { text-align: center; color: #5c2a22; font: 9px var(--mono); letter-spacing: .06em; margin: 13px 0 0; }
.keyboard-hint span { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1px solid #8a4a40; border-radius: 4px; color: #5c2a22; margin: 0 2px; background: rgba(255,255,255,.45); }

.contact-drawer { position: fixed; inset: 0; z-index: 20; visibility: hidden; pointer-events: none; }
.contact-drawer.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10,24,20,.68); opacity: 0; transition: opacity .35s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(490px, 100%); overflow-y: auto; background: var(--paper); padding: 58px clamp(28px, 6vw, 64px); transform: translateX(100%); transition: transform .45s cubic-bezier(.72,.03,.28,1); box-shadow: -20px 0 50px rgba(0,0,0,.15); }
.contact-drawer.open .drawer-backdrop { opacity: 1; }
.contact-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close { position: absolute; top: 24px; right: 30px; border: 0; background: transparent; color: var(--ink); font-size: 30px; line-height: 1; }
.drawer-panel h2 { font-size: 48px; }
.drawer-intro { color: var(--ink-soft); font: 14px/1.5 var(--serif); max-width: 360px; margin-bottom: 30px; }
#contactForm label { display: block; color: var(--ink); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
#contactForm input, #contactForm textarea, #contactForm select { display: block; width: 100%; margin-top: 7px; border: 1px solid rgba(24,42,37,.24); background: rgba(255,255,255,.45); color: var(--ink); padding: 12px 13px; border-radius: 2px; font: 14px var(--sans); }
#contactForm textarea { resize: vertical; }
.form-submit { margin-top: 7px; }
.form-success { padding: 22px 0; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: 23px; margin-bottom: 20px; }
.form-success h3 { font: 600 28px var(--serif); margin-bottom: 9px; }
.form-success p { color: var(--ink-soft); line-height: 1.5; font-size: 14px; margin-bottom: 22px; }

@media (max-width: 850px) {
  .site-header { height: 62px; }
  .header-note { display: none; }
  .experience { width: min(100% - 20px, 680px); padding-top: 3px; }
  .intro-line { margin-bottom: 10px; }
  .book { height: min(760px, calc(100vh - 155px)); min-height: 600px; }
  .cover-page, .back-page { padding: 23px 25px 20px; }
  .cover-content { grid-template-columns: 1fr; gap: 12px; align-content: center; padding: 2% 4%; }
  .cover-copy { padding: 0; }
  .wordmark { font-size: clamp(66px, 16vw, 118px); }
  .cover-tagline { margin: 20px 0 11px; font-size: clamp(21px, 5vw, 30px); }
  .cover-description { margin-bottom: 17px; font-size: 12px; }
  .cover-media-wrap { justify-self: start; max-width: 500px; width: 92%; transform: rotate(0); }
  .cover-footer { left: 25px; right: 25px; bottom: 18px; }
  .video-caption { font-size: 12px; }
  .sound-toggle { font-size: 8px; }
  .split-layout, .control-page, .cta-page { grid-template-columns: 1fr; gap: 18px; padding: 11% 12% 8%; }
  .quote-column { padding-left: 9%; }
  .accent-stamp { position: absolute; top: 0; right: 0; margin: 0; transform: rotate(8deg) scale(.72); transform-origin: top right; }
  .menu-page, .journey-page, .profile-page { padding: 11% 12% 8%; }
  .menu-heading, .profile-heading { display: block; }
  .menu-note, .profile-heading > p:last-child { margin-top: 9px; width: auto; max-width: 330px; }
  .dish-row { min-height: 72px; grid-template-columns: 30px 1fr 28px; gap: 10px; }
  .dish-row h3 { font-size: 18px; }
  .dish-row p { font-size: 11px; }
  .journey-heading { display: block; }
  .journey-heading > p:last-child { max-width: 350px; }
  .journey-rail { grid-template-columns: repeat(2,1fr); margin-top: 32px; }
  .journey-step { min-height: 139px; border-bottom: 1px solid var(--line); }
  .profile-grid { grid-template-columns: repeat(2,1fr); margin-top: 30px; }
  .profile-card { min-height: 148px; padding-top: 12px; }
  .profile-card:not(:first-child) { padding-left: 12px; }
  .profile-card:nth-child(2) { border-right: 0; }
  .profile-card h3 { margin-top: 18px; font-size: 18px; }
  .profile-card p { font-size: 10px; }
  .control-page { align-content: center; }
  .control-callout { margin-top: 3px; }
  .cta-page { align-content: center; }
  .cta-menu-card { justify-self: start; transform: rotate(2deg) scale(.86); transform-origin: top left; margin-top: -15px; }
  .orbit-one { width: 390px; height: 390px; top: 19%; left: 8%; }
  .orbit-two { top: 31%; left: 38%; }
  .page-footer { left: 25px; right: 25px; bottom: 18px; font-size: 8px; }
  .book-controls { gap: 10px; grid-template-columns: 68px 1fr 68px; }
  .nav-button small { display: none; }
  .nav-button { font-size: 22px; }
  .next-button { justify-content: flex-end; }
}

@media (max-width: 520px) {
  .mini-brand { font-size: 10px; }
  .mini-brand-mark { width: 21px; height: 21px; font-size: 13px; }
  .intro-line { font-size: 8px; gap: 8px; }
  .book { height: calc(100vh - 143px); min-height: 570px; }
  .cover-content { padding: 5% 1%; }
  .cover-media-wrap { width: 100%; }
  .cover-topline, .cover-footer { font-size: 7px; }
  .cover-footer span:first-child { max-width: 125px; }
  .page-number { top: 24px; right: 27px; }
  h2 { font-size: clamp(32px, 11vw, 50px); }
  .lead { font-size: 14px; }
  .quote-mark { left: 14px; }
  blockquote { font-size: 22px; }
  .journey-rail { gap: 0 10px; }
  .step-copy strong { font-size: 18px; }
  .step-copy p { font-size: 10px; }
  .profile-grid { gap: 0 8px; }
  .profile-card { padding-right: 5px; }
  .profile-card:not(:first-child) { padding-left: 7px; }
  .profile-symbol { font-size: 24px; }
  .level { grid-template-columns: 27px 1fr 18px; gap: 9px; min-height: 66px; }
  .level strong { font-size: 17px; }
  .level p { font-size: 10px; }
  .cta-buttons { align-items: flex-start; flex-direction: column; gap: 7px; }
  .cta-menu-card { max-width: 230px; padding: 22px; }
  .cta-menu-card li { font-size: 15px; }
  .drawer-panel { padding: 52px 27px 35px; }
  .drawer-panel h2 { font-size: 43px; }
  .page-footer { gap: 10px; }
  .page-footer span:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ——— Multi-page PHP shell ——— */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { left: 16px; top: 12px; }
.site-header { flex-wrap: wrap; gap: 12px; height: auto; min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
.main-nav { order: 3; width: 100%; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(199,155,85,.45); color: #f7f0e5; padding: 8px 14px; border-radius: 999px; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; }
.nav-list a, .nav-cprog { color: #c5d4ce; text-decoration: none; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: none; border: 0; padding: 4px 0; }
.nav-list a:hover, .nav-list a.active, .nav-cprog:hover { color: #e6bc79; }
.nav-cta { color: #132a25 !important; background: #e6bc79 !important; padding: 7px 14px !important; border-radius: 999px; }
.book-shell { perspective: 1800px; }
.book--single {
  height: var(--menu-h);
  min-height: var(--menu-h);
  max-height: var(--menu-h);
  perspective: 1800px;
  transform-style: preserve-3d;
}
.book--single .page {
  position: relative;
  inset: auto;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: feuilleIn .45s ease;
}
.book--single .page.is-turning-next {
  animation: turnCornerNext .72s cubic-bezier(.65, .05, .36, 1) forwards;
  z-index: 8;
}
.book--single .page.is-turning-prev {
  animation: turnCornerPrev .72s cubic-bezier(.65, .05, .36, 1) forwards;
  z-index: 8;
}
@keyframes feuilleIn { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes turnCornerNext {
  0% { transform: rotateY(0) skewY(0); filter: brightness(1); }
  35% { transform: rotateY(-28deg) skewY(-1.5deg); filter: brightness(.96); box-shadow: -18px 10px 40px rgba(0,0,0,.28); }
  100% { transform: rotateY(-118deg) skewY(-2deg); opacity: .15; filter: brightness(.85); }
}
@keyframes turnCornerPrev {
  0% { transform: rotateY(0) skewY(0); filter: brightness(1); }
  35% { transform: rotateY(28deg) skewY(1.5deg); filter: brightness(.96); box-shadow: 18px 10px 40px rgba(0,0,0,.28); }
  100% { transform: rotateY(118deg) skewY(2deg); opacity: .15; filter: brightness(.85); }
}

/* Coins à tourner — comme un vrai menu */
.page-corners { position: absolute; inset: 0; pointer-events: none; z-index: 25; }
.page-corner {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.page-corner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
  opacity: .72;
}
.page-corner:hover::before,
.page-corner:focus-visible::before {
  opacity: 1;
  filter: brightness(1.08);
  transform: scale(1.06);
}
.page-corner--tr { top: 0; right: 0; }
.page-corner--tr::before {
  top: 0; right: 0;
  background: linear-gradient(225deg, rgba(224,192,120,.55) 0%, rgba(224,192,120,.2) 42%, transparent 43%);
  box-shadow: inset -1px 1px 0 rgba(255,255,255,.25);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.page-corner--br { bottom: 0; right: 0; }
.page-corner--br::before {
  bottom: 0; right: 0;
  background: linear-gradient(315deg, rgba(224,192,120,.55) 0%, rgba(224,192,120,.2) 42%, transparent 43%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.page-corner--tl { top: 0; left: 0; }
.page-corner--tl::before {
  top: 0; left: 0;
  background: linear-gradient(135deg, rgba(224,192,120,.45) 0%, rgba(224,192,120,.15) 42%, transparent 43%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.page-corner--bl { bottom: 0; left: 0; }
.page-corner--bl::before {
  bottom: 0; left: 0;
  background: linear-gradient(45deg, rgba(224,192,120,.45) 0%, rgba(224,192,120,.15) 42%, transparent 43%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.page-corner[disabled],
.page-corner.is-disabled {
  opacity: .2;
  pointer-events: none;
  cursor: default;
}
.page-corner span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.cover-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.light-ghost { color: #f5f0e5 !important; border-color: rgba(245,240,229,.35) !important; }
.nav-button { text-decoration: none; color: inherit; }
.nav-button.is-disabled { opacity: .38; pointer-events: none; }
a.page-dot { display: inline-block; text-decoration: none; }
.site-footer {
  color: #f0e2d4;
  padding: 28px clamp(22px, 4vw, 64px) 40px;
  font-size: 13px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(59,20,16,.9), rgba(31,10,8,.94));
  border-top: 2px solid var(--gold);
}
.site-footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
.site-footer strong { color: #f5f0e5; display: block; margin-bottom: 6px; }
.site-footer p { margin: 0 0 6px; max-width: 420px; line-height: 1.45; }
.site-footer a { color: #e6bc79; text-decoration: none; }
.keyboard-hint { color: #5c2a22 !important; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.book-controls { background: rgba(244,239,230,.72); border: 1px solid rgba(183,28,28,.18); border-radius: 14px; padding: 10px 14px; backdrop-filter: blur(4px); }
.site-footer-links { text-align: right; }
.site-footer-links a { display: inline-block; margin-left: 14px; }
.devis-factors { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.devis-factors ul { margin: 0 0 16px; padding-left: 18px; color: var(--ink-soft); line-height: 1.55; }

/* Page de vente (tarifs) */
.vente-body { padding: 42px 36px 70px; overflow: auto; }
.vente-heading { margin-bottom: 18px; }
.vente-heading h2 { margin-bottom: 12px; font-size: clamp(28px, 3.4vw, 44px); }
.vente-lead { margin: 0; max-width: 640px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.vente-lead strong { color: var(--ink); }
.vente-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
}
.vente-mode {
  background: rgba(255,253,248,.72);
  border: 1px solid rgba(90,40,28,.12);
  border-radius: 10px;
  padding: 12px 14px;
}
.vente-mode-mark {
  display: block;
  color: var(--terracotta);
  font: 10px var(--mono);
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.vente-mode strong { display: block; font: 600 16px/1.15 var(--serif); margin-bottom: 4px; }
.vente-mode p { margin: 0; font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.vente-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.vente-tiers--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  gap: 18px;
}
.vente-tiers--duo .vente-tier {
  padding: 28px 24px 22px;
  text-align: center;
}
.vente-tiers--duo .vente-tier-price { min-height: 0; margin-bottom: 18px; }
.vente-tiers--duo .vente-price { font-size: 34px; }
.vente-tier {
  position: relative;
  background: var(--page-inner);
  border: 1px solid rgba(90,40,28,.14);
  border-radius: 12px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 8px 0 rgba(90,40,28,.06);
}
.vente-tier.is-highlight {
  border-color: var(--terracotta);
  background: #fff8ef;
  box-shadow: 0 10px 0 rgba(168,79,56,.12);
}
.vente-tier.is-selected { outline: 2px solid var(--gold); outline-offset: 2px; }
.vente-tier-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: #fff9ef;
  font: 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.vente-tier h3 { margin: 4px 0 4px; font: 600 20px/1.1 var(--serif); text-align: center; }
.vente-tier-summary { margin: 0 0 10px; text-align: center; font-size: 12px; color: var(--ink-soft); }
.vente-tier-price { text-align: center; margin-bottom: 10px; min-height: 52px; }
.vente-price { margin: 0; font: 700 22px/1.1 var(--serif); color: var(--terracotta-dark); }
.vente-price span { font: 400 12px var(--sans); color: var(--ink-soft); }
.vente-price-annual { margin: 6px 0 0; font-size: 11px; color: var(--ink-soft); line-height: 1.35; }
.vente-tier-includes {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  flex: 1;
}
.vente-tier-includes li {
  font-size: 12px;
  color: var(--ink);
  padding: 6px 0;
  border-top: 1px solid rgba(90,40,28,.1);
}
.vente-tier-includes li::before {
  content: '✦';
  color: var(--terracotta);
  font-size: 9px;
  margin-right: 7px;
}
.vente-tier .pill-button,
.vente-tier .ghost-button {
  width: 100%;
  justify-content: center;
  text-align: center;
}
a.vente-tier-cta {
  border: 1px solid rgba(168,79,56,.4);
  color: var(--terracotta-dark);
}
.vente-note {
  border-top: 1px solid rgba(90,40,28,.14);
  padding-top: 14px;
}
.vente-note > p:not(.eyebrow) {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  max-width: 720px;
}
.vente-note-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-formule-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #efe4d0;
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .vente-tiers:not(.vente-tiers--duo) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .vente-modes { grid-template-columns: 1fr; }
  .vente-body { padding: 32px 22px 64px; }
}
@media (max-width: 560px) {
  .vente-tiers,
  .vente-tiers--duo { grid-template-columns: 1fr; }
}
.contact-page { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; padding: 48px 42px 70px; }
.contact-form { margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label, .form-fieldset { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.form-grid .full, .form-fieldset { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 11px 12px; color: var(--ink); }
.form-fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; }
.form-fieldset legend { padding: 0 6px; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.req { color: var(--terracotta); }
.hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.captcha-block { display: flex; flex-direction: column; gap: 8px; }
.captcha-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-submit { margin-top: 10px; }
.form-note { margin: 12px 0 0; font-size: 12px; color: var(--ink-soft); }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin: 12px 0 18px; }
.form-alert--ok { background: #e7efe4; color: var(--ink); }
.form-alert--warn { background: #f3e0d6; color: var(--ink); }
.form-alert p { margin: 4px 0 0; }
.card-mail { color: var(--terracotta); text-decoration: none; font-size: 13px; margin-top: 8px; display: inline-block; }
.legal-shell { width: min(760px, calc(100% - 32px)); margin: 0 auto 40px; position: relative; z-index: 1; }
.legal-page { background: var(--paper); color: var(--ink); border-radius: 4px 12px 12px 4px; padding: 42px clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.legal-page h1 { font: 600 clamp(32px, 4vw, 48px)/1 var(--serif); margin: 0 0 18px; letter-spacing: -.04em; }
.legal-page h1 em { color: var(--terracotta); font-style: italic; }
.legal-page h2 { font: 600 22px/1.2 var(--serif); margin: 28px 0 10px; }
.legal-page p { color: var(--ink-soft); line-height: 1.55; }
.legal-page a { color: var(--terracotta); }
.cprog-drawer { position: fixed; inset: 0; z-index: 40; visibility: hidden; pointer-events: none; }
.cprog-drawer.open { visibility: visible; pointer-events: auto; }
.cprog-drawer .drawer-backdrop { position: absolute; inset: 0; background: rgba(9,25,21,.55); opacity: 0; transition: opacity .3s ease; }
.cprog-drawer.open .drawer-backdrop { opacity: 1; }
.cprog-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--paper); color: var(--ink); padding: 52px 32px 35px; transform: translateX(104%); transition: transform .35s ease; overflow: auto; }
.cprog-drawer.open .cprog-panel { transform: none; }
.cprog-list { padding-left: 18px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 22px; }
.drawer-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; font-size: 28px; color: var(--ink-soft); }

@media (max-width: 980px) {
  :root { --menu-h: min(640px, calc(100vh - 200px)); }
  .book-shell { padding-left: 22px; padding-bottom: 28px; }
  .menu-plate { width: min(96%, 100vw); }
  .menu-dos { width: 22px; }
  .menu-back-cover { inset: 12px 0 12px 12px; transform: translate(6px, 4px); }
  .header-note { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-list { display: none; flex-direction: column; align-items: flex-start; padding: 10px 0 4px; gap: 10px; }
  .nav-list.is-open { display: flex; }
  .contact-page { grid-template-columns: 1fr; padding: 36px 24px 70px; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .site-footer-links { text-align: left; }
  .site-footer-links a { margin: 0 14px 0 0; }
  .page-corner { width: 56px; height: 56px; }
}

@media (min-width: 981px) {
  :root { --menu-h: 720px; }
  .book--single,
  .book--single.book--tall {
    height: var(--menu-h);
    min-height: var(--menu-h);
    max-height: var(--menu-h);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book--single .page.is-turning-next,
  .book--single .page.is-turning-prev {
    animation: none;
    opacity: 0;
  }
}
