/* ==========================================================
   Mangalam Bodywork
   Colours live here — change them in one place.
   ========================================================== */
:root {
  --paper: #f7f2ea;
  --paper-2: #efe7da;
  --ink: #2b2420;
  --ink-soft: #5e534b;
  --line: #ddd2c2;
  --clay: #a8502e;      /* the warm red of the cupping marks */
  --clay-dark: #8a3f22;
  --sage: #5f7a6b;      /* the green of the practice mats */

  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 99; }

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

.eyebrow {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: .9rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 500 1rem/1 var(--sans);
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--clay);
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--clay); }
.btn-ghost:hover { background: var(--clay); color: #fff; }
.btn-small { padding: 10px 20px; font-size: .95rem; }

.link-arrow { text-decoration: none; font-weight: 500; border-bottom: 1.5px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--clay); }
.link-arrow .arrow { display: inline-block; transition: transform .2s; }
.link-arrow:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .link-arrow .arrow { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .arrow { transform: translateX(-3px) scaleX(-1); }

/* ---------- language bar ---------- */
.langbar { background: var(--ink); color: var(--paper); font-size: .85rem; }
.langbar-inner {
  display: flex; justify-content: flex-end; gap: 4px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  padding-block: 6px;
}
.langbar-inner::-webkit-scrollbar { display: none; }
.langbar a {
  text-decoration: none; color: #cfc4b6;
  padding: 3px 10px; border-radius: 999px;
}
.langbar a:hover { color: #fff; }
.langbar a.active { background: var(--paper); color: var(--ink); font-weight: 600; }

/* ---------- Arabic ---------- */
html[lang="ar"] {
  --serif: "Noto Naskh Arabic", "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Figtree", system-ui, sans-serif;
}
/* Arabic letters must join up: no letter-spacing, no fake italics */
html[lang="ar"] body * { letter-spacing: 0 !important; font-style: normal !important; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
  margin: 0;
  letter-spacing: -0.01em;
}
.wordmark span { font-style: italic; color: var(--clay); }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: .97rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 32px 0 28px; flex-wrap: wrap; }
.hero-meta { font-size: .92rem; color: var(--ink-soft); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 200px 200px var(--radius) var(--radius);
  width: 100%;
}

/* ---------- queer-friendly signs ---------- */
.flag { height: 1.05em; width: auto; border-radius: 2px; vertical-align: -0.15em; box-shadow: 0 0 0 1px rgba(43,36,32,.12); }
.queer-line { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); font-weight: 500; margin-top: -4px; }
.pronouns {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  color: var(--sage); border: 1.5px solid currentColor; border-radius: 999px;
  padding: 3px 12px; margin-inline-start: 6px; transform: translateY(-4px);
}
.queer-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-2); border-radius: 6px; padding: 12px 16px;
  color: var(--ink) !important; font-weight: 500; font-size: .98rem; margin: -4px 0 24px;
}
.queer-badge .flag { height: 1.3em; flex: none; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--paper-2); }
.section-head { margin-bottom: 48px; }

/* ---------- treatments ---------- */
.treatments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.treatment {
  padding-block: 32px; padding-inline: 0 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.treatment:nth-child(even) { padding-block: 32px; padding-inline: 32px 0; border-inline-start: 1px solid var(--line); }
.treatment .num { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1rem; }
.treatment h3 { margin-top: .3em; }
.treatment p { color: var(--ink-soft); margin-bottom: .6em; }
.treatment .fit { font-size: .9rem; color: var(--sage); margin: 0; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 72px; padding-inline: 4%; }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; font-style: italic; font-family: var(--serif); }
.tilt-left { transform: rotate(-1.2deg); }
.tilt-right { transform: rotate(1deg); margin-top: 40px; }

.t-top { display: flex; justify-content: space-between; align-items: baseline; }
.dur { font-size: .82rem; font-weight: 600; color: var(--sage); border: 1.5px solid currentColor; border-radius: 999px; padding: 2px 10px; }

