/* ================================================================
   PRAXIS V3 — praxisottawa.ca
   Font: Plus Jakarta Sans (Google Fonts, 400-800)
   Palette: white bg, deep forest green #1B3A2A, yellow #FFE34A buttons only
   Minimal: no colored boxes, 1px rules, rounded corners, wave motif
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #1A2B5C;
  --ground: #ffffff;
  --body-text: #4A5A7E;
  --note: #7A88AE;
  --highlight: #FFE34A;
  --gutter: 72px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55;
  font-weight: 400; color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p { margin: 0; font-size: inherit; font-weight: inherit; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, button, textarea { font-family: inherit; }
::selection { background: var(--highlight); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }


/* === WAVE MOTIF === */
.waves-container {
  position: absolute; top: 80px; left: 0; right: 0; height: 160px;
  pointer-events: none; z-index: 0; overflow: visible;
}
.waves-container svg { width: 100%; height: 100%; }


/* === TYPOGRAPHY === */
.hero-text { font-size: 48px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--body-text); }
.hero-bold { font-size: 62px; font-weight: 800; line-height: 1.0; letter-spacing: -0.02em; }
.section-heading { font-size: 34px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; }
.display-number { font-size: 132px; font-weight: 800; line-height: 0.72; letter-spacing: -0.045em; }
.row-title { font-size: 20px; font-weight: 500; line-height: 1.3; }
.body-text { font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--body-text); }
.about-body { font-size: 17px; font-weight: 400; line-height: 1.55; color: var(--body-text); }
.small-note { font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--note); }
.micro-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--note);
}


/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: flex-start;
  gap: 6px; cursor: pointer; text-decoration: none;
  font-weight: 700;
  font-size: 15px; line-height: 1.2;
  padding: 16px 22px; border: none; border-radius: var(--radius);
  transition: background-color 150ms;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-highlight { background: var(--highlight); color: var(--ink); }
