/* ═══════════════════════════════════════════════════
   HANNAH GOMEZ FARIAS — Portfolio Design System
   ═══════════════════════════════════════════════════ */

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

:root {
  --cream: #F8F4EE;
  --ink: #1A1A18;
  --ink-dark: #0E0E0C;
  --coral: #E85D3F;
  --highlight: #F2E05A;
  --warm-gray: #EFEBE5;
  --border: rgba(26,26,24,0.1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --gutter: clamp(24px, 7vw, 120px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; display: flex; align-items: center;
  background: rgba(248,244,238,0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.65; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--ink); color: var(--cream);
  padding: 10px 22px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: transform 0.2s var(--ease-spring), background 0.2s;
}
.nav-cta:hover { transform: scale(1.05); background: var(--coral); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(26,26,24,0.06); }
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* Mobile nav drawer */
.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 999;
  padding: 100px 24px 28px;
  display: flex; flex-direction: column; gap: 0;
  transform: translateY(-12px); opacity: 0;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.25s;
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
}
.nav-mobile.is-open {
  transform: translateY(0); opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.nav-mobile a {
  display: block;
  font-size: 17px; font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: 100svh; padding-top: 72px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-content { padding: clamp(64px, 10vh, 120px) 0; position: relative; z-index: 2; max-width: 720px; }
.hero-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--coral); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 8.5vw, 118px);
  font-weight: 900; line-height: 0.93; letter-spacing: -0.025em;
  margin-bottom: 36px;
}
.hero-headline .italic {
  font-style: italic; position: relative; display: inline-block;
}
.hero-headline .italic::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 100%; height: 7px; background: var(--coral); border-radius: 4px;
  transform-origin: left; animation: growLine 0.9s var(--ease-out) 0.5s both;
}
@keyframes growLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); opacity: 0.68; line-height: 1.65; margin-bottom: 48px; max-width: 500px; }
.hero-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-primary {
  background: var(--ink); color: var(--cream);
  padding: 16px 34px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  transition: transform 0.25s var(--ease-spring), background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); background: var(--coral); }
.btn-ghost { font-size: 14px; opacity: 0.45; transition: opacity 0.2s; }
.btn-ghost:hover { opacity: 0.75; }

