/* Pages: skip link, menu, inner-page spacing, link rows, articles, reviews. Loads before visual.css. */
[hidden] { display: none !important; }
html[lang^="en"] [data-only="fr"], html[lang^="fr"] [data-only="en"] { display: none; }
.jump { position: fixed; z-index: 40; left: 12px; top: 12px; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 8px 24px rgba(10, 14, 26, .35); transform: translateY(-200%); }
.jump:focus { transform: none; }

/* Menu */
.top__nav { white-space: nowrap; }
.top__nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.top__menu, .top__navbook { display: none; }
.top__menu { height: 42px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; background: none; font-weight: 700; font-size: .9rem; cursor: pointer; }

/* Inner pages start under the bar */
.is-page main > :first-child { padding-top: calc(74px + var(--y) * .8); }
.is-page h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.split .sec__head { margin: 0; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec__head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; max-width: none; }

/* Link rows: the index on the home page and the list of articles */
.rows { border-top: 1.5px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: baseline; gap: 6px clamp(20px, 4vw, 64px); padding: clamp(22px, 2.6vw, 34px) 0; text-decoration: none; }
.rows :is(h2, h3) { position: relative; font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 800; font-stretch: 108%; line-height: 1.1; letter-spacing: -.015em; transition: transform .25s ease; }
.rows :is(h2, h3)::before { content: ""; position: absolute; left: -26px; top: .36em; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .25s ease; }
.rows a:is(:hover, :focus-visible) :is(h2, h3) { transform: translateX(26px); }
.rows a:is(:hover, :focus-visible) :is(h2, h3)::before { transform: scale(1); }
.rows p { color: var(--fg2); }
.rows--posts a { grid-template-areas: "when sum" "title sum"; }
.rows time { grid-area: when; font-size: .9rem; font-weight: 600; color: var(--fg2); }
.rows--posts :is(h2, h3) { grid-area: title; }
.rows--posts p { grid-area: sum; align-self: end; }

/* One article */
.post__sheet { max-width: 62rem; padding: clamp(24px, 5vw, 72px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--lift); }
.post__sheet > * { max-width: 42rem; }
.post__sheet h1 { max-width: 50rem; }
.post__back { margin-bottom: clamp(20px, 3vw, 32px); }
.post__when { margin: 18px 0 clamp(28px, 4vw, 48px); font-size: .95rem; font-weight: 600; color: var(--fg2); }
.post__body { font-size: 1.14rem; line-height: 1.65; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; }
.post__body ul { display: grid; gap: .5em; padding-left: 1.2em; list-style: disc; }
.post__body li::marker { color: var(--orange); }
.post__body a { font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post__fine { margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--fg2); }
.post__fine[data-only] { margin: 0 0 24px; padding: 0; border: 0; }

/* Google reviews, under the map */
.reviews { display: grid; gap: 14px; }
.reviews__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px clamp(20px, 4vw, 56px); padding: clamp(26px, 3vw, 44px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.reviews__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.08; }
.reviews__head p { grid-column: 1; max-width: 40em; color: var(--fg2); }
.reviews__head .reviews__score { color: var(--ink); font-weight: 700; }
.reviews__head .btn { grid-column: 2; grid-row: 1 / span 3; }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.reviews__list li { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.reviews__stars { color: var(--orange); letter-spacing: 2px; }
.reviews__who { font-size: .9rem; font-weight: 600; color: var(--fg2); }
.reviews__who a { color: inherit; }
.reviews__by { font-size: .9rem; color: var(--fg2); }

@media (max-width: 1200px) {
  .top__menu { display: block; order: 3; }
  .top__end { order: 2; margin-left: auto; }
  html:not(.is-inside) .top__menu { visibility: hidden; }
  .top__nav { display: none; }
  .top.is-open .top__nav { display: grid; position: absolute; inset: 100% 0 auto 0; max-height: calc(100svh - 70px); overflow: auto; padding: 4px var(--x) 28px; border-top: 1px solid #dcd7cb; background: var(--bar-bg); box-shadow: 0 28px 44px -22px rgba(10, 14, 26, .55); font-size: 1.3rem; font-weight: 700; white-space: normal; }
  .top.is-open .top__nav a { padding: 16px 0; border-bottom: 1px solid #e4e0d6; }
}
@media (max-width: 900px) {
  .split, .cards--two, .reviews__head { grid-template-columns: 1fr; }
  .reviews__head .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
}
@media (max-width: 760px) {
  .rows a { grid-template-columns: 1fr; }
  .rows--posts a { grid-template-areas: "when" "title" "sum"; }
}
@media (max-width: 359px) {
  .top__logo { display: none; }
}
@media (max-width: 640px) {
  .top__book { display: none; }
  .top.is-open .top__nav .top__navbook { display: block; margin-top: 22px; padding: 16px 26px; border: 0; border-radius: 999px; background: var(--go); color: var(--ink); font-size: 1.05rem; text-align: center; }
  .top__logo img { height: 32px; }
  .is-inside .top__logo { margin-right: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rows :is(h2, h3), .rows :is(h2, h3)::before { transition: none; }
}