.btn-highlight:hover { background: #ffe86a; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: #253d6e; }

.btn-yellow { background: var(--highlight); color: var(--ink); }
.btn-yellow:hover { background: #ffe86a; }
.btn-ink-yellow { background: var(--ink); color: var(--highlight); }
.btn-ink-yellow:hover { background: #253d6e; }

.btn-subscribe {
  height: 50px; font-size: 14px; font-weight: 700; padding: 0 22px;
  background: var(--highlight); color: var(--ink);
  border: none; border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}
.btn-subscribe:hover { background: #ffe86a; }


/* === FORMS === */
.input-email {
  flex: 1; height: 50px; font-size: 15px; font-weight: 400;
  border: 2px solid rgba(0,0,0,0.15); background: transparent;
  padding: 0 14px; border-radius: var(--radius) 0 0 var(--radius);
  color: var(--ink); min-width: 0;
}
.input-email::placeholder { color: var(--note); }
.input-email:focus-visible { border-color: var(--note); outline: none; }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 6px; max-width: 440px; cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none;
}
.checkbox-label span { font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--body-text); }
.checkbox-label a { color: var(--body-text); }


/* === NAVIGATION === */
.nav-header { padding: 26px var(--gutter); position: relative; z-index: 1; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: baseline; gap: 14px; }
.nav-brand .wordmark {
  font-size: 16px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.nav-brand .nav-subtitle {
  font-size: 16px; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--note); text-decoration: none;
}
.nav-brand .nav-subtitle:hover { color: var(--ink); }
.nav-links { display: flex; gap: 32px; font-size: 13px; font-weight: 400; letter-spacing: 0.02em; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--body-text); }
.nav-links a.current { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.rule { border: none; border-top: 1px solid #eee; margin: 0 var(--gutter); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: center; gap: 6px; align-items: stretch;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform 200ms, opacity 200ms; }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--ink); position: fixed; inset: 0; z-index: 100;
  padding: 26px var(--gutter);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;
}
.mobile-menu-header .wordmark {
  font-size: 16px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ground); text-decoration: none;
}
.mobile-menu-close {
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close svg { stroke: var(--ground); }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu-nav a {
  font-size: 34px; font-weight: 400; letter-spacing: -0.015em;
  color: var(--ground); text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-nav a:hover { color: var(--highlight); }
.mobile-menu-footer { margin-top: auto; padding-bottom: 40px; }
.mobile-menu-footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }


/* === HERO === */
.hero {
  padding: 96px var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 300px; gap: 72px; align-items: end;
  position: relative; z-index: 1;
}
.hero-content { display: flex; flex-direction: column; gap: 6px; max-width: 900px; }
.hero-sidebar { display: flex; flex-direction: column; align-self: stretch; }
.hero-sidebar-photo {
  width: 100%; flex: 1; min-height: 0;
  object-fit: cover; object-position: 50% 45%; border-radius: var(--radius);
}
.hero-sidebar-content {
  border-top: 1px solid #ddd; padding-top: 12px; margin-top: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.speaker-list {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 16px; font-weight: 400; line-height: 1.3;
}


/* === EVENT SECTION === */
.event-band {
  padding: 48px var(--gutter) 40px; margin-top: 56px;
  position: relative; z-index: 1;
  border-top: 1px solid #eee;
}
.event-band-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--note); margin-bottom: 16px;
}
.event-band-details { display: flex; align-items: flex-end; gap: 36px; }
.event-band-left { display: flex; flex-direction: column; gap: 16px; }
.event-band-divider { width: 1px; align-self: stretch; background: #ddd; }
.event-detail-stack { display: flex; flex-direction: column; gap: 5px; }
.event-detail-primary { font-size: 20px; font-weight: 500; line-height: 1.25; }
.event-detail-secondary { font-size: 16px; font-weight: 400; color: var(--body-text); }
.event-band-right {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 270px;
}
.event-band-right p { font-size: 16px; font-weight: 400; line-height: 1.45; color: var(--body-text); }
.event-band-location a { color: var(--ink); text-decoration: none; }
.event-band-location a:hover { text-decoration: underline; }


/* === NEWSLETTER / CTA === */
.newsletter-cta-pair {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border-top: 1px solid #eee; position: relative; z-index: 1;
}
.newsletter-cell {
  padding: 56px 56px 60px var(--gutter);
  display: flex; flex-direction: column; gap: 14px;
}
.newsletter-form { display: flex; margin-top: 6px; max-width: 440px; }
.newsletter-success { display: none; font-size: 15px; line-height: 1.5; color: var(--body-text); margin-top: 6px; }
.newsletter-cell.is-subscribed .newsletter-form,
.newsletter-cell.is-subscribed .checkbox-label { display: none; }
.newsletter-cell.is-subscribed .newsletter-success { display: block; }

.cta-cell {
  padding: 56px var(--gutter) 60px 56px;
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid #eee;
}
.cta-cell .section-heading { min-height: 78px; }
.cta-cell .body-text { max-width: 380px; }


/* === INSTAGRAM / PHOTOS === */
.instagram-strip { padding: 48px var(--gutter) 64px; position: relative; z-index: 1; }
.instagram-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.instagram-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); }