/* Floating objects */
.floating-objects { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.float-obj { position: absolute; will-change: transform; }
.float-obj img { width: 100%; height: 100%; object-fit: contain; }

/* ── WORK SECTION ── */
.work-section { padding: clamp(80px, 10vh, 140px) 0; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coral);
  border-top: 1px solid var(--border); padding-top: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex; justify-content: space-between; align-items: baseline;
}
.section-eyebrow span { font-family: var(--font-body); font-size: 13px; color: var(--ink); opacity: 0.4; text-transform: none; letter-spacing: 0; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.5vw, 24px); }
.col-7  { grid-column: span 7; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-6  { grid-column: span 6; }
.col-12 { grid-column: span 12; }

/* Project card */
.project-card {
  border-radius: 16px; overflow: hidden; cursor: pointer;
  background: var(--warm-gray);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(26,26,24,0.12); }
.card-visual {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(24px, 3vw, 48px); aspect-ratio: 4/3;
  position: relative; overflow: hidden;
}
.card-info { padding: 24px 28px 32px; flex: 1; }
.card-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 10px;
}
.card-title { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.card-desc { font-size: 13px; opacity: 0.52; line-height: 1.45; }
.card-metric {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; background: var(--ink); color: var(--cream);
  padding: 5px 13px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
}
.card-dark { background: var(--ink); color: var(--cream); }
.card-coral { background: var(--coral); color: var(--cream); }
.card-dark .card-tag { color: rgba(248,244,238,0.5); }
.card-coral .card-tag { color: rgba(248,244,238,0.7); }
.card-dark .card-desc, .card-coral .card-desc { opacity: 0.45; }
.card-dark .card-metric { background: var(--coral); }
.card-coral .card-metric { background: var(--ink); }

/* ═══════════════════════════════
   DEVICE BEZELS — Premium CSS
   ═══════════════════════════════ */

/* ── iPhone 15 Pro (Black Titanium) ── */
.bezel-iphone {
  position: relative;
  width: clamp(140px, 15vw, 220px);
  aspect-ratio: 9/19.5;
  /* Titanium frame: subtle metallic gradient */
  background: linear-gradient(145deg, #2c2c2a 0%, #1c1c1a 40%, #242422 70%, #1a1a18 100%);
  border-radius: clamp(28px, 3.2vw, 44px);
  box-shadow:
    /* Inner edge highlight */
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 1px 1px 0 rgba(255,255,255,0.06),
    /* Outer edge */
    0 0 0 0.5px rgba(0,0,0,0.6),
    /* Depth shadow */
    0 24px 48px rgba(0,0,0,0.5),
    0 8px 16px rgba(0,0,0,0.3),
    /* Ambient glow */
    0 0 80px rgba(232,93,63,0.06);
  transform: perspective(1000px) rotateX(2deg) rotateY(-6deg);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.bezel-iphone:hover {
  transform: perspective(1000px) rotateX(0) rotateY(0);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 1px 1px 0 rgba(255,255,255,0.06),
    0 0 0 0.5px rgba(0,0,0,0.6),
    0 32px 64px rgba(0,0,0,0.55),
    0 12px 24px rgba(0,0,0,0.3),
    0 0 100px rgba(232,93,63,0.12);
}
.bezel-iphone .screen {
  position: absolute;
  inset: 3.5% 2.8%;
  border-radius: calc(clamp(28px,3.2vw,44px) - 6px);
  overflow: hidden;
  background: #090909;
  /* Screen glass edge */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.bezel-iphone .screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
/* Dynamic Island */
.bezel-iphone .dynamic-island {
  position: absolute; top: 3.8%; left: 50%; transform: translateX(-50%);
  width: 28%; height: 3%;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03);
}
/* Action button (left side, above volume) */
.bezel-iphone::before {
  content: ''; position: absolute; left: -2px; top: 18%;
  width: 2px; height: 5%;
  background: linear-gradient(180deg, #333330 0%, #2a2a28 100%);
  border-radius: 2px 0 0 2px;
}
/* Volume buttons (left side) */
.bezel-iphone::after {
  content: ''; position: absolute; left: -2px; top: 27%;
  width: 2px; height: 7%;
  background: linear-gradient(180deg, #333330 0%, #2a2a28 100%);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 calc(7% + 7px) 0 #2a2a28;
}

/* Large variant for case study hero */
.bezel-iphone--lg {
  width: clamp(180px, 20vw, 280px);
}

/* ── MacBook Pro (Space Black) ── */
.bezel-macbook {
  position: relative;
  filter:
    drop-shadow(0 40px 80px rgba(0,0,0,0.35))
    drop-shadow(0 8px 16px rgba(0,0,0,0.2))
    drop-shadow(0 0 60px rgba(232,93,63,0.05));
  transform: perspective(1400px) rotateX(4deg);
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}
.bezel-macbook:hover {
  transform: perspective(1400px) rotateX(0);
  filter:
    drop-shadow(0 48px 96px rgba(0,0,0,0.4))
    drop-shadow(0 12px 24px rgba(0,0,0,0.22))
    drop-shadow(0 0 80px rgba(232,93,63,0.1));
}
/* Lid — Space Black aluminum */
.mac-lid {
  background: linear-gradient(175deg, #2a2a28 0%, #1e1e1c 50%, #242422 100%);
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  position: relative;
}
/* Screen glass panel */
.mac-screen {
  background: #080808;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.mac-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Notch / camera area */
.mac-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 10%; height: 18px;
  background: linear-gradient(175deg, #2a2a28 0%, #1e1e1c 100%);
  border-radius: 0 0 8px 8px;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
/* Camera dot inside notch */
.mac-notch::after {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #1a1a18;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
/* Hinge + base */
.mac-base {
  background: linear-gradient(180deg, #252523 0%, #1c1c1a 60%, #161614 100%);
  height: 12px;
  border-radius: 0 0 2px 2px;
  border: 1px solid rgba(255,255,255,0.05);
  border-top: none;
  position: relative;
}
/* Keyboard recess line */
.mac-base::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: rgba(255,255,255,0.04);
}
/* Foot / chin */
.mac-foot {
  width: 32%; height: 6px;
  background: linear-gradient(180deg, #1c1c1a 0%, #141412 100%);
  margin: 0 auto;
  border-radius: 0 0 5px 5px;
  border: 1px solid rgba(255,255,255,0.03);
  border-top: none;
}

/* ── Browser Window Mockup (Safari style) ── */
.bezel-browser {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.12),
    0 32px 64px rgba(0,0,0,0.28),
    0 8px 16px rgba(0,0,0,0.12);
  transform: perspective(1400px) rotateX(3deg);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
  background: #1c1c1a;
}
.bezel-browser:hover {
  transform: perspective(1400px) rotateX(0);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.14),
    0 40px 80px rgba(0,0,0,0.32),
    0 12px 24px rgba(0,0,0,0.14);
}
/* Title bar */
.browser-bar {
  background: linear-gradient(180deg, #2e2e2c 0%, #272725 100%);
  padding: 10px 14px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
/* Traffic lights */
.browser-dots {
  display: flex; gap: 5px; flex-shrink: 0;
}
.browser-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-dot.close  { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.25); }
.browser-dot.min    { background: #FFBD2E; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.25); }
.browser-dot.max    { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.25); }
/* URL bar */
.browser-url {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border-radius: 5px;
  height: 22px;
  display: flex; align-items: center; justify-content: center;
  gap: 5px;
}
.browser-url-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.browser-url-line {
  height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
/* Screen area */
.browser-screen {
  background: #0d0d0d;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.browser-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Light variant (cream background pages) */
.bezel-browser--light .browser-bar {
  background: linear-gradient(180deg, #ebebea 0%, #e2e2e0 100%);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.bezel-browser--light .browser-url { background: rgba(0,0,0,0.07); }
.bezel-browser--light .browser-url-dot { background: rgba(0,0,0,0.15); }
.bezel-browser--light .browser-url-line { background: rgba(0,0,0,0.1); }

/* Bellwether Roaster Terminal */
.bezel-roaster {
  position: relative;
  background: #111110;
  border-radius: 10px;
  padding: 12px 12px 16px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  transform: perspective(900px) rotateX(2deg);
  transition: transform 0.5s var(--ease-out);
}
.bezel-roaster:hover { transform: perspective(900px) rotateX(0); }
.roaster-top-bar {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 0 2px;
}
.roaster-dot { width: 8px; height: 8px; border-radius: 50%; }
.roaster-dot.red { background: #ff5f57; }
.roaster-dot.yellow { background: #ffbd2e; }
.roaster-dot.green { background: #28c840; }
.roaster-screen { background: #0a0905; border-radius: 5px; overflow: hidden; aspect-ratio: 16/10; }
.roaster-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.roaster-brand {
  font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,0.2);
  text-align: center; margin-top: 8px; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ── ABOUT TEASER ── */
.about-teaser {
  background: var(--ink); color: var(--cream);
  padding: clamp(80px, 12vh, 160px) 0; position: relative; overflow: hidden;
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700; font-style: italic; line-height: 1.1;
}
.about-quote-bar { width: 72px; height: 4px; background: var(--coral); border-radius: 2px; margin: 28px 0; }
.about-bio { opacity: 0.62; font-size: 17px; line-height: 1.75; margin-bottom: 36px; }
.about-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; background: #2A2A28; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── FOOTER ── */
.footer { background: #0E0E0C; color: var(--cream); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(248,244,238,0.07); }
.footer-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.footer-tagline { font-size: 13px; opacity: 0.35; }
.footer-links { display: flex; gap: 28px; align-items: center; }
.footer-links a { font-size: 13px; opacity: 0.45; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--font-mono); font-size: 11px; opacity: 0.2; }
.footer-back { font-size: 13px; color: var(--coral); opacity: 0.7; transition: opacity 0.2s; }
.footer-back:hover { opacity: 1; }

/* ── SCROLL REVEAL ── */
.reveal { transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.js-loaded .reveal { opacity: 0; transform: translateY(28px); }
.js-loaded .reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════
   CASE STUDY PAGES
   ══════════════════════════════════════════ */

/* ── Case Study Nav (back link) ── */
.cs-nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--coral);
  transition: gap 0.2s;
}
.cs-nav-back:hover { gap: 12px; }

/* ── Case Study Hero ── */
.cs-hero {
  padding-top: 140px; padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.cs-hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coral);
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.cs-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--coral); }
.cs-hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.025em;
  margin-bottom: 28px; max-width: 900px;
}
.cs-hero-title em { font-style: italic; }
.cs-hero-hook {
  font-size: clamp(18px, 1.8vw, 22px); opacity: 0.62;
  line-height: 1.6; max-width: 620px; margin-bottom: 52px;
}
.cs-meta-grid {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--border); padding-top: 32px;
}
.cs-meta-item {
  padding: 0 40px 0 0; margin-right: 40px;
  border-right: 1px solid var(--border);
}
.cs-meta-item:last-child { border-right: none; }
.cs-meta-item label {
  display: block; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 6px;
}
.cs-meta-item span { font-size: 14px; font-weight: 500; }

/* ── Case Study Feature Image ── */
.cs-feature {
  padding: clamp(60px, 8vh, 100px) 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(32px, 5vw, 80px); flex-wrap: wrap;
}
.cs-feature--dark { background: var(--ink); }
.cs-feature--cream { background: #F0EBE1; }
.cs-feature--coral { background: #FFF0EC; }

/* ── Case Study Body ── */
.cs-body { padding: clamp(60px, 8vh, 100px) 0; }
.cs-section { margin-bottom: clamp(64px, 8vw, 112px); max-width: 720px; }
.cs-section--wide { max-width: 1100px; }
.cs-section-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coral);
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.cs-section-label::before { content: ''; width: 18px; height: 1px; background: var(--coral); }
.cs-section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.cs-section-body p { font-size: 16px; line-height: 1.8; opacity: 0.75; margin-bottom: 18px; }
.cs-section-body p:last-child { margin-bottom: 0; }
.cs-section-body strong { opacity: 1; color: var(--ink); }

/* ── Callout ── */
.cs-callout {
  background: var(--warm-gray); border-left: 3px solid var(--coral);
  padding: 24px 28px; border-radius: 0 10px 10px 0;
  margin: 28px 0; font-size: 16px; line-height: 1.7;
}
.cs-callout strong { color: var(--coral); }

/* ── Process Steps ── */
.cs-steps { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.cs-step {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.cs-step:last-child { border-bottom: none; }
.cs-step-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--coral); padding-top: 4px;
}
.cs-step-content h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cs-step-content p { font-size: 14px; opacity: 0.65; line-height: 1.65; }

/* ── AI Tool Chain ── */
.cs-toolchain {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 24px 0;
}
.cs-tool-node {
  background: var(--ink); color: var(--cream);
  padding: 8px 16px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
}
.cs-tool-arrow { color: var(--coral); font-size: 18px; opacity: 0.6; }

/* ── Outcome Stats ── */
.cs-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 8px; }
.cs-outcome-card { background: var(--cream); padding: 32px 28px; }
.cs-outcome-card .num { font-family: var(--font-display); font-size: clamp(40px, 4vw, 58px); font-weight: 900; line-height: 1; color: var(--coral); margin-bottom: 8px; }
.cs-outcome-card .label { font-size: 13px; opacity: 0.6; line-height: 1.4; }
.cs-feature--dark .cs-outcome-card { background: #272725; }
.cs-feature--dark .cs-outcome-card .label { color: var(--cream); }

/* ── Decision Block (Tradeoff) ── */
.cs-decision {
  background: var(--warm-gray); border-radius: 14px;
  padding: 28px 32px; margin-top: 8px;
}
.cs-decision-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 12px;
}
.cs-decision-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.cs-decision-option { font-size: 14px; line-height: 1.5; }
.cs-decision-option.chosen { font-weight: 600; }
.cs-decision-option.deferred { opacity: 0.45; text-decoration: line-through; text-decoration-color: rgba(26,26,24,0.2); }
.cs-decision-separator { font-family: var(--font-mono); font-size: 10px; color: var(--coral); text-align: center; }

/* ── Next Project CTA ── */
/* ══════════════════════════════════════
   ANNOTATED DESIGN DECISION COMPONENT
   ══════════════════════════════════════ */
.cs-annotated {
  padding: clamp(64px, 8vh, 120px) 0;
  background: #F4F1FF; /* soft lavender — neutral, not cream */
}
.cs-annotated-header {
  max-width: 860px; margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 clamp(20px, 5vw, 60px);
}
.cs-annotated-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #7B5CF5; margin-bottom: 14px;
}
.cs-annotated-kicker::before {
  content: ''; width: 20px; height: 1.5px; background: #7B5CF5;
}
.cs-annotated-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink); margin-bottom: 14px;
}
.cs-annotated-rationale {
  background: #fff; border: 1px solid rgba(123,92,245,0.15);
  border-left: 3px solid #7B5CF5;
  border-radius: 8px; padding: 16px 20px;
  font-size: 14px; line-height: 1.65; color: var(--warm-mid);
  max-width: 560px;
}

/* Screen grid with annotations above */
.cs-annotated-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 0 clamp(16px, 3vw, 40px);
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: 1140px; margin: 0 auto;
  align-items: end;
}
.cs-annotated-item {
  display: flex; flex-direction: column; gap: 0;
}
/* Annotation callout sits above the screen */
.cs-ann-callout {
  background: #fff;
  border: 1px solid rgba(123,92,245,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 0;
  position: relative;
}
/* Connector line from callout to screen */
.cs-ann-callout::after {
  content: '';
  position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 1.5px; height: 20px;
  background: linear-gradient(180deg, rgba(123,92,245,0.4) 0%, rgba(123,92,245,0.1) 100%);
}
/* Dot at bottom of connector */
.cs-ann-callout::before {
  content: '';
  position: absolute; bottom: -24px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #7B5CF5; z-index: 2;
}
.cs-ann-num {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #7B5CF5; margin-bottom: 6px; opacity: 0.7;
}
.cs-ann-text {
  font-size: 13px; line-height: 1.55; color: var(--ink-light);
  font-weight: 400;
}
.cs-ann-text strong { color: var(--ink); font-weight: 600; }
/* Screen container below callout */
.cs-ann-screen {
  margin-top: 28px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}
.cs-ann-screen img {
  width: 100%; height: auto; display: block;
}

@media (max-width: 768px) {
  .cs-annotated-grid { --cols: 1; }
  .cs-ann-callout::after, .cs-ann-callout::before { display: none; }
  .cs-ann-screen { margin-top: 12px; }
}

/* ────────────────────────── */

.cs-next {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vh, 80px) 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.cs-next-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.4; margin-bottom: 8px; }
.cs-next-title { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 34px); font-weight: 700; }
.cs-next-arrow { font-size: 32px; color: var(--coral); transition: transform 0.3s var(--ease-spring); }
.cs-next:hover .cs-next-arrow { transform: translateX(8px); }

/* ── Stripe S710 Bezel (white) ── */
.bezel-s710 {
  position: relative;
  width: clamp(160px, 16vw, 240px);
  aspect-ratio: 1/1.65;
  background: linear-gradient(170deg, #f5f5f3 0%, #e8e8e6 100%);
  border-radius: clamp(16px, 2vw, 26px);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 24px 60px rgba(26,26,24,0.18),
    0 4px 16px rgba(26,26,24,0.08);
  transform: perspective(900px) rotateX(2deg) rotateY(-4deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  padding: 14px 12px 16px;
  display: flex; flex-direction: column;
}
.bezel-s710:hover {
  transform: perspective(900px) rotateX(0) rotateY(0);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 32px 80px rgba(26,26,24,0.22),
    0 6px 20px rgba(26,26,24,0.1);
}
.s710-camera {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2a2a28;
  margin: 0 auto 8px;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.12);
}
.s710-screen {
  flex: 1; background: #080806; border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.s710-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.s710-chin {
  padding-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.s710-reader {
  width: 65%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent);
  border-radius: 2px;
}
.s710-brand {
  font-family: var(--font-mono); font-size: 7px; color: rgba(26,26,24,0.25);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.bezel-s710::before { /* power button */
  content: ''; position: absolute; right: -2px; top: 22%;
  width: 2px; height: 8%; background: #d0d0ce; border-radius: 0 2px 2px 0;
}
.bezel-s710::after { /* volume / lock */
  content: ''; position: absolute; left: -2px; top: 25%;
  width: 2px; height: 6%; background: #d0d0ce; border-radius: 2px 0 0 2px;
  box-shadow: 0 calc(6% + 5px) 0 #d0d0ce;
}

/* ═══════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════ */
.ap-hero {
  min-height: 88vh;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding: clamp(100px, 14vh, 160px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.ap-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.ap-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 28px;
}
.ap-hero-quote {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--cream);
}
.ap-hero-quote em {
  font-style: italic;
  color: var(--coral);
}
.ap-hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  opacity: 0.62;
  margin-top: 32px;
  line-height: 1.75;
  max-width: 540px;
}
.ap-hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #2a2a28;
}
.ap-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Stats strip */
.ap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.ap-stat {
  padding: clamp(20px, 2.5vw, 36px);
  border-right: 1px solid var(--border);
  text-align: center;
}
.ap-stat:last-child { border-right: none; }
.ap-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 300;
  color: var(--coral);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ap-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin-top: 8px;
  line-height: 1.4;
}
/* Career timeline */
.ap-timeline { display: flex; flex-direction: column; }
.ap-tl-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.ap-tl-item:last-child { border-bottom: none; }
.ap-tl-company {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ap-tl-dates {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-light);
  margin-top: 6px;
}
.ap-tl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  margin-top: 3px; flex-shrink: 0;
}
.ap-tl-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin-bottom: 12px;
}
.ap-tl-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-light);
}
/* Values / how I work */
.ap-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: 40px;
}
.ap-value-card {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 36px);
}
.ap-value-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--coral);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 20px;
}
.ap-value-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}
.ap-value-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-light);
}

