/* ============================================
   JUSTIN LEONETTI — Personal Brand Site
   Color Palette:
     --charcoal:  #1A1A1A  (base)
     --gold:      #C9A84C  (primary accent)
     --red:       #8B1A1A  (secondary accent)
     --cream:     #F5F0E6  (text on dark)
     --charcoal-2:#2A2A2A  (card/hover)
   ============================================ */

:root {
  --charcoal: #1A1A1A;
  --charcoal-2: #2A2A2A;
  --charcoal-3: #3A3A3A;
  --gold: #C9A84C;
  --gold-hover: #E0BE5C;
  --red: #A0282A;
  --red-hover: #B83438;
  --red-dark: #6E1C1E;
  --cream: #F5F0E6;
  --cream-dim: #B8B3A8;
  --sidebar-width: 240px;
}

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

/* Custom property for animating conic gradient rotation */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-sheen {
  to { --angle: 360deg; }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--charcoal);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-hover);
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--charcoal-2);
  border-right: 1px solid var(--charcoal-3);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.sidebar__tagline {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
  font-weight: 500;
}

.sidebar__nav {
  list-style: none;
  flex: 1;
}

.sidebar__nav li {
  margin-bottom: 1rem;
}

.sidebar__nav a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
  border-left: 2px solid transparent;
  padding-left: 1rem;
  transition: all 0.25s ease;
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--gold);
  border-left-color: var(--gold);
}

.sidebar__nav a.coming-soon {
  opacity: 0.5;
  cursor: default;
}

.sidebar__nav a.coming-soon:hover {
  color: var(--cream-dim);
  border-left-color: transparent;
}

.sidebar__nav .coming-soon-label {
  display: block;
  font-size: 0.65rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.sidebar__social {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--charcoal-3);
}

