/* ==========================================================================
   Tintenblut Tattoo — Kupferstich / Gravur direction
   ========================================================================== */

:root {
  --ink: #0d0c0a;
  --ink-soft: #17140f;
  --ink-soft-a: rgba(23, 20, 15, 0.93); /* translucent variant so the sitewide aurora reads through */
  --ink-panel: #1c1811;
  --bone: #f2ecdf;
  --bone-dim: #c7bfa9;
  --bone-faint: #a79d84;
  --red: #8a1f1f;
  --red-bright: #b23a2a;
  --red-text: #dd5232; /* AA-safe on --ink and --ink-soft; use for red text, not just accents */
  --hairline: rgba(242, 236, 223, 0.16);
  --hairline-strong: rgba(242, 236, 223, 0.32);

  --font-display: "Bodoni Moda", "Didot", "Iowan Old Style", serif;
  --font-body: "Newsreader", "Iowan Old Style", serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  color-scheme: dark;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone-dim);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--red); color: var(--bone); }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-text);
}
.kicker::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bone);
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.section-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  margin-top: 0.5rem;
  max-width: 20ch;
}

.rule {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 0;
}

/* engraved ornamental divider (hand-drawn hairline) */
.ornament {
  width: 100%;
  max-width: 220px;
  height: 18px;
  display: block;
  color: var(--hairline-strong);
  overflow: visible;
}
.ornament path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 1100ms var(--ease-in-out);
}
.is-visible .ornament path { stroke-dashoffset: 0; }

/* ---- buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--hairline-strong);
  color: var(--bone);
  transition: transform 160ms var(--ease-out), border-color 220ms ease, color 220ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: var(--red-bright); color: var(--bone); }
  .btn:hover .btn-glow { opacity: 1; }
}
.btn-glow {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--red-bright);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fdfbf6;
}
.btn-primary:hover { border-color: var(--red-bright); background: var(--red-bright); }
.btn-primary .btn-glow { border-color: transparent; }

.btn-ghost {
  border-color: transparent;
  padding-inline: 0;
  gap: 0.5em;
}
.btn-ghost .arrow { transition: transform 200ms var(--ease-out); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ---- nav ---- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding-block: 1.1rem;
  background: linear-gradient(to bottom, rgba(13,12,10,0.92), rgba(13,12,10,0));
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(13, 12, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  color: var(--bone);
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: transform 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .brand:hover img { transform: rotate(-8deg) scale(1.06); }
}
.brand-word { font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-word em { color: var(--red-text); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red-bright);
  transition: right 220ms var(--ease-out);
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  border: 1px solid var(--hairline-strong);
  padding: 0.55em 1.1em;
}
.nav-cta:hover { border-color: var(--red-bright); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--hairline-strong);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 16px; height: 16px; }

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
}
.hero-frame {
  position: absolute;
  inset: 0;
  clip-path: inset(0 round 0px);
  animation: hero-bloom 1900ms 300ms both var(--ease-out);
}
@keyframes hero-bloom {
  from { clip-path: inset(18% 24% 18% 24% round 2px); }
  to { clip-path: inset(0 round 0px); }
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 18%;
  opacity: 0.62;
  transform: scale(1.26); /* JS (scroll-expand.js) owns this transform from first paint: zooms to 1.08 on load, then drives scroll parallax */
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(13,12,10,0.55), rgba(13,12,10,0.92) 62%, var(--ink) 100%),
    linear-gradient(180deg, rgba(13,12,10,0.72) 0%, rgba(13,12,10,0.5) 30%, var(--ink) 96%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame { animation: none; clip-path: inset(0 round 0px); }
  .hero-frame img { transform: scale(1.08); }
}

