/* Masterful Capital Technologies — V8 Futurization system (2026-11-14)
   Same design family as masterfulcapital.com V8: black #050505, ivory #f7f3ea,
   gold #C6A15B primary / #D4AF37 bright (two golds only), Playfair serif
   institution register, Manrope ExtraLight future register on photo stages,
   JetBrains Mono labels and data. Static CSS; no trackers. */
:root{
  --bg:#050505; --bg2:#0b0b0c; --panel:#111113; --panel2:#161618;
  --rule:#26262a; --gold:#C6A15B; --gold-2:#D4AF37; --gold-dim:#77612f;
  --fg:#f7f3ea; --muted:rgba(247,243,234,.68); --dim:rgba(247,243,234,.42);
  --display:'Unbounded','Avenir Next','Segoe UI',Helvetica,Arial,sans-serif;
  --serif:'Playfair Display','Didot','Bodoni MT',Georgia,'Times New Roman',serif;
  --body:'Manrope','Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif;
  --mono:'JetBrains Mono','IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
img{max-width:100%}
body{background:var(--bg);color:var(--fg);font-family:var(--body);font-weight:300;line-height:1.75;font-size:16.5px}
a{color:var(--gold-2);text-decoration:none}
a:hover{color:var(--gold-2)}
.wrap{max-width:1180px;margin:0 auto;padding:0 22px}

/* ---------- nav ---------- */
nav{position:sticky;top:0;z-index:20;background:rgba(6,6,7,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--rule)}
nav .wrap{display:flex;align-items:center;gap:26px;min-height:60px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.brand{font-family:var(--display);font-weight:800;font-size:.95rem;letter-spacing:.14em;color:var(--fg);white-space:nowrap}
.brand span{color:var(--gold)}
.brand-mark{width:32px;height:32px;vertical-align:middle;margin-right:.55rem}
nav .links{display:flex;gap:22px;flex-wrap:wrap;margin-left:auto}
nav .links a{font-family:var(--mono);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
nav .links a:hover,nav .links a[aria-current="page"]{color:var(--gold-2)}

/* ---------- hero ---------- */
.hero{padding:7.2rem 0 5rem;border-bottom:1px solid var(--rule);
  background:radial-gradient(900px 420px at 18% 0%,rgba(198,161,91,.09),transparent 60%)}
.kicker{display:flex;align-items:center;gap:.95rem;font-family:var(--mono);letter-spacing:.3em;text-transform:uppercase;font-size:.58rem;color:var(--gold);margin-bottom:1.7rem}
.kicker::before{content:"";width:34px;height:1px;background:var(--gold-2);flex:0 0 auto}
h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.1rem,5.4vw,3.7rem);line-height:1.1;margin-bottom:1.5rem;text-wrap:balance;letter-spacing:-.015em}
h1 .gold,h2 .gold{color:var(--gold-2)}
h1 em,h2 em{font-style:italic;font-weight:500}
.lede{color:var(--muted);max-width:46rem;font-size:1.08rem}
.lede strong{color:var(--fg);font-weight:600}

/* ---------- sections ---------- */
section{padding:6.4rem 0;border-bottom:1px solid var(--rule)}
.sh{display:flex;align-items:baseline;gap:16px;margin-bottom:1.2rem}
.sh .num{font-family:var(--display);font-size:1.05rem;color:var(--gold);font-weight:600;letter-spacing:.06em;white-space:nowrap}
.sh .idx{font-family:var(--mono);font-size:.68rem;letter-spacing:.28em;color:var(--dim);text-transform:uppercase}
h2{font-family:var(--serif);font-weight:500;font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.18;margin-bottom:1rem;text-wrap:balance;letter-spacing:-.01em}
h3{font-family:var(--body);font-weight:600;font-size:1.05rem;line-height:1.4;margin-bottom:.6rem;color:var(--fg);letter-spacing:.01em}
p{margin-bottom:1rem;max-width:72ch;color:var(--muted)}
p strong,li strong{color:var(--fg);font-weight:600}
.sub{font-family:var(--mono);font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--dim);margin-bottom:.9rem}

