/* ============================================================
   The Red House — Celle · Fachwerk design system
   Palette drawn from the house itself: brick, timber, limewash.
   ============================================================ */

:root {
  --timber: #241e19;      /* black oak beams */
  --timber-2: #3a312a;    /* lighter beam face */
  --brick: #a8432f;       /* brick infill */
  --brick-dark: #8c3626;
  --cream: #faf5ec;       /* limewash */
  --cream-2: #f1e8d9;     /* aged plaster */
  --moss: #5f6f4e;        /* garden */
  --amber: #e3a63c;       /* sofa cushions */
  --ink: #2b2520;
  --ink-soft: #6b6055;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --beam: 12px;           /* structural gutter width */
  --maxw: 1120px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--brick-dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before { content: "◆"; font-size: 0.6rem; }

.section-title { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 18px; }
.section-lead { max-width: 56ch; color: var(--ink-soft); margin-bottom: 36px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--timber);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 90px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 64px; width: auto; max-width: none; flex-shrink: 0; }
.brand span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}
.brand span em { font-style: normal; color: var(--brick); }
/* декоративната черта от логото: линия ◆ линия — по-къса от текста, центрирана */
.brand span::after {
  content: "◆";
  display: block;
  width: 58%;
  margin: 4px auto 0;
  text-align: center;
  font-size: 0.38em;
  line-height: 1;
  color: var(--brick);
  background:
    linear-gradient(var(--brick), var(--brick)) left 55% / calc(50% - 11px) 1.5px no-repeat,
    linear-gradient(var(--brick), var(--brick)) right 55% / calc(50% - 11px) 1.5px no-repeat;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.site-nav a:hover { color: var(--brick); }
.nav-cta {
  background: var(--brick);
  color: var(--cream) !important;
  padding: 10px 18px;
  border: 2px solid var(--timber);
  box-shadow: 3px 3px 0 var(--timber);
}
.nav-cta:hover { background: var(--brick-dark); color: var(--cream) !important; }

.lang-toggle {
  font: 700 0.8rem var(--font-body);
  letter-spacing: 0.08em;
  background: none;
  border: 2px solid var(--timber);
  padding: 7px 12px;
  cursor: pointer;
  color: var(--ink);
}
.lang-toggle:hover { background: var(--cream-2); }

@media (max-width: 860px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .brand span { display: none; }
}

/* ---------- hero: the brick facade ---------- */

.hero {
  padding: 0 0 84px;
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background-color: #a8432f;
  /* real brick bond: staggered courses with mortar joints, drawn as an SVG tile */
  background-image:
    radial-gradient(130% 100% at 82% 0%, rgba(0, 0, 0, 0) 45%, rgba(24, 12, 8, 0.30) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='56'%3E%3Crect width='84' height='56' fill='%23913a27'/%3E%3Crect x='0' y='0' width='39' height='24' fill='%23a8432f'/%3E%3Crect x='43' y='0' width='37' height='24' fill='%23a5402c'/%3E%3Crect x='0' y='28' width='18' height='24' fill='%23a6412d'/%3E%3Crect x='22' y='28' width='40' height='24' fill='%23a8432f'/%3E%3Crect x='66' y='28' width='18' height='24' fill='%23a4402c'/%3E%3C/svg%3E");
}

/* roof-tile band hanging under the header, like the house's dark roof */
.roof-tiles { display: block; width: 100%; height: 46px; margin-bottom: 48px; }

.hero .eyebrow { color: var(--amber); }
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--amber); }
.hero p.lead { color: rgba(250, 245, 236, 0.88); }
.hero .btn-primary {
  background: var(--cream);
  color: var(--brick-dark);
  box-shadow: 4px 4px 0 var(--timber);
}
.hero .btn-primary:hover { background: #fff; }
.hero .btn-ghost { color: var(--cream); border-color: var(--cream); }
.hero .btn-ghost:hover { background: rgba(250, 245, 236, 0.12); }
.hero .rating-badge { color: rgba(250, 245, 236, 0.9); }
.hero .rating-badge b { background: #003b95; color: #fff; }
.hero-figure figcaption { color: rgba(250, 245, 236, 0.75); }
.hero .timber-frame { box-shadow: 12px 14px 0 rgba(24, 12, 8, 0.35); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.3rem); margin-bottom: 20px; }
.hero h1 em { font-style: italic; }
.hero p.lead { font-size: 1.15rem; max-width: 44ch; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font: 700 0.95rem var(--font-body);
  text-decoration: none;
  padding: 14px 26px;
  border: 2px solid var(--timber);
  cursor: pointer;
}
.btn-primary {
  background: var(--brick);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--timber);
}
.btn-primary:hover { background: var(--brick-dark); transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--timber); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--cream-2); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 0.95rem;
  text-decoration: none;
}
.rating-badge b {
  /* Booking.com score tile: their blue, rounded except bottom-left */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: #003b95;
  padding: 8px 11px;
  border-radius: 6px 6px 6px 0;
}
.rating-text { display: flex; flex-direction: column; gap: 2px; }
.rating-text > span { font-weight: 700; color: #fff; }
.rating-text small { font-size: 0.85rem; color: var(--amber); }
.rating-badge:hover .rating-text small { text-decoration: underline; }

/* the framed photo — timber frame with limewash mortar line */
.timber-frame {
  border: var(--beam) solid var(--timber);
  outline: 3px solid var(--cream);
  outline-offset: -18px;
  box-shadow: 10px 12px 0 rgba(36, 30, 25, 0.18);
  position: relative;
}
.timber-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-figure { position: relative; }
.hero-figure figcaption {
  margin-top: 16px;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.hero-figure figcaption a { color: var(--cream); text-decoration: none; }
.hero-figure figcaption a:hover .maps-tag { background: var(--amber); color: var(--timber); }
.maps-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border: 1.5px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.hero h1 .nb { white-space: nowrap; }
@media (max-width: 480px) {
  .hero h1 { font-size: 2.35rem; }
}
.hero-figure figcaption::before {
  content: "◆";
  color: var(--amber);
  font-size: 0.6rem;
  vertical-align: 2px;
  margin-right: 8px;
}

@media (max-width: 860px) {
  .hero { padding: 0 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .roof-tiles { margin-bottom: 36px; }
}

/* ---------- facts strip (the beam) ---------- */

.facts {
  background: var(--timber);
  color: var(--cream);
  padding: 30px 0 26px;
  border-top: 4px solid var(--brick);
  border-bottom: 4px solid var(--brick);
}
.facts ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 44px;
}
.facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.facts li svg {
  width: 30px;
  height: 30px;
  color: var(--amber);
}
@media (max-width: 860px) {
  .facts ul { gap: 22px 28px; }
  .facts li { font-size: 0.85rem; }
}

/* ---------- about ---------- */

.about { padding: 96px 0; }
.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--brick-dark); }

