/* =============================================
   Ventura Nomadica — Site Styles
   Brand system: vn-style-guide + vn-color-scheme
   ============================================= */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono&display=swap');

/* === TOKENS === */
:root {
  /* Colors */
  --color-charcoal:  #2B2926;
  --color-gold:      #C49A3C;
  --color-ember:     #D4541A;
  --color-cream:     #EDE8DF;
  --color-amber:     #E8A84C;
  --color-umber:     #5C3A1E;
  --color-sand:      #F7F3EC;
  --color-stone:     #8C8680;
  --color-flame:     #F07830;
  --color-nearblack: #1A1714;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);

  /* Layout */
  --max-width: 1100px;
  --container-pad: 60px;
}

/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASE === */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-sand);
  color: var(--color-charcoal);
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: var(--color-gold);
  text-decoration: none;
}
a:hover { color: var(--color-amber); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-charcoal);
}

ul { list-style: none; }

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

/* === CONTAINER === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  background: var(--color-charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-sand);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-logo span { color: var(--color-gold); font-style: italic; }
.site-logo:hover { color: var(--color-sand); opacity: 0.9; }

/* Nav */
.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list > li {
  position: relative;
}

.site-nav .nav-list > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--color-stone);
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.site-nav .nav-list > li > a:hover,
.site-nav .nav-list > li > a.active {
  color: var(--color-sand);
  background: rgba(255,255,255,0.07);
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--color-nearblack);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 200;
  border: 1px solid rgba(196,154,60,0.15);
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 9px 18px;
  color: var(--color-stone);
  font-size: 13.5px;
  transition: color 0.15s, background 0.15s;
}
.dropdown li a:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.04);
}

/* Gold divider under label */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  color: var(--color-gold);
  opacity: 0.7;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-stone);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-toggle:hover span { background: var(--color-sand); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-stone);
  padding: 48px 0 32px;
  margin-top: 80px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-nav a {
  color: var(--color-stone);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-gold); }

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  color: var(--color-stone);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--color-gold); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, var(--color-gold), transparent);
  opacity: 0.3;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--color-stone);
  opacity: 0.7;
}
.footer-meta a {
  color: var(--color-gold);
  opacity: 1;
}
.footer-meta a:hover { color: var(--color-amber); }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--color-charcoal);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,84,26,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,60,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--color-sand);
  line-height: 1.2;
  max-width: 720px;
}
.hero h1 em {
  color: var(--color-gold);
  font-style: italic;
}

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-header {
  background: var(--color-charcoal);
  padding: 56px 0 48px;
}
.page-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  color: var(--color-sand);
}
.page-header .page-desc {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-stone);
  max-width: 560px;
  line-height: 1.65;
}

/* =============================================
   SECTION
   ============================================= */
.section {
  padding: 72px 0;
}
.section:nth-child(even) {
  background: var(--color-cream);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(44,41,38,0.12);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--color-charcoal);
  margin-bottom: 8px;
}
.section-title span { color: var(--color-gold); font-style: italic; }

.gold-rule {
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), transparent);
  margin: 20px 0 32px;
}

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Split card: max height with orientation-based layout */
.card-split {
  flex-direction: row;
  max-height: 250px;
}

/* Vertical orientation (default): image left 1/3, content right 2/3 */
.card-split.orient-vertical {
  flex-direction: row;
}
.card-split.orient-vertical .card-visual {
  flex: 0 0 33.333%;
}

/* Horizontal orientation: image top 1/3 height, content bottom 2/3 */
.card-split.orient-horizontal {
  flex-direction: column;
}
.card-split.orient-horizontal .card-visual {
  flex: 0 0 83px; /* ~1/3 of 250px */
}

.card-visual {
  overflow: hidden;
  position: relative;
}
.card-visual img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-visual.logo-panel {
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}
.card-visual.logo-panel img {
  max-height: 56px;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-split .card-body {
  flex: 1;
  border-left: 1px solid rgba(44,41,38,0.07);
  overflow: hidden;
}
.card-split.orient-horizontal .card-body {
  border-left: none;
  border-top: 1px solid rgba(44,41,38,0.07);
}

.card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Compact card-body for split cards */
.card-split .card-body {
  padding: 16px 20px;
  gap: 6px;
}
.card-split .card-title { font-size: 18px; }
.card-split .card-subtitle { font-size: 13.5px; }
.card-split .card-text { font-size: 13px; line-height: 1.55; }
.card-split .card-link { font-size: 11px; margin-top: 4px; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-charcoal);
}

.card-subtitle {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--color-gold);
}

.card-text {
  font-size: 14px;
  color: var(--color-stone);
  line-height: 1.65;
  flex: 1;
}

.card-logo {
  margin-top: auto;
  padding-top: 20px;
}
.card-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ember);
  margin-top: 8px;
}
.card-link:hover { color: var(--color-flame); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: opacity 0.2s, background 0.2s;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--color-ember); color: white; }
.btn-ghost   { background: transparent; border: 1.5px solid var(--color-gold); color: var(--color-gold); }

/* =============================================
   PROSE (legal / about pages)
   ============================================= */
.prose {
  max-width: 720px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--color-charcoal);
  padding-top: 24px;
  border-top: 1px solid rgba(44,41,38,0.1);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}
