/* ============================================================
   Paris Smith — parissmith.com
   Design system: deep navy + warm gold, Fraunces / Inter
   ============================================================ */

:root {
  --bg: #0a1020;
  --bg-elevated: #101a30;
  --bg-card: #131f38;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9edf5;
  --text-muted: #9aa6bd;
  --gold: #d9a441;
  --gold-soft: #e8c178;
  --coral: #ef6f5a;
  --teal: #2fb8a6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 16px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #c08a2e);
  color: #14100a;
  box-shadow: 0 8px 24px rgba(217, 164, 65, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 164, 65, 0.35);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.btn--full { width: 100%; font-family: var(--font-body); font-size: 1rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: rgba(10, 16, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__brand span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--text); }

.nav__links a.nav__cta {
  color: var(--gold);
  border: 1px solid rgba(217, 164, 65, 0.45);
  padding: 9px 22px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__links a.nav__cta:hover {
  background: var(--gold);
  color: #14100a;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(47, 184, 166, 0.10), transparent 60%),
    var(--bg);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.hero__glow--one {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -120px;
  background: rgba(217, 164, 65, 0.13);
}

.hero__glow--two {
  width: 480px;
  height: 480px;
  bottom: -200px;
  left: -140px;
  background: rgba(239, 111, 90, 0.10);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero__portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
}

.hero__portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero__portrait::after {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.35), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.hero__sub {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.35; transform: scaleY(0.7); }
}

/* ---------- Sections (shared) ---------- */

.section { padding: 110px 0; }

.section__head { margin-bottom: 56px; max-width: 680px; }

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section__sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- About ---------- */

.about { background: var(--bg-elevated); }

.about__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__text p + p { margin-top: 1.3em; }

.about__text { color: #c3ccdd; }

.about__facts {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.fact {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}

.fact__label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Philosophy ---------- */

.philosophy {
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(217, 164, 65, 0.07), transparent 65%),
    var(--bg);
}

.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 72px;
}

.philosophy__quote em {
  font-style: italic;
  color: var(--gold-soft);
}

.philosophy__traits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trait {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.trait:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 65, 0.4);
}

.trait__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.12);
  color: var(--gold);
  font-size: 1.2rem;
}

.trait h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.trait p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Cards / logo grids ---------- */

.orgs { background: var(--bg-elevated); }

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--orgs { grid-template-columns: repeat(2, 1fr); }
.card-grid--invest { grid-template-columns: repeat(5, 1fr); }
.card-grid--pods { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 65, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card--compact {
  text-align: center;
  padding: 40px 24px;
}

.card--compact h3 { margin-bottom: 0; font-size: 1.15rem; }

.card--compact .logo-mark { margin-left: auto; margin-right: auto; }

/* Placeholder logo marks — replace with <img> tags when real logos arrive */
.logo-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.logo-mark--img {
  background: none;
  padding: 0;
  overflow: hidden;
}

.logo-mark--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-mark--bsc  { background: linear-gradient(135deg, #d9a441, #b3791f); }
.logo-mark--zero { background: linear-gradient(135deg, #2fb8a6, #1b7a6e); }
.logo-mark--dto  { background: linear-gradient(135deg, #ef6f5a, #c14834); font-size: 1.05rem; }
.logo-mark--lw   { background: linear-gradient(135deg, #6d7ff0, #4453c4); }
.logo-mark--4c   { background: linear-gradient(135deg, #8a5cf6, #5d36c2); }
.logo-mark--ht   { background: linear-gradient(135deg, #f0654d, #c23d28); }
.logo-mark--wg   { background: linear-gradient(135deg, #34a4eb, #1f6fb0); }
.logo-mark--ww   { background: linear-gradient(135deg, #3dbd7d, #248a57); }
.logo-mark--kero { background: linear-gradient(135deg, #f0b429, #d98014); }

/* ---------- Podcasts ---------- */

.podcasts { background: var(--bg-elevated); }

.pod {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.pod__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pod__badge {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.14);
  color: var(--gold);
  font-size: 0.8rem;
}

.pod__host {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pod__link {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.pod:hover .pod__link { color: var(--gold-soft); }

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(ellipse 80% 80% at 50% 110%, rgba(47, 184, 166, 0.08), transparent 60%),
    var(--bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact__intro .section__sub { max-width: 400px; }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  gap: 22px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form__field input,
.form__field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(154, 166, 189, 0.55);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.15);
}

.form__status {
  min-height: 1.4em;
  font-size: 0.95rem;
  text-align: center;
}

.form__status--success { color: var(--teal); }
.form__status--error { color: var(--coral); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer__brand span { color: var(--gold); }

.footer__meta {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover { color: var(--gold); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .section { padding: 84px 0; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: calc(var(--nav-h) + 16px);
  }

  .hero__portrait { order: -1; width: min(72%, 280px); }

  .hero__title { font-size: clamp(2.4rem, 11vw, 4rem); }

  .hero__sub { margin-left: auto; margin-right: auto; }

  .hero__actions { justify-content: center; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__facts {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy__traits { grid-template-columns: repeat(2, 1fr); }

  .card-grid--invest { grid-template-columns: repeat(3, 1fr); }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(9, 14, 28, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__links a {
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__links a.nav__cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(217, 164, 65, 0.45);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 720px) {
  .card-grid--pods { grid-template-columns: 1fr; }
}

/* Mobile performance: drop GPU-heavy scroll effects that cause jank on phones */
@media (max-width: 820px) {
  /* backdrop-filter re-blurs the page every scroll frame — very expensive on mobile */
  .nav--scrolled {
    background: rgba(9, 14, 28, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* large blur() filters are costly to composite while scrolling */
  .hero__glow { display: none; }

  /* show content immediately instead of animating on scroll */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* keep the role line to one line on small screens */
  .hero__tagline-extra { display: none; }
}

@media (max-width: 600px) {
  .about__facts { grid-template-columns: 1fr; }
  .philosophy__traits { grid-template-columns: 1fr; }
  .card-grid--orgs { grid-template-columns: 1fr; }
  .card-grid--invest { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .footer__inner { justify-content: center; text-align: center; }
}
