/* The practice site, one vertical page (direction 6, chosen by the user on
   2026-11-25: relief flowers, palette « Rouille et rose »). Light and dark
   sections alternate; each dark one opens with a border of rust, orange and
   rose; a hand-scattered 1970s flower pattern in relief, tone on tone, is
   hidden and revealed in a small halo under the pointer or the finger; a
   bead curtain on arrival (home page only). */
:root {
    --wall: #f5e6d3; --paper: #fbf2e6; --ink: #2e1a12; --ink-2: #5e3d2e;
    --rust: #a8432a; --rust-dark: #86321d; --orange: #d9762e; --rose: #e6a7a0; --rose-tint: #f2cdbf;
    /* the shared form styles read these names */
    --bg: var(--wall); --surface: var(--paper); --plum: var(--rust-dark); --mustard: var(--orange);
    --accent: var(--rust-dark); --accent-strong: var(--ink); --accent-ink: var(--ink); --focus: var(--rust-dark);
    --button-bg: var(--rust-dark); --button-ink: var(--paper);
    --tint: #f2dcc6; --tint-2: #efd0bb; --tint-3: var(--rose-tint);
    --line: #e2c9ae; --line-strong: #9c7458;
    --wine: #3d1716; --wine-glow: #53221d; --wine-deep: #2b0f0e; --on-dark: #fbf2e6; --on-dark-2: #ecd3c7;
    --b1: var(--rust); --b2: var(--orange); --b3: var(--rose); --link-dark: var(--rose); --badge-ink: var(--ink);
    --pad: clamp(1.25rem, 5vw, 4rem); --wrap: 74rem;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--wall); color: var(--ink); }
mark.ph { color: inherit; }
.curtain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; pointer-events: none; }

/* The flowers: a pre-rendered relief texture (flowers.webp, a seamless tile; a grey
   relief map laid in soft light, so tone on tone), hidden until the pointer or a
   finger lights a soft circle of it. The circle (.halo) and the texture inside it
   (.halo-flowers, held still against the window) only move by transforms read from
   two variables, --x and --y: no repaint, the compositor does it. The mask is fixed
   to the circle and never changes. */
.halo {
    --x: -500px; --y: -500px; --r: 92px;
    position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
    width: calc(2 * var(--r)); height: calc(2 * var(--r));
    transform: translate3d(calc(var(--x) - var(--r)), calc(var(--y) - var(--r)), 0);
    overflow: hidden; contain: strict;
    -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.6) 45%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.6) 45%, transparent 100%);
    mix-blend-mode: soft-light;
    opacity: 0; transition: opacity 900ms ease;
    will-change: transform, opacity;
}
.halo.lit { opacity: 1; transition: opacity 250ms ease; }
.halo-flowers {
    position: absolute; left: 0; top: 0; width: 100vw; height: 100vh;
    transform: translate3d(calc(var(--r) - var(--x)), calc(var(--r) - var(--y)), 0);
    will-change: transform;
}
/* fetched after the page has loaded (motion.js adds .ready), never in its way */
.halo.ready .halo-flowers { background: url("flowers.webp") 0 0 / 600px 600px repeat; }

/* Header */
.top { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; padding: 1rem var(--pad); max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; }
.brand { display: grid; text-decoration: none; line-height: 1.2; margin-right: auto; color: var(--ink); }
.brand-name { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.3rem; font-weight: 560; color: var(--rust-dark); }
.brand-title { font-size: 0.875rem; color: var(--ink-2); }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.top nav a { color: var(--ink); text-decoration: none; padding-block: 0.4rem; }
.top nav a:hover { color: var(--rust-dark); }
.top .nav-cta { background: var(--rust-dark); color: var(--paper); padding: 0.5rem 1rem; border-radius: 999px; }
.top .nav-cta:hover { background: var(--ink); color: var(--paper); }


