/* Hallmark · shape: orientation table, a named horizon over a practice set in type · genre: editorial · theme: custom (brand palette pinned by the user) · redesign: full · job: hire · idea: "Find your bearings: Grenoble's horizon named the way an orientation table names it, and what you need to start therapy set plainly beneath it" · vibe: "a university-press book in Alpine light"
 * paper: oklch(95.9% 0.010 87) · accent: oklch(39.4% 0.038 178) · display: Literata · body: Literata · hero: left-set headline over a full-bleed panorama naming Vercors, Chartreuse and Belledonne · nav: wordmark left, text links right, no button · footer: one line on the pine ground, copyright left, two links right · imagery: none, the labelled horizon diagram · signature: the Grenoble horizon with its three massifs named
 * axes: light/roman-serif/cool · posture: Restrained on paper, a committed pine field for the contact band and footer · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a calm practice page argues little by nature; it takes a position by printing fees, the reply time and the crisis lines in the open instead of selling */
/* Hallmark · waive 49b · one link, the full email address, two lines at 320px only · it is Robert's real address and the page's one action, so shortening the label would change where clients write */
/* Hallmark · waive 81 · one portrait slot, 240x300, captioned as a draft placeholder · Robert has no portrait yet; the slot shows him where one would sit and is deleted at launch if he declines */
/* Hallmark · waive 78 · the legal page only, a Long Document whose heads label each block · a section-size head over Hébergement would shout; the home page heads render at section size */
/* Hallmark · answered F18 · the CSP sets script-src 'none', so Robert's portrait goes in as a plain img inside the figure, with no slot script */
/* Hallmark · dismissed 77 · the French page is a deliberate short summary for French GPs and referrers; the full content lives on the English page */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: var(--text-md); line-height: 1.6; font-optical-sizing: auto; font-kerning: normal; }
h1, h2, h3 { font-weight: 400; color: var(--color-ink); }
h2 { font-size: var(--text-section); line-height: 1.08; letter-spacing: var(--tracking-display); max-width: 18ch; }
h3 { font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; }
strong { font-weight: 600; }
cite { font-style: italic; }
a:hover { color: var(--color-accent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }

/* Draft markers: body.is-draft shows them; tools/build.py --final strips them */
.draft-banner { display: none; }
.is-draft .draft-banner { display: block; padding: var(--space-xs) var(--space-md); background: var(--color-larch-wash); color: var(--color-ink); font-size: var(--text-xs); text-align: center; }
.is-draft .new { text-decoration: underline dotted var(--color-accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.28em; }
.contact .is-draft .new, .is-draft .contact .new { text-decoration-color: var(--color-field-muted); }
.is-draft .tbc { padding: 0 var(--space-3xs); border-radius: 2px; background: var(--color-larch-wash); color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-larch); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* Masthead */
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.wordmark { display: flex; flex-direction: column; gap: var(--space-3xs); text-decoration: none; line-height: 1.15; }
.wordmark__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.012em; }
.wordmark__role { font-size: var(--text-xs); color: var(--color-muted); }
.nav { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.nav a:hover { text-decoration: underline; }
.nav__contact { color: var(--color-accent); font-weight: 600; text-decoration: underline !important; text-decoration-thickness: 1px; }

.menu { display: none; position: relative; }
.menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); font-size: var(--text-sm); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--color-muted); }
.menu summary:active { background: var(--color-paper-2); }
.menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.menu nav { position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); display: grid; min-width: 15rem; padding: var(--space-xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
.menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); text-decoration: none; }
.menu nav a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.menu nav a:active { background: var(--color-paper-3); }

