/* ============================================================
   SHELTERROCK CAPITAL — GLOBAL STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #F8F6F2;
  --bg-stone:     #EDEAE2;
  --bg-dark:      #0F1923;
  --bg-navy:      #16293A;
  --text:         #1A1918;
  --text-muted:   #6A655E;
  --gold:         #B8975A;
  --gold-light:   #CBAD7A;
  --border:       #DDD8CE;
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width:    1140px;
  --radius:       2px;
  --transition:   0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(18px, 2vw, 26px); }
h4 { font-size: 18px; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 15px;
  line-height: 1.8;
}

p:last-child { margin-bottom: 0; }

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 { color: var(--white); }

.text-white p { color: rgba(255,255,255,0.65); }

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

.section          { padding: 100px 0; }
.section-sm       { padding: 56px 0; }
.section-dark     { background: var(--bg-dark); }
.section-navy     { background: var(--bg-navy); }
.section-stone    { background: var(--bg-stone); }
.section-white    { background: var(--white); }

.section-header {
  margin-bottom: 60px;
}
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Grid ───────────────────────────────────────────────────── */
.grid   { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}
.btn-dark:hover {
  background: var(--bg-navy);
  border-color: var(--bg-navy);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.transparent { background: transparent; }

.nav.scrolled,
.nav.solid {
  background: var(--bg-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 11px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.72) 0%, rgba(15,25,35,0.60) 100%);
  pointer-events: none;
}

/* Photo strip between sections */
.photo-strip {
  height: 340px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.photo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,25,35,0.25);
}

.hero-sm {
  min-height: 55vh;
  padding: 160px 0 90px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 300;
}

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

.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ── Tagline Strip ───────────────────────────────────────────── */
.tagline-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}

.tagline-strip p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
}

.tagline-strip a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  transition: opacity var(--transition);
}
.tagline-strip a:hover { opacity: 0.7; }

/* ── Pillars ────────────────────────────────────────────────── */
.pillar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.section-stone .pillar { border-color: rgba(0,0,0,0.1); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1;
}

.pillar h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}

.pillar p { font-size: 14px; line-height: 1.7; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius);
}

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-dark h3 { color: var(--white); }
.card-dark p  { color: rgba(255,255,255,0.6); }

/* ── Two-Column Layouts ─────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-aside {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: start;
}

/* ── Investor Sidebar Card ──────────────────────────────────── */
.invest-card {
  background: var(--bg-dark);
  color: var(--white);
  padding: 48px 40px;
  border-left: 3px solid var(--gold);
}

.invest-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 24px;
}

.invest-card ul { margin-bottom: 32px; }

.invest-card ul li {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 14px;
}

.invest-card ul li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Process Steps ──────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.section-stone .process-steps::before { background: rgba(0,0,0,0.1); }

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--gold);
  background: var(--bg);
  margin-bottom: 20px;
}

.section-stone .step-num { background: var(--bg-stone); }

.step h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.step p { font-size: 13px; }

/* ── Styled List ────────────────────────────────────────────── */
.styled-list { list-style: none; padding: 0; margin: 20px 0 32px; }

.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}

.styled-list li::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
  flex-shrink: 0;
}

.section-dark .styled-list li,
.section-navy .styled-list li {
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}

/* ── Philosophy List ────────────────────────────────────────── */
.philosophy-list { list-style: none; margin: 20px 0; }

.philosophy-list li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
}

.philosophy-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── Forms ──────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Newsletter Block ───────────────────────────────────────── */
.newsletter-block {
  background: var(--bg-dark);
  padding: 72px 24px;
  text-align: center;
}

.newsletter-block h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-block p  { color: rgba(255,255,255,0.6); }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 28px auto 0;
}

.newsletter-form .form-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

.newsletter-form .form-input::placeholder { color: rgba(255,255,255,0.35); }

/* ── Blog Cards ─────────────────────────────────────────────── */
.blog-card {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  transition: color var(--transition);
  line-height: 1.3;
}

.blog-card:hover h3 { color: var(--gold); }
.blog-card p { font-size: 14px; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 20px;
  transition: color var(--transition);
}
.blog-card-link:hover { color: var(--gold); }
.blog-card-link::after { content: '\2192'; }

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-dark);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2    { color: var(--white); margin-bottom: 16px; }
.cta-section p     { color: rgba(255,255,255,0.55); margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-section .eyebrow { color: var(--gold); }

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 28px 0;
}

/* ── Disclaimer ─────────────────────────────────────────────── */
.disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── Contact Page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.email-list h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.email-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.email-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 72px;
  flex-shrink: 0;
}

.email-item a {
  font-size: 14px;
  color: var(--gold);
  transition: opacity var(--transition);
}
.email-item a:hover { opacity: 0.7; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col-aside { gap: 52px; }
  .two-col-aside { grid-template-columns: 1fr 1fr; }

  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section    { padding: 64px 0; }
  .section-sm { padding: 40px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 24px;
    gap: 24px;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }

  .hero { min-height: auto; padding: 130px 0 80px; }

  .grid-2, .grid-3,
  .two-col, .two-col-aside,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .newsletter-form { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
}
