/* ═══════════════════════════════════════════
   CoMindLab — Global Styles
   Brand: Warm cream bg, sage/rose/blue/mauve accents
   Fonts: Space Grotesk (display) + Outfit (body)
   ═══════════════════════════════════════════ */

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

:root {
  --accent: #8FAFA7;
  --accent-text: #4A7A6D;
  --accent-hover: #7a9e95;
  --bg: #FAF9F5;
  --surface: #E1E4E8;
  --ink: #1a1a1a;
  --ink-body: #1a1a1a;
  --ink-light: rgba(26, 26, 26, 0.85);
  --ink-muted: rgba(26, 26, 26, 0.65);
  --ink-faint: rgba(26, 26, 26, 0.08);
  --ink-decorative: rgba(26, 26, 26, 0.18);
  --white: #FFFFFF;
  --dark: #2D3436;
  --dark-surface: #353b42;
  --sage: #8FAFA7;
  --rose: #C4A394;
  --blue: #7E95B0;
  --mauve: #A8A0B8;
  --radius: 16px;
  --radius-sm: 8px;
  --max-width: 1400px;
  --page-pad: clamp(1.5rem, 5vw, 4rem);
  --font-display: 'Space Grotesk', sans-serif;
  --font-sans: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  letter-spacing: -0.03em;
}

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

.page { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-pad); }

/* ═══ NAVIGATION ═══ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink-faint);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .logo-icon {
  width: 28px;
  height: 28px;
}
.nav-logo .logo-img {
  height: 30px;
  width: auto;
}
.nav-logo .logo-grey { color: #999; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }

.nav-mobile { display: none; cursor: pointer; }

/* ═══ BACK BUTTON ═══ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.back-link:hover { color: var(--ink); }
.back-link svg { width: 16px; height: 16px; }

/* ═══ PAGE HEADER ═══ */
.page-header {
  padding: 100px 0 80px;
  max-width: 640px;
}
.page-header .label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.page-header .label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.page-header h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-header h1 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-text);
}
.page-header p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-light);
  max-width: 520px;
  line-height: 1.7;
}

/* ═══ HERO (Home — v6 two-column) ═══ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
  padding: 80px var(--page-pad);
  position: relative;
  overflow: hidden;
}
.hero-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  max-width: 1200px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}
.hero-left { position: relative; z-index: 2; }
.hero-right { position: relative; z-index: 2; padding-top: 20px; max-width: 480px; justify-self: end; }
.hero .hero-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--sage);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero .hero-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--sage);
}
.hero h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -2.5px;
  color: var(--ink);
}
.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--sage);
}
.hero-sub {
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
  line-height: 1.5;
}
.hero .hero-body {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: none;
  margin-top: 0;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: #1a1f24;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-faint);
}
.btn-outline:hover {
  border-color: var(--ink-muted);
}
.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
.btn-accent:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
}

/* ═══ SECTION BLOCKS ═══ */
.section { padding: 140px 0; }
.section-dark {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 64px;
  margin-bottom: 24px;
}
.section-surface {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 64px;
  margin-bottom: 24px;
}

/* ═══ ENGAGEMENT CARDS (Home) ═══ */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.engagement-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.engagement-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(143, 175, 167, 0.12);
}
.engagement-card .card-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink-decorative);
  line-height: 1;
  margin-bottom: 16px;
}
.engagement-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.engagement-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
  flex-grow: 1;
}
.engagement-card .card-link {
  margin-top: 20px;
  font-size: 13px;
  color: var(--accent-text);
  font-weight: 500;
}

/* ═══ OVERVIEW CARDS (Home) ═══ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.overview-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s;
}
.overview-card:hover { transform: translateY(-2px); }
.overview-card .ov-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-decorative);
  margin-bottom: 8px;
}
.overview-card .ov-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.overview-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.overview-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ═══ QUOTE BLOCK ═══ */
.quote-block {
  padding: 80px 0;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  margin: 40px 0;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 720px;
  font-style: italic;
}
.quote-block cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-text);
}