/* Controls */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-control); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); color: var(--color-accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.link-quiet { display: inline-flex; align-items: center; min-height: 48px; color: var(--color-ink); white-space: nowrap; }
.link-quiet:active, .nav a:active, .footer a:active { color: var(--color-accent-2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } .btn:active { transform: none; } }

/* Hero: the headline, one sentence, the action, then the horizon named like an orientation table */
.hero { padding-top: var(--space-2xl); }
/* On wide screens the horizon sits on the fold: the stage fills the first screen below the masthead */
@media (min-width: 60rem) {
  .hero__stage { display: flex; flex-direction: column; min-height: calc(100svh - var(--masthead-h) - var(--space-2xl)); }
  .hero__stage .panorama { margin-top: auto; padding-top: var(--space-xl); }
}
.hero h1 { max-width: 11em; font-size: var(--text-display); line-height: 1.03; letter-spacing: var(--tracking-display); }
.hero__lede { max-width: 44ch; margin-top: var(--space-lg); font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-xl); }
.panorama { margin-top: var(--space-xl); overflow: clip; }
.panorama svg { width: 100%; height: auto; }
.h-far { fill: var(--color-h-far); }
.h-mid { fill: var(--color-h-mid); }
.h-near { fill: var(--color-h-near); }
.h-leader { stroke: var(--color-muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.h-name { font-family: var(--font-body); font-size: 17px; fill: var(--color-ink-2); }

/* At a glance: four plain facts under the horizon */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink); }
.glance dt { font-size: var(--text-xs); color: var(--color-muted); }
.glance dd { margin: var(--space-2xs) 0 0; }

/* Areas: the six things people bring, set as an index */
.areas { padding-block: var(--section-gap-s) var(--section-gap); }
.areas__grid, .approach__grid, .about__grid, .contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.areas h2 { grid-column: 1 / span 4; }
.areas__list { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.areas__list li { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.areas__list p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.areas__note { grid-column: 6 / span 7; max-width: 52ch; color: var(--color-ink-2); }

/* Approach: a change of paper to mist; the methods, then his own sentence set large */
.approach { padding-block: var(--section-gap); background: var(--color-paper-2); color: var(--color-ink); }
.approach__head { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--space-lg); }
.approach__head > p { max-width: 45ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.methods { grid-column: 7 / span 6; display: grid; gap: var(--space-lg); }
.methods p { margin-top: var(--space-2xs); color: var(--color-ink-2); }
.statement { grid-column: 1 / span 10; margin-top: var(--space-2xl); }
.statement blockquote p { max-width: 46ch; font-family: var(--font-display); font-size: var(--text-statement); line-height: 1.3; letter-spacing: -0.012em; text-indent: -0.42em; }
.statement figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.book { grid-column: 1 / span 7; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--space-lg); align-items: center; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-paper-3); font-size: var(--text-sm); color: var(--color-ink-2); }
.book img { width: 100%; height: auto; border-radius: 2px; }

/* Fees and first steps: the facts set at figure size, captions beneath */
.start { padding-block: var(--section-gap); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin-top: var(--space-2xl); }
.facts li { display: flex; flex-direction: column; gap: var(--space-xs); padding-inline: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts__big { font-family: var(--font-display); font-size: var(--text-figure); font-weight: 400; line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums lining-nums; }
.facts li > span { color: var(--color-ink-2); }
.start__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin-top: var(--space-3xl); }
.start__fee { grid-column: 1 / span 7; font-size: var(--text-lead); }
.start__lead { grid-column: 1 / span 7; max-width: 44ch; font-size: var(--text-lead); line-height: 1.5; }
.start__notes { grid-column: 9 / span 4; display: grid; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }

/* About: the career as a dated sequence; registration and the portrait slot beside it */
.about { padding-block: var(--section-gap-s) var(--section-gap-l); }
.about h2 { grid-column: 1 / -1; }
.timeline { grid-column: 1 / span 8; display: grid; }
.timeline li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--gap-columns); padding-block: var(--space-md); }
.timeline li + li { border-top: var(--rule-hair) solid var(--color-rule); }
.timeline__when { font-family: var(--font-display); font-size: var(--text-title); line-height: 1.3; color: var(--color-accent); font-variant-numeric: lining-nums; }
.timeline p { max-width: 60ch; }
.about__side { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: var(--space-md); }
.portrait { display: flex; align-items: flex-end; width: 100%; max-width: 15rem; aspect-ratio: 4 / 5; padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); }
.portrait figcaption { font-size: var(--text-xs); color: var(--color-ink-2); }
.about__side h3 { margin-top: var(--space-lg); font-size: var(--text-lg); }
.registration { display: grid; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }

