:root {
  --ink: #1a2026;
  --muted: #5b666f;
  --bg: #f7f7f4;
  --card: #ffffff;
  --line: #e3e6e8;
  --line-strong: #c9cfd4;
  --accent: #a8361b;
  --accent-dark: #86290f;
  --accent-soft: #fbf1ed;
  --accent-ring: rgb(168 54 27 / .18);
  --head: #1b252b;
  --ok: #2f6b3a;
  --max: 64rem;
  --radius: .75rem;
  --radius-sm: .5rem;
  --shadow-sm: 0 1px 2px rgb(16 24 32 / .04), 0 1px 3px rgb(16 24 32 / .06);
  --shadow-md: 0 1px 2px rgb(16 24 32 / .04), 0 8px 24px -6px rgb(16 24 32 / .10);
  --shadow-lg: 0 2px 4px rgb(16 24 32 / .05), 0 18px 40px -10px rgb(16 24 32 / .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: light; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Os anclas (p. ex. #asina) non quedan tapados pola cabeceira fixa */
[id] { scroll-margin-top: 6.5rem; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
  overflow-x: clip; /* o contido desprázase ao deslizar entre seccións (swipe.js) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: rgb(168 54 27 / .16); color: var(--ink); }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: rgb(168 54 27 / .4);
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }

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

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--card); padding: .5rem 1rem; z-index: 30;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.skip:focus { left: 1rem; top: .5rem; }

/* Cabeceira */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / .85);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 4px 20px -12px rgb(16 24 32 / .18);
}
.site-header .wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 1rem; min-height: 3.75rem;
  display: flex; align-items: center; gap: .3rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--head); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; text-decoration: none; transition: color .2s ease; }