.about-figure { display: grid; gap: var(--beam); }
.about-figure .timber-frame:first-child {
  margin-right: 88px;
  rotate: -1.1deg;
}
.about-figure .timber-frame:last-child {
  margin-left: 88px;
  margin-top: -52px;
  rotate: 1.1deg;
  z-index: 1;
}

@media (max-width: 860px) {
  .about { padding: 64px 0; }
  .about .wrap { grid-template-columns: 1fr; gap: 44px; }
  .about-figure .timber-frame:first-child { margin-right: 36px; }
  .about-figure .timber-frame:last-child { margin-left: 36px; margin-top: -28px; }
}

/* ---------- gallery: the Fachwerk wall ---------- */

.gallery {
  background: var(--timber);
  padding: 96px 0;
  color: var(--cream);
}
.gallery .eyebrow { color: var(--amber); }
.gallery .section-title { color: var(--cream); }
.gallery .section-lead { color: rgba(250, 245, 236, 0.72); }

.wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 96px;
  gap: var(--beam);
  border: var(--beam) solid var(--timber-2);
  background: var(--timber-2);
}
.wall > * { position: relative; overflow: hidden; }
.wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.wall a:hover img, .wall a:focus-visible img { transform: scale(1.045); }
.wall a { display: block; height: 100%; }

