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

:root {
  --yellow: #ffd200;
  --black: #1a1917;
  --white: #f4f2ec;
  --cream: #f4f2ec;
  --gray: #888;
  --display: 'Barlow', system-ui, sans-serif;
  --logo: 'Syne', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --pad: clamp(1.75rem, 5vw, 5rem);
  --max: 1280px;
  --ease: cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

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

.yellow { color: var(--yellow); }

/* ── Film grain (subtle texture, replaces glow) ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ── Reveal (scroll) ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* stagger children inside a revealed row */
.reveal.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.stagger.in > * { opacity: 1; transform: none; }
.reveal.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal.stagger.in > *:nth-child(2) { transition-delay: 0.13s; }
.reveal.stagger.in > *:nth-child(3) { transition-delay: 0.21s; }
.reveal.stagger.in > *:nth-child(4) { transition-delay: 0.29s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .reveal.stagger > * { opacity: 1; transform: none; }
  .line-inner { transform: none !important; }
}

/* ── GATE (contact card) ── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  transition: opacity 0.6s ease;
  overflow: auto;
}

.card {
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 3px solid var(--yellow);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
}

.card-inner {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card-head { display: flex; justify-content: space-between; align-items: center; }
.card-logo { font-family: var(--logo); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.05em; }
.card-loc { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

.card-id { display: flex; align-items: center; gap: 1.15rem; }
.card-avatar {
  width: 92px; height: 92px;
  object-fit: cover;
  object-position: center 12%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
}
.card-id-text { min-width: 0; }

.card-name {
  font-family: var(--display);
  font-size: clamp(1.7rem, 6.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.card-role {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.card-lines { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.card-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: padding-left 0.25s var(--ease);
}
.card-line:hover { padding-left: 0.4rem; }
.card-line-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.card-line-val { font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; transition: color 0.2s; }
.card-line:hover .card-line-val { color: var(--yellow); }

.card-soon {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: inline-flex; gap: 0.55rem; align-items: center;
  transition: color 0.2s;
}
.card-soon:hover { color: var(--yellow); }
.card-soon span { transition: transform 0.2s; }
.card-soon:hover span { transform: translateX(3px); }

.card-form[hidden] { display: none; }
.card-form { animation: fadeUp 0.4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.gate-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35); display: block; margin-bottom: 0.9rem;
}

.gate-row {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.6rem; gap: 1rem; min-width: min(320px, 100%); max-width: 100%;
  transition: border-color 0.3s;
}
.gate-row:focus-within { border-bottom-color: var(--yellow); }

.gate-row input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.1em;
}
.gate-row input::placeholder { color: rgba(255,255,255,0.2); }

.gate-row button {
  background: none; border: none; font-size: 1.4rem;
  color: rgba(255,255,255,0.4); cursor: pointer;
  transition: color 0.2s, transform 0.2s; padding: 0; line-height: 1;
}
.gate-row button:hover { color: var(--yellow); transform: translateX(3px); }

.gate-error { font-size: 0.7rem; color: #ff5555; letter-spacing: 0.08em; margin-top: 0.6rem; min-height: 1rem; }
.gate-city { font-size: 0.62rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.15); white-space: nowrap; }

.site-hidden { display: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem var(--pad);
  background: rgba(26,25,23,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding 0.4s, background 0.4s;
}
nav.scrolled {
  padding: 0.9rem var(--pad);
  background: rgba(26,25,23,0.93);
}

.nav-logo { font-family: var(--logo); font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75); transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:last-child { color: var(--white); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8.5rem var(--pad) 3rem;
  min-width: 0;
}

.hero-kicker {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.5vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 24ch;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 0.8s var(--ease) 0.1s, transform 0.8s var(--ease) 0.1s;
}
body.loaded .hero-kicker { opacity: 1; transform: none; }
.hero-kicker .mark {
  background: var(--yellow);
  color: var(--black);
  padding: 0 0.18em;
  white-space: nowrap;
}

.hero-quote {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: auto 0;
  padding: 1.5rem 0;
}
.hero-quote .line { display: block; overflow: hidden; padding: 0.02em 0; }
.hero-quote .line-inner {
  display: block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
}
body.loaded .hero-quote .line:nth-child(1) .line-inner { transition-delay: 0.18s; }
body.loaded .hero-quote .line:nth-child(2) .line-inner { transition-delay: 0.30s; }
body.loaded .hero-quote .line:nth-child(3) .line-inner { transition-delay: 0.42s; }
body.loaded .hero-quote .line:nth-child(4) .line-inner { transition-delay: 0.54s; }
body.loaded .hero-quote .line-inner { transform: translateY(0); }

.hero-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s var(--ease) 0.6s, transform 0.9s var(--ease) 0.6s;
}
body.loaded .hero-foot { opacity: 1; transform: none; }

.hero-name {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 0.2em 0.45em;
}

.hero-cta {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5); white-space: nowrap;
  display: inline-flex; gap: 0.5rem; align-items: center;
  transition: color 0.2s;
}
.hero-cta:hover { color: var(--yellow); }
.hero-cta span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.2s var(--ease) 0.1s, transform 1.4s var(--ease) 0.1s;
}
body.loaded .hero-photo img { opacity: 1; transform: scale(1); }

/* ── TICKER (yellow bar) ── */
.ticker {
  overflow: hidden;
  padding: 1rem 0;
  background: var(--yellow);
}
.ticker-track {
  display: flex; gap: 2rem; width: max-content;
  animation: tick 32s linear infinite;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em;
  color: var(--black); align-items: center; text-transform: uppercase;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track .sep { color: rgba(26,25,23,0.4); font-size: 0.55rem; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION COMMON ── */
.section-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 3rem;
}
.section-label { font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; color: rgba(255,255,255,0.35); }
.section-note { font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; color: rgba(255,255,255,0.25); }

/* ── ABOUT (light section) ── */
.about {
  background: var(--cream);
  color: var(--black);
  padding: 0 var(--pad) 6rem;
}
.about-wrap { max-width: var(--max); margin: 0 auto; }
.about .section-row { border-bottom-color: rgba(26,25,23,0.12); }
.about .section-label { color: rgba(26,25,23,0.45); }

.about-grid { display: block; }

.about-headline {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
  color: var(--black);
  max-width: 16ch;
}
/* yellow becomes a marker highlight on light bg */
.about-headline .yellow {
  color: var(--black);
  background: var(--yellow);
  padding: 0 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about-body { max-width: 680px; }
.about-body p {
  font-size: 0.95rem; font-weight: 400;
  color: rgba(26,25,23,0.7); line-height: 1.9; margin-bottom: 1.2rem;
}

.about-stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(26,25,23,0.12);
}
.stat { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-n { font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--black); }
.stat-l { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; color: rgba(26,25,23,0.45); text-transform: uppercase; font-family: var(--sans); }

/* ── WORK (dark) ── */
.work {
  padding: 0 var(--pad) 5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.work-top { padding-top: 0.5rem; }
.work-list { display: flex; flex-direction: column; }

.work-item {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 1rem 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
  cursor: default;
}
.work-item::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--yellow); transition: width 0.5s var(--ease);
}
.work-item:hover { padding-left: 1.25rem; background: rgba(255,255,255,0.015); }
.work-item:hover::after { width: 100%; }
.work-item:hover .work-n { color: var(--yellow); }
.work-item:hover .work-title { color: var(--yellow); }

.work-n {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.25);
  padding-top: 0.45rem; transition: color 0.3s;
}
.work-title {
  font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.05;
  margin-bottom: 1rem; transition: color 0.3s;
}
.work-body { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 540px; }
.work-tags { display: flex; flex-direction: column; gap: 0.4rem; text-align: right; padding-top: 0.5rem; }
.work-tags span { font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; color: rgba(255,255,255,0.3); }

