/* ==========================================================================
   Christina Sookhoo — Marketing Strategist · Project Manager
   Warm Cream · Steel Blue · Espresso
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: #1A1612;
  background: #FDFAF6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga";
}

::selection { background: var(--blue); color: #fff; }

:root {
  --blue:      #3A7EBF;
  --blue-lt:   #E0EEF8;
  --blue-dk:   #12426A;
  --ink:       #1A1612;
  --cream:     #FEFCF8;
  --warm:      #F3EBE0;
  --mid:       #EDE6DA;
  --espresso:  #2A1F18;
  --charcoal:  #3A3028;
  --stone:     #5A5248;
  --muted:     #8A7E74;
  --rule:      #E0D8CC;
  --font-d:    'Fraunces', Georgia, serif;
  --font-b:    'Inter', system-ui, sans-serif;
  --ease-out:  cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #C8BFB0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
* { scrollbar-width: thin; scrollbar-color: #C8BFB0 var(--cream); }

/* ── FOCUS ── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* ── KEYFRAMES ── */
@keyframes sidebar-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes photo-fade {
  from { opacity: 0; }
  to   { opacity: 0.82; }
}
@keyframes photo-breath {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}
@keyframes status-pulse {
  0%   { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes border-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ── STATUS DOT ── */
.status-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 5px;
  position: relative;
  vertical-align: middle;
  top: -1px;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  animation: status-pulse 1.9s ease-out infinite;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger-child {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.stagger-child.stagger-in {
  opacity: 1;
  transform: none;
}

/* Hero entry — opacity/transform set here, toggled by JS adding .hero-in */
.hero-strip .eyebrow,
.hero-strip .hero-headline,
.hero-strip .hero-tag,
.hero-strip .pills,
.hero-strip .cta-link {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.hero-strip .eyebrow.hero-in,
.hero-strip .hero-headline.hero-in,
.hero-strip .hero-tag.hero-in,
.hero-strip .pills.hero-in,
.hero-strip .cta-link.hero-in {
  opacity: 1;
  transform: none;
}

/* ── NAV ── */
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 0 44px 0 22px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.nav-tagline { font-family: var(--font-b); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--blue);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); }

/* ── SIDEBAR ── */
.sidebar {
  background: var(--espresso);
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 50;
  animation: sidebar-in 0.5s var(--ease-out) both;
}
.sb-photo-wrap { position: relative; flex: 1; overflow: hidden; min-height: 0; }
.sb-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  opacity: 0;
  animation:
    photo-fade 0.7s 0.3s ease-out forwards,
    photo-breath 22s 1s ease-in-out infinite;
}
.sb-photo-grad { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(transparent, var(--espresso)); }
.sb-photo-tint { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(58,126,191,0.15), transparent 60%); }
.sb-body { padding: 18px 22px; flex: 1; display: flex; flex-direction: column; }
.sb-name { font-family: var(--font-d); font-size: 22px; font-weight: 700; color: #fff; line-height: 1.05; margin-bottom: 6px; }
.sb-name em { font-style: italic; font-weight: 400; color: #7AAED4; }
.sb-title { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.sb-stats { display: flex; flex-direction: column; flex: 1; }
.sb-stat { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); gap: 2px; }
.sb-stat:last-child { border: none; }
.sb-n { font-family: var(--font-d); font-size: 30px; font-weight: 700; color: #7AAED4; line-height: 1; }
.sb-l { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); }

/* ── HERO LAYOUT ── */
.hero-layout { display: block; margin-left: 260px; }
.main { overflow: hidden; min-height: 100vh; }

/* HERO STRIP */
.hero-strip {
  background: var(--cream);
  padding: 48px 44px 40px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--blue);
  transform-origin: top;
  animation: border-grow 0.65s 0.1s var(--ease-out) both;
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: block; }
.eyebrow-d { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(180,215,240,0.85); margin-bottom: 14px; display: block; }
.hero-headline {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-headline em { font-style: italic; font-weight: 400; color: var(--blue); }
.hero-tag { font-size: 15px; color: #3A3028; line-height: 1.78; max-width: 520px; margin-bottom: 22px; font-weight: 400; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.pill-a, .pill-b, .pill-n { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pill-a { font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 2px; background: var(--blue); color: #fff; letter-spacing: 0.02em; }
.pill-b { font-size: 11px; font-weight: 500; padding: 5px 14px; border-radius: 2px; background: #B8D4EE; color: #0A3660; letter-spacing: 0.02em; }
.pill-n { font-size: 11px; font-weight: 400; padding: 5px 14px; border-radius: 2px; background: #EDE8E0; color: #2A2218; }
.pill-a:hover, .pill-b:hover, .pill-n:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.1); }
.cta-link {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); border-bottom: 2.5px solid var(--blue); padding-bottom: 2px;
  display: inline-block; margin-right: 22px; text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.cta-link:hover { color: var(--blue); transform: translateY(2px); }
.cta-inv { color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-inv:hover { color: rgba(255,255,255,0.7); transform: translateY(2px); }

/* SECTION BACKGROUNDS */
.s-cream { background: var(--cream); }
.s-warm  { background: var(--warm); }
.s-mid   { background: var(--mid); }
.full-rule { height: 1px; background: var(--rule); }

.section { padding: 48px 44px; }

.sec-title {
  font-family: var(--font-d);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.sec-title em { font-style: italic; font-weight: 400; }
.sec-title::after {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--blue);
  margin-top: 10px;
  margin-bottom: 12px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}
.reveal.visible .sec-title::after { transform: scaleX(1); }

.sec-title-d {
  font-family: var(--font-d);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.sec-title-d::after {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: rgba(122,174,212,0.7);
  margin-top: 10px;
  margin-bottom: 12px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}
.reveal.visible .sec-title-d::after { transform: scaleX(1); }

.body-text { font-size: 15px; color: #2A2218; line-height: 1.85; margin-bottom: 14px; font-weight: 400; }
.body-dark { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 14px; font-weight: 400; }
blockquote { border-left: 3px solid var(--blue); padding: 10px 20px; margin: 20px 0; }
blockquote p { font-family: var(--font-d); font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.6; }

/* WHAT I DO */
.what-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.what-col { padding: 22px; }
.what-col:first-child { border-right: 1px solid var(--rule); }
.what-col-title { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--blue); }
.what-item { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.what-item:last-child { border: none; }
.what-item-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.what-item-body { font-size: 13px; color: var(--stone); line-height: 1.6; font-weight: 300; }

/* STATS BAND */
.stats-band { background: #3A7EBF; padding: 28px 44px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 100%; }
.sb-item { text-align: center; padding: 0 16px; border-right: 1px solid rgba(255,255,255,0.1); }
.sb-item:last-child { border: none; }
.sb-metric { font-family: var(--font-d); font-size: 32px; font-weight: 700; color: #ffffff; line-height: 1; }
.sb-label { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* EXPERIENCE */
.exp-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--rule); }
.exp-date { font-size: 12px; color: var(--muted); padding-top: 3px; }
.exp-role { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.exp-co { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.exp-bullets { list-style: none; }
.exp-bullets li { font-size: 13px; color: #3A2A22; line-height: 1.7; padding-left: 14px; position: relative; margin-bottom: 5px; font-weight: 300; }
.exp-bullets li::before { content: '–'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* CASE STUDIES */
.star-row { margin-bottom: 10px; }
.star-label { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8A7E74; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.star-dot { width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #fff; flex-shrink: 0; }
.star-text { font-size: 12px; color: #3A3028; line-height: 1.7; font-weight: 400; padding-left: 23px; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cs-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(58,126,191,0.14); }
.cs-top { padding: 20px; border-top: 3px solid var(--blue); flex: 1; transition: border-top-color 0.2s ease; }
.cs-card:hover .cs-top { border-top-color: var(--blue-dk); }
.cs-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; }
.cs-title { font-family: var(--font-d); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.cs-body { font-size: 12px; color: var(--stone); line-height: 1.65; font-weight: 300; }
.cs-result { background: var(--blue-lt); padding: 14px 20px; display: flex; align-items: center; gap: 8px; min-height: 64px; transition: background 0.2s ease; }
.cs-card:hover .cs-result { background: #C8DCF0; }
.cs-metric { font-family: var(--font-d); font-size: 24px; font-weight: 700; color: var(--blue-dk); }
.cs-label { font-size: 11px; color: #1A5A8A; font-weight: 400; }

/* BRANDS */
.brands-strip { background: #F5EEE4; border-top: 1px solid #E0D4C0; border-bottom: 1px solid #E0D4C0; padding: 24px 44px; }
.brands-industries { font-size: 12px; color: var(--blue); font-weight: 500; text-align: center; margin-bottom: 14px; letter-spacing: 0.03em; }
.brands-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6A6058; text-align: center; margin-bottom: 14px; }
.brands-list { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; }
.brand-item {
  font-size: 12px;
  color: #5A5248;
  font-weight: 300;
  transition: color 0.18s ease, transform 0.18s ease;
  cursor: default;
}
.brand-item:hover { color: var(--blue); transform: translateY(-1px); }

/* TOOLS */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tool-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(190,220,245,0.9); border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 8px; margin-bottom: 12px; }
.tool-item {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding: 4px 0;
  font-weight: 300;
  display: block;
  transition: color 0.18s ease, transform 0.18s ease;
}
.tool-item:hover { color: #fff; transform: translateX(4px); }

/* FOOTER */
footer { background: #0E2038; padding: 17px 44px; display: flex; justify-content: space-between; }
footer span { font-size: 12px; color: rgba(255,255,255,0.25); font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-layout { margin-left: 0; }

  .sidebar {
    position: relative;
    width: 100%;
    height: 190px;
    flex-direction: row;
  }
  .sb-photo-wrap {
    flex: none;
    width: 145px;
    height: 100%;
    min-height: 0;
  }
  .sb-body { padding: 16px 18px; overflow: hidden; }
  .sb-name { font-size: 18px; }
  .sb-title { margin-bottom: 12px; }
  .sb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .sb-stat { padding: 5px 0; border-bottom: none; border-right: none; gap: 1px; }
  .sb-stat:last-child { border: none; }
  .sb-n { font-size: 20px; }
  .sb-l { font-size: 9px; }

  nav { padding: 0 20px; position: sticky; }
  .nav-links {
    display: flex;
    position: absolute;
    top: 54px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 14px 22px 18px;
    gap: 16px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    z-index: 200;
    /* closed state */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { font-size: 12px; letter-spacing: 0.1em; }
  .burger { display: flex; }

  .hero-strip, .section, .stats-band, .brands-strip, footer { padding-left: 24px; padding-right: 24px; }
  .what-grid { grid-template-columns: 1fr; }
  .what-col:first-child { border-right: none; border-bottom: 1px solid var(--rule); }
  .cs-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sb-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 10px 0; }
  .sb-item:nth-child(even) { border-right: 1px solid rgba(255,255,255,0.1); }
  .sb-item:last-child { border: none; }
  .exp-item { grid-template-columns: 1fr; gap: 4px; }
  footer { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 20px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .sidebar { animation: none; opacity: 1; transform: none; }
  .sb-photo { animation: none; opacity: 0.82; }
  .status-dot::after { animation: none; }
  .hero-strip::before { animation: none; transform: scaleY(1); }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .stagger-child { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-strip .eyebrow,
  .hero-strip .hero-headline,
  .hero-strip .hero-tag,
  .hero-strip .pills,
  .hero-strip .cta-link { opacity: 1; transform: none; transition: none; }
  .sec-title::after,
  .sec-title-d::after { transition: none; transform: scaleX(1); }
}
