/* ============================================================
   The Rabbit Tree Hostel — feuille de style
   Papier jaune, encre noire, écriture à la main.
   ============================================================ */

:root {
  --paper: #f2d98c;
  --paper-hi: #f8e7ae;
  --paper-lo: #e6c46a;
  --ink: #1c1a17;
  --ink-soft: #4a453d;
  --accent: #0c4426;
  --hot: #e21c21;
  --line: rgba(28, 26, 23, .28);

  /* les trois polices du site Wix d'origine :
     titres "Alice in Wonderland" (police propre au site, auto-hebergee),
     intertitres Amatic SC, texte courant Chelsea Market */
  --f-title: "Alice in Wonderland", "Chelsea Market", Georgia, serif;
  --f-display: "Alice in Wonderland", "Chelsea Market", Georgia, serif;
  --f-hand: "Amatic SC", "Bradley Hand", cursive;
  --f-body: "Chelsea Market", "Trebuchet MS", sans-serif;
  --ink-title: #3b382b;

  --maxw: 1180px;
  --nav-h: 62px;
  --r: 14px;
}

@font-face {
  font-family: "Alice in Wonderland";
  src: url("../fonts/alice-in-wonderland.woff2") format("woff2");
  font-display: swap;
}
/* Amatic SC et Chelsea Market (SIL Open Font License) servies par le site lui-meme :
   plus d'appel a Google Fonts */