/* Bands: each section its own colour, full width */
.band { position: relative; z-index: 1; }
.band .inner { max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding: clamp(3.5rem, 9vw, 7rem) var(--pad); }
.band h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.02; margin-bottom: 1.5rem; }
.band-wall { background: var(--wall); }
.band-light { background: var(--paper); }
.band-wall h1, .band-wall h2, .band-light h2 { color: var(--rust-dark); }
.band-dark { background: radial-gradient(110% 90% at 24% 8%, var(--wine-glow) 0%, var(--wine) 55%, var(--wine-deep) 100%); color: var(--on-dark); }
/* the dark sections open with a thin border of the three colours side by side */
.band-dark::before { content: ""; display: block; height: 12px; background: linear-gradient(90deg, var(--b1) 0 33.34%, var(--b2) 33.34% 66.67%, var(--b3) 66.67% 100%); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark a { color: var(--link-dark); }
.band-dark :focus-visible { outline-color: var(--link-dark); }
.band-dark mark.ph { color: var(--ink); }
.card-dark, .band-dark .fees { background: rgb(0 0 0 / 0.2); border: 1px solid rgb(255 255 255 / 0.06); border-radius: 24px; }

/* Opening */
.opening .inner { display: grid; gap: 2rem; align-items: center; padding-top: clamp(2rem, 6vw, 4rem); }
.opening-text { display: grid; gap: 1.25rem; }
.opening .where { color: var(--ink-2); }
.opening h1 { font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem); line-height: 1; max-width: 19ch; text-wrap: balance; }
/* her title is a question and its answer: the answer follows smaller, in italic */
.opening h1 span { display: block; }
.opening .h1-answer { margin-top: 0.4em; font-size: 0.6em; line-height: 1.1; font-style: italic; color: var(--ink-2); max-width: 26ch; }
.opening .lede { max-width: 38rem; }
.opening .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.opening .quiet { color: var(--ink); }
.portrait { margin: 0; width: min(100%, 22rem); aspect-ratio: 1; border-radius: 50%; background: var(--b3); box-shadow: 0 0 0 14px var(--b2), 0 0 0 28px var(--b1); display: grid; place-items: center; color: var(--ink); font-size: 0.9375rem; justify-self: center; overflow: hidden; }
/* a real photo fills the round frame, cropped, whatever its proportions */
.portrait { position: relative; }
.portrait img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 52rem) { .opening .inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
/* No photo: the title takes the whole width; under it the introduction and,
   beside it, the notice, so the first screen is used across, not as a phone column */
@media (min-width: 52rem) {
    .opening.no-photo .inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
    .opening.no-photo .opening-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
    .opening.no-photo .opening-text > * { grid-column: 1; }
    .opening.no-photo .where, .opening.no-photo h1 { grid-column: 1 / -1; }
    .opening.no-photo h1 { margin-bottom: clamp(0.5rem, 2vw, 1.75rem); }
    .opening.no-photo .pause-note { grid-column: 2; grid-row: 3 / span 2; }
}
@media (max-width: 51.99rem) { .portrait { width: 8rem; box-shadow: 0 0 0 7px var(--b2), 0 0 0 14px var(--b1); order: -1; justify-self: start; margin: 14px; } }

/* No new requests for now: a calm note under the opening, topped by a small
   bar of the three colours (the border of the dark sections, in miniature) */
.pause-note { max-width: 34rem; display: grid; gap: 0.2rem; padding: 1rem 1.25rem 1.05rem; background: var(--paper); border-radius: 16px; font-size: 1rem; line-height: 1.5; }
.pause-note::before { content: ""; width: 2.25rem; height: 6px; border-radius: 3px; margin-bottom: 0.5rem; background: linear-gradient(90deg, var(--b1) 0 33.34%, var(--b2) 33.34% 66.67%, var(--b3) 66.67% 100%); }
.pause-note strong { font-weight: 600; }
.pause-note span { color: var(--ink-2); }
.pause-note b { font-weight: inherit; white-space: nowrap; }
/* on a phone the opening is taller than the screen: the note comes first, so it is seen without scrolling */
@media (max-width: 51.99rem) { .pause-note { order: -1; margin-bottom: 0.5rem; } }

/* The sessions: practical facts side by side, under the heading */
.sessions { display: grid; }
.fees { margin: 0; display: grid; gap: 1.25rem 2.5rem; align-content: start; padding: 1.5rem 1.75rem; }
.fees dt { font-size: 0.9375rem; color: var(--on-dark-2); }
.fees dd { margin: 0.25rem 0 0; font-weight: 600; font-size: 1.125rem; line-height: 1.45; }
@media (min-width: 52rem) { .fees { display: flex; flex-wrap: wrap; padding: 2rem 2.25rem; } .fees > div { flex: 1 1 10rem; } .fees > .fees-wide { flex: 2 1 20rem; } }

/* Who I am: the heading beside the text on a wide screen, as Publications below */
.who-text { display: grid; gap: 1.1rem; max-width: 42rem; }
.who p { font-size: 1.1875rem; }
@media (min-width: 60rem) { .who { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 4rem; align-items: start; } }

/* Publications: the two books stand on the velvet as objects, slightly
   turned, with a spine and a cast shadow; no card around them. A drawn cover
   (cream or rose, the three colours across it) waits for the real one. */
.shelf { display: grid; gap: 2.5rem 4rem; }
.books { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.75rem; }
.book { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.cover { position: relative; aspect-ratio: 2 / 3; border-radius: 2px 5px 5px 2px; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 1px 2px rgb(0 0 0 / 0.35), 0 16px 28px -10px rgb(0 0 0 / 0.65); }
.book:nth-child(2) .cover { transform: rotate(1.5deg); }
/* the spine: a fold of shadow and light along the left edge, over a drawn or a real cover */
.cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; background: linear-gradient(90deg, rgb(0 0 0 / 0.28), rgb(255 255 255 / 0.18) 55%, rgb(0 0 0 / 0.06)); pointer-events: none; }
.cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-drawn { position: absolute; inset: 0; padding: 14% 12% 0 18%; background: var(--paper); color: var(--ink); }
.cover-drawn span { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: clamp(0.8125rem, 1.4vw, 1.0625rem); line-height: 1.2; }
/* three bands of the period, stacked, across the lower part of the cover */
.cover-drawn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14%; height: 30%; background: linear-gradient(var(--b1) 0 33%, var(--b2) 33.7% 66.3%, var(--b3) 67% 100%); }
.book:nth-child(2) .cover-drawn { background: var(--rose); }
.book:nth-child(2) .cover-drawn::after { background: linear-gradient(var(--paper) 0 33%, var(--orange) 33.7% 66.3%, var(--rust) 67% 100%); }
.book-text { display: grid; gap: 0.3rem; align-content: start; }
.book h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 520; font-size: clamp(1.2rem, 0.8vw + 0.85rem, 1.5rem); line-height: 1.2; text-wrap: balance; margin-bottom: 0.3rem; }
.book-by, .book-pub { color: var(--on-dark-2); font-size: 1rem; }
.book-about { margin-top: 0.6rem; max-width: 34rem; }
.book-soon { margin-top: 0.5rem; padding-block: 0.35rem; font-style: italic; color: var(--rose); }
.book-buy { display: inline-block; margin-top: 0.5rem; padding-block: 0.35rem; font-weight: 600; text-underline-offset: 0.2em; }
@media (min-width: 40rem) { .book { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 2rem; } }
@media (min-width: 60rem) {
    .shelf { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
    .books { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); }
    .book { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .cover { width: min(100%, 15rem); }
    /* staggered, as if set down by hand, not a row of equal tiles */
    .book:nth-child(2) { margin-top: 5rem; }
}

/* First contact: her one sentence, large, and when the form opens */
.first-text { display: grid; gap: 1rem; max-width: 46rem; }
.first-text .big { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.3; color: var(--ink); }
.first-text p:not(.big) { color: var(--ink-2); }

/* The request */
.ask .lede { max-width: 38rem; margin-bottom: 2rem; color: var(--ink-2); }
/* On the dark velvet the form, or the note in its place, is a sheet of paper:
   inside it the light colours apply unchanged. */
.band-dark.ask .lede { color: var(--on-dark-2); }
.band-dark .request { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); }
.band-dark .form-off { background: var(--paper); color: var(--ink); border-radius: 24px; }
.band-dark .request a, .band-dark .form-off a { color: var(--rust-dark); }
.band-dark .request :focus-visible, .band-dark .form-off :focus-visible { outline-color: var(--rust-dark); }
.band-dark .form-off h2 { color: var(--rust-dark); }
.band .form-off h2 { margin-bottom: 0; }
.pause-date { color: var(--rust-dark); font-size: clamp(1.75rem, 3vw + 1rem, 3.25rem); }
.pause-date span { white-space: nowrap; }
.form-off .elsewhere { padding-top: 1rem; border-top: 1px solid var(--line); }
.band-dark.ask .contact-aside { color: var(--on-dark); border-color: rgb(255 255 255 / 0.16); }
.band-dark .contact-aside .hint { color: var(--on-dark-2); }
.ask-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .ask-grid { grid-template-columns: minmax(0, 42rem) minmax(0, 18rem); justify-content: space-between; column-gap: 4rem; } .ask .contact-aside { position: sticky; top: 2rem; padding-left: 2rem; border-left: 1px solid var(--line); } }
.ask .contact-aside { padding-top: 0; border-top: 0; }

