/* ─── Self-hosted Fonts ──────────────────────────────────────────── */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-700i.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
  --ink:        #18151c;
  --ink-2:      #3d3742;
  --ink-3:      #7a7080;
  --bg:         #faf8f5;
  --bg-warm:    #f3ede6;
  --paper:      #ffffff;
  --rule:       rgba(24,21,28,.1);
  --rule-heavy: rgba(24,21,28,.18);

  /* Brand */
  --violet:     #7b4fa6;
  --violet-dk:  #53346e;
  --rose:       #d95f7f;
  --gold:       #c9902a;

  /* Per-project accent (applied via .page-* class on body) */
  --accent:     var(--violet);
  --accent-dk:  var(--violet-dk);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --r:            14px;
  --shadow-sm:    0 2px 8px rgba(24,21,28,.07);
  --shadow-md:    0 8px 32px rgba(24,21,28,.10);
  --shadow-lg:    0 20px 54px rgba(24,21,28,.13);
  --max:          1120px;
  --ease:         cubic-bezier(.22,1,.36,1);
}

/* Per-page accent overrides */
body[data-page="buecher"]  { --accent: #4a6fa5; --accent-dk: #2e4a73; }
body[data-page="grete"]    { --accent: #b85c38; --accent-dk: #7d3a22; }
body[data-page="slush"]    { --accent: #2f7fcb; --accent-dk: #1c5490; }
body[data-page="jojo"]     { --accent: #3a8f5c; --accent-dk: #235c39; }
body[data-page="sounds"]   { --accent: #8b3fa8; --accent-dk: #5c2770; }

/* ─── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, li { overflow-wrap: break-word; }

/* ─── Layout Utilities ───────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 16px; }

/* ─── Skip Link ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 1rem; top: 1rem;
  transform: translateY(-200%); z-index: 200;
  background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: 99px;
  font-family: var(--font-body); font-size: .875rem;
  text-decoration: none; transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ─── Header & Nav ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
/* Scrolled state - added via JS */
.site-header.is-scrolled {
  background: rgba(250,248,245,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: contain;
}
.brand-text strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: .78rem;
  color: var(--ink-3);
  white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--rule-heavy);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s var(--ease), opacity .15s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.is-open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.main-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0 16px;
}
.main-nav.is-open { display: flex; flex-direction: column; }
.main-nav a {
  padding: .7rem calc((100% - min(var(--max), calc(100% - 32px))) / 2 + 0px);
  padding-left: max(16px, calc((100% - min(var(--max), calc(100% - 32px))) / 2));
  padding-right: max(16px, calc((100% - min(var(--max), calc(100% - 32px))) / 2));
  font-size: .93rem; font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color .15s, background .15s;
}
.main-nav a:last-child { border-bottom: 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); background: rgba(0,0,0,.025); }

/* ─── Typography Scale ───────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 700;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -.015em;
}

.lead {
  font-size: clamp(1.0rem, 3.2vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.65;
  margin-top: 18px;
  max-width: 680px;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  display: grid;
  gap: 36px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-kicker .eyebrow { margin: 0; }
.hero-rule {
  flex: 1;
  height: 1px;
  background: var(--rule-heavy);
  max-width: 60px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* Hero sidebar card */
.hero-aside {
  background: var(--paper);
  border: 1px solid var(--rule-heavy);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.hero-aside-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.hero-aside-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(123,79,166,.15), rgba(217,95,127,.1));
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-aside-logo img { width: 32px; }
.hero-aside-head h3 {
  font-family: var(--font-body);
  font-size: .88rem; font-weight: 700;
  margin: 0;
  letter-spacing: 0;
}
.hero-aside-head small { color: var(--ink-3); font-size: .72rem; display: block; }

.sequence {
  list-style: none; padding: 0;
  display: grid; gap: 0;
}
.sequence li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.sequence li:first-child { border-top: 0; padding-top: 0; }
.seq-num {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; font-style: italic;
  color: var(--accent);
  padding-top: 2px;
}
.seq-label strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.seq-label small  { color: var(--ink-3); font-size: .76rem; line-height: 1.4; display: block; margin-top: 2px; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dk); }
.btn-outline {
  background: var(--paper);
  border: 1px solid var(--rule-heavy);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  padding-left: 0;
}
.btn-ghost::after { content: " →"; }
.btn-sm { min-height: 36px; padding: .45rem .85rem; font-size: .84rem; }

/* ─── Sections ───────────────────────────────────────────────────── */
.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--rule);
}
.section-warm {
  background: var(--bg-warm);
}
.section-head {
  margin-bottom: 28px;
}
.section-head p.sub {
  color: var(--ink-3);
  margin-top: 10px;
  max-width: 640px;
}

