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

:root {
  /* Colors from Figma */
  --color-primary: #3841f2;
  --color-000: #ffffff;
  --color-50: #fafafa;
  --color-100: #f1f1f1;
  --color-200: #dcdcdc;
  --color-300: #c8c8c8;
  --color-400: #adadad;
  --color-500: #9f9f9f;
  --color-600: #5d5d5d;
  --color-700: #4f4f4f;
  --color-800: #3d3d3d;
  --color-900: #181818;
  --color-900-05: #1818180d;
  --color-900-10: #1818181a;

  /* Project Colors - David Energy */
  --david-000: #ffffff;
  --david-50: #f1f1f1;
  --david-100: #f5f5f5;
  --david-200: #F8FBF6;
  --david-300: #80d5b0;
  --david-400: #2caa7c;
  --david-500: #1b805e;
  --david-600: #b4c0bc;
  --david-700: #4f4f4f;
  --david-800: #114335;
  --david-900: #092d2e;
  --david-900-05: #092d2e0d;
  --david-900-10: #092d2e1a;
  --david-color: #a4c7f0;

  /* Project Colors - Copa America */
  --copa-000: #ffffff;
  --copa-50: #fafafa;
  --copa-100: #f6f6f9;
  --copa-200: #f8fafc;
  --copa-300: #b9e2ff;
  --copa-400: #ae89ff;
  --copa-500: #0f49b5;
  --copa-600: #64656f;
  --copa-700: #4f4f4f;
  --copa-800: #06065c;
  --copa-900: #0f172a;
  --copa-900-05: #0f172a0d;
  --copa-900-10: #0f172a1a;
  --copa-color: #ed0101;

  /* Project Colors - Peabody */
  --peabody-000: #ffffff;
  --peabody-50: #fafafa;
  --peabody-100: #f1f1f1;
  --peabody-200: #f5f5f5;
  --peabody-300: #ffc2be;
  --peabody-400: #fd938c;
  --peabody-500: #f36267;
  --peabody-600: #c1bebe;
  --peabody-700: #4f4f4f;
  --peabody-800: #403132;
  --peabody-900: #2b2223;
  --peabody-900-05: #2b22230d;
  --peabody-900-10: #2b22231a;
  --peabody-color: #30cfc1;

  /* Font families from Figma */
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'acumin-pro', sans-serif;
}

/* =============================================
   TYPOGRAPHY SYSTEM (from Figma)
   ============================================= */
.header-1 {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 800;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96;
  line-height: 1.0;
  letter-spacing: 0;
}

.header-2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96;
  line-height: 0.8;
  letter-spacing: 0;
}

.header-3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96;
  line-height: 1.1;
  letter-spacing: 0;
}

.header-4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96;
  letter-spacing: 0;
}

.subtitle-1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}

.subtitle-2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.body-1 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.body-3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.body-4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.button {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-heading);
  color: var(--color-900);
  background: var(--color-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
  padding-top: 82px;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(241, 241, 241, 0.10);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 100;
  transition: transform 0.3s ease;
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav-location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1;
  color: var(--color-primary);
  margin-right: auto;
}

.nav-location-city {
  font-weight: 400;
}

.nav-location-arrow,
.nav-location-time {
  font-weight: 700;
}

.nav-buttons {
  display: flex;
  gap: 16px;
}

.nav-link {
  display: inline-flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--color-900);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: var(--color-primary);
  color: var(--color-000);
}

.nav-link:active {
  background: linear-gradient(var(--color-900-10), var(--color-900-10)), var(--color-primary);
  color: var(--color-100);
}

/* Hamburger Menu */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--color-900);
  cursor: pointer;
  transition: background 0.2s;
  z-index: 102;
}

.nav-hamburger:hover {
  background: var(--color-100);
}

