/* Feuille commune aux pages statiques du site pym.net. */

/* page 404 */
body.page-404 {
  --paper: #f8f5f1;
  --ink: #211c20;
  --muted: #71676c;
  --accent: #714254;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  display: grid;
  min-height: 100vh;
  margin: 0;
  padding: 28px;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.page-404 *, body.page-404 *::before, body.page-404 *::after { box-sizing: inherit; }
body.page-404 .error-card {
  width: min(100%, 760px);
  padding: clamp(34px, 8vw, 78px);
  border: 1px solid #e3d9dc;
  background: #fffdfa;
  text-align: center;
}
body.page-404 .error-code {
  margin: 0;
  color: var(--accent);
  font: 400 clamp(5rem, 19vw, 11rem)/.8 var(--serif);
  letter-spacing: -.09em;
}
body.page-404 .error-kicker {
  margin: 35px 0 13px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-transform: uppercase;
}
body.page-404 h1 {
  margin: 0;
  font: 400 clamp(2.2rem, 6vw, 3.8rem)/1.05 var(--serif);
  letter-spacing: -.045em;
}
body.page-404 .error-copy {
  max-width: 460px;
  margin: 20px auto 0;
  color: var(--muted);
  font: 1rem/1.75 var(--serif);
}
body.page-404 .error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
body.page-404 .error-links a {
  padding: 12px 17px;
  border: 1px solid var(--accent);
  border-radius: 99px;
  color: var(--accent);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
body.page-404 .error-links a:hover, body.page-404 .error-links a:focus-visible {
  background: var(--accent);
  color: #fffdfa;
}
body.page-404 .error-legal { margin: 30px 0 0; font-size: .75rem; }
body.page-404 .error-legal a { color: var(--muted); }
@media (max-width: 480px) {
  body.page-404 { padding: 16px; }
  body.page-404 .error-card { padding: 35px 22px; }
  body.page-404 .error-links { flex-direction: column; align-items: stretch; }
}

/* mentions-legales */
body.page-legal {
  --paper: #f4f0e8;
  --ink: #211f1c;
  --muted: #6e6a64;
  --red: #c6352d;
  --line: #d8d1c6;
  --card: #fffdf8;
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 90% 2%, rgba(198,53,45,.09), transparent 32%), var(--paper);
  font: 17px/1.72 Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
body.page-legal *, body.page-legal *::before, body.page-legal *::after { box-sizing: inherit; }
body.page-legal a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-legal a:hover { color: #8e211b; }
body.page-legal .legal-page { width: min(100% - 44px, 920px); margin: 0 auto; padding: 34px 0 56px; }
body.page-legal .legal-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); font: 12px Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
body.page-legal .legal-brand { color: var(--ink); font-weight: 700; text-decoration: none; }
body.page-legal .legal-back { color: var(--muted); text-decoration: none; }
body.page-legal .legal-main { padding: clamp(46px, 9vw, 92px) 0 42px; }
body.page-legal .legal-eyebrow { margin: 0 0 14px; color: var(--red); font: 11px/1.4 Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
body.page-legal h1 { margin: 0; font-size: clamp(42px, 8vw, 72px); font-weight: 400; letter-spacing: -.055em; line-height: 1.02; }
body.page-legal .legal-period { color: var(--red); }
body.page-legal .legal-lead { max-width: 660px; margin: 0; color: var(--muted); font-size: 19px; }
body.page-legal .intro-row { display: flex; align-items: center; gap: 25px; max-width: 790px; margin-top: 25px; }
body.page-legal .site-logo { display: block; flex: none; width: clamp(88px, 13vw, 142px); height: auto; }
body.page-legal .legal-stamp { display: inline-flex; align-items: center; gap: 9px; margin-top: 25px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,253,248,.78); color: var(--muted); font: 11px Arial, sans-serif; letter-spacing: .06em; }
body.page-legal .legal-stamp::before { width: 7px; height: 7px; border-radius: 50%; background: #79935e; content: ""; }
body.page-legal .legal-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.page-legal .legal-sections section { padding: 24px 25px 25px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); }
body.page-legal .legal-sections section.wide { grid-column: 1 / -1; }
body.page-legal .legal-sections h2 { margin: 0 0 13px; font-size: 22px; font-weight: 400; letter-spacing: -.025em; }
body.page-legal .legal-sections h2::before { display: inline-block; width: 17px; height: 2px; margin: 0 10px 5px 0; background: var(--red); content: ""; vertical-align: middle; }
body.page-legal .legal-sections p { margin: 0 0 12px; }
body.page-legal .legal-sections p:last-child { margin-bottom: 0; }
body.page-legal .legal-details { font-size: 15px; }
body.page-legal .legal-details strong { font-weight: 600; }
body.page-legal .legal-note { color: var(--muted); font-size: 14px; }
body.page-legal .legal-license { display: flex; align-items: flex-start; gap: 17px; }
body.page-legal .license-mark { display: grid; flex: none; width: 46px; height: 46px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; font: 700 19px Arial, sans-serif; letter-spacing: -.08em; }
body.page-legal .license-mark small { margin-left: 2px; font-size: 10px; letter-spacing: 0; }
body.page-legal .legal-license p { font-size: 15px; }
body.page-legal .contact-email { display: block; width: 115px; max-width: 100%; height: auto; margin-top: 9px; }
body.page-legal .legal-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font: 11px Arial, sans-serif; letter-spacing: .04em; }
@media (max-width: 650px) {
  body.page-legal .legal-page { width: min(100% - 32px, 920px); padding-top: 23px; }
  body.page-legal .legal-header { font-size: 10px; }
  body.page-legal .legal-sections { grid-template-columns: 1fr; }
  body.page-legal .legal-sections section.wide { grid-column: auto; }
  body.page-legal .legal-sections section { padding: 21px; }
  body.page-legal .legal-lead { font-size: 17px; }
  body.page-legal .intro-row { gap: 14px; }
  body.page-legal .site-logo { width: 72px; }
  body.page-legal .legal-license { gap: 12px; }
  body.page-legal .legal-footer { font-size: 10px; }
}

/* creations-en-echo */
body.page-creations{ --paper:#f8f5f1; --white:#fffdfa; --ink:#211c20; --muted:#71676c; --line:#e3d9dc; --accent:#714254; --rose:#f1e8ea; --serif:Georgia,"Times New Roman",serif; --sans:"Avenir Next",Avenir,"Helvetica Neue",sans-serif; }
    body.page-creations, body.page-creations *{ box-sizing:border-box; }
    body.page-creations{ scroll-behavior:smooth; }
    body.page-creations{ margin:0; background:var(--paper); color:var(--ink); font:17px/1.65 var(--serif); -webkit-font-smoothing:antialiased; }
    body.page-creations a{ color:inherit; text-underline-offset:.2em; }
    body.page-creations .shell{ width:min(100% - 44px, 1120px); margin-inline:auto; }
    body.page-creations .topline{ display:flex; justify-content:space-between; gap:20px; align-items:center; padding:20px max(22px, calc((100vw - 1120px)/2)); border-bottom:1px solid var(--line); color:var(--muted); font:600 .67rem var(--sans); letter-spacing:.14em; text-transform:uppercase; }
    body.page-creations .topline a{ text-decoration:none; }
    body.page-creations .hero{ display:grid; grid-template-columns:.92fr 1.08fr; min-height:600px; align-items:stretch; }
    body.page-creations .hero-copy{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:70px clamp(24px,7vw,105px) 78px max(24px,calc((100vw - 1120px)/2)); }
    body.page-creations .eyebrow{ margin:0 0 25px; color:var(--accent); font:650 .69rem var(--sans); letter-spacing:.18em; text-transform:uppercase; }
    body.page-creations h1, body.page-creations h2, body.page-creations h3{ margin:0; font-weight:400; }
    body.page-creations h1{ max-width:560px; font-size:clamp(3.4rem,6.4vw,6.2rem); letter-spacing:-.065em; line-height:.98; }
    body.page-creations h1 em{ color:var(--accent); font-weight:400; }
    body.page-creations .hero-copy .intro{ max-width:445px; margin:26px 0 0; color:#564d52; font-size:1.19rem; line-height:1.75; }
    body.page-creations .hero-copy .subintro{ max-width:425px; margin:13px 0 0; color:var(--muted); font-size:.93rem; line-height:1.8; }
    body.page-creations .jump{ display:inline-flex; gap:12px; align-items:center; margin-top:29px; color:var(--accent); font:650 .71rem var(--sans); letter-spacing:.1em; text-decoration:none; text-transform:uppercase; }
    body.page-creations .jump::after{ content:"↓"; font-size:1.2rem; }
    body.page-creations .hero-image{ position:relative; min-height:520px; overflow:hidden; background:#b3aaa1; }
    body.page-creations .hero-image img{ width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
    body.page-creations .hero-image figcaption{ position:absolute; right:20px; bottom:18px; color:#fff; font:600 .65rem var(--sans); letter-spacing:.1em; text-shadow:0 1px 6px #000; text-transform:uppercase; }
    body.page-creations .intro-band{ padding:55px 22px 60px; background:var(--accent); color:#fffaf8; text-align:center; }
    body.page-creations .intro-band p{ max-width:820px; margin:0 auto; font-size:clamp(1.35rem,2.5vw,2rem); line-height:1.55; }
    body.page-creations .intro-band small{ display:block; margin-top:17px; color:#e8d7de; font:600 .68rem var(--sans); letter-spacing:.13em; text-transform:uppercase; }
    body.page-creations .section{ padding:105px 0 112px; }
    body.page-creations .heading{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:42px; }
    body.page-creations .heading .eyebrow{ margin-bottom:13px; }
    body.page-creations h2{ font-size:clamp(2.7rem,5vw,4.8rem); letter-spacing:-.055em; line-height:1.03; }
    body.page-creations .heading p:last-child{ max-width:340px; margin:0 0 6px; color:var(--muted); font-size:.94rem; }
    body.page-creations .art-grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:20px; }
    body.page-creations .art-card{ grid-column:span 4; margin:0; background:var(--white); }
    body.page-creations .art-card:nth-child(5n+1), body.page-creations .art-card:nth-child(5n+4){ grid-column:span 6; }
    body.page-creations .art-card img{ display:block; width:100%; aspect-ratio:1.45; object-fit:cover; background:#ddd; }
    body.page-creations .art-caption{ padding:17px 19px 20px; }
    body.page-creations .art-caption h3{ color:var(--accent); font-size:1.34rem; line-height:1.25; }
    body.page-creations .art-caption p{ margin:7px 0 0; color:var(--muted); font: .7rem/1.6 var(--sans); letter-spacing:.04em; }
    body.page-creations .special{ padding:92px 0 100px; background:#e9e1e2; }
    body.page-creations .special-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(28px,6vw,76px); align-items:center; }
    body.page-creations .special-copy h2{ max-width:600px; font-size:clamp(2.5rem,4.6vw,4.4rem); }
    body.page-creations .special-copy p:not(.eyebrow){ max-width:520px; margin:20px 0 0; color:#594e53; }
    body.page-creations .special-copy .special-meta{ color:var(--muted); font: .7rem/1.7 var(--sans); letter-spacing:.06em; }
    body.page-creations .project-note{ padding:clamp(25px,4vw,45px); border:1px solid #d7c7cb; background:linear-gradient(145deg,#f9f5f1,#e9dfe2); }
    body.page-creations .project-note .project-label{ margin:0 0 28px; color:var(--accent); font:650 .68rem var(--sans); letter-spacing:.15em; text-transform:uppercase; }
    body.page-creations .project-note strong{ display:block; color:var(--ink); font:400 clamp(1.6rem,3vw,2.5rem)/1.1 var(--serif); }
    body.page-creations .project-note ul{ display:flex; flex-wrap:wrap; gap:8px; margin:25px 0 0; padding:0; list-style:none; }
    body.page-creations .project-note li{ padding:8px 12px; border:1px solid #d2c1c7; border-radius:99px; color:#685960; font:600 .62rem var(--sans); letter-spacing:.04em; }
    body.page-creations .special-link{ display:inline-block; margin-top:24px; color:var(--accent); font:650 .7rem var(--sans); letter-spacing:.08em; text-decoration:none; text-transform:uppercase; }
    body.page-creations .sound-section{ padding:100px 0 115px; background:#eee8e5; }
    body.page-creations .sound-section .heading{ max-width:1120px; margin-inline:auto; padding-inline:22px; }
    body.page-creations .sound-section .eyebrow{ color:var(--accent); }
    body.page-creations .sound-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:13px; max-width:1120px; margin:auto; padding:0 22px; }
    body.page-creations .sound-card{ display:grid; grid-template-columns:1fr auto; gap:15px 20px; align-items:center; padding:22px 23px; border:1px solid #ddd1d3; background:#f8f5f1; }
    body.page-creations .sound-card h3{ font-size:1.35rem; line-height:1.25; }
    body.page-creations .sound-card p{ margin:4px 0 0; color:var(--muted); font: .67rem var(--sans); letter-spacing:.09em; text-transform:uppercase; }
    body.page-creations .sound-card audio{ grid-column:1 / -1; width:100%; height:38px; accent-color:var(--accent); }
    body.page-creations .note{ max-width:760px; margin:35px auto 0; padding:0 22px; color:var(--muted); font: .8rem/1.7 var(--sans); text-align:center; }
    body.page-creations .outro{ padding:85px 22px 92px; text-align:center; }
    body.page-creations .outro h2{ max-width:700px; margin:0 auto; font-size:clamp(2.3rem,4.6vw,4rem); }
    body.page-creations .outro p{ max-width:620px; margin:18px auto 0; color:var(--muted); }
    body.page-creations .outro a{ display:inline-block; margin-top:26px; padding:12px 20px; border:1px solid var(--accent); border-radius:99px; color:var(--accent); font:650 .7rem var(--sans); letter-spacing:.08em; text-decoration:none; text-transform:uppercase; }
    body.page-creations .outro a:hover{ background:var(--accent); color:white; }
    body.page-creations footer{ display:flex; justify-content:space-between; gap:20px; padding:21px max(22px,calc((100vw - 1120px)/2)); background:#272126; color:#ded4d8; font: .67rem var(--sans); letter-spacing:.06em; }
    @media(max-width:760px){ body.page-creations .hero{ grid-template-columns:1fr; } body.page-creations .hero-copy{ min-height:470px; padding:68px 26px; } body.page-creations .hero-image{ min-height:62vw; } body.page-creations .art-card, body.page-creations .art-card:nth-child(5n+1), body.page-creations .art-card:nth-child(5n+4){ grid-column:span 6; } body.page-creations .heading{ align-items:flex-start; flex-direction:column; } body.page-creations .heading p:last-child{ max-width:520px; } body.page-creations .special-grid{ grid-template-columns:1fr; } }
    @media(max-width:520px){ body.page-creations .shell{ width:calc(100% - 36px); } body.page-creations .topline{ padding:16px 18px; font-size:.57rem; } body.page-creations .hero-copy{ min-height:500px; } body.page-creations .hero-image{ min-height:90vw; } body.page-creations .section{ padding:76px 0 85px; } body.page-creations .art-card, body.page-creations .art-card:nth-child(5n+1), body.page-creations .art-card:nth-child(5n+4){ grid-column:span 12; } body.page-creations .art-card img{ aspect-ratio:1.45; } body.page-creations .sound-grid{ grid-template-columns:1fr; } body.page-creations .sound-section{ padding:78px 0 86px; } body.page-creations .special{ padding:72px 0 78px; } body.page-creations footer{ flex-direction:column; } }
    @media(prefers-reduced-motion:reduce){ body.page-creations{ scroll-behavior:auto; } }

/* hommage-francoise */
body.page-hommage{
      --paper: #f2eee5;
      --paper-light: #faf8f3;
      --ink: #20251f;
      --muted: #666a60;
      --line: #d6d0c4;
      --accent: #a34f38;
      --green: #394638;
      --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
      --sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
    }
    body.page-hommage, body.page-hommage *{ box-sizing: border-box; }
    body.page-hommage{ scroll-behavior: smooth; }
    body.page-hommage{ margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
    body.page-hommage a{ color: inherit; }
    body.page-hommage .topbar{ display: flex; justify-content: space-between; align-items: center; padding: 23px clamp(22px, 5vw, 78px); border-bottom: 1px solid var(--line); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; }
    body.page-hommage .topbar strong{ font-weight: 600; }
    body.page-hommage .topbar a{ text-decoration: none; color: var(--muted); }
    body.page-hommage .hero{ min-height: min(800px, calc(100vh - 67px)); display: grid; grid-template-columns: minmax(300px, .88fr) 1.12fr; align-items: stretch; }
    body.page-hommage .hero-copy{ display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 8vw, 125px) clamp(28px, 8vw, 128px); }
    body.page-hommage .kicker{ margin: 0 0 30px; color: var(--accent); font-size: .69rem; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; }
    body.page-hommage h1, body.page-hommage h2, body.page-hommage h3, body.page-hommage blockquote{ font-family: var(--serif); font-weight: 400; }
    body.page-hommage h1{ max-width: 620px; margin: 0; font-size: clamp(3.8rem, 7.8vw, 7.4rem); letter-spacing: -.068em; line-height: .88; }
    body.page-hommage h1 span{ display: block; margin-top: .13em; color: var(--green); font-style: italic; font-size: .71em; letter-spacing: -.045em; }
    body.page-hommage .hero-intro{ max-width: 400px; margin: 37px 0 0; color: var(--muted); font-family: var(--serif); font-size: clamp(1.17rem, 1.8vw, 1.42rem); line-height: 1.6; }
    body.page-hommage .hero-link{ display: inline-flex; align-items: center; gap: 15px; margin-top: 34px; width: fit-content; font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
    body.page-hommage .hero-link::after{ content: "↓"; color: var(--accent); font-size: 1.2rem; }
    body.page-hommage .hero-visual{ position: relative; min-height: 570px; overflow: hidden; background: #536359; }
    body.page-hommage .hero-visual img{ position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
    body.page-hommage .hero-visual::after{ position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / 36%)); content: ""; }
    body.page-hommage .image-note{ position: absolute; z-index: 1; right: 32px; bottom: 28px; color: white; font-size: .67rem; letter-spacing: .11em; text-transform: uppercase; }
    body.page-hommage .section{ padding: clamp(75px, 11vw, 155px) clamp(24px, 10vw, 160px); }
    body.page-hommage .section-head{ display: grid; grid-template-columns: 150px 1fr; gap: 35px; align-items: start; max-width: 1120px; margin: 0 auto 65px; }
    body.page-hommage .section-number{ padding-top: 12px; color: var(--accent); font-size: .68rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
    body.page-hommage h2{ max-width: 850px; margin: 0; font-size: clamp(2.8rem, 5.3vw, 5.3rem); letter-spacing: -.055em; line-height: .99; }
    body.page-hommage .bio{ background: var(--paper-light); }
    body.page-hommage .bio-grid{ max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(210px, .58fr) 1fr; gap: clamp(40px, 9vw, 125px); align-items: center; }
    body.page-hommage .portrait-frame{ position: relative; width: 100%; max-width: 330px; margin: 0 auto; }
    body.page-hommage .portrait-frame::after{ position: absolute; inset: 14px -14px -14px 14px; z-index: 0; border: 1px solid var(--accent); content: ""; }
    body.page-hommage .portrait-frame img{ position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: saturate(.78); }
    body.page-hommage .bio-copy p{ margin: 0 0 20px; color: #4d5149; font-family: var(--serif); font-size: clamp(1.17rem, 1.7vw, 1.42rem); line-height: 1.75; }
    body.page-hommage .bio-copy p:first-child::first-letter{ color: var(--accent); float: left; padding: .04em .11em 0 0; font-size: 3.5em; line-height: .8; }
    body.page-hommage .book{ display: flex; align-items: center; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
    body.page-hommage .book img{ width: 70px; height: 100px; object-fit: cover; box-shadow: 0 5px 18px rgb(20 20 15 / 17%); }
    body.page-hommage .book p{ margin: 0; font-family: var(--sans); font-size: .82rem; line-height: 1.6; }
    body.page-hommage .book strong{ display: block; margin-bottom: 3px; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
    body.page-hommage .quote-section{ padding-top: 105px; padding-bottom: 112px; background: var(--green); color: var(--paper-light); }
    body.page-hommage .quote-inner{ max-width: 1000px; margin: auto; }
    body.page-hommage .quote-label{ color: #d7a28e; }
    body.page-hommage blockquote{ margin: 0; font-size: clamp(2rem, 4.4vw, 4.15rem); letter-spacing: -.035em; line-height: 1.14; }
    body.page-hommage blockquote em{ color: #e2b39e; }
    body.page-hommage .quote-source{ margin: 32px 0 0; color: #d9ddd4; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
    body.page-hommage .gallery-section{ padding-bottom: 125px; }
    body.page-hommage .gallery-intro{ max-width: 700px; margin: -35px 0 43px auto; color: var(--muted); font-family: var(--serif); font-size: 1.2rem; line-height: 1.6; }
    body.page-hommage .filters{ display: flex; flex-wrap: wrap; gap: 9px; max-width: 1120px; margin: 0 auto 32px; }
    body.page-hommage .filter{ border: 1px solid #c9c3b7; border-radius: 99px; padding: 10px 17px; background: transparent; color: var(--muted); cursor: pointer; font: 600 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
    body.page-hommage .filter:hover, body.page-hommage .filter[aria-pressed="true"]{ border-color: var(--ink); background: var(--ink); color: var(--paper-light); }
    body.page-hommage .gallery{ max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 13px; }
    body.page-hommage .tile{ position: relative; grid-column: span 4; min-height: 210px; overflow: hidden; padding: 0; border: 0; background: #d2d0c7; cursor: zoom-in; text-align: left; }
    body.page-hommage .tile:nth-child(7n + 1), body.page-hommage .tile:nth-child(7n + 5){ grid-column: span 6; }
    body.page-hommage .tile[hidden]{ display: none; }
    body.page-hommage .tile img{ display: block; width: 100%; height: 100%; min-height: 245px; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.3,1); }
    body.page-hommage .tile:hover img{ transform: scale(1.035); }
    body.page-hommage .tile span{ position: absolute; inset: auto 0 0; padding: 32px 17px 15px; background: linear-gradient(transparent, rgb(0 0 0 / 57%)); color: white; font-family: var(--serif); font-size: 1.2rem; }
    body.page-hommage .mirages{ padding-top: 115px; padding-bottom: 130px; background: #e7e2d8; }
    body.page-hommage .mirages-content{ max-width: 870px; margin: 0 auto; }
    body.page-hommage .mirages-content .lead{ margin: 0 0 38px; color: var(--accent); font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-style: italic; line-height: 1.5; }
    body.page-hommage details{ border-top: 1px solid #c9c1b4; border-bottom: 1px solid #c9c1b4; }
    body.page-hommage summary{ padding: 21px 0; cursor: pointer; font-size: .72rem; font-weight: 650; letter-spacing: .13em; list-style: none; text-transform: uppercase; }
    body.page-hommage summary::-webkit-details-marker{ display: none; }
    body.page-hommage summary::after{ float: right; color: var(--accent); content: "+"; font-size: 1.2rem; }
    body.page-hommage details[open] summary::after{ content: "−"; }
    body.page-hommage .essay{ max-width: 740px; padding: 0 0 25px; color: #484c44; font-family: var(--serif); font-size: 1.16rem; line-height: 1.85; }
    body.page-hommage .essay p{ margin: 0 0 21px; }
    body.page-hommage .endnote{ display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-top: 85px; padding-top: 25px; border-top: 1px solid #c9c1b4; color: var(--muted); font-size: .75rem; line-height: 1.7; }
    body.page-hommage .endnote a{ text-decoration-color: #a3a094; text-underline-offset: 3px; }
    body.page-hommage footer{ display: flex; justify-content: space-between; gap: 20px; padding: 26px clamp(22px, 5vw, 78px); background: #262e28; color: #d9ddd4; font-size: .66rem; letter-spacing: .07em; }
    body.page-hommage footer a{ text-decoration-color: #8f988e; text-underline-offset: 3px; }
    body.page-hommage .lightbox{ position: fixed; inset: 0; z-index: 10; display: none; place-items: center; padding: 30px; background: rgb(20 24 21 / 94%); }
    body.page-hommage .lightbox[open]{ display: grid; }
    body.page-hommage .lightbox img{ display: block; max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; }
    body.page-hommage .lightbox button{ position: absolute; top: 18px; right: 24px; border: 0; background: none; color: white; cursor: pointer; font: 300 2.5rem var(--sans); }
    body.page-hommage .lightbox p{ position: absolute; bottom: 18px; margin: 0; color: white; font: .75rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
    @media (max-width: 760px){
      body.page-hommage .hero{ grid-template-columns: 1fr; }
      body.page-hommage .hero-copy{ min-height: 570px; padding: 70px 28px; }
      body.page-hommage .hero-visual{ min-height: 60vh; }
      body.page-hommage .section-head{ grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
      body.page-hommage .bio-grid{ grid-template-columns: 1fr; }
      body.page-hommage .portrait-frame{ max-width: 280px; }
      body.page-hommage .gallery-intro{ margin: -17px 0 32px; }
      body.page-hommage .tile, body.page-hommage .tile:nth-child(7n + 1), body.page-hommage .tile:nth-child(7n + 5){ grid-column: span 6; }
      body.page-hommage .tile img{ min-height: 180px; }
    }
    @media (max-width: 480px){
      body.page-hommage .topbar{ padding: 18px 19px; font-size: .59rem; }
      body.page-hommage .hero-copy{ min-height: 510px; }
      body.page-hommage .hero-visual{ min-height: 420px; }
      body.page-hommage .tile, body.page-hommage .tile:nth-child(7n + 1), body.page-hommage .tile:nth-child(7n + 5){ grid-column: span 12; }
      body.page-hommage .tile img{ min-height: 250px; max-height: 370px; }
      body.page-hommage .endnote, body.page-hommage footer{ grid-template-columns: 1fr; display: grid; }
      body.page-hommage footer{ gap: 10px; }
    }
    @media (prefers-reduced-motion: reduce){ body.page-hommage, body.page-hommage *, body.page-hommage *::before, body.page-hommage *::after{ scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* accueil */
body.page-home {
  --home-paper: #f4f0e8;
  --home-white: #fffdf8;
  --home-ink: #20251f;
  --home-muted: #666a60;
  --home-line: #d6d0c4;
  --home-accent: #a34f38;
  --home-green: #394638;
  --home-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --home-sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  margin: 0;
  background: var(--home-paper);
  color: var(--home-ink);
  font: 17px/1.65 var(--home-sans);
  -webkit-font-smoothing: antialiased;
}
body.page-home *, body.page-home *::before, body.page-home *::after { box-sizing: border-box; }
body.page-home a { color: inherit; }
body.page-home .home-wrap { width: min(100% - 44px, 1200px); margin-inline: auto; }
body.page-home .home-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--home-line); }
body.page-home .home-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--home-ink); font-size: .77rem; font-weight: 650; letter-spacing: .04em; text-decoration: none; }
body.page-home .home-brand img { display: block; width: 54px; height: 54px; object-fit: cover; }
body.page-home .home-nav { display: flex; gap: 25px; align-items: center; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
body.page-home .home-nav a { color: var(--home-muted); text-decoration: none; }
body.page-home .home-nav a:hover, body.page-home .home-nav a:focus-visible { color: var(--home-accent); }
body.page-home .home-hero { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(36px, 8vw, 110px); align-items: center; padding-block: clamp(54px, 9vw, 120px); }
body.page-home .home-copy { max-width: 620px; }
body.page-home .home-eyebrow { margin: 0 0 23px; color: var(--home-accent); font-size: .68rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
body.page-home h1, body.page-home h2, body.page-home h3 { margin: 0; font-family: var(--home-serif); font-weight: 400; }
body.page-home h1 { font-size: clamp(3.2rem, 7.4vw, 6.8rem); letter-spacing: -.065em; line-height: .94; }
body.page-home .home-intro { max-width: 515px; margin: 27px 0 0; color: #55594f; font: clamp(1.14rem, 2vw, 1.38rem)/1.7 var(--home-serif); }
body.page-home .home-action { display: inline-flex; align-items: center; gap: 12px; margin-top: 31px; color: var(--home-accent); font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
body.page-home .home-action::after { content: "↓"; font-size: 1.2rem; }
body.page-home .home-portrait { position: relative; width: min(100%, 450px); margin: 0 auto; aspect-ratio: 4 / 5; background: #e5e0d7; }
body.page-home .home-portrait::after { position: absolute; inset: 15px -15px -15px 15px; z-index: 0; border: 1px solid rgb(163 79 56 / 50%); content: ""; }
body.page-home .home-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-home .home-discover { padding: clamp(55px, 8vw, 96px) 0; background: var(--home-white); }
body.page-home .home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 39px; }
body.page-home .home-section-head .home-eyebrow { margin-bottom: 12px; }
body.page-home h2 { font-size: clamp(2.5rem, 5vw, 4.3rem); letter-spacing: -.055em; line-height: 1; }
body.page-home .home-section-head > p { max-width: 370px; margin: 0 0 5px; color: var(--home-muted); font-size: .9rem; }
body.page-home .home-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
body.page-home .home-card { display: block; overflow: hidden; border: 1px solid var(--home-line); background: var(--home-white); color: var(--home-ink); text-decoration: none; transition: border-color .2s, transform .2s; }
body.page-home .home-card:hover { transform: translateY(-3px); border-color: var(--home-accent); }
body.page-home .home-card:focus-visible { outline: 3px solid var(--home-accent); outline-offset: 4px; }
body.page-home .home-card-image { display: block; width: 100%; aspect-ratio: 1.7; object-fit: cover; background: #ded9d0; }
body.page-home .home-card-body { padding: clamp(22px, 3vw, 34px); }
body.page-home .home-card-kicker { margin: 0 0 10px; color: var(--home-accent); font-size: .63rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
body.page-home h3 { font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.035em; line-height: 1.08; }
body.page-home .home-card-body > p:not(.home-card-kicker) { min-height: 3.3em; margin: 14px 0 0; color: var(--home-muted); font-size: .9rem; }
body.page-home .home-card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--home-green); font-size: .67rem; font-weight: 650; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
body.page-home .home-card-link::after { content: "↗"; font-size: 1rem; }
body.page-home .home-card-link:hover, body.page-home .home-card-link:focus-visible { color: var(--home-accent); }
body.page-home .home-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; color: var(--home-muted); font-size: .66rem; letter-spacing: .05em; }
body.page-home .home-footer a { text-underline-offset: 3px; }
@media (max-width: 720px) {
  body.page-home .home-wrap { width: min(100% - 34px, 1200px); }
  body.page-home .home-hero { grid-template-columns: 1fr; gap: 39px; padding-block: 52px 64px; }
  body.page-home .home-portrait { width: min(82%, 410px); }
  body.page-home .home-section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 540px) {
  body.page-home .home-header { align-items: start; }
  body.page-home .home-brand { gap: 9px; font-size: .67rem; }
  body.page-home .home-brand img { width: 42px; height: 42px; }
  body.page-home .home-nav { gap: 12px; padding-top: 7px; font-size: .57rem; }
  body.page-home .home-nav a:first-child { display: none; }
  body.page-home .home-cards { grid-template-columns: 1fr; }
  body.page-home .home-card-body > p:not(.home-card-kicker) { min-height: 0; }
  body.page-home .home-footer { flex-direction: column; gap: 7px; }
}

/* En-tête et pied de page partagés */
body.page-home { --shell-ink: var(--home-ink); --shell-muted: var(--home-muted); --shell-line: var(--home-line); --shell-accent: var(--home-accent); }
body.page-creations { --shell-ink: var(--ink); --shell-muted: var(--muted); --shell-line: var(--line); --shell-accent: var(--accent); }
body.page-hommage { --shell-ink: var(--ink); --shell-muted: var(--muted); --shell-line: var(--line); --shell-accent: var(--accent); }
body.page-legal { --shell-ink: var(--ink); --shell-muted: var(--muted); --shell-line: var(--line); --shell-accent: var(--red); }
body.page-about { --paper: #f4f0e8; --ink: #292820; --muted: #6c6b60; --line: #ded9ce; --accent: #6f7560; --serif: Georgia, "Times New Roman", serif; --sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif; margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.page-about *, body.page-about *::before, body.page-about *::after { box-sizing: border-box; }
body.page-about .about-main { width: min(100% - 44px, 920px); min-height: 62vh; margin: 0 auto; padding: clamp(60px, 10vw, 120px) 0; }
body.page-about .about-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
body.page-about .about-heading h1 { margin-bottom: 0; }
body.page-about .about-page-logo { display: block; width: clamp(66px, 10vw, 110px); height: auto; }
body.page-about .about-profile { display: grid; grid-template-columns: minmax(190px, 270px) minmax(0, 1fr); align-items: start; gap: clamp(25px, 5vw, 58px); }
body.page-about .about-portrait { margin: 4px 0 0; }
body.page-about .about-portrait img { display: block; width: 100%; height: auto; }
body.page-about .about-eyebrow { margin: 0 0 14px; color: var(--accent); font: 11px/1.4 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
body.page-about h1 { margin: 0 0 56px; font: 400 clamp(42px, 8vw, 72px)/1.02 var(--serif); letter-spacing: -.055em; }
body.page-about h1 span { color: var(--accent); }
body.page-about h2 { margin: 0 0 18px; font: 400 clamp(25px, 4vw, 36px)/1.2 var(--serif); }
body.page-about .about-lead { max-width: 720px; color: #55594f; font: clamp(1.1rem, 2vw, 1.3rem)/1.8 var(--serif); }
body.page-about .about-section { margin-top: clamp(48px, 7vw, 76px); padding-top: 25px; border-top: 1px solid var(--line); }
body.page-about .about-section h2 { margin-bottom: 20px; }
body.page-about .about-section h3 { margin: 28px 0 10px; font: 600 16px/1.45 var(--sans); }
body.page-about .about-section p, body.page-about .about-section li { color: #4f5049; }
body.page-about .about-section a { color: #606b4d; text-underline-offset: 3px; }
body.page-about .about-section ul { padding-left: 1.2em; }
body.page-about .about-section li + li { margin-top: 7px; }
body.page-about .about-list { display: grid; gap: 0; margin: 0; padding: 0 !important; list-style: none; }
body.page-about .about-list li { display: grid; grid-template-columns: 125px 42px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
body.page-about .about-list time { color: var(--muted); font: 600 .83rem/1.7 var(--sans); }
body.page-about .about-list-mark { display: grid; width: 42px; height: 38px; place-items: center; }
body.page-about .about-list-mark img { display: block; max-width: 42px; max-height: 38px; object-fit: contain; }
body.page-about .about-flag { font: 1.65rem/1 var(--sans); }
body.page-about .about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
body.page-about .about-columns > div:last-child { grid-column: 1 / -1; }
body.page-about .about-logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
body.page-about .about-logo-grid figure { display: flex; min-width: 0; min-height: 128px; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 15px 12px 12px; border: 1px solid var(--line); background: #fffdfa; }
body.page-about .about-logo-grid img { display: block; width: 100%; height: 78px; object-fit: contain; }
body.page-about .about-logo-grid figcaption { color: var(--muted); font: 600 .75rem/1.35 var(--sans); text-align: center; }
body.page-about .about-institution-grid { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
body.page-about .site-header, body.page-about .site-footer { --shell-ink: var(--ink); --shell-muted: var(--muted); --shell-line: var(--line); --shell-accent: var(--accent); }
body.page-home .home-portrait { width: min(100%, 340px); aspect-ratio: 239 / 425; }
body.page-home .site-header, body.page-creations .site-header, body.page-hommage .site-header, body.page-legal .site-header, body.page-about .site-header, body.page-pym-works .site-header {
  display: flex;
  width: min(100% - 44px, 1200px);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-inline: auto;
  padding-block: 16px;
  border-bottom: 1px solid var(--shell-line);
  color: var(--shell-ink);
  font-family: var(--home-sans, var(--sans, Arial, sans-serif));
}
body.page-home .site-brand, body.page-creations .site-brand, body.page-hommage .site-brand, body.page-legal .site-brand, body.page-about .site-brand, body.page-pym-works .site-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  color: var(--shell-ink);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .04em;
  line-height: 1.35;
  text-decoration: none;
}
body.page-home .site-brand img, body.page-creations .site-brand img, body.page-hommage .site-brand img, body.page-legal .site-brand img, body.page-about .site-brand img, body.page-pym-works .site-brand img { display: block; width: 42px; height: 42px; object-fit: cover; }
body.page-home .site-brand small, body.page-creations .site-brand small, body.page-hommage .site-brand small, body.page-legal .site-brand small, body.page-about .site-brand small, body.page-pym-works .site-brand small { display: block; color: var(--shell-muted); font-size: .84em; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
body.page-home .site-nav, body.page-creations .site-nav, body.page-hommage .site-nav, body.page-legal .site-nav, body.page-about .site-nav, body.page-pym-works .site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 28px);
  font-size: .63rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.page-home .site-nav a, body.page-creations .site-nav a, body.page-hommage .site-nav a, body.page-legal .site-nav a, body.page-about .site-nav a, body.page-pym-works .site-nav a { color: var(--shell-muted); text-decoration: none; }
body.page-home .site-nav a:hover, body.page-home .site-nav a:focus-visible,
body.page-creations .site-nav a:hover, body.page-creations .site-nav a:focus-visible,
body.page-hommage .site-nav a:hover, body.page-hommage .site-nav a:focus-visible,
body.page-legal .site-nav a:hover, body.page-legal .site-nav a:focus-visible, body.page-about .site-nav a:hover, body.page-about .site-nav a:focus-visible, body.page-pym-works .site-nav a:hover, body.page-pym-works .site-nav a:focus-visible { color: var(--shell-accent); }
body.page-home .site-footer, body.page-creations .site-footer, body.page-hommage .site-footer, body.page-legal .site-footer, body.page-about .site-footer, body.page-pym-works .site-footer {
  display: flex;
  width: min(100% - 44px, 1200px);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-inline: auto;
  padding-block: 20px;
  border-top: 1px solid var(--shell-line);
  color: var(--shell-muted);
  font: .65rem/1.5 var(--home-sans, var(--sans, Arial, sans-serif));
  letter-spacing: .04em;
}
body.page-home .site-footer nav, body.page-creations .site-footer nav, body.page-hommage .site-footer nav, body.page-legal .site-footer nav, body.page-about .site-footer nav, body.page-pym-works .site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
body.page-home .site-footer a, body.page-creations .site-footer a, body.page-hommage .site-footer a, body.page-legal .site-footer a, body.page-about .site-footer a, body.page-pym-works .site-footer a { color: inherit; text-underline-offset: 3px; }
body.page-hommage .page-credit { width: min(100% - 44px, 1120px); margin: 0 auto; padding: 18px 0 0; color: var(--muted); font: .68rem/1.7 var(--sans); letter-spacing: .04em; }
body.page-hommage .page-credit a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 650px) {
  body.page-home .site-header, body.page-creations .site-header, body.page-hommage .site-header, body.page-legal .site-header, body.page-about .site-header, body.page-pym-works .site-header { width: min(100% - 34px, 1200px); flex-wrap: wrap; gap: 10px; }
  body.page-home .site-nav, body.page-creations .site-nav, body.page-hommage .site-nav, body.page-legal .site-nav, body.page-about .site-nav, body.page-pym-works .site-nav { width: 100%; justify-content: space-between; gap: 8px; padding: 5px 0 2px; font-size: .56rem; }
  body.page-home .site-footer, body.page-creations .site-footer, body.page-hommage .site-footer, body.page-legal .site-footer, body.page-about .site-footer, body.page-pym-works .site-footer { width: min(100% - 34px, 1200px); align-items: flex-start; flex-direction: column; gap: 8px; }
  body.page-home .site-footer nav, body.page-creations .site-footer nav, body.page-hommage .site-footer nav, body.page-legal .site-footer nav, body.page-about .site-footer nav, body.page-pym-works .site-footer nav { gap: 14px; }
  body.page-about .about-main { width: min(100% - 34px, 920px); }
  body.page-about .about-profile { grid-template-columns: minmax(0, 1fr); }
  body.page-about .about-portrait { width: min(100%, 360px); }
  body.page-about .about-list li { grid-template-columns: 76px 34px minmax(0, 1fr); gap: 8px; }
  body.page-about .about-list-mark { width: 34px; }
  body.page-about .about-list-mark img { max-width: 34px; }
  body.page-about .about-columns { grid-template-columns: 1fr; gap: 12px; }
  body.page-about .about-columns > div:last-child { grid-column: auto; }
  body.page-about .about-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-about .about-institution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-about .about-heading { margin-bottom: 42px; }
  body.page-hommage .page-credit { width: min(100% - 34px, 1120px); }
}

/* Page des travaux personnels de Pym */
body.page-pym-works { --work-paper: #f4f0e8; --work-card: #fffdfa; --work-ink: #292820; --work-muted: #69695f; --work-line: #ded9ce; --work-accent: #69704e; --serif: Georgia, "Times New Roman", serif; --sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif; margin: 0; background: var(--work-paper); color: var(--work-ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.page-pym-works *, body.page-pym-works *::before, body.page-pym-works *::after { box-sizing: border-box; }
body.page-pym-works .site-header, body.page-pym-works .site-footer { --shell-ink: var(--work-ink); --shell-muted: var(--work-muted); --shell-line: var(--work-line); --shell-accent: var(--work-accent); }
body.page-pym-works .work-wrap { width: min(100% - 44px, 1120px); margin-inline: auto; }
body.page-pym-works .work-hero { padding-block: clamp(58px, 9vw, 108px) clamp(46px, 7vw, 80px); }
body.page-pym-works .work-eyebrow { margin: 0 0 13px; color: var(--work-accent); font: 650 .66rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
body.page-pym-works h1, body.page-pym-works h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
body.page-pym-works h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: .99; }
body.page-pym-works h1 em { color: var(--work-accent); font-weight: 400; }
body.page-pym-works .work-intro { max-width: 700px; margin: 28px 0 0; color: var(--work-muted); font: clamp(1.08rem, 2vw, 1.28rem)/1.75 var(--serif); }
body.page-pym-works .work-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
body.page-pym-works .work-jump a { padding: 8px 13px; border: 1px solid var(--work-line); color: var(--work-ink); font-size: .67rem; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
body.page-pym-works .work-jump a:hover, body.page-pym-works .work-jump a:focus-visible { border-color: var(--work-accent); color: var(--work-accent); }
body.page-pym-works .work-section { padding-block: clamp(48px, 7vw, 78px); }
body.page-pym-works .work-section-alt { background: #ebe7de; }
body.page-pym-works .work-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 30px; }
body.page-pym-works .work-section-heading h2 { font-size: clamp(2.15rem, 4vw, 3.5rem); line-height: 1.06; }
body.page-pym-works .work-section-heading > p { max-width: 390px; margin: 0 0 4px; color: var(--work-muted); font-size: .9rem; }
body.page-pym-works .work-subseries + .work-subseries { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--work-line); }
body.page-pym-works .work-subseries h3 { margin: 0 0 18px; color: var(--work-muted); font: 600 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
body.page-pym-works .text-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
body.page-pym-works .text-work { border: 1px solid var(--work-line); background: var(--work-card); }
body.page-pym-works .text-work summary { position: relative; padding: 18px 44px 18px 20px; cursor: pointer; font: 400 1.3rem/1.3 var(--serif); list-style: none; }
body.page-pym-works .text-work summary::-webkit-details-marker { display: none; }
body.page-pym-works .text-work summary::after { position: absolute; top: 50%; right: 18px; color: var(--work-accent); content: "+"; font: 1.3rem/1 var(--sans); transform: translateY(-50%); }
body.page-pym-works .text-work[open] summary::after { content: "−"; }
body.page-pym-works .text-work-with-audio { position: relative; }
body.page-pym-works .text-work-with-audio summary { padding-right: 88px; }
body.page-pym-works .poem-audio-toggle { position: absolute; top: 13px; right: 48px; display: grid; width: 36px; height: 36px; place-items: center; padding: 7px; border: 1px solid var(--work-line); border-radius: 50%; background: var(--work-card); color: var(--work-accent); cursor: pointer; }
body.page-pym-works .poem-audio-toggle:hover, body.page-pym-works .poem-audio-toggle:focus-visible, body.page-pym-works .poem-audio-toggle.is-playing { border-color: var(--work-accent); background: var(--work-accent); color: white; }
body.page-pym-works .poem-audio-toggle:focus-visible { outline: 3px solid var(--work-accent); outline-offset: 3px; }
body.page-pym-works .poem-audio-toggle svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
body.page-pym-works .poem { padding: 0 20px 18px; color: #4f5049; font: 1rem/1.7 var(--serif); }
body.page-pym-works .poem p { margin: 0 0 1.2em; }
body.page-pym-works .poem p:last-child { margin-bottom: 0; }
body.page-pym-works .text-work-illustration { width: min(100% - 40px, 560px); margin: 0 20px 22px; border: 1px solid var(--work-line); background: var(--work-card); }
body.page-pym-works .text-work-illustration img { display: block; width: 100%; height: auto; }
body.page-pym-works .text-work-illustration figcaption { padding: 9px 12px; color: var(--work-muted); font-size: .7rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
body.page-pym-works .work-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
body.page-pym-works .work-gallery figure, body.page-pym-works .work-photo { min-width: 0; margin: 0; border: 1px solid var(--work-line); background: var(--work-card); }
body.page-pym-works .work-gallery-pair { display: grid; grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; padding: 8px; border: 1px solid var(--work-line); background: var(--work-card); }
body.page-pym-works .work-gallery-pair figure { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; border: 0; }
body.page-pym-works .work-gallery-pair img { height: clamp(130px, 17vw, 190px); padding: 0; }
body.page-pym-works .work-gallery-pair figcaption { padding: 9px 3px 2px; text-align: center; }
body.page-pym-works .work-pair-note { grid-column: 1 / -1; margin: 0; padding: 10px 5px 2px; border-top: 1px solid var(--work-line); color: var(--work-muted); font-size: .82rem; line-height: 1.5; }
body.page-pym-works .work-gallery img { display: block; width: 100%; height: clamp(160px, 20vw, 235px); padding: 10px; object-fit: contain; }
body.page-pym-works .work-gallery figcaption, body.page-pym-works .work-photo figcaption { padding: 10px 13px 12px; color: var(--work-muted); font-size: .72rem; letter-spacing: .04em; }
body.page-pym-works .work-gallery figcaption strong { display: block; margin-bottom: 5px; color: var(--work-ink); font-size: .78rem; font-weight: 650; }
body.page-pym-works .work-gallery figcaption p { margin: 0; font-size: .72rem; letter-spacing: 0; line-height: 1.55; }
body.page-pym-works .work-photo { width: min(100%, 760px); }
body.page-pym-works .work-photo img { display: block; width: 100%; height: auto; }
body.page-home .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.page-home .home-card-image-contain { object-fit: contain; background: #211e1b; }
body.page-home .home-card-rebus { display:block; width:min(100%, 250px); height:auto; margin:0 0 10px; }
body.page-home .home-homage-head { margin-top: clamp(52px, 7vw, 84px); margin-bottom: 22px; }
body.page-home .home-card-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; }
body.page-home .home-card-feature .home-card-image { width: 100%; height: 100%; min-height: 280px; aspect-ratio: auto; object-fit: cover; }
body.page-home .home-card-feature .home-card-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 5vw, 64px); }
body.page-home .home-card-feature .home-card-body > p:not(.home-card-kicker) { min-height: 0; }
@media (max-width: 900px) { body.page-home .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  body.page-pym-works .work-wrap { width: min(100% - 34px, 1120px); }
  body.page-pym-works .work-section-heading { align-items: start; flex-direction: column; gap: 14px; }
  body.page-pym-works .text-work-grid { grid-template-columns: minmax(0, 1fr); }
  body.page-pym-works .work-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-pym-works .work-gallery-pair { grid-column: 1 / -1; }
}
@media (max-width: 540px) { body.page-home .home-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 650px) { body.page-home .home-card-feature { grid-template-columns: 1fr; } body.page-home .home-card-feature .home-card-image { min-height: 0; aspect-ratio: 1.7; } }

/* Page Simon Vitsonnet */
body.page-simon { --simon-ink:#fff; --simon-muted:#f0eded; --simon-paper:#050505; --simon-card:#151313; --simon-line:#484040; --simon-accent:#e52b2b; margin:0; background:var(--simon-paper); color:var(--simon-ink); font:17px/1.7 Georgia,"Times New Roman",serif; }
body.page-simon .simon-wrap { width:min(100% - 44px, 1120px); margin-inline:auto; }
body.page-simon .simon-hero { display:grid; grid-template-columns:1.05fr .95fr; min-height:580px; align-items:center; gap:clamp(35px,8vw,110px); padding-block:70px; }
body.page-simon .simon-eyebrow { margin:0 0 18px; color:var(--simon-accent); font:650 .68rem/1.5 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; letter-spacing:.16em; text-transform:uppercase; }
body.page-simon h1, body.page-simon h2, body.page-simon h3 { margin:0; color:var(--simon-accent); font-weight:400; }
body.page-simon h1 { font-size:clamp(3.1rem,7vw,6.2rem); letter-spacing:-.06em; line-height:.98; }
body.page-simon .simon-intro { max-width:570px; margin:24px 0 0; color:var(--simon-ink); font-size:1.13rem; }
body.page-simon .simon-intro a, body.page-simon .simon-contact a[href^="https://simonvitsonnet.com"] { color:#ffe45c; text-underline-offset:4px; }
body.page-simon .simon-links { display:flex; flex-wrap:wrap; gap:12px 22px; margin-top:27px; font:650 .72rem "Avenir Next",Avenir,"Helvetica Neue",sans-serif; }
body.page-simon .simon-links a { color:var(--simon-accent); text-underline-offset:4px; }
body.page-simon .simon-portrait { margin:0; justify-self:center; width:min(100%,440px); }
body.page-simon .simon-portrait img { display:block; width:100%; max-height:470px; object-fit:contain; }
body.page-simon .simon-gravatar { display:flex; align-items:center; gap:14px; margin:22px 0 0; color:var(--simon-muted); font:.72rem/1.5 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; }
body.page-simon .simon-gravatar img { width:76px; height:76px; border:1px solid var(--simon-line); }
body.page-simon .simon-band { padding:35px 22px; background:#111; color:var(--simon-ink); text-align:center; }
body.page-simon .simon-band p { max-width:790px; margin:auto; font-size:clamp(1.15rem,2.4vw,1.65rem); }
body.page-simon .simon-section { padding:90px 0; }
body.page-simon .simon-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:35px; }
body.page-simon .simon-heading h2 { font-size:clamp(2.5rem,5vw,4rem); line-height:1.05; letter-spacing:-.04em; }
body.page-simon .simon-heading > p { max-width:380px; margin:0; color:var(--simon-muted); }
body.page-simon .simon-texts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
body.page-simon .simon-text { border:1px solid var(--simon-line); background:var(--simon-card); }
body.page-simon .simon-text summary { padding:18px 20px; cursor:pointer; color:var(--simon-accent); font-size:1.24rem; }
body.page-simon .simon-poem { padding:0 22px 25px; }
body.page-simon .simon-poem p { margin:0 0 1.25em; }
body.page-simon .simon-poem p:last-child { margin-bottom:0; }
body.page-simon .simon-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.page-simon .simon-gallery figure { margin:0; padding:9px; border:1px solid var(--simon-line); background:var(--simon-card); }
body.page-simon .simon-gallery img { display:block; width:100%; height:220px; object-fit:contain; background:#211e1e; }
body.page-simon .simon-gallery figcaption { padding:9px 3px 2px; color:var(--simon-muted); font:.7rem/1.5 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; letter-spacing:.08em; text-transform:uppercase; }
body.page-simon .simon-gallery-group { margin-top:55px; }
body.page-simon .simon-gallery-group h3 { margin:0 0 18px; font-size:1.65rem; }
body.page-simon .simon-contact { padding:60px 22px; background:#111; text-align:center; }
body.page-simon .simon-contact p { margin:10px auto 0; color:var(--simon-muted); }
body.page-simon .simon-contact a { color:var(--simon-accent); }
body.page-simon .simon-section-alt { background:#101010; }
@media (max-width:760px) {
  body.page-simon .simon-hero { grid-template-columns:1fr; min-height:0; padding-block:55px; }
  body.page-simon .simon-portrait { width:min(78%,360px); }
  body.page-simon .simon-heading { display:block; }
  body.page-simon .simon-heading > p { margin-top:15px; }
  body.page-simon .simon-texts { grid-template-columns:1fr; }
  body.page-simon .simon-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:460px) {
  body.page-simon .simon-wrap { width:min(100% - 32px,1120px); }
  body.page-simon .simon-gallery { grid-template-columns:1fr; }
  body.page-simon .simon-gallery img { height:240px; }
}
body.page-simon .site-header, body.page-simon .site-footer { --shell-ink:var(--simon-ink); --shell-muted:var(--simon-muted); --shell-line:var(--simon-line); --shell-accent:var(--simon-accent); }
body.page-simon .site-header {
  display:flex; width:min(100% - 44px,1200px); justify-content:space-between; align-items:center; gap:24px;
  margin-inline:auto; padding-block:16px; border-bottom:1px solid var(--shell-line); color:var(--shell-ink);
  font-family:"Avenir Next",Avenir,"Helvetica Neue",sans-serif;
}
body.page-simon .site-brand { display:inline-flex; flex:none; align-items:center; gap:12px; color:var(--shell-ink); font:650 .7rem/1.35 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; letter-spacing:.04em; text-decoration:none; }
body.page-simon .site-brand img { display:block; width:42px; height:42px; object-fit:cover; }
body.page-simon .site-brand small { display:block; color:var(--shell-muted); font-size:.84em; font-weight:500; letter-spacing:.11em; text-transform:uppercase; }
body.page-simon .site-nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:clamp(12px,2.2vw,28px); font-size:.63rem; letter-spacing:.09em; text-transform:uppercase; }
body.page-simon .site-nav a { color:var(--shell-muted); text-decoration:none; }
body.page-simon .site-nav a:hover, body.page-simon .site-nav a:focus-visible { color:var(--shell-accent); }
body.page-simon .site-footer { display:flex; width:min(100% - 44px,1200px); justify-content:space-between; align-items:center; gap:20px; margin-inline:auto; padding-block:20px; border-top:1px solid var(--shell-line); color:var(--shell-muted); font: .65rem/1.5 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; letter-spacing:.04em; }
body.page-simon .site-footer nav { display:flex; flex-wrap:wrap; gap:18px; }
body.page-simon .site-footer a { color:inherit; text-underline-offset:3px; }
@media (max-width:650px) {
  body.page-simon .site-header { width:min(100% - 34px,1200px); flex-wrap:wrap; gap:10px; }
  body.page-simon .site-nav { width:100%; justify-content:space-between; gap:8px; padding:5px 0 2px; font-size:.56rem; }
  body.page-simon .site-footer { width:min(100% - 34px,1200px); align-items:flex-start; flex-direction:column; gap:8px; }
  body.page-simon .site-footer nav { gap:14px; }
}
body.page-creations .gallery-zoom, body.page-simon .gallery-zoom { display:block; width:100%; margin:0; padding:0; border:0; background:transparent; cursor:zoom-in; }
body.page-creations .gallery-zoom:focus-visible, body.page-simon .gallery-zoom:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
body.page-pym-works .work-image-zoom { display:block; width:100%; margin:0; padding:0; border:0; background:transparent; cursor:zoom-in; }
body.page-pym-works .work-image-zoom:focus-visible { outline:3px solid var(--work-accent); outline-offset:3px; }
body.page-creations .gallery-lightbox, body.page-simon .gallery-lightbox {
  position:fixed; inset:0; z-index:20; display:none; width:100vw; height:100vh; max-width:none; max-height:none;
  align-items:center; justify-content:center; margin:0; padding:54px 24px 58px; overflow:hidden; border:0;
  background:rgb(0 0 0 / 94%); color:#fff;
}
body.page-creations .gallery-lightbox[open], body.page-simon .gallery-lightbox[open] { display:flex; }
body.page-creations .gallery-lightbox::backdrop, body.page-simon .gallery-lightbox::backdrop { background:rgb(0 0 0 / 94%); }
body.page-creations .gallery-lightbox > img, body.page-simon .gallery-lightbox > img { display:block; max-width:min(94vw,1500px); max-height:84vh; object-fit:contain; }
body.page-creations .gallery-lightbox > p, body.page-simon .gallery-lightbox > p { position:absolute; right:70px; bottom:16px; left:24px; margin:0; color:#fff; font:.75rem/1.5 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; letter-spacing:.09em; text-align:center; text-transform:uppercase; }
body.page-creations .gallery-lightbox-close, body.page-simon .gallery-lightbox-close { position:absolute; top:13px; right:20px; z-index:1; border:0; background:transparent; color:#fff; cursor:pointer; font:300 2.5rem/1 Arial,sans-serif; }
body.page-simon .gallery-lightbox-close { color:#e52b2b; }
@media (max-width:600px) {
  body.page-creations .gallery-lightbox, body.page-simon .gallery-lightbox { padding:52px 12px 62px; }
  body.page-creations .gallery-lightbox > img, body.page-simon .gallery-lightbox > img { max-width:96vw; max-height:82vh; }
  body.page-creations .gallery-lightbox > p, body.page-simon .gallery-lightbox > p { right:12px; bottom:13px; left:12px; font-size:.65rem; }
}
body.page-pym-works .work-lightbox {
  position:fixed; inset:0; z-index:20; display:none; width:100vw; height:100vh; max-width:none; max-height:none;
  align-items:center; justify-content:center; margin:0; padding:54px 24px 58px; overflow:hidden; border:0;
  background:rgb(0 0 0 / 94%); color:#fff;
}
body.page-pym-works .work-lightbox[open] { display:flex; }
body.page-pym-works .work-lightbox::backdrop { background:rgb(0 0 0 / 94%); }
body.page-pym-works .work-lightbox > img { box-sizing:border-box; display:block; max-width:min(94vw,1500px); max-height:84vh; padding:14px; background:#eee9df; object-fit:contain; }
body.page-pym-works .work-lightbox > p { position:absolute; right:70px; bottom:16px; left:24px; margin:0; color:#fff; font:.75rem/1.5 "Avenir Next",Avenir,"Helvetica Neue",sans-serif; letter-spacing:.09em; text-align:center; }
body.page-pym-works .work-lightbox-close { position:absolute; top:13px; right:20px; z-index:1; border:0; background:transparent; color:#fff; cursor:pointer; font:300 2.5rem/1 Arial,sans-serif; }
@media (max-width:600px) {
  body.page-pym-works .work-lightbox { padding:52px 12px 62px; }
  body.page-pym-works .work-lightbox > img { max-width:96vw; max-height:82vh; padding:9px; }
  body.page-pym-works .work-lightbox > p { right:12px; bottom:13px; left:12px; font-size:.65rem; }
}