/* ═══════════════════════════════
   LIFE PAGE
   ═══════════════════════════════ */
.life-hero {
  background: var(--cream);
  padding: clamp(120px, 16vh, 200px) 0 clamp(60px, 8vw, 100px);
}
.life-chapter {
  padding: clamp(60px, 8vw, 100px) 0;
}
.life-chapter--dark {
  background: var(--ink);
  color: var(--cream);
}
.life-chapter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.life-chapter-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 16px;
}
.life-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.life-chapter-body {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 480px;
}
.life-chapter-body p + p { margin-top: 16px; }
.life-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.life-gallery-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
}
.life-gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.life-gallery-img:hover img { transform: scale(1.04); }
.life-gallery-img--wide {
  grid-column: span 2;
  aspect-ratio: 4/3;
}
.life-tiktok-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.life-tiktok-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.life-tiktok-wrap blockquote { margin: 0 !important; }

/* ═══════════════════════════════
   RESUME PAGE
   ═══════════════════════════════ */
.res-hero {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(120px, 16vh, 180px) 0 clamp(60px, 7vw, 80px);
}
.res-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.res-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.res-title-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 16px;
}
.res-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1.5px solid rgba(248,244,238,0.3);
  border-radius: 100px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.res-download-btn:hover {
  background: rgba(248,244,238,0.08);
  border-color: rgba(248,244,238,0.5);
}
.res-body { padding: clamp(60px, 8vw, 100px) 0; }
.res-section { margin-bottom: clamp(60px, 8vw, 100px); }
.res-section:last-child { margin-bottom: 0; }
.res-section-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.res-role {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.res-role:last-child { border-bottom: none; }
.res-role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.res-role-company {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.res-role-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin: 8px 0 4px;
}
.res-role-loc {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--warm-light);
}
.res-role-dates {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--warm-mid);
  text-align: right;
  white-space: nowrap;
  padding-top: 6px;
}
.res-bullets {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.res-bullets li {
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-light);
}
.res-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.res-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.res-ref-card {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border: 1px solid var(--border);
}
.res-ref-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.res-ref-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin: 6px 0 12px;
}
.res-ref-contact {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ── Jarvis Carousel ── */
.jarvis-carousel-track::-webkit-scrollbar { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .col-7, .col-5 { grid-column: span 12; }
  .col-4 { grid-column: span 6; }
}
@media (max-width: 768px) {
  .col-4, .col-6 { grid-column: span 12; }
  .about-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .ap-hero-inner { grid-template-columns: 1fr; }
  .ap-hero-photo { aspect-ratio: 4/3; max-width: 400px; }
  .ap-stats { grid-template-columns: repeat(2, 1fr); }
  .ap-stat:nth-child(2) { border-right: none; }
  .ap-stat:nth-child(1), .ap-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .ap-tl-item { grid-template-columns: 1fr; gap: 12px; }
  .ap-values { grid-template-columns: 1fr; }
  .life-chapter-inner { grid-template-columns: 1fr; }
  .life-tiktok-row { grid-template-columns: 1fr; }
  .res-hero-inner { flex-direction: column; align-items: flex-start; }
  .res-ref-grid { grid-template-columns: 1fr; }
  .cs-outcomes { grid-template-columns: repeat(2, 1fr); }
  .cs-meta-grid { flex-direction: column; gap: 16px; }
  .cs-meta-item { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .cs-meta-item:last-child { border-bottom: none; padding-bottom: 0; }
  .cs-decision-vs { grid-template-columns: 1fr; }
  .cs-decision-separator { display: none; }
  .cs-toolchain { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-obj, .bezel-iphone, .bezel-macbook, .bezel-roaster { transition: none; animation: none; transform: none; }
  .hero-headline .italic::after { animation: none; transform: scaleX(1); }
}
