/* ────────────────────────────────────────────────────────────
   TexInvestCo — WHAT WE DO (what-we-do.html) styles
   Loaded after css/shared.css.
   ──────────────────────────────────────────────────────────── */

body{line-height:1.7;padding-top:68px;}

/* Fixed nav, matching the homepage — position:sticky was silently broken
   here because shared.css sets overflow-x:hidden on html/body, and per the
   CSS overflow spec that forces the other axis to compute as overflow-y:auto,
   which makes body/html into position:sticky's nearest scrolling ancestor
   instead of the viewport. Fixed positioning sidesteps that bug entirely. */
nav{position:fixed;top:0;left:0;right:0;width:100%;box-sizing:border-box;}
/* This page's wordmark runs slightly smaller than the other subpages —
   a pre-existing, page-specific difference, preserved here. */
.nword{font-size:0.95rem;}

/* HERO — single-column, left-aligned text (decorative art panel removed) */
.wd-hero{
  position:relative;padding:72px 5vw 52px;overflow:hidden;
  background:linear-gradient(150deg,#111d33 0%,#1a2e50 50%,#111d33 100%);
}
.wd-hero-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 60% 55% at 50% 40%,rgba(202,168,75,0.05) 0%,transparent 65%);}
.wd-hero-grid{position:relative;z-index:1;max-width:1100px;margin:0 auto;}
.wd-hero-text{text-align:left;}
.wd-eyebrow{
  display:flex;align-items:center;gap:0.8rem;
  font-size:0.62rem;font-weight:500;letter-spacing:0.42em;text-transform:uppercase;color:var(--gold);margin-bottom:16px;
}
.wd-eyebrow::before{content:'';width:22px;height:1px;background:var(--gold);flex-shrink:0;}
.wd-title{font-family:var(--fd);font-size:clamp(26px,3.4vw,40px);font-weight:600;color:var(--hi);line-height:1.2;margin-bottom:20px;}
.wd-title em{font-style:normal;color:var(--gold);font-weight:400;}
.wd-intro{font-size:1.125rem;font-weight:300;color:var(--mid);line-height:1.85;max-width:680px;margin:0;}
.wd-intro+.wd-intro{margin-top:1rem;}

/* SECTIONS */
.sec{padding:72px 5vw;}
.bg0{background:var(--bg-0);}
.bg1{background:var(--bg-1);}
.si{max-width:1080px;margin:0 auto;}
.seye{display:flex;align-items:center;gap:0.8rem;font-size:0.6rem;font-weight:500;letter-spacing:0.38em;text-transform:uppercase;color:var(--gold);margin-bottom:1.2rem;}
.seye::before{content:'';width:22px;height:1px;background:var(--gold);}
.stit{font-family:var(--fd);font-size:clamp(1.5rem,3vw,2.4rem);font-weight:600;letter-spacing:0.03em;color:var(--hi);line-height:1.2;margin-bottom:2rem;}
.stit em{font-style:normal;color:var(--gold);font-weight:400;}

/* SPLIT: TexInvestCo / Murkez */
.split{display:grid;grid-template-columns:1fr 44px 1fr;align-items:stretch;margin-top:1rem;}
.split-box{display:flex;flex-direction:column;border:1px solid var(--gb);padding:32px 28px;}
.split-name{font-family:var(--fd);font-size:0.71rem;font-weight:600;letter-spacing:0.28em;text-transform:uppercase;color:var(--gold);margin-bottom:14px;}
.split-line{font-size:1rem;font-weight:300;color:var(--hi);line-height:1.7;}
.split-join{display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:1.4rem;}
.split-join .ah{display:inline;}
.split-join .av{display:none;}

/* CAPABILITY TILES */
.caps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--gb);margin-top:1rem;}
.cap{background:var(--bg-1);padding:1.6rem 1.4rem;border-top:2px solid transparent;transition:border-color 0.2s,background 0.2s;}
.cap:hover{border-top-color:var(--gold);background:rgba(202,168,75,0.04);}
.cap-icon{width:24px;height:24px;color:var(--gold);margin-bottom:0.8rem;}
.cap-name{font-size:0.81rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--hi);margin-bottom:0.5rem;}
.cap-line{font-size:1rem;font-weight:300;color:var(--mid);line-height:1.6;}
.caps-foot{margin-top:1.6rem;}
.caps-link{font-size:0.78rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);text-decoration:none;transition:color 0.2s;}
.caps-link:hover{color:var(--hi);}