/* ═══ CTA SECTION ═══ */
.cta-section {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 64px;
  margin: 40px 0 64px;
}
.cta-section .cta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.cta-section h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  max-width: 520px;
  margin-bottom: 16px;
}
.cta-section h2 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}
.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 40px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-top: 16px;
}
.footer-nav-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-nav-title--spaced { margin-top: 20px; }
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-nav-list a:hover { color: var(--accent); }
.footer-contact a {
  color: var(--white);
  font-size: 14px;
}
.footer-contact .response-time {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ═══ HOW WE WORK — HOVER CARDS ═══ */
.collab-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.collab-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.collab-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(143, 175, 167, 0.15);
}
.collab-card .cc-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink-decorative);
  line-height: 1;
  margin-bottom: 16px;
}
.collab-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.collab-card .cc-brief {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 8px;
}
.collab-card .cc-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--accent-text);
  margin-bottom: 16px;
}
.collab-card .cc-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cc-detail-btn {
  background: var(--accent);
  color: var(--ink) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px !important;
  display: inline-flex !important;
  width: fit-content;
  transition: background 0.2s;
}
.cc-detail-btn:hover { background: var(--accent-hover); }

/* Hover popup overlay */
.collab-popup {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  overflow-y: auto;
  z-index: 2;
}
.collab-card:hover .collab-popup,
.collab-card.popup-open .collab-popup {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.collab-popup h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.collab-popup .popup-section {
  margin-bottom: 14px;
}
.collab-popup .popup-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  font-weight: 600;
  margin-bottom: 4px;
}
.collab-popup .popup-text {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.55;
}
.collab-popup .popup-cta {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
}

/* ═══ PROCESS STEPS ═══ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--ink-decorative);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ═══ SELECTED WORK CARDS ═══ */
.card-list { display: flex; flex-direction: column; gap: 20px; padding-bottom: 64px; }

.work-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  gap: 32px;
  align-items: start;
}
.work-card.no-screenshot {
  grid-template-columns: 200px 1fr;
}
.card-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--ink-decorative);
  line-height: 1;
  margin-bottom: 14px;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.card-tag {
  font-size: 12px;
  color: var(--ink-muted);
  padding: 2px 8px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-sm);
}
.card-meta { display: flex; gap: 20px; margin-bottom: 14px; }
.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.meta-value { font-size: 13px; font-weight: 500; color: var(--ink-light); }
.card-tech { display: flex; gap: 5px; flex-wrap: wrap; }
.tech-pill {
  font-size: 12px;
  color: var(--ink-light);
  padding: 2px 8px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.section-text {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.section-text:last-child { margin-bottom: 0; }

/* Screenshot carousel */
.card-visual {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-faint);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  align-self: center;
}
.carousel { position: relative; width: 100%; height: 100%; }
.carousel img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  opacity: 0; transition: opacity 0.8s ease;
  cursor: zoom-in; pointer-events: none;
}
.carousel img.active { opacity: 1; pointer-events: auto; }
.carousel-dots {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0; z-index: 10;
}
.carousel-dot {
  width: 44px; height: 44px;
  background: transparent; cursor: pointer;
  position: relative;
  border: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.carousel-dot::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
}
.carousel-dot.active::after { background: var(--accent); }

/* Carousel pause button */
.carousel-pause {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(44, 49, 56, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}
.carousel-pause:hover { background: rgba(44, 49, 56, 0.9); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  justify-content: center; align-items: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 28px; color: rgba(255,255,255,0.6);
  cursor: pointer; z-index: 1002;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 32px; color: rgba(255,255,255,0.5);
  cursor: pointer; padding: 16px; z-index: 1002;
  -webkit-user-select: none;
  user-select: none;
}
.lightbox-nav:hover { color: #fff; }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
.lightbox-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 1002;
}
.lightbox-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25); cursor: pointer;
}
.lightbox-dots span.active { background: var(--accent); }

