/* =============================================================
   AAG CAPITAL HOLDING — Master Stylesheet  v2.0
   1500 K Street NW, Washington, DC 20005, USA
   Mirrors KonectSystems design system with gold-accented variant
   ============================================================= */

:root {
  --ink: #0A0F1E;
  --ink-80: #1A2238;
  --ink-60: #2D3A52;
  --ink-40: #64748B;
  --ink-20: #94A3B8;
  --rule: #E2E8F0;
  --rule-light: #F1F5F9;
  --page: #FAFBFC;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --gold: #B8860B;
  --gold-dark: #8B6508;
  --gold-light: #FFF8E7;
  --gold-rule: #E5D5A8;
  --accent: #1E3A8A;
  --accent-mid: #2563EB;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --max-width: 1280px;
  --content-width: 1080px;
  --narrow-width: 780px;
  --nav-height: 72px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--page); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ========== NAVIGATION ========== */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--s6); position: relative;
}
.nav-brand {
  display: flex; align-items: center; gap: var(--s3);
  text-decoration: none; flex-shrink: 0; flex-grow: 0; z-index: 2;
}
.nav-brand img { height: 32px; width: auto; display: block; }
.nav-brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
  border-left: 1px solid var(--rule); padding-left: var(--s3);
}
.nav-brand-text .brand-name {
  font-weight: 600; font-size: 12px; color: var(--ink); letter-spacing: 0.06em;
  font-family: var(--font-mono); text-transform: uppercase;
}
.nav-brand-text .brand-sub {
  font-size: 9px; color: var(--ink-40); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-family: var(--font-mono); margin-top: 3px;
}

.nav-links {
  display: flex; align-items: center; gap: clamp(10px, 1.1vw, 22px);
  list-style: none; flex-wrap: nowrap;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); white-space: nowrap; z-index: 1;
}
.nav-links a {
  font-size: 13px; color: var(--ink-60); font-weight: 500;
  transition: color 0.15s; letter-spacing: -0.005em;
  white-space: nowrap; text-decoration: none;
  position: relative; padding: 8px 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 18px; height: 2px;
  background: var(--gold);
}

.nav-right {
  display: flex; align-items: center; gap: var(--s4);
  flex-shrink: 0; flex-grow: 0; z-index: 2;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--ink); color: var(--white);
  padding: 10px 18px; border-radius: 6px;
  font-size: 13px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }

.nav-mobile-toggle { display: none; padding: 8px; border-radius: 6px; }
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 4px 0; transition: 0.2s;
}

/* MOBILE MENU — hidden by default everywhere */
.nav-mobile-menu {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: var(--s5) var(--s6);
  z-index: 99;
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.06);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { list-style: none; }
.nav-mobile-menu ul li { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.nav-mobile-menu ul li:last-child { border-bottom: none; }
.nav-mobile-menu ul li a {
  font-size: 15px; color: var(--ink); font-weight: 500; display: block;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-serif); color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.15;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 400; }
