/* ============================================
   PRODUCT GURU — Bold Editorial
   Yellow · White · Black
   Venture Studio · London
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Sora:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Core palette — strictly 3 colours */
  --yellow:       #FACC15;
  --yellow-dark:  #EAB308;
  --yellow-mid:   #FDE047;
  --yellow-pale:  #FEF9C3;
  --black:        #0A0A0A;
  --white:        #FFFFFF;

  /* Grays — derived from black/white */
  --gray-950: #111111;
  --gray-900: #1A1A1A;
  --gray-800: #262626;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #A3A3A3;
  --gray-300: #D4D4D4;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --gray-50:  #FAFAFA;

  /* Semantic */
  --color-bg:      var(--white);
  --color-surface: var(--gray-50);
  --color-border:  var(--gray-200);
  --color-text:    var(--gray-950);
  --color-muted:   var(--gray-500);

  /* Typography */
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', var(--font-body);
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 280ms var(--ease);
  --t-slow: 500ms var(--ease);

  /* Layout */
  --header-h: 72px;
  --max-w:    1200px;
  --pad:      clamp(1.25rem, 5vw, 2.5rem);
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: inherit;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.0625rem; }

p { color: var(--color-muted); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s16);
}
.section-header h2 { margin-bottom: var(--s4); }
.section-header p { font-size: 1.0625rem; }

.text-center { text-align: center; }
.mt-8 { margin-top: var(--s8); }
.mt-16 { margin-top: var(--s16); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal        { transform: translateY(30px); }
.reveal-left   { transform: translateX(-40px); }
.reveal-right  { transform: translateX(40px); }

.reveal.active,
.reveal-left.active,
.reveal-right.active { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.text-yellow {
  color: var(--yellow);
}

/* ============================================
   LABEL / EYEBROW
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--s5);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn-sm  { padding: 0.5rem 1.125rem; font-size: 0.875rem; }
.btn-md  { padding: 0.75rem 1.625rem; }
.btn-lg  { padding: 0.9375rem 2.25rem; font-size: 1rem; }

/* Yellow on dark */
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250,204,21,0.4);
}

/* White outline on dark */
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

/* Black outline on light */
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: var(--s3); }

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--black);
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
}
.logo-mark svg { width: 16px; height: 16px; fill: var(--black); stroke: none; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* Nav */
.nav { display: flex; align-items: center; gap: var(--s8); }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link.active { color: var(--yellow); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: var(--s2);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-base);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav { gap: var(--s3); }
  .nav-list {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s8) var(--pad);
    gap: var(--s2);
    overflow-y: auto;
    z-index: 999; /* sit above all page content */
  }
  .nav-list.open { display: flex; }
  .nav-link { font-size: 1.125rem; padding: var(--s3) var(--s4); }
}

/* Mobile-only CTA in nav overlay — hidden on desktop */
.nav-mobile-cta { display: none; }

/* Hide header CTA on narrow phones — CTA is in the hamburger overlay instead */
@media (max-width: 480px) {
  .nav > .btn { display: none; }
  .nav-mobile-cta {
    display: block;
    padding-top: var(--s6);
    margin-top: var(--s4);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Yellow glow — top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(ellipse, rgba(250,204,21,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--s16);
  align-items: center;
  padding: calc(var(--header-h) + var(--s20)) 0 var(--s20);
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s12); }
}

/* Left: content */
.hero-content .eyebrow { color: rgba(255,255,255,0.45); }
.hero-content .eyebrow::before { background: var(--yellow); }

.hero-content h1 {
  color: var(--white);
  line-height: 1.05;
  margin-bottom: var(--s6);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-desc {
  color: rgba(255,255,255,0.55);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  max-width: 540px;
  margin-bottom: var(--s10);
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s16);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-stats .stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  font-weight: 500;
}

/* Right: portfolio card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s5) var(--s6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-card-header span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-card-count {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow) !important;
  letter-spacing: -0.03em;
}

.hero-company-list { padding: var(--s2) 0; }

.hero-company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s6);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--t-fast);
}
.hero-company-row:last-child { border-bottom: none; }
.hero-company-row:hover { background: rgba(255,255,255,0.04); }

.hero-company-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.hero-company-cat {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 1024px) {
  .hero-card { display: none; }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: var(--yellow);
  overflow: hidden;
  padding: var(--s4) 0;
  border-top: 1px solid var(--yellow-dark);
  border-bottom: 1px solid var(--yellow-dark);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: 0 var(--s6);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   SECTION — PORTFOLIO GRID (homepage)
   ============================================ */
.portfolio-section { background: var(--gray-50); }

