/* ══════════════════════════════════════════════════════════
   Criterion Capital — WordPress Theme CSS
   Exact replica of criterioncapital.co.uk
══════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #0c0f14;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

::selection { background: rgba(245,240,122,0.25); color: #0c0f14; }

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --gold: #f5f07a;
  --gold-dark: #e0d840;
  --ink: #0c0f14;
  --cream: #f8f7f4;
}

/* ── Container ─────────────────────────────────────────── */
.cc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}
@media (max-width: 768px) { .cc-container { padding: 0 1.5rem; } }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
              transform 0.85s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ══════════════════════════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════════════════════════ */

/* Section label */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* Gold button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background-color: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.3s, transform 0.3s;
}
.btn-gold:hover { background-color: var(--gold-dark); transform: translateY(-1px); }

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.btn-outline-dark { color: var(--ink); border-color: rgba(12,15,20,0.4); }
.btn-outline-dark:hover { background-color: rgba(12,15,20,0.06); transform: translateY(-1px); }

/* Section heading */
.cc-section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-top: 0.25rem;
}

/* Body text */
.cc-body-text {
  color: rgba(12,15,20,0.6);
  line-height: 1.85;
  max-width: 42rem;
  font-size: 1.05rem;
}

.text-gold { color: var(--gold); }

/* Section header row with line */
.cc-section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.cc-header-line {
  flex: 1;
  height: 1px;
  background: rgba(12,15,20,0.1);
  max-width: 18rem;
}
.cc-header-line-white { background: rgba(255,255,255,0.1); }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.cc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.75rem 1rem 0;
}
@media (min-width: 768px) { .cc-header { padding: 0.75rem 1.5rem 0; } }

.cc-nav-pill {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 9999px;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.5s, box-shadow 0.5s;
}
.cc-nav-pill.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 20px rgba(12,15,20,0.10);
}

.cc-nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 2.5rem;
}
@media (max-width: 768px) { .cc-nav-inner { padding: 0 1.5rem; } }

/* Logo */
.cc-logo {
  flex-shrink: 0;
  margin-right: 2.5rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.25s;
}
.cc-logo:hover { opacity: 0.6; }
.cc-logo-indent { padding-left: 0.55em; }

/* Left nav */
.cc-nav-left {
  display: none;
  align-items: center;
  gap: 2.25rem;
  flex: 1;
}
@media (min-width: 1024px) { .cc-nav-left { display: flex; } }

/* Right nav */
.cc-nav-right {
  display: none;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}
@media (min-width: 1024px) { .cc-nav-right { display: flex; } }

.cc-nav-left a, .cc-nav-right a:not(.cc-contact-pill) {
  font-size: 0.875rem;
  color: rgba(12,15,20,0.70);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 3px;
}

/* Animated underline: slides in from left on hover */
.cc-nav-left a::after, .cc-nav-right a:not(.cc-contact-pill)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ink);
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.cc-nav-left a:hover::after, .cc-nav-right a:not(.cc-contact-pill):hover::after {
  width: 100%;
}
.cc-nav-left a:hover, .cc-nav-right a:hover:not(.cc-contact-pill) {
  color: var(--ink);
}

/* Contact pill */
.cc-contact-pill {
  border-radius: 9999px;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.625rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  margin-left: 0.25rem;
}
.cc-contact-pill:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,240,122,0.45);
}

/* Hamburger */
.cc-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0.5rem;
  color: var(--ink);
}
@media (min-width: 1024px) { .cc-hamburger { display: none; } }
.cc-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.cc-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.cc-hamburger.open span:nth-child(2) { opacity: 0; }
.cc-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.cc-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22,1,0.36,1);
  margin: 0.5rem auto 0;
  max-width: 1400px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(12,15,20,0.1);
}
.cc-mobile-menu.open { max-height: 400px; }
@media (min-width: 1024px) { .cc-mobile-menu { display: none; } }

