/* ==========================================================================
   STEVE FULTZ, PhD — "Obsidian & Gold" personal-authority design system
   Direction: near-black canvas, metallic gold, silver + warm-white accents.
   Display: Cormorant Garamond (intellectual high-contrast serif).
   Body: Manrope. Labels: tracked Manrope caps.
   Deliberately shares nothing with the Fultz Group (ivory/Fraunces) or
   Owner Shift systems. Built from scratch.
   ========================================================================== */

:root {
  /* Canvas */
  --void:        #08080A;   /* deepest background */
  --ink:         #0E0E11;   /* primary canvas */
  --panel:       #15151A;   /* raised panel */
  --panel-2:     #1C1C22;   /* hover / nested panel */
  --hairline:    rgba(201,162,74,.22);  /* gold hairline */
  --hairline-2:  rgba(255,255,255,.08); /* neutral hairline */

  /* Metals */
  --gold:        #C9A24A;   /* primary metallic gold */
  --gold-bright: #E7C870;   /* highlight gold */
  --gold-deep:   #8C6E2C;   /* shadow gold */
  --silver:      #C7CBD2;   /* silver accent */
  --silver-dim:  #8C9098;

  /* Text */
  --white:       #F6F3EC;   /* warm white — primary text */
  --text:        #D7D5CE;   /* body text */
  --muted:       #94959B;   /* secondary text */
  --faint:       #6A6B71;   /* tertiary / captions */

  /* Gold gradients (metallic) */
  --grad-gold:   linear-gradient(105deg, #8C6E2C 0%, #E7C870 38%, #C9A24A 60%, #F1DA94 82%, #9A7B2E 100%);
  --grad-rule:   linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-bright) 50%, var(--gold) 78%, transparent);

  /* Type families */
  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body:    "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Fluid scale */
  --t-eyebrow: .74rem;
  --t-body:    clamp(1.02rem, .97rem + .26vw, 1.2rem);
  --t-lede:    clamp(1.22rem, 1.04rem + .8vw, 1.7rem);
  --t-h3:      clamp(1.5rem, 1.2rem + 1.1vw, 2.2rem);
  --t-h2:      clamp(2.2rem, 1.5rem + 3vw, 4.2rem);
  --t-h1:      clamp(3rem, 1.7rem + 6.6vw, 8rem);
  --t-quote:   clamp(1.9rem, 1.3rem + 2.9vw, 3.6rem);
  --t-stat:    clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem);

  /* Layout */
  --pad-x:     clamp(1.25rem, 5vw, 4.5rem);
  --section-y: clamp(5rem, 10vw, 10rem);
  --maxw:      1280px;
  --maxw-text: 720px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain + gold ambience over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 78% -8%, rgba(201,162,74,.10), transparent 55%),
    radial-gradient(90% 60% at 10% 110%, rgba(201,162,74,.06), transparent 60%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-bright); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

p { margin: 0 0 1.1em; }
strong { color: var(--white); font-weight: 700; }
em { font-style: italic; color: var(--silver); }

