/* =============================================
   RED CREEK PARTNERS  |  Main Stylesheet
   ============================================= */

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

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #142848;
  --navy-dark:  #08142A;
  --gold:       #A8832A;
  --gold-light: #C9A94E;
  --gold-pale:  #F5EDD6;
  --white:      #ffffff;
  --off-white:  #F8F9FB;
  --warm-gray:  #F2F0ED;
  --border:     #E4E7ED;
  --text:       #1C2333;
  --muted:      #5A6270;
  --light:      #8B919D;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width: 1120px;
  --section-pad: 6rem 2rem;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light);
}

/* NAV */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

nav ul li a {
  display: block;
  padding: 0.5rem 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--navy);
}

nav ul li a.active {
  position: relative;
}

nav ul li a.nav-cta {
  background: var(--navy);
  color: var(--white);
  margin-left: 1rem;
  padding: 0.5rem 1.4rem;
  letter-spacing: 0.08em;
  transition: background 0.15s;
}
nav ul li a.nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: 0.25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, rgba(8,20,42,0.91) 0%, rgba(11,31,58,0.85) 55%, rgba(26,40,60,0.80) 100%),
              url('static/images/wv.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-light);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  max-width: 720px;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s;
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.85);
  color: var(--white);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}

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

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

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--section-pad); }
.section-alt  { background: var(--off-white); }
.section-warm { background: var(--warm-gray); }
.section-dark { background: var(--navy); color: var(--white); }
.section-navy { background: var(--navy-dark); color: var(--white); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-dark .section-eyebrow,
.section-navy .section-eyebrow { color: var(--gold-light); }
.section-dark .section-eyebrow::before,
.section-navy .section-eyebrow::before { background: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.section-dark .section-title,
.section-navy .section-title { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}

.section-dark .section-subtitle,
.section-navy .section-subtitle { color: rgba(255,255,255,0.62); }

/* ============================================================
   TWO-COLUMN SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.split-image-accent {
  position: relative;
}
.split-image-accent::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold-pale);
  z-index: -1;
}

.split-content p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.85;
}
.split-content p:last-of-type { margin-bottom: 2rem; }

/* ============================================================
   STAT ROW
   ============================================================ */
.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item {}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background 0.18s;
}

.service-card:hover {
  background: var(--off-white);
}

.service-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Dark variant */
.services-grid-dark {
  background: rgba(255,255,255,0.06);
}
.services-grid-dark .service-card {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.services-grid-dark .service-card:hover {
  background: rgba(255,255,255,0.04);
}
.services-grid-dark .service-number { color: rgba(255,255,255,0.1); }
.services-grid-dark .service-card h3 { color: var(--white); }
.services-grid-dark .service-card p  { color: rgba(255,255,255,0.58); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}

.team-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.team-card-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
}

.team-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.team-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.team-card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--navy);
  transition: color 0.15s, border-color 0.15s;
}
.team-linkedin:hover {
  color: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-strip {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-strip .clients-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 2.5rem;
  text-align: center;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 4rem;
  align-items: center;
  justify-content: center;
}

.client-logo {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.2s;
}
.client-logo:hover { filter: grayscale(0) opacity(1); }

.client-placeholder {
  height: 48px;
  width: 140px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: 7rem 2rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.cta-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 5rem 2rem;
  color: var(--white);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 50%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 5rem;
  align-items: start;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.18s;
}

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

.form-group textarea { resize: vertical; min-height: 150px; }

.contact-aside {
  padding-top: 0.5rem;
}

.contact-aside h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.contact-aside-sub {
  font-size: 0.78rem;
  color: var(--light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-detail i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.18rem;
  flex-shrink: 0;
  width: 14px;
}

.contact-detail a { color: var(--navy); }
.contact-detail a:hover { color: var(--gold); }

.contact-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.contact-team-person {
  margin-bottom: 1.4rem;
}
.contact-team-person strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.contact-team-person span {
  font-size: 0.78rem;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.3rem;
}
.contact-team-person a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.contact-team-person a:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 4.5rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-brand .footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  max-width: none;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
  color: rgba(255,255,255,0.42);
}

footer h4 {
  color: rgba(255,255,255,0.88);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 0.6rem; }
footer ul li a {
  color: rgba(255,255,255,0.45);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.15s;
}
footer ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

.footer-bottom a { color: rgba(255,255,255,0.28); }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-center .section-eyebrow { justify-content: center; }
.text-center .section-eyebrow::before { display: none; }
.text-center .section-subtitle { margin: 0 auto; }

/* Thin rule accent */
.rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 3.5rem; }
  .split-image-accent::after { display: none; }
  .split-image img { height: 320px; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stat-row { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 700px) {
  :root { --section-pad: 4rem 1.25rem; }

  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }
  nav ul.open { display: flex; }
  nav ul li { width: 100%; }
  nav ul li a {
    padding: 0.85rem 0;
    font-size: 0.85rem;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  nav ul li a.nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-bottom: none;
    text-align: center;
    display: block;
  }

  .nav-toggle { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .clients-grid { gap: 2rem 2.5rem; }
  .page-hero h1 { padding: 0; }
  .page-hero p { padding: 0; }
}