.brand::before { content: ""; width: .5rem; height: 1.3rem; background: linear-gradient(180deg, #c4482a, var(--accent-dark)); border-radius: 99px; transition: transform .3s var(--ease); }
.brand:hover { color: var(--accent); }
.brand:hover::before { transform: scaleY(1.15); }
.lang {
  color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .01em; text-decoration: none;
  border: 1px solid rgb(168 54 27 / .35); border-radius: 99px; padding: .2rem .7rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lang:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.site-nav { margin-left: auto; align-self: stretch; min-width: 0; }
.site-nav ul { height: 100%; list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav li { display: flex; }
.site-nav a {
  position: relative; display: flex; align-items: center; white-space: nowrap; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500;
  transition: color .2s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px 2px 0 0;
  background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: .5;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }
.site-header a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Contido */
main { flex: 1 0 auto; width: 100%; max-width: var(--max); margin: 0 auto; padding: 2rem 1rem 3.5rem; }
main > * + * { margin-top: 1rem; }

h1, h2, h3 { color: var(--head); text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; margin: .5rem 0 1rem; }
.demand { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: var(--accent); margin: 0 0 1.25rem; text-wrap: balance; }
h2 { font-size: 1.45rem; line-height: 1.3; letter-spacing: -.015em; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; margin: 1.5rem 0 .5rem; }
p, li, dd { text-wrap: pretty; }

.lead { font-size: 1.2rem; line-height: 1.6; }
.muted, figcaption, .note { color: var(--muted); font-size: .95rem; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: .8rem 1.5rem; border-radius: var(--radius-sm); text-decoration: none;
  box-shadow: 0 1px 2px rgb(134 41 15 / .3), inset 0 1px 0 rgb(255 255 255 / .14);
  transition: background-color .2s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgb(134 41 15 / .55), inset 0 1px 0 rgb(255 255 255 / .14); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgb(134 41 15 / .3); transition-duration: .08s; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.claim {
  background: var(--accent-soft); border: 1px solid rgb(168 54 27 / .14);
  box-shadow: inset 4px 0 0 var(--accent);
  padding: 1.15rem 1.4rem 1.15rem 1.6rem; border-radius: var(--radius);
}
.claim h2 { margin-top: 0; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); }

.box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm);
}

/* Formulario de sinaturas */
.petition {
  background: var(--card); border: 1px solid rgb(168 54 27 / .22); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem); margin-top: 2rem;
  box-shadow: inset 0 4px 0 var(--accent), var(--shadow-md);
}
.petition h2 { margin-top: 0; }
.pending { background: #fff8e6; border: 1px dashed #d4ae3a; padding: 1rem; border-radius: var(--radius-sm); }
.escrito { background: #fbfbf9; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.35rem; font-size: .95rem; color: #2c343a; }
/* O texto do escrito vai contraído por defecto: só se ve o destinatario */
.escrito summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; cursor: pointer; list-style: none; }
.escrito summary::-webkit-details-marker { display: none; }
.escrito summary::after {
  content: ""; flex: none; width: .55rem; height: .55rem; margin-right: .2rem;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-25%) rotate(45deg); transition: transform .25s var(--ease);
}
.escrito[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.escrito summary:hover { color: var(--accent); }
.escrito summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.escrito[open] { padding-bottom: .35rem; }
.escrito[open] summary { border-bottom: 1px solid var(--line); }
.firmas-total { font-weight: 700; color: var(--ok); }
.form-firma { margin-top: 1.5rem; }
.form-firma .campos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.form-firma label { display: block; font-weight: 600; font-size: .95rem; }
.form-firma input:not([type="checkbox"]) {
  display: block; width: 100%; margin-top: .35rem; padding: .65rem .8rem; font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 32 / .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-firma input:not([type="checkbox"])::placeholder { color: #9aa3aa; }
.form-firma input:not([type="checkbox"]):hover { border-color: #aab2b8; }
.form-firma input:not([type="checkbox"]):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.form-firma .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: 1.25rem 0; }
.form-firma .check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--accent); cursor: pointer; }
.firma-label { margin: 1.25rem 0 .35rem; font-weight: 600; }
/* No formulario a sinatura só se mostra: para asinar ábrese un diálogo a pantalla completa, así o dedo que fai scroll non pinta. */
.firma-abrir {
  display: flex; align-items: center; justify-content: center; width: 100%; max-width: 36rem; height: 8rem; padding: .5rem; font: inherit; color: var(--accent); font-weight: 600;
  background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.firma-abrir:hover { border-color: var(--accent); background: var(--accent-soft); }
.firma-abrir img { max-width: 100%; max-height: 100%; }
.firma-abrir [hidden] { display: none; }
.firma-modal[open] { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1rem; border: 0; background: var(--bg); color: var(--ink); animation: modal-in .3s var(--ease); }
.firma-modal::backdrop { background: rgb(10 14 18 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: lb-fade .25s ease; }
.firma-modal .firma-label { margin-top: 0; }
.firma-lenzo { display: block; flex: 1; min-height: 0; width: 100%; background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); touch-action: none; cursor: crosshair; }
.firma-accions { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; margin: 1rem 0 0; }
.firma-accions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
html:has(.firma-modal[open]) { overflow: hidden; }
@media (min-width: 48rem) and (min-height: 32rem) {
  .firma-modal[open] { width: 44rem; height: 26rem; margin: auto; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-lg); }
}
.firma-borrar {
  font: inherit; font-size: .9rem; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .35rem .8rem; cursor: pointer; color: var(--muted);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.firma-borrar:hover { color: var(--ink); border-color: #aab2b8; background: #f3f4f5; }
.form-firma button[type="submit"] { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.form-firma button[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-firma :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status.ok { color: var(--ok); font-weight: 700; }
.form-status.error { color: var(--accent); font-weight: 700; }
.hp { position: absolute; left: -9999px; }

/* Cronoloxía */
.timeline { list-style: none; padding: 0; margin: 1.75rem 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.6rem; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: .4rem;
  width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
  transition: background-color .2s ease, transform .3s var(--ease);
}
.timeline li:hover::before { background: var(--accent); transform: scale(1.15); }
.timeline time, .timeline .when { display: block; font-weight: 700; color: var(--accent-dark); font-size: .95rem; letter-spacing: .01em; }
.timeline p { margin: .25rem 0 0; }

/* Imaxes */
.gallery { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: start; }
figure { margin: 0; }
.gallery.photos { justify-content: center; align-items: stretch; grid-template-columns: repeat(auto-fit, minmax(16rem, 24rem)); }
.gallery.photos button {
  all: unset; box-sizing: border-box; display: block; position: relative; width: 100%; cursor: zoom-in;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s ease;
}
.gallery.photos button:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.gallery.photos button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery.photos .frame { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery.photos .frame img { width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; margin: 0; transition: transform .6s var(--ease); }
.gallery.photos button:hover .frame img { transform: scale(1.04); }
.gallery.photos .hint {
  position: absolute; right: .6rem; bottom: .6rem; background: rgba(20, 24, 27, .72); color: #fff; font-size: .78rem; font-weight: 500; padding: .25rem .7rem; border-radius: 99px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s ease;
}
.gallery.photos button:hover .hint { background: var(--accent); }
.gallery.photos.plans .frame { background: #fff; }
.gallery.photos.posters .frame { aspect-ratio: 3 / 4; }
.gallery.photos.plans .frame img { object-fit: contain; }
.gallery.photos.plans button:hover .frame img { transform: scale(1.02); }
dialog.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; overflow: hidden; color: #fff; }
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-fade .25s ease; }
dialog.lightbox::backdrop { background: rgba(8, 10, 12, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.lightbox img { max-width: calc(100vw - 8rem); max-height: calc(100vh - 7rem); max-height: calc(100dvh - 7rem); width: auto; height: auto; object-fit: contain; border-radius: .6rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); animation: lb-zoom .3s ease; }
dialog.lightbox .nav { position: absolute; z-index: 2; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .14); color: #fff; font-family: inherit; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
dialog.lightbox .nav:hover { background: rgba(255, 255, 255, .3); }
dialog.lightbox .nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
dialog.lightbox .nav { top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.9rem; line-height: 1; padding: 0 0 .25rem; }
dialog.lightbox .nav:hover { transform: translateY(-50%) scale(1.08); }
dialog.lightbox .nav.prev { left: 1rem; }
dialog.lightbox .nav.next { right: 1rem; }
dialog.lightbox .count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 2; padding: .25rem .8rem; border-radius: 99px; background: rgba(0, 0, 0, .45); font-size: .8rem; letter-spacing: .05em; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
@media (max-width: 600px) {
  dialog.lightbox img { max-width: calc(100vw - 5.5rem); max-height: calc(100dvh - 7rem); border-radius: .3rem; }
  dialog.lightbox .nav { width: 2.4rem; height: 2.4rem; font-size: 1.6rem; }
  dialog.lightbox .nav.prev { left: .4rem; }
  dialog.lightbox .nav.next { right: .4rem; }
}
figure img { border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; max-height: 34rem; width: auto; margin: 0 auto; }
figcaption { margin-top: .5rem; }

/* Mapa */
.map iframe { display: block; width: 100%; height: 26rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }

blockquote {
  margin: 1.25rem 0; padding: .9rem 1.35rem; background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--head); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; box-shadow: var(--shadow-sm);
}
blockquote footer { font-style: normal; color: var(--muted); font-size: .9rem; margin-top: .4rem; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; }
dl.facts dt { font-weight: 700; color: var(--head); }
dl.facts dd { margin: 0; }

/* Pé */
.site-footer { border-top: 1px solid var(--line); background: var(--card); }
.site-footer .wrap { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1rem; font-size: .9rem; color: var(--muted); text-align: center; }
.site-footer p { margin: .25rem 0; }

/* Menú do móbil (menu.js): tres liñas arriba á dereita, abre unha capa a pantalla completa */
.menu-toggle, .menu-movil { display: none; }
@media (max-width: 40rem) {
  .brand { margin-right: auto; }
  .site-header .site-nav, .site-header .lang { display: none; }
  .site-header { transition: background-color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
  .site-header.menu-open { background: var(--bg); box-shadow: none; border-bottom-color: transparent; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 2.75rem; height: 2.75rem; margin-right: -.6rem; padding: 0 .65rem;
    background: none; border: 0; color: var(--head); cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle span { display: block; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .5s var(--ease), opacity .3s ease; }
  .menu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .menu-movil {
    display: block; position: fixed; inset: 0; z-index: 19; overflow-y: auto;
    padding: 3.75rem 1rem 4rem; background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .menu-open + .menu-movil { opacity: 1; visibility: visible; }
  .menu-movil nav { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; text-align: center; }
  .menu-movil ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
  .menu-movil a { text-decoration: none; transition: color .3s ease; }
  .menu-movil ul a { font-size: clamp(1.375rem, 1.28rem + .4vw, 1.625rem); line-height: 1.2; letter-spacing: -.015em; color: var(--muted); }
  .menu-movil ul a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .menu-langs { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
  .menu-langs svg { width: 1rem; height: 1rem; fill: none; stroke: var(--muted); stroke-width: 1.25; }
  .menu-langs a { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .menu-langs a[aria-current] { color: var(--ink); font-weight: 600; }
  .menu-movil a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
  html.menu-lock, html.menu-lock body { overflow: hidden; }

  main { padding-top: 1.5rem; }
  dl.facts { grid-template-columns: 1fr; gap: .15rem; }
  dl.facts dd + dt { margin-top: .6rem; }
  .map iframe { height: 20rem; }
}

/* Os efectos de hover só en dispositivos con punteiro (no móbil quedarían "pegados" tras tocar) */
@media (hover: none) {
  .btn:hover, .gallery.photos button:hover { transform: none; }
  .gallery.photos button:hover .frame img { transform: none; }
}

/* Cambio de sección deslizando no móbil (swipe.js) */
@keyframes swipe-in { from { transform: translateX(var(--swipe-from)); opacity: 0; } }
html[data-swipe] main { animation: swipe-in .45s cubic-bezier(.22, 1, .36, 1); }
html[data-swipe="next"] { --swipe-from: 2.5rem; }
html[data-swipe="prev"] { --swipe-from: -2.5rem; }
.swipe-hint {
  position: fixed; top: 50%; z-index: 10; opacity: 0; pointer-events: none;
  max-width: 45vw; padding: .45rem .85rem; border-radius: 999px;
  background: rgb(255 255 255 / .9); color: var(--ink); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgb(0 0 0 / .12); font-size: .85rem; font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; transition: background-color .15s, color .15s, border-color .15s;
}
.swipe-hint.right { right: .75rem; }
.swipe-hint.left { left: .75rem; }
.swipe-hint.ready { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html[data-swipe] main { animation: none; }
  .btn, .brand::before, .site-nav a::after, .menu-toggle span, .timeline li::before, .escrito summary::after,
  .gallery.photos button, .gallery.photos .frame img { transition: none; }
  .btn:hover, .gallery.photos button:hover, .gallery.photos button:hover .frame img, .timeline li:hover::before { transform: none; }
  .firma-modal[open], .firma-modal::backdrop { animation: none; }
}