/* Contact: the pine field under the dusk ridge; the address set large */
.contact { background: var(--color-field); color: var(--color-field-ink); padding-bottom: var(--section-gap); --color-focus: var(--color-field-focus); }
.contact__ridge { height: clamp(72px, 12.5vw, 240px); background: var(--color-paper); --color-h-far: var(--color-paper-3); --color-h-mid: var(--color-h-near); }
.contact__ridge svg { width: 100%; height: 100%; }
.contact__ridge .h-near { fill: var(--color-field); }
.contact__grid { padding-top: var(--space-3xl); }
.contact h2, .contact h3 { color: var(--color-field-ink); }
.contact__main { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--space-md); }
.contact__main h2 { margin-bottom: var(--space-md); }
.contact__email { display: inline-block; font-family: var(--font-display); font-size: var(--text-email); line-height: 1.15; letter-spacing: -0.015em; color: var(--color-field-ink); text-decoration-thickness: 2px; text-underline-offset: 0.18em; overflow-wrap: break-word; min-width: 0; }
.contact__email:hover { color: var(--color-field-muted); }
.contact__main p { color: var(--color-field-muted); }
.contact__main p:first-of-type { margin-top: var(--space-md); }
.crisis { grid-column: 9 / span 4; align-self: start; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-field-2); color: var(--color-field-ink); }
.crisis h3 { font-size: var(--text-title); }
.crisis > p { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-field-muted); }
.crisis__list { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
.crisis__list li { display: grid; gap: var(--space-3xs); }
.crisis__list a { justify-self: start; font-family: var(--font-display); font-size: var(--text-title); font-variant-numeric: tabular-nums lining-nums; color: var(--color-field-ink); text-decoration-thickness: 1px; }
.crisis__list a:hover { color: var(--color-field-muted); }
.crisis__list span { font-size: var(--text-sm); color: var(--color-field-muted); }

/* Footer: one line on the darker pine */
.footer { background: var(--color-field-3); color: var(--color-field-muted); font-size: var(--text-sm); --color-focus: var(--color-field-focus); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-xl); padding-block: var(--space-lg); }
.footer ul { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-field-ink); }
.footer a:hover { color: var(--color-field-muted); }

/* A plain document: the French summary's prose and the legal page */
.doc { padding-block: var(--space-2xl) var(--section-gap); }
.doc h1 { max-width: 20ch; font-size: var(--text-section); line-height: 1.08; letter-spacing: var(--tracking-display); }
.doc__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); margin-top: var(--space-2xl); line-height: 1.7; }
.doc__body > h2 { grid-column: 1 / span 4; padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-title); line-height: 1.25; letter-spacing: -0.01em; max-width: none; }
.doc__body > :not(h2) { grid-column: 5 / span 8; max-width: 68ch; }
.doc__body > div { display: grid; gap: var(--space-md); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); max-width: none; }
.doc__body > div > p { max-width: 68ch; }
.doc__body ul { display: grid; gap: var(--space-xs); padding-left: var(--space-lg); list-style: disc; }
.summary { padding-block: var(--section-gap-s) var(--section-gap); }
.summary__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.summary h2 { grid-column: 1 / span 4; }
.summary__body { grid-column: 6 / span 7; display: grid; gap: var(--space-md); }
.summary__body h3 { margin-top: var(--space-lg); }
.summary__body ul { display: grid; gap: var(--space-xs); padding-left: var(--space-lg); list-style: disc; }

@media (max-width: 60rem) {
  .nav--full { display: none; }
  .menu { display: block; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc__body > h2, .doc__body > :not(h2), .areas h2, .areas__list, .areas__note, .approach__head, .methods, .statement, .book, .start__fee, .start__lead, .start__notes, .about h2, .timeline, .about__side, .contact__main, .crisis, .summary h2, .summary__body { grid-column: 1 / -1; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .facts li { padding: var(--space-lg) 0 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .facts li:first-child { padding-top: 0; border-top: 0; }
  .doc__body > div { padding-top: 0; border-top: 0; }
  .start__text { margin-top: var(--space-2xl); }
  .about__side { gap: var(--space-sm); }
  .portrait { max-width: 10rem; }
}
@media (max-width: 40rem) {
  .areas__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .panorama svg { width: 135%; translate: -12.963% 0; }
  .statement blockquote p { text-indent: 0; }
  .h-name { font-size: 38px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .crisis { padding: var(--space-lg); }
  .wordmark__role { display: none; }
  .glance { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: var(--space-md); }
}