@font-face { font-family: "Amatic SC"; font-weight: 400; font-display: swap; src: url("../fonts/amatic-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Amatic SC"; font-weight: 700; font-display: swap; src: url("../fonts/amatic-sc-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Chelsea Market"; font-weight: 400; font-display: swap; src: url("../fonts/chelsea-market-latin-400-normal.woff2") format("woff2"); }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
/* le parchemin d'origine : une seule feuille, fixe, bords plus sombres.
   Porte par un calque fixe (background-attachment: fixed ne marche pas sur iPhone). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--paper) url("../images/paper-bg.webp") center / cover no-repeat;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--f-hand); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .03em; }
h1 { font-family: var(--f-title); font-weight: 400; color: var(--ink-title); font-size: clamp(2.3rem, 6.4vw, 4rem); letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
h4 { font-size: 1.45rem; margin-top: 1em; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-family: var(--f-hand); font-weight: 700; letter-spacing: .04em; }
p { margin: 0 0 1.1em; }

.lead { font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.28; }

/* ---------- barre de navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 18px;
  min-height: var(--nav-h);
  padding: 6px clamp(12px, 4vw, 34px);
  background: rgba(242, 217, 140, .93);
  backdrop-filter: blur(4px);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 3px 0 rgba(28, 26, 23, .12);
}
.nav-brand {
  font-family: var(--f-title); font-size: 1.55rem; color: var(--ink-title); text-decoration: none;
  white-space: nowrap; margin-right: auto;
}
.nav-brand span { display: block; font-family: var(--f-hand); font-size: .95rem; letter-spacing: .12em; line-height: 1; color: var(--ink-soft); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a {
  display: block; padding: 7px 13px; text-decoration: none;
  font-family: var(--f-hand); font-weight: 700; font-size: 1.32rem; letter-spacing: .05em;
  border-radius: 999px; border: 2px solid transparent; transition: .16s;
}
.nav-links a:hover { border-color: var(--ink); background: var(--paper-hi); transform: rotate(-1.2deg); }
.nav-links a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--paper-hi); }
.nav-cta {
  font-family: var(--f-hand); font-weight: 700; font-size: 1.32rem; letter-spacing: .05em;
  text-decoration: none; padding: 7px 16px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--accent); color: #f7ecd0; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap;
}
.nav-cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.nav-toggle {
  display: none; font: 700 1.5rem/1 var(--f-hand); background: none; border: 2px solid var(--ink);
  border-radius: 10px; padding: 4px 12px; cursor: pointer; color: var(--ink);
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; order: 3; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--paper); border-bottom: 2px solid var(--ink);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 1.5rem; border-bottom: 1px dashed var(--line); border-radius: 0; padding: 10px 4px; }
}

/* sous 560 px : la marque ne doit plus forcer la largeur de la barre,
   sinon .nav-toggle deborde (scrollWidth 414 pour 390) et la page dérive sur le côté */
@media (max-width: 560px) {
  html { overflow-x: hidden; }
  .nav { gap: 10px; }
  .nav-brand {
    font-size: 1.1rem; line-height: 1.08; min-width: 0;
    white-space: normal; overflow-wrap: break-word;
  }
  .nav-brand span { font-size: .76rem; letter-spacing: .06em; }
  .nav-cta {
    font-size: 1.02rem; letter-spacing: .02em; padding: 6px 11px;
    box-shadow: 2px 2px 0 var(--ink); min-width: 0;
  }
  .nav-toggle { font-size: 1.25rem; padding: 4px 9px; flex: none; }
}

/* ---------- conteneurs ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: clamp(20px, 5vw, 54px) clamp(16px, 4vw, 28px) 60px; }
.narrow { max-width: 780px; margin: 0 auto; }
section { margin-bottom: clamp(38px, 7vw, 72px); }
.center { text-align: center; }

.crumb { font-family: var(--f-hand); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; margin-bottom: 18px; }
.crumb a { text-decoration: none; border-bottom: 2px dotted var(--line); }
.crumb a:hover { border-color: var(--ink); }

.page-head { text-align: center; margin-bottom: clamp(26px, 5vw, 46px); }
.page-head .rule { width: 190px; height: 12px; margin: 10px auto 0; background: url("../images/underline.webp") no-repeat center/contain; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block; font-family: var(--f-hand); font-weight: 700; font-size: 1.45rem; letter-spacing: .06em;
  text-decoration: none; padding: 9px 24px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper-hi); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: .14s;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn.primary { background: var(--accent); color: #f7ecd0; }
.btn.hot { background: var(--hot); color: #fff5f5; }
.btn.ghost { background: transparent; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- cartes ---------- */
.grid { display: grid; gap: clamp(16px, 2.6vw, 26px); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 560px) { .grid.c3 { grid-template-columns: 1fr 1fr; gap: 12px; } .grid.c3 .card { padding: 10px; } .grid.c3 .card p { font-size: 14px; } }

.card {
  position: relative; display: block; text-decoration: none; color: var(--ink);
  background: rgba(255, 248, 224, .55); border: 2px solid var(--ink); border-radius: var(--r);
  padding: 18px 18px 20px; box-shadow: 4px 4px 0 rgba(28, 26, 23, .22); transition: .16s;
}
.card:nth-child(3n) { transform: rotate(.5deg); }
.card:nth-child(3n+1) { transform: rotate(-.5deg); }
.card:hover { transform: rotate(0) translateY(-4px); box-shadow: 7px 9px 0 rgba(28, 26, 23, .28); background: rgba(255, 250, 233, .8); }
.card h3 { margin: 0 0 4px; }
.card .cat { font-family: var(--f-hand); font-weight: 700; letter-spacing: .1em; font-size: 1.15rem; color: var(--ink-soft); }
.card p { margin: .5em 0 0; font-size: 16.5px; }
/* la vignette d'une carte prend le format de sa photo : ni bandes vides, ni recadrage */
.card .thumb { overflow: hidden; border-radius: 9px; border: 2px solid var(--ink); margin-bottom: 12px; background: var(--paper-lo); }
.card .thumb img { display: block; width: 100%; height: auto; }

.note {
  border-left: 5px solid var(--ink); background: rgba(255, 248, 224, .6);
  padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; margin: 0 0 24px;
  font-family: var(--f-hand); font-weight: 700; font-size: 1.4rem; line-height: 1.35;
}

/* ---------- accueil : la scene dessinee d'origine ----------
   Chaque dessin est place en % d'une scene 980 x 1090 (le Wix d'origine),
   puis d'une scene portrait 400 x 830 sur telephone : la magie reste sur mobile. */
body.home .nav { display: none; }
body.home main { max-width: none; padding: 0 0 40px; }
.scene {
  position: relative; width: min(980px, 100%); margin: 0 auto;
  aspect-ratio: var(--ratio);
}
.scene .spot, .scene .map-title {
  position: absolute;
  left: calc(var(--l) * 1%); top: calc(var(--t) * 1%);
  width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
}
.scene .spot { display: block; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.scene .spot img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), filter .35s;
  -webkit-user-drag: none; user-select: none;
}
.scene .spot.deco { pointer-events: none; }
.scene .map-title {
  margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  font: 400 clamp(2.4rem, 6.84vw, 4.19rem)/1.05 var(--f-title); color: var(--ink-title); text-align: center;
}
.scene .map-title span { display: block; margin-top: .12em; }

/* l'etiquette n'apparait qu'au survol, comme sur Wix ; au doigt elle reste visible (voir plus bas) */
.scene .spot .cap {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 100%); transform: translate(-50%, -4px);
  white-space: nowrap; pointer-events: none;
  font: 700 clamp(1.3rem, 2.6vw, 1.85rem)/1 var(--f-hand); letter-spacing: .05em; color: var(--ink-title);
  opacity: 0; transition: opacity .25s, transform .25s;
}
.scene .spot .cap::after {
  content: ""; display: block; height: 9px; margin-top: 3px;
  background: url("../images/underline.webp") no-repeat center / 100% 100%;
}
.scene .spot:hover img, .scene .spot:focus-visible img { transform: scale(1.07) rotate(-2deg); filter: drop-shadow(3px 4px 0 rgba(28,26,23,.18)); }
.scene .spot:hover .cap, .scene .spot:focus-visible .cap { opacity: 1; transform: translate(-50%, 2px); }
.scene .spot:focus-visible { outline: none; }