h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 400; }
h3 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 400; }
h4 { font-size: clamp(18px, 2vw, 24px); font-weight: 400; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--gold-dark); text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: var(--s4); display: block;
}
.eyebrow-light { color: var(--gold); opacity: 0.95; }
.lede {
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55;
  color: var(--ink-60); max-width: 720px; font-weight: 400;
}
p { margin-bottom: var(--s4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
blockquote {
  border-left: 3px solid var(--gold);
  padding-left: var(--s5); margin: var(--s6) 0;
  font-family: var(--font-serif); font-size: 22px;
  line-height: 1.4; color: var(--ink);
}

/* ========== LAYOUT ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--s6); }
.container-narrow { max-width: var(--narrow-width); margin: 0 auto; padding: 0 var(--s6); }
.container-content { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--s6); }
section { padding: var(--s10) 0; }
section.section-compact { padding: var(--s9) 0; }
section.section-tight { padding: var(--s8) 0; }
section.section-dark { background: var(--ink); color: var(--white); }
section.section-dark h1, section.section-dark h2,
section.section-dark h3, section.section-dark h4 { color: var(--white); }
section.section-dark .lede, section.section-dark p { color: rgba(255, 255, 255, 0.78); }
section.section-dark .eyebrow { color: var(--gold); }
section.section-light { background: var(--rule-light); }
section.section-cream {
  background: var(--gold-light);
  border-top: 1px solid var(--gold-rule);
  border-bottom: 1px solid var(--gold-rule);
}

/* ========== HERO ========== */
.hero {
  background: var(--ink); color: var(--white);
  padding: calc(var(--nav-height) + var(--s9)) 0 var(--s9);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(184, 134, 11, 0.10), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(30, 58, 138, 0.15), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 var(--s6);
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--s9); align-items: center; min-height: 480px;
  position: relative; z-index: 1;
}
.hero-content h1 { color: var(--white); margin-bottom: var(--s5); }
.hero-content h1 .gold-accent { color: var(--gold); font-style: italic; }
.hero-content .hero-manifesto {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: var(--s6) 0;
  padding: var(--s5) 0 var(--s5) var(--s5);
  border-left: 2px solid var(--gold);
}
.hero-content p.lede { color: rgba(255, 255, 255, 0.7); margin-bottom: var(--s6); }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s6); }

/* hero-visual: real image */
.hero-visual {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1E3A8A 0%, #0A0F1E 100%);
  box-shadow: 0 24px 60px -16px rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(184, 134, 11, 0.18);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(10, 15, 30, 0.35) 100%),
    radial-gradient(ellipse at bottom right, rgba(184, 134, 11, 0.10), transparent 60%);
  pointer-events: none;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: var(--s3);
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  border-radius: 6px; transition: all 0.15s ease;
  letter-spacing: 0.01em; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--gold); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold); color: var(--gold);
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-outline {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--gold); }
.btn-arrow::after { content: '→'; margin-left: 4px; transition: transform 0.15s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ========== METRICS BAND ========== */
.metrics-band {
  background: var(--ink); padding: var(--s8) 0;
  border-top: 1px solid rgba(184, 134, 11, 0.3);
  border-bottom: 1px solid rgba(184, 134, 11, 0.3);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s7); max-width: var(--content-width);
  margin: 0 auto; padding: 0 var(--s6);
}
.metric-item { text-align: left; }
.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; color: var(--gold);
  margin-bottom: var(--s2); font-weight: 400;
}
.metric-label {
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.12em;
  font-family: var(--font-mono);
}
.metric-desc { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }

/* ========== SECTION HEADERS ========== */
.section-header { max-width: 780px; margin-bottom: var(--s8); }
.section-header h2 { margin-bottom: var(--s5); }
.section-header p { font-size: 18px; line-height: 1.55; color: var(--ink-60); }

