/* ============================================================
   DIE CASTER — v2
   Tone: Stark. Editorial. Plaster texture, black type, no ornament.
   Fonts: Playfair Display (headings) + DM Sans (body/nav)
   ============================================================ */

:root {
  --text-xs:    clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);   /* 11–12px */
  --text-sm:    clamp(0.75rem,   0.72rem + 0.22vw, 0.875rem); /* 12–14px */
  --text-base:  clamp(0.875rem,  0.84rem + 0.25vw, 1rem);     /* 14–16px */
  --text-md:    clamp(1rem,      0.95rem + 0.35vw, 1.125rem); /* 16–18px */
  --text-lg:    clamp(1.125rem,  1rem + 0.75vw, 1.5rem);      /* 18–24px */
  --text-xl:    clamp(1.5rem,    1.2rem + 1.25vw, 2.25rem);   /* 24–36px */
  --text-2xl:   clamp(2rem,      1.4rem + 2.2vw, 3.25rem);    /* 32–52px */
  --text-3xl:   clamp(2.75rem,   1.5rem + 4vw, 5.5rem);       /* 44–88px */

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --color-bg:          #e8e3da;  /* plaster warm */
  --color-text:        #0f0f0f;
  --color-text-muted:  #0f0f0f;
  --color-text-faint:  #0f0f0f;
  --color-border:      rgba(15,15,15,0.12);
  --color-divider:     rgba(15,15,15,0.08);

  /* Gold accent — used sparingly */
  --color-gold:        #c9a43a;
  --color-gold-light:  #e0c060;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --tr: 180ms var(--ease-out);

  --w-default: 1120px;
  --w-narrow:  720px;
  --gutter:    clamp(1.25rem, 5vw, 3.5rem);
}

/* Dark */
[data-theme='dark'] {
  --color-bg:         #141210;
  --color-text:       #e2ddd6;
  --color-text-muted: #7a7670;
  --color-text-faint: #4a4840;
  --color-border:     rgba(226,221,214,0.1);
  --color-divider:    rgba(226,221,214,0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:         #141210;
    --color-text:       #e2ddd6;
    --color-text-muted: #7a7670;
    --color-text-faint: #4a4840;
    --color-border:     rgba(226,221,214,0.1);
    --color-divider:    rgba(226,221,214,0.06);
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  line-height: 1.5;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; max-width: 68ch; }
button { cursor: pointer; background: none; border: none; }
a { transition: color var(--tr), opacity var(--tr); }
a:hover { color: var(--color-gold); }
::selection { background: rgba(15,15,15,0.12); }
:focus-visible { outline: 1.5px solid var(--color-text); outline-offset: 3px; }
.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; }

/* ── LAYOUT ── */
.wrap {
  width: min(100%, var(--w-default));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  width: min(100%, var(--w-narrow));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 0 var(--gutter);
  /* Frosted glass barrier — prevents content scrolling visibly under the nav */
  background: rgba(248, 246, 243, 0.80);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(15,15,15,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: var(--space-8);
}
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo svg { height: 38px; width: auto; }
/* make SVG paths follow theme */
.site-logo svg .st0 { fill: #0f0f0f; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.site-nav a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0f0f0f;
  opacity: 1;
  transition: color var(--tr), opacity var(--tr);
}
.site-nav a:hover { color: var(--color-gold); }
.nav-insta {
  display: flex;
  align-items: center;
  opacity: 0.55;
  color: #0f0f0f;
}
.nav-insta:hover { opacity: 1 !important; color: var(--color-gold) !important; }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.theme-toggle {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: #0f0f0f;
  opacity: 0.45;
  border-radius: 50%;
}
.theme-toggle:hover { opacity: 1; color: var(--color-gold); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px; height: 30px;
  justify-content: center;
  align-items: flex-end;
  color: var(--color-text);
  opacity: 0.7;
}
.hamburger span { display: block; height: 1px; background: currentColor; transition: transform var(--tr), opacity var(--tr), width var(--tr); }
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 14px; }
.hamburger span:nth-child(3) { width: 18px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 22px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 22px; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  z-index: 99;
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: center;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-16) var(--gutter);
  gap: var(--space-6);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  text-decoration: none;
  color: var(--color-text);
  opacity: 0.85;
}
.mobile-nav a:hover { opacity: 1; }

@media (max-width: 780px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

/* Photos block — padded, not full-bleed */
.hero-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 3.5rem) 0;
}

.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-figure img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 9/16;
  display: block;
  background: transparent;
}

/* Text block — sits below photos, no overlap */
.hero-text {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0.6em;
}
.hero-claim {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 52ch;
  /* Thin gold rule above claim */
  padding-top: 0.75em;
  border-top: 1px solid var(--color-gold);
  margin-top: -0.1em;
}