/* === FOOTER === */
.footer { background: var(--ink); color: #fff; }
.footer-upper {
  padding: 48px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .wordmark {
  font-size: 17px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: #fff; text-decoration: none;
}
.footer-brand p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-brand a { color: var(--highlight); text-decoration: none; }
.footer-brand a:hover { color: #ffe86a; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.footer-col-links { display: flex; flex-direction: column; gap: 4px; }
.footer-col-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; font-weight: 400; line-height: 1.6;
  display: flex; align-items: center; gap: 8px;
}
.footer-col-links a:hover { color: var(--highlight); }
.footer-col-links a svg { flex-shrink: 0; }
.footer-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-cta p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.55); }
.footer-cta .btn-highlight { font-size: 15px; padding: 14px 20px; }
.footer-lower {
  padding: 18px var(--gutter) 24px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 32px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-lower-links { display: flex; gap: 22px; }
.footer-lower-links a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-lower-links a:hover { color: var(--highlight); }
.footer-location-link { display: flex; align-items: center; gap: 6px; }
.footer-location-link svg { flex-shrink: 0; }


/* === TALKS PAGE === */
.talks-about {
  padding: 72px var(--gutter) 48px;
  display: grid; grid-template-columns: 1fr 300px; gap: 72px; align-items: end;
  position: relative; z-index: 1;
}
.talks-about-content { display: flex; flex-direction: column; gap: 10px; }
.talks-about-body { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-top: 14px; }
.talks-about-sidebar { display: flex; flex-direction: column; }
.talks-sidebar-photo { width: 100%; border-radius: var(--radius); margin-bottom: 12px; }
.talks-sidebar-text {
  border-top: 1px solid #ddd; padding-top: 12px;
  font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--body-text);
}
.talks-section-header {
  padding: 56px var(--gutter) 16px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 32px;
  position: relative; z-index: 1;
}
.next-talk-row {
  background: var(--ink); color: #fff;
  padding: 28px var(--gutter);
  display: grid; grid-template-columns: 130px 1fr 200px; gap: 32px; align-items: start;
  position: relative; z-index: 1;
}
.talk-number { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.talk-date-note { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.talk-main { display: flex; flex-direction: column; gap: 8px; }
.talk-speakers-list { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 400; line-height: 1.35; }
.talk-venue-col { font-size: 15px; font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.6); }
.talk-venue-col a { color: inherit; text-decoration: none; }
.talk-venue-col a:hover { text-decoration: underline; }

.registration-bar {
  background: var(--ink); color: var(--ground);
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.registration-bar p { font-size: 20px; font-weight: 400; line-height: 1.35; max-width: 560px; }

.past-talks { padding: 0 var(--gutter) 56px; display: flex; flex-direction: column; position: relative; z-index: 1; }
.past-talk-row {
  border-top: 1px solid #ddd; padding: 28px 0;
  display: grid; grid-template-columns: 130px 1fr 200px 200px; gap: 32px; align-items: start;
}
.past-talk-row .talk-date-note { color: var(--note); }
.past-talk-row .talk-venue-col { color: var(--note); }
.past-talk-image { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius); }
.past-talks-end-rule { border-top: 1px solid #ddd; }
.gallery-thumb { background: none; border: none; padding: 0; cursor: pointer; display: block; width: 100%; }
.gallery-thumb:hover .past-talk-image { opacity: 0.8; }
.gallery-thumb-label { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink); text-align: left; }
.gallery-thumb:hover .gallery-thumb-label { text-decoration: underline; }
.gallery-trigger { background: none; border: none; cursor: pointer; }
.past-talk-gallery-link { font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; }
.past-talk-gallery-link:hover { text-decoration: underline; }
.no-event-message { padding: 48px var(--gutter); text-align: center; }
.no-event-message p { font-size: 20px; font-weight: 400; line-height: 1.4; color: var(--body-text); max-width: 500px; margin: 0 auto; }


/* === GALLERY MODAL === */
.gallery-modal { display: none; position: fixed; inset: 0; z-index: 200; }
.gallery-modal.is-open { display: flex; }
.gallery-modal-backdrop { position: absolute; inset: 0; background: rgba(26,43,92,0.8); backdrop-filter: blur(4px); }
.gallery-modal-content {
  position: relative; z-index: 1; width: 100%; max-width: 960px; max-height: 100vh;
  margin: 0 auto; overflow-y: auto; padding: 24px var(--gutter) 48px;
}
.gallery-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 24px; position: sticky; top: 0; z-index: 2; }
.gallery-modal-title { font-size: 20px; font-weight: 500; color: var(--ground); }
.gallery-modal-close {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); border: 2px solid var(--ground); border-radius: var(--radius);
  cursor: pointer; flex-shrink: 0; color: var(--ground);
}
.gallery-modal-close:hover { background: #253d6e; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery-item figcaption { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; line-height: 1.4; }


/* === SPEAK / ABOUT / CONNECT === */
.page-hero { padding: 72px var(--gutter) 0; display: flex; flex-direction: column; gap: 10px; max-width: 900px; position: relative; z-index: 1; }
.page-sections { padding: 0 var(--gutter); position: relative; z-index: 1; }
.page-section {
  padding: 48px 0; border-top: 1px solid #ddd;
  display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: start;
}
.page-section:last-child { padding-bottom: 64px; }
.section-label { position: sticky; top: 80px; }
.section-body { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.section-body p { font-size: 17px; line-height: 1.55; color: var(--body-text); }

.about-photo-band { position: relative; height: 420px; overflow: hidden; margin: 0; }
.about-photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.about-photo-band figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--ground);
  padding: 14px 22px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 0 var(--radius) 0 0;
}