/* ─── Magazine Rule Divider ──────────────────────────────────────── */
.mag-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.mag-rule span {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.mag-rule::before, .mag-rule::after {
  content: ""; flex: 1; height: 1px;
  background: var(--rule-heavy);
}
.mag-rule::before { max-width: 20px; flex: 0 0 20px; }

/* ─── Project Cards ──────────────────────────────────────────────── */
.project-grid {
  display: grid;
  gap: 14px;
  grid-auto-rows: 1fr;
}
.project-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .15s;
  display: flex;
  flex-direction: column;
}
/* Feature card: equal height to siblings on mobile */
.project-card.is-feature {
  grid-row: auto;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.project-card-header {
  padding: 24px 22px 18px;
  position: relative;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Project-specific header gradients */
.project-card[data-project="buecher"] .project-card-header { background: linear-gradient(135deg, #1c2f4a 0%, #2e4a73 100%); color: #fff; }
.project-card[data-project="grete"]   .project-card-header { background: linear-gradient(135deg, #5a2a18 0%, #b85c38 100%); color: #fff; }
.project-card[data-project="slush"]   .project-card-header { background: linear-gradient(135deg, #0e3460 0%, #2f7fcb 100%); color: #fff; }
.project-card[data-project="jojo"]    .project-card-header { background: linear-gradient(135deg, #122c1e 0%, #3a8f5c 100%); color: #fff; }
.project-card[data-project="sounds"]  .project-card-header { background: linear-gradient(135deg, #2d1040 0%, #8b3fa8 100%); color: #fff; }

.project-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 700; font-style: italic;
  opacity: .15;
  position: absolute; top: 8px; right: 16px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.project-card-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  opacity: .7; margin-bottom: 6px;
}
.project-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  line-height: 1.2;
}
.project-card-body {
  padding: 16px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-desc {
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}
.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.project-card:hover .project-card-link { gap: 10px; }
.project-card-link::after { content: "→"; transition: transform .2s; }

/* ─── Feature Card (Origin / Bücher) ────────────────────────────── */
.feature-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.feature-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,79,166,.4), rgba(217,95,127,.2));
  pointer-events: none;
}
.feature-band > * { position: relative; }
.feature-band .eyebrow { color: rgba(255,255,255,.6); }
.feature-band h2 { color: #fff; }
.feature-band p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 540px; }

/* ─── Link Cards ─────────────────────────────────────────────────── */
.link-group { display: grid; gap: 8px; }
.link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, background .15s, transform .18s var(--ease);
}
.link-card:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,.95);
  transform: translateX(3px);
}
.link-card-text strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.link-card-text small  { display: block; color: var(--ink-3); font-size: .78rem; margin-top: 2px; }
.link-card-arrow {
  color: var(--ink-3);
  font-size: .95rem;
  transition: color .15s, transform .18s;
}
.link-card:hover .link-card-arrow { color: var(--accent); transform: translateX(3px); }

/* ─── Surface Card (generic content block) ───────────────────────── */
.surface-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.surface-card p { color: var(--ink-2); font-size: .93rem; }
.surface-card p + p { margin-top: 10px; }

/* ─── Pill Tags ──────────────────────────────────────────────────── */
.pill-row {
  display: flex; flex-wrap: wrap; gap: 7px;
  list-style: none; padding: 0;
  margin-top: 16px;
}
.pill-row li {
  background: var(--bg-warm);
  border: 1px solid var(--rule-heavy);
  border-radius: 99px;
  padding: .3rem .7rem;
  font-size: .78rem; font-weight: 500;
  color: var(--ink-2);
}

/* ─── Video / Media Card ─────────────────────────────────────────── */
.media-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .18s var(--ease);
}
.media-card:hover { border-color: var(--accent); transform: translateX(3px); }
.media-play {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: #ff0000;
  display: grid; place-items: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255,0,0,.25);
}
.media-play::before { content: "▶"; margin-left: 3px; }
.media-card strong { display: block; font-size: .9rem; font-weight: 600; }
.media-card small  { display: block; color: var(--ink-3); font-size: .78rem; margin-top: 2px; }

/* ─── Notice / Placeholder Block ────────────────────────────────── */
.notice {
  background: var(--bg-warm);
  border: 1px solid var(--rule-heavy);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .88rem;
  color: var(--ink-2);
}
.notice strong { color: var(--ink); }

/* ─── Page Hero (sub-pages) ──────────────────────────────────────── */
.page-hero {
  padding: 44px 0 38px;
  border-bottom: 1px solid var(--rule);
}
.page-hero-inner { display: grid; gap: 28px; }
.page-accent-bar {
  width: 40px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ─── Feature Image ──────────────────────────────────────────────── */
.feature-img {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--ink);
}
.feature-img img { width: 100%; }

/* ─── Two-col Text+Card ──────────────────────────────────────────── */
.split { display: grid; gap: 24px; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  background: var(--paper);
}
.footer-inner {
  display: grid;
  gap: 20px;
}
.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.footer-brand p { color: var(--ink-3); font-size: .85rem; max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-nav a {
  font-size: .84rem; font-weight: 500;
  color: var(--ink-3); text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: .76rem; color: var(--ink-3);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}

/* ─── Reveal Animation ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.reveal.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ─── Responsive: Tablet ─────────────────────────────────────────── */
@media (min-width: 680px) {
  body { font-size: 17px; }

  .nav-toggle { display: none; }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    gap: 2px;
    align-items: center;
  }
  .main-nav a {
    padding: .45rem .65rem;
    border-bottom: none;
    border-radius: 8px;
    font-size: .88rem;
  }
  .main-nav a:hover, .main-nav a[aria-current="page"] {
    background: rgba(0,0,0,.05);
  }

  .hero-inner  { grid-template-columns: 1fr 320px; align-items: start; gap: 48px; }
  .page-hero-inner { grid-template-columns: 1fr 340px; align-items: start; gap: 36px; }
  .split { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }

  .project-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-copy  { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  .hero { padding: 72px 0 60px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 60px 0 50px; }
  /* Keep project grid at 2 cols — feature full width, rest 2x2 */
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card.is-feature { grid-column: 1 / -1; flex-direction: row; }
  .project-card.is-feature .project-card-header { min-width: 320px; min-height: auto; flex: 0 0 320px; }
  .project-card.is-feature .project-card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}

/* ─── YouTube Embed ──────────────────────────────────────────────── */
.yt-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}
.yt-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lazy-load thumbnail trick: click-to-play */
.yt-facade {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: var(--shadow-md);
}
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease), opacity .3s;
}
.yt-facade:hover img { transform: scale(1.03); opacity: .85; }
.yt-facade .yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  display: grid; place-items: center;
  transition: background .2s, transform .2s var(--ease);
  z-index: 2;
}
.yt-facade:hover .yt-play-btn {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}
.yt-facade .yt-play-btn::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.yt-caption {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--ink-3);
}
.yt-caption strong { color: var(--ink-2); display: block; margin-bottom: 2px; font-size: .9rem; }