/* ---------- reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.reviews-head h2 { margin-bottom: 0; }
.rev-controls { display: flex; align-items: center; gap: 10px; }
.rev-count { font-size: .92rem; color: var(--ink-soft); margin-inline-end: 8px; min-width: 4.5em; text-align: end; }
.rev-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 1.2rem; display: grid; place-items: center;
  transition: background .2s, color .2s, opacity .2s, transform .15s;
}
.rev-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.rev-btn:active:not(:disabled) { transform: scale(.94); }
.rev-btn:disabled { opacity: .25; cursor: default; }
[dir="rtl"] .rev-btn .arrow { transform: scaleX(-1); }
.rev-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 8px 4px 24px; margin: 0 -4px;
  overscroll-behavior-x: contain;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 8px; }
.rev-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: 10px;
  padding: 28px 28px 24px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(43,36,32,.05), 0 14px 34px -22px rgba(43,36,32,.35);
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.rev-card.in { opacity: 1; transform: none; }
.rev-quote { font-family: var(--serif); font-size: 3.6rem; line-height: .7; color: var(--clay); height: .45em; display: block; margin-bottom: 14px; }
.rev-text {
  color: var(--ink); font-size: 1.02rem; line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.rev-card.open .rev-text { -webkit-line-clamp: unset; display: block; }
.rev-more {
  align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 .92rem var(--sans); color: var(--clay); border-bottom: 1.5px solid currentColor;
}
.rev-person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }
.rev-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; color: #fff;
  font: 500 1.15rem var(--serif); letter-spacing: .02em;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--line);
}
.rev-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rev-name { margin: 0; font-weight: 600; line-height: 1.3; }
.rev-detail { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.rev-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--line); transition: width .3s, background .3s;
}
.rev-dots button[aria-current="true"] { width: 26px; background: var(--clay); }
@media (max-width: 1000px) { .rev-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .rev-card { flex-basis: 86%; padding: 24px 22px 20px; }
  .rev-count { display: none; }
  .rev-btn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .rev-track { scroll-behavior: auto; }
  .rev-card { opacity: 1; transform: none; }
}

/* ---------- the space / find me ---------- */
.find-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.find-grid:has(.find-media.is-empty) { grid-template-columns: 1fr; max-width: 640px; }
.find-media.is-empty, .room-gallery.is-empty { display: none; }
.find-address { font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; margin-bottom: 1em; }
.steps { padding-inline-start: 1.3em; margin: 0 0 1.4em; }
.steps li { padding-block: 4px; padding-inline-start: 6px; color: var(--ink-soft); }
.steps li::marker { font-family: var(--serif); font-style: italic; color: var(--clay); }
.steps strong { color: var(--ink); }
.transit { color: var(--ink-soft); }
.transit strong { color: var(--ink); font-weight: 600; }
.map-links { display: flex; gap: 24px; flex-wrap: wrap; margin: 1.2em 0; }
.find-media { display: grid; gap: 32px; }
.video-box { margin: 0; }
.video-box video { width: 100%; max-height: 640px; background: var(--ink); border-radius: 6px; display: block; }
.video-box figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; font-style: italic; font-family: var(--serif); }
.entrance img { aspect-ratio: 4 / 3; }
.room-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.room-gallery img { aspect-ratio: 4 / 5; }

