/* APT-KIDNEY — global styles */

/* ═══════════════════════════════════════════════════════
   APT-KIDNEY — Design system
   Editorial / academic. Navy + oxblood + warm gold.
   ═══════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --navy: #0d2137;
  --navy-2: #1a3550;
  --navy-3: #28465f;
  --burgundy: #6e1f2a;
  --burgundy-2: #8a2935;
  --burgundy-soft: rgba(110, 31, 42, 0.07);
  --burgundy-line: rgba(110, 31, 42, 0.18);
  --gold: #c49a3c;
  --gold-2: #b88a2a;
  --gold-soft: rgba(196, 154, 60, 0.13);
  --teal: #2a6960;
  --bg: #f7f6f3;
  --bg-card: #ffffff;
  --bg-elev: #fbfaf6;
  --bg-deep: #ede9df;
  --ink: #1a1a1a;
  --ink-soft: #44423e;
  --ink-mute: #7a7570;
  --rule: #e0dccf;
  --rule-soft: #ece9e0;
  --on-dark: #f4efe2;
  --on-dark-mute: #b8b0a0;

  /* Layout */
  --maxw: 1240px;
  --maxw-tight: 920px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Type */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Effects */
  --shadow-card: 0 1px 2px rgba(13, 33, 55, 0.05), 0 12px 32px rgba(13, 33, 55, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(13, 33, 55, 0.06), 0 20px 48px rgba(13, 33, 55, 0.10);
  --rad: 4px;
  --rad-lg: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}



a { color: var(--burgundy); text-decoration: none; transition: color 0.15s, border-color 0.15s; }
a:hover { color: var(--navy); }

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

/* ═══ Typography ═══ */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.012em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-weight: 600;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 62ch;
}

p { color: var(--ink-soft); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.small { font-size: 0.88rem; color: var(--ink-mute); }
.mono  { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.86em; }

::selection { background: var(--gold-soft); color: var(--navy); }

/* ═══ Layout primitives ═══ */

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

section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
section + section { border-top: 1px solid var(--rule-soft); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-top: 1rem; }

/* ═══ Buttons & links ═══ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--rad);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--on-dark);
}

.btn .arrow { transition: transform 0.18s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--burgundy);
  border-bottom: 1px solid var(--burgundy-line);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s;
}
.link-arrow:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.link-arrow .arrow { transition: transform 0.18s; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ═══ Pills & tags ═══ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
  color: var(--ink-soft);
}
.pill.active {
  background: var(--gold-soft);
  color: var(--burgundy);
  border-color: var(--gold);
}
.pill.planned {
  background: var(--bg-deep);
  color: var(--ink-soft);
}
.pill.recruiting {
  background: var(--gold-soft);
  color: var(--burgundy);
  border-color: rgba(196, 154, 60, 0.5);
}
.pill.recruiting::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 0 0 0 rgba(110, 31, 42, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(110, 31, 42, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(110, 31, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 31, 42, 0); }
}

/* ═══ Header / nav ═══ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 30px;
  width: auto;
}
.brand-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  transition: all 0.15s;
}
.nav a:hover {
  color: var(--navy);
  border-color: var(--burgundy);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 2px;
  background: var(--bg-card);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  color: var(--ink-mute);
  transition: all 0.15s;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.lang-toggle button.active {
  background: var(--navy);
  color: var(--on-dark);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 880px) {
  .nav a:not(.lang-toggle a) { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter); border-bottom: 1px solid var(--rule); gap: 0; }
  .nav.open a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--rule-soft); }
}

/* ═══ Hero ═══ */

.hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 .accent {
  color: var(--burgundy);
  font-style: italic;
  font-weight: 500;
}

.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.86rem;
}
.hero-meta dt {
  color: var(--ink-mute);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.hero-meta dd { color: var(--navy); font-weight: 500; }

.hero-stat-card {
  background: var(--bg-card);
  color: var(--ink);
  padding: 1.75rem;
  border-radius: var(--rad-lg);
  border: 1px solid var(--rule);
  position: relative;
}
.hero-stat-card h4 {
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-soft);
}
.hero-stat-list { list-style: none; }
.hero-stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero-stat-list li:last-child { border-bottom: none; }
.hero-stat-list .val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ═══ Two-path split ═══ */

.split {
  background: var(--navy);
  color: var(--on-dark);
  padding: 0;
  border-top: none !important;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 760px) { .split-grid { grid-template-columns: 1fr; } }

