/* ============================================================
   REDCREST PARTNERS — Main Stylesheet
   Aesthetic: Luxury editorial · Dark authority · Gold precision
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

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

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:        #0c0e13;
  --bg-2:      #111318;
  --bg-3:      #171a22;
  --surface:   #1c1f29;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);
  --gold:      #c9a84c;
  --gold-dim:  #8a6e2f;
  --gold-pale: rgba(201,168,76,0.08);
  --cream:     #f0ebe0;
  --cream-dim: #b8b0a0;
  --text:      #e8e3d8;
  --text-mid:  #9a9590;
  --text-dim:  #5a5750;
  --white:     #ffffff;
  --red:       #c94c4c;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --max-w:   1200px;
  --gutter:  clamp(24px, 5vw, 80px);
  --section: clamp(80px, 10vw, 140px);

  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.3;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; font-weight: 300; }
.body-md { font-size: 16px; line-height: 1.7; font-weight: 300; }
.body-sm { font-size: 14px; line-height: 1.65; font-weight: 300; color: var(--text-mid); }

.text-gold { color: var(--gold); }
.text-dim { color: var(--text-mid); }
.italic { font-style: italic; }

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

.section { padding: var(--section) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
  padding: 0;
}

.nav.scrolled {
  background: rgba(12, 14, 19, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--cream);
  transition: color 0.2s;
}

.nav-logo:hover { color: var(--gold); }

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 8px 20px;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border-2);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: none;
  padding: 0;
  gap: 8px;
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}

.btn-ghost:hover::after {
  transform: translateX(6px);
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(30,40,80,0.4) 0%, transparent 70%),
    linear-gradient(170deg, #0c0e13 0%, #111520 50%, #0d1018 100%);
}

.hero-line {
  position: absolute;
  top: 0;
  left: var(--gutter);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold-dim) 30%, transparent 70%, transparent);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px var(--gutter) 0;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.5vw, 100px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}

.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  max-width: 800px;
  margin-bottom: 24px;
}

.page-hero p {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-mid);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.75;
}

/* ============================================================
   CAPABILITIES SECTION (Home)
   ============================================================ */
.capabilities {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.capability-card {
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease);
}

.capability-card:last-child { border-right: none; }

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.capability-card:hover { background: var(--bg-3); }
.capability-card:hover::before { transform: scaleX(1); }

.capability-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.capability-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
}

.capability-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   WHY SECTION (Home)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.why-left { position: sticky; top: 120px; }

.why-props {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-prop {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
}

.why-prop:first-child { border-top: 1px solid var(--border); }

.why-prop-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.why-prop-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
}

.why-prop-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.partners {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}

.partner-name {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}

.partner-name:hover { color: var(--cream); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 40px;
  font-weight: 300;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  padding: var(--section) 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-of-type { border-bottom: none; }

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 24px;
}

.service-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.5;
  transition: color 0.2s;
}

.deliverables-list li:first-child { border-top: 1px solid var(--border); }
.deliverables-list li:hover { color: var(--cream); }

.deliverables-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
}

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 30%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.service-visual-icon {
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(201,168,76,0.12);
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* Who we serve */
.serve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.serve-col {
  background: var(--bg-2);
  padding: clamp(32px, 4vw, 52px);
}

.serve-col h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.serve-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.serve-col ul li {
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 300;
  line-height: 1.5;
}

.serve-col ul li::before {
  content: '▸';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}

/* ============================================================
   OUR WORK PAGE
   ============================================================ */
.work-intro {
  max-width: 600px;
  font-size: 17px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 0;
}

.work-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
  cursor: default;
}

.work-card:first-child { border-top: 1px solid var(--border); }
.work-card:hover { background: var(--bg-2); }

.work-card-left {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.work-card-category {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
}

.work-card-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  margin-top: auto;
}

.work-card-right {
  padding: 48px 0 48px 56px;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
}

.work-card-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  max-width: 560px;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.about-mission-inner {
  max-width: 800px;
}

.mission-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 32px;
  font-style: italic;
}

.mission-quote::before {
  content: '\201C';
  color: var(--gold);
  font-size: 1.3em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 4px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.bio-photo {
  position: sticky;
  top: 100px;
}

.bio-photo-frame {
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.bio-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-3) 100%);
}

.bio-photo-placeholder span {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: rgba(201,168,76,0.15);
}

.bio-photo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
}

.bio-photo-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.bio-content {}

.bio-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 20px;
}

.bio-content p:first-of-type {
  font-size: 19px;
  color: var(--text);
  line-height: 1.7;
}

.bio-credentials {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.credential {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.credential:last-child { border-bottom: none; }

.credential-org {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 16px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.credential-role {
  font-size: 13px;
  color: var(--text-mid);
  padding: 14px 16px;
  font-weight: 300;
  display: flex;
  align-items: center;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.team-card {
  background: var(--bg-2);
  padding: 28px 24px;
  transition: background 0.2s;
}

.team-card:hover { background: var(--bg-3); }

.team-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo span {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  font-weight: 300;
}

.team-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.contact-info {}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  width: 60px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--cream);
}

.contact-item-value a {
  transition: color 0.2s;
}

.contact-item-value a:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 52px);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-dim);
  background: var(--bg-2);
}

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

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  margin-top: 8px;
}

.form-submit:hover {
  background: transparent;
  color: var(--gold);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-mid);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-brand span { color: var(--gold); }

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 24px;
}

.footer-email {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  transition: color 0.2s;
}

.footer-email:hover { color: var(--cream); }

.footer-right {
  text-align: right;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cream); }

.footer-legal {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Scroll-triggered fade */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITY
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.gold-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .capability-card { border-right: none; border-bottom: 1px solid var(--border); }
  .capability-card:last-child { border-bottom: none; }

  .why-grid { grid-template-columns: 1fr; }
  .why-left { position: static; }

  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .service-visual { display: none; }

  .serve-grid { grid-template-columns: 1fr; }

  .work-card { grid-template-columns: 1fr; }
  .work-card-left { display: none; }
  .work-card-right { padding: 36px 0; }

  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { position: static; }
  .bio-photo-frame { max-width: 260px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-headline { font-size: clamp(44px, 12vw, 72px); }
  .hero-scroll { display: none; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .credential { grid-template-columns: 1fr; }
  .credential-org { border-right: none; border-bottom: 1px solid var(--border); }
}