/* ---- shared utilities ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.section { position: relative; z-index: 1; padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before {
  content: ""; width: 2.4em; height: 1px; background: var(--grad-rule); display: inline-block;
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.rule { height: 1px; background: var(--grad-rule); border: 0; margin: 0; opacity: .7; }

.lede { font-size: var(--t-lede); color: var(--silver); line-height: 1.5; font-weight: 300; }
.f-serif { font-family: var(--f-display); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-body); font-weight: 700; font-size: .92rem;
  letter-spacing: .04em; padding: .95em 1.6em; border-radius: 2px;
  transition: all .3s var(--ease); position: relative;
}
.btn-gold {
  background: var(--grad-gold); color: #1a1407;
  box-shadow: 0 10px 30px -12px rgba(201,162,74,.6);
}
.btn-gold:hover { color: #1a1407; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(201,162,74,.8); }
.btn-ghost {
  border: 1px solid var(--hairline); color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--pad-x);
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-block: .85rem;
  background: rgba(8,8,10,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline-2);
}
.brand {
  display: flex; align-items: baseline; gap: .6rem;
  font-family: var(--f-display); color: var(--white);
  font-size: 1.35rem; font-weight: 600; letter-spacing: .01em;
}
.brand .phd { font-family: var(--f-body); font-size: .62rem; font-weight: 700; letter-spacing: .28em; color: var(--gold); transform: translateY(-.55em); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a.navlink {
  font-family: var(--f-body); font-size: .82rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.nav-links a.navlink:hover { color: var(--white); }
.nav-cta { color: var(--ink) !important; }
.nav-toggle { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-grid {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; padding-top: 7rem; padding-bottom: 3rem;
}
.hero-copy { position: relative; }
.hero h1 { margin: .28em 0 .34em; }
.hero h1 .line { display: block; }
.hero h1 .l2 { color: var(--silver); }
.hero h1 .l3 { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lede { max-width: 38ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-figure {
  position: relative; justify-self: center;
  width: 100%; max-width: 460px; aspect-ratio: 1179 / 1620;
}
.hero-figure .glow {
  position: absolute; inset: -12% -8% -8% -8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,162,74,.34), rgba(201,162,74,.06) 60%, transparent 75%);
  filter: blur(8px);
}
.hero-figure .frame {
  position: relative; z-index: 1; height: 100%; width: 100%;
  border: 1px solid var(--hairline); padding: 10px;
  background: linear-gradient(160deg, rgba(201,162,74,.10), transparent 40%);
}
.hero-figure .photo {
  height: 100%; width: 100%; overflow: hidden; position: relative;
}
.hero-figure img {
  height: 100%; width: 100%; object-fit: cover; object-position: 38% 28%;
  filter: contrast(1.02);
}
/* scrim to tame the bright right edge + blend into page */
.hero-figure .photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, rgba(8,8,10,.55) 100%),
    linear-gradient(0deg, rgba(8,8,10,.7), transparent 30%);
}
.hero-figure .tag {
  position: absolute; z-index: 2; left: -1px; bottom: 26px;
  background: var(--ink); border-left: 2px solid var(--gold);
  padding: .55rem .9rem; font-family: var(--f-body);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver);
}

.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--faint);
}
.scroll-cue .dot { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); }

/* Marquee of credentials */
.creds-strip {
  position: relative; z-index: 1; border-block: 1px solid var(--hairline-2);
  background: var(--void); overflow: hidden; padding-block: 1.1rem;
}
.creds-track { display: flex; gap: 3.2rem; width: max-content; animation: marquee 38s linear infinite; }
.creds-strip:hover .creds-track { animation-play-state: paused; }
.creds-track span {
  font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3.2rem;
}
.creds-track span::after { content: "✦"; color: var(--gold); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   SECTION HEADERS
   ========================================================================= */
.sec-head { max-width: var(--maxw-text); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head h2 { margin: .5em 0 .4em; }
.sec-head .lede { color: var(--text); }

/* =========================================================================
   INTERSECTION — three pillars
   ========================================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline-2); border: 1px solid var(--hairline-2); }
.pillar { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.8rem); transition: background .4s var(--ease); }
.pillar:hover { background: var(--panel); }
.pillar .num { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.pillar h3 { margin: 1.4rem 0 .2rem; }
.pillar .role { font-family: var(--f-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-dim); margin-bottom: 1.1rem; }
.pillar p { font-size: .98rem; color: var(--muted); margin: 0; }

/* =========================================================================
   COMPANIES (operating) — proof grid
   ========================================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--hairline-2);
  padding: 1.8rem; border-radius: 3px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 2px;
  background: var(--grad-gold); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--hairline); }
.card:hover::before { transform: scaleY(1); }
.card .kicker { font-family: var(--f-body); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 1.5rem; margin: .9rem 0 .1rem; }
.card .meta { font-family: var(--f-body); font-size: .78rem; color: var(--silver-dim); letter-spacing: .04em; margin-bottom: .9rem; }
.card p { font-size: .96rem; color: var(--muted); margin: 0; }

.section-dark { background: var(--void); }

/* =========================================================================
   BUILD / brands ecosystem
   ========================================================================= */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.brand-card {
  display: flex; flex-direction: column; gap: .5rem;
  border: 1px solid var(--hairline-2); padding: 1.8rem; border-radius: 3px;
  background: linear-gradient(160deg, var(--panel), var(--ink)); transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.brand-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.brand-card .bc-top { display: flex; align-items: center; justify-content: space-between; }
.brand-card .stage { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-dim); border: 1px solid var(--hairline-2); padding: .25em .6em; border-radius: 2px; }
.brand-card .stage.live { color: var(--gold); border-color: var(--hairline); }
.brand-card h3 { font-size: 1.5rem; }
.brand-card .tag { font-family: var(--f-body); font-style: italic; color: var(--silver); font-size: .95rem; }
.brand-card p { font-size: .94rem; color: var(--muted); margin: .3rem 0 0; }

/* Build intro — Steve & Melissa image + heading */
.build-intro {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}
.side-figure { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1100 / 1400; justify-self: center; }
.side-figure .glow { position: absolute; inset: -10% -8%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,162,74,.30), rgba(201,162,74,.05) 60%, transparent 75%); filter: blur(8px); }
.side-figure .frame { position: relative; z-index: 1; height: 100%; border: 1px solid var(--hairline); padding: 10px; background: linear-gradient(160deg, rgba(201,162,74,.10), transparent 40%); }
.side-figure .photo { height: 100%; width: 100%; overflow: hidden; position: relative; }
.side-figure img { height: 100%; width: 100%; object-fit: cover; object-position: 52% 26%; }
.side-figure .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.55), transparent 32%); }
.side-figure .cap { position: absolute; z-index: 2; left: -1px; bottom: 22px; background: var(--ink); border-left: 2px solid var(--gold); padding: .5rem .85rem; font-family: var(--f-body); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }

