/* ════════════════════════════════════════════════════════
   SF Cooper Ltd — Shared 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;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

/* ── Root Variables ──────────────────────────────────── */
:root {
  --bg:          #F3F1EB;
  --ink:         #1A1914;
  --ink-mid:     #4A4840;
  --ink-muted:   #7A7870;
  --gold:        #B5903A;
  --gold-light:  #F0E4C0;
  --rule:        #D9D7D0;
  --nav-dark:    #161613;
  --nav-h:       68px;

  /* Ventures */
  --sc-dark:     #1E4D9C;
  --sc-mid:      #4470BA;
  --sc-light:    #EBF0FB;

  --cf-dark:     #5B3020;
  --cf-mid:      #8B5A40;
  --cf-light:    #F7EBE0;

  --ai-dark:     #0D3F5A;
  --ai-mid:      #3A6B85;
  --ai-light:    #DFF0F8;

  --ch-dark:     #2A5438;
  --ch-mid:      #4A7A5A;
  --ch-light:    #E4EDE7;
}

/* ── Base ────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  font-weight: 500;
}

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

/* ── Navigation ──────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: var(--nav-dark);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F3F1EB;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(243, 241, 235, 0.5);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: rgba(243, 241, 235, 0.9); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: rgba(243, 241, 235, 0.85); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(243, 241, 235, 0.75);
  transition: all 0.3s ease;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--nav-dark);
  padding: 72px 52px 0;
  margin-top: 80px;
}

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

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F3F1EB;
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.83rem;
  color: rgba(243,241,235,0.4);
  line-height: 1.8;
  max-width: 220px;
}

.footer-col-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243,241,235,0.28);
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(243,241,235,0.48);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(243,241,235,0.2);
}

/* ── Page wrapper ────────────────────────────────────── */
.page-wrap { padding-top: var(--nav-h); }

/* ── Shared section styles ───────────────────────────── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--rule);
}

.page-section {
  padding: 96px 52px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.12;
  max-width: 620px;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-mid);
  max-width: 620px;
}
.section-body p { margin-bottom: 20px; }
.section-body p:last-child { margin-bottom: 0; }

/* ── Other ventures strip ────────────────────────────── */
.other-ventures {
  padding: 0 52px 0;
  max-width: 1240px;
  margin: 0 auto;
}

.other-ventures-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.other-ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.other-card {
  padding: 28px 32px;
  text-decoration: none;
  display: block;
  transition: opacity 0.25s;
}
.other-card:hover { opacity: 0.72; }

.other-card-num {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.45;
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}

.other-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.oc-sc { background: var(--sc-light); color: var(--sc-dark); }
.oc-cf { background: var(--cf-light); color: var(--cf-dark); }
.oc-ai { background: var(--ai-light); color: var(--ai-dark); }
.oc-ch { background: var(--ch-light); color: var(--ch-dark); }

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.d1 { animation-delay: 0.10s; }
.d2 { animation-delay: 0.22s; }
.d3 { animation-delay: 0.34s; }
.d4 { animation-delay: 0.46s; }
.d5 { animation-delay: 0.58s; }
.d6 { animation-delay: 0.70s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --nav-h: 60px; }

  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--nav-dark);
    padding: 32px 24px;
    gap: 4px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .nav-links.is-open li { width: 100%; }
  .nav-links.is-open a {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-toggle { display: flex; }

  .site-footer { padding: 48px 24px 0; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 0; }

  .page-section { padding: 64px 24px; }
  .other-ventures { padding: 0 24px; }
  .other-ventures-grid { grid-template-columns: 1fr; }
}
