/* ============================================================
   CAW HOLDINGS, LLC — "The Corporate Structure" system
   Org-tree connectors · entity register · legal section marks
   ============================================================ */
:root {
  --bg: #0c1016;
  --bg2: #11161f;
  --panel: #151c28;
  --line: #263043;
  --line2: #39465e;
  --txt: #ece9df;
  --mut: #9aa3b4;
  --dim: #646e80;
  --gold: #c9a15a;
  --slate: #7fa3bd;
  --disp: 'Spectral', serif;
  --body: 'Hanken Grotesk', sans-serif;
  --mono: 'Fira Code', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1.1; letter-spacing: .004em; }
h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(27px, 3.3vw, 40px); }
h3 { font-size: 18px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
em.h { font-style: italic; color: var(--gold); }
em.h2 { font-style: italic; color: var(--slate); }

/* ---------- NAV ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.head-rule { height: 3px; background: var(--gold); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 40px; height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-glyph {
  width: 46px; height: 46px; flex: none; position: relative;
  border: 1.5px solid var(--gold);
}
.brand-glyph::before {
  content: ''; position: absolute; left: 50%; top: -7px;
  width: 10px; height: 10px; transform: translateX(-50%);
  background: var(--gold);
}
.brand-glyph::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 7px;
  height: 1.5px; background: var(--gold);
}
.brand-glyph b {
  position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: .04em;
}
.brand-txt { line-height: 1.25; }
.brand-txt b { font-family: var(--disp); font-weight: 600; font-size: 17px; display: block; letter-spacing: .02em; }
.brand-txt span { font-family: var(--mono); font-size: 9px; color: var(--dim); letter-spacing: .22em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mut);
  transition: .2s; position: relative;
}
.nav a::before { content: '§'; margin-right: 5px; color: var(--dim); font-size: 10px; }
.nav a:hover { color: var(--txt); }
.nav a.on { color: var(--gold); }
.nav a.on::before { color: var(--gold); }
.nav a.cta { margin-left: 10px; border: 1px solid var(--slate); color: var(--slate); }
.nav a.cta::before { display: none; }
.nav a.cta:hover { background: var(--slate); color: var(--bg); }
.burger { display: none; background: none; border: 1px solid var(--line2); width: 42px; height: 42px; cursor: pointer; }
.burger i { display: block; width: 19px; height: 2px; background: var(--txt); margin: 4px auto; transition: .25s; }
.burger.open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
.mnav.open { display: block; }
.mnav a {
  display: block; padding: 12px 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mut);
  border-bottom: 1px dashed var(--line);
}
.mnav a.on { color: var(--gold); }
.mnav a:last-child { border-bottom: none; color: var(--slate); }

/* ---------- HERO ---------- */
.hero { padding: 90px 0 80px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-kick {
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em;
  color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 24px;
}
.hero-kick::before { content: '§1 — '; }
.hero h1 { margin-bottom: 26px; }
.hero-sub { color: var(--mut); font-size: 16px; max-width: 500px; margin-bottom: 38px; }
.hero-sub strong { color: var(--txt); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 30px; cursor: pointer; border: none; transition: .2s;
}
.btn svg { width: 15px; height: 15px; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--txt); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }

/* org chart SVG panel */
.org-panel { border: 1px solid var(--line2); background: var(--bg2); padding: 28px; position: relative; }
.org-panel .op-cap {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 9px; letter-spacing: .24em;
  color: var(--dim); text-transform: uppercase; margin-bottom: 18px;
}
.org-panel .op-cap b { color: var(--gold); font-weight: 600; }

/* ---------- SECTIONS ---------- */
.sect { padding: 88px 0; }
.sect.bg2 { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 52px; }
.sec-head .kick {
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em;
  color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 14px;
}
.sec-head .kick::before { content: '§ '; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--mut); max-width: 620px; }
.sec-head.ctr { text-align: center; }
.sec-head.ctr p { margin: 0 auto; }