/* Video grid */
.video-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 680px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid .yt-facade-wrap.full { grid-column: 1 / -1; }
}

/* ─── Brand Wordmark (ALX | HeartWorks styling) ─────────────────── */
.brand-wordmark {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  line-height: 1.15;
  display: block;
}
.brand-alx { color: var(--ink); }
.brand-sep  { color: var(--ink-3); font-weight: 400; }
.brand-hw   { color: #c0185a; }

/* Slightly larger logo */
.brand-logo {
  width: 52px; height: 52px;
  border-radius: 13px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── Wordmark: Prevent break at pipe ───────────────────────────── */
.brand-wordmark {
  white-space: nowrap;
}

/* ─── Legal Pages ────────────────────────────────────────────────── */
.legal-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--rule);
}
.legal-body {
  padding: 40px 0 60px;
}
.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.legal-section h2 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.legal-section h3 {
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}
.legal-section p {
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.legal-section ul li {
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}
.legal-section ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}
.legal-notice {
  background: var(--bg-warm);
  border: 1px solid var(--rule-heavy);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .85rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 28px;
}
.legal-notice strong { color: var(--ink); }

/* Address block */
.legal-address {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 18px 20px;
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.9;
  display: inline-block;
  min-width: 260px;
}
.legal-address strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }

/* ─── H1 Break Control ───────────────────────────────────────────── */
/* Prevent bad breaks on narrow screens */
.page-hero h1,
.hero h1 {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
/* Allow wrapping at explicit <br> or after commas only */
@media (max-width: 480px) {
  .page-hero h1,
  .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
}