/* infill panel with diagonal brace — same brick bond as the hero facade */
.brace, .brace-alt {
  background-image:
    linear-gradient(45deg, transparent calc(50% - 7px), var(--timber-2) calc(50% - 7px), var(--timber-2) calc(50% + 7px), transparent calc(50% + 7px)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='56'%3E%3Crect width='84' height='56' fill='%23913a27'/%3E%3Crect x='0' y='0' width='39' height='24' fill='%23a8432f'/%3E%3Crect x='43' y='0' width='37' height='24' fill='%23a5402c'/%3E%3Crect x='0' y='28' width='18' height='24' fill='%23a6412d'/%3E%3Crect x='22' y='28' width='40' height='24' fill='%23a8432f'/%3E%3Crect x='66' y='28' width='18' height='24' fill='%23a4402c'/%3E%3C/svg%3E");
}
.brace-alt {
  background-image:
    linear-gradient(-45deg, transparent calc(50% - 7px), var(--timber-2) calc(50% - 7px), var(--timber-2) calc(50% + 7px), transparent calc(50% + 7px)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='56'%3E%3Crect width='84' height='56' fill='%23913a27'/%3E%3Crect x='0' y='0' width='39' height='24' fill='%23a8432f'/%3E%3Crect x='43' y='0' width='37' height='24' fill='%23a5402c'/%3E%3Crect x='0' y='28' width='18' height='24' fill='%23a6412d'/%3E%3Crect x='22' y='28' width='40' height='24' fill='%23a8432f'/%3E%3Crect x='66' y='28' width='18' height='24' fill='%23a4402c'/%3E%3C/svg%3E");
}

/* spans compose the facade */
.s-2x2 { grid-column: span 2; grid-row: span 2; }
.s-2x3 { grid-column: span 2; grid-row: span 3; }
.s-2x4 { grid-column: span 2; grid-row: span 4; }
.s-3x3 { grid-column: span 3; grid-row: span 3; }
.s-4x3 { grid-column: span 4; grid-row: span 3; }
.s-1x1 { grid-column: span 1; grid-row: span 1; }
.s-2x1 { grid-column: span 2; grid-row: span 1; }

@media (max-width: 860px) {
  .gallery { padding: 64px 0; }
  .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .wall > * { grid-column: span 2 !important; grid-row: span 2 !important; }
  .wall > .brace, .wall > .brace-alt { display: none; }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(36, 30, 25, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border: var(--beam) solid var(--timber-2);
  outline: 2px solid var(--cream);
  outline-offset: -14px;
}
.lightbox #lbClose {
  position: absolute;
  top: 22px;
  right: 26px;
  font: 700 1rem var(--font-body);
  background: var(--brick);
  color: var(--cream);
  border: 2px solid var(--cream);
  padding: 10px 16px;
  cursor: pointer;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font: 700 2rem var(--font-body);
  line-height: 1;
  background: var(--brick);
  color: var(--cream);
  border: 2px solid var(--cream);
  width: 54px;
  height: 54px;
  cursor: pointer;
}
.lb-nav:hover { background: var(--brick-dark); }
#lbPrev { left: 22px; }
#lbNext { right: 22px; }
.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font: 700 0.95rem var(--font-body);
  letter-spacing: 0.08em;
}
@media (max-width: 860px) {
  .lb-nav { width: 44px; height: 44px; font-size: 1.5rem; }
  #lbPrev { left: 10px; }
  #lbNext { right: 10px; }
}

/* ---------- location ---------- */

.location { padding: 96px 0; background: var(--cream-2); }
.location .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.distances { list-style: none; border-top: 3px solid var(--timber); }
.distances li {
  padding: 13px 2px 14px;
  border-bottom: 1px solid rgba(36, 30, 25, 0.18);
}
.distances .d-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  font-weight: 700;
}
.distances .km {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brick-dark);
  white-space: nowrap;
}
.distances .tip {
  margin-top: 3px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.map-col { display: grid; gap: 26px; align-content: start; }
.map-logo { height: 205px; width: auto; justify-self: center; margin-top: 22px; margin-bottom: -2px; }
@media (max-width: 860px) {
  .map-logo { height: 150px; margin-top: 6px; }
}
/* на тъч екрани картата се движи чак след докосване — иначе краде скрола */
@media (pointer: coarse) {
  .map-frame iframe { pointer-events: none; }
  .map-frame.map-active iframe { pointer-events: auto; }
}
[hidden] { display: none !important; }
.map-frame { aspect-ratio: 16 / 11; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.address-card {
  background: var(--cream);
  border: 2px solid var(--timber);
  box-shadow: 6px 6px 0 var(--timber);
  padding: 26px 30px;
}
.address-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.address-card p { color: var(--ink-soft); margin-bottom: 18px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.share-status { margin-top: 12px; margin-bottom: 0 !important; font-size: 0.9rem; font-weight: 700; color: var(--moss); }
.share-status:empty { display: none; }

@media (max-width: 860px) {
  .location { padding: 64px 0; }
  .location .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- calendar ---------- */

.availability { padding: 96px 0; }
.cal-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cal {
  border: 2px solid var(--timber);
  background: #fff;
  box-shadow: 6px 6px 0 var(--timber);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--timber);
  color: var(--cream);
  padding: 12px 16px;
}
.cal-head h3 { font-size: 1.25rem; font-weight: 600; }
.cal-nav {
  background: none;
  border: 2px solid var(--cream);
  color: var(--cream);
  font: 700 0.9rem var(--font-body);
  width: 34px;
  height: 34px;
  cursor: pointer;
}
.cal-nav:hover { background: var(--brick); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 14px;
}
.cal-grid .dow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding: 4px 0;
}
.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(36, 30, 25, 0.14);
  background: var(--cream);
}
.day.empty { border: none; background: none; }
.day.past { color: rgba(43, 37, 32, 0.32); background: none; }
.day.booked {
  color: var(--cream);
  border-color: var(--brick-dark);
  background: repeating-linear-gradient(0deg, var(--brick) 0 7px, var(--brick-dark) 7px 8px);
}
.cal-legend {
  display: flex;
  gap: 26px;
  margin-top: 20px;
  padding: 0 2px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.cal-legend i {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  vertical-align: -2px;
  border: 1px solid rgba(36, 30, 25, 0.2);
  background: var(--cream);
}
.cal-legend .booked-i { background: repeating-linear-gradient(0deg, var(--brick) 0 6px, var(--brick-dark) 6px 7px); }
.cal-note { margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); max-width: 62ch; }

@media (max-width: 860px) {
  .availability { padding: 64px 0; }
  .cal-shell { grid-template-columns: 1fr; }
  .cal-shell .cal:nth-child(2) { display: none; }
}

/* ---------- inquiry form ---------- */

.inquiry { padding: 96px 0; background: var(--timber); color: var(--cream); }
.inquiry .eyebrow { color: var(--amber); }
.inquiry .section-title { color: var(--cream); }
.inquiry .section-lead { color: rgba(250, 245, 236, 0.72); }
.inquiry .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }

.inquiry-aside p { color: rgba(250, 245, 236, 0.78); margin-bottom: 18px; }
.inquiry-aside a { color: var(--amber); }

.contact-direct {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 245, 236, 0.25);
  display: grid;
  gap: 14px;
}
.contact-direct-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2px !important;
}
.host-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream) !important;
  margin-bottom: 4px !important;
}
.contact-langs {
  font-size: 0.9rem;
  color: rgba(250, 245, 236, 0.65) !important;
  margin-top: 4px;
  margin-bottom: 0 !important;
}
.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--cream) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.contact-row svg { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }
.contact-row:hover span { text-decoration: underline; }

.site-footer #footerEmail { color: var(--cream); }

.form {
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--brick);
  box-shadow: 8px 8px 0 var(--brick);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form .full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%;
  font: 400 1rem var(--font-body);
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--timber);
  padding: 11px 12px;
}
.form textarea { resize: vertical; min-height: 110px; }
.form .btn-primary { justify-self: start; }
.form-status { font-size: 0.92rem; font-weight: 700; align-self: center; }
.form-status.ok { color: var(--moss); }
.form-status.err { color: var(--brick-dark); }
.hp { position: absolute; left: -9999px; }

@media (max-width: 860px) {
  .inquiry { padding: 64px 0; }
  .inquiry .wrap { grid-template-columns: 1fr; gap: 40px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--timber);
  color: rgba(250, 245, 236, 0.72);
  border-top: 4px solid var(--brick);
  padding: 40px 0;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
}
.site-footer img { height: 54px; filter: drop-shadow(0 0 1px var(--cream)); }
.site-footer nav { margin-left: auto; display: flex; gap: 22px; }
.site-footer a { color: var(--cream); }

/* ---------- reveal on scroll ----------
   hidden state only applies when JS confirms animations can run (html.anim),
   so content can never be lost to a failed observer */

html.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1; transform: none; }
}