/* ── SPEAKING (dark) ── */
.speaking {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4rem var(--pad) 5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.speaking-headline {
  font-family: var(--display); font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 800; line-height: 0.88; letter-spacing: -0.035em; margin-bottom: 2rem;
}
.speaking-sub { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 560px; margin-bottom: 3rem; }

.topics {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 4rem;
}
.topic {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.75rem 3rem 3rem;
  background: var(--black);
  transition: background 0.35s var(--ease);
}
/* yellow keyline that grows on hover */
.topic::before {
  content: ''; position: absolute; top: 0; left: 0;
  height: 3px; width: 2.5rem;
  background: var(--yellow);
  transition: width 0.5s var(--ease);
}
.topic:hover { background: #211f1c; }
.topic:hover::before { width: 100%; }

.topic-kicker {
  font-family: var(--sans); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.25rem;
}
.topic-title {
  font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.05;
  margin-bottom: 0.9rem; color: var(--white);
}
.topic-body { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* ── SPEAKING CTA ── */
.speaking-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding: 2.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.speaking-cta-text h3 {
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.speaking-cta-text p { font-size: 0.88rem; font-weight: 300; color: rgba(255,255,255,0.5); }
a.btn-yellow { display: inline-block; text-decoration: none; }

/* ── SPEAKING FORM ── */
.sform-wrap { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 4rem; }
.sform-header { margin-bottom: 2.5rem; }
.sform { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; }
.sform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sform-field { display: flex; flex-direction: column; gap: 0.6rem; }
.sform-field label { font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; color: rgba(255,255,255,0.35); }
.sform-field input, .sform-field textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.14);
  outline: none; padding: 0.8rem 0; font-family: var(--body); font-size: 0.9rem;
  font-weight: 300; color: var(--white); transition: border-color 0.3s; resize: vertical;
}
.sform-field input:focus, .sform-field textarea:focus { border-bottom-color: var(--yellow); }
.sform-field input::placeholder, .sform-field textarea::placeholder { color: rgba(255,255,255,0.2); }

.topic-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.topic-pills label {
  font-family: var(--sans); font-size: 0.65rem !important; font-weight: 700;
  color: rgba(255,255,255,0.45) !important; border: 1px solid rgba(255,255,255,0.12);
  padding: 0.5rem 1rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s; user-select: none;
  text-transform: none !important; letter-spacing: 0 !important;
}
.topic-pills label:hover { border-color: var(--yellow); color: var(--yellow) !important; }
.topic-pills input[type=checkbox] { accent-color: var(--yellow); width: 11px; height: 11px; }

.sform-actions { display: flex; align-items: center; gap: 2rem; padding-top: 0.5rem; }
.btn-yellow {
  background: var(--yellow); color: var(--black); border: none;
  padding: 1rem 2.5rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.16em; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,210,0,0.2); }
.form-success { font-size: 0.8rem; color: var(--yellow); min-height: 1rem; }

/* ── CONTACT (yellow finale) ── */
.contact {
  background: var(--yellow);
  color: var(--black);
  padding: 6rem var(--pad);
}
.contact-wrap { max-width: var(--max); margin: 0 auto; }
.contact .section-row { border-bottom-color: rgba(26,25,23,0.18); }
.contact .section-label { color: rgba(26,25,23,0.5); }

.contact-headline {
  font-family: var(--display); font-size: clamp(3rem, 9.5vw, 9.5rem);
  font-weight: 800; line-height: 0.85; letter-spacing: -0.04em;
  margin-bottom: 2.5rem; color: var(--black);
}
.contact-headline .yellow { color: var(--black); -webkit-text-stroke: 2px var(--black); -webkit-text-fill-color: transparent; }

.contact-body {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem;
  border-top: 1px solid rgba(26,25,23,0.2); padding-top: 3rem;
}
.contact-email {
  font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em; color: var(--black);
  display: inline-flex; gap: 0.4rem; align-items: center;
  transition: gap 0.3s var(--ease);
}
.contact-email:hover { gap: 1rem; }
.contact-links { display: flex; gap: 2rem; }
.contact-links a {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(26,25,23,0.6); transition: color 0.2s, transform 0.2s; text-transform: uppercase;
}
.contact-links a:hover { color: var(--black); transform: translateY(-2px); }

/* ── SPEAKING PAGE ── */
.sp-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 9rem var(--pad) 5rem;
}
.sp-head { margin-bottom: 4rem; max-width: 760px; }
.sp-head .section-label { margin-bottom: 2rem; }
.sp-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 800; line-height: 0.85; letter-spacing: -0.035em;
  margin: 1.5rem 0 2rem;
}
.sp-intro {
  font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.55);
  line-height: 1.85; max-width: 560px;
}
.sp-form { max-width: 760px; }