/* entity register — table rows */
.register { border: 1px solid var(--line2); }
.reg-head, .reg-row {
  display: grid; grid-template-columns: 110px 1.7fr 1fr .8fr; gap: 18px;
  padding: 16px 24px; align-items: baseline;
}
.reg-head {
  background: var(--panel); border-bottom: 1px solid var(--line2);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase;
}
.reg-row { border-bottom: 1px solid var(--line); transition: background .2s; }
.reg-row:last-child { border-bottom: none; }
.reg-row:hover { background: var(--panel); }
.reg-row .rno { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.reg-row .rent { font-family: var(--disp); font-size: 17px; font-weight: 600; }
.reg-row .rtype { font-family: var(--mono); font-size: 11px; color: var(--mut); letter-spacing: .06em; }
.reg-row .rst {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.reg-row .rst::before { content: '● '; color: var(--slate); }

/* division cards — org-tree style with connectors */
.divs { position: relative; padding-top: 40px; }
.divs::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 1.5px; height: 40px;
  background: var(--line2);
}
.divs::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; background: var(--gold);
}
.div-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; }
.div-grid::before {
  content: ''; position: absolute; top: -20px; left: 12.5%; right: 12.5%; height: 1.5px;
  background: var(--line2);
}
.div-card {
  border: 1px solid var(--line); background: var(--panel); padding: 0 0 22px;
  position: relative; transition: border-color .2s;
}
.div-card::before {
  content: ''; position: absolute; top: -20px; left: 50%; width: 1.5px; height: 20px;
  background: var(--line2);
}
.div-card:hover { border-color: var(--gold); }
.div-card .d-tag {
  padding: 12px 20px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  color: var(--dim); text-transform: uppercase;
}
.div-card .d-tag b { color: var(--gold); font-weight: 600; }
.div-card .d-body { padding: 20px 20px 0; }
.div-card h3 { font-size: 16px; margin-bottom: 9px; }
.div-card p { font-size: 13px; color: var(--mut); }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line2); }
.st { padding: 34px 26px; border-left: 1px solid var(--line); text-align: center; }
.st:first-child { border-left: none; }
.st b { font-family: var(--disp); font-size: 38px; font-weight: 600; color: var(--gold); display: block; line-height: 1; }
.st span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); display: block; margin-top: 12px; }

/* ---------- SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--mut); margin-bottom: 16px; }
.split p strong { color: var(--txt); }
.stat-list { list-style: none; margin-top: 26px; }
.stat-list li {
  display: flex; gap: 16px; padding: 15px 0;
  border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mut);
}
.stat-list li:last-child { border-bottom: none; }
.stat-list .mk {
  font-family: var(--mono); font-size: 10px; color: var(--slate);
  border: 1px solid var(--line2); padding: 2px 9px; height: fit-content;
  flex: none; letter-spacing: .08em;
}
.stat-list b { color: var(--txt); font-weight: 600; }

.fig { border: 1px solid var(--line2); background: var(--bg2); padding: 26px; }
.fig .fig-cap {
  font-family: var(--mono); font-size: 9px; letter-spacing: .22em;
  color: var(--dim); text-transform: uppercase; display: block; margin-bottom: 16px;
}

/* ---------- PAGE HEAD ---------- */
.page-head { padding: 74px 0 54px; border-bottom: 1px solid var(--line); }
.crumb { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--dim); text-transform: uppercase; display: block; margin-bottom: 20px; }
.crumb a { color: var(--gold); }
.page-head h1 { margin-bottom: 18px; }
.lede { color: var(--mut); font-size: 16.5px; max-width: 720px; }