.connect-grid { padding: 0 var(--gutter) 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; z-index: 1; }
.connect-card { padding: 48px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid #ddd; }
.connect-card:nth-child(odd) { padding-left: 0; border-right: 1px solid #ddd; padding-right: 48px; }
.connect-card:nth-child(even) { padding-right: 0; padding-left: 48px; }
.connect-card .section-heading { font-size: 26px; }
.connect-link { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--ink); text-decoration: none; }
.connect-link:hover { color: var(--body-text); }
.connect-link svg { flex-shrink: 0; }
.connect-newsletter { padding: 56px var(--gutter) 64px; border-top: 1px solid #ddd; position: relative; z-index: 1; }
.connect-newsletter-inner { max-width: 520px; display: flex; flex-direction: column; gap: 14px; }

.directions-btn {
  display: none; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 12px 18px; border: 2px solid var(--ink); border-radius: var(--radius); margin-top: 10px;
}
.directions-btn svg { flex-shrink: 0; }

.mobile-register-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--ink); color: var(--ground);
  padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
  border-top: 2px solid var(--highlight);
  align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-register-bar .bar-info { display: flex; flex-direction: column; gap: 2px; }
.mobile-register-bar .bar-date { font-size: 15px; font-weight: 600; }
.mobile-register-bar .bar-venue { font-size: 12px; color: rgba(255,255,255,0.55); }
.mobile-register-bar .bar-venue a { color: rgba(255,255,255,0.55); text-decoration: none; }
.mobile-register-bar .btn-highlight { font-size: 14px; padding: 12px 18px; white-space: nowrap; flex-shrink: 0; }
.mobile-register-bar.is-hidden { display: none !important; }
body.has-mobile-bar { padding-bottom: 72px; }

.placeholder { border-left: 3px solid var(--highlight); padding-left: 14px; font-style: italic; }


/* === FORM VALIDATION === */
.form-error {
  font-size: 13px; color: #c0392b; margin-top: 4px;
  display: none; line-height: 1.4;
}
.form-error.is-visible { display: block; }
.input-email.has-error,
.input-text.has-error,
.input-textarea.has-error { border-color: #c0392b; }
.checkbox-label.has-error span { color: #c0392b; }
.form-success-card {
  padding: 20px; margin-top: 14px;
  background: #f0f7f0; border-left: 3px solid #2d8a4e;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; line-height: 1.5; color: var(--body-text);
}
.form-success-card svg { flex-shrink: 0; margin-top: 2px; }


/* === SPEAKER SUBMISSION FORM === */
.speak-form {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 14px; max-width: 480px;
}
.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field .optional { font-weight: 400; color: var(--note); }
.input-text {
  height: 46px; font-size: 15px; font-weight: 400;
  border: 2px solid rgba(0,0,0,0.15); background: transparent;
  padding: 0 14px; border-radius: var(--radius); color: var(--ink);
}
.input-text::placeholder { color: var(--note); }
.input-text:focus-visible { border-color: var(--ink); outline: none; }
.input-textarea {
  font-size: 15px; font-weight: 400;
  border: 2px solid rgba(0,0,0,0.15); background: transparent;
  padding: 12px 14px; border-radius: var(--radius); color: var(--ink);
  resize: vertical; min-height: 100px;
}
.input-textarea::placeholder { color: var(--note); }
.input-textarea:focus-visible { border-color: var(--ink); outline: none; }
.speak-form-success {
  display: none; margin-top: 14px;
  font-size: 17px; line-height: 1.55; color: var(--body-text);
}


/* === LANGUAGE TOGGLE === */
.lang-toggle {
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff !important; text-decoration: none;
  background: var(--ink); padding: 5px 9px;
  margin-left: 8px; display: inline-block; line-height: 1.2;
}
.lang-toggle:hover { background: #253d6e; color: #fff !important; text-decoration: none; }
.nav-lang-mobile { display: none; }

.hero-sidebar .micro-label { color: var(--note); }
.cta-cell .btn-yellow, .cta-cell .btn-highlight { margin-top: 6px; }
.footer-cta .btn-yellow, .footer-cta .btn-highlight { font-size: 15px; padding: 14px 20px; }
.footer-cta .footer-col-label { margin-bottom: 0; }
.mobile-register-bar .btn-yellow { font-size: 14px; padding: 12px 18px; white-space: nowrap; flex-shrink: 0; }
.mobile-register-bar .bar-venue a:hover { color: var(--highlight); }
.gallery-modal-close:focus-visible { outline: 2px solid var(--highlight); outline-offset: 2px; }


/* === TALKS PAGE MOBILE PHOTO === */
.talks-about-photo-mobile { display: none; }
.talks-about-photo-mobile img { width: 100%; }


/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .hero-text { font-size: 40px; }
  .hero-bold { font-size: 48px; }
  .display-number { font-size: 100px; }
  .hero { grid-template-columns: 1fr 240px; gap: 40px; }
  .talks-about { grid-template-columns: 1fr 240px; gap: 40px; }
  .footer-upper { grid-template-columns: 1fr 1fr; gap: 32px; }
  .next-talk-row { grid-template-columns: 100px 1fr 160px; gap: 24px; }
  .past-talk-row { grid-template-columns: 100px 1fr 160px 160px; gap: 24px; }
  .page-section { grid-template-columns: 200px 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .hero-text { font-size: 32px; }
  .hero-bold { display: none; }
  .display-number { font-size: 88px; }
  .section-heading { font-size: 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-lang-mobile { display: block; margin-right: 4px; }
  .nav-brand .wordmark,
  .nav-brand .nav-subtitle { font-size: 12px; letter-spacing: 0.12em; }
  .nav-brand { gap: 8px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .hero-content { order: 1; }
  .hero-sidebar { order: 2; }
  .hero-sidebar-photo { max-height: 220px; order: 1; }
  .hero-sidebar-content { order: 2; }
  .talks-about { display: flex; flex-direction: column; }
  .talks-about-sidebar { display: none; }
  .talks-about-photo-mobile { display: block; margin-top: 8px; }
  .event-band { margin-top: 32px; }
  .event-band-details { flex-wrap: wrap; gap: 24px; }
  .event-band-divider { display: none; }
  .event-band-right { max-width: none; width: 100%; }
  .event-band .btn { width: 100%; justify-content: center; font-size: 17px; padding: 18px 22px; }
  .directions-btn { display: inline-flex; width: 100%; justify-content: center; }
  .newsletter-cta-pair { grid-template-columns: 1fr; }
  .newsletter-cell { padding: 40px var(--gutter); }
  .cta-cell { padding: 40px var(--gutter); border-left: none; border-top: 1px solid #eee; }
  .cta-cell .section-heading { min-height: auto; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .instagram-grid img:nth-child(n+4) { display: none; }
  .footer-upper { grid-template-columns: 1fr; gap: 28px; }
  .footer-lower { flex-direction: column; gap: 12px; }
  .talks-about { grid-template-columns: 1fr; gap: 24px; padding: 48px var(--gutter) 40px; }
  .next-talk-row { grid-template-columns: 1fr; gap: 20px; padding: 24px var(--gutter); }
  .registration-bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .registration-bar .btn { width: 100%; justify-content: center; }
  .past-talk-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .mobile-register-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: 72px; }
  .page-section { grid-template-columns: 1fr; gap: 16px; }
  .section-label { position: static; }
  .about-photo-band { height: 260px; }
  .connect-grid { grid-template-columns: 1fr; }
  .connect-card:nth-child(odd) { border-right: none; padding-right: 0; }
  .connect-card:nth-child(even) { padding-left: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .waves-container { height: 100px; top: 60px; }
}
@media (max-width: 480px) {
  .hero-text { font-size: 28px; }
  .hero-bold { font-size: 28px; }
  .display-number { font-size: 64px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