.foot { position: relative; z-index: 1; font-size: 0.9375rem; }
.foot .inner { max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding: 2.5rem var(--pad) 3rem; display: grid; gap: 0.5rem; }
.foot a { color: var(--link-dark); }
.foot .inner { padding-top: 2rem; }
.foot .small { font-size: 0.875rem; max-width: 46rem; color: var(--on-dark-2); }
.band .contact-aside h2 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 0.375rem; color: var(--rust-dark); }
.band-dark .contact-aside h2 { color: var(--rose); }

/* Dot navigation (desktop): where you are on the page */
.dots { position: fixed; right: 1.25rem; top: 50%; transform: translateY(-50%); z-index: 20; display: none; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.dots a { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font-size: 0.8125rem; color: var(--ink-2); padding: 0.25rem 0.35rem 0.25rem 0.75rem; border-radius: 999px; }
.dots a::after { background: var(--paper); }
.dots a::after { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--rust-dark); }
.dots a span { display: none; }
.dots a:hover, .dots a:focus-visible, .dots a[aria-current="true"] { background: var(--paper); }
.dots a:hover span, .dots a:focus-visible span, .dots a[aria-current="true"] span { display: inline; }
.dots a[aria-current="true"] { color: var(--ink); background: var(--paper); }
.dots a[aria-current="true"]::after { background: var(--rust); border-color: var(--rust); }
@media (min-width: 70rem) { .dots { display: flex; } }

/* Text pages (Protection des données, merci, 404): ordinary headings inside the cream band */
.band .prose h2 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); margin-bottom: 0; color: var(--rust-dark); }
.band .page-head h1 { color: var(--rust-dark); }
