/* ============================================
   JAKE STEWART — Design System
   Charcoal & White | Restrained Gold Accent
   ============================================ */

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

:root {
  --charcoal:     #1C1C1E;
  --charcoal-mid: #2C2C2E;
  --charcoal-soft:#3A3A3C;
  --white:        #FAFAF8;
  --off-white:    #F2F0EB;
  --gold:         #B8972A;
  --gold-light:   #D4AF5A;
  --gold-rule:    #C9A84C;
  --text-primary: #1C1C1E;
  --text-secondary:#5C5C5E;
  --text-muted:   #8C8C8E;
  --border:       #E2E0DB;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --max-width: 1120px;
  --section-pad: 96px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); }

p { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }

a { color: inherit; text-decoration: none; }

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

section { padding: var(--section-pad) 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.gold-rule {
  width: 40px;
  height: 1px;
  background: var(--gold-rule);
  margin: 24px 0;
}

/* ============ NAVIGATION ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

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

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

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

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

.nav-resume {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal) !important;
  border: 1px solid var(--charcoal);
  padding: 8px 18px;
  transition: all 0.2s ease !important;
}

.nav-resume::after { display: none !important; }
.nav-resume:hover {
  background: var(--charcoal) !important;
  color: var(--white) !important;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: var(--off-white);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.hero-name em {
  font-style: normal;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-statement {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 48px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--charcoal-soft);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--charcoal);
  transition: all 0.25s ease;
}

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

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-frame {
  width: 360px;
  height: 440px;
  background: var(--charcoal-mid);
  position: relative;
  overflow: hidden;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 151, 42, 0.3);
  pointer-events: none;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}

.photo-placeholder svg { opacity: 0.3; }
.photo-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

.hero-photo-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  z-index: -1;
}

/* ============ BRANDS ============ */
.brands {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.brands-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.brands-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.brand-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  letter-spacing: 0.04em;
  opacity: 1;
}


/* ============ HOMEPAGE SECTIONS ============ */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-block {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.stat-block:last-child { border-bottom: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number sup {
  font-size: 1.8rem;
  vertical-align: super;
  color: var(--charcoal);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; }
.about-content p:last-of-type { margin-bottom: 32px; }

/* ============ EXPERTISE PREVIEW ============ */
.expertise-preview {
  background: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--border);
}

.expertise-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.25s ease;
  position: relative;
}

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

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 32px;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.expertise-card h3 {
  font-size: 1.2rem;
  margin: 20px 0 12px;
}

.expertise-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--charcoal);
  padding: 80px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 540px;
}

.cta-strip h2 em {
  font-style: normal;
  color: var(--gold-light);
}

.cta-strip-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s ease;
}

.btn-light:hover { background: var(--off-white); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.25s ease;
}

.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

/* ============ SKILLS PAGE ============ */
.skills-hero {
  background: var(--charcoal);
  padding: 160px 0 96px;
  position: relative;
  overflow: hidden;
}

.skills-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(184, 151, 42, 0.12);
  border-radius: 50%;
}

.skills-hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: 5%;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(184, 151, 42, 0.08);
  border-radius: 50%;
}

.skills-hero .section-label { color: var(--gold-light); }
.skills-hero h1 { color: var(--white); }
.skills-hero p { color: rgba(255,255,255,0.6); max-width: 560px; margin-top: 20px; font-size: 1.05rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 64px;
}

.skill-block {
  background: var(--white);
  padding: 52px 48px;
  position: relative;
  transition: background 0.2s;
}

.skill-block:hover { background: var(--off-white); }

.skill-block-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--off-white);
  position: absolute;
  top: 32px; right: 40px;
  line-height: 1;
  transition: color 0.2s;
}

.skill-block:hover .skill-block-number { color: rgba(184, 151, 42, 0.15); }

.skill-block h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  position: relative;
}

.skill-block h3::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
}

.skill-block p { font-size: 0.95rem; line-height: 1.8; }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.skill-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
}

.leadership-banner {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  margin: 80px 0 0;
}

.leadership-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.leadership-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.l-stat { padding: 24px; background: var(--white); border-bottom: 2px solid var(--gold); }

.l-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--charcoal);
}

.l-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ CASE STUDIES ============ */
.cs-hero {
  background: var(--off-white);
  padding: 160px 0 96px;
  border-bottom: 1px solid var(--border);
}

.cs-hero h1 { margin-top: 16px; margin-bottom: 20px; }
.cs-hero p { max-width: 560px; font-size: 1.05rem; }

.cs-grid {
  padding: 80px 0;
}

.cs-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: border-color 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
}

.cs-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cs-card-label {
  background: var(--charcoal);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cs-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}

.cs-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cs-card-content {
  padding: 48px 48px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cs-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.cs-card-content p { font-size: 0.95rem; margin-bottom: 24px; }

.cs-card-meta {
  display: flex;
  gap: 32px;
}

.cs-meta-item { }
.cs-meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cs-meta-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
}

.cs-arrow {
  align-self: flex-end;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============ INDIVIDUAL CASE STUDY ============ */
.cs-detail-hero {
  background: var(--charcoal);
  padding: 160px 0 80px;
}

.cs-detail-hero .section-label { color: var(--gold-light); }
.cs-detail-hero h1 { color: var(--white); margin: 16px 0 24px; }
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  transition: color 0.2s;
}
.cs-back:hover { color: var(--white); }

.cs-detail-meta {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.cs-detail-meta-item .cs-meta-label { color: rgba(255,255,255,0.35); }
.cs-detail-meta-item .cs-meta-value { color: var(--white); font-size: 1.1rem; }

.cs-detail-body {
  padding: 80px 0;
}

.cs-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.cs-detail-section { margin-bottom: 56px; }
.cs-detail-section h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.cs-detail-section p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }

.cs-detail-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-detail-section ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.cs-detail-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.cs-sidebar {
  position: sticky;
  top: 100px;
}

.cs-result-card {
  background: var(--charcoal);
  padding: 40px 32px;
  margin-bottom: 16px;
}

.cs-result-card .cs-meta-label { color: rgba(255,255,255,0.4); }
.cs-result-card .cs-meta-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  display: block;
  margin-top: 8px;
}

.cs-result-card .cs-result-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
footer {
  background: var(--charcoal);
  padding: 64px 0 40px;
  border-top: 1px solid var(--charcoal-mid);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand span { color: var(--gold); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero::before { display: none; }
  .hero-photo-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .leadership-banner-inner { grid-template-columns: 1fr; }
  .cs-card { grid-template-columns: 1fr; }
  .cs-detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { gap: 20px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px; }
  .nav-links .hide-mobile { display: none; }
  .brands-list { gap: 28px; }
  .leadership-stats { grid-template-columns: 1fr; }
}
