/* ═══════════════════════════════════════════
   LIGHT MODE DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --bg: #f5f2ef;
  --bg-subtle: #eeebe7;
  --text: #1a0d10;
  --text-dim: #5a4a4d;
  --text-mute: #8a7a7d;
  --accent: #e23744;
  --accent-2: #e84c5c;
  --accent-glow: rgba(226,55,68,0.2);
  --surface: #ffffff;
  --ink: #1a0d10;
  --border: rgba(0,0,0,0.08);
  --border-light: #ddd5d2;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 60px -20px rgba(0,0,0,0.12);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Mola background ── */
.mola-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  color: var(--accent);
  opacity: 0.5;
}
.mola-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.mola-grid { opacity: 0.06; }
.mola-currents { opacity: 0; }
.spark {
  fill: var(--accent-2);
  filter: drop-shadow(0 0 8px var(--accent-2)) drop-shadow(0 0 16px var(--accent));
  opacity: 0.95;
}
.spark-2 { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
body > nav, body > header, body > section, body > footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .mola-sparks { display: none; }
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.75rem; }

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

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease), padding 0.4s var(--ease), background 0.4s var(--ease);
  padding: 1.1rem 0;
  background: rgba(245, 242, 239, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav.visible { transform: translateY(0); }
.nav.scrolled { padding: 0.7rem 0; }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 450; color: var(--text-dim);
  position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.85rem; font-weight: 500; padding: 0.55rem 1.2rem;
  border-radius: 999px; background: var(--accent); color: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.nav-cta { animation: ctaPulse 3s ease-in-out infinite; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -8px var(--accent-glow); animation: none; }
@keyframes ctaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(226,55,68,0.3); } 50% { box-shadow: 0 0 0 8px rgba(226,55,68,0); } }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero { padding: 0 0 2rem; }
.hero-top { max-width: 980px; }
.hero-image {
  width: calc(100% - 3.5rem); margin: 0 1.75rem; overflow: hidden; line-height: 0;
  background: var(--border-light);
  aspect-ratio: 16 / 7;
  min-height: 300px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.15);
}
.hero-image img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 30%;
}
.hero-top { padding-top: 1.5rem; }
.hero-hi {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem;
}
.hero-hi .wave { display: inline-block; transform-origin: 70% 70%; cursor: default; transition: transform 0.15s var(--ease); font-size: 3em; line-height: 1; vertical-align: middle; }
.hero-hi .wave:hover { animation: wave 0.6s ease-in-out; }
@media (hover: none) { .hero-hi .wave:active { animation: wave 0.6s ease-in-out; } }
@keyframes wave { 0%,100% { transform: rotate(0); } 20% { transform: rotate(20deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(16deg); } 80% { transform: rotate(-4deg); } }
.hero-statement {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 0.98;
  margin: 1.5rem 0 0; max-width: 18ch;
  color: var(--text);
}
.hero-statement em { font-style: normal; color: var(--accent); }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-dim);
  max-width: 620px; margin: 1.75rem 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2.25rem 0 0; }

.reveal-img { clip-path: inset(0 0 100% 0); opacity: 0; transform: scale(1.08); transition: clip-path 1.1s var(--ease), opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -12px var(--accent-glow); }
.btn-ghost { background: var(--surface); border-color: var(--border-light); color: var(--text); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--text-mute); box-shadow: var(--shadow); }
.btn-block { width: 100%; justify-content: center; }

/* ── Hero stats (full-width below hero) ── */
.hero-stats-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.75rem;
  margin: 0;
}
.hero-stats-inner {
  max-width: var(--maxw); margin: 0 auto;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; transition: transform 0.3s var(--ease); cursor: default; text-align: center; }