/* ========== TWO COLUMN ========== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s9); align-items: center; margin-bottom: var(--s9);
}
.two-col:last-child { margin-bottom: 0; }
.two-col-visual {
  aspect-ratio: 4/3; border-radius: 10px;
  background: linear-gradient(135deg, #1E3A8A 0%, #0A0F1E 100%);
  overflow: hidden; border: 1px solid var(--gold-rule);
}
.two-col-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ========== PILLAR GRID ========== */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.pillar-card {
  padding: var(--s7) var(--s6);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  border-radius: 4px; transition: all 0.2s;
}
.pillar-card:hover {
  border-top-color: var(--gold-dark);
  box-shadow: 0 12px 32px rgba(10, 15, 30, 0.08);
  transform: translateY(-3px);
}
.pillar-card .pillar-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold-dark); font-weight: 600;
  margin-bottom: var(--s4); display: block; letter-spacing: 0.16em;
}
.pillar-card h4 {
  margin-bottom: var(--s4); font-family: var(--font-serif);
  font-weight: 400; font-size: 26px;
  letter-spacing: -0.01em; line-height: 1.2;
}
.pillar-card p { font-size: 15px; line-height: 1.6; color: var(--ink-60); }
.pillar-card ul {
  list-style: none; margin-top: var(--s4);
  padding-top: var(--s4); border-top: 1px solid var(--rule);
}
.pillar-card ul li {
  font-size: 13px; color: var(--ink-60); padding: 4px 0;
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.pillar-card ul li::before { content: '— '; color: var(--gold); }

/* ========== PORTFOLIO CARDS ========== */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); }
.portfolio-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 6px; overflow: hidden; transition: all 0.2s;
  display: flex; flex-direction: column;
}
.portfolio-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.08);
}
.portfolio-card-header {
  background: var(--ink); color: var(--white);
  padding: var(--s7) var(--s6) var(--s6);
  border-bottom: 3px solid var(--gold); position: relative;
}
.portfolio-card-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent-mid));
}
.portfolio-card-header .portco-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--gold); letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: var(--s4); display: block;
}
.portfolio-card-header h3 { color: var(--white); font-size: 32px; margin-bottom: var(--s2); }
.portfolio-card-header .portco-product {
  font-family: var(--font-serif); color: var(--gold);
  font-style: italic; font-size: 18px;
}
.portfolio-card-body { padding: var(--s6); flex-grow: 1; }
.portfolio-card-body p { font-size: 15px; color: var(--ink-60); line-height: 1.6; }
.portfolio-card-body .meta-grid {
  margin-top: var(--s5); padding-top: var(--s5);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4);
}
.portfolio-card-body .meta-item {
  font-size: 12px; color: var(--ink-40);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.portfolio-card-body .meta-item strong {
  display: block; color: var(--ink); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 2px; font-weight: 600;
}
.portfolio-card-footer {
  padding: var(--s5) var(--s6); border-top: 1px solid var(--rule);
  background: var(--rule-light);
  display: flex; justify-content: space-between; align-items: center;
}
.portfolio-card-footer .stake {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-60); letter-spacing: 0.06em;
}
.portfolio-card-footer .stake strong { color: var(--gold-dark); font-size: 12px; }
.portfolio-card-footer a {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.portfolio-card-footer a:hover { color: var(--gold-dark); }
.portfolio-card-footer a::after { content: ' →'; transition: transform 0.15s; }

/* ========== PRINCIPLE LIST ========== */
.principle-list {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--rule);
}
.principle-item {
  display: grid; grid-template-columns: 80px 1fr 2fr;
  gap: var(--s6); padding: var(--s7) 0;
  border-bottom: 1px solid var(--rule); align-items: start;
}
.principle-item .num {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--gold-dark); letter-spacing: 0.1em;
  padding-top: 8px; font-weight: 600;
}
.principle-item h4 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 0; }
.principle-item p { font-size: 16px; line-height: 1.6; color: var(--ink-60); }

