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

:root {
  /* Muted heritage-blue palette */
  --navy:        #0e2035;
  --blue-deep:   #1a3f6e;
  --blue:        #235d9b;
  --blue-mid:    #3079c0;
  --blue-light:  #6aa3d4;
  --blue-pale:   #e4eef8;
  --blue-faint:  #f2f7fc;

  /* Paper / editorial warmth */
  --paper:       #f7f5f0;
  --paper-dark:  #ede9e1;
  --white:       #ffffff;

  /* Text */
  --ink:         #1c2b3a;
  --ink-mid:     #3d5165;
  --ink-light:   #637083;

  /* Decorative accent */
  --gold:        #b8882a;
  --gold-light:  #d4a84a;

  /* Utility */
  --border:      #ccdaeb;
  --shadow-sm:   0 1px 4px rgba(14,32,53,.08);
  --shadow-md:   0 4px 16px rgba(14,32,53,.1);
  --shadow-lg:   0 8px 32px rgba(14,32,53,.12);

  --font:        'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --nav-h:       60px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p  { margin-bottom: 1.1rem; }

.lead {
  font-size: 1.1rem;
  color: var(--ink-mid);
  line-height: 1.8;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  display: block;
  margin-bottom: .6rem;
}

/* ─── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--blue-deep);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-brand::before {
  content: '✦';
  color: var(--gold-light);
  font-size: .8rem;
}
.nav-brand:hover { color: var(--blue-light); text-decoration: none; }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: .45rem 1rem;
  color: #b8cfe8;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-bottom-color: var(--gold-light);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #b8cfe8;
  margin: 5px 0;
  transition: .25s;
}

/* ─── Photo Hero (editorial / kloosterman-style) ──────────────*/
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/charles-bell-tafelbaai.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: saturate(.8) brightness(.38);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-text { color: #fff; }

.hero-text .eyebrow {
  color: var(--gold-light);
  font-size: .7rem;
  letter-spacing: .22em;
}

.hero-text h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-text .lead {
  color: #b8cfe8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0;
  border-radius: 2px;
}

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

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.hero-card .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hero-stat { text-align: center; padding: .75rem; }
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}
.hero-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8ab0d4;
}

