/* ============================================
   SHRIKE RESEARCH ADVISORY — Global Stylesheet
   style.css
   
   HOW TO USE ON ANY NEW PAGE:
   Add this to your <head>:
     <link rel="stylesheet" href="style.css">
   
   For pages in subfolders (e.g. pages/contact.html):
     <link rel="stylesheet" href="../style.css">
   ============================================ */


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

:root {
  --ink: #1a1a18;
  --ink-mid: #3d3d39;
  --ink-muted: #6b6b65;
  --ink-faint: #b0afa8;
  --cream: #f7f4ef;
  --cream-dark: #ede9e1;
  --rust: #8b3a2a;
  --rust-light: #c4614d;
  --rust-pale: #f0e0da;
  --sage: #3d5a4a;
  --sage-pale: #e0eae4;
  --gold: #a07830;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}


/* ── NAVIGATION ───────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(26,26,24,0.1);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--rust); }
.nav-links a.active { color: var(--rust); }


/* ── HERO ─────────────────────────────────── */
.hero {
  padding-top: 80px;
  min-height: 52vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  overflow: hidden;
  position: relative;
}

.hero-text {
  padding: 5rem 3rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

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

.hero-tagline {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(247,244,239,0.6);
  line-height: 1.7;
  max-width: 400px;
}

/* Hero image panel — replace the SVG with a real <img> when ready */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink-mid);
}

.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-image-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(139,58,42,0.06) 40px,
      rgba(139,58,42,0.06) 41px
    );
  z-index: 1;
}

.hero-geo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-geo svg {
  width: 60%;
  opacity: 0.18;
}

/* Shorter hero for interior pages */
.hero--slim {
  min-height: 28vh;
  grid-template-columns: 1fr;
}

.hero--slim .hero-text {
  padding: 3.5rem 3rem;
}


/* ── SECTION SCAFFOLDING ──────────────────── */
section { width: 100%; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--rust);
  opacity: 0.3;
  max-width: 60px;
}

/* Section label on dark backgrounds */
.section-label--light {
  color: rgba(224,234,228,0.7);
}

.section-label--light::after {
  background: rgba(224,234,228,0.4);
  opacity: 1;
}

/* Section headings */
.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 3rem;
}

.section-heading--light {
  color: var(--cream);
}

.section-heading em {
  font-style: italic;
  color: var(--ink-muted);
}

.section-heading--light em {
  color: rgba(224,234,228,0.65);
}


/* ── SERVICES SECTION ─────────────────────── */
#services {
  background: var(--sage);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.08);
}

.service-card {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
  transition: background 0.25s;
}

.service-card:hover {
  background: rgba(255,255,255,0.08);
}

.service-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(224,234,228,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(224,234,228,0.65);
  line-height: 1.75;
}

.sub-research {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sub-item {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border-left: 2px solid rgba(196,97,77,0.5);
}

.sub-item-title {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--rust-light);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.sub-item-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(196,97,77,0.2);
  color: var(--rust-light);
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.4rem;
}

.sub-item-desc {
  font-size: 0.8rem;
  color: rgba(224,234,228,0.5);
  line-height: 1.6;
}


/* ── WHO WE WORK WITH ─────────────────────── */
#clients {
  background: var(--cream-dark);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26,26,24,0.1);
  border: 0.5px solid rgba(26,26,24,0.1);
}

.client-card {
  background: var(--cream-dark);
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.client-card:hover {
  background: var(--white);
  border-left-color: var(--rust);
}

.client-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.client-card-desc {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.65;
}


/* ── ABOUT / WHO WE ARE ───────────────────── */
#about {
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: 5rem;
}

.about-name {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.about-title {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--sage);
  background: var(--sage-pale);
  padding: 0.3rem 0.75rem;
  border-radius: 0;
  border: 0.5px solid rgba(61,90,74,0.2);
}

.about-body {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.85;
}

.about-body p + p {
  margin-top: 1.5rem;
}

.about-body strong {
  font-weight: 600;
  color: var(--ink);
}


/* ── GENERIC CONTENT BLOCKS ───────────────── */
/* Use these on any new page for standard prose/image layouts */

/* Full-width image */
.img-full {
  width: 100%;
  display: block;
  height: auto;
}

/* Captioned image */
.img-block {
  margin: 2rem 0;
}

.img-block img {
  width: 100%;
  height: auto;
  display: block;
}

.img-caption {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}

/* Two-column image + text layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout--reversed .split-text { order: -1; }

.split-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.split-text p {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
}

.split-text p + p { margin-top: 1rem; }


/* ── UTILITY ──────────────────────────────── */
.rule {
  width: 40px;
  height: 1px;
  background: var(--rust);
  opacity: 0.4;
  margin: 2rem 0;
}

.bg-cream      { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-dark       { background: var(--ink); }
.bg-sage       { background: var(--sage); }


/* ── HOME CARDS ───────────────────────────── */
.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(26,26,24,0.1);
  border: 0.5px solid rgba(26,26,24,0.1);
}

.home-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-dark);
  padding: 2.5rem;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.home-card:hover {
  background: var(--white);
  border-left-color: var(--rust);
}

.home-card-number {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  line-height: 1;
}

.home-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.home-card-desc {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.65;
  flex: 1;
}

.home-card-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--rust);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .home-cards { grid-template-columns: 1fr; }
}


/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--ink);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(247,244,239,0.5);
}

.footer-copy {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(247,244,239,0.3);
  letter-spacing: 0.05em;
}


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

.hero-text > * {
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow { animation-delay: 0.1s; }
.hero h1      { animation-delay: 0.25s; }
.hero-tagline { animation-delay: 0.4s; }


/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text { padding: 4rem 1.5rem 3rem; }
  .hero-image-panel { display: none; }

  .section-inner { padding: 3.5rem 1.5rem; }

  .services-grid,
  .clients-grid { grid-template-columns: 1fr; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-sidebar { position: static; }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-layout--reversed .split-text { order: 0; }

  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
}