.stat:hover { transform: translateY(-4px); }
.stat:hover .stat-num { background: linear-gradient(120deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; font-weight: 500; }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: 7rem 0; position: relative; }
.section-dark {
  background: var(--surface);
  padding: 4rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.section-head { margin-bottom: 3.5rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem;
}
.section-head h2 {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.9rem;
  border-radius: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.01em; line-height: 1.3;
}
.section-lead { color: var(--text-dim); font-size: 1.1rem; max-width: 620px; margin-top: 1rem; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
.highlights { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.highlights li {
  display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; font-weight: 450;
  color: var(--text); padding: 0.9rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.highlights li:hover { transform: translateX(6px); border-color: var(--accent); background: rgba(226,55,68,0.04); }
.hl-icon { color: var(--accent); font-size: 0.7rem; margin-top: 0.4rem; }
.about-bio p { color: var(--text); margin-bottom: 1.2rem; font-size: 1.1rem; }
.about-bio a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.about-bio a:hover { border-bottom-color: var(--accent); }
.about-bio { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.bio-photo {
  display: block; width: 100%; padding: 0; border: 1px solid var(--border); cursor: pointer;
  background: none; border-radius: var(--radius); overflow: hidden; position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.bio-photo img { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.bio-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bio-photo:hover img { transform: scale(1.04); }
.bio-photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem 1rem;
  font-size: 0.85rem; font-weight: 500; color: #fff; text-align: left;
  background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent);
}
.about-quote {
  font-family: var(--font-display); font-size: 1rem; line-height: 1.6; font-style: italic;
  color: var(--text-dim); margin: 2rem 0 0; padding: 0.75rem 0 0 1rem;
  border-left: 3px solid var(--accent);
}
.bio-readmore { align-self: flex-start; }

/* ── Consulting ── */
.consulting-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.consulting-card {
  position: relative; padding: 2.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-light);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.consulting-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.consulting-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.7rem; color: var(--accent); }
.consulting-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.consulting-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.booking {
  margin-top: 2.75rem; padding: 2rem 2.5rem; border-radius: var(--radius);
  background: rgba(226,55,68,0.04); border: 1px solid rgba(226,55,68,0.15);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.booking-text .booking-question {
  display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.15rem;
}
.booking-text p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

/* ── Case studies ── */
.cases { display: flex; flex-direction: column; gap: 1.5rem; }
.case-card {
  display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem;
  padding: 2.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-light);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.case-index {
  font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1;
  background: linear-gradient(180deg, var(--accent), transparent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.case-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.case-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.8rem; letter-spacing: -0.01em; }
.case-body p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 0.8rem; }

/* ── Skills ── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.skill-card {
  position: relative; padding: 2.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-light);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.skill-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.skill-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 0.6rem 0 1.1rem; color: var(--accent); }
.skill-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.skill-card li { font-size: 0.92rem; color: var(--text-dim); padding-left: 1.3rem; position: relative; }
.skill-card li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Interests ── */
.interests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.interest-card {
  padding: 1.9rem; border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-light); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.interest-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.brand-card-clickable { cursor: pointer; display: flex; flex-direction: column; gap: 0.6rem; }
.brand-logo-img { display: block; width: 100%; max-width: 200px; height: 48px; object-fit: contain; object-position: left center; margin-bottom: 0.6rem; position: relative; z-index: 1; }
.interest-icon { display: block; margin-bottom: 0.9rem; position: relative; color: var(--accent); }
.interest-icon svg { width: 32px; height: 32px; }
.interest-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; position: relative; }
.interest-card p { color: var(--text-dim); font-size: 0.94rem; position: relative; }
.interests-image-wrap {
  margin: 2rem auto 0; position: relative; border-radius: var(--radius); overflow: hidden;
  width: 100%; display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.interests-image-wrap img,
.interests-image-wrap video {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  object-fit: contain;
}
.interests-image-top { margin-bottom: 2.5rem; }
.interests-image-label {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.8rem; font-weight: 500; color: #fff; padding: 0.3rem 0.8rem;
  border-radius: 999px; background: rgba(0,0,0,0.55);
}

/* ── Media / News ── */
.media-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.view-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem;
}
.view-toggle button {
  background: none; border: none; cursor: pointer; padding: 0.4rem 0.6rem;
  border-radius: 999px; color: var(--text-mute); transition: background 0.25s, color 0.25s;
  display: inline-flex; align-items: center; justify-content: center;
}
.view-toggle button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.view-toggle button:hover { color: var(--text); }

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: 80px 96px 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.4rem 1.25rem; border-top: 1px solid var(--border);
  transition: background 0.3s, padding-left 0.3s var(--ease);
}
.news-item:last-child { border-bottom: 1px solid var(--border); }
.news-item:hover { background: var(--bg); padding-left: 1.75rem; }
.news-thumb {
  width: 80px; height: 60px; border-radius: var(--radius-sm); object-fit: cover;
  background: var(--border-light);
}
.news-date { display: flex; flex-direction: column; line-height: 1.1; }
.news-year { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--accent); }
.news-md { font-size: 0.78rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; }
.news-body h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.3rem; line-height: 1.35; }
.news-source { font-size: 0.82rem; color: var(--text-mute); }
.news-arrow { font-size: 1.2rem; color: var(--text-mute); transition: transform 0.3s var(--ease), color 0.3s; }
.news-item:hover .news-arrow { color: var(--accent); transform: translate(3px, -3px); }
.news-item[hidden] { display: none !important; }

.media-carousel {
  display: flex; gap: 1.25rem; overflow: hidden;
  padding: 0.5rem 0 1.5rem; position: relative; width: 100%;
}
.media-carousel::before, .media-carousel::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.media-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.media-carousel::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.media-carousel-track {
  display: flex; gap: 1.25rem; width: max-content; padding: 1rem 0;
  animation: galleryScroll 45s linear infinite;
}
.media-carousel:hover .media-carousel-track { animation-play-state: paused; }
@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.media-carousel-item {
  scroll-snap-align: start; flex: 0 0 320px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.media-carousel-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.media-carousel-thumb {
  width: 100%; height: 180px; object-fit: cover; display: block;
  background: var(--border-light);
}
.media-carousel-body { padding: 1.25rem; }
.media-carousel-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; line-height: 1.35; }
.media-carousel-body .news-source { display: block; margin-bottom: 0.5rem; }
.media-carousel-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgba(226,55,68,0.1); color: var(--accent);
}
.media-carousel-tag-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem;
}
.media-carousel-date {
  font-size: 0.72rem; color: var(--text-mute); white-space: nowrap; margin-left: 0.5rem;
}