.hero-caption {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: .65rem;
  color: rgba(255,255,255,.35);
  z-index: 1;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .18s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-mid);
  color: #fff;
  border-color: var(--blue-mid);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  color: #fff;
  text-decoration: none;
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}
.btn-outline-dark:hover {
  background: var(--blue-mid);
  color: #fff;
  text-decoration: none;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section         { padding: 5rem 0; }
.section-sm      { padding: 3rem 0; }
.section-white   { background: var(--white); }
.section-paper   { background: var(--paper); }
.section-surface { background: var(--paper-dark); }
.section-navy    { background: var(--navy); }
.section-blue    { background: var(--blue-deep); }

/* ─── Section headers ───────────────────────────────────────── */
.section-heading {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-heading h2 { margin-bottom: .6rem; }
.section-heading p  { color: var(--ink-mid); }

.ruled-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.ruled-title h2 { margin: 0; }
.ruled-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Split sections (editorial image + text) ───────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split-img {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-img figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(14,32,53,.7));
  color: rgba(255,255,255,.75);
  font-size: .68rem;
  padding: 1.5rem .9rem .6rem;
  line-height: 1.4;
}
.split-img figcaption a { color: rgba(255,255,255,.6); }

.split-body {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-body h2 { margin-bottom: .75rem; }
.split-body p   { color: var(--ink-mid); margin-bottom: 1rem; }

/* ─── Timeline ──────────────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 1.75rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-mid), var(--border));
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: .4rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue-mid);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--blue-mid);
}
.timeline-year {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}
.timeline-item h3 { margin-bottom: .35rem; font-size: 1rem; }
.timeline-item p  { font-size: .9rem; color: var(--ink-mid); margin: 0; }

/* ─── Cards ─────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.25rem 1.5rem; }
.card-body h3 { color: var(--navy); margin-bottom: .5rem; font-size: 1rem; }
.card-body p  { color: var(--ink-mid); font-size: .9rem; margin-bottom: 1rem; }

/* ─── Family tree ───────────────────────────────────────────── */
.family-tree {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.tree-root {
  border-left: 4px solid var(--blue-mid);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.tree-children {
  list-style: none;
  padding-left: 2rem;
  border-left: 2px dashed var(--border);
  margin-left: 1rem;
}
.tree-children li {
  position: relative;
  padding: .5rem 0 .5rem 1.5rem;
  border-bottom: 1px solid var(--paper-dark);
}
.tree-children li::before {
  content: '↳';
  position: absolute;
  left: 0;
  color: var(--blue-mid);
}
.tree-children li:last-child { border-bottom: none; }
.person-name   { font-weight: 700; color: var(--navy); }
.person-dates  { font-size: .82rem; color: var(--ink-light); margin-left: .4rem; }
.person-spouse { font-size: .88rem; color: var(--ink-mid); margin-top: .15rem; }

/* ─── Callout / quote ───────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--blue-mid);
  background: var(--blue-faint);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
  color: var(--ink-mid);
  font-size: .96rem;
}
.callout cite {
  display: block;
  margin-top: .6rem;
  font-style: normal;
  font-size: .78rem;
  color: var(--blue-mid);
  font-weight: 700;
  letter-spacing: .04em;
}

.pull-quote {
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}
.pull-quote cite {
  display: block;
  margin-top: .6rem;
  font-weight: 400;
  font-size: .78rem;
  color: var(--ink-light);
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ─── Table ─────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  overflow: hidden;
}
.data-table th {
  background: var(--navy);
  color: var(--blue-light);
  padding: .7rem 1rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.data-table td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--paper-dark);
  color: var(--ink-mid);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--blue-faint); }

/* ─── Document rows ─────────────────────────────────────────── */
.bylaag-section { margin-bottom: 2.5rem; }
.bylaag-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  background: var(--navy);
  color: var(--blue-light);
  border-radius: 6px 6px 0 0;
}
.bylaag-header h3 { color: var(--blue-light); margin: 0; font-size: .9rem; letter-spacing: .04em; }
.bylaag-letter {
  background: var(--blue-mid);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  width: 1.9rem; height: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.bylaag-body {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  background: var(--white);
}
.doc-row {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--paper-dark);
  transition: background .15s;
}
.doc-row:last-child { border-bottom: none; }
.doc-row:hover { background: var(--blue-faint); }
.doc-row-icon { font-size: 1.15rem; flex-shrink: 0; padding-top: .1rem; }
.doc-row-info { flex: 1; }
.doc-row-info strong { display: block; color: var(--navy); font-size: .88rem; font-weight: 600; }
.doc-row-info span   { font-size: .76rem; color: var(--ink-light); }
.doc-row-action { flex-shrink: 0; align-self: center; }
.doc-row-action a {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  color: var(--blue-mid);
  border: 1.5px solid var(--blue-mid);
  border-radius: 3px;
  padding: .22rem .6rem;
  white-space: nowrap;
  transition: .15s;
  display: inline-block;
}
.doc-row-action a:hover {
  background: var(--blue-mid);
  color: #fff;
  text-decoration: none;
}

/* ─── Gallery ───────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-card img   { width: 100%; height: 220px; object-fit: cover; cursor: zoom-in; }
.gallery-card-body  { padding: 1rem 1.25rem; }
.gallery-card-body h3  { font-size: .93rem; color: var(--navy); margin-bottom: .3rem; }
.gallery-card-body p   { font-size: .82rem; color: var(--ink-mid); margin-bottom: .5rem; line-height: 1.55; }
.gallery-card-body .credit { font-size: .68rem; color: #94a3b8; border-top: 1px solid var(--paper-dark); padding-top: .5rem; margin-top: .5rem; }
.gallery-card-body .credit a { color: var(--blue-mid); font-size: .68rem; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,20,36,.94);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img  { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 48px rgba(0,0,0,.6); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem;
  font-size: 2rem; color: #fff; cursor: pointer;
  background: none; border: none; line-height: 1; opacity: .7;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: #8ab0d4; font-size: .8rem; text-align: center; max-width: 600px;
}

/* ─── Stats strip ───────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--blue-deep);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat { background: var(--navy); padding: 1.75rem 1rem; text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--gold-light); line-height: 1; display: block; margin-bottom: .4rem; }
.stat-label  { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7a9bbf; }

/* ─── Page header ───────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, transparent 60%);
  opacity: .6;
}
.page-header h1 { color: #fff; position: relative; margin-bottom: .5rem; }
.page-header p  { color: #7a9bbf; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; position: relative; }

/* ─── Prose ─────────────────────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}
.prose h3 { margin-top: 1.75rem; margin-bottom: .4rem; color: var(--blue-deep); }

/* ─── Figure / image caption ────────────────────────────────── */
.editorial-figure {
  margin: 2rem 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.editorial-figure img { width: 100%; display: block; }
.editorial-figure figcaption {
  background: var(--navy);
  color: #7a9bbf;
  font-size: .72rem;
  padding: .55rem 1rem;
  line-height: 1.5;
}
.editorial-figure figcaption a { color: var(--blue-light); }

/* ─── Name variant tags ─────────────────────────────────────── */
.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .5rem;
  margin-top: .75rem;
}
.variant-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .4rem .75rem;
  font-size: .85rem;
  color: var(--ink-mid);
  text-align: center;
}
.variant-tag.original {
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  background: #fffbf0;
}

/* ─── Gen badge ─────────────────────────────────────────────── */
.gen-badge {
  background: var(--navy);
  color: var(--blue-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 20px;
  white-space: nowrap;
}
.gen-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.gen-header h3 { margin: 0; }

/* ─── Contact form ──────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: .93rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .18s, box-shadow .18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(48,121,192,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%;
  padding: .8rem;
  background: var(--navy);
  color: var(--blue-light);
  border: none;
  border-radius: 4px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .18s;
}
.form-submit:hover { background: var(--blue); color: #fff; }

.info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.info-block h3    { color: var(--navy); margin-bottom: .6rem; font-size: .95rem; }
.info-block p     { font-size: .88rem; color: var(--ink-mid); margin-bottom: .5rem; }
.info-block p:last-child { margin: 0; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #07111e;
  color: #4a6580;
  padding: 3rem 0 2rem;
  font-size: .83rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: .4rem;
  letter-spacing: .05em;
}
.footer-brand::before { content: '✦ '; color: var(--gold); font-size: .8rem; }
.footer-tagline { font-size: .78rem; color: #3d5a73; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .75rem;
  justify-content: center;
}
.footer-links a { color: #4a6580; font-size: .78rem; }
.footer-links a:hover { color: var(--blue-light); text-decoration: none; }
.footer-copy { text-align: right; font-size: .72rem; color: #2d4255; line-height: 1.7; }
.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 1rem 2rem 0;
  border-top: 1px solid #0f1e2e;
  text-align: center;
  font-size: .7rem;
  color: #2d4255;
}

/* ─── Ornamental ────────────────────────────────────────────── */
.ornamental-line {
  display: flex; align-items: center; gap: 1rem;
  margin: .75rem 0 2rem; justify-content: center;
}
.ornamental-line::before,
.ornamental-line::after {
  content: ''; flex: 1; max-width: 100px;
  height: 1px; background: var(--border);
}
.ornamental-line span { color: var(--gold); font-size: .85rem; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-body { padding: 2.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy); padding: .75rem; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-bottom: none; border-top: 1px solid rgba(255,255,255,.06); padding: .7rem 1rem; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 360px; }
  .hero-text h1 { font-size: 1.9rem; }
  .container, .container-narrow { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
}