@media (max-width: 900px) {
  .hero-photos {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-headline { font-size: var(--text-2xl); }
}
@media (max-width: 500px) {
  .hero-photos {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem 1rem 0;
  }
  .hero-headline { font-size: var(--text-xl); }
  .hero-claim { font-size: var(--text-base); }
}

/* ── SECTION BASE ── */
section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }



/* ── LEISTUNGEN ── */
.leistungen { border-top: 1px solid var(--color-border); }
.leistungen-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
}
.leistungen-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
}
.leistung-item {
  padding: var(--space-8);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--tr);
  position: relative;
}
.leistung-item:nth-child(2n) { border-right: none; }
.leistung-item:nth-last-child(-n+2) { border-bottom: none; }
.leistung-item:hover { background: rgba(15,15,15,0.03); }
[data-theme='dark'] .leistung-item:hover { background: rgba(255,255,255,0.03); }
.leistung-num {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}
.leistung-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.leistung-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: none;
}
@media (max-width: 620px) {
  .leistungen-list { grid-template-columns: 1fr; }
  .leistung-item { border-right: none !important; }
  .leistung-item:last-child { border-bottom: none; }
  .leistung-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .leistung-item:last-child { border-bottom: none !important; }
}

/* ── TEAM ── */
.team { border-top: 1px solid var(--color-border); }
.team-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;  /* columns start at same top edge */
}
.team-member { display: flex; flex-direction: column; }
.team-photo-wrap {
  overflow: hidden;
  position: relative;
  background: transparent;
  /* Fixed height so all four columns align — photos crop consistently from top */
  height: clamp(260px, 36vw, 440px);
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out);
  background: transparent;
}
.team-member:hover .team-photo-wrap img { transform: scale(1.02); }
.team-info {
  padding: var(--space-5) var(--space-5) var(--space-6);
}
.team-info-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.team-info-role {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a857e;
  margin-bottom: var(--space-4);
}
[data-theme='dark'] .team-info-role { color: #6a6560; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .team-info-role { color: #6a6560; }
}
.team-info-bio {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  max-width: none;
}
@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-photo-wrap { height: clamp(160px, 44vw, 220px); }
  .team-info { padding: var(--space-3) var(--space-3) var(--space-4); }
  .team-info-bio { font-size: var(--text-xs); line-height: 1.5; }
}

/* ── SECTION DARK (charcoal plaster) ──
   Leistungen, Workshops use the deep warm charcoal bg-dark texture.
   All text = warm plaster white #e8e3da (matching the light bg hue).
   Gold accents remain gold. Photos stay multiply. */