/* ── Media filters ── */
.media-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.media-filter {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-dim);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.media-filter:hover { color: var(--text); border-color: var(--accent); }
.media-filter.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Writing / Essays ── */
.writing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.writing-card {
  padding: 1.75rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border-light); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.writing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.writing-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
.tag-ai { background: rgba(240,168,48,0.18); color: #9a6a12; }
.tag-meddev { background: rgba(226,55,68,0.15); color: #b02430; }
.tag-sports { background: rgba(249,115,22,0.15); color: #c2410c; }
.tag-venture { background: rgba(168,85,247,0.15); color: #7c3aed; }
.writing-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.writing-card p { font-size: 0.93rem; color: var(--text-dim); margin-bottom: 0.9rem; }
.writing-meta { font-size: 0.78rem; color: var(--text-mute); font-weight: 500; }

/* ── Contact ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-intro h2 {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.01em; line-height: 1.3;
  margin: 0.5rem 0 1rem;
}
.contact-intro p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 2rem; }
.contact-form {
  padding: 2.5rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-dim); margin-bottom: 0.45rem; }
.optional { color: var(--text-mute); font-weight: 400; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; font-family: inherit; font-size: 0.95rem;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-mute); }
.form-group select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a7a7d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-group select option { background: var(--surface); color: var(--text); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226,55,68,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-message { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.92rem; font-weight: 450; }
.form-message.info { display: block; background: rgba(0,0,0,0.03); color: var(--text); border: 1px solid var(--border); }
.form-message.success { display: block; background: rgba(226,55,68,0.08); color: var(--accent); border: 1px solid rgba(226,55,68,0.2); }
.form-message.error { display: block; background: rgba(248,113,113,0.08); color: #c2410c; border: 1px solid rgba(248,113,113,0.2); }

/* ── About media ── */
.about-media { display: flex; flex-direction: column; gap: 1.5rem; }
#about { padding-bottom: 6rem; }

/* ── Case study modal ── */
.case-card { cursor: pointer; }
.case-readmore { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.9rem; font-weight: 500; color: var(--accent); }
.case-readmore .arrow { transition: transform 0.3s var(--ease); }
.case-card:hover .case-readmore .arrow { transform: translateX(4px); }
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; background: rgba(245,242,239,0.85); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 760px; max-height: 86vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.75rem; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.3);
  transform: translateY(30px) scale(0.98); transition: transform 0.4s var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; color: var(--text-dim); font-size: 2rem; line-height: 1; cursor: pointer; transition: color 0.25s; }
.modal-close:hover { color: var(--accent); }
.modal-content .modal-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.modal-content h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin: 0.6rem 0 1.25rem; }
.modal-content h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.modal-content p { color: var(--text-dim); margin-bottom: 1rem; }
.modal-content ul { list-style: none; margin: 0 0 1rem; }
.modal-content li { color: var(--text-dim); padding-left: 1.3rem; position: relative; margin-bottom: 0.45rem; }
.modal-content li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Bio modal ── */
.bio-photo { cursor: pointer; }
.modal-overlay#bioModal .modal {
  max-width: 640px;
}

/* ── Footer ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 1.75rem; margin-top: 0; }
.footer .container { max-width: var(--maxw); margin: 0 auto; }
#contact { padding-bottom: 4rem; }
#consulting { padding-top: 5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { display: inline-flex; align-items: center; transition: color 0.25s, transform 0.25s var(--ease); }
.footer-links a:hover { color: var(--accent); transform: translateY(-2px); }
.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.footer-tag { font-size: 0.82rem; color: var(--text-mute); }
.footer-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.footer-social-label { font-size: 0.78rem; color: var(--text-mute); }
.footer-copy { font-size: 0.82rem; color: var(--text-mute); width: 100%; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero-hi .wave { animation: none; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-lead, .hero-actions { margin-left: 0; }
  .hero-actions { justify-content: center; flex-wrap: nowrap; }
  .hero-actions .btn { font-size: 0.85rem; padding: 0.7rem 1.2rem; white-space: nowrap; }
  .news-item { grid-template-columns: 60px 64px 1fr; gap: 0.75rem; }
  .news-thumb { width: 60px; height: 45px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .section { padding: 5rem 0; }
  .case-card { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.75rem; }
  .case-index { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .news-item { grid-template-columns: 48px 1fr; gap: 0.75rem; padding: 1rem 0.5rem; }
  .news-thumb { display: none; }
  .news-arrow { display: none; }
  .news-year { font-size: 1.1rem; }
  .modal { padding: 1.75rem; }
  .hero-actions { justify-content: center; flex-wrap: nowrap; }
  .hero-actions .btn { font-size: 0.85rem; padding: 0.7rem 1.2rem; white-space: nowrap; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .media-carousel-item { flex: 0 0 260px; }
  .media-carousel-thumb { height: 140px; }
}
