/* Galetmirabelle — système éditorial */
:root {
  --ink: #0E1014;
  --ink-2: #161920;
  --panel: #1C2028;
  --panel-2: #242933;
  --line: rgba(232, 228, 220, 0.1);
  --stone: #A8AEB8;
  --paper: #E8E4DC;
  --paper-dim: rgba(232, 228, 220, 0.72);
  --mirabelle: #E5A01A;
  --mirabelle-soft: #F0C45C;
  --mirabelle-dim: rgba(229, 160, 26, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper);
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(229, 160, 26, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(168, 174, 184, 0.06), transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mirabelle-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--mirabelle);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mirabelle);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(14, 16, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--mirabelle);
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  margin: 0.28rem auto;
  transition: transform 0.25s var(--ease);
}

.site-nav {
  justify-self: end;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--paper-dim);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--mirabelle);
}

.header-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--mirabelle);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--mirabelle-soft);
}

/* ——— Layout ——— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mirabelle);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.lede {
  color: var(--paper-dim);
  max-width: 48ch;
  font-size: 1.05rem;
}

/* ——— Hero (one composition, brand-first) ——— */
.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(14, 16, 20, 0.94) 0%, rgba(14, 16, 20, 0.72) 42%, rgba(14, 16, 20, 0.35) 100%),
    linear-gradient(to top, rgba(14, 16, 20, 0.9) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 9rem) var(--space) clamp(3rem, 8vh, 5rem);
  width: 100%;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9.5vw, 6.25rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 1.25rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: linear-gradient(120deg, var(--paper) 40%, var(--mirabelle-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s var(--ease) both;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  animation: rise 0.9s 0.1s var(--ease) both;
}

.hero__text {
  color: var(--paper-dim);
  max-width: 38ch;
  margin-bottom: 1.75rem;
  animation: rise 0.9s 0.18s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.26s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--mirabelle);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--mirabelle-soft);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--mirabelle);
  color: var(--mirabelle);
}

/* ——— Mission split ——— */
.mission {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.mission__aside {
  position: relative;
  margin-top: 2.5rem;
}

.mission__stat {
  border-left: 2px solid var(--mirabelle);
  padding: 0.5rem 0 0.5rem 1.15rem;
  margin-bottom: 1.5rem;
}

.mission__stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  display: block;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mission__stat span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.mission__note {
  font-size: 0.92rem;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 1.15rem;
  background: var(--mirabelle-dim);
}

/* ——— Review rail (asymmetric) ——— */
.rail-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.review-card:hover {
  border-color: rgba(229, 160, 26, 0.45);
  transform: translateY(-3px);
  color: inherit;
}

.review-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
}

.review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.review-card:hover .review-card__media img {
  transform: scale(1.04);
}

.review-card__body {
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
}

.review-card__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line);
  color: var(--mirabelle-soft);
}

.review-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--paper-dim);
  flex: 1;
}

/* ——— Filters ——— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--stone);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--ink);
  background: var(--mirabelle);
  border-color: var(--mirabelle);
}

.review-card.is-hidden {
  display: none;
}

/* ——— Calculator ——— */
.calc-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

.calc-intro {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(160deg, var(--mirabelle-dim), transparent 55%),
    var(--panel);
}

.calc-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.45rem;
}

.field select,
.field input[type="range"] {
  width: 100%;
  accent-color: var(--mirabelle);
}

.field select {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.range-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.range-val {
  font-family: var(--font-mono);
  color: var(--mirabelle);
  font-size: 0.85rem;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.result-cell {
  border: 1px solid var(--line);
  padding: 1rem;
  background: var(--ink);
}

.result-cell dt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.35rem;
}

.result-cell dd {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 1.25rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

.compare-table tr.is-highlight td {
  background: var(--mirabelle-dim);
  color: var(--mirabelle-soft);
}

/* ——— Contact / hours ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.contact-block p,
.contact-block a {
  color: var(--paper-dim);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--mirabelle);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--mirabelle-soft);
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 220px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px;
  opacity: 0.5;
}

.map-frame > * {
  position: relative;
  z-index: 1;
}

.map-pin {
  width: 12px;
  height: 12px;
  background: var(--mirabelle);
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 8px var(--mirabelle-dim);
}

/* ——— Accordion ——— */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  padding: 1.15rem 2.5rem 1.15rem 0;
  cursor: pointer;
  position: relative;
}

.accordion__trigger::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--mirabelle);
  font-size: 1.25rem;
}

.accordion__trigger[aria-expanded="true"]::after {
  content: "−";
}

.accordion__panel {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--paper-dim);
  max-width: 65ch;
}

.accordion__panel.is-open {
  display: block;
}

/* ——— Glossary popovers ——— */
.term {
  color: var(--mirabelle-soft);
  border-bottom: 1px dashed rgba(240, 196, 92, 0.55);
  cursor: help;
  position: relative;
}

.term-popup {
  position: absolute;
  z-index: 80;
  max-width: 280px;
  background: var(--panel-2);
  border: 1px solid rgba(229, 160, 26, 0.35);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--paper);
  line-height: 1.5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.term-popup.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.term-popup strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: var(--mirabelle);
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--paper-dim);
  max-width: 48ch;
}

/* ——— Prose ——— */
.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
  color: var(--paper-dim);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose strong {
  color: var(--paper);
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.toc {
  position: sticky;
  top: 5.5rem;
  border: 1px solid var(--line);
  padding: 1.15rem;
  background: var(--ink-2);
}

.toc h2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.85rem;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin-bottom: 0.55rem;
}

.toc a {
  text-decoration: none;
  color: var(--paper-dim);
  font-size: 0.88rem;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero) " — ";
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mirabelle);
}

.toc a:hover {
  color: var(--paper);
}

.gloss-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gloss-item {
  border: 1px solid var(--line);
  padding: 1.25rem;
  background: var(--ink-2);
  scroll-margin-top: 5rem;
}

.gloss-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--mirabelle-soft);
}

.gloss-item p {
  font-size: 0.92rem;
  color: var(--paper-dim);
}

/* ——— Jobs ——— */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.job-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease);
}

.job-item:hover {
  border-color: var(--mirabelle);
  color: inherit;
}

.job-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.job-item p {
  font-size: 0.88rem;
  color: var(--stone);
  margin-top: 0.25rem;
}

.job-item__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mirabelle);
  text-align: right;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.footer-brand span {
  color: var(--mirabelle);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--mirabelle);
}

.disclaimer {
  border: 1px solid rgba(229, 160, 26, 0.25);
  background: var(--mirabelle-dim);
  padding: 1.15rem 1.25rem;
  font-size: 0.82rem;
  color: var(--paper-dim);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--stone);
}

/* ——— Cookie bar ——— */
.cookie-bar {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 520px;
  margin: 0 auto;
  z-index: 200;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  display: none;
}

.cookie-bar.is-visible {
  display: block;
  animation: rise 0.4s var(--ease);
}

.cookie-bar p {
  font-size: 0.85rem;
  color: var(--paper-dim);
  margin-bottom: 0.85rem;
}

.cookie-bar__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ——— Utility ——— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mt-0 { margin-top: 0; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .mission,
  .calc-shell,
  .contact-grid,
  .article-layout,
  .review-grid,
  .footer-grid,
  .gloss-grid,
  .split-2 {
    grid-template-columns: 1fr;
  }

  .calc-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .toc {
    position: static;
    order: -1;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .job-item {
    grid-template-columns: 1fr;
  }

  .job-item__meta {
    text-align: left;
  }

  .hero {
    min-height: 88vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
