/* Major Frisur: editorial cream + gold. Tokens and rules documented in ../DESIGN.md */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf0e1;
  --paper: #fffaf2;
  --sand: #f3e4cd;
  --ink: #1d1712;
  --ink-soft: #2a221b;
  --muted: #5e5246;
  --gold: #b8913f;
  --gold-deep: #765622;
  --gold-light: #e2c27d;
  --line: #e6d3b3;
  --whatsapp: #1f7a4d;

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 5rem;
  --section: clamp(4rem, 9vw, 8rem);

  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--gold-deep); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 var(--s2);
  text-wrap: balance;
}
h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); }
h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
h2 em, h1 em { font-style: italic; color: var(--gold-deep); }
p { margin: 0 0 var(--s2); }

.wrap { width: min(100% - 2rem, 1240px); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(100% - 4rem, 1240px); } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--s2); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: var(--s2); color: var(--paper); }

.eyebrow {
  font-family: var(--caps);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--s2);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 1rem/1 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { color: var(--paper); background: var(--ink-soft); box-shadow: 0 10px 24px -12px rgb(29 23 18 / .6); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { color: #fff; box-shadow: 0 10px 24px -12px rgb(31 122 77 / .7); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold-light); color: var(--ink); }
.btn-gold:hover { color: var(--ink); background: #ecd29a; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s3); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.text-link svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(230 211 179 / .7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; font-family: var(--caps); }
.brand-name b { font-size: 1.2rem; letter-spacing: .14em; }
.brand-name small { font-size: .62rem; letter-spacing: .5em; color: var(--gold-deep); margin-top: .3rem; }

.nav { display: none; }
.nav ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  padding: .5rem 0;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav ul a:hover::after, .nav ul a:focus-visible::after { transform: scaleX(1); }
.header-call { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-lines, .menu-lines::before {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-lines { position: relative; transform: translateY(-4px); }
.menu-lines::before { content: ""; position: absolute; left: 0; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-lines { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(-8px) rotate(-90deg); }

.nav-extra { display: none; }

/* Mobile menu: full-screen ink overlay. The header drops its backdrop-filter while open,
   otherwise it becomes the containing block and traps the fixed overlay inside the bar. */
@media (max-width: 1039px) {
  body.menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: rgb(226 194 125 / .2); }
  .menu-open .brand-name b, .menu-open .menu-toggle { color: var(--paper); }
  .menu-open .brand-name small { color: var(--gold-light); }
  .menu-open .mobile-bar { visibility: hidden; }
  .brand, .menu-toggle { position: relative; z-index: 2; }

  .nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s4);
    padding: 6.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(120% 60% at 100% 0%, rgb(184 145 63 / .18), transparent 60%),
      var(--ink);
    color: var(--paper);
    overflow-y: auto;
    animation: fade .35s var(--ease) both;
  }
  .nav.is-open ul { flex-direction: column; gap: 0; counter-reset: nav; }
  .nav.is-open li { counter-increment: nav; animation: rise .55s var(--ease) both; }
  .nav.is-open li:nth-child(2) { animation-delay: .05s; }
  .nav.is-open li:nth-child(3) { animation-delay: .1s; }
  .nav.is-open li:nth-child(4) { animation-delay: .15s; }
  .nav.is-open li:nth-child(5) { animation-delay: .2s; }
  .nav.is-open li:nth-child(6) { animation-delay: .25s; }
  .nav.is-open ul a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .55rem 0;
    color: var(--paper);
    font-family: var(--display);
    font-size: clamp(2.3rem, 1.6rem + 3.5vw, 3.4rem);
    line-height: 1.1;
    transition: color .25s, transform .35s var(--ease);
  }
  .nav.is-open ul a::before {
    content: counter(nav, decimal-leading-zero);
    font-family: var(--caps);
    font-size: .75rem;
    letter-spacing: .1em;
    color: var(--gold-light);
    transform: translateY(-.9em);
  }
  .nav.is-open ul a::after { display: none; }
  .nav.is-open ul a:hover, .nav.is-open ul a:focus-visible { color: var(--gold-light); font-style: italic; transform: translateX(6px); }

  .nav.is-open .nav-extra {
    display: grid;
    gap: var(--s2);
    padding-top: var(--s3);
    border-top: 1px solid rgb(226 194 125 / .2);
    color: #cfc2ad;
    font-size: .95rem;
    animation: rise .6s var(--ease) both .3s;
  }
  .nav-extra p { margin: 0; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .nav-actions .btn { width: 100%; }
  .nav-insta { color: var(--gold-light); justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1040px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-call { display: inline-flex; min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }

.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.status-dot {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgb(184 145 63 / .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(184 145 63 / .55); }
  70% { box-shadow: 0 0 0 .6rem rgb(184 145 63 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(184 145 63 / 0); }
}

.hero h1 {
  font-size: clamp(3.4rem, 1.6rem + 7.6vw, 7.8rem);
  line-height: .92;
  letter-spacing: -.025em;
  margin-bottom: var(--s3);
}
.h1-line { display: block; }
.hero-sub {
  font-family: var(--caps);
  font-size: clamp(.8rem, .74rem + .3vw, .95rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--s3);
}
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 34rem; }

.hero-media {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 0 0 2.5rem 2.5rem;
}
@media (min-width: 960px) { .hero-media { margin-right: 0; } }
@media (max-width: 959px) { .hero-media { order: -1; width: min(100%, 440px); } }
.arch {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  box-shadow: 0 40px 80px -40px rgb(29 23 18 / .45);
}
.arch::after {
  content: "";
  position: absolute; inset: .7rem;
  border: 1px solid rgb(255 250 242 / .55);
  border-radius: 999px 999px 12px 12px;
  pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset {
  position: absolute;
  left: 0; bottom: 0;
  width: 38%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: 0 24px 48px -24px rgb(29 23 18 / .5);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-seal {
  position: absolute;
  right: -.5rem; bottom: 14%;
  display: flex; align-items: center; gap: .6rem;
  margin: 0;
  padding: .5rem 1rem .5rem .5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1.25;
  color: var(--muted);
  box-shadow: 0 14px 30px -18px rgb(29 23 18 / .45);
}
.hero-seal img { border-radius: 50%; }
@media (max-width: 420px) { .hero-seal { right: 0; } }

/* Ticker */
.ticker {
  background: var(--ink);
  color: var(--gold-light);
  overflow: hidden;
  padding: 1.1rem 0;
  border-block: 1px solid rgb(226 194 125 / .25);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  padding-inline: 1.6rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
}
.ticker span::after { content: "\2726"; font-style: normal; font-size: .7em; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: var(--section) 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--ink); color: #efe4d2; }
.section-dark h2 { color: var(--paper); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark a:not(.btn) { color: var(--gold-light); }
.section-dark a:not(.btn):hover { color: var(--paper); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head > p:last-child { color: var(--muted); }
.section-head-split { max-width: none; display: grid; gap: var(--s2) var(--s5); align-items: end; }
@media (min-width: 860px) { .section-head-split { grid-template-columns: 1.2fr 1fr; } }
.section-head-split > p { margin-bottom: .6rem; }

/* Leistungen */
.services-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .services-intro { position: sticky; top: 7rem; }
}
.services-intro > p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }
.swatch {
  margin-top: var(--s4);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 3;
}
.swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.swatch:hover img { transform: scale(1.04); }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: var(--s2);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.service:hover { padding-left: .5rem; }
.service-no {
  font-family: var(--caps);
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--gold-deep);
  padding-top: .55rem;
}
.service h3 { margin-bottom: .4rem; }
.service p { color: var(--muted); margin: 0; max-width: 32rem; }
.service-cta { padding-top: var(--s4); }
.service-cta p { color: var(--muted); margin-bottom: .4rem; }

/* Team */
.team { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .team { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); } }
@media (min-width: 760px) { .member:nth-child(2) { margin-top: var(--s6); } }
.member figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
}
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member:hover img { transform: scale(1.035); }
.member-text { padding: var(--s3) .25rem 0; }
.member-tag {
  font-family: var(--caps);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .2rem;
}
.member h3 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-style: italic; margin-bottom: .5rem; }
.member-text > p:last-child { color: var(--muted); max-width: 28rem; }

/* Arbeiten */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: var(--s2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: start; }
@media (min-width: 600px) { .gallery { grid-auto-columns: 45%; } }
@media (min-width: 960px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: var(--s3); }
  .gallery li:nth-child(even) { margin-top: var(--s5); }
}
.gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: .75rem; bottom: .75rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgb(255 250 242 / .92);
  font-size: .82rem;
  color: var(--ink);
}
.gallery { position: relative; }
.gallery-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s3); }
.gallery-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.gallery-btn:hover { background: var(--ink); color: var(--paper); }
.gallery-btn svg { width: 20px; height: 20px; }
.gallery-prev svg { transform: rotate(180deg); }
.gallery-dots { display: flex; gap: .5rem; }
.gallery-dots span {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--line);
  transition: width .4s var(--ease), background-color .4s;
}
.gallery-dots span.is-active { width: 1.6rem; background: var(--gold); }
@media (min-width: 960px) { .gallery-nav { display: none; } }
.insta-link { margin-top: var(--s4); }
@media (min-width: 960px) { .insta-link { margin-top: var(--s4); } }