/* ========== LEADERSHIP ========== */
.leadership-card {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: var(--s8); align-items: start;
}
.leader-portrait {
  aspect-ratio: 3/4; border-radius: 4px;
  background: linear-gradient(155deg, #1A2238 0%, #0A0F1E 100%);
  border: 1px solid var(--gold-rule); overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.18);
  position: relative;
}
.leader-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.leader-portrait::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10, 15, 30, 0.30) 100%),
    radial-gradient(ellipse at top, rgba(184, 134, 11, 0.10), transparent 60%);
  pointer-events: none;
}
/* Legacy initials fallback (kept in case a future page uses it) */
.leader-portrait .initials {
  font-family: var(--font-serif);
  font-size: 120px;
  color: var(--gold);
  letter-spacing: -0.04em;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.leader-content .leader-name {
  font-family: var(--font-serif); font-size: 48px;
  margin-bottom: var(--s2); line-height: 1.1;
}
.leader-content .leader-role {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--gold-dark); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: var(--s5);
  display: block; font-weight: 600;
}
.leader-content .leader-bio p {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-60); margin-bottom: var(--s4);
}
.leader-content .leader-bio p:first-child {
  font-size: 18px; color: var(--ink); font-weight: 400;
}
.leader-meta {
  margin-top: var(--s5); padding-top: var(--s5);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4);
}
.leader-meta-item {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-60); letter-spacing: 0.04em;
}
.leader-meta-item strong {
  display: block; font-size: 10px;
  color: var(--ink-40); text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 4px; font-weight: 600;
}

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s9); }
.contact-info { border-top: 3px solid var(--gold); padding-top: var(--s6); }
.contact-info h3 { margin-bottom: var(--s5); }
.contact-info .contact-block {
  margin-bottom: var(--s6); padding-bottom: var(--s6);
  border-bottom: 1px solid var(--rule);
}
.contact-info .contact-block:last-child {
  border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}
.contact-info .contact-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-40); text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: var(--s2);
  display: block; font-weight: 600;
}
.contact-info .contact-value {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--ink); line-height: 1.3;
}
.contact-info .contact-value a {
  color: var(--ink); border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.contact-info .contact-value a:hover { border-bottom-color: var(--gold); }

.inquiry-form {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 6px; padding: var(--s7);
}
.form-tabs {
  display: flex; gap: 0; margin-bottom: var(--s6);
  border-bottom: 1px solid var(--rule); flex-wrap: wrap;
}
.form-tab {
  font-family: var(--font-mono); font-size: 11px;
  padding: var(--s4) var(--s5); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-40); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s; font-weight: 600; margin-bottom: -1px;
}
.form-tab:hover { color: var(--ink); }
.form-tab.active { color: var(--ink); border-bottom-color: var(--gold); }
.form-panel { display: none; }
.form-panel.active { display: block; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s5); margin-bottom: var(--s5);
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-40); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-sans); font-size: 14px;
  padding: 12px 14px; border: 1px solid var(--rule);
  border-radius: 4px; background: var(--white); color: var(--ink);
  transition: border-color 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-confirm {
  display: none; margin-top: var(--s4);
  padding: var(--s4); background: var(--gold-light);
  border: 1px solid var(--gold-rule); border-radius: 4px;
  font-size: 14px; color: var(--ink);
}

/* ========== HOLDING DIAGRAM ========== */
.holding-diagram {
  background: var(--white); border: 1px solid var(--rule);
  padding: var(--s7); border-radius: 6px;
  box-shadow: 0 8px 32px rgba(10, 15, 30, 0.04);
}
.holding-parent {
  text-align: center; padding-bottom: var(--s5);
  border-bottom: 1px solid var(--rule);
}
.holding-parent .parent-mark {
  font-family: var(--font-serif); font-size: 42px;
  color: var(--ink); line-height: 1.1; margin-bottom: 8px;
}
.holding-parent .parent-mark .gold-dot { color: var(--gold); }
.holding-parent .parent-sub {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-40); letter-spacing: 0.16em;
  text-transform: uppercase;
}
.holding-link {
  display: flex; justify-content: center; align-items: center;
  height: 40px; margin: var(--s4) 0;
}
.holding-link::before { content: ''; width: 2px; height: 100%; background: var(--gold); }
.holding-children { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.holding-child {
  padding: var(--s5); border: 1px solid var(--gold-rule); border-radius: 4px;
}
.holding-child.primary { background: var(--gold-light); }
.holding-child.secondary { background: var(--rule-light); border-color: var(--rule); }
.holding-child .child-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: var(--s3); font-weight: 600;
}
.holding-child.primary .child-tag { color: var(--gold-dark); }
.holding-child.secondary .child-tag { color: var(--ink-40); }
.holding-child .child-name {
  font-family: var(--font-serif); font-size: 26px;
  color: var(--ink); line-height: 1.2; margin-bottom: var(--s2);
}
.holding-child .child-meta { font-size: 13px; color: var(--ink-60); }
.holding-child .child-meta-sub { font-size: 12px; color: var(--ink-40); margin-top: 4px; }

