:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --display: ui-serif, "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --obsidian: #07090b;
  --obsidian-soft: #0b0e11;
  --surface: #0f1317;
  --surface-raised: #14191e;
  --platinum: #f3f1eb;
  --text: #d4d3ce;
  --muted: #989c9b;
  --quiet: #747a7a;
  --line: #2a3034;
  --line-soft: rgba(243, 241, 235, 0.1);
  --brass: #c8a76a;
  --brass-light: #e0c486;
  --brass-soft: rgba(200, 167, 106, 0.12);
  --content: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--obsidian);
  background-size: 72px 72px, 72px 72px, auto;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { margin-top: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 12px 16px;
  color: #11100d;
  background: var(--brass-light);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(7, 9, 11, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(7, 9, 11, 0.94); }
.header-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img { width: 46px; height: 46px; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { color: var(--platinum); font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; }
.brand-copy small { color: var(--brass); font-size: 9px; font-weight: 800; letter-spacing: 0.24em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  position: relative;
  padding: 12px 0;
  color: #bfc0bc;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:hover { color: var(--platinum); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

main { overflow: hidden; }
.hero {
  position: relative;
  width: min(calc(100% - 48px), var(--content));
  min-height: min(800px, calc(100vh - 82px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: clamp(70px, 8vw, 140px);
  padding: 78px 0 92px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 62%;
  width: 1px;
  background: linear-gradient(transparent, rgba(200, 167, 106, 0.25) 22%, rgba(200, 167, 106, 0.25) 78%, transparent);
}
.hero-copy, .hero-structure { min-width: 0; }
.eyebrow {
  margin-bottom: 22px;
  color: var(--brass);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow span { margin-right: 14px; color: var(--quiet); }
.hero h1 {
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--platinum);
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
}
.hero h1 em { color: var(--brass); font-weight: 400; }
.hero-intro {
  max-width: 670px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.76;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.primary-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px;
  border: 1px solid var(--brass-light);
  color: #11100d;
  background: var(--brass);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease;
}
.primary-link:hover { border-color: #f1d9aa; background: var(--brass-light); }
.primary-link span { font-size: 18px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.text-link span { color: var(--brass); transition: transform 150ms ease; }
.text-link:hover span { transform: translateX(4px); }

.hero-structure {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(200, 167, 106, 0.07), transparent 42%),
    rgba(11, 14, 17, 0.78);
}
.hero-structure::before, .hero-structure::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
}
.hero-structure::before { top: 14px; left: 14px; border-top: 1px solid var(--brass); border-left: 1px solid var(--brass); }
.hero-structure::after { right: 14px; bottom: 14px; border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass); }
.structure-index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--quiet);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.hero-seal { display: grid; justify-items: center; }
.hero-seal > span {
  position: relative;
  width: 156px;
  height: 156px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 34px;
  border: 1px solid #6d6960;
  box-shadow: inset 0 0 0 12px var(--surface);
  color: var(--platinum);
  font-family: var(--display);
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.08em;
}
.hero-seal > span::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: var(--brass);
}
.hero-seal i { z-index: 1; font-style: normal; text-align: center; }
.hero-seal p { margin-bottom: 8px; color: var(--platinum); font-family: var(--display); font-size: 17px; letter-spacing: 0.12em; }
.hero-seal small { color: var(--brass); font-size: 9px; font-weight: 800; letter-spacing: 0.25em; }
.structure-notes {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.structure-notes span { padding-top: 15px; color: var(--quiet); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.structure-notes span + span { padding-left: 12px; border-left: 1px solid var(--line); }

.manifesto {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 90px minmax(300px, 0.75fr) minmax(420px, 1.25fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 17, 0.88);
}
.section-marker {
  padding: 64px 24px;
  border-right: 1px solid var(--line);
  color: var(--brass);
  font-family: var(--display);
  font-size: 18px;
}
.section-heading { padding: clamp(60px, 8vw, 112px); border-right: 1px solid var(--line); }
.section-heading h2, .section-intro h2, .principles-heading h2, .closing-statement h2 {
  margin-bottom: 0;
  color: var(--platinum);
  font-family: var(--display);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.manifesto-content { padding: clamp(60px, 8vw, 112px); }
.manifesto-content .lead { max-width: 650px; margin-bottom: 54px; color: var(--text); font-family: var(--display); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.45; }
.mandate-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mandate-list li { display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.mandate-list > li > span { color: var(--brass); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; }
.mandate-list h3 { margin-bottom: 7px; color: var(--platinum); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.mandate-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.group-section { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: clamp(100px, 12vw, 170px) 0; }
.section-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 80px; margin-bottom: 76px; }
.section-intro h2 em { color: var(--brass); font-weight: 400; }
.section-intro > p { max-width: 520px; margin: 0 0 6px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.portfolio-map { position: relative; }
.parent-card {
  position: relative;
  width: min(100%, 590px);
  min-height: 160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid #6b5c40;
  border-top: 3px solid var(--brass);
  background: linear-gradient(135deg, var(--brass-soft), var(--surface));
}
.company-monogram {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #756849;
  color: var(--platinum);
  font-family: var(--display);
  font-size: 24px;
}
.parent-card p, .company-grid p { margin-bottom: 7px; color: var(--brass); font-size: 9px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.parent-card h3, .company-grid h3 { margin-bottom: 0; color: var(--platinum); font-family: var(--display); font-size: 27px; font-weight: 500; }
.card-code { align-self: start; color: var(--quiet); font-size: 9px; letter-spacing: 0.14em; }
.portfolio-connector { height: 84px; display: grid; place-items: center; }
.portfolio-connector span { position: relative; width: calc(80% - 90px); height: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.portfolio-connector span::before { content: ""; position: absolute; top: -42px; left: 50%; height: 42px; border-left: 1px solid var(--line); }
.company-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); list-style: none; border: 1px solid var(--line); }
.company-grid article { position: relative; min-height: 238px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: var(--surface); transition: background 180ms ease, transform 180ms ease; }
.company-grid article:hover { z-index: 1; background: var(--surface-raised); transform: translateY(-4px); }
.company-grid article > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--brass); font-family: var(--display); font-size: 17px; }
.company-grid h3 { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.1; }
.company-grid small { position: absolute; top: 26px; right: 24px; color: var(--quiet); font-size: 9px; letter-spacing: 0.14em; }

.principles { width: min(100%, 1440px); margin: 0 auto; display: grid; grid-template-columns: 0.68fr 1.32fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(11, 14, 17, 0.9); }
.principles-heading { padding: clamp(60px, 8vw, 112px); border-right: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle-grid article { min-height: 360px; display: flex; flex-direction: column; padding: clamp(34px, 4vw, 56px); }
.principle-grid article + article { border-left: 1px solid var(--line); }
.principle-grid article > span { margin-bottom: auto; color: var(--brass); font-family: var(--display); font-size: 42px; }
.principle-grid h3 { margin: 72px 0 15px; color: var(--platinum); font-family: var(--display); font-size: 25px; font-weight: 500; line-height: 1.12; }
.principle-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.closing-statement {
  min-height: 620px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 110px 24px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(200, 167, 106, 0.07), transparent 42%),
    var(--obsidian);
}
.closing-statement img { width: 112px; height: 112px; margin-bottom: 42px; }
.closing-statement > p { margin-bottom: 18px; color: var(--brass); font-size: 10px; font-weight: 800; letter-spacing: 0.26em; }
.closing-statement h2 { font-size: clamp(50px, 6vw, 86px); }

.site-footer {
  width: min(calc(100% - 48px), var(--content));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { display: grid; gap: 3px; }
.footer-brand strong { color: var(--platinum); font-family: var(--display); font-size: 11px; letter-spacing: 0.09em; }
.footer-brand small { color: var(--brass); font-size: 8px; font-weight: 800; letter-spacing: 0.2em; }
.footer-meta { display: flex; align-items: center; gap: 30px; color: var(--quiet); font-size: 11px; }
.footer-meta a { color: var(--muted); text-decoration: underline; text-decoration-color: #4a4e4e; text-underline-offset: 4px; }
.footer-meta a:hover { color: var(--platinum); }

.simple-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.simple-main { width: min(calc(100% - 48px), 940px); margin: 0 auto; display: grid; align-content: center; padding: 90px 0; }
.simple-panel { position: relative; padding: clamp(36px, 7vw, 86px); border: 1px solid var(--line); border-top: 2px solid var(--brass); background: rgba(15, 19, 23, 0.92); }
.simple-panel::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-right: 1px solid #555149; border-bottom: 1px solid #555149; }
.simple-panel h1 { max-width: 760px; margin-bottom: 28px; color: var(--platinum); font-family: var(--display); font-size: clamp(46px, 7vw, 78px); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.simple-panel .lead { max-width: 680px; margin-bottom: 35px; color: var(--text); font-size: 18px; line-height: 1.75; }
.simple-panel .muted { max-width: 680px; margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.security-points { display: grid; gap: 0; margin: 34px 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.security-points li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.security-points span { color: var(--brass); font-size: 10px; font-weight: 800; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 0.75fr; gap: 46px; }
  .hero::before { display: none; }
  .hero-structure { min-height: 450px; }
  .manifesto { grid-template-columns: 72px 0.8fr 1.2fr; }
  .section-heading, .manifesto-content, .principles-heading { padding: 70px 48px; }
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .company-grid li:nth-child(4), .company-grid li:nth-child(5) { grid-column: span 1; }
  .principles { grid-template-columns: 1fr; }
  .principles-heading { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 76px; }
  .header-inner { width: min(calc(100% - 32px), var(--content)); min-height: 74px; }
  .brand img { width: 40px; height: 40px; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; padding: 0; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
  .menu-button > span:not(.visually-hidden) { width: 19px; height: 1px; display: block; background: var(--platinum); transition: transform 160ms ease; }
  .menu-button[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 74px; right: 0; left: 0; display: none; padding: 20px 24px 28px; border-bottom: 1px solid var(--line); background: rgba(7, 9, 11, 0.98); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }

  .hero { width: min(calc(100% - 32px), var(--content)); min-height: auto; grid-template-columns: 1fr; gap: 56px; padding: 70px 0 80px; }
  .hero h1 { font-size: clamp(54px, 14vw, 78px); }
  .hero-structure { min-height: 420px; }
  .structure-notes { grid-template-columns: 1fr; }
  .structure-notes span { display: none; }
  .structure-notes span:first-child { display: block; }

  .manifesto { grid-template-columns: 52px 1fr; }
  .section-marker { padding: 52px 16px; }
  .section-heading { padding: 58px 28px; border-right: 0; }
  .manifesto-content { grid-column: 2; padding: 0 28px 66px; }
  .section-intro { grid-template-columns: 1fr; gap: 30px; }
  .group-section { width: min(calc(100% - 32px), var(--content)); padding: 100px 0; }
  .portfolio-connector span { width: 66%; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid li:last-child { grid-column: 1 / -1; }

  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 280px; }
  .principle-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .principle-grid h3 { margin-top: 50px; }
  .site-footer { width: min(calc(100% - 32px), var(--content)); flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px 0; }
  .footer-meta { width: 100%; justify-content: space-between; }
}

@media (max-width: 520px) {
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { letter-spacing: 0.16em; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(45px, 12vw, 62px); letter-spacing: -0.06em; }
  .hero h1 em { white-space: nowrap; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-link { width: 100%; }
  .hero-structure { min-height: 380px; }
  .hero-seal > span { width: 132px; height: 132px; font-size: 48px; }
  .manifesto { grid-template-columns: 42px 1fr; }
  .section-marker { padding-right: 10px; padding-left: 10px; }
  .section-heading { padding: 52px 22px; }
  .manifesto-content { padding: 0 22px 58px; }
  .parent-card { min-height: 140px; grid-template-columns: 58px 1fr; gap: 18px; padding: 20px; }
  .company-monogram { width: 54px; height: 54px; }
  .card-code { display: none; }
  .parent-card h3 { font-size: 23px; }
  .portfolio-connector span { width: 52%; }
  .company-grid { grid-template-columns: 1fr; }
  .company-grid li:last-child { grid-column: auto; }
  .company-grid article { min-height: 190px; }
  .principles-heading { padding: 58px 24px; }
  .principle-grid article { min-height: 250px; padding: 36px 24px; }
  .closing-statement { min-height: 520px; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 14px; }
  .simple-main { width: min(calc(100% - 32px), 940px); padding: 60px 0; }
  .simple-panel { padding: 34px 24px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .primary-link { border: 2px solid ButtonText; }
  .hero-seal > span, .company-monogram, .company-grid article > span { border: 1px solid CanvasText; }
}
