/* relaxinfo.ch — eucalyptus rail, mist page, copper accents. Mobile first: the rail is a top band below 60rem. */
:root {
  --mist: #f2f4f1;
  --paper: #fbfcfa;
  --ink: #1e2a26;
  --soft: #5f6f69;
  --euca: #23463d;
  --euca-2: #2f5d50;
  --copper: #b5653a;
  --sand: #e9b48a;
  --rule: #d6ddd8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 1.0625rem/1.68 var(--sans); }
a { color: var(--euca-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--copper); }

.frame { min-height: 100vh; }
.rail { background: var(--euca); color: #dfe8e3; padding: 1rem 1.1rem .4rem; }
.mark { display: inline-flex; align-items: baseline; gap: .15rem; text-decoration: none; color: #fff; font-family: var(--serif); font-size: 1.6rem; letter-spacing: .01em; }
.mark b { font-weight: 600; }
.mark i { color: var(--sand); font-style: italic; font-weight: 400; }
.motto { margin: .2rem 0 .7rem; font-size: .86rem; line-height: 1.45; color: #b9cbc3; }
.menu ul { list-style: none; margin: 0 -1.1rem; padding: 0 1.1rem .6rem; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.menu li { flex: 0 0 auto; }
.menu a { display: block; padding: .38rem .75rem; border-radius: 999px; color: #e7efeb; text-decoration: none; font-size: .92rem; border: 1px solid rgba(233, 180, 138, .28); }
.menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menu a[aria-current="page"] { background: var(--sand); border-color: var(--sand); color: var(--euca); font-weight: 600; }

.sheet { padding: 1.4rem 1.1rem 2rem; }
.prose { max-width: 42rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 1.4rem 1.2rem 1.8rem; }
.prose h1, .prose h2, .prose h3 { font-family: var(--serif); color: var(--euca); line-height: 1.22; font-weight: 600; }
.prose h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); margin: .1rem 0 .8rem; }
.prose h2 { font-size: 1.38rem; margin: 2rem 0 .55rem; padding-top: .9rem; border-top: 1px dashed var(--rule); }
.prose h3 { font-size: 1.12rem; margin: 1.5rem 0 .3rem; }
.prose p, .prose ul, .prose ol, .prose dl { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--copper); }
.chapeau { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: #33433d; }
.kicker { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.trail { font-size: .85rem; color: var(--soft); margin-bottom: .8rem; }
.trail a { color: var(--soft); }

.encadre { background: #eef3ef; border-left: 4px solid var(--copper); border-radius: 0 10px 10px 0; padding: .85rem 1rem; margin: 1.3rem 0; }
.encadre p:last-child { margin-bottom: 0; }
.prose dl dt { font-family: var(--serif); font-weight: 600; color: var(--euca); margin-top: 1.1rem; }
.prose dl dd { margin: .2rem 0 0; }
.questions details { border-bottom: 1px solid var(--rule); padding: .7rem 0; }
.questions summary { cursor: pointer; font-weight: 600; color: var(--euca); list-style-position: outside; }
.questions details p { margin: .55rem 0 .2rem; }

.sommaire { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.sommaire li { counter-increment: s; position: relative; padding: .8rem 0 .8rem 2.6rem; border-bottom: 1px solid var(--rule); }
.sommaire li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .85rem; font-family: var(--serif); color: var(--copper); font-size: 1.15rem; }
.sommaire a { font-weight: 600; text-decoration: none; }
.sommaire span { display: block; font-size: .92rem; color: var(--soft); line-height: 1.5; margin-top: .15rem; }
.voir { margin-top: 1.8rem; font-size: .95rem; color: var(--soft); }

.photo { margin: 1.3rem 0 1.7rem; }
.photo img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--rule); }
.photo figcaption { margin-top: .5rem; font-size: .88rem; line-height: 1.5; color: var(--soft); border-left: 3px solid var(--sand); padding-left: .7rem; }
.photo-credit { display: block; font-size: .76rem; margin-top: .15rem; }
.photo-credit a, .credits span a { color: var(--soft); }

.colophon { max-width: 42rem; font-size: .86rem; color: var(--soft); padding: 1.2rem .2rem 0; line-height: 1.55; }
.colophon p { margin: 0 0 .5rem; }
.colophon a { color: var(--soft); }

@media (min-width: 60rem) {
  .frame { display: grid; grid-template-columns: 17rem 1fr; }
  .rail { position: sticky; top: 0; height: 100vh; padding: 2.2rem 1.6rem; display: flex; flex-direction: column; }
  .mark { font-size: 2rem; }
  .motto { margin: .6rem 0 2rem; }
  .menu ul { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: .15rem; }
  .menu a { border: 0; border-radius: 8px; padding: .5rem .7rem; font-size: 1rem; }
  .sheet { padding: 3rem 3.2rem; }
  .prose { padding: 2.4rem 2.6rem 2.8rem; }
}