/* Warm plaster off-white — matches body bg hue */
:root { --color-plaster: #e8e3da; }

.section-charcoal {
  background-image: url('assets/bg-dark.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--color-plaster);
  border-top: 1px solid rgba(232,227,218,0.08);
}
/* ALL non-gold text = full plaster white (same as section headings) */
.section-charcoal,
.section-charcoal *,
.section-charcoal p,
.section-charcoal h2,
.section-charcoal h3,
.section-charcoal h4,
.section-charcoal li,
.section-charcoal span,
.section-charcoal a,
.section-charcoal label,
.section-charcoal .leistung-item p,
.section-charcoal .leistung-item h3,
.section-charcoal .wshop-title,
.section-charcoal .workshops-desc,
.section-charcoal .section-title {
  color: var(--color-plaster);
  opacity: 1;
}
/* Only the role/caption text is stepped back */
.section-charcoal .team-info-role { opacity: 0.5; }
/* Gold overrides */
.section-charcoal .leistung-num { color: var(--color-gold) !important; }
.section-charcoal .wshop-num    { color: var(--color-gold) !important; }
.section-charcoal .leistungen-header a { color: var(--color-gold-light) !important; opacity: 1 !important; }
/* Borders */
.section-charcoal .leistungen-list,
.section-charcoal .leistung-item,
.section-charcoal .workshops-right,
.section-charcoal .wshop-row,
.section-charcoal .team-info { border-color: rgba(232,227,218,0.12); }
/* Hover: gold on links/items inside dark sections */
.section-charcoal a:hover,
.section-charcoal .wshop-row:hover .wshop-title { color: var(--color-gold-light); }
/* Photos: true transparency via PNG — no blend mode needed */
.section-charcoal .team-photo-wrap img { mix-blend-mode: normal; }
/* Form fields */
.section-charcoal .form-field input,
.section-charcoal .form-field textarea,
.section-charcoal .form-field select {
  border-bottom-color: rgba(232,227,218,0.2);
  background: transparent;
}
.section-charcoal .form-field select option { background: #2c2920; }
.section-charcoal .form-field input::placeholder,
.section-charcoal .form-field textarea::placeholder { font-style: italic; color: rgba(232,227,218,0.3); }
/* Gold arrow on dark select */
.section-charcoal .form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e0c060' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.section-charcoal .form-field input:focus,
.section-charcoal .form-field textarea:focus,
.section-charcoal .form-field select:focus { border-bottom-color: var(--color-gold-light); }
.section-charcoal .form-tabs { border-color: rgba(232,227,218,0.15); }
.section-charcoal .form-tab { border-right-color: rgba(232,227,218,0.12); opacity: 0.45; }
.section-charcoal .form-tab.active { opacity: 1; background: rgba(255,255,255,0.06); }
.section-charcoal .btn-send { background: var(--color-plaster); color: #1e1c18; }
.section-charcoal .btn-send:hover { opacity: 0.85; }

/* Workshop 'Anfragen' link */
.anfragen-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-gold);
  transition: color var(--tr);
  margin-top: var(--space-2);
}
.anfragen-link svg { color: var(--color-gold); transition: color var(--tr); }
.anfragen-link:hover { color: var(--color-gold-light); }
.anfragen-link:hover svg { color: var(--color-gold-light); }

/* ── WORKSHOPS ── */
.workshops { border-top: 1px solid var(--color-border); }
.workshops-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.workshops-left {}
.workshops-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 44ch;
}
.workshops-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
}
.wshop-row {
  display: flex;
  gap: var(--space-6);
  align-items: baseline;
  padding: var(--space-6) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  /* No hover effect on rows */
}
.wshop-row:last-child { border-bottom: none; }
.wshop-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  font-weight: 400;
  flex-shrink: 0;
  width: 2ch;
  line-height: 1;
}
.wshop-title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-gold-light);
}
@media (max-width: 680px) {
  .workshops-inner { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* ── KONTAKT ── */
.kontakt { border-top: 1px solid var(--color-border); }
.kontakt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  max-width: 720px;
  margin-inline: auto;
}
.kontakt-left {}
.kontakt-intro {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 60ch;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
  opacity: 0.7;
}
.contact-link:hover { opacity: 1; }
.contact-link svg { opacity: 0.5; }
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-field label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--color-text);
  border-radius: 0;
  outline: none;
  transition: border-color var(--tr);
  -webkit-appearance: none;
  appearance: none;
}
/* Italic placeholders */
.form-field input::placeholder,
.form-field textarea::placeholder { font-style: italic; color: rgba(15,15,15,0.35); }
/* Custom dropdown arrow — gold chevron */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a43a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 20px;
  cursor: pointer;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-text);
}
.form-field textarea { resize: none; min-height: 100px; }
.form-field select option { background: var(--color-bg); }
.btn-send {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: var(--space-4) var(--space-8);
  cursor: pointer;
  transition: opacity var(--tr);
  margin-top: var(--space-2);
}
.btn-send:hover { opacity: 0.75; }
@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Form tabs */
.form-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-border);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}
.form-tab {
  flex: 1;
  min-width: max-content;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-right: 1px solid var(--color-border);
  cursor: pointer;
  opacity: 0.4;
  transition: opacity var(--tr), background var(--tr);
  white-space: nowrap;
}
.form-tab:last-child { border-right: none; }
.form-tab:hover { opacity: 0.8; }
.form-tab.active {
  opacity: 1;
  background: rgba(15,15,15,0.06);
}
[data-theme='dark'] .form-tab.active { background: rgba(255,255,255,0.06); }
.tab-panel { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.tab-panel.hidden { display: none; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(232,227,218,0.08);
  padding-block: var(--space-10) var(--space-10);
  background-image: url('assets/bg-dark.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--color-plaster);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-logo svg { height: 28px; }
.footer-logo svg .st0 { fill: var(--color-plaster); opacity: 0.5; }
.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-plaster);
  opacity: 0.55;
}
.footer-links a:hover { opacity: 1; color: var(--color-gold-light); }
.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-plaster);
  opacity: 0.35;
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}

/* ── LEGAL PAGES ── */
.legal { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.legal h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-12);
  color: var(--color-text);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.legal p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 64ch;
}
.legal ul { padding-left: var(--space-5); margin-bottom: var(--space-4); }
.legal li { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-2); }
.legal a { color: var(--color-text); opacity: 0.7; }
.legal a:hover { opacity: 1; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text);
  opacity: 0.5;
  margin-top: var(--space-12);
}
.back-link:hover { opacity: 1; }



/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