.sidebar__social a {
  display: inline-block;
  margin-right: 1rem;
  color: var(--cream-dim);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

section {
  padding: 6rem 4rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
  will-change: transform;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg,
      rgba(26,26,26,0.92) 0%,
      rgba(26,26,26,0.75) 35%,
      rgba(26,26,26,0.3) 65%,
      rgba(26,26,26,0.15) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 6rem;
  max-width: 900px;
}

.hero__name {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

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

.hero__tagline {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: var(--cream);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  max-width: 600px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   FREE OFFER BAR
   ============================================ */
.offer-bar {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 3rem 4rem;
  text-align: center;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.offer-bar__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.offer-bar__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.offer-bar__subtitle {
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.offer-bar__form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.offer-bar__form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: none;
  background: rgba(255,255,255,0.95);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
}

.offer-bar__form button {
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  padding: 0.9rem 2rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 2px;
}

.offer-bar__form button:hover {
  background: var(--gold-hover);
}

.offer-bar__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.7;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
}

.section-header__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
}

/* ============================================
   BACKED BY ME
   ============================================ */
.backed {
  background: var(--charcoal);
}

.backed__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.backed__grid .venture-card--coming-soon {
  grid-column: 2;
}

@media (max-width: 900px) {
  .backed__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .backed__grid .venture-card--coming-soon {
    grid-column: 1;
  }
}

.venture-card {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--charcoal-2), var(--charcoal-2)) padding-box,
    linear-gradient(var(--charcoal-3), var(--charcoal-3)) border-box;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.venture-card:hover {
  transform: translateY(-6px);
  color: inherit;
  background:
    linear-gradient(180deg, var(--charcoal-2) 0%, #332F22 100%) padding-box,
    conic-gradient(from var(--angle),
      var(--gold) 0deg,
      rgba(201, 168, 76, 0.15) 80deg,
      rgba(201, 168, 76, 0.15) 280deg,
      var(--gold) 360deg
    ) border-box;
  animation: rotate-sheen 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.6),
    0 0 30px -10px rgba(201, 168, 76, 0.25);
}

.venture-card__logo {
  width: 200px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
}

.venture-card:hover .venture-card__logo {
  transform: scale(1.04);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}

.venture-card__link {
  transition: letter-spacing 0.35s ease, color 0.35s ease;
}

.venture-card:hover .venture-card__link {
  letter-spacing: 0.2em;
  color: var(--gold-hover);
}

.venture-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.venture-card__logo--placeholder {
  background: var(--charcoal-3);
  border: 1px dashed var(--gold);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.venture-card__name {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.venture-card__desc {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.venture-card__link {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.venture-card--coming-soon {
  opacity: 0.75;
}

.venture-card--coming-soon:hover {
  opacity: 1;
}

/* ============================================
   BY THE NUMBERS
   ============================================ */
.stats {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

/* ============================================
   PHILOSOPHY — auto-cycling horizontal swipe
   ============================================ */
.philosophy {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.philosophy__sticky {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.philosophy__sticky .section-header {
  margin-bottom: 2rem;
}

.philosophy__tagline {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--gold);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.4;
}

.principles {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 260px;
  margin: 0 auto;
}

.principle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transform: translateX(120%);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.principle--active {
  transform: translateX(0);
  opacity: 1;
}

.principle--exit {
  transform: translateX(-120%);
  opacity: 0;
}

.principle__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.principle__text {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--cream);
  line-height: 1.6;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  max-width: 600px;
}

.principles__progress {
  display: flex;
  gap: 0.75rem;
  margin-top: 3rem;
  justify-content: center;
}

.principles__dot {
  width: 40px;
  height: 3px;
  background: var(--charcoal-3);
  border-radius: 2px;
  transition: background 0.4s ease, width 0.4s ease;
}

.principles__dot.active {
  background: var(--gold);
  width: 60px;
}

/* Mobile: stacked reveal, no swipe */
@media (max-width: 900px) {
  .principles {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .principle {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    transition: none;
  }
  .principles__progress {
    display: none;
  }
}

/* ============================================
   CONNECT CTA
   ============================================ */
.connect {
  background: linear-gradient(180deg, var(--charcoal-2) 0%, var(--charcoal) 100%);
}

.connect__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  color: var(--cream-dim);
  font-size: 1.05rem;
}

.connect__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.connect-option {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--charcoal-2), var(--charcoal-2)) padding-box,
    linear-gradient(var(--charcoal-3), var(--charcoal-3)) border-box;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
  position: relative;
}

.connect-option:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(180deg, var(--charcoal-2) 0%, #332F22 100%) padding-box,
    conic-gradient(from var(--angle),
      var(--gold) 0deg,
      rgba(201, 168, 76, 0.15) 80deg,
      rgba(201, 168, 76, 0.15) 280deg,
      var(--gold) 360deg
    ) border-box;
  animation: rotate-sheen 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.6),
    0 0 30px -10px rgba(201, 168, 76, 0.25);
}

.connect-option__icon {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.35s ease,
              color 0.35s ease;
}

.connect-option:hover .connect-option__icon {
  transform: scale(1.1) rotate(-3deg);
  background: var(--gold);
  color: var(--charcoal);
}

.connect-option__btn {
  transition: all 0.35s ease;
}

.connect-option:hover .connect-option__btn {
  background: var(--gold);
  color: var(--charcoal);
  letter-spacing: 0.18em;
}

.connect-option__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.connect-option__title {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.connect-option__desc {
  font-size: 0.9rem;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.connect-option__btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.connect-option__btn:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0F0F0F;
  padding: 3rem 4rem;
  text-align: center;
  border-top: 1px solid var(--charcoal-3);
}

.footer__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer__tagline {
  color: var(--gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer__social {
  margin-bottom: 1.5rem;
}

.footer__social a {
  display: inline-block;
  margin: 0 1rem;
  color: var(--cream-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__copyright {
  color: var(--cream-dim);
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ============================================
   STORY PAGE
   ============================================ */
.story-page {
  margin-left: var(--sidebar-width);
  padding: 6rem 4rem;
  max-width: 900px;
}

.story-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  color: var(--cream);
}

.story-page__subtitle {
  color: var(--gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--charcoal-3);
}

.chapter {
  margin-bottom: 5rem;
  position: relative;
}

.chapter__label {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.chapter__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.chapter p {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 720px;
}

.chapter__placeholder-img {
  background: linear-gradient(135deg, var(--charcoal-3) 0%, var(--charcoal-2) 100%);
  border: 2px dashed var(--gold);
  padding: 4rem;
  text-align: center;
  color: var(--gold);
  font-size: 0.85rem;
  margin: 2rem 0;
  max-width: 720px;
}

.chapter__img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 2rem 0;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chapter__pullquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 2rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
  max-width: 720px;
  margin: 2rem 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1.5rem;
  }

  .main, .story-page {
    margin-left: 0;
  }

  section, .story-page {
    padding: 4rem 1.5rem;
  }

  .hero__content {
    padding: 0 1.5rem;
  }

  .hero__placeholder {
    position: static;
    transform: none;
    width: 100%;
    max-width: 300px;
    height: 400px;
    margin: 2rem auto 0;
  }

  .offer-bar {
    padding: 2rem 1.5rem;
  }

  .offer-bar__form {
    flex-direction: column;
  }

  .footer {
    padding: 2rem 1.5rem;
  }
}