@media (max-width: 600px) {
  .sp-page { padding: 7rem var(--pad) 4rem; }
  .sp-head { margin-bottom: 2.5rem; }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  max-width: var(--max); margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .work-item { grid-template-columns: 3rem 1fr; }
  .work-tags { display: none; }
  .topics { grid-template-columns: 1fr; }
  .sform-row { grid-template-columns: 1fr; }
  .contact-body { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .gate-footer { flex-direction: column; align-items: flex-start; }
  .gate-row { min-width: unset; width: 100%; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 860px) {
  /* hero: stack photo on top, text below */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { order: -1; height: 52vh; min-height: 340px; }
  .hero-photo img { object-position: center 10%; }
  .hero-text { padding: 2.5rem var(--pad) 3rem; gap: 2rem; }
  .hero-kicker { max-width: 100%; }
  .hero-quote { margin: 0; padding: 0.5rem 0; font-size: clamp(2.75rem, 12vw, 4.5rem); }
}

@media (max-width: 600px) {
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .nav-links a:not(:last-child) { display: none; }
  .about-stats { gap: 2rem; flex-wrap: wrap; }
  .topic { padding: 2rem 1.5rem; }

  /* keep big headlines clear of the edges */
  .about-headline { font-size: clamp(1.9rem, 8vw, 3rem); max-width: 100%; }
  .speaking-headline { font-size: clamp(2.1rem, 9vw, 3rem); }
  .contact-headline { font-size: clamp(3.25rem, 16vw, 4.75rem); line-height: 0.88; }
}

/* ── MOBILE FIXES ── */
/* iOS auto-zooms (and stays zoomed) when a focused input is under 16px */
@media (max-width: 900px) {
  .gate-row input,
  .sform-field input,
  .sform-field textarea { font-size: 16px; }
}