/* ---------- grids & cards ---------- */
.grid{display:grid;gap:18px;margin-top:2rem}
.g2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.card{background:var(--panel);border:1px solid var(--rule);padding:1.7rem 1.6rem;transition:border-color .35s ease,background .35s ease}
.card:hover{border-color:var(--gold-dim)}
.card.gold{border-color:var(--gold-dim)}
.card .mark{font-family:var(--display);font-size:1.5rem;font-weight:800;color:var(--gold);margin-bottom:.9rem}
.card p{font-size:.96rem;margin-bottom:0}
.card a.more{display:inline-block;margin-top:1rem;font-family:var(--mono);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase}

/* ---------- stat strip (qualitative — no figures) ---------- */
.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:2.4rem}
.strip div{background:var(--panel);padding:1.15rem 1.2rem}
.strip .l{font-family:var(--mono);font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--dim)}
.strip .v{font-family:var(--body);font-size:1rem;font-weight:600;color:var(--gold-2);margin-top:.45rem;line-height:1.35}

/* ---------- lists / tables ---------- */
ul.clean{list-style:none;margin:0 0 1rem}
ul.clean li{padding:.85rem 0;border-bottom:1px solid var(--rule);color:var(--muted);max-width:78ch}
ul.clean li:last-child{border-bottom:none}
table{width:100%;border-collapse:collapse;font-size:.98rem;margin-top:1.4rem}
th{font-family:var(--mono);font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);text-align:left;padding:.7rem .8rem;border-bottom:1px solid var(--gold-dim);font-weight:500}
td{padding:.85rem .8rem;border-bottom:1px solid var(--rule);vertical-align:top;color:var(--muted)}
td strong{color:var(--fg)}
.tscroll{overflow-x:auto}