/* ═══ RESEARCH CARDS ═══ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.research-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.research-card .rc-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-decorative);
  margin-bottom: 8px;
}
.research-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.research-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ═══ CONTACT FORM ═══ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.contact-info-card .ci-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.contact-info-card .ci-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-card .ci-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group label .optional {
  color: var(--ink-muted);
  font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.form-submit .note {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ═══ TEAM SECTION ═══ */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}
.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.team-member.no-photo {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.team-photo {
  width: 200px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(100%);
}
.team-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.team-social a {
  color: var(--ink-muted);
  transition: color 0.2s;
}
.team-social a:hover {
  color: var(--accent-text);
}
.team-info .team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.team-info h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}
.team-info p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 75ch;
}
.team-info p:last-child { margin-bottom: 0; }
.team-info p a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.team-info p a:hover { color: var(--ink); }
.team-member-compact {
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.team-member-compact .team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 4px;
}
.team-member-compact h3 {
  font-size: 20px;
  font-weight: 400;
}

/* ═══ PHILOSOPHY / PILLARS ═══ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.pillar .pillar-word {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.pillar .pillar-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* Dark variant */
.pillars-dark .pillar-word { color: var(--ink); }
.pillars-dark .pillar-desc { color: var(--ink-light); }

/* ═══ STANDARDS BLOCK ═══ */
.standards-block {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 64px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.standards-block .lead {
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 48px;
}
.standards-block .lead em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}

/* ═══ UTILITY CLASSES ═══ */

/* Section label with accent line (replaces 12+ inline combos) */
.section-label-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.section-label-line::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-label-line span,
.section-label-line {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-text);
}
/* Light variant for dark sections */
.section-label-line.light { color: var(--accent); }
.section-label-line.light::before { background: var(--accent); }
/* Wider gap variant */
.section-label-line.mb-lg { margin-bottom: 32px; }

/* Serif italic accent em (replaces 8+ inline combos) */
.accent-em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-text);
}
.section-dark .accent-em,
.standards-block .accent-em { color: var(--accent); }

/* Section headings */
.section-heading {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
}
.section-heading-sm {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

/* Body text variants */
.body-lg {
  font-size: 17px;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 75ch;
}
.body-md {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.7;
}
.body-sm {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.7;
}
.body-lg:last-child,
.body-md:last-child,
.body-sm:last-child { margin-bottom: 0; }

/* Light text overrides for dark sections */
.standards-block .body-sm,
.section-dark .body-sm {
  color: rgba(255,255,255,0.55);
}
.standards-block .process-step .step-num { color: var(--accent); }
.standards-block .process-step h3 { color: var(--white); }
.standards-block .process-step p { color: rgba(255,255,255,0.55); }

/* Dark section text variants */
.dark-heading {
  font-size: 24px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.dark-body {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.dark-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

/* Two-column grid */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Belief/conviction item */
.belief-item {
  padding: 28px 0;
  border-top: 1px solid var(--ink-faint);
}
.belief-item .belief-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.belief-item .belief-desc {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* Research stat card override */
.research-card .rc-stat {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-text);
}

/* Source attribution */
.source-note {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 12px;
}

/* Insight header (research page numbered insights) */
.insight-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.insight-header .insight-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-text);
  font-family: var(--font-display);
  line-height: 1;
}
.insight-header h3 {
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

/* Max-width constraint */
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 560px; }
.max-w-lg { max-width: 640px; }

/* Spacing helpers */
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 48px; }