/* Öffnungszeiten */
.hours-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .hours-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.hours-grid > div > p:not(.eyebrow) { color: #cfc2ad; max-width: 30rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 1rem .25rem; border-bottom: 1px solid rgb(226 194 125 / .2); }
.hours th { text-align: left; font-weight: 400; font-family: var(--display); font-size: 1.35rem; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed { color: #a89a85; }
.hours tr.today th, .hours tr.today td { color: var(--gold-light); }
.hours tr.today th::after {
  content: "heute";
  margin-left: .7rem;
  padding: .15rem .55rem;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Termin (Calendly, hidden until BOOKING_URL is set) */
.booking {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  min-height: 20rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.booking-consent { max-width: 34rem; padding: var(--s4); text-align: center; color: var(--muted); }
.booking-consent .btn { margin-block: var(--s2); }
.booking-alt { font-size: .9rem; }
.booking-frame { width: 100%; height: 720px; border: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: var(--s5); align-items: stretch; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); }
.nap { font-style: normal; line-height: 1.8; margin-top: var(--s3); }
.nap strong { font-family: var(--caps); letter-spacing: .14em; font-size: .95rem; }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 22rem;
  background: var(--sand);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.map iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; }
.map-consent { max-width: 26rem; padding: var(--s4); text-align: center; color: var(--muted); font-size: .95rem; }
.map-consent img { margin: 0 auto var(--s2); border-radius: 50%; }
.map-consent .addr { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-bottom: var(--s1); }

/* Footer */
.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding: var(--s5) 0 calc(var(--s5) + 4.5rem);
}
@media (min-width: 1040px) { .site-footer { padding-bottom: var(--s5); } }
.footer-grid { display: grid; gap: var(--s3); align-items: center; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: auto 1fr auto; gap: var(--s5); } }
.footer-brand { border-radius: 12px; }
.site-footer .nap { margin: 0; color: var(--muted); }
.site-footer .nap strong { color: var(--ink); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-links a { display: inline-block; padding: .6rem 0; color: var(--ink); }
.footer-links a:hover { color: var(--gold-deep); }

/* Sticky mobile contact bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgb(251 240 225 / .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: transform .35s var(--ease), visibility .35s;
}
.mobile-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
.mobile-bar .btn { width: 100%; }
@media (min-width: 1040px) { .mobile-bar { display: none; } }

/* Legal pages */
.legal { padding: var(--s5) 0 var(--s6); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); }
.legal h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-top: var(--s5); }
.legal dl { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: .5rem var(--s3); margin: 0 0 var(--s3); }
.legal dt { font-weight: 500; }
.legal dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: var(--s1); } }
.missing { background: #fff1c2; color: #5a4300; padding: .1rem .35rem; border-radius: 4px; }
.tap-link { display: inline-block; padding: .4rem 0; }

/* Motion */
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-text > :nth-child(5) { animation-delay: .32s; }
.arch { animation: unveil 1.3s var(--ease) both .1s; }
.hero-inset { animation: rise 1s var(--ease) both .55s; }
.hero-seal { animation: rise 1s var(--ease) both .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }

/* Reveal once on entry (IntersectionObserver in main.js). Only hidden when JS runs (.js on <html>). */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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