/* ---------- DIVISION sections ---------- */
.div-sec { padding: 58px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 95px; }
.div-sec:last-child { border-bottom: none; }
.div-sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
.div-sec-head .ds {
  font-family: var(--mono); font-weight: 600; font-size: 12px;
  color: var(--gold); border: 1.5px solid var(--gold); padding: 5px 13px;
  letter-spacing: .16em;
}
.div-sec-head h2 { font-size: 26px; }
.div-sec-head .en { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; }
.div-sec > p { color: var(--mut); font-size: 14px; max-width: 720px; margin-bottom: 28px; }
.div-items { border: 1px solid var(--line); }
.div-item {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px;
  padding: 17px 22px; border-bottom: 1px solid var(--line);
  background: var(--bg2); transition: background .2s;
}
.div-item:last-child { border-bottom: none; }
.div-item:hover { background: var(--panel); }
.div-item b { font-size: 14px; font-weight: 600; font-family: var(--disp); font-size: 15.5px; }
.div-item span { font-size: 13px; color: var(--mut); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq > button {
  width: 100%; background: none; border: none; color: var(--txt);
  font-family: var(--disp); font-size: 19px; font-weight: 600;
  text-align: left; padding: 23px 8px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.fq > button:hover { color: var(--gold); }
.fq .pm { font-family: var(--mono); color: var(--slate); font-size: 17px; flex: none; }
.fq .fa { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.fq .fa p { padding: 0 8px 24px; color: var(--mut); font-size: 14px; }
.fq.open .fa { max-height: 320px; }

/* ---------- CTA ---------- */
.cta-box {
  border: 1.5px solid var(--gold); background: var(--panel);
  padding: 56px 48px; position: relative;
}
.cta-box::before {
  content: ''; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid var(--line); pointer-events: none;
}
.cta-box h2 { margin-bottom: 16px; position: relative; }
.cta-box p { color: var(--mut); max-width: 540px; margin-bottom: 30px; position: relative; }
.cta-box .btn { position: relative; }

/* ---------- CONTACT ---------- */
.c-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.c-cards { display: grid; gap: 0; border: 1px solid var(--line2); }
.c-card { padding: 24px 28px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.c-card:last-child { border-bottom: none; }
.c-card .ck { font-family: var(--mono); font-size: 9px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 8px; }
.c-card .cv { font-family: var(--disp); font-weight: 600; font-size: 19px; display: block; }
.c-card .cv:hover { color: var(--slate); }
.c-card p { font-size: 12.5px; color: var(--mut); margin-top: 6px; }
.qform { border: 1.5px solid var(--gold); background: var(--panel); padding: 40px; position: relative; }
.qform::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.qform > * { position: relative; }
.qform h2 { font-size: 25px; margin-bottom: 8px; }
.qform .sub { font-size: 12.5px; color: var(--mut); margin-bottom: 28px; }
.qform .sub a { color: var(--gold); text-decoration: underline; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { margin-bottom: 16px; }
.fld label {
  display: block; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px;
}
.fld input, .fld select, .fld textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line2);
  color: var(--txt); font-family: var(--body); font-size: 14.5px; padding: 13px 15px;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); }
.fld textarea { min-height: 110px; resize: vertical; }
.fnote { font-size: 11px; color: var(--dim); margin-top: 18px; font-family: var(--mono); }

/* ---------- LEGAL ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.lnav { position: sticky; top: 100px; }
.lnav .lt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--dim); text-transform: uppercase; display: block; margin-bottom: 16px; }
.lnav a {
  display: block; padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-family: var(--mono); font-size: 10.5px; color: var(--mut); letter-spacing: .04em;
}
.lnav a:hover { color: var(--gold); }
.ltext h2 { font-size: 22px; margin: 42px 0 14px; scroll-margin-top: 100px; }
.ltext h2:first-child { margin-top: 0; }
.ltext h3 { font-size: 15px; margin: 22px 0 10px; color: var(--slate); font-family: var(--body); font-weight: 700; }
.ltext p { color: var(--mut); font-size: 14px; margin-bottom: 14px; }
.ltext ul { margin: 0 0 16px 22px; color: var(--mut); font-size: 14px; }
.ltext li { margin-bottom: 8px; }
.ltext strong { color: var(--txt); }
.ltext a { color: var(--gold); text-decoration: underline; }
.lnote { border: 1px solid var(--line2); border-left: 3px solid var(--gold); background: var(--panel); padding: 20px 24px; margin: 22px 0; }
.lnote p { margin: 0 0 6px; font-size: 13px; }
.lnote p:last-child { margin-bottom: 0; }

/* ---------- FOOTER ---------- */
.site-foot { border-top: 3px solid var(--gold); background: var(--bg2); }
.foot-in { padding: 56px 0 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 46px; }
.foot-brand p { color: var(--mut); font-size: 13px; margin-top: 18px; max-width: 270px; }
.fcol h4 { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.fcol a, .fcol span { display: block; font-size: 13.5px; color: var(--mut); padding: 4px 0; }
.fcol a:hover { color: var(--txt); }
.foot-word {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(50px, 8.5vw, 108px); line-height: 1;
  color: var(--bg); -webkit-text-stroke: 1.5px var(--line2);
  letter-spacing: .04em; overflow: hidden; white-space: nowrap; text-align: center;
  border-top: 1px solid var(--line); padding: 22px 0 12px;
}
.foot-bot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--line); padding: 22px 0 28px; flex-wrap: wrap;
}
.foot-bot p { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.foot-bot .fl { display: flex; gap: 24px; }
.foot-bot .fl a { font-family: var(--mono); font-size: 10.5px; color: var(--mut); }
.foot-bot .fl a:hover { color: var(--gold); }

/* ---------- REVEAL ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .head-in { padding: 0 24px; }
  .nav { display: none; }
  .burger { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .split, .c-grid, .legal { grid-template-columns: 1fr; gap: 44px; }
  .lnav { position: static; }
  .div-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .st { border-left: none; border-top: 1px solid var(--line); }
  .st:nth-child(-n+2) { border-top: none; }
  .reg-head { display: none; }
  .reg-row { grid-template-columns: 1fr; gap: 4px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .div-grid, .stat-strip { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .div-item { grid-template-columns: 1fr; gap: 4px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 42px 24px; }
  .qform { padding: 30px 22px; }
}