/* petites vies propres a certains dessins */
.scene .fx-turn img { animation: slow-turn 38s linear infinite; }
.scene .fx-turn:hover img { animation-duration: 6s; }
.scene .fx-bob img { animation: bob 3.4s ease-in-out infinite; }
@keyframes slow-turn { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }

/* le texte sous la scene (utile au referencement), dans l'intertitre d'origine */
.scene-text { max-width: 900px; margin: 10px auto 0; padding: 0 clamp(16px, 4vw, 28px); text-align: center; }
.scene-text .intro {
  font: 700 clamp(1.45rem, 3.1vw, 1.95rem)/1.35 var(--f-hand); color: var(--ink-title); letter-spacing: .02em;
}

/* au doigt (pas de survol) : etiquettes toujours visibles, en petit */
@media (hover: none) {
  .scene .spot .cap { opacity: .92; transform: translate(-50%, 0); font-size: clamp(1.05rem, 4.2vw, 1.5rem); }
  .scene .spot .cap::after { display: none; }
}
/* telephone : la meme scene recomposee en portrait */
@media (max-width: 700px) {
  .scene { aspect-ratio: var(--mratio); width: 100%; }
  .scene .spot, .scene .map-title {
    left: calc(var(--ml) * 1%); top: calc(var(--mt) * 1%);
    width: calc(var(--mw) * 1%); height: calc(var(--mh) * 1%);
  }
  .scene .map-title { font-size: clamp(2rem, 10.5vw, 3.2rem); }
  .scene .spot .cap { font-size: clamp(1rem, 4.6vw, 1.4rem); }
}

/* ---------- arbre des chambres ----------
   Le medaillon montre son dessin ; au survol, sa version "vortex" apparait (comme sur Wix).
   Un seul clic : le vortex tourne puis aspire la page (voir main.js). */
