:root {
  --cream: #faf6f1;
  --warm-white: #fffcf8;
  --sage: #8b9e7e;
  --sage-light: #c2ceac;
  --sage-dark: #5a6e4e;
  --brown: #6b5442;
  --brown-light: #a08670;
  --brown-dark: #3e2e22;
  --rose: #c4a38e;
  --rose-light: #e2cfc0;
  --charcoal: #2c2825;
  --footer-dark: #1e1b18;
  --text: #3a3530;
  --text-light: #7a7067;
  --text-on-dark-muted: #938e88;
  --footer-text: #65605b;
  --serif: "Playfair Display", Georgia, serif;
  --body: "Lora", Georgia, serif;
  --sans: "Josefin Sans", -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 17px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

/* Subtle grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Section labels */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--sage-light);
}

.section-label.label-left {
  justify-content: flex-start;
}

.section-label.label-left::after {
  display: none;
}

.section-label.label-dark {
  color: var(--sage-light);
}

.section-label.label-dark::before,
.section-label.label-dark::after {
  background: rgba(139, 158, 126, 0.4);
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 48px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
  transition: color 0.5s ease;
}

.site-nav.scrolled .nav-logo {
  color: var(--brown-dark);
}

.nav-link {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
  margin-left: 40px;
  transition: color 0.3s ease;
}

.site-nav.scrolled .nav-link {
  color: var(--text-light);
}

.nav-link:hover {
  color: var(--sage-light) !important;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  background:
    linear-gradient(to top, rgba(44, 40, 37, 0.85), rgba(44, 40, 37, 0.15)),
    url("images/hero-peru.jpg") center 18% / cover no-repeat;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--warm-white);
  margin-bottom: 24px;
}

.hero-name em {
  font-style: italic;
  color: var(--sage-light);
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 252, 248, 0.7);
  line-height: 2;
}

.hero-tagline span {
  margin: 0 8px;
  opacity: 0.4;
}

/* Intro / Philosophy */
.intro {
  background: var(--cream);
  padding: 110px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--brown-dark);
  line-height: 1.6;
  margin-top: 32px;
}

.pull-quote em {
  color: var(--sage-dark);
}

.intro-body {
  font-size: 17px;
  color: var(--text-light);
  max-width: 650px;
  margin: 32px auto 0;
}

.text-link {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.text-link:hover {
  color: var(--sage-dark);
}

/* Bio split */
.bio-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.bio-portrait {
  background: url("images/portrait.jpg") center / cover no-repeat;
  min-height: 600px;
}

.bio-content {
  background: var(--warm-white);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 400;
  color: var(--brown-dark);
  margin: 16px 0 12px;
}

.bio-heading em {
  color: var(--sage-dark);
}

.bio-subtitle {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 40px;
}

.bio-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.bio-text p + p {
  margin-top: 20px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 28px 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rose-light);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--sage-dark);
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 6px;
  display: block;
}

/* Ventures */
.ventures {
  background: var(--charcoal);
  padding: 110px 40px;
}

.ventures-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 400;
  color: var(--warm-white);
  text-align: center;
  margin-top: 24px;
}

.ventures-sub {
  font-size: 16px;
  color: var(--text-on-dark-muted);
  text-align: center;
  max-width: 550px;
  margin: 16px auto 64px;
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.venture-card {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s ease;
}

.venture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 0.8s ease;
}

.venture-card:hover::before {
  transform: scale(1.08);
}

/* Venture card photos; gradient placeholders where photos are still needed */
.card-defense::before {
  background: url("images/venture-defense.jpg") center / cover no-repeat;
}

.card-summit::before {
  background: url("images/venture-summit.jpg") 40% center / cover no-repeat;
}

.card-academy::before {
  background: url("images/venture-academy.jpg") center / cover no-repeat;
}

.card-belle::before {
  background: url("images/venture-belle.jpg") 30% center / cover no-repeat;
}

.card-images::before {
  background: url("images/venture-images.jpg") 35% center / cover no-repeat;
}

.card-tees::before {
  background: url("images/venture-tees.jpg") center / cover no-repeat;
}

.card-rivers::before {
  background: url("images/venture-rivers.jpg") center / cover no-repeat;
}

.card-dam::before {
  background: url("images/venture-dam.jpg") 18% center / cover no-repeat;
}

.card-nucleus::before {
  background: url("images/venture-nucleus.svg") center / cover no-repeat;
}