.split-card {
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.split-card:first-child { border-right: 1px solid rgba(244, 239, 226, 0.08); }
@media (max-width: 760px) {
  .split-card:first-child { border-right: none; border-bottom: 1px solid rgba(244, 239, 226, 0.08); }
}

.split-card .eyebrow {
  color: var(--on-dark-mute);
  margin-bottom: 0.6rem;
}

.split-card h2 {
  color: var(--on-dark);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  margin-bottom: 0.75rem;
}
.split-card p { color: var(--on-dark-mute); margin-bottom: 1.25rem; max-width: 42ch; font-size: 0.95rem; }

.split-card .link-arrow {
  color: var(--on-dark);
  border-color: rgba(244, 239, 226, 0.25);
}

.split-num { display: none; }

/* ═══ Pillars (overview) ═══ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  background: var(--bg-card);
  overflow: hidden;
}
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--rule-soft);
  position: relative;
}
.pillar:last-child { border-right: none; }
@media (max-width: 800px) {
  .pillar { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .pillar:last-child { border-bottom: none; }
}

.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.pillar h3 { margin-bottom: 0.7rem; }
.pillar p { font-size: 0.95rem; line-height: 1.6; }

/* ═══ Long-form / quote block ═══ */

.platform-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .platform-grid { grid-template-columns: 1fr; } }

.platform-prose p {
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

.factsheet {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--burgundy);
  padding: 1.75rem 1.75rem;
  border-radius: 0 var(--rad-lg) var(--rad-lg) 0;
  font-size: 0.92rem;
}
.factsheet h4 {
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.factsheet dl { display: grid; gap: 0.85rem; }
.factsheet dt { color: var(--ink-mute); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.15rem; }
.factsheet dd { color: var(--navy); font-weight: 500; line-height: 1.4; }

/* ═══ Domain cards ═══ */

.domains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 900px) { .domains-grid { grid-template-columns: 1fr; } }

.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.domain-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--rule);
}

.domain-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.domain-card-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.domain-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.domain-card .domain-full {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.domain-card .domain-desc {
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.domain-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 1.5rem;
}
.domain-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.15rem;
}
.domain-meta dd {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}

/* ═══ Live recruitment counter ═══ */

.counter-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.counter-headline {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .counter-headline { grid-template-columns: 1fr; gap: 1.5rem; } }

.counter-updated {
  text-align: right;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.counter-updated .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (max-width: 800px) { .counter-updated { text-align: left; } }

.counter-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .counter-totals { grid-template-columns: 1fr; } }

.counter-total {
  background: var(--bg-card);
  padding: 2rem;
}
.counter-total .label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.counter-total .num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.counter-total .num .of {
  font-size: 0.45em;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-mute);
  margin-left: 0.25rem;
}
.counter-total .sub {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.counter-domains {
  display: grid;
  gap: 1rem;
}
.counter-domain {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr 100px;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 760px) {
  .counter-domain { grid-template-columns: 1fr; gap: 0.75rem; }
}

.counter-domain-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}
.counter-domain-name .full {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-style: normal;
  margin-top: 2px;
}

.progress-bar {
  height: 8px;
  background: var(--rule-soft);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy), var(--burgundy-2));
  border-radius: 100px;
  width: 0%;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}
.progress-label .num {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
}

.counter-domain-status {
  text-align: right;
  font-family: var(--sans);
  font-size: 0.82rem;
}
@media (max-width: 760px) { .counter-domain-status { text-align: left; } }

/* ═══ News / updates ═══ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.news-item:hover {
  border-color: var(--rule);
}

/* ═══ Domain card icon ═══ */

.domain-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.news-cat {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--burgundy);
  font-size: 0.72rem;
}
.news-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.news-item p {
  font-size: 0.93rem;
  flex-grow: 1;
}

.news-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-mute);
  font-style: italic;
  border: 1px dashed var(--rule);
  border-radius: var(--rad-lg);
}

/* ═══ Footer ═══ */

.footer {
  background: var(--navy);
  color: var(--on-dark-mute);
  padding: 4rem 0 2rem;
}
.footer a { color: var(--on-dark); border-bottom: 1px solid transparent; }
.footer a:hover { color: var(--gold); border-color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 239, 226, 0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  color: var(--on-dark-mute);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; }
.footer li { padding: 0.4rem 0; font-size: 0.92rem; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--on-dark-mute);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 32ch;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--on-dark-mute);
}

/* ═══ Reveal animation on scroll ═══ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

html[lang="da"] .lang-en, html[lang="en"] .lang-da { display: none !important; }