.hero .wrap { width: 100%; }
.hero-content { max-width: 40rem; }
.hero-content .ornament { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.12;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
.hero-enter {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-enter 800ms var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 130ms + 120ms);
}
@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-enter { opacity: 1; transform: none; animation: none; }
}
.hero-title .no-italic {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: block;
  color: var(--bone-dim);
}
.hero-lede {
  margin-top: 1.5rem;
  max-width: 34ch;
  font-size: 1.08rem;
  color: var(--bone-dim);
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}
.hero-plate {
  position: absolute;
  right: var(--gutter);
  bottom: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  writing-mode: vertical-rl;
  display: none;
}
@media (min-width: 900px) { .hero-plate { display: block; } }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--bone-faint), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: var(--red-bright);
  animation: cue-drip 2.4s var(--ease-in-out) infinite;
}
@keyframes cue-drip {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* hero corner stamp — a small engraved medallion, the logo given more presence */
.hero-stamp {
  position: absolute;
  top: 6.5rem;
  right: var(--gutter);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  animation: stamp-spin 48s linear infinite;
}
.hero-stamp::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
}
.hero-stamp img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  animation: stamp-spin-reverse 48s linear infinite;
}
@keyframes stamp-spin { to { transform: rotate(360deg); } }
@keyframes stamp-spin-reverse { to { transform: rotate(-360deg); } }
@media (min-width: 1080px) { .hero-stamp { display: flex; } }

/* ---- marquee ticker ---- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  background: var(--ink-soft-a);
  padding-block: 0.9rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-faint);
  white-space: nowrap;
}
.marquee-item strong { color: var(--bone); font-weight: 400; }
.marquee-item .dot { color: var(--red-text); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-stamp, .hero-stamp img { animation: none; }
}

/* ---- generic section ---- */
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---- about ---- */
.about {
  background: var(--ink-soft-a);
  border-block: 1px solid var(--hairline);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 0.85fr 1fr; }
}
.about-portrait {
  position: relative;
  border: 1px solid var(--hairline-strong);
  padding: 10px;
}
.about-portrait::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.about-portrait img { width: 100%; filter: grayscale(0.35) contrast(1.05); }
.about-portrait figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--bone-faint);
  text-align: center;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--bone);
  line-height: 1.35;
  max-width: 18ch;
  border-left: 2px solid var(--red);
  padding-left: 1.2rem;
  margin-block: 1.8rem;
}
.about-copy p + p { margin-top: 1.1rem; }
.about-facts {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.4rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
}
.about-facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.35rem;
}
.about-facts dd { margin: 0; color: var(--bone-dim); font-size: 0.95rem; }
.about-facts dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline-strong); transition: color 200ms ease, text-decoration-color 200ms ease; }
.about-facts dd a:hover { color: var(--red-text); text-decoration-color: var(--red-text); }

/* ---- services / leistungen ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.service-card {
  background: var(--ink);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--red-text);
  letter-spacing: 0.1em;
}
.service-card h3 {
  margin-top: 1.4rem;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}
.service-card p {
  margin-top: 0.9rem;
  font-size: 0.94rem;
  color: var(--bone-dim);
  flex-grow: 1;
}
.service-thumb {
  margin-top: 1.4rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.service-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.05);
  transition: transform 500ms var(--ease-in-out), filter 500ms ease;
}
.service-card:hover .service-thumb img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }

/* ---- gallery ---- */
.gallery {
  background: var(--ink-soft-a);
  border-block: 1px solid var(--hairline);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.2rem);
}
@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.is-wide { grid-column: span 2; }
}
.gallery-item { display: block; perspective: 900px; }
.plate-frame {
  position: relative;
  border: 1px solid var(--hairline-strong);
  padding: 8px;
  transition: border-color 260ms ease, transform 300ms var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.plate-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.plate-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.plate-window img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.08) brightness(0.96);
  transition: transform 600ms var(--ease-in-out), filter 600ms ease;
}
.spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(242,236,223,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .plate-window img { transform: scale(1.05); filter: grayscale(0) contrast(1.05) brightness(1); }
  .gallery-item:hover .plate-frame { border-color: var(--red-bright); }
  .gallery-item:hover .spotlight { opacity: 1; }
}
.plate-caption {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--bone-faint);
}
.plate-caption .tag { color: var(--red-text); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- reviews ---- */
.reviews-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.rating {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--bone);
}
.rating-meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint); }
.rating-suffix { font-size: 1.1rem; color: var(--bone-faint); }
.stars { color: var(--red-text); letter-spacing: 0.15em; }

.reviews-grid {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.review-card {
  background: var(--ink);
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 260px;
  min-width: 260px;
}
.review-card .stars { font-size: 0.8rem; }
.review-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--bone);
  line-height: 1.5;
  flex-grow: 1;
}
.review-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-faint);
  border-top: 1px solid var(--hairline);
  padding-top: 0.8rem;
}