.tree-wrap { position: relative; width: 100%; max-width: 1200px; margin: 0 auto clamp(40px, 12vw, 150px); aspect-ratio: 1200 / 972; }
.tree-wrap > .trunk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .95; }
.node { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.node .hit {
  display: block; position: relative; z-index: 1; text-decoration: none; color: var(--ink);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1); -webkit-tap-highlight-color: transparent;
}
.node .hit.static { cursor: default; }
.node .logo { width: 100%; display: block; margin: 0 auto; filter: drop-shadow(2px 3px 0 rgba(28,26,23,.14)); }
.node .swirl {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.node .cap { display: none; }
.node .cap em { font-style: normal; color: var(--accent); }
.node a.hit:hover, .node a.hit:focus-visible { transform: scale(1.08); }
.node a.hit:hover .swirl, .node a.hit:focus-visible .swirl, .node a.hit.opening .swirl { opacity: 1; }
.node a.hit.opening .swirl { animation: swirl-open .5s cubic-bezier(.5,0,.8,.4) forwards; }
@keyframes swirl-open { to { transform: rotate(-300deg) scale(.9); } }

/* ---------- le vortex qui emmene d'une page a l'autre ---------- */
#vortex {
  position: fixed; z-index: 9999; pointer-events: none; border-radius: 50%;
  background: var(--paper-hi) url("../images/paper-bg.webp") center / cover;
  transform: translate(-50%, -50%) scale(0); opacity: 0; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(59,56,43,.25);
}
#vortex svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#vortex.in { opacity: 1; animation: vortex-in .72s cubic-bezier(.6,0,.85,.35) forwards; }
#vortex.out { opacity: 1; animation: vortex-out .7s cubic-bezier(.2,.65,.4,1) forwards; }
@keyframes vortex-in {
  0% { transform: translate(-50%, -50%) scale(.06) rotate(0deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(-540deg); }
}
@keyframes vortex-out {
  0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(.02) rotate(-420deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scene .fx-turn img, .scene .fx-bob img { animation: none; }
  #vortex.in { animation: vortex-fade .3s ease forwards; transform: translate(-50%, -50%) scale(1); }
  #vortex.out { animation: vortex-fade .3s ease reverse forwards; transform: translate(-50%, -50%) scale(1); }
  @keyframes vortex-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- moteur de reservation Beds24 ---------- */
.book { scroll-margin-top: 80px; }
.beds24 { max-width: 860px; margin: 0 auto 22px; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 5px 5px 0 rgba(28,26,23,.16); }
.beds24 iframe { display: block; width: 100%; height: 720px; border: 0; }
.beds24.tall iframe { height: 2000px; }
@media (max-width: 600px) { .beds24 iframe { height: 900px; } .beds24.tall iframe { height: 2400px; } }
/* activites du quotidien : photos rondes comme sur le Wix, cadrees sur les visages */
.daily { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 34px); margin: 8px 0 10px; }
.daily figure { margin: 0; width: clamp(120px, 17vw, 168px); text-align: center; }
.daily img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 rgba(28,26,23,.16); }
.daily figcaption { margin-top: 6px; font: 700 1.45rem/1.1 var(--f-hand); color: var(--ink-title); }

.price-line { font: 700 1.6rem/1.2 var(--f-hand); color: var(--accent); margin: 0 0 .4em; }

/* ---------- banniere & figures ---------- */
.banner { max-width: 1080px; margin: 6px auto 30px; }
.banner img { width: 100%; height: auto; display: block; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 rgba(28,26,23,.16); }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 3vw, 30px); align-items: start; }
.figs figure { margin: 0; text-align: center; }
.figs img { margin: 0 auto; max-width: 300px; width: 100%; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper-hi); transition: transform .18s; }
.figs a:hover img { transform: rotate(-1.2deg) scale(1.03); }
.figs figcaption { margin-top: 9px; font-family: var(--f-hand); font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; color: var(--ink); }

/* ---------- page chambre ---------- */
.room-hero { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
@media (max-width: 760px) { .room-hero { grid-template-columns: 1fr; text-align: center; } .room-hero .room-badge { margin: 0 auto; } }
.room-badge { width: 100%; max-width: 320px; }
.specs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; }
.specs li { font-family: var(--f-hand); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; }
.specs b { display: inline-block; min-width: 92px; color: var(--accent); }

/* ---------- galerie ---------- */
/* galerie en colonnes (« mur de photos ») : chaque photo garde son format, rien n'est coupe */
.gal { columns: 4 200px; column-gap: 12px; }
.gal a { display: block; break-inside: avoid; margin-bottom: 12px; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper-lo); }
.gal img { display: block; width: 100%; height: auto; transition: .25s; }
.gal a:hover img { transform: scale(1.06); }