/* ═══ ACCESSIBILITY ═══ */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, select:focus-visible, .collab-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  z-index: 10000;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* ═══ FRAMEWORK SECTION (Home v6) ═══ */
.framework-section {
  padding: 80px 0 60px;
}
.framework-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.framework-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.framework-header h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--sage);
}
.framework-header p {
  font-size: 14px;
  color: #999;
  max-width: 340px;
  text-align: right;
}
.framework-wrapper {
  position: relative;
}
.fw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  position: relative;
}
.fw-card {
  border-radius: 14px;
  padding: 36px 30px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.fw-card:hover { transform: translateY(-2px); }
.fw-card:nth-child(1) { background: rgba(139,158,126,0.18); }
.fw-card:nth-child(2) { background: rgba(126,149,176,0.18); }
.fw-card:nth-child(3) { background: rgba(168,160,184,0.18); }
.fw-card .fw-num {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 16px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.fw-icon-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  z-index: 2;
}
.fw-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.fw-card:nth-child(3) .fw-icon-wrap img {
  transform: scale(1.8);
}
.fw-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 2;
}
.fw-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.fw-connector {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}
.fw-link {
  margin-top: 20px;
  text-align: right;
}
.fw-link a {
  font-size: 14px;
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.fw-link a:hover { gap: 10px; }

/* ═══ QUOTE (Home v6) ═══ */
.quote-section {
  padding: 72px 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.3px;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  color: #777;
}
.quote-section blockquote strong {
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}

/* ═══ EVIDENCE BLOCK (Home v6) ═══ */
.evidence-block {
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.evidence-stats {
  background: #444b4e;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.evidence-stats::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 200px; height: 200px;
  border: 1px solid rgba(139,158,126,0.12);
  border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
}
.evidence-stats .eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  font-weight: 500;
}
.main-stat {
  font-size: 4.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 8px;
}
.main-stat-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  line-height: 1.45;
}
.stat-sources {
  margin-bottom: 28px;
}
.stat-sources a {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  display: block;
  line-height: 1.5;
  transition: color 0.2s;
  text-decoration: none;
}
.stat-sources a:hover {
  color: rgba(255,255,255,0.6);
}
.secondary-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sec-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 2px;
}
.sec-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}
.evidence-cta {
  background: rgba(139,158,126,0.15);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.evidence-cta::before {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 160px; height: 160px;
  border: 1px solid rgba(139,158,126,0.12);
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 50%;
}
.evidence-cta .eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 20px;
}
.evidence-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 360px;
  color: var(--ink);
}
.evidence-cta p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 360px;
}
.evidence-cta .btn { align-self: flex-start; }

/* ═══ LIGHT CTA (Home v6) ═══ */
.cta-light {
  padding: 64px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 80px;
}
.cta-light h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.cta-light em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--sage);
}

/* ═══ FOOTNOTES ═══ */
.footnotes {
  padding: 16px 0 24px;
  border-top: 1px solid var(--ink-faint);
  margin-top: 16px;
}
.fn-item {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.fn-item a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.fn-ref { color: var(--accent-text); text-decoration: none; font-weight: 600; }

/* ═══ PAGE-TOP GRADIENT ═══ */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #F0EEE6, transparent);
  pointer-events: none;
  z-index: -1;
}

/* ═══ MICRO-ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Fallback: show content if JS hasn't loaded */
.animate-in { opacity: 1; transform: none; }
/* Only hide for animation when JS is ready */
.js-ready .animate-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-ready .animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-in, .js-ready .animate-in, .js-ready .animate-in.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Enhanced hover transitions */
.engagement-card,
.overview-card,
.research-card,
.contact-info-card {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.3s;
}
.engagement-card:hover,
.overview-card:hover,
.research-card:hover,
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(44, 49, 56, 0.06);
}

/* CTA link base */
.cc-cta {
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: none;
}
.standards-block .cc-cta,
.section-dark .cc-cta {
  color: var(--accent);
}

/* CTA arrow animation */
.btn:hover .arrow,
.card-link:hover,
.cc-cta:hover,
.popup-cta:hover {
  transform: translateX(3px);
  transition: transform 0.2s;
}

/* ═══ LANGUAGE TOGGLE ═══ */
.lang-toggle {
  display: none; /* TR disabled for launch — re-enable when translations are ready */
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid var(--ink-faint);
  border-radius: 100px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  margin-left: 16px;
  flex-shrink: 0;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--ink);
}

