/* ===========================================================================
   Frerich United Ventures — Studio design system
   Built to launch. Structured to sell.
   =========================================================================== */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --text: #14141A;
  --muted: #6B6B73;
  --faint: #9A9AA2;
  --line: #ECECE8;
  --line-strong: #DDDDD6;
  --ink: #14141A;
  --pill: #18181B;
  --radius: 22px;
  --grad: linear-gradient(90deg, #7C3AED, #2563EB, #16A34A);
  --grad-2: linear-gradient(120deg, #7C3AED 0%, #2563EB 55%, #16A34A 100%);
  --shadow-sm: 0 1px 2px rgba(20,20,30,.04), 0 1px 1px rgba(20,20,30,.03);
  --shadow-md: 0 16px 50px rgba(20,20,30,.10), 0 2px 8px rgba(20,20,30,.05);
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; }
.grad-bar { height: 4px; width: 100%; background: var(--grad); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.accent-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* eyebrow / kicker */
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------------- Nav ---------------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(250,250,248,.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; font-size: 16px; text-decoration: none; color: var(--text); }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--pill); color: #fff; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 14px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 13px; border-radius: 100px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: rgba(20,20,30,.04); }
.nav-links a.active { color: var(--text); }
.nav-cta { background: var(--pill); color: #fff !important; padding: 9px 18px !important; }
.nav-cta:hover { background: #000 !important; }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 100px; font-size: 14.5px; font-weight: 600; font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid var(--line-strong); color: var(--text); background: transparent; transition: all .2s; }
.btn:hover { border-color: var(--text); transform: translateY(-1px); }
.btn.primary { background: var(--pill); color: #fff; border-color: var(--pill); }
.btn.primary:hover { background: #000; }
.btn.grad { background: var(--grad-2); color: #fff; border: none; }
.btn.grad:hover { filter: brightness(1.07); }
.btn.sm { padding: 9px 16px; font-size: 13px; }

/* ---------------- Hero ---------------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(40px, 7vw, 82px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; margin: 20px 0 22px; max-width: 14ch; }
.hero .sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 620px; margin-bottom: 34px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta .hm { }
.hero-meta .hm .n { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.hero-meta .hm .l { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

/* one-liner band */
.band { background: var(--pill); color: #fff; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 85% -40%, rgba(124,58,237,.4), transparent 60%), radial-gradient(700px 320px at 5% 140%, rgba(22,163,74,.28), transparent 60%); }
.band .wrap { position: relative; z-index: 1; padding: 60px 28px; }
.band h2 { font-size: clamp(24px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; max-width: 18ch; }
.band p { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 60ch; font-size: 16px; }

/* ---------------- Section scaffold ---------------- */
section.block { padding: 80px 0; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 14px 0 12px; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* ---------------- Pillars (Build/Package/Operate/Exit) ---------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 700; }
.pillar h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 10px 0 8px; }
.pillar p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------------- Process stepper ---------------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 14px; }
.step .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); position: relative; z-index: 2; margin-bottom: 18px; }
.step::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--line-strong); z-index: 1; }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step .si { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--faint); letter-spacing: .08em; }
.step h4 { font-size: 16px; font-weight: 700; margin: 4px 0 6px; letter-spacing: -0.01em; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------------- Venture teaser grid (start page) ---------------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 168px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tcard .cat { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tcard .tlogo { height: 40px; display: flex; align-items: center; margin: 6px 0 14px; }
.tcard .tlogo img, .tcard .tlogo svg { height: 100%; width: auto; max-width: 160px; object-fit: contain; }
.tcard h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.tcard .role { color: var(--muted); font-size: 13px; margin-top: 4px; flex: 1; }
.tcard .tstatus { margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; display: inline-flex; align-items: center; gap: 7px; }
.tcard .tstatus .d { width: 7px; height: 7px; border-radius: 50%; }
.d.sale { background: #16A34A; } .d.invest { background: #3b82f6; } .d.flag { background: #a1a1aa; } .d.net { background: #a78bfa; }

/* ---------------- Portfolio venture rows ---------------- */
.venture { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.venture .brandpanel { position: relative; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; overflow: hidden; }
.venture .brandpanel .plogo { display: flex; align-items: center; height: 70px; }
.venture .brandpanel .plogo img, .venture .brandpanel .plogo svg { width: auto; display: block; }
.venture .brandpanel .pdom { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.venture .body { padding: 30px 32px; }
.venture .vcat { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.venture .vname { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 8px; }
.venture .vdesc { color: var(--text); opacity: .85; font-size: 15px; max-width: 64ch; margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.facts .f .fl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.facts .f .fv { font-size: 14px; font-weight: 600; margin-top: 2px; line-height: 1.4; }
.venture .vactions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.venture .dossier { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 9px; margin-left: 4px; }
.venture .dossier a { color: var(--text); text-decoration: none; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line-strong); }
.venture .dossier a:hover { border-color: var(--text); }
.vbadge { position: absolute; top: 26px; right: 28px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.vbadge .bd { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vbadge.sale { color: #16A34A; border: 1px solid rgba(22,163,74,.4); }
.vbadge.invest { color: #3b82f6; border: 1px solid rgba(59,130,246,.4); }
.vbadge.network { color: #a78bfa; border: 1px solid rgba(167,139,250,.45); }

/* brand panel themes */
.bp-zehnx { background: #0a0a0f; color: #fff; } .bp-zehnx::after { content:""; position:absolute; inset:0; background: radial-gradient(420px 200px at 88% -30%, rgba(124,58,237,.4), transparent 60%); }
.bp-zehnx .pdom { color: rgba(255,255,255,.6); }
.bp-flow { background: #f1edf8; color: #4a4560; }
.bp-flow .pdom { color: #8a85a0; }
.bp-unvld { background: #111114; color: #e9e9ef; } .bp-unvld::after { content:""; position:absolute; inset:0; background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 40%); }
.bp-unvld .pdom { color: rgba(233,233,239,.55); }
.bp-amuse { background: #131211; color: #f3ecdd; } .bp-amuse::after { content:""; position:absolute; inset:0; background: radial-gradient(420px 200px at 85% -30%, rgba(184,155,94,.2), transparent 60%); }
.bp-amuse .pdom { color: rgba(243,236,221,.6); }
.bp-sonne { background: #fff3d9; color: #5a4a2a; }
.bp-sonne .pdom { color: #a8986f; }
.bp-lecafe { background: #ece0c9; color: #111418; }
.bp-lecafe .pdom { color: #7c6f55; }
.bp-sk { background: #000; color: #fff; } .bp-sk .pdom { color: rgba(255,255,255,.55); }
.bp-sk .plogo img { filter: invert(1); }
.bp-sbr { background: #000; color: #fff; } .bp-sbr .pdom { color: rgba(255,255,255,.55); }
.bp-bacon { background: #f3ecdd; color: #0A1628; } .bp-bacon .pdom { color: #9a7d33; }
.bp-bacon .plogo img { mix-blend-mode: multiply; }
.brandpanel > * { position: relative; z-index: 1; }

/* ---------------- Generic feature cards (for-buyers / about) ---------------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.fcard h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.fcard p { color: var(--muted); font-size: 14px; }
.fcard .ic { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 700; margin-bottom: 12px; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 28px; }
.checklist li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }

/* CTA section */
.cta-block { background: var(--pill); color: #fff; border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.cta-block::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 280px at 88% -30%, rgba(124,58,237,.4), transparent 60%), radial-gradient(600px 300px at 0% 140%, rgba(22,163,74,.26), transparent 60%); }
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,.75); max-width: 52ch; margin-bottom: 28px; }
.cta-block .btn.primary { background: #fff; color: var(--pill); border-color: #fff; }
.cta-block .btn { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-block .btn:hover { border-color: #fff; }

/* asset cards (brand packages for sale) */
.asset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.asset .atag { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #16A34A; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.asset .atag .d { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; }
.asset h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.asset p { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.asset .ameta { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--faint); margin: 14px 0; }
.asset .btn { align-self: flex-start; }

/* domain list */
.domaingroup { margin-bottom: 26px; }
.domaingroup h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.domainlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.domainrow { background: var(--surface); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.domainrow .dn { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; font-weight: 500; }
.domainrow .dp { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--faint); }
@media (max-width: 640px) { .domainlist { grid-template-columns: 1fr; } }

/* about */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.skill { font-family: 'JetBrains Mono', monospace; font-size: 12px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--muted); }

/* ---------------- Footer ---------------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 48px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid .brandcol .brand { margin-bottom: 14px; }
.foot-grid .tagline { font-weight: 600; margin-bottom: 4px; }
.foot-grid .muted { color: var(--muted); font-size: 13.5px; }
.foot-grid h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.foot-grid .col a, .foot-grid .col p { display: block; font-size: 14px; text-decoration: none; color: var(--text); margin-bottom: 5px; }
.foot-grid .col a:hover { color: #2563EB; }
.foot-grid .col .muted { color: var(--muted); }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .step:nth-child(3)::before, .step:last-child::before { right: -50%; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .venture { grid-template-columns: 1fr; }
  .venture .brandpanel { min-height: 180px; flex-direction: row; align-items: center; }
  .about-hero { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 0 44px; }
  .pillars, .cards3, .cards2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .teaser-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .cta-block { padding: 36px 26px; }
  .foot-grid { grid-template-columns: 1fr; }
}