/* CAPITAL STRUCTURE */
.cap-struct{background:var(--bg-1);border:1px solid var(--gb);border-top:2px solid var(--gold);padding:2.4rem 2.2rem;margin-top:1rem;}
.cap-struct p{font-size:1.125rem;font-weight:300;color:var(--mid);line-height:1.85;margin-bottom:1.2rem;}
.cap-struct p:last-child{margin-bottom:0;}
.cap-struct strong{color:var(--hi);font-weight:500;}
.cap-struct-risk{border-top:1px solid var(--gf);padding-top:1.4rem;margin-top:1.6rem;font-style:italic;}
.cap-struct-risk .win{color:var(--gold);font-style:normal;font-weight:500;}

/* BEYOND / FOR FOUNDERS-ACQUIRERS */
.beyond-sec{
  position:relative;overflow:hidden;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 500' preserveAspectRatio='none'%3E%3Cpath d='M-80,300 C180,180 420,380 680,260 C940,140 1160,340 1420,220' fill='none' stroke='rgba(201,168,76,0.08)' stroke-width='1.5'/%3E%3Cpath d='M-80,400 C160,300 360,440 620,320 C880,200 1080,420 1340,300' fill='none' stroke='rgba(201,168,76,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.beyond-sec .si{position:relative;z-index:1;}
.beyond-intro{font-size:1.125rem;font-weight:300;color:var(--mid);line-height:1.85;max-width:680px;margin-bottom:2.4rem;}
.ba-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--gb);}
.ba-card{background:var(--bg-0);padding:2.2rem 2rem;}
.ba-card-t{font-size:0.75rem;font-weight:600;letter-spacing:0.16em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem;}
.ba-card-b{font-size:1rem;font-weight:300;color:var(--mid);line-height:1.8;}
.beyond-close{text-align:center;font-family:var(--fd);font-size:1.15rem;font-weight:400;color:var(--hi);letter-spacing:0.04em;margin-top:2.4rem;}

/* TEAM (3-column layout on this page) */
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--gb);}
.titem{background:var(--bg-1);padding:2rem 1.8rem;display:flex;flex-direction:column;transition:background 0.2s;}
.titem:hover{background:rgba(202,168,75,0.04);}
.tname{font-family:var(--fd);font-size:1rem;font-weight:600;color:var(--hi);margin-bottom:0.3rem;}
.trole{font-size:0.66rem;font-weight:600;letter-spacing:0.16em;text-transform:uppercase;color:var(--gold);margin-bottom:0.9rem;}
.tbio{font-size:1rem;font-weight:300;line-height:1.75;color:var(--mid);flex:1;}
.tbio-ext{max-height:0;overflow:hidden;transition:max-height 0.35s ease,margin 0.3s ease;font-size:1rem;font-weight:300;line-height:1.75;color:var(--mid);}
.titem.on .tbio-ext{max-height:420px;margin-top:0.8rem;}
.tfoot{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--gf);}
.tlink{font-size:0.69rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);text-decoration:none;transition:color 0.2s;}
.tlink:hover{color:var(--hi);}
/* padding+negative margin enlarges the tap target toward 44px without shifting visual position/layout */
.tmore{font-size:0.69rem;font-weight:400;letter-spacing:0.1em;text-transform:uppercase;color:var(--lo);background:none;border:none;cursor:pointer;transition:color 0.2s;padding:16px 6px;margin:-16px -6px;}
.tmore:hover{color:var(--hi);}

/* RESPONSIVE */
@media(max-width:900px){
  .caps{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:720px){
  .sec{padding:44px 5vw;}
  .split{grid-template-columns:1fr;}
  .split-join{padding:8px 0;}
  .split-join .ah{display:none;}
  .split-join .av{display:inline;}
  .ba-grid{grid-template-columns:1fr;}
  .wd-hero{padding:44px 5vw 36px;}
  .tgrid{grid-template-columns:1fr;}
}