.cc-mobile-nav {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cc-mobile-nav a {
  font-size: 0.875rem;
  color: rgba(12,15,20,0.6);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(12,15,20,0.05);
  transition: color 0.2s;
}
.cc-mobile-nav a:hover { color: var(--ink); }
.cc-mobile-contact {
  margin-top: 0.75rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--ink) !important;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.875rem;
  border-bottom: none !important;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.cc-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.cc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,10,14,0.15) 0%,
    rgba(8,10,14,0.30) 45%,
    rgba(8,10,14,0.55) 70%,
    rgba(245,245,240,0.85) 100%);
}

.cc-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
@media (min-width: 768px) { .cc-hero-content { padding: 0 3.5rem 5rem; } }

.cc-hero-title {
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  font-size: clamp(2rem, 6.5vw, 7.5rem);
  opacity: 0;
  animation: heroFadeUp 1s 0.2s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cc-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Primary yellow pill */
.cc-pill-gold {
  border-radius: 9999px;
  background: #f5f0c0;
  color: var(--ink);
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
}
.cc-pill-gold:hover {
  background: #ece880;
  transform: translateY(-1px);
}

/* Secondary grouped pill */
.cc-pill-group {
  display: flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(245,245,240,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245,245,240,0.30);
  overflow: hidden;
}
.cc-pill-group-link {
  padding: 0.85rem 1.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  transition: opacity 0.25s;
}
.cc-pill-group-link:hover { opacity: 0.7; }
.cc-pill-divider {
  width: 1px;
  height: 1rem;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.cc-about {
  background: var(--cream);
  padding: 8rem 0;
}
@media (min-width: 768px) { .cc-about { padding: 10rem 0; } }

.cc-about-grid {
  display: grid;
  gap: 4rem 6rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .cc-about-grid { grid-template-columns: 1fr 380px; gap: 4rem 6rem; }
}

.cc-about-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 2.5rem;
}

.cc-about-buttons {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Values */
.cc-values { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .cc-values { padding-top: 1rem; } }

.cc-value-item { display: flex; gap: 1.25rem; }
.cc-value-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.cc-value-title {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.cc-value-body { color: rgba(12,15,20,0.55); font-size: 0.9rem; line-height: 1.65; }

.cc-founded {
  padding-top: 1rem;
  border-top: 1px solid rgba(12,15,20,0.10);
}
.cc-founded-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.40);
  margin-bottom: 0.25rem;
}
.cc-founded-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════════ */
.cc-portfolio { background: #fff; padding: 8rem 0; }
@media (min-width: 768px) { .cc-portfolio { padding: 10rem 0; } }

.cc-portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.cc-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.cc-filter {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(12,15,20,0.20);
  color: rgba(12,15,20,0.50);
  transition: all 0.3s;
}
.cc-filter:hover { border-color: rgba(12,15,20,0.5); color: var(--ink); }
.cc-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.cc-portfolio-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cc-portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cc-portfolio-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cc-portfolio-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.cc-portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.cc-portfolio-card:hover img { transform: scale(1.06); }

.cc-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,15,20,0.88) 0%, rgba(12,15,20,0.12) 55%, transparent 100%);
  transition: background 0.5s;
}
.cc-portfolio-card:hover .cc-portfolio-overlay {
  background: linear-gradient(to top, rgba(12,15,20,0.95) 0%, rgba(12,15,20,0.45) 55%, rgba(12,15,20,0.15) 100%);
}
.cc-portfolio-card[style*="display:none"],
.cc-portfolio-card.hidden { display: none; }

.cc-portfolio-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(12,15,20,0.40);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
}

.cc-portfolio-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform 0.5s;
}
.cc-portfolio-card:hover .cc-portfolio-info { transform: translateY(0); }

.cc-portfolio-year {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.cc-portfolio-card:hover .cc-portfolio-year { opacity: 1; }

.cc-portfolio-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }

.cc-portfolio-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.cc-portfolio-location { color: rgba(255,255,255,0.55); font-size: 0.75rem; letter-spacing: 0.05em; }