.prose p {
  font-size: 15px;
  color: #4A4540;
  line-height: 1.75;
  margin-bottom: 16px;
}
.prose ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}
.prose ul li {
  font-size: 15px;
  color: #4A4540;
  margin-bottom: 8px;
  line-height: 1.65;
}
.prose strong { color: var(--color-charcoal); font-weight: 500; }
.prose a { color: var(--color-gold); }
.prose a:hover { color: var(--color-amber); }
.prose .effective-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-stone);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.prose address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #4A4540;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--color-charcoal);
}
.contact-block h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--color-charcoal);
}
.contact-block p {
  font-size: 14.5px;
  color: var(--color-stone);
  line-height: 1.65;
  margin-bottom: 8px;
}
.contact-block ul { list-style: none; padding: 0; }
.contact-block ul li {
  font-size: 14.5px;
  color: var(--color-stone);
  margin-bottom: 8px;
  line-height: 1.5;
}
.contact-block ul li strong { color: var(--color-charcoal); }
.contact-block a { color: var(--color-gold); }
.contact-block a:hover { color: var(--color-amber); }

.contact-note {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--color-cream);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--color-stone);
}

/* Social list */
.social-list { list-style: none; padding: 0; }
.social-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-stone);
}
.social-list li a { color: var(--color-gold); }
.social-list li a:hover { color: var(--color-amber); }

/* Contact link icons — 16×16, inline with text, inherits link color via mask */
.contact-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -1px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}
.contact-icon-email {
  -webkit-mask-image: url(assets/icons/email.svg);
  mask-image: url(assets/icons/email.svg);
}
.contact-icon-linkedin {
  -webkit-mask-image: url(assets/icons/linkedin.svg);
  mask-image: url(assets/icons/linkedin.svg);
}
.contact-icon-youtube {
  -webkit-mask-image: url(assets/icons/youtube.svg);
  mask-image: url(assets/icons/youtube.svg);
}
.contact-icon-link {
  -webkit-mask-image: url(assets/icons/link.svg);
  mask-image: url(assets/icons/link.svg);
}

/* Venture links section on contact page */
.venture-links-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(44,41,38,0.1);
}
.venture-links-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--color-charcoal);
}
.venture-link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.venture-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
}
.venture-link-item .venture-logo {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.venture-link-item .venture-logo img {
  max-height: 32px;
  max-width: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.venture-link-item .venture-info {
  flex: 1;
}
.venture-link-item .venture-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-charcoal);
  display: block;
  margin-bottom: 2px;
}
.venture-link-item a.venture-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}
.venture-link-item a.venture-url:hover { color: var(--color-amber); }
.venture-link-item.no-logo .venture-logo {
  display: none;
}

/* =============================================
   FIELD NOTES PLACEHOLDER
   ============================================= */
.placeholder-section {
  padding: 80px 0;
  text-align: center;
}
.placeholder-section p {
  font-size: 15px;
  color: var(--color-stone);
  margin-top: 12px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro {
  padding: 56px 0 40px;
}
.about-intro p {
  font-size: 16px;
  color: #4A4540;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 16px;
}
.about-intro p:last-child { margin-bottom: 0; }

.about-section {
  padding: 56px 0;
  border-top: 1px solid rgba(44,41,38,0.1);
}
.about-section h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 8px;
  color: var(--color-charcoal);
}
.about-section .gold-rule {
  margin: 16px 0 28px;
  max-width: 80px;
}
.about-section p {
  font-size: 15px;
  color: #4A4540;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 680px;
}
.about-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
  max-width: 680px;
}
.about-section ul li {
  font-size: 15px;
  color: #4A4540;
  line-height: 1.65;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
.about-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-family: var(--font-mono);
}
.about-section ul li strong { color: var(--color-charcoal); }

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.founder-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Split founder card: image left 1/3, content right 2/3 */
.founder-split {
  display: flex;
  flex-direction: row;
  min-height: 200px;
}
.founder-image {
  flex: 0 0 33.333%;
  overflow: hidden;
  position: relative;
}
.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-content {
  flex: 1;
  padding: 24px;
  border-left: 1px solid rgba(44,41,38,0.07);
}
.founder-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}
.founder-content p {
  font-size: 14.5px;
  color: var(--color-stone);
  line-height: 1.7;
}

/* Fallback for non-split founder cards */
.founder-card:not(.founder-split) {
  padding: 28px;
}
.founder-card:not(.founder-split) h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}
.founder-card:not(.founder-split) p {
  font-size: 14.5px;
  color: var(--color-stone);
  line-height: 1.7;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  :root {
    --container-pad: 32px;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--color-nearblack);
    border-top: 1px solid rgba(196,154,60,0.15);
    padding: 16px 0 24px;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: block; }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
  }

  .site-nav .nav-list > li { width: 100%; }
  .site-nav .nav-list > li > a {
    padding: 11px 8px;
    width: 100%;
    border-radius: 0;
  }

  .dropdown {
    position: static;
    display: none;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 16px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }

  .contact-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .card-split { flex-direction: column; max-height: none; }
  .card-split.orient-vertical { flex-direction: column; }
  .card-split.orient-vertical .card-visual { flex: 0 0 140px; min-height: 140px; }
  .card-split .card-body { border-left: none; border-top: 1px solid rgba(44,41,38,0.07); }
  .card-split .card-body { padding: 16px 18px; gap: 6px; }
  .card-split .card-title { font-size: 18px; }
  .card-split .card-text { font-size: 14px; }
  .founder-split { flex-direction: column; }
  .founder-image { flex: 0 0 180px; min-height: 180px; }
  .founder-content { border-left: none; border-top: 1px solid rgba(44,41,38,0.07); }
}

@media (max-width: 600px) {
  :root { --container-pad: 20px; }

  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .site-footer { margin-top: 48px; }
}