/* ========== FOOTER ========== */
footer.site-footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.65);
  padding: var(--s9) 0 var(--s6);
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s7);
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 var(--s6);
}
.footer-brand { max-width: 360px; }
.footer-brand .footer-logo {
  font-family: var(--font-serif); font-size: 28px;
  color: var(--white); margin-bottom: var(--s4);
  letter-spacing: -0.02em;
}
.footer-brand .footer-logo .gold-dot { color: var(--gold); }
.footer-brand p {
  font-size: 14px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: var(--s5);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--s3); }
.footer-col ul li a {
  font-size: 14px; color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width); margin: var(--s8) auto 0;
  padding: var(--s5) var(--s6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono); letter-spacing: 0.06em;
}
.footer-bottom-links { display: flex; gap: var(--s5); }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.4); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ========== CTA BLOCK ========== */
.cta-block {
  background: var(--ink); color: var(--white);
  padding: var(--s9) var(--s8); border-radius: 6px;
  text-align: center; border: 1px solid var(--gold-rule);
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(184, 134, 11, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: var(--white); margin-bottom: var(--s5); }
.cta-block p {
  font-size: 18px; color: rgba(255, 255, 255, 0.8);
  max-width: 640px; margin: 0 auto var(--s6); line-height: 1.55;
}

/* ========== THESIS DETAIL ========== */
.thesis-detail {
  border-top: 1px solid var(--rule);
  padding-top: var(--s7); margin-top: var(--s7);
}
.thesis-detail h3 { margin-bottom: var(--s5); }
.thesis-detail .thesis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.thesis-detail .thesis-block {
  padding: var(--s6); background: var(--white);
  border: 1px solid var(--rule); border-left: 3px solid var(--gold);
}
.thesis-detail .thesis-block h4 {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 16px; margin-bottom: var(--s3);
}
.thesis-detail .thesis-block p { font-size: 14px; color: var(--ink-60); line-height: 1.6; }

/* ========== UTILITY ========== */
.gold-dot { color: var(--gold); }

/* ========== BUILDING CARD (about page headquarters) ========== */
.building-card {
  background: var(--white);
  border: 1px solid var(--gold-rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 15, 30, 0.10);
}
.building-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
}
.building-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.building-card-body {
  padding: var(--s7);
}
.building-card-address {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--s5);
}
.building-card-meta {
  border-top: 1px solid var(--rule);
  padding-top: var(--s5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.building-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}
.building-card-value {
  font-size: 14px;
}
.building-card-value a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  transition: color 0.15s;
}
.building-card-value a:hover {
  color: var(--gold-dark);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-brand-text { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--s7); }
  .two-col { grid-template-columns: 1fr; gap: var(--s6); }
  .pillar-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .leadership-card { grid-template-columns: 1fr; }
  .leader-portrait { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .metrics-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .principle-item { grid-template-columns: 1fr; gap: var(--s3); }
  .form-row { grid-template-columns: 1fr; }
  .holding-children { grid-template-columns: 1fr; }
  .thesis-detail .thesis-grid { grid-template-columns: 1fr; }
  section { padding: var(--s8) 0; }
  h1 { font-size: clamp(36px, 8vw, 56px); }
  h2 { font-size: clamp(28px, 6vw, 42px); }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--s4); text-align: center; }
  .form-tabs { flex-direction: column; }
  .form-tab { border-bottom: none; border-left: 2px solid transparent; }
  .form-tab.active { border-left-color: var(--gold); border-bottom-color: transparent; }
  .nav-brand img { height: 28px; }
}