.cc-portfolio-arrow {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transition: opacity 0.3s, background 0.3s, border-color 0.3s;
}
.cc-portfolio-card:hover .cc-portfolio-arrow { opacity: 1; }
.cc-portfolio-arrow:hover { background: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════ */
.cc-stats { background: var(--ink); color: #fff; padding: 6rem 0 8rem; }
@media (min-width: 768px) { .cc-stats { padding: 8rem 0; } }

.cc-stats .section-label { color: var(--gold); }

.cc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 768px) { .cc-stats-grid { grid-template-columns: repeat(3, 1fr); } }

.cc-stat {
  position: relative;
  padding: 2.5rem 2rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.cc-stat:first-child { border-left: none; }
@media (max-width: 768px) {
  .cc-stat:nth-child(2n+1) { border-left: none; }
  .cc-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
}

.cc-stat-accent {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 2rem;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.5s;
}
.cc-stat:hover .cc-stat-accent { opacity: 1; }

.cc-stat-number {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.cc-stat-count {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.cc-stat-gold {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 300;
  color: var(--gold);
  font-size: 1.75rem;
}
@media (min-width: 768px) { .cc-stat-gold { font-size: 2.25rem; } }

.cc-stat-label {
  color: rgba(255,255,255,0.40);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
}

.cc-stats-note {
  margin-top: 3.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 36rem;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   NEWS
══════════════════════════════════════════════════════════ */
.cc-news { background: #fff; padding: 8rem 0; }
@media (min-width: 768px) { .cc-news { padding: 10rem 0; } }

.cc-all-news-link {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.50);
  border-bottom: 1px solid rgba(12,15,20,0.25);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
@media (min-width: 768px) { .cc-all-news-link { display: inline-flex; } }
.cc-all-news-link:hover { color: var(--gold); border-color: var(--gold); }

.cc-news-list { border-top: 1px solid rgba(12,15,20,0.06); }

.cc-news-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid rgba(12,15,20,0.06);
  transition: background 0.3s;
}
@media (min-width: 768px) {
  .cc-news-row { flex-direction: row; align-items: center; gap: 2.5rem; }
}
.cc-news-row:hover { background: rgba(248,247,244,0.6); }

.cc-news-date {
  flex-shrink: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.35);
}
@media (min-width: 768px) { .cc-news-date { width: 5rem; } }

.cc-news-category {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 768px) { .cc-news-category { width: 7rem; } }

.cc-news-goldline {
  display: none;
  width: 2rem;
  height: 1px;
  background: rgba(245,240,122,0.3);
  flex-shrink: 0;
}
@media (min-width: 768px) { .cc-news-goldline { display: block; } }

.cc-news-body { flex: 1; min-width: 0; }

.cc-news-headline {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}
.cc-news-row:hover .cc-news-headline { color: var(--gold); }

.cc-news-summary {
  color: rgba(12,15,20,0.45);
  font-size: 0.875rem;
  line-height: 1.65;
  display: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 768px) { .cc-news-summary { display: none; } }

.cc-news-arrow {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(12,15,20,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12,15,20,0.30);
  transition: all 0.3s;
  align-self: flex-start;
}
@media (min-width: 768px) { .cc-news-arrow { align-self: center; } }
.cc-news-row:hover .cc-news-arrow { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   CAREERS (stub)
══════════════════════════════════════════════════════════ */
.cc-careers {
  background: var(--cream);
  padding: 6rem 0;
}

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.cc-contact { background: #fff; padding: 8rem 0; }

.cc-contact-grid {
  display: grid;
  gap: 4rem;
}
@media (min-width: 1024px) { .cc-contact-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }

.cc-contact-detail { color: rgba(12,15,20,0.6); line-height: 1.65; font-size: 0.95rem; }
.cc-contact-detail strong { color: var(--ink); }
.cc-contact-detail a { color: var(--gold); transition: opacity 0.3s; }
.cc-contact-detail a:hover { opacity: 0.7; }

.cc-contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.cc-form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.cc-form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.5);
}
.cc-form-group input, .cc-form-group textarea {
  border: 1px solid rgba(12,15,20,0.15);
  padding: 0.875rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  resize: vertical;
}
.cc-form-group input:focus, .cc-form-group textarea:focus {
  border-color: var(--gold);
}
.cc-form-group input::placeholder, .cc-form-group textarea::placeholder {
  color: rgba(12,15,20,0.3);
}

/* ══════════════════════════════════════════════════════════
   DIVISIONS CTA
══════════════════════════════════════════════════════════ */
.cc-divisions-cta {
  background: #f5f5f0;
  padding: 3rem 0;
}
.cc-divisions-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
/* Override pill-group colors for light background context */
.cc-divisions-inner .cc-pill-group {
  background: rgba(12,15,20,0.08);
}
.cc-divisions-inner .cc-pill-group-link {
  color: var(--ink);
}
.cc-divisions-inner .cc-pill-divider {
  background: rgba(12,15,20,0.25);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.cc-footer { background: #f5f5f4; font-family: 'Barlow', sans-serif; }

.cc-footer-main { padding-top: 5rem; padding-bottom: 3rem; }

.cc-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 768px) {
  .cc-footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}

.cc-footer-logo {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  flex-shrink: 0;
}
.cc-footer-logo:hover { opacity: 0.7; }
.cc-footer-logo-indent { padding-left: 0.12em; }

.cc-footer-cols {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .cc-footer-cols { gap: 5rem; margin-top: 0.5rem; } }

.cc-footer-col-sublabel {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.40);
  margin-bottom: 1rem;
}

.cc-footer-sublist { display: flex; flex-direction: column; gap: 1rem; }

/* Email signup column */
.cc-footer-col-signup { min-width: 220px; }

.cc-footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cc-footer-email-input {
  background: rgba(12,15,20,0.07);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: background 0.2s;
}
.cc-footer-email-input::placeholder { color: rgba(12,15,20,0.40); }
.cc-footer-email-input:focus { background: rgba(12,15,20,0.12); }

.cc-footer-subscribe-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.cc-footer-subscribe-btn:hover { background: rgba(12,15,20,0.75); }

/* Fix: footer links must never inherit gold/active color */
.cc-footer-col a, .cc-footer-sublist a {
  color: var(--ink) !important;
  font-weight: 300;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.cc-footer-col a:hover, .cc-footer-sublist a:hover { opacity: 0.4; }

.cc-footer-col-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.35);
  margin-bottom: 1.75rem;
}
.cc-footer-col ul { display: flex; flex-direction: column; gap: 1.25rem; }
.cc-footer-col a {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  transition: opacity 0.3s;
}
.cc-footer-col a:hover { opacity: 0.5; }

.cc-footer-divider-wrap { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
.cc-footer-divider { height: 1px; background: rgba(12,15,20,0.12); }
@media (max-width: 768px) { .cc-footer-divider-wrap { padding: 0 1.5rem; } }

.cc-footer-bottom { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.cc-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cc-footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

.cc-legal-links { display: flex; flex-wrap: wrap; gap: 1.5rem 1rem; }
.cc-legal-links a {
  color: rgba(12,15,20,0.50);
  font-size: 0.75rem;
  transition: color 0.3s;
}
.cc-legal-links a:hover { color: var(--ink); }

.cc-copyright { color: rgba(12,15,20,0.40); font-size: 0.75rem; }

.cc-linkedin {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(12,15,20,0.70);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.3s;
  flex-shrink: 0;
}
.cc-linkedin:hover { background: var(--ink); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE EXTRAS
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .cc-stats-grid { grid-template-columns: 1fr 1fr; }
  .cc-stat { padding: 2rem 1.25rem; }
  .cc-stat:nth-child(2n+1) { border-left: none; }
}