.venture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 40, 37, 0.9), rgba(44, 40, 37, 0.1));
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.card-tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sage-light);
  display: block;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--warm-white);
  display: block;
  margin-bottom: 8px;
}

.card-content p {
  font-family: var(--body);
  font-size: 14px;
  color: rgba(255, 252, 248, 0.6);
  line-height: 1.6;
}

.card-visit {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 16px;
  display: inline-block;
}

.more-projects {
  max-width: 1200px;
  margin: 64px auto 0;
  text-align: center;
}

.more-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 20px;
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.more-links a,
.more-links span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.more-links a:hover {
  color: var(--sage-light);
}

.more-links span {
  opacity: 0.55;
}

/* Photo strip */
.photo-strip {
  background: var(--cream);
  overflow: hidden;
}

.photo-scroll {
  display: flex;
  gap: 4px;
  width: max-content;
  animation: photoScroll 90s linear infinite;
}

.photo-scroll img {
  flex: 0 0 auto;
  width: 350px;
  height: 250px;
  object-fit: cover;
}

.photo-scroll:hover {
  animation-play-state: paused;
}

.photo-scroll img.pos-top {
  object-position: center 18%;
}

@keyframes photoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-scroll {
    animation: none;
  }
}

/* The Record */
.record {
  background: var(--cream);
  padding: 110px 40px;
}

.record-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 400;
  color: var(--brown-dark);
  text-align: center;
  margin: 24px 0 56px;
}

.record-heading em {
  color: var(--sage-dark);
}

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

.record-col h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rose-light);
}

.record-col ul {
  list-style: none;
}

.record-col li {
  font-size: 15px;
  color: var(--text-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 207, 192, 0.5);
  line-height: 1.6;
}

.record-col li strong {
  color: var(--brown-dark);
  font-weight: 500;
}

.record-col li span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-top: 4px;
}

.record-media {
  text-align: center;
  margin-top: 56px;
  font-size: 15px;
  color: var(--text-light);
}

.record-media a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
}

.record-media a:hover {
  color: var(--sage-dark);
}

/* Speaking */
.speaking {
  background: var(--warm-white);
  padding: 110px 40px;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.speaking-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 400;
  color: var(--brown-dark);
  margin: 16px 0 24px;
}

.speaking-heading em {
  color: var(--sage-dark);
}

.speaking-body {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.topics {
  list-style: none;
  margin-top: 32px;
}

.topics li {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--brown);
  padding: 12px 0;
  border-bottom: 1px solid var(--rose-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.topics li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.speaking-right {
  display: flex;
  align-items: center;
}

.quote-card {
  background: var(--cream);
  padding: 48px;
  border-radius: 4px;
  position: relative;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 128px;
  color: var(--sage-light);
  position: absolute;
  top: -16px;
  left: 24px;
  line-height: 1;
  opacity: 0.4;
}

.quote-card blockquote {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--brown-dark);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.quote-attr {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Contact */
.contact {
  background: var(--charcoal);
  padding: 110px 24px;
  text-align: center;
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 400;
  color: var(--warm-white);
  margin-top: 24px;
}

.contact-body {
  font-size: 16px;
  color: var(--text-on-dark-muted);
  max-width: 500px;
  margin: 16px auto 40px;
}

.button-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
  border: 1px solid var(--sage);
  padding: 16px 40px;
  transition: background 0.3s ease;
}

.button-outline:hover {
  background: var(--sage);
}

/* Footer */
.site-footer {
  background: var(--footer-dark);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--footer-text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--footer-text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--sage-light);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-link {
    margin-left: 20px;
    letter-spacing: 2px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .venture-grid {
    grid-template-columns: 1fr;
  }

  .venture-card,
  .venture-card:nth-child(4),
  .venture-card:nth-child(5) {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }

  .record-grid {
    grid-template-columns: 1fr;
  }

  .speaking {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 16px 20px;
  }

  .site-nav.scrolled {
    padding: 10px 20px;
  }

  .hero {
    padding: 0 24px 60px;
  }

  .hero-tagline {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .bio-split {
    grid-template-columns: 1fr;
  }

  .bio-portrait {
    min-height: 50vh;
  }

  .bio-content {
    padding: 40px;
  }

  .stats-bar {
    gap: 24px;
  }

  .intro,
  .ventures,
  .record,
  .speaking,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .quote-card {
    padding: 32px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
