@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

/* ── VARIABLES: LIGHT ── */
:root {
  --bg:      #fafaf8;
  --surface: #f0f0ee;
  --border:  #e8e8e4;
  --white:   #0d0d0d;
  --grey1:   #555555;
  --grey2:   #999999;
  --max:     844px;
}

/* ── BASE TYPOGRAPHY ── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  scroll-padding-top: 100px;
}

nav {
  height: 80px;
}

body {
  background: transparent;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.375rem;
  line-height: 2rem;
  letter-spacing: -0.02em;
  font-weight: 400;
  overflow-x: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

/* ─────────────────────────────────────────
   NAV
   ───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: border-color 0.3s;
  border-bottom: 1px solid transparent;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

nav.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-name {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 400;
  color: #121212;
  transition: color 0.15s;
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.4px;
  background: rgba(18, 18, 18, 0.8);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY CLASSES
   ───────────────────────────────────────── */

/* Hero H1 — Homepage hero name + title, Case study page title */
.text-hero {
  font-size: clamp(2.375rem, 5.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

/* About — Primary text ("I'm Ben...") */
.text-about-primary {
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.41;
  max-width: 85%;
}

/* About — Secondary text ("I was most recently...") */
.text-about-secondary {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.46;
}

/* Skills display — Large skills list items */
.text-skills {
  font-size: clamp(2.25rem, 5.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

/* Section label — "Work", "About", "Experience", "Process" */
/* H2 — overview inside case study (same styling) */
.text-section-label,
.text-h2 {
  font-size: clamp(1.75rem, 3.9vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  padding-bottom: 2rem;
}

/* H3 — Sub-heading ("Breaking down the project") */
.text-h3 {
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.19;
}

/* Body — Homepage about section, Case study paragraphs */
.text-body {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.46;
}

.work-page .text-body {
  color: #121212;
}

.work-page .btn-primary {
  display: inline-block;
  margin-top: 2rem;
}

/* Next project title — "Appsmith →" in case study footer */
.text-next-project {
  font-size: clamp(2.25rem, 5.6vw, 5rem);
  font-weight: 500;
  line-height: 1.06;
}

.next-title {
  letter-spacing: -0.03em;
  position: relative;
  text-decoration: none;
}

.next-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.4px;
  background: rgba(18, 18, 18, 0.8);
  transition: width 0.25s ease;
}

.next-link:hover .next-title::after {
  width: 100%;
}
}

/* Work card title — "Parseable →" on homepage */
.text-work-card-title {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.21;
}

/* Work card description — "Log analytics and..." */
.text-work-card-desc {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.46;
  padding-left: 4px;
}

/* Nav links — Work, About, Contact */
/* Nav name — "Ayushi Pareek" */
.text-nav {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Breadcrumb — Home → Work → Parseable */
.text-breadcrumb {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.44;
}

/* Sidebar label — "My contribution", "The team" */
.text-sidebar-label {
  font-size: clamp(0.9375rem, 1.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #121212;
}

/* Sidebar value — "1 × product designer" */
.text-sidebar-value {
  font-size: clamp(0.9375rem, 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* Experience company — "Parseable", "Appsmith" */
/* Experience role — "Product Designer" */
.text-experience-company,
.text-experience-role {
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.19;
}

/* Experience dates — "2025 – 2026" */
.text-experience-dates {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.46;
}

/* Button — "See full CV →", "See product →" */
.text-button {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

/* Links — "LinkedIn", "Dribbble" */
.text-link {
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.19;
}

/* Email helper/placeholder — "your@email.com", "No spam..." */
.text-email-helper {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.44;
}

/* Contact heading — "Have a role in mind?" */
.text-contact-heading {
  font-size: clamp(1.75rem, 3.9vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

/* Contact email — mailto link */
.text-contact-email {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Hero title — "Senior product designer for developer tools" */
.text-hero-title {
  font-size: clamp(2.375rem, 5.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
  color: var(--grey1);
}

/* Hero bio */
.text-hero-bio {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.5;
  color: var(--grey1);
}

@media (max-width: 1023px) {
  .text-hero-bio {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .text-hero-bio {
    font-size: 1rem;
  }
}

@media (max-width: 1279px) {
  .text-hero-bio {
    font-size: clamp(1.5rem, 1.7vw, 2rem);
  }
}

.text-hero-bio a {
  color: #121212;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.15s;
}

.text-hero-bio a:hover { opacity: 0.7; }

/* ─────────────────────────────────────────
   SHARED LAYOUT
   ───────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.fade-in { 
  opacity: 0; 
  transform: translateY(16px); 
  transition: opacity 0.55s ease, transform 0.55s ease; 
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in.d1 { transition-delay: 0.05s; }
.fade-in.d2 { transition-delay: 0.12s; }
.fade-in.d3 { transition-delay: 0.20s; }
.fade-in.d4 { transition-delay: 0.28s; }

.divider { height: 1px; background: var(--border); margin: 0 2.5rem; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
}

footer .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─────────────────────────────────────────
   INDEX PAGE — HERO
   ───────────────────────────────────────── */
.hero-section {
  width: 100%;
  animation: ambient 24s ease-in-out infinite;
}

.hero {
  padding-top: 12rem;
  padding-bottom: 5rem;
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero-name { display: block; }

.hero-bio-section {
  padding-top: 8rem;
  padding-bottom: 16rem;
}

.hero-bio-section .hero-bio { color: var(--grey1); }

/* ── INDEX PAGE — SECTIONS ── */
.section { padding-top: 4rem; padding-bottom: 16rem; }

#work .section { scroll-margin-top: 8rem; }
#about .section { scroll-margin-top: 8rem; }
#experience .section { scroll-margin-top: 8rem; }
#skills .section { scroll-margin-top: 8rem; }
#contact .section { scroll-margin-top: 8rem; }
#interests .section { scroll-margin-top: 8rem; }

#work .section {
  border-top: 2px solid #121212;
  padding-top: 2rem;
}

#about .section {
  border-top: 2px solid #121212;
  padding-top: 2rem;
}

#experience .section {
  border-top: none;
  padding-top: 0;
}

#experience .exp-section {
  border-top: none;
}

.exp-heading-col {
  border-top: 2px solid #121212;
  padding-top: 2rem;
  max-width: 70%;
  position: sticky;
  top: 8rem;
}

#skills .section {
  border-top: 2px solid #121212;
  padding-top: 2rem;
}

#contact .section {
  border-top: 2px solid #121212;
  padding-top: 2rem;
}

.work-list {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* ── INDEX PAGE — WORK CARDS ── */

.work-card { display: block; overflow: hidden; }

.work-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  position: relative;
}

.work-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.work-card:hover .work-card-img img { transform: scale(1.03); }

.work-card-img.p1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.work-card-img.p2 { background: linear-gradient(135deg, #1a2e1a 0%, #16312a 100%); }
.work-card-img.p3 { background: linear-gradient(135deg, #2e1a2a 0%, #311629 100%); }

.work-card-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0 0 0.3rem 4px;
  box-sizing: border-box;
}



/* Work card arrow */
.text-work-arrow {
  font-size: 1.5rem;
  color: var(--grey2);
  transition: color 0.15s;
}

.work-card:hover .text-work-arrow { 
  color: var(--white); 
}

/* Work card title */
.text-work-card-title {
  position: relative;
  text-decoration: none;
}

.text-work-card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.4px;
  background: rgba(18, 18, 18, 0.8);
  transition: width 0.25s ease;
}

.work-card:hover .text-work-card-title::after {
  width: 100%;
}

/* ── INDEX PAGE — ABOUT ── */
.about-body { 
  color: #121212; 
  margin-top: 4rem;
}
.about-body a { color: var(--white); font-weight: 500; border-bottom: 1px solid var(--border); transition: border-color 0.15s; }
.about-body a:hover { border-color: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-col-right p + p {
  margin-top: 1.1rem;
}

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .about-grid-full {
    margin-top: 0;
  }
}

/* ── INDEX PAGE — EXPERIENCE ── */
#experience .exp-section {
  padding-top: 2rem;
}

.exp-grid {
  padding-top: 0;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.exp-heading-col {
  position: sticky;
  top: 8rem;
}

.exp-list { 
  list-style: none; 
}

.exp-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.exp-item:first-child {
  padding-top: 0;
}

.exp-item:last-child {
  border-bottom: none;
}

.exp-company {
  margin-bottom: 0.25rem;
  color: #121212;
}

.exp-role { 
  color: #121212; 
  font-weight: 400; 
  margin-bottom: 1rem;
}

.exp-dates { 
  color: #121212;
  padding-top: 2rem;
}

.exp-content-col .cv-link {
  display: inline-block;
  margin-top: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s;
}

.exp-content-col .cv-link:hover { opacity: 0.8; }

@media (max-width: 767px) {
  .exp-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .exp-heading-col {
    position: static;
  }
  .exp-list {
    margin-top: 0;
  }
  .exp-meta {
    text-align: left;
  }
}
.exp-dates { white-space: nowrap; padding-top: 0.2rem; }

/* ── INDEX PAGE — CV LINK ── */
.cv-link {
  display: block;
  margin-top: 2rem;
  background: #121212;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: opacity 0.15s;
  font-size: 18px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.cv-link:hover { opacity: 0.8; }

.btn-primary {
  display: inline-block;
  background: #121212;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: opacity 0.15s;
  font-size: 18px;
}

.btn-primary:hover { opacity: 0.8; }

.work-page .btn-primary {
  margin-top: 2rem;
}

.btn-primary:hover { opacity: 0.8; }

.exp-content-col .cv-link {
  display: block;
  margin-top: 2rem;
  background: #121212;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: opacity 0.15s;
  font-size: 18px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.cv-link:hover { opacity: 0.8; }

.exp-content-col .cv-link {
  display: inline-block;
  margin-top: 2rem;
  background: #121212;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: opacity 0.15s;
}

.cv-link:hover { opacity: 0.8; }

/* ── INDEX PAGE — SKILLS ── */
.skills-list {
  margin-top: 4rem;
  list-style: none;
  margin-top: 2rem;
}

.skill-item {
  color: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.skill-item:last-child {
  border-bottom: none;
}

/* ── INDEX PAGE — MARQUEE ── */
.marquee-section { 
  margin-top: 4rem;
  overflow: hidden; 
}

#interests .section {
  border-top: 2px solid #121212;
  padding-top: 2rem;
}

.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  margin-right: 12px;
  flex-shrink: 0;
  background: var(--surface);
  transition: transform 0.3s ease;
}

.marquee-img:hover {
  transform: scale(1.15);
}

/* ── INDEX PAGE — CONTACT ── */
.contact-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 4rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-body {
  max-width: 70%;
}

.contact-subheading {
  font-size: clamp(2.375rem, 5.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
  padding-top: 4rem;
  margin-bottom: 4rem;
}

.contact-email {
  display: inline-block;
  width: fit-content;
  border-bottom: 1.5px solid var(--white);
  padding-bottom: 0.1rem;
  transition: opacity 0.15s;
}

.contact-email:hover { opacity: 0.6; }

.social-row { 
  display: flex; 
  flex-direction: column;
  gap: 1rem; 
  list-style: none;
  padding-top: 0.25rem;
}

.social-row a {
  color: #121212;
  border-bottom: 1.5px solid #121212;
  padding-bottom: 0.1rem;
  transition: opacity 0.15s;
}

.social-row a:hover { opacity: 0.6; }

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── INDEX PAGE — EMAIL STRIP ── */
.email-strip {
  margin-top: 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.email-strip-text { margin-bottom: 0.25rem; }

.email-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.email-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  padding: 0.6rem 1rem;
  border-radius: 3px;
  outline: none;
  width: 220px;
  transition: border-color 0.15s;
}

.email-input::placeholder { color: var(--grey2); }
.email-input:focus { border-color: var(--grey1); }

.email-btn {
  background: var(--white);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.email-btn:hover { opacity: 0.8; }

/* ─────────────────────────────────────────
   WORK / CASE STUDY PAGES
   ───────────────────────────────────────── */

.breadcrumb {
  padding-top: 9rem;
  padding-bottom: 5.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey2);
}

.breadcrumb a { 
  color: #121212; 
  transition: color 0.15s; 
  position: relative;
  text-decoration: none;
}

.breadcrumb a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.4px;
  background: rgba(18, 18, 18, 0.8);
  transition: width 0.25s ease;
}

.breadcrumb a:hover::after {
  width: 100%;
}

.page-title { padding-top: 16rem; padding-bottom: 8rem; margin-bottom: 0; }

.overview-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
}

.sidebar-grid {
  display: grid;
  grid-template-columns: 40% 40% 20%;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border);
}

.overview-body h2 { 
  margin-bottom: 1.25rem; 
}

.overview-body p { 
  margin-bottom: 2rem; 
  color: var(--grey1);
}

.overview-body p:last-of-type { margin-bottom: 1.5rem; }

.see-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s;
}

.see-link:hover { border-color: var(--white); }

.sidebar-block { }

.sidebar-label {
  margin-bottom: 0.6rem;
  color: #121212;
}

.sidebar-items { line-height: 1.85; color: var(--grey1); }

/* Full-bleed images */
.full-img { width: 100%; background: var(--surface); }

.work-page .full-img {
  margin-top: 4rem;
}

.work-page .full-img + .full-img {
  margin-top: 0;
}
.full-img.r169 { aspect-ratio: 16/9; }
.full-img.r43  { aspect-ratio: 4/3; }
.full-img img  { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Case sections */
.case-section { padding-top: 6rem; margin-bottom: 3.5rem; }

.case-section h2 { margin-bottom: 2rem; }

.case-section h3 { 
  margin-bottom: 0.75rem; 
  padding-bottom: 1rem;
  margin-top: 3rem;
  color: var(--white);
}

.case-section h3:first-child { margin-top: 0; }

.case-section p { 
  color: var(--grey1); 
  margin-bottom: 2rem; 
}

.case-section p:last-child { margin-bottom: 0; }

/* Spacers */
.spacer    { height: 3.5rem; }
.spacer-sm { height: 2rem; }

/* ── OUTCOME SECTION ── */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.outcome-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.outcome-grid-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-card {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.outcome-stat-block {
  margin-top: 0.2rem;
}

.work-page .outcome-card p {
  margin: 0;
}

.work-page .outcome-card .outcome-label {
  margin-bottom: 2rem;
}

.work-page .outcome-stat-block .text-outcome-stat,
.work-page .outcome-stat-block .text-outcome-desc {
  color: #121212;
}

.work-page .outcome-stat-block .text-outcome-desc {
  margin-top: 0.4rem;
}

.outcome-summary {
  color: var(--grey1);
  margin-bottom: 2.5rem;
}

/* Outcome label — metric label text */
.text-outcome-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey2);
}

.work-page .text-outcome-label {
  line-height: 1rem;
}

/* Outcome stat — large numbers */
.text-outcome-stat {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

/* Outcome description */
.text-outcome-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--grey2);
  letter-spacing: 0;
  line-height: 1.5;
}

.reflection-block {
  padding-top: 1rem;
  margin-bottom: 2.5rem;
}

.reflection-block p {
  color: var(--grey1);
  margin-bottom: 1rem;
}

.reflection-block p:last-child { margin-bottom: 0; }

/* Reflection block title */
.text-reflection-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey2);
}

/* Next project */
.next-project { border-top: 1px solid var(--border); padding: 3.5rem 0 4rem; margin-top: 8rem; }

.next-link { 
  display: inline-flex; 
  align-items: baseline; 
  gap: 0.75rem; 
  transition: opacity 0.15s; 
}

/* Next project label */
.text-next-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--grey2);
  padding-bottom: 1rem;
}

/* Work page footer strip */
.footer-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 8rem;
}

.footer-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bio { color: var(--grey1); font-family: 'Inter', system-ui, sans-serif; font-size: 22px; font-weight: 500; line-height: 26px; }
.footer-bio strong { color: var(--white); font-weight: 500; }

.email-cta {
  border-bottom: 1.5px solid var(--white);
  padding-bottom: 0.1rem;
  white-space: nowrap;
  font-size: inherit;
  color: var(--grey1);
  transition: opacity 0.15s;
}

.email-cta {
  border-bottom: 1.5px solid var(--white);
  padding-bottom: 0.1rem;
  white-space: nowrap;
  font-size: inherit;
  color: inherit;
  transition: opacity 0.15s;
}

.email-cta:hover { opacity: 0.6; }

/* Email strip heading */
.text-email-heading {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Email strip helper text */
.text-email-helper-strip {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--grey1);
}

/* Footer */
.text-footer {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(18, 18, 18, 0.7);
}
}

/* Email form input */
.text-email-input {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.text-email-btn {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* See link */
.text-see-link {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 767px) {
  nav .container { padding: 1.1rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .wrap { padding: 0 1.5rem; }
  .container { padding: 0 1.5rem; }
  .divider { margin: 0 1.5rem; }

  .hero { padding-top: 7.5rem; padding-bottom: 3rem; }
  .hero h1 { margin-bottom: 1.5rem; }
  footer .container { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .email-strip { padding: 2rem 1.5rem; }
  .email-input { width: 100%; }

  .overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-strip { padding: 2rem 1.5rem; }
  
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid.cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .overview-grid { gap: 2.5rem; }
}

/* ─────────────────────────────────────────
   AMBIENT GRADIENT — hero section only
   ───────────────────────────────────────── */
@keyframes ambient {
  0%   { background-color: #e9f6f1; }
  16%  { background-color: #eef4df; }
  33%  { background-color: #eff6ed; }
  50%  { background-color: #eaf4ff; }
  66%  { background-color: #f7e9ee; }
  83%  { background-color: #f9e6eb; }
  100% { background-color: #e9f6f1; }
}

/* html and body: always solid */
html { background: var(--bg); }

/* Everything else: solid bg so gradient doesn't bleed through */
.section,
.work-list,
.email-strip,
footer,
.footer-strip,
.case-section,
.overview-grid,
.next-project,
.spacer,
.spacer-sm,
.full-img {
  background: var(--bg);
}

/* Remove solid bg from hero so gradient shows through */
.hero,
.hero-section,
.hero-bio-section {
  background: transparent;
}