/* ================================
   Tapestral – Design System
   ================================ */

:root {
  --bg:          #F9F7F4;
  --bg-muted:    #EDECE6;
  --bg-dark:     #0E2B1A;
  --text:        #1C3329;
  --text-muted:  #587067;
  --text-light:  #F5F3EE;
  --text-dim:    rgba(245, 243, 238, 0.60);
  --bronze:      #C4A882;
  --border:      #D6D0C7;
  --max-w:       1200px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 43, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: rgba(245, 243, 238, 0.65);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s;
}

.nav-links a:last-child { border-right: none; }
.nav-links a:hover      { color: var(--text-light); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(196, 168, 130, 0.3);
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-light);
  transform-origin: center;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 64px;
  right: 1rem;
  z-index: 99;
  background: rgba(14, 43, 26, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 168, 130, 0.2);
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open { max-height: 400px; opacity: 1; }

.mobile-nav a {
  color: rgba(245, 243, 238, 0.75);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover      { color: var(--text-light); background: rgba(255, 255, 255, 0.05); }

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

/* ── Hero (landing) ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://imagedelivery.net/a9bS_LVGRX_Wz4G6Q07rzw/ce2e7d3f-8ec3-41ef-db9b-2d8dc759f500/width=2000,fit=cover,quality=85');
  background-size: cover;
  background-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 2rem;
}

.hero-inner { max-width: 38rem; }

/* ── Page Hero (subpages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://imagedelivery.net/a9bS_LVGRX_Wz4G6Q07rzw/ce2e7d3f-8ec3-41ef-db9b-2d8dc759f500/width=2000,fit=cover,quality=85');
  background-size: cover;
  background-position: center;
}

.page-hero .hero-gradient {
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.05) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.page-title {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-light);
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.page-subtitle {
  color: rgba(245, 243, 238, 0.65);
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 32rem;
  line-height: 1.65;
}

/* ── Eyebrow ──────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.eyebrow-line {
  width: 2rem;
  height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}

.eyebrow-text {
  color: var(--bronze);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--bronze);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.5; transform: scale(1.35); }
}

/* ── Hero Typography ──────────────────────────────────────── */
.hero h1 {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: clamp(3.25rem, 7vw, 5.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero h1 em { font-style: italic; }

.hero-desc {
  color: rgba(245, 243, 238, 0.70);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: 32rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.25rem;
  transition: gap 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { gap: 1rem; }

.btn-primary { background: var(--bg); color: var(--text); }
.btn-primary:hover { background: var(--bg-muted); }

.btn-outline {
  border: 1px solid rgba(245, 243, 238, 0.35);
  color: var(--text-light);
}
.btn-outline:hover { border-color: rgba(245, 243, 238, 0.70); }

.btn-light { background: var(--bg); color: var(--text); }
.btn-light:hover { background: var(--bg-muted); }

.btn-dark { background: var(--bg-dark); color: var(--text-light); }
.btn-dark:hover { background: oklch(0.22 0.048 155); }

.btn-ghost {
  border: 1px solid rgba(245, 243, 238, 0.30);
  color: var(--text-light);
}
.btn-ghost:hover { border-color: rgba(245, 243, 238, 0.70); }

.btn svg { flex-shrink: 0; }

/* ── Sections ─────────────────────────────────────────────── */
.section      { padding: 6rem 2rem; }
.section-sm   { padding: 2.5rem 2rem; }
.bg-light     { background: var(--bg); }
.bg-muted-bg  { background: var(--bg-muted); }
.bg-dark      { background: var(--bg-dark); color: var(--text-light); }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.bg-dark .section-label { color: var(--bronze); }

.section-title {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  color: var(--text);
}

.bg-dark .section-title { color: var(--text-light); }

.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 44rem;
}

.bg-dark .section-body { color: var(--text-dim); }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar { background: var(--bg-muted); padding: 0; }

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.stat {
  padding: 1.75rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(196, 168, 130, 0.3);
}

.stat:last-child { border-bottom: none; }

.stat-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .stats-inner   { flex-direction: row; justify-content: center; }
  .stat          { border-bottom: none; border-right: 1px solid rgba(196,168,130,0.3); }
  .stat:last-child { border-right: none; }
}

/* ── Grid Cards ───────────────────────────────────────────── */
.grid-border {
  display: grid;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.bg-dark .grid-border {
  border-color: rgba(255, 255, 255, 0.10);
}

.grid-card {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.3s;
  border-left: 2px solid transparent;
}

.bg-muted-bg .grid-card  { background: var(--bg-muted); }
.bg-dark .grid-card      { background: var(--bg-dark); border-color: rgba(255,255,255,0.10); }
.grid-card:hover         { border-left-color: var(--bronze); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.bg-dark .grid-card:hover{ transform: translateY(-2px); }

.card-num {
  display: block;
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--bronze);
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.bg-dark .card-icon { color: var(--text-light); }

.card-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.bg-dark .card-title { color: var(--text-light); }

.card-body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}

.bg-dark .card-body { color: rgba(245, 243, 238, 0.50); }

.card-badge {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.card-subitems {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-subitem {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.card-subitem:last-child { padding-bottom: 0; }

.card-subitem-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.card-subitem-body {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.bg-dark .card-subitem { border-color: rgba(255,255,255,0.10); }
.bg-dark .card-subitem-label { color: var(--text-light); }
.bg-dark .card-subitem-body { color: rgba(245,243,238,0.50); }

@media (min-width: 768px) { .grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .grid-cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── Numbered List (non-bordered) ────────────────────────── */
.num-list {
  display: grid;
  gap: 3rem;
}

.num-item { display: flex; flex-direction: column; }

.num-big {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 5rem;
  line-height: 1;
  color: var(--bronze);
  margin-bottom: 1.5rem;
}

.num-rule {
  width: 2rem;
  height: 1px;
  background: var(--bronze);
  margin-bottom: 1.5rem;
}

.num-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.num-body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(28, 51, 41, 0.65);
}

@media (min-width: 768px) { .num-list { grid-template-columns: repeat(3, 1fr); } }

/* ── Split (image + text) ────────────────────────────────── */
.split {
  display: grid;
  gap: 4rem;
  align-items: stretch;
}

.split-text { display: flex; flex-direction: column; justify-content: center; }

.split-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.split-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.40), transparent);
}

.split-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.split-img-caption-rule {
  width: 1.5rem;
  height: 1px;
  background: var(--bronze);
  margin-bottom: 0.75rem;
}

.split-img-caption p {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.80);
}

@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }

/* ── Pull Quote ───────────────────────────────────────────── */
.pull-quote-block { border-left: 2px solid var(--bronze); padding-left: 1.5rem; }

.pull-quote {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

.pull-quote-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pull-quote-attr-line { width: 1.5rem; height: 1px; background: var(--border); }

.pull-quote-attr-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Bronze Rule ──────────────────────────────────────────── */
.bronze-rule { width: 3rem; height: 1px; background: var(--bronze); margin-bottom: 2rem; }
.bronze-rule-sm { width: 2rem; height: 1px; background: var(--bronze); }

/* ── Editorial Banner ─────────────────────────────────────── */
.editorial {
  position: relative;
  padding: 12rem 2rem;
  overflow: hidden;
}

.editorial-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://imagedelivery.net/a9bS_LVGRX_Wz4G6Q07rzw/ce2e7d3f-8ec3-41ef-db9b-2d8dc759f500/width=2000,fit=cover,quality=85');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
}

.editorial-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.editorial-rule {
  width: 3rem;
  height: 1px;
  background: var(--bronze);
  margin: 0 auto 2rem;
}

.editorial-content h2 {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.editorial-content h2 em { font-style: italic; }

.editorial-content p {
  color: rgba(245, 243, 238, 0.60);
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ── CTA Split ────────────────────────────────────────────── */
.cta-split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cta-text h2 {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text-light);
}

.cta-text h2 em { font-style: italic; }

.cta-text p {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px)  { .cta-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .cta-split   { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .cta-actions { flex-direction: column; align-items: flex-end; }
}

/* ── Process Steps ────────────────────────────────────────── */
.process-grid {
  display: grid;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.process-step:first-child { border-top: none; }

.process-num-circle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(196, 168, 130, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--bg);
}

.bg-muted-bg .process-num-circle { background: var(--bg-muted); }

.process-num-label {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--bronze);
}

.process-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step {
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    border-top: none;
    border-left: 1px solid var(--border);
  }

  .process-step:first-child { border-left: none; }
}

/* ── Founder Cards ────────────────────────────────────────── */
.founder-grid {
  display: grid;
  gap: 2rem;
}

.founder-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.founder-card:hover { border-color: rgba(196, 168, 130, 0.40); }

.founder-avatar {
  height: 12rem;
  background: linear-gradient(135deg, var(--bg-dark), rgba(14,43,26,0.60));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.founder-letter {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 4rem;
  line-height: 1;
  color: rgba(245, 243, 238, 0.20);
}

.founder-avatar-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(196, 168, 130, 0.30);
  transition: background 0.3s;
}

.founder-card:hover .founder-avatar-line { background: rgba(196, 168, 130, 0.60); }

.founder-body { padding: 2.5rem; }

.founder-body-rule { width: 2rem; height: 1px; background: var(--bronze); margin-bottom: 1.75rem; }

.founder-name {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.founder-role {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.5rem;
}

.founder-bio {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(28, 51, 41, 0.65);
}

@media (min-width: 768px) { .founder-grid { grid-template-columns: 1fr 1fr; } }

/* ── Form Embed ───────────────────────────────────────────── */
.form-embed {
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.form-embed iframe {
  width: 100%;
  min-height: 700px;
  border: 0;
  display: block;
}

.form-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── Blockquote ───────────────────────────────────────────── */
blockquote.styled {
  border-left: 2px solid var(--bronze);
  padding-left: 1.5rem;
}

blockquote.styled p {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

blockquote.styled footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  background: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

blockquote.styled footer::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Reveal Animation ─────────────────────────────────────── */
.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: rgba(245, 243, 238, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-light); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(245, 243, 238, 0.40);
}

/* ── Utilities ────────────────────────────────────────────── */
.text-bronze { color: var(--bronze); }
.mt-sm  { margin-top: 1.5rem; }
.mt-md  { margin-top: 2.5rem; }
.mt-lg  { margin-top: 4rem; }
.mb-sm  { margin-bottom: 1.5rem; }
.mb-md  { margin-bottom: 2.5rem; }
.mb-lg  { margin-bottom: 4rem; }
.center { text-align: center; }
.italic { font-style: italic; }
.light  { font-weight: 300; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: gap 0.2s;
}

.link-arrow:hover { gap: 1rem; }
.bg-dark .link-arrow { color: rgba(245,243,238,0.60); }
.bg-dark .link-arrow:hover { color: var(--text-light); }

/* ── Legal Document ───────────────────────────────────────── */
.legal-doc {
  max-width: 760px;
}

.legal-section {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-heading {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.legal-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-body:last-child { margin-bottom: 0; }

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.legal-list li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bronze);
}

.legal-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--bronze);
  transition: color 0.2s;
}

.legal-link:hover { color: var(--bronze); }

@media (max-width: 640px) {
  .section { padding: 4rem 1.5rem; }
  .editorial { padding: 8rem 1.5rem; }
  .hero-content { padding: 6rem 1.5rem; }
  .page-hero-content { padding: 2rem 1.5rem 4rem; }
}