.nav-overlay {
  display: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 184px 64px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero-subtitle {
  margin-bottom: 12px;
}

.hero-title {
  color: var(--color-900);
  margin-bottom: 12px;
  text-wrap: balance;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-title .highlight {
  -webkit-text-fill-color: transparent;
  color: var(--color-primary);
}

.hero-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-word--hyphen {
  display: inline;
  white-space: normal;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-tagline {
  color: var(--color-900);
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-description {
  color: var(--color-800);
  width: 100%;
  max-width: 520px;
  background: var(--color-000);
  border: 1px solid var(--color-900-10);
  border-radius: 4px;
  padding: 16px 24px 16px 16px;
}

.hero-description p + p {
  margin-top: 8px;
}

.hero-location {
  margin-top: 16px;
}

/* =============================================
   PHOTO CAROUSEL
   ============================================= */
.photo-carousel {
  margin-top: 96px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.photo-track {
  display: flex;
  gap: 24px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.photo-item {
  flex: 0 0 auto;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-900-05);
}

.photo-item img,
.photo-item video {
  height: 100%;
  width: auto;
}

/* =============================================
   WORK SECTION
   ============================================= */
.work {
  padding: 120px 24px;
}

.work-header {
  max-width: 664px;
  margin: 0 auto 56px;
}

.section-title {
  margin-bottom: 16px;
}

.section-description {
  color: var(--color-800);
}

.work-cards {
  max-width: 664px;
  margin: 0 auto;
  display: flex;
  overflow: visible;
  flex-direction: column;
  gap: 56px;
}

.work-card {
  display: block;
  width: 100%;
  position: relative;
}

/* Nudge animation to hint at interactivity */
@keyframes nudge {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-4px) rotate(-0.3deg); }
  40% { transform: translateX(4px) rotate(0.3deg); }
  60% { transform: translateX(-2px) rotate(-0.15deg); }
  80% { transform: translateX(2px) rotate(0.15deg); }
}

.work-card-wrapper.nudge {
  animation: nudge 0.5s ease-in-out;
}

.card-image {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-100);
  border: 1px solid var(--color-900-05);
}

.card-image picture {
  display: contents;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.card-image-bnw,
.card-image-bnw img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}

.work-card-wrapper:hover .card-image img,
.work-card-wrapper.is-active .card-image img {
  transform: scale(1.01);
}

.work-card-wrapper:hover .card-image-bnw img,
.work-card-wrapper.is-active .card-image-bnw img {
  opacity: 0;
}

/* Card Wrapper & Title */
.work-card-wrapper {
  position: relative;
  width: 100%;
}

.card-title {
  display: block;
  text-align: left;
  color: var(--color-800);
  margin-bottom: 12px;
  transition: font-weight 0.2s ease;
}

.work-card-wrapper:hover .card-title,
.work-card-wrapper.is-active .card-title {
  font-weight: 700;
}

/* Floating Peek Images */
.card-peek {
  position: absolute;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.card-peek img {
  display: block;
  width: auto;
  height: inherit;
  border-radius: 0;
}

/* =============================================
   PROJECT-SPECIFIC PEEK POSITIONS
   ============================================= */

/* --- vibe.eushi --- */
.card-peek--vibe-left {
  height: 220px;
  left: -164px;
  bottom: 60px;
  transform: scale(0.9) rotate(-8deg);
}
.card-peek--vibe-right-top {
  height: auto;
  width: 160px;
  right: -52px;
  top: -24px;
  transform: scale(0.9) rotate(0deg);
}

/* Claude Prompt Box */
.claude-prompt {
  background: #2c2c2a;
  border: 0.75px solid rgba(222, 220, 209, 0.15);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  width: 180px;
  box-sizing: border-box;
}

.claude-prompt-text {
  font-size: 10.5px;
  line-height: 1.4;
  color: #faf9f5;
  margin: 0;
  min-height: 30px;
}

.claude-prompt-text .typed-text {
  display: inline;
}

.claude-prompt-text .cursor {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #faf9f5;
  margin-left: 1px;
  animation: blink 0.7s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.claude-prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.claude-prompt-icon {
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4.5px;
}

.claude-prompt-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.claude-prompt-model {
  font-size: 9px;
  color: #c2c0b6;
  margin-right: 2px;
}

.claude-prompt-chevron {
  margin-right: 4px;
}

.claude-prompt-submit {
  width: 21px;
  height: 21px;
  background: #d97757;
  border-radius: 4.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-peek--vibe-right-bottom {
  height: 186px;
  right: -96px;
  bottom: 20px;
  transform: scale(0.9) rotate(0deg);
}

/* --- Life in Pixels --- */
.card-peek--lip-left {
  height: 203px;
  left: -100px;
  top: 20px;
  transform: scale(0.9) rotate(0deg);
}
.card-peek--lip-right {
  height: auto;
  right: -50px;
  top: 50%;
  margin-top: -165px;
  z-index: -1;
  transform: scale(0.9) rotate(0deg);
}

/* Life in Pixels emoji stack */
.lip-emoji-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lip-emoji-row {
  height: 40px;
  transition: transform 0.15s ease-out;
}

.lip-emoji-row img {
  display: block;
  height: 100%;
  width: auto;
}

.lip-emoji-row.is-active {
  transform: translateX(20px);
}

/* --- Copa America --- */
.card-peek--copa-left {
  height: 360px;
  left: -140px;
  top: 50%;
  margin-top: -170px;
  transform: scale(0.9) rotate(-6deg);
}
.card-peek--copa-right {
  height: 280px;
  right: -140px;
  top: 50%;
  margin-top: -160px;
  transform: scale(0.9) rotate(0deg);
}

/* --- David Energy App --- */
.card-peek--david-left {
  height: 186px;
  left: -90px;
  bottom: 24px;
  transform: scale(0.9) rotate(0deg);
}
.card-peek--david-right {
  height: 274px;
  right: -80px;
  top: 20px;
  transform: scale(0.9) rotate(0deg);
}

/* --- Volt Design System --- */
.card-peek--volt-left {
  height: 248px;
  left: -70px;
  bottom: 40px;
  transform: scale(0.9) rotate(0deg);
}
.card-peek--volt-right-top {
  height: 219px;
  right: -104px;
  top: -28px;
  transform: scale(0.9) rotate(0deg);
}
.card-peek--volt-right-center {
  height: 270px;
  right: -32px;
  bottom: 24px;
  transform: scale(0.9) rotate(0deg);
}

/* Parallax cursor elements */
.card-peek--cursor {
  height: 40px;
  transition: opacity 0.3s ease;
  will-change: transform;
}

.card-peek--cursor-dev {
  top: 30px;
  left: 40px;
}

.card-peek--cursor-pm {
  bottom: 80px;
  left: 80px;
}

.card-peek--cursor-designer {
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: 40px;
}

.card-peek--cursor-marketing {
  bottom: 60px;
  right: 40px;
}

.work-card-wrapper:hover .card-peek--cursor,
.work-card-wrapper.is-active .card-peek--cursor {
  transform: scale(1);
}

/* --- Peabody --- */
.card-peek--peabody-left {
  height: 206px;
  left: -140px;
  top: 50%;
  margin-top: -103px;
  transform: scale(0.9) rotate(-12deg);
}
.card-peek--peabody-right {
  height: auto;
  right: -140px;
  bottom: 16px;
  transform: scale(0.9) rotate(0deg);
}

/* Peabody WhatsApp-style messages */
.peabody-messages {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.peabody-msg--2 {
  margin-top: -65px;
}

.peabody-msg {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.peabody-msg img {
  display: block;
  width: 280px;
  height: auto;
}

.work-card-wrapper:hover .peabody-msg--1,
.work-card-wrapper.is-active .peabody-msg--1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.work-card-wrapper:hover .peabody-msg--2,
.work-card-wrapper.is-active .peabody-msg--2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* Show peek images on hover and active (mobile) */
.work-card-wrapper:hover .card-peek,
.work-card-wrapper.is-active .card-peek {
  opacity: 1;
}
.work-card-wrapper:hover .card-peek--vibe-left,
.work-card-wrapper.is-active .card-peek--vibe-left { transform: scale(1) rotate(-8deg); }
.work-card-wrapper:hover .card-peek--vibe-right-top,
.work-card-wrapper.is-active .card-peek--vibe-right-top { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--vibe-right-bottom,
.work-card-wrapper.is-active .card-peek--vibe-right-bottom { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--lip-left,
.work-card-wrapper.is-active .card-peek--lip-left { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--lip-right,
.work-card-wrapper.is-active .card-peek--lip-right { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--copa-left,
.work-card-wrapper.is-active .card-peek--copa-left { transform: scale(1) rotate(-6deg); }
.work-card-wrapper:hover .card-peek--copa-right,
.work-card-wrapper.is-active .card-peek--copa-right { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--david-left,
.work-card-wrapper.is-active .card-peek--david-left { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--david-right,
.work-card-wrapper.is-active .card-peek--david-right { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--volt-left,
.work-card-wrapper.is-active .card-peek--volt-left { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--volt-right-top,
.work-card-wrapper.is-active .card-peek--volt-right-top { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--volt-right-center,
.work-card-wrapper.is-active .card-peek--volt-right-center { transform: scale(1) rotate(0deg); }
.work-card-wrapper:hover .card-peek--peabody-left,
.work-card-wrapper.is-active .card-peek--peabody-left { transform: scale(1) rotate(-12deg); }
.work-card-wrapper:hover .card-peek--peabody-right,
.work-card-wrapper.is-active .card-peek--peabody-right { transform: scale(1) rotate(0deg); }

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 0;
}

.card-pills {
  display: flex;
  gap: 8px;
}

.pill {
  padding: 4px 12px;
  background: var(--color-100);
  border: 1px solid var(--color-900-05);
  border-radius: 6px;
  color: var(--color-800);
}

.card-year {
  color: var(--color-500);
}

/* =============================================
   EXPERIENCE SECTION
   ============================================= */
.experience {
  padding: 0 24px 120px;
  scroll-margin-top: 80px;
}

.experience-header {
  max-width: 664px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.experience-header .section-title {
  margin-bottom: 0;
}

.experience-icon,
.about-icon {
  color: var(--color-500);
}

.experience-list {
  max-width: 664px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-item {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='0.25' y='0.25' width='calc(100%25 - 0.5px)' height='calc(100%25 - 0.5px)' rx='4' ry='4' fill='none' stroke='%239f9f9f' stroke-width='1.0' stroke-dasharray='2 3'/%3E%3C/svg%3E"),
    var(--color-000);
  border: none;
  border-radius: 4px;
  padding: 16px 20px;
}

.experience-item-header {
  margin-bottom: 16px;
}

.experience-item--compact .experience-item-header {
  margin-bottom: 0;
}

.job-time {
  margin-top: 4px;
  color: var(--color-500);
}

.experience-projects {
  padding-left: 16px;
}

.project-name {
  color: var(--color-900);
  padding: 4px 0;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  padding: 120px 24px;
}

.about-header {
  max-width: 664px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-header .section-title {
  margin-bottom: 0;
}

.about-text {
  max-width: 664px;
  margin: 0 auto 48px;
  color: var(--color-800);
}

.about-text p + p {
  margin-top: 12px;
}

.about-images {
  max-width: 664px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-900-05);
  position: relative;
}

.about-photo-single {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.about-photo-2 {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.about-images:hover .about-photo-2,
.about-images.is-touched .about-photo-2 {
  opacity: 1;
}


/* =============================================
   PHOTO STRIP
   ============================================= */
.photo-strip {
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.photo-strip-track {
  display: flex;
  gap: 24px;
}

.strip-item {
  flex: 0 0 auto;
  height: 314px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-900-05);
}

.strip-item img {
  height: 100%;
  width: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-primary);
  color: var(--color-000);
  padding: 24px;
}

.footer-content {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* helps before you hit the mobile breakpoint */
  gap: 16px;
}

.footer-contact {
  opacity: 0.8;
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s;
}

.social-link:hover {
  background: rgba(24, 24, 24, 0.2);
}

/* =============================================
   EXTRA LARGE (≥ 1600px)
   ============================================= */
@media (min-width: 1600px) {
  /* Typography — XL */
  .header-1 {
    font-size: 140px;
  }

  .header-2 {
    font-size: 64px;
  }

  .header-3 {
    font-size: 36px;
  }

  .header-4 {
    font-size: 22px;
  }

  .subtitle-1 {
    font-size: 32px;
  }

  /* Layout — XL */
  .nav {
    padding: 32px 80px;
  }

  .hero {
    padding: 200px 120px 0;
  }

  .hero-content {
    gap: 56px;
  }

  .work {
    padding: 160px 24px;
  }

  .work-header {
    max-width: 880px;
    margin-bottom: 72px;
  }

  .work-cards {
    max-width: 880px;
    gap: 72px;
  }

  .card-image {
    height: 420px;
  }

  /* Scale down peek images for tablet (~80% of desktop) */
  .card-peek--vibe-left { height: 160px; left: -100px; }
  .card-peek--vibe-right-top { height: 64px; right: -50px; }
  .card-peek--vibe-right-bottom { height: 150px; right: -50px; }
  .card-peek--lip-left { height: 162px; left: -80px; }
  .card-peek--lip-right { height: 240px; }
  .card-peek--copa-left { height: 272px; left: -110px; margin-top: -136px; }
  .card-peek--copa-right { height: 237px; right: -110px; margin-top: -118px; }
  .card-peek--david-left { height: 150px; left: -40px; }
  .card-peek--david-right { height: 220px; right: -60px; }
  .card-peek--volt-left { height: 200px; left: 40px; }
  .card-peek--volt-right-top { height: 175px; right: -90px; }
  .card-peek--volt-right-center { height: 216px; right: -25px; }
  .card-peek--peabody-left { height: 165px; left: -110px; }
  .card-peek--peabody-right { height: 173px; right: -80px; }

  .experience {
    padding: 0 24px 160px;
  }

  .experience-header,
  .experience-list {
    max-width: 880px;
  }

  .about {
    padding: 160px 24px;
  }

  .about-header,
  .about-text {
    max-width: 880px;
  }

  .about-images {
    max-width: 880px;
    height: 440px;
  }

  .footer {
    padding: 24px;
  }

  .photo-carousel {
    margin-top: 96px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .photo-item {
    height: 440px;
  }

  .strip-item {
    height: 400px;
  }
}

/* =============================================
   TABLET (768px – 1239px)
   ============================================= */
@media (max-width: 1239px) {
  /* Layout */
  .nav {
    padding: 20px 32px;
  }

  .hero {
    padding: 168px 40px 0;
  }

  .hero-content {
    gap: 56px;
  }

  .work,
  .experience,
  .about {
    padding-left: 24px;
    padding-right: 24px;
  }

  .work {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .experience {
    padding-bottom: 96px;
  }

  .about {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .footer {
    padding: 24px;
  }

  /* Typography — Tablet */
  .header-1 {
    font-size: 96px;
  }

  .header-2 {
    font-size: 36px;
  }

  .header-3 {
    font-size: 24px;
  }

  .header-4 {
    font-size: 17px;
  }

  .subtitle-1 {
    font-size: 20px;
  }


  .subtitle-2 {
    font-size: 18px;
  }

  .body-1 {
    font-size: 16px;
  }

  .body-4 {
    font-size: 13px;
  }

  .button {
    font-size: 13px;
  }

  /* Components */
  .photo-item {
    height: 280px;
  }

  .photo-carousel {
    margin-top: 96px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .strip-item {
    height: 240px;
  }

  .about-photo--1,
  .about-photo--3 {
    width: 160px;
    height: 210px;
  }

  .about-photo--2 {
    width: 140px;
    height: 190px;
  }
}

/* =============================================
   MOBILE (< 768px)
   ============================================= */
@media (max-width: 767px) {
  /* Typography — Mobile */
  .header-1 {
    font-size: 72px;
  }

  .header-2 {
    font-size: 32px;
  }

  .header-3 {
    font-size: 24px;
  }

  .header-4 {
    font-size: 18px;
  }

  .subtitle-1 {
    font-size: 20px;
  }

  .subtitle-2 {
    font-size: 18px;
  }

  .body-1 {
    font-size: 16px;
  }

  .body-3 {
    font-size: 16px;
  }

  .body-4 {
    font-size: 14px;
  }

  /* Layout */
  .nav {
    padding: 16px 20px;
    justify-content: flex-start;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-location {
    display: none;
  }

  .nav-buttons {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 72px 20px 24px;
    background: var(--color-50);
    border-bottom: 1px solid var(--color-200);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 101;
  }

  .nav-buttons.is-open {
    transform: translateY(0);
  }

  .nav-buttons .nav-link {
    width: 100%;
    padding: 16px;
    justify-content: flex-start;
    border-radius: 0;
    border-bottom: 1px solid var(--color-100);
  }

  .nav-buttons .nav-link:last-child {
    border-bottom: none;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding: 48px 24px 0;
  }

  .hero-content {
    gap: 48px;
  }

  /* Consistent 96px spacing between sections */
  .photo-carousel {
    margin-top: 96px;
  }

  .photo-track {
    gap: 8px;
  }

  .work {
    padding-top: 96px;
    padding-bottom: 96px;
    overflow: visible;
  }

  .work-header {
    margin-bottom: 40px;
  }

  .work-cards {
    gap: 40px;
    overflow: visible;
  }

  .work-card-wrapper,
  .work-card {
    overflow: visible;
  }

  .card-image {
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .card-peek {
    -webkit-transform-style: flat;
    transform-style: flat;
  }

  .card-peek img {
    max-width: none;
    width: auto;
    height: inherit;
  }


  .experience {
    padding-top: 0;
    padding-bottom: 96px;
  }

  .photo-strip {
    margin-top: 0;
  }

  .photo-strip-track {
    gap: 8px;
  }

  .about {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 32px;
  }

  /* Mobile peek images */

  /* vibe.eushi: hide left receipts & laptop, keep Claude prompt inside screen */
  .card-peek--vibe-left,
  .card-peek--vibe-right-bottom {
    display: none;
  }
  .card-peek--vibe-right-top {
    width: auto;
    right: 8px;
    top: -16px;
    transform: scale(0.8);
    transform-origin: top right;
  }
  .work-card-wrapper:hover .card-peek--vibe-right-top,
  .work-card-wrapper.is-active .card-peek--vibe-right-top {
    transform: scale(0.8);
  }

  /* Life in Pixels: widget bigger and rotated */
  .card-peek--lip-left {
    height: 160px;
    left: -80px;
    top: 10px;
    transform: scale(0.9) rotate(-8deg);
  }
  .work-card-wrapper:hover .card-peek--lip-left,
  .work-card-wrapper.is-active .card-peek--lip-left {
    transform: scale(1) rotate(-8deg);
  }
  .card-peek--lip-right {
    display: none;
  }

  /* Copa America: both visible, scaled down, overflow screen */
  .card-peek--copa-left {
    display: none;
  }
  .card-peek--copa-right {
    height: 240px;
    right: -100px;
    margin-top: -135px;
  }

  /* Volt: keep color palette */
  .card-peek--volt-left {
    display: none;
  }
  .card-peek--volt-right-top,
  .card-peek--volt-right-center {
    display: none;
  }
  .card-peek--cursor {
    height: 36px;
  }
  .card-peek--cursor-dev {
    top: 40px;
    left: 60px;
  }
  .card-peek--cursor-pm {
    bottom: 60px;
    left: 10px;
  }
  .card-peek--cursor-designer {
    top: 45%;
    left: auto;
    right: 30px;
    margin-top: 20px;
    margin-left: 0;
  }
  .card-peek--cursor-marketing {
    top: 24px;
    bottom: auto;
    right: -20px;
  }

  /* David Energy: keep logo, move cards more right */
  .card-peek--david-left {
    height: 120px;
    left: -45px;
    bottom: 24px;
  }
  .card-peek--david-right {
    height: 180px;
    right: -70px;
    top: 10px;
  }

  /* Peabody: keep recipe box, move messages more right, both overflow */
  .card-peek--peabody-left {
    height: 160px;
    left: auto;
    right: -60px;
    margin-top: -200px;
  }
  .card-peek--peabody-right {
    display: none;
  }
  .card-peek--peabody-right .peabody-msg img {
    display: none;
  }
  .peabody-msg--2 {
    display: none;
  }
}

@media (max-width: 380px) {
  .footer {
    padding: 24px; /* you can keep this */
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  /* Typography — Extra Small */
  .header-1 {
    font-size: 72px;
  }

  .header-2 {
    font-size: 32px;
  }

  .header-3 {
    font-size: 28px;
  }

  .header-4 {
    font-size: 18px;
  }

  .subtitle-1 {
    font-size: 20px;
  }

  .subtitle-2 {
    font-size: 18px;
  }

  .body-1 {
    font-size: 16px;
  }

  .body-4 {
    font-size: 14px;
  }

  .button {
    font-size: 12px;
  }

  .nav-link {
    padding: 6px 12px;
  }

  /* Components */
  .photo-carousel {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .photo-item {
    height: 220px;
  }

  /* Hide peek images on extra small */
  .card-peek {
    display: none;
  }

  /* Default to color image (hide B&W overlay) */
  .card-image .card-image-bnw {
    display: none;
  }

  .strip-item {
    height: 180px;
  }

  .about-images {
    height: 200px;
    padding: 0;
  }

  .about-photo--1,
  .about-photo--3 {
    width: 130px;
    height: 170px;
  }

  .about-photo--2 {
    width: 120px;
    height: 160px;
  }

  .experience-list {
    gap: 12px;
  }
}