/* ---- contact ---- */
.contact {
  background: var(--ink-soft-a);
  border-top: 1px solid var(--hairline);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info dl { display: grid; gap: 1.4rem; }
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.3rem;
}
.contact-info dd { margin: 0; color: var(--bone); font-size: 1.05rem; }
.contact-info dd a:hover { color: var(--red-text); }
.map-frame {
  margin-top: 2rem;
  border: 1px solid var(--hairline-strong);
  filter: grayscale(1) invert(0.92) contrast(0.9);
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.form {
  display: grid;
  gap: 1.3rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.field input, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 0.6rem 0.1rem;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 220ms ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-bright);
}
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { justify-self: start; margin-top: 0.4rem; }

/* ---- ink-aurora (sitewide atmosphere, fixed behind every section) ---- */
.site-aurora {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-aurora { opacity: 0.4; }
}

/* ---- warm tooltip (stamped museum-tag label) ---- */
.wt-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  transform: translate(-9999px, -9999px);
  opacity: 0;
  padding: 0.5em 0.85em;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
  border-top: 2px solid var(--red-bright);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
  filter: blur(4px);
  transition: opacity 150ms var(--ease-out), filter 150ms var(--ease-out);
}
.wt-tooltip.is-visible {
  opacity: 1;
  filter: blur(0);
}
.wt-tooltip::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 50%;
  margin-left: -3.5px;
  background: var(--bone);
  transform: rotate(45deg);
}
.wt-tooltip[data-side="top"]::after { bottom: -3px; }
.wt-tooltip[data-side="bottom"]::after { top: -3px; box-shadow: -1px -1px 0 0 var(--red-bright); }

/* ---- closing CTA band (molten-ink) ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  background: radial-gradient(120% 140% at 50% 30%, #2a0d10 0%, #170609 55%, var(--ink) 100%);
  border-block: 1px solid var(--hairline);
  text-align: center;
}
.molten-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1100ms ease;
}
.molten-canvas.is-ready { opacity: 0.85; }
.cta-band-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 85% at 50% 50%, rgba(13, 12, 10, 0.86) 0%, rgba(13, 12, 10, 0.6) 48%, rgba(13, 12, 10, 0.18) 78%, rgba(13, 12, 10, 0) 100%);
  pointer-events: none;
}
.cta-band-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.cta-band-content .kicker { justify-content: center; }
.cta-band-content .section-heading { max-width: 22ch; }
.cta-band-content .btn { margin-top: 0.6rem; }
@media (prefers-reduced-motion: reduce) {
  .molten-canvas { display: none; }
}

/* ---- footer ---- */
.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.02em; color: var(--bone-faint); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--bone-faint);
}
.footer-links a:hover { color: var(--red-text); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  height: 44px;
  padding-inline: 1rem;
  border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: border-color 220ms ease, color 220ms ease, transform 160ms var(--ease-out), background 220ms ease;
}
.footer-social a:hover { border-color: var(--red-bright); color: var(--bone); background: rgba(178,58,42,0.08); }
.footer-social a:active { transform: scale(0.96); }
.footer-social svg { width: 17px; height: 17px; flex-shrink: 0; }

/* nav social — quiet icon pair, visible on every scroll position */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: 0.4rem;
}
.nav-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bone-faint);
  transition: color 220ms ease, transform 160ms var(--ease-out);
}
.nav-social a:hover { color: var(--red-text); transform: translateY(-2px); }
.nav-social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .nav-social { display: none; } }

/* ---- mobile nav ---- */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 39;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms var(--ease-out), opacity 220ms ease;
  }
  .mobile-nav a {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2rem;
    color: var(--bone);
  }
}
@media (min-width: 761px) { .mobile-nav { display: none; } }

/* ---- utilities ---- */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 6rem;
  min-height: 70vh;
}
.legal-page h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-style: italic; }
.legal-page h2 { font-size: 1.2rem; margin-top: 2.4rem; margin-bottom: 0.8rem; font-style: italic; }
.legal-page p, .legal-page li { color: var(--bone-dim); font-size: 0.98rem; margin-bottom: 0.8rem; }
.legal-page ul { padding-left: 1.2rem; list-style: disc; }
.legal-note {
  margin-top: 2.5rem;
  border: 1px dashed var(--hairline-strong);
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red-text);
  letter-spacing: 0.02em;
}
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint); }
.back-link:hover { color: var(--red-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.2s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