.portfolio-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}

@media (max-width: 1100px) {
  .portfolio-5-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .portfolio-5-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .portfolio-5-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .portfolio-5-grid { grid-template-columns: 1fr; }
}

.p-card {
  background: var(--white);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: background var(--t-base);
  position: relative;
}
.p-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--t-base);
  transform-origin: left;
}
.p-card:hover { background: var(--gray-50); }
.p-card:hover::after { transform: scaleX(1); }

.p-card-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.p-card-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-950);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.p-card-domain {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

.p-card-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

.p-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--gray-100);
  transition: color var(--t-fast), gap var(--t-fast);
}
.p-card-link svg { width: 13px; height: 13px; }
.p-card-link:hover { color: var(--yellow-dark); gap: 8px; }

/* ============================================
   HOW WE BUILD
   ============================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

.how-card {
  padding: var(--s8);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.how-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,0.1), var(--shadow-md);
}

.how-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yellow-dark);
  letter-spacing: 0.1em;
  background: var(--yellow-pale);
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--s5);
}

.how-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
  transition: background var(--t-base);
}
.how-card:hover .how-icon { background: var(--yellow-pale); }
.how-icon svg { width: 24px; height: 24px; stroke: var(--gray-700); }

.how-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s3);
  color: var(--gray-950);
}
.how-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================
   NUMBERS SECTION
   ============================================ */
.numbers-section { background: var(--black); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 768px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

.number-cell {
  padding: var(--s12) var(--s8);
  text-align: center;
  background: var(--black);
}

.number-val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: var(--s3);
}

.number-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

/* gold class for counter suffix */
.gold { color: var(--yellow); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-band {
  background: var(--yellow);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  flex-wrap: wrap;
}

.cta-copy h2 {
  color: var(--black);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--s3);
  max-width: 560px;
}
.cta-copy p {
  color: rgba(10,10,10,0.65);
  font-size: 1.0625rem;
  max-width: 480px;
}

.cta-band .btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  flex-shrink: 0;
}
.cta-band .btn-primary:hover {
  background: var(--gray-900);
  border-color: var(--gray-900);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: var(--s16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s10);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--s4);
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s5);
}
.social-row a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--t-fast);
}
.social-row a svg { width: 15px; height: 15px; stroke: currentColor; }
.social-row a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--s5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  padding: var(--s5) 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--s6);
  right: var(--s6);
  width: 42px;
  height: 42px;
  background: var(--yellow);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--t-base);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--yellow-dark); }
.back-to-top svg { stroke: var(--black); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--s6);
  left: var(--s6);
  right: var(--s6);
  max-width: 520px;
  background: var(--gray-950);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  z-index: 9999;
  transform: translateY(calc(100% + 30px));
  transition: transform var(--t-slow);
  box-shadow: var(--shadow-xl);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-content p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: var(--s4); }
.cookie-content a { color: var(--yellow); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--s3); }
.cookie-btn {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.cookie-btn-accept { background: var(--yellow); color: var(--black); }
.cookie-btn-accept:hover { background: var(--yellow-dark); }
.cookie-btn-decline {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.12); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--black);
  padding: calc(var(--header-h) + var(--s20)) 0 var(--s16);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero h1 { color: var(--white); margin-bottom: var(--s4); }
.page-hero p { color: rgba(255,255,255,0.55); font-size: 1.125rem; max-width: 560px; }

.text-yellow-grad {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PORTFOLIO FULL PAGE — detailed cards
   ============================================ */
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}
@media (max-width: 860px) { .portfolio-full-grid { grid-template-columns: 1fr; } }

.pf-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s8) var(--s10);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.pf-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pf-card-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 3px 12px;
  border-radius: var(--r-full);
  align-self: flex-start;
}

.pf-card h3 { font-size: 1.375rem; color: var(--gray-950); }
.pf-card > p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; flex: 1; }

.pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.pf-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.pf-locations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.pf-loc {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 2px 10px;
  border-radius: var(--r-full);
}

.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: auto;
  padding-top: var(--s4);
  border-top: 1px solid var(--gray-100);
  transition: color var(--t-fast), gap var(--t-fast);
}
.pf-link svg { width: 14px; height: 14px; }
.pf-link:hover { color: var(--yellow-dark); gap: 10px; }

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }

.about-copy .eyebrow { color: var(--gray-500); }
.about-copy h2 { margin-bottom: var(--s5); color: var(--gray-950); }
.about-copy p { margin-bottom: var(--s4); color: var(--gray-500); }

