:root {
  --bg: #f1e9db;
  --surface: #fbf6ea;
  --text: #14193a;
  --accent: #1c2a6b;
  --gold: #c9962f;
  --muted: #505368;
  --rule: #c8bda7;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(1rem, .94rem + .2vw, 1.125rem)/1.8 var(--sans); }
.page { min-width: 0; }
.page-sub main { min-height: 60vh; }
::selection { background: var(--accent); color: var(--surface); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .24em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
:target { scroll-margin-top: 2rem; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; font-family: var(--serif); font-weight: 500; line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 4.5vw, 4.9rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 2.7vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.45rem, 1.8vw, 2rem); }
h4, h5, h6 { font-size: 1.25rem; }
p { margin: 0 0 1.4em; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption { padding-top: .8rem; font-size: .85rem; color: var(--muted); }
ul, ol { padding-left: 1.4em; }
li { padding-left: .2em; }
li + li { margin-top: .5em; }
blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 2px solid var(--gold); font: italic 1.5rem/1.5 var(--serif); }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--rule); }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; padding: 1rem; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { padding: .75rem; text-align: left; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
input, textarea, select, button { max-width: 100%; font: inherit; color: inherit; }
.wrap { width: min(100% - var(--gutter) * 2, 1260px); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--accent); color: var(--surface); border-bottom: 3px double var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.8rem; }
.brand { color: var(--surface); font: 500 clamp(2rem, 3.5vw, 3.45rem)/1.1 var(--serif); letter-spacing: -.04em; text-decoration: none; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding-block: .55rem; color: var(--surface); font-size: .85rem; letter-spacing: .035em; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { border-color: var(--gold); }
.hero { padding-block: clamp(3rem, 6vw, 6.5rem); border-bottom: 1px solid var(--gold); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text, .split-text { min-width: 0; }
.eyebrow, .section-title::before, .page-header::before, .note::before { display: block; font: 600 .72rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
.eyebrow { margin-bottom: 1.5rem; display: flex; align-items: center; gap: .9rem; }
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.8; max-width: 65ch; }
.hero h1 { max-width: 13ch; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.35rem; min-height: 48px; border: 1px solid var(--accent); text-decoration: none; font-size: .87rem; font-weight: 600; line-height: 1.5; transition: background-color .2s, transform .2s; }
.btn-primary { background: var(--accent); color: var(--surface); box-shadow: 3px 3px 0 var(--gold); }
.btn-primary:hover { background: var(--text); transform: translateY(-2px); }
.hero-media { position: relative; isolation: isolate; padding: .7rem; border: 1px solid var(--gold); background: var(--surface); margin: 2rem .75rem 2rem 0; box-shadow: .75rem .75rem 0 var(--text); }
.hero-media::before { content: ''; position: absolute; z-index: -1; width: 48%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); top: -2.5rem; right: -1.25rem; }
.hero-media img { aspect-ratio: 4 / 5; }
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section-title { max-width: 25ch; }
.section-title::before { content: 'Carnet de scène'; margin-bottom: 1rem; }
.section-intro { max-width: 62ch; color: var(--muted); margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; counter-reset: guide; }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--rule); border-top: 3px solid var(--gold); background: var(--surface); box-shadow: 3px 4px 0 #14193a0a; counter-increment: guide; transition: transform .2s, box-shadow .2s; }
.card::before { content: counter(guide, decimal-leading-zero); font: italic 1.15rem var(--serif); color: var(--muted); margin-bottom: 1.5rem; }
.card-title { max-width: 25ch; }
.card-text { font-size: .95rem; max-width: 48ch; }
.card-link { margin-top: auto; padding-top: .65rem; font-size: .82rem; font-weight: 650; }
.card-link::after { content: ' ↗'; margin-left: .6rem; }
.section-feature { background: var(--surface); border-block: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-text p { max-width: 64ch; }
.split-media { margin-top: 4rem; padding: .6rem; border: 1px solid var(--gold); }
.split-media img { aspect-ratio: 3 / 4; }
.fact-list { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--gold); }
.fact { padding: 1rem 0; margin: 0; border-bottom: 1px solid var(--rule); }
.fact strong { color: var(--accent); }
.prose { max-width: 68ch; }
.prose p { text-wrap: pretty; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.7rem, 2.3vw, 2.5rem); }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.section > .prose { position: relative; border-top: 1px solid var(--rule); padding-top: 2rem; }
.section:has(> .prose) + .section:has(> .prose) { padding-top: 0; }
.article { padding-block: 2rem clamp(4rem, 8vw, 8rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; font-size: .78rem; color: var(--muted); margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.breadcrumb a { color: inherit; }
.page-header { max-width: 920px; margin-bottom: 3rem; }
.page-header::before { content: 'Scène d\2019 Encre / Les cahiers'; margin-bottom: 1.25rem; }
.page-header h1 { font-size: clamp(2.4rem, 4vw, 4.35rem); }
.page-header .lead { margin-top: 1.5rem; }
.article-media { max-width: 920px; padding: .65rem; background: var(--surface); border: 1px solid var(--gold); margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.article-media img { aspect-ratio: 2.3 / 1; }
.note { padding: 1.3rem 1.5rem; margin: 2rem 0; background: var(--surface); border-top: 1px solid var(--gold); font-size: .9rem; line-height: 1.75; }
.note::before { content: 'En marge'; margin-bottom: .85rem; }
.note p:last-child { margin-bottom: 0; }
.section-partners { background: var(--accent); color: var(--surface); border-top: 3px double var(--gold); }
.section-partners .section-title::before { content: 'Hors scène'; color: var(--surface); }
.section-partners .section-intro { color: var(--surface); }
.partner-list { list-style: none; margin: 2.5rem 0 0; padding: 0; max-width: 850px; }
.partner { min-width: 0; margin: 0; padding: clamp(1.5rem, 3.5vw, 3rem); border: 1px solid var(--gold); background: var(--text); }
.partner-link { display: block; color: var(--surface); overflow-wrap: anywhere; font-size: .88rem; line-height: 1.7; }
.partner-phrase { margin: 1.4rem 0 .7rem; font: 500 clamp(1.6rem, 2.5vw, 2.5rem)/1.2 var(--serif); }
.partner-desc { font-size: .95rem; max-width: 65ch; margin: 0; }
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-note { max-width: 47ch; margin: 0; font-size: .8rem; color: var(--muted); }
.footer-nav { max-width: 32rem; }
.footer-nav a { display: inline-block; padding-block: .3rem; font-size: .8rem; }
@media (min-width: 1050px) {
  .article .prose { width: calc(100% - 21rem); max-width: 68ch; margin-left: 3rem; }
  .article .note { float: right; clear: right; width: 15rem; margin: .5rem -18rem 1.5rem 0; padding: 1.1rem 0 1rem 1.3rem; background: transparent; border-left: 1px solid var(--gold); }
  .article .prose::after { content: ''; display: block; clear: both; }
  .page-home .section > .prose { max-width: 1260px; padding-right: 28%; padding-left: 7%; }
  .page-home .section > .prose::before { content: 'Notes de lecture'; position: absolute; top: 2.2rem; right: 0; width: 20%; padding-top: 1rem; border-top: 1px solid var(--gold); color: var(--muted); font: italic 1.15rem/1.5 var(--serif); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); box-shadow: 4px 8px 0 #14193a0c; }
}
@media (max-width: 800px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .site-nav ul { gap: .15rem 1.25rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { max-width: 17ch; }
  .hero-media { width: min(100% - 1rem, 34rem); margin: 1rem 0; justify-self: end; margin-right: .75rem; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-media::before { width: 35%; top: -1.5rem; right: -.75rem; }
  .split { grid-template-columns: 1fr; }
  .split-media { margin-top: 0; max-width: 34rem; }
  .split-media img { aspect-ratio: 3 / 2; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: .1rem 1.1rem; }
  .site-nav a { font-size: .8rem; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .btn { width: 100%; padding-inline: .9rem; }
  .card::before { margin-bottom: 1rem; }
  .article-media img { aspect-ratio: 3 / 2; }
  .breadcrumb { gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .article .prose { width: 100%; max-width: none; margin: 0; }
  .article .note { float: none; width: auto; margin: 1rem 0; }
  .section, .article { padding-block: 1rem; }
  a { color: inherit; }
  h1, h2, h3 { break-after: avoid; }
  img, .card, .note { break-inside: avoid; }
}