/* ═══ FEEDBACK BUTTON ═══ */
.feedback-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  z-index: 900;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.feedback-trigger:hover {
  background: #1a1f24;
  color: #fff;
}
.feedback-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44, 49, 56, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 950;
  justify-content: center;
  align-items: center;
}
.feedback-overlay.open { display: flex; }
.feedback-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.feedback-panel h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}
.feedback-panel .fb-sub {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 20px;
}
.feedback-panel textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  resize: vertical;
  transition: border-color 0.2s;
}
.feedback-panel textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.feedback-actions button {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.fb-cancel {
  background: transparent;
  color: var(--ink-muted);
}
.fb-cancel:hover { color: var(--ink); }
.fb-submit {
  background: var(--dark);
  color: var(--white);
}
.fb-submit:hover { background: #1a1f24; }
.fb-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.feedback-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  z-index: 960;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.feedback-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ COOKIE NOTICE ═══ */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 24px;
  background: var(--ink, #2C3138);
  color: rgba(250, 249, 245, 0.8);
  font-size: 13px;
  line-height: 1.5;
  animation: cookieSlideUp 0.3s ease-out;
}
.cookie-notice.hiding {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-notice a {
  color: var(--accent, #C8A97E);
  text-decoration: underline;
}
.cookie-dismiss {
  background: var(--accent, #C8A97E);
  color: var(--ink, #2C3138);
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-dismiss:hover {
  opacity: 0.9;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ═══ WHO WE ARE — LAYOUT WITH PROFILE SIDEBAR ═══ */
.wwa-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.wwa-layout .wwa-header-grid {
  margin-top: 0;
}

.wwa-profile-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.wwa-profile-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.wwa-profile-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--surface);
}
.wwa-profile-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(100%);
}

.wwa-profile-card .team-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.wwa-profile-card h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.wwa-profile-card p {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 12px;
}
.wwa-profile-card p a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wwa-profile-card p a:hover {
  color: var(--accent-hover);
}

.wwa-profile-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
  transition: color 0.2s;
}
.wwa-profile-link:hover { color: var(--accent-hover); }

.wwa-profile-card .team-social {
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .wwa-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .wwa-profile-sidebar {
    position: static;
    order: -1;
    max-width: 400px;
  }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  :root { --page-pad: 20px; }
  body { overflow-x: hidden; }
  .overview-grid { max-width: 100%; overflow: hidden; }

  .nav-links { display: none; }
  .nav-links.open, .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px var(--page-pad);
    gap: 16px;
    border-bottom: 1px solid var(--ink-faint);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav { position: relative; }
  .nav-mobile { display: block; min-width: 44px; min-height: 44px; padding: 8px; }
  .lang-toggle { margin-left: 0; margin-right: 8px; min-width: 44px; min-height: 44px; }

  /* Hero: stack to single column on mobile */
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 60px 0 40px;
  }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-right { padding-top: 0; }
  .page-header h1 { font-size: 36px; }

  /* Framework cards: stack */
  .framework-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .framework-header p { text-align: left; }
  .fw-grid { grid-template-columns: 1fr; gap: 12px; }
  .fw-card { min-height: 0; padding: 28px 24px; }
  .fw-icon-wrap { width: 100%; height: 120px; }
  .fw-connector { display: none; }

  /* Evidence block: stack */
  .evidence-block { grid-template-columns: 1fr; }
  .evidence-stats, .evidence-cta { padding: 36px 24px; }
  .main-stat { font-size: 3rem; }

  /* Light CTA: stack */
  .cta-light {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    margin-top: 40px;
    padding: 40px 0;
  }

  .engagement-grid,
  .overview-grid,
  .collab-cards,
  .process-grid,
  .research-grid,
  .contact-info-grid,
  .pillars,
  .grid-two-col { grid-template-columns: 1fr; }

  .work-card { grid-template-columns: 1fr; }
  .work-card.no-screenshot { grid-template-columns: 1fr; }
  .card-visual { max-width: 400px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-list a { padding: 8px 0; display: inline-block; min-height: 44px; line-height: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .form-row { grid-template-columns: 1fr; }

  .team-member { grid-template-columns: 1fr; }
  .team-photo { width: 160px; height: 200px; }

  .section-dark, .section-surface, .standards-block, .cta-section, .contact-form {
    padding: 32px 20px;
  }

  /* Move feedback button out of the way on mobile */
  .feedback-trigger {
    bottom: 12px;
    right: 12px;
    font-size: 11px;
    padding: 8px 14px;
    opacity: 0.7;
  }

  /* Mobile: tap to toggle popup instead of hover */
  .collab-card:hover .collab-popup { opacity: 0; transform: translateY(8px); pointer-events: none; }
  .collab-card.popup-open .collab-popup { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* Clickable research cards */
a.research-card { text-decoration: none; color: inherit; }

/* ═══ OYA GERON PROFILE PAGE ═══ */

/* Profile hero */
.profile-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  padding: 80px 0 64px;
}
.profile-photo {
  width: 240px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(100%);
}
.profile-info .label { margin-bottom: 12px; }
.profile-info h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.profile-info p {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 75ch;
}
.profile-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.profile-social a {
  color: var(--ink-muted);
  transition: color 0.2s;
}
.profile-social a:hover {
  color: var(--accent-text);
}

/* Video embed (16:9) */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 45%; /* slightly less than 56.25% for a tighter look */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Talk / event cards */
.talk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.talk-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.talk-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(44, 49, 56, 0.06);
  transform: translateY(-2px);
}
.talk-card .talk-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  font-weight: 500;
  margin-bottom: 8px;
}
.talk-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.talk-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
  flex-grow: 1;
}
.talk-card .talk-venue {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 12px;
}
.talk-card-agencies a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.talk-card-agencies a:hover { color: var(--ink); }

/* Publication sections */
.pub-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-faint);
}
.pub-section:first-of-type { padding-top: 0; }
.pub-section:last-of-type { border-bottom: none; }
.pub-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pub-platform h3 {
  font-size: 18px;
  font-weight: 600;
}
.pub-badge {
  font-size: 12px;
  color: var(--accent-text);
  padding: 2px 10px;
  border: 1px solid var(--ink-faint);
  border-radius: 100px;
}
.pub-list {
  display: flex;
  flex-direction: column;
}
a.pub-item,
.pub-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-faint);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
a.pub-item:hover { background: rgba(143, 175, 167, 0.04); }
.pub-item:last-child { border-bottom: none; }
.pub-date {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
  padding-top: 2px;
}
.pub-title {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.pub-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
  transition: transform 0.2s;
}
.pub-link:hover { transform: translateX(3px); }