/* Circular visual */
.about-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 280px; height: 280px; border-color: rgba(250,204,21,0.3); animation: spin 22s linear infinite; }
.ring-2 { width: 200px; height: 200px; border-color: var(--gray-300); animation: spin 16s linear infinite reverse; }
.ring-3 { width: 120px; height: 120px; border-color: rgba(250,204,21,0.5); }

.ring-center {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  background: var(--yellow);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-center svg { width: 32px; height: 32px; stroke: var(--black); }

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Vision cards */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}
@media (max-width: 768px) { .vision-grid { grid-template-columns: 1fr; } }

.vision-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s8) var(--s10);
  transition: border-color var(--t-base);
}
.vision-card:hover { border-color: var(--yellow); }
.vision-icon {
  width: 56px; height: 56px;
  background: var(--yellow-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
}
.vision-icon svg { width: 28px; height: 28px; stroke: var(--gray-800); }
.vision-card h3 { margin-bottom: var(--s3); color: var(--gray-950); }
.vision-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
@media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.val-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s7, var(--s8));
  transition: border-color var(--t-base), transform var(--t-base);
}
.val-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.val-icon {
  width: 48px; height: 48px;
  background: var(--yellow-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s5);
}
.val-icon svg { width: 22px; height: 22px; stroke: var(--gray-800); }
.val-card h4 { margin-bottom: var(--s2); color: var(--gray-950); }
.val-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.65; }

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--gray-200) 100%);
}
.timeline-item { position: relative; padding-bottom: var(--s10); padding-left: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 14px; height: 14px;
  background: var(--yellow);
  border: 2px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(250,204,21,0.25);
}
.timeline-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: var(--s5) var(--s6);
  transition: border-color var(--t-base);
}
.timeline-box:hover { border-color: var(--yellow); }
.timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--yellow-dark);
  background: var(--yellow-pale);
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--s3);
}
.timeline-box h4 { color: var(--gray-950); margin-bottom: var(--s2); }
.timeline-box p { font-size: 0.9375rem; color: var(--gray-500); margin: 0; }

/* Stats dark section */
.stats-dark { background: var(--black); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s8);
  text-align: center;
}
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.stat-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--s2);
}
.stat-lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: var(--s16);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { color: var(--gray-950); margin-bottom: var(--s4); }
.contact-info > p { color: var(--gray-500); margin-bottom: var(--s8); font-size: 1rem; }

.contact-details { display: flex; flex-direction: column; gap: var(--s5); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}
.ci-icon {
  width: 46px; height: 46px;
  background: var(--yellow-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; stroke: var(--gray-800); }
.ci-text h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.ci-text p, .ci-text a { font-size: 0.9375rem; color: var(--gray-500); margin: 0; }
.ci-text a:hover { color: var(--yellow-dark); }

.contact-social-block {
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--gray-200);
}
.contact-social-block h5 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--s4);
}

.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--s10);
  box-shadow: var(--shadow-md);
  margin-top: 16px;
}
.contact-form-panel h3 {
  font-size: 1.5rem;
  color: var(--gray-950);
  margin-bottom: var(--s6);
}

.form-group { margin-bottom: var(--s5); }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--s2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--gray-950);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(250,204,21,0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-panel { padding: var(--s6); }
}
.contact-form-panel .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.contact-form-panel .btn-primary:hover {
  background: var(--gray-900);
  border-color: var(--gray-900);
}
.form-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: var(--s4);
}
.form-note a { color: var(--yellow-dark); text-decoration: underline; }

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
}
@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
}
.faq-item h4 {
  font-size: 1.0625rem;
  color: var(--gray-950);
  margin-bottom: var(--s3);
}
.faq-item p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   LEGAL PAGES (Privacy Policy, Terms)
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--s16)) var(--pad) var(--s24);
}
.legal-content .eyebrow { margin-bottom: var(--s4); }
.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gray-950);
  margin-bottom: var(--s3);
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--gray-400);
  font-family: var(--font-mono);
  margin-bottom: var(--s12);
  padding-bottom: var(--s8);
  border-bottom: 1px solid var(--gray-200);
}
.legal-content h2 {
  font-size: 1.25rem;
  color: var(--gray-950);
  margin: var(--s10) 0 var(--s3);
  padding-top: var(--s6);
  border-top: 1px solid var(--gray-100);
}
.legal-content h2:first-of-type { border-top: none; }
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: var(--s6) 0 var(--s2);
}
.legal-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--s4);
}
.legal-content ul {
  margin: 0 0 var(--s4) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.legal-content li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.legal-content a { color: var(--yellow-dark); text-decoration: underline; }
.legal-content strong { color: var(--gray-800); font-weight: 600; }