/* ---------- prices ---------- */
.price-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: end; }
.price-head .lead { margin: 0; }
.honest-note {
  background: var(--paper);
  border-radius: 6px;
  padding: 26px 28px 18px;
  position: relative;
  transform: rotate(.6deg);
  box-shadow: 0 1px 2px rgba(43,36,32,.06), 0 12px 30px -18px rgba(43,36,32,.3);
}
.honest-note p { color: var(--ink-soft); font-size: .98rem; margin-bottom: .7em; }
.honest-note .note-title { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.note-sign { font-family: var(--serif); font-style: italic; color: var(--clay) !important; font-size: 1.3rem !important; }
.note-sign::before { content: "— "; }
.tiers { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.tier h3 { font-size: 1.3rem; margin-bottom: .3em; }
.tier-price { font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; color: var(--ink); margin-bottom: .15em; }
.tier-length { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.1em; }
.tier-for { font-weight: 600; color: var(--ink); margin-bottom: .6em; }
.tier p:last-child { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.tier-full { border: 2px solid var(--clay); background: #fffaf3; }
.tier-full .tier-price { color: var(--clay); }
.tier-tag {
  position: absolute; top: -13px; inset-inline-start: 26px;
  background: var(--clay); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin: 0;
}
.tier-soli .tier-price { color: var(--sage); }

.price-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin: 20px 0 48px; }
.price-details .price-notes { margin: 0; }
.forward {
  background: var(--clay);
  color: #fff;
  border-radius: 6px;
  padding: 28px;
}
.forward .eyebrow { color: #f7e4d6; margin-bottom: .5rem; }
.forward h3 { font-size: 1.35rem; }
.forward p { color: #fbeee5; max-width: 36em; }
.forward-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.forward-actions span { font-size: .92rem; color: #f7e4d6; }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--clay-dark); font-weight: 600; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--clay-dark); }
.price-notes {
  margin: 0;
  padding: 24px 28px;
  border-inline-start: 3px solid var(--sage);
  background: var(--paper);
  border-start-end-radius: var(--radius); border-end-end-radius: var(--radius);
}
.price-notes p { margin: 0 0 .5em; color: var(--ink-soft); }
.price-notes p:last-child { margin: 0; }
.price-notes strong { color: var(--ink); font-weight: 600; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.polaroid { background: #fff; padding: 12px 12px 4px; box-shadow: 0 1px 2px rgba(43,36,32,.08), 0 10px 30px -12px rgba(43,36,32,.25); }
.polaroid figcaption { padding: 2px 4px 8px; }
.about-photos .offset { width: 58%; margin-inline-start: auto; margin-top: 20px; position: relative; }
.polaroid.portrait img { aspect-ratio: 4 / 5; object-position: center 30%; }
.notebook { margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--line); }
.notebook-title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink-soft); margin-bottom: 24px; }
.notebook-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-text p { color: var(--ink-soft); }
.about-text h2 { margin-bottom: .6em; }
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--clay) !important;
  margin: 12px 0 32px;
}
.signature::before { content: "— "; }
.credentials { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); font-size: .95rem; }
.credentials li { padding-block: 4px; padding-inline-start: 22px; position: relative; }
.credentials li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 10px; height: 1.5px; background: var(--sage); }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 20px; padding-inline: 0 40px;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; inset-inline-end: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--clay);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; max-width: 40em; }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.book-intro > p { color: var(--ink-soft); }
.contact { margin: 36px 0 0; display: grid; gap: 18px; }
.contact div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact dt { font-size: .85rem; color: var(--sage); font-weight: 600; letter-spacing: .02em; }
.contact dd { margin: 0; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact a:hover { border-color: var(--clay); }

.book-form {
  background: #fff;
  padding: 36px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(43,36,32,.06), 0 20px 50px -24px rgba(43,36,32,.25);
}
.field { margin: 0 0 24px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 500; margin-bottom: 8px; padding: 0; }
.optional { color: var(--ink-soft); font-weight: 400; font-size: .9rem; }
input[type="text"], textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .95rem;
  cursor: pointer;
  transition: all .15s;
  background: var(--paper);
}
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--clay); }
.send-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-error { color: var(--clay-dark); font-size: .95rem; }
.small { font-size: .85rem; color: var(--ink-soft); margin: 16px 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .92rem; color: var(--ink-soft); }
.footer-inner { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { margin-inline-start: auto; }

/* ---------- simple text page (imprint) ---------- */
.page { padding: 64px 0 96px; }
.page h2 { font-size: 1.6rem; margin-top: 2em; }
.page p, .page li { color: var(--ink-soft); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .langbar-inner { justify-content: flex-start; }
  .header-inner { gap: 16px; }
  .site-header .wordmark { font-size: 1.15rem; white-space: nowrap; }
  .nav a:not([href="#prices"]) { display: none; }
  .hero { padding: 24px 0 64px; }
  .hero-grid, .about-grid, .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 5 / 4; border-radius: 160px 160px var(--radius) var(--radius); }
  .section { padding: 72px 0; }
  .treatments { grid-template-columns: 1fr; }
  .tiers, .price-head, .find-grid { grid-template-columns: 1fr; }
  .find-grid { gap: 40px; }
  .room-gallery { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
  .price-head { gap: 32px; }
  .tiers { gap: 28px; }
  .price-details { grid-template-columns: 1fr; }
  .treatment, .treatment:nth-child(even) { padding: 28px 0; border-inline-start: 0; }
  .photo-pair { grid-template-columns: 1fr; gap: 32px; padding: 0; }
  .tilt-right { margin-top: 0; }
  .about-photos .offset { margin-top: 16px; width: 62%; }
  .notebook { margin-top: 64px; }
  .notebook-strip { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .book-form { padding: 24px 18px; }
  .contact div { grid-template-columns: 1fr; gap: 2px; }
  .send-row .btn { width: 100%; text-align: center; }
  .footer-inner p:last-child { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
#space { border-top: 1px solid var(--line); }