/* Press cards */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.press-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.3s;
}
a.press-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(44, 49, 56, 0.06);
  transform: translateY(-2px);
}
.press-source {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  font-weight: 600;
  margin-bottom: 2px;
}
.press-date {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.press-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.press-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* Credentials grid */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.cred-item {
  margin-bottom: 20px;
}
.cred-item:last-child { margin-bottom: 0; }
.cred-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.cred-detail {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.cred-note {
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
  font-style: italic;
}

/* ═══ PROFILE PAGE RESPONSIVE ═══ */
@media (max-width: 768px) {
  .profile-hero {
    grid-template-columns: 1fr;
    padding: 60px 0 40px;
  }
  .profile-photo {
    width: 180px;
    height: 220px;
  }
  .talk-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; gap: 32px; }
  .pub-item { grid-template-columns: 70px 1fr; gap: 8px; }
  .video-embed { padding-bottom: 56.25%; }
}

/* ═══ FOOTNOTES ═══ */
.footnotes {
  padding: 24px 0;
  border-top: 1px solid var(--ink-faint);
  margin-top: 40px;
}
.fn-item {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}
.fn-item sup {
  color: var(--accent-text);
  font-weight: 600;
  margin-right: 4px;
}
.fn-item a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-decoration-color: var(--ink-faint);
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.fn-item a:hover { color: var(--accent-text); }
.fn-ref {
  color: var(--accent-text);
  text-decoration: none;
  font-size: 0.75em;
}
.fn-ref:hover { text-decoration: underline; }

/* ═══ CARD ICONS ═══ */
.card-icon {
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ═══ ASSESSMENT SLIDE-IN POPUP ═══ */
.assess-popup {
  position: fixed;
  right: -360px;
  bottom: 80px;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(44, 49, 56, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}
.assess-popup.show { right: 24px; }
.assess-popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--ink-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.assess-popup-close:hover { color: var(--ink); }
.assess-popup-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.assess-popup-text strong {
  font-size: 14px;
  color: var(--ink);
}
.assess-popup-text span {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.assess-popup-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.assess-popup-btn:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .assess-popup {
    right: -360px;
    bottom: 60px;
    width: calc(100% - 32px);
    max-width: 300px;
  }
  .assess-popup.show { right: 16px; }
}

/* ═══════════════════════════════════════════
   Oya Feedback Redesign — April 2026
   ═══════════════════════════════════════════ */

/* --- Bigger icon containers --- */
.card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(143,175,167,0.12) 0%, rgba(143,175,167,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* --- More accent green throughout --- */
.hero .hero-label::before,
.page-header .label::before,
.section-label-line::before {
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.engagement-card {
  border-left: 3px solid transparent;
}
.engagement-card:hover {
  border-left-color: var(--accent);
}
.overview-card {
  border-bottom: 3px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.overview-card:hover {
  border-bottom-color: var(--accent);
}
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2a3a35 100%);
}
.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, #2a3a35 100%);
}
.btn-primary {
  background: var(--dark);
  border: 1px solid var(--accent);
}

/* --- Assessment popup enhancement --- */
.assess-popup-icon {
  flex-shrink: 0;
}
.assess-popup {
  border-left: 3px solid var(--accent);
}
.assess-popup-text strong {
  font-size: 15px;
}

/* --- Site-wide layout balance: center headings & text --- */

/* Section headings centered */
.section-heading,
.section-heading-sm {
  text-align: center;
}
.section-label-line {
  justify-content: center;
}
.body-md.max-w-md {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Page headers stay left for sub-pages but are wider */
.page-header {
  max-width: 100%;
}

/* --- who-we-are: Two-column header layout --- */
.wwa-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 100px 0 80px;
}
.wwa-header-grid .label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.wwa-header-grid .label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.wwa-header-grid h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wwa-header-grid h1 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-text);
}
.wwa-header-text {
  padding-top: 60px;
}
.wwa-header-text p {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 75ch;
}

/* --- who-we-are: Vision section spacious layout --- */
.vision-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.vision-pillar-card {
  background: rgba(143, 175, 167, 0.08);
  border: 1px solid rgba(143, 175, 167, 0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.vision-pillar-card .pillar-word {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.vision-pillar-card .pillar-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* --- our-work: Clean card grid for portfolio --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 64px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.portfolio-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(143, 175, 167, 0.15);
  transform: translateY(-3px);
}
.portfolio-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  overflow: hidden;
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.portfolio-card-body {
  padding: 24px;
}
.portfolio-card-body .card-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.portfolio-card-body .card-tag {
  font-size: 11px;
  color: var(--accent-text);
  padding: 3px 10px;
  background: rgba(143, 175, 167, 0.1);
  border: none;
  border-radius: 20px;
  font-weight: 500;
}
.portfolio-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.portfolio-card-body p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
}
.portfolio-card-body .card-meta-row {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-faint);
}
.portfolio-card-body .meta-label {
  font-size: 11px;
}
.portfolio-card-body .meta-value {
  font-size: 13px;
}

/* Portfolio detail panel */
.portfolio-detail {
  display: none;
  background: var(--bg);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: -1px;
  grid-column: 1 / -1;
}
.portfolio-detail.open {
  display: block;
}

/* --- Mobile overrides for new components --- */
@media (max-width: 768px) {
  .wwa-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 60px 0 48px;
  }
  .wwa-header-text {
    padding-top: 0;
  }
  .wwa-header-grid h1 {
    font-size: 36px;
  }
  .vision-pillars-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .section-heading,
  .section-heading-sm {
    text-align: left;
  }
  .section-label-line {
    justify-content: flex-start;
  }
  .body-md.max-w-md {
    text-align: left;
  }
  .card-icon-wrap {
    width: 56px;
    height: 56px;
  }
  .card-icon-wrap .card-icon {
    width: 40px;
    height: 40px;
  }
}