/* =========================================================================
   AI section — the frontier
   ========================================================================= */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ai-quote { font-family: var(--f-display); font-size: var(--t-quote); color: var(--white); line-height: 1.08; }
.ai-quote .gold-text { display: inline; }
.ai-points { display: grid; gap: 1.4rem; }
.ai-point { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.ai-point .mk { font-family: var(--f-display); font-size: 1.7rem; color: var(--gold); line-height: 1; }
.ai-point h4 { font-family: var(--f-body); font-size: 1rem; color: var(--white); margin: 0 0 .3rem; font-weight: 700; }
.ai-point p { font-size: .94rem; color: var(--muted); margin: 0; }

/* =========================================================================
   IDEAS — signature concepts / pull quote
   ========================================================================= */
.bigquote { max-width: 22ch; margin: 0 auto; text-align: center; }
.bigquote .q { font-family: var(--f-display); font-size: var(--t-quote); color: var(--white); line-height: 1.1; }
.bigquote .src { display: block; margin-top: 1.6rem; font-family: var(--f-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.ideas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1px; background: var(--hairline-2); border: 1px solid var(--hairline-2); margin-top: clamp(2.5rem,5vw,4rem); }
.idea { background: var(--ink); padding: 1.9rem; }
.idea h4 { font-family: var(--f-display); font-size: 1.45rem; color: var(--white); margin: 0 0 .5rem; }
.idea p { font-size: .92rem; color: var(--muted); margin: 0; }
.idea .tm { color: var(--gold); font-size: .7em; vertical-align: super; }

/* =========================================================================
   PARTNERSHIP — Steve & Melissa
   ========================================================================= */
.partner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.partner .lede { color: var(--text); }
.partner blockquote { margin: 1.6rem 0 0; padding-left: 1.4rem; border-left: 2px solid var(--gold); font-family: var(--f-display); font-size: 1.5rem; color: var(--silver); line-height: 1.25; }

/* =========================================================================
   CTA + FOOTER
   ========================================================================= */
.cta { text-align: center; position: relative; z-index: 1; }
.cta .wrap { max-width: 880px; }
.cta h2 { margin-bottom: 1rem; }
.cta .lede { max-width: 48ch; margin: 0 auto 2.4rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.footer { border-top: 1px solid var(--hairline-2); background: var(--void); position: relative; z-index: 1; }
.footer .wrap { padding-block: 3.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer .brand { margin-bottom: 1rem; }
.footer p { font-size: .9rem; color: var(--faint); max-width: 36ch; }
.footer h5 { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-dim); margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer ul a { color: var(--muted); font-size: .92rem; }
.footer ul a:hover { color: var(--gold); }
.footer-base { border-top: 1px solid var(--hairline-2); }
.footer-base .wrap { padding-block: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-base p { font-size: .78rem; color: var(--faint); margin: 0; max-width: none; }

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .creds-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 6.5rem; gap: 2.5rem; }
  .hero-figure { order: -1; max-width: 320px; }
  .hero .lede { max-width: 52ch; }
  .pillars { grid-template-columns: 1fr; }
  .ai { grid-template-columns: 1fr; gap: 2rem; }
  .build-intro { grid-template-columns: 1fr; gap: 2.2rem; }
  .side-figure { order: -1; max-width: 300px; }
  .partner { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; padding: 2rem var(--pad-x); background: rgba(8,8,10,.97); backdrop-filter: blur(16px); transform: translateX(100%); transition: transform .4s var(--ease); border-left: 1px solid var(--hairline); }
  .nav-links.open { transform: none; }
  .nav-links a.navlink { font-size: 1rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; z-index: 60; padding: .4rem; }
  .nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer-base .wrap { flex-direction: column; align-items: flex-start; }
}