/* ---------- pellicule & diaporama (modele Wix) ----------
   2026-11-09 : Seb prefere des photos jamais coupees, vignettes comprises. La pellicule
   garde une hauteur fixe et chaque vignette prend la largeur de sa photo (paysage large,
   portrait etroit), comme une planche-contact. Le texte ci-dessous est l'ancienne regle.
   Arbitrage Seb (2026-10-31, fiche T-20261031-04) : la regle « aucune photo rognee »
   porte sur les photos montrees en entier (.banner, .stage .slide). Les miniatures de
   pellicule et de grille restent des carres recadres (object-fit: cover) : c'est ce que
   fait le Wix d'origine, et un contain produirait des vignettes de hauteurs inegales.
   La photo entiere est toujours accessible au clic (lightbox / pleine resolution). */
.strip { display: flex; gap: 10px; overflow-x: auto; padding: 8px 4px 18px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.strip > a { flex: 0 0 auto; height: clamp(96px, 13vw, 140px); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper-lo); scroll-snap-align: center; box-shadow: 3px 3px 0 rgba(28,26,23,.14); }
.strip > a img { display: block; height: 100%; width: auto; transition: .25s; }
.strip > a:hover img { transform: scale(1.08); }
.strip > a.active { outline: 3px solid var(--accent); outline-offset: 2px; }
.strip::-webkit-scrollbar { height: 8px; }
.strip::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 8px; }
.stage { max-width: 860px; margin: 0 auto 12px; background: #262420; border: 2.5px solid var(--ink); border-radius: 14px; padding: clamp(12px, 3vw, 26px); box-shadow: 5px 5px 0 rgba(28,26,23,.16); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.stage .slide { flex: 0 0 100%; width: 100%; height: clamp(340px, 58vw, 560px); object-fit: contain; scroll-snap-align: center; }
.stage::-webkit-scrollbar { height: 8px; }
.stage::-webkit-scrollbar-thumb { background: #6b6357; border-radius: 8px; }

/* ---------- decors (dessins, pas des photos) ---------- */
.deco { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 44px); justify-content: center; align-items: flex-end; margin: 8px auto 26px; }
.deco-item { text-align: center; max-width: 220px; }
.deco-item img { display: block; margin: 0 auto; max-height: 150px; width: auto; filter: drop-shadow(2px 3px 0 rgba(28,26,23,.12)); }
.deco-item:nth-child(odd) img { transform: rotate(-2deg); }
.deco-item:nth-child(even) img { transform: rotate(2deg); }
.deco-item em { display: block; margin-top: 8px; font-family: var(--f-hand); font-weight: 700; font-size: 1rem; font-style: normal; color: var(--ink); }

.lightbox { position: fixed; inset: 0; background: rgba(20, 16, 8, .93); display: none; place-items: center; z-index: 200; padding: 24px; }
.lightbox.on { display: grid; }
.lightbox img { max-width: 94vw; max-height: 88vh; border: 3px solid var(--paper-hi); border-radius: 8px; }
.lightbox .x { position: absolute; top: 14px; right: 22px; font: 700 2.4rem/1 var(--f-hand); color: var(--paper-hi); background: none; border: 0; cursor: pointer; }

/* ---------- tableaux prix ---------- */
table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 16px; }
.table-wrap { overflow-x: auto; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1.5px dashed var(--line); vertical-align: top; }
th { font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; border-bottom: 2px solid var(--ink); }
td.price { white-space: nowrap; font-family: var(--f-hand); font-weight: 700; font-size: 1.3rem; color: var(--accent); }

/* ---------- footer ---------- */
footer {
  border-top: 3px solid var(--ink); background: rgba(255, 248, 224, .5);
  padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 30px) 34px; margin-top: 40px;
}
.foot-in { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foot-in h3 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: .08em; }
.foot-in a { text-decoration: none; border-bottom: 1.5px dotted var(--line); }
.foot-in a:hover { border-color: var(--ink); }
.foot-note { max-width: var(--maxw); margin: 28px auto 0; padding-top: 16px; border-top: 1.5px dashed var(--line);
  font-family: var(--f-hand); font-weight: 700; letter-spacing: .07em; font-size: 1.2rem; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--paper-hi); font: 700 1.15rem/1 var(--f-hand); text-decoration: none; }
.socials a:hover { background: var(--ink); color: var(--paper-hi); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper-hi); padding: 8px 14px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
@media print { .nav, footer, .btn { display: none; } body { background: #fff; } }