/* ---------- cta / contact ---------- */
.cta{display:inline-block;font-family:var(--mono);font-size:.82rem;letter-spacing:.12em;color:#050505;background:var(--gold-2);padding:1rem 2.2rem;border-radius:2px;font-weight:500;margin-top:.6rem}
.cta:hover{background:var(--gold);color:#050505}
.cta.ghost{background:transparent;color:var(--gold-2);border:1px solid var(--gold-dim)}
.cta.ghost:hover{color:var(--gold-2);background:transparent;border-color:var(--gold)}
.contact-line{font-family:var(--mono);font-size:.9rem;letter-spacing:.04em;color:var(--fg)}
blockquote{font-family:var(--serif);font-weight:500;font-size:clamp(1.4rem,2.8vw,2rem);line-height:1.35;max-width:56ch;margin:1rem 0}
blockquote .gold{color:var(--gold-2)}
.attrib{font-family:var(--mono);font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--dim)}

/* ---------- footer ---------- */
footer{padding:4.4rem 0 4.8rem;color:var(--dim);font-size:.85rem}
footer .cols{display:flex;gap:2.4rem;flex-wrap:wrap;justify-content:space-between}
footer .fnav{display:flex;gap:20px;flex-wrap:wrap}
footer .fnav a{font-family:var(--mono);font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
footer .fnav a:hover{color:var(--gold-2)}
footer .fine{margin-top:2.4rem;font-size:.76rem;max-width:92ch;line-height:1.7}
footer .sig{font-family:var(--mono);font-size:.66rem;letter-spacing:.24em;text-transform:uppercase;margin-top:1.4rem}

@media (max-width:640px){
  .hero{padding:4.6rem 0 3.4rem}
  section{padding:4rem 0}
  nav .links{gap:14px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- evolution 2026-11-13 additions ---------- */
/* status pills */
.pill{display:inline-block;font-family:var(--mono);font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;padding:.32rem .6rem;border:1px solid var(--rule);color:var(--muted);vertical-align:middle}
.pill.live{border-color:var(--gold-dim);color:var(--gold-2)}
.pill.closed{color:var(--dim)}
.pill.road{border-style:dashed;color:var(--dim)}
.pill.ex{border-color:#5a3b3b;color:#d99a8a}
.card .price{font-family:var(--mono);font-size:1rem;font-weight:500;color:var(--gold-2);margin:.4rem 0 .7rem;line-height:1.45}
.card .terms{font-size:.85rem;color:var(--dim);margin-top:.7rem}
.card.dim{opacity:.72}
/* circular loop steps */
.loop{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-top:2rem}
.loop .step{background:var(--panel);border:1px solid var(--rule);padding:1.4rem 1.3rem}
.loop .step .n{font-family:var(--display);font-size:1.3rem;font-weight:800;color:var(--gold)}
.loop .step p{font-size:.92rem;margin:.5rem 0 0}
/* agent door */
.agentdoor{background:var(--panel2);border:1px solid var(--gold-dim);padding:1.8rem 1.7rem;margin-top:2rem}
.agentdoor code{font-family:var(--mono);font-size:.86rem;color:var(--gold-2)}
/* dashboard tiles */
.dash{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:14px;margin-top:1.6rem}
.tile{background:var(--panel);border:1px solid var(--rule);padding:1.15rem 1.15rem 1.05rem}
.tile .l{font-family:var(--mono);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.tile .big{font-family:var(--display);font-size:1.55rem;font-weight:800;color:var(--fg);margin:.4rem 0 .25rem;line-height:1.2}
.tile .big.gold{color:var(--gold-2)}
.tile .s{font-size:.84rem;color:var(--muted);line-height:1.5}
.tile.hot{border-color:#7a3b2e}
.tile.hot .big{color:#e08a76}
.tile.warn{border-color:var(--gold-dim)}
.tile.ok{border-color:#33523c}
.tile.ok .big{color:#9fd3ab}
/* internal banner */
.ibanner{background:#3a1410;border-bottom:2px solid #a33c2a;color:#f3c6ba;font-family:var(--mono);font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;text-align:center;padding:.7rem 1rem}
/* forms (mailto intake) */
form.intake{max-width:640px;margin-top:1.6rem}
form.intake label{display:block;font-family:var(--mono);font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin:1.1rem 0 .4rem}
form.intake input,form.intake select,form.intake textarea{width:100%;background:var(--panel);border:1px solid var(--rule);color:var(--fg);font-family:var(--body);font-size:1rem;padding:.75rem .85rem;border-radius:2px}
form.intake textarea{min-height:130px}
form.intake button{margin-top:1.4rem;cursor:pointer;border:none}
.note{font-size:.85rem;color:var(--dim);max-width:70ch}

/* ---------- V2 luxury pass 2026-11-14 · photography & depth ---------- */
/* photo heroes */
.hero--photo{position:relative;overflow:hidden;padding:0;border-bottom:1px solid var(--gold-dim)}
/* V7: the PICTURE is the positioned layer, never the img inside it. An
   absolutely-positioned img inside an unstyled inline <picture> resolves
   against the header in some engines and renders at natural size in flow
   in others — the giant-beige-expanse / pure-black-hero fault. */
.hero--photo picture{position:absolute;inset:0;display:block;z-index:0}
.hero--photo picture img{position:static;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero__shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,6,7,.68) 0%,rgba(6,6,7,.50) 42%,rgba(6,6,7,.92) 100%),linear-gradient(90deg,rgba(6,6,7,.62) 0%,rgba(6,6,7,.30) 55%,rgba(6,6,7,0) 80%),radial-gradient(1000px 480px at 16% 0%,rgba(198,161,91,.15),transparent 60%)}
.hero__inner{position:relative;z-index:2;padding:8.6rem 22px 6rem}
.hero--slim .hero__inner{padding:5.6rem 22px 4.2rem}
.hero--photo .lede{color:rgba(247,243,234,.82)}
.hero--photo .strip div{background:rgba(9,9,11,.78);backdrop-filter:blur(6px)}
/* split layout + framed photography */
.split{display:grid;grid-template-columns:1.12fr .88fr;gap:3rem;align-items:center}
@media (max-width:880px){.split{grid-template-columns:1fr;gap:2rem}}
.frame{border:1px solid var(--gold-dim);outline:1px solid rgba(198,161,91,.22);outline-offset:6px;padding:10px;background:linear-gradient(160deg,var(--panel2),var(--panel));margin:0}
.frame .ph{overflow:hidden;line-height:0}
.frame .ph.ar34{aspect-ratio:3/4}
.frame .ph.ar43{aspect-ratio:4/3}
.frame img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.4s ease}
.frame:hover img{transform:scale(1.035)}
.frame figcaption{font-family:var(--mono);font-size:.64rem;letter-spacing:.22em;text-transform:uppercase;color:var(--dim);padding:.75rem .2rem .15rem;line-height:1.5}
/* full-bleed image band */
.band{position:relative;border-bottom:1px solid var(--rule);overflow:hidden;line-height:0}
.band img{width:100%;height:340px;object-fit:cover;display:block}
.band::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,6,7,.38),rgba(6,6,7,.04) 42%,rgba(6,6,7,.60))}
.band .band__cap{position:absolute;left:0;right:0;bottom:1.2rem;z-index:2;line-height:1.4}
.band .band__cap .kicker{margin-bottom:0;color:var(--gold-2)}
.band .band__cap .kicker::after{display:none}
/* fortress arch motif — fine concentric arches, used sparingly on dividers */
.arch-rule{height:38px;opacity:.5;background-repeat:repeat-x;background-position:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='42' viewBox='0 0 84 42'%3E%3Cg fill='none' stroke='%23C6A15B' stroke-width='1'%3E%3Cpath d='M7 42 A35 35 0 0 1 77 42'/%3E%3Cpath d='M19 42 A23 23 0 0 1 65 42'/%3E%3Cpath d='M31 42 A11 11 0 0 1 53 42'/%3E%3C/g%3E%3C/svg%3E")}
/* agent console block */
.console{background:#0a0a0b;border:1px solid var(--gold-dim);padding:1.5rem 1.7rem;font-family:var(--mono);font-size:.85rem;line-height:1.95;color:var(--muted);overflow-x:auto;white-space:pre;margin-top:1.6rem}
.console .g{color:var(--gold-2)}
.console .w{color:var(--fg)}
/* status tracker (borrower / member flows) */
.tracker{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:1.8rem}
.tracker .tstep{background:var(--panel);padding:1.15rem 1.15rem 1.05rem}
.tracker .tstep .st{font-family:var(--mono);font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dim)}
.tracker .tstep h4{font-family:var(--body);font-weight:600;font-size:.95rem;color:var(--fg);margin:.5rem 0 .35rem;line-height:1.35}
.tracker .tstep p{font-size:.86rem;margin:0;line-height:1.55}
.tracker .tstep.done .st{color:var(--gold-2)}
.tracker .tstep.now{box-shadow:inset 0 2px 0 var(--gold)}
.tracker .tstep.now .st{color:var(--gold-2)}
/* refined link + button motion */
a{transition:color .25s ease}
.cta{transition:background .3s ease,color .3s ease}
.card a.more{transition:color .3s ease}
@media (prefers-reduced-motion:reduce){.frame img,.cta,.card a.more{transition:none}}

/* ---------- V3 top-tier calibration 2026-11-14 ---------- */
/* tabular, calm numerals in every data context */
td,.tile .big,.card .price,.strip .v{font-variant-numeric:tabular-nums}

/* ---------- V6 mobile optimization 2026-11-14 ---------- */
/* Phones receive composed portrait hero crops (via <picture> in the markup),
   lighter bands and calmer frames. Every rule below lives inside a max-width
   query — desktop rendering is byte-for-byte the V3/V5 design. */
@media (max-width:768px){
  /* photo heroes (V7): no forced viewport height — the cover spans exactly
     the content (kicker, headline, lede, strip), so nothing is cut mid-row
     and the first impression is the complete hero, not a void plus text */
  .hero--photo{min-height:0}
  .hero--photo .hero__inner{padding:7.6rem 20px 3.2rem;width:100%}
  .hero--slim{min-height:52svh}
  .hero--slim .hero__inner{padding:4.6rem 20px 2.8rem}
  .hero--photo .lede{font-size:1.02rem}
  /* image bands: shorter window, subjects held by per-image positions */
  .band img{height:230px}
  .band img[src$="band-pen.jpg"]{object-position:72% 50%}
  .band img[src$="band-hands.jpg"]{object-position:50% 42%}
  /* framed photography: tighter mat, never wider than the viewport */
  .frame{padding:8px;outline-offset:4px;max-width:100%}
  .frame figcaption{padding-top:.6rem}
}
@media (max-width:480px){
  .hero--photo{min-height:0}
  .hero--photo .hero__inner{padding:6.6rem 18px 2.8rem}
  .hero--slim{min-height:52svh}
  .hero--slim .hero__inner{padding:4rem 18px 2.5rem}
  .band img{height:196px}
  .band .band__cap{bottom:.9rem}
}

/* ---------- V7 mobile repair 2026-11-14 ---------- */
/* Nav: one horizontally scrollable row on phones, and the sticky bar is
   SOLID — page text never shows through it while scrolling. The brand
   line stays above the links, as on desktop. Kicker: smaller type and
   calmer tracking, with room to wrap without hugging the right edge. */
@media (max-width:768px){
  nav{background:#050505;backdrop-filter:none}
  nav .links{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:18px;margin-left:0;width:100%;padding:2px 0}
  nav .links::-webkit-scrollbar{display:none}
  nav .links a{font-size:.62rem;letter-spacing:.18em;white-space:nowrap;flex:0 0 auto}
  .kicker{font-size:.6rem;letter-spacing:.18em;line-height:1.7;padding-right:1rem}
}

/* ---------- V8 futurization 2026-11-14 · Tesla / SpaceX / NVIDIA register ---------- */
/* Two-register typography: photo heroes speak in the FUTURE register —
   Manrope ExtraLight at poster scale, no italics, one gold accent word.
   Section H2s and the reading pages (plain heroes) keep Playfair 500,
   the institution register. Slim portal heroes use the future register
   at a smaller ramp. */
.hero--photo h1{font-family:var(--body);font-weight:200;font-size:clamp(2.6rem,6.5vw,4.6rem);line-height:1.04;letter-spacing:-.01em}
.hero--photo h1 em{font-style:normal;font-weight:200}
.hero--slim h1{font-size:clamp(1.9rem,4vw,2.9rem)}
/* Telemetry texture: a faint blueprint grid on selected dark sections —
   never over photography — and a 1px gold scan line at their tops. */
.bp-grid{background-image:linear-gradient(rgba(247,243,234,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(247,243,234,.035) 1px,transparent 1px);background-size:54px 54px}
.scan-top{position:relative}
.scan-top::before{content:"";position:absolute;top:-1px;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.55) 50%,transparent);z-index:1}
/* Big stat numerals carry a soft gold glow; nothing else glows. */
.tile .big{text-shadow:0 0 24px rgba(212,175,55,.25)}
/* Footer: one divider tier dropped (the last section no longer rules
   itself off from the footer) and more air. */
section:last-of-type{border-bottom:none}
/* Home hero video slot: SPECIFIED, UNPOPULATED in V8. The license-clean
   clip search was rejected on quality (see BUILD-REPORT V8) — no mediocre
   clip ships. When a flagship-grade clip exists, the layer is: a <video
   class="hero__video" autoplay muted loop playsinline> placed after the
   hero <picture> and before .hero__shade, styled position:absolute;inset:0;
   width/height:100%;object-fit:cover;z-index:0, hidden under
   prefers-reduced-motion and removed for save-data by a guard script. */
/* Scroll cue — home stage only, desktop only. On phones the V7
   content-height hero has no room for ceremony. */
.scrollcue{position:absolute;left:50%;bottom:1.05rem;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:.55rem;font-family:var(--mono);font-size:.58rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold-2)}
.scrollcue span{text-indent:.3em}
.scrollcue::after{content:"";width:1px;height:44px;background:linear-gradient(180deg,var(--gold-2),transparent)}
@media (max-width:768px){.scrollcue{display:none}}
/* The stage (desktop only — every rule below lives at min-width:769px,
   so the V6/V7 mobile system is untouched): photo heroes become
   full-viewport cinematic stages, copy anchored low like a Tesla
   poster, the shade lightened in its middle band so the machine
   dominates the frame. Chrome slims; sections gain Tesla air. */
@media (min-width:769px){
  .hero--photo{display:flex;flex-direction:column;justify-content:flex-end}
  .hero--photo .hero__inner{padding:6.5rem 22px 4.4rem}
  .hero--stage{min-height:100svh}
  .hero--stage .hero__inner{padding-bottom:5.9rem}
  .hero--stage84{min-height:84svh}
  .hero--stage72{min-height:72svh}
  .hero--slim{min-height:72svh}
  .hero--slim .hero__inner{padding:5rem 22px 3.6rem}
  .hero__shade{background:linear-gradient(180deg,rgba(6,6,7,.68) 0%,rgba(6,6,7,.38) 42%,rgba(6,6,7,.92) 100%),linear-gradient(90deg,rgba(6,6,7,.60) 0%,rgba(6,6,7,.20) 55%,rgba(6,6,7,0) 80%),radial-gradient(1000px 480px at 16% 0%,rgba(198,161,91,.15),transparent 60%)}
  nav .wrap{min-height:48px;padding-top:3px;padding-bottom:3px}
  section{padding:7.5rem 0}
}
