/* Scarlet Canyon Capital — Shared Styles */

:root {
  --bg: #1B2A4E;
  --text: #F5F1EA;
  --accent: #D4454E;
  --muted: #7A8599;
  --border: rgba(245, 241, 234, 0.08);
  --content-max: 680px;
  --content-max-wide: 920px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

::selection { background: var(--accent); color: var(--text); }

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid transparent;
}
a:hover { opacity: 0.85; }

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-wide {
  max-width: var(--content-max-wide);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   SITE HEADER + NAVIGATION
   ============================================ */

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--content-max-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header .brand {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.site-header .brand:hover {
  opacity: 0.7;
}
.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  opacity: 0.82;
}
.site-nav a:hover {
  color: var(--accent);
  opacity: 1;
}
.site-nav a.active {
  color: var(--accent);
  opacity: 1;
}

@media (max-width: 720px) {
  .site-header { padding: 22px 0; }
  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 0 24px;
  }
  .site-nav {
    gap: 6px;
    width: 100%;
    margin-left: -8px;
  }
  .site-nav a {
    font-size: 14px;
    padding: 8px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================
   HERO (home page)
   ============================================ */

.hero {
  min-height: calc(85vh - 100px);
  display: flex;
  align-items: center;
  padding: 96px 0 80px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 780px;
}
.hero .subhead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  font-weight: 400;
  max-width: 620px;
  line-height: 1.55;
}
.hero .rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin-top: 40px;
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */

.page-head {
  padding: 80px 0 40px;
}
.page-head .label {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}
.page-head h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 720px;
}
.page-head .lead {
  font-size: 18px;
  color: var(--text);
  opacity: 0.88;
  max-width: 620px;
  line-height: 1.55;
}
.page-head .rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin-top: 32px;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.section {
  padding: 48px 0;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.section h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.section p {
  margin-bottom: 18px;
  color: var(--text);
  opacity: 0.92;
}
.section p:last-child { margin-bottom: 0; }

.section .note {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-top: 24px;
}

/* ============================================
   DETAIL LIST (focus areas, partnership bullets)
   ============================================ */

.detail-list {
  list-style: none;
  margin: 24px 0 28px;
}
.detail-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.detail-list li:first-child {
  padding-top: 12px;
}
.detail-list li:last-child {
  border-bottom: none;
}
.detail-list .name {
  font-weight: 600;
  color: var(--text);
}
.detail-list .desc {
  color: var(--text);
  opacity: 0.85;
}

/* ============================================
   EDUCATION LIST
   ============================================ */

.education {
  list-style: none;
  margin: 8px 0 0;
}
.education li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.education li:first-child { padding-top: 8px; }
.education li:last-child { border-bottom: none; }
.education .degree {
  font-weight: 600;
  color: var(--text);
  display: block;
}
.education .school {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
  display: block;
}

/* ============================================
   INVESTMENTS
   ============================================ */

.investments {
  margin: 28px 0 0;
  list-style: none;
}
.investments li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.investments li:first-child { padding-top: 12px; }
.investments li:last-child { border-bottom: none; }
.investments .co {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text);
}
.investments .desc {
  font-size: 16px;
  opacity: 0.88;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-email {
  display: inline-block;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--accent);
  margin-top: 8px;
  border-bottom: 1px solid transparent;
}
.contact-email:hover {
  border-bottom-color: var(--accent);
  opacity: 1;
}
.contact-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 64px 0 48px;
  margin-top: 32px;
}
.site-footer .inner {
  max-width: var(--content-max-wide);
  margin: 0 auto;
  padding: 0 32px;
}
.footer-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin-bottom: 32px;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  color: var(--muted);
  font-size: 13px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
  font-size: 13px;
}
.footer-nav a:hover {
  color: var(--accent);
  opacity: 1;
}

@media (max-width: 600px) {
  .site-footer { padding: 48px 0 36px; }
  .site-footer .inner { padding: 0 24px; }
}

/* ============================================
   LEGAL PAGES (terms, privacy notice)
   ============================================ */

.legal article {
  padding: 16px 0 64px;
  font-size: 16px;
}
.legal article h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 44px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.legal article h2:first-child { margin-top: 0; }
.legal article p,
.legal article ul {
  margin-bottom: 18px;
  color: var(--text);
  opacity: 0.92;
  line-height: 1.65;
}
.legal article ul { padding-left: 24px; }
.legal article li { margin-bottom: 8px; }
.legal article strong { font-weight: 600; }
.legal article a {
  border-bottom: 1px solid transparent;
}
.legal article a:hover {
  border-bottom-color: var(--accent);
  opacity: 0.85;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .wrap-wide { padding: 0 24px; }
  .hero {
    padding: 64px 0 56px;
    min-height: 60vh;
  }
  .page-head { padding: 56px 0 28px; }
  .section { padding: 32px 0; }
  .section h2 { font-size: 20px; }
}
