/* AI & Pharma Executive Dinners (/dinners/)
   Builds on /styles.css (colours, fonts, nav, FAQ, footer). Scoped to body.dn. */

.dn {
  --dn-ink-soft: #4F5D78;   /* body copy, 6.4:1 on white */
  --dn-muted:    #5F6D88;   /* small labels, 5.2:1 on white */
  --dn-link:     #0872B5;   /* Ariya blue, darkened for small text (5.1:1) */
  --dn-hero-bg:  #F4F7FA;
}

.dn-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.dn-ico {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dn [hidden] { display: none !important; }
.dn a:focus-visible,
.dn button:focus-visible,
.dn input[type="checkbox"]:focus-visible,
.dn input[type="radio"]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Buttons: navy pill with arrow ───────────────────────── */
.dn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font: 500 16px/1 'DM Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.dn-btn .dn-ico { width: 18px; height: 18px; stroke-width: 2; transition: transform 0.15s ease; }
.dn-btn:hover { background: var(--navy-mid); box-shadow: 0 10px 24px rgba(10,22,40,0.18); }
.dn-btn:hover .dn-ico { transform: translateX(3px); }
.dn .dn-btn:focus-visible { border-radius: 999px; }
.dn-btn--sm { height: 42px; padding: 0 18px 0 22px; font-size: 14px; gap: 8px; }
.dn-btn--sm .dn-ico { width: 16px; height: 16px; }
.dn-btn--block { width: 100%; }

/* Nav button appears once the hero has scrolled out of view */
.dn-nav-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background 0.15s ease;
}
.dn-past-hero .dn-nav-cta {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}

/* ─── Type ────────────────────────────────────────────────── */
.dn-eyebrow,
.dn-smallcaps {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.dn-eyebrow { color: var(--dn-link); margin-bottom: 22px; }
.dn-smallcaps { color: var(--dn-muted); }

.dn-h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.dn-h1 span { display: block; color: var(--teal); }

.dn-h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.18;
  color: var(--navy);
}
.dn-h2--light { color: var(--white); }

.dn-lead,
.dn-prose p,
.dn-head p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--dn-ink-soft);
}
.dn-prose p + p { margin-top: 20px; }

/* ─── Sections ────────────────────────────────────────────── */
.dn-section { padding: 112px 0; background: var(--white); }
.dn-section--grey { background: var(--grey-bg); }
.dn-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.dn-head p { margin-top: 16px; }

/* ─── 1. Hero ─────────────────────────────────────────────── */
.dn-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(860px, 100vh);
  padding: 128px 0 104px;
  background: var(--dn-hero-bg);
  overflow: hidden;
}
.dn-hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
}
.dn-hero-media picture,
.dn-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.dn-hero-media img { object-fit: cover; object-position: 70% 50%; }
/* Light background fades into the photo */
.dn-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--dn-hero-bg) 0%,
    rgba(244,247,250,0.92) 16%,
    rgba(244,247,250,0.55) 34%,
    rgba(244,247,250,0) 62%);
}
/* Until the dinner photo is uploaded: soft Ariya-blue wash instead of a broken image */
.dn-hero--nophoto .dn-hero-media img { visibility: hidden; }
.dn-hero--nophoto .dn-hero-media {
  background:
    radial-gradient(70% 60% at 78% 32%, rgba(14,143,216,0.20) 0%, rgba(14,143,216,0) 70%),
    radial-gradient(60% 55% at 62% 82%, rgba(26,58,107,0.14) 0%, rgba(26,58,107,0) 70%),
    linear-gradient(180deg, #EAF5FC 0%, #DCEBF7 100%);
}
.dn-hero-inner { position: relative; z-index: 1; width: 100%; }
.dn-hero-copy { max-width: 590px; }
.dn-hero-sub {
  margin-top: 24px;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--dn-ink-soft);
}
.dn-hero-speaker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 8px 22px 8px 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(10,22,40,0.06);
}
.dn-hero-speaker img {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
.dn-hero-speaker-label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dn-link);
}
.dn-hero-speaker-text { display: block; font-size: 16px; line-height: 1.35; color: var(--navy); }
.dn-hero-speaker-text a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--teal-100);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.dn-hero-speaker-text a:hover { text-decoration-color: var(--teal); }
.dn-hero-event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}
.dn-hero-event-item { display: inline-flex; align-items: center; gap: 8px; }
.dn-hero-event-item .dn-ico { color: var(--dn-link); }
.dn-hero-event-sep { color: var(--dn-muted); }
.dn-hero-cta { margin-top: 36px; }
.dn-hero-cta .dn-smallcaps { margin-top: 16px; }

/* ─── 2. Why ──────────────────────────────────────────────── */
.dn-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

/* ─── 3. Topics ───────────────────────────────────────────── */
.dn-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.dn-card {
  padding: 34px 30px 32px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.dn-card::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  margin-bottom: 22px;
  background: var(--teal);
}
.dn-card h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 12px;
}
.dn-card p { font-size: 15.5px; line-height: 1.65; color: var(--dn-ink-soft); }

/* ─── 4. What we've heard ─────────────────────────────────── */
.dn-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 72px;
  max-width: 1040px;
  margin: 0 auto;
}
.dn-quote::before {
  content: '';
  display: block;
  width: 48px; height: 2px;
  margin-bottom: 24px;
  background: var(--teal);
}
.dn-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: 25px;
  line-height: 1.42;
  color: var(--navy);
}

/* ─── 5. How the evening runs ─────────────────────────────── */
.dn-evening { background: var(--navy); }
.dn-evening .dn-h2 { text-align: center; margin-bottom: 72px; }
.dn-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  list-style: none;
}
/* The line joining the four dots */
.dn-timeline::before {
  content: '';
  position: absolute;
  top: 37px;
  left: 6px; right: 6px;
  height: 1px;
  background: rgba(216,226,238,0.25);
}
.dn-step { position: relative; }
.dn-step-time {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--teal-light);
}
.dn-step::before {
  content: '';
  display: block;
  width: 13px; height: 13px;
  margin: 13px 0 26px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--teal-light);
  position: relative;
  z-index: 1;
  order: 2;
}
.dn-step { display: flex; flex-direction: column; }
.dn-step-time { order: 1; }
.dn-step h3 { order: 3; }
.dn-step p { order: 4; }
.dn-step h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
}
.dn-step p { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,0.74); }
.dn-chatham {
  max-width: 640px;
  margin: 72px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(216,226,238,0.18);
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

/* ─── 6. What you take away ───────────────────────────────── */
.dn-takeaways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.dn-takeaway { padding-top: 28px; border-top: 1px solid var(--grey-border); }
.dn-takeaway h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}
.dn-takeaway p { font-size: 16px; line-height: 1.7; color: var(--dn-ink-soft); }

/* ─── Guest speaker ───────────────────────────────────────── */
.dn-sf { background: var(--teal-050); scroll-margin-top: 68px; }
.dn-sf-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: center;
}
.dn-sf-photo { position: relative; max-width: 440px; }
/* Offset frame behind the portrait */
.dn-sf-photo::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--teal);
  border-radius: 28px;
  opacity: 0.35;
}
.dn-sf-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10,22,40,0.14);
}
.dn-sf-body .dn-eyebrow { margin-bottom: 16px; }
.dn-sf-topic { font-size: 52px; line-height: 1.08; }
.dn-sf-name {
  margin-top: 28px;
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  line-height: 1.2;
}
.dn-sf-name a {
  color: var(--navy);
  text-decoration: none;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.2s ease, color 0.15s ease;
}
.dn-sf-name a:hover { color: var(--dn-link); background-size: 100% 1px; }
.dn-sf-role { margin-top: 6px; font-size: 16px; color: var(--dn-ink-soft); }
.dn-sf-intro {
  max-width: 560px;
  margin: 24px 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--dn-ink-soft);
}

/* ─── 7. Who is at the table ──────────────────────────────── */
.dn-logos-label { margin: 0 0 28px; color: var(--dn-muted); }
.dn-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 56px;
  list-style: none;
}
.dn-logos li { display: flex; align-items: center; min-height: 48px; }
.dn-logos img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.25s ease;
}
.dn-logos img:hover { filter: none; }
.dn-logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--dn-muted);
  transition: color 0.2s ease;
}
.dn-logo-text:hover { color: var(--navy); }

/* ─── 8 + 9. Details and request form ─────────────────────── */
.dn-rsvp { background: var(--teal-050); }
.dn-rsvp-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.dn-details {
  position: sticky;
  top: 100px;
  padding: 12px 32px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 20px;
}
.dn-detail {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dn-detail:last-child { border-bottom: 0; }
.dn-detail .dn-ico {
  grid-row: span 2;
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--teal-050);
  color: var(--dn-link);
  stroke-width: 1.5;
}
.dn-detail dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--dn-muted);
}
.dn-detail dd { font-size: 16px; line-height: 1.5; color: var(--navy); }

.dn-request { scroll-margin-top: 88px; }
.dn-form-card {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(10,22,40,0.07);
}
.dn-form-intro {
  margin: 14px 0 32px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--dn-ink-soft);
}
.dn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dn-field { margin-bottom: 18px; border: 0; min-width: 0; }
.dn-field > label,
.dn-field legend {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.dn-field label i { font-style: normal; font-weight: 400; color: var(--dn-muted); margin-left: 4px; }
.dn-field input:not([type="radio"]):not([type="checkbox"]),
.dn-field select,
.dn-field textarea {
  width: 100%;
  font: 400 16px/1.4 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #C5D2E2;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.dn-field input:not([type="radio"]):not([type="checkbox"]),
.dn-field select { height: 48px; padding: 0 14px; }
.dn-field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.dn-field textarea::placeholder { color: #66738E; }
.dn-field select {
  padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6D88' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.dn-field input:not([type="radio"]):hover,
.dn-field select:hover,
.dn-field textarea:hover { border-color: #9FB2C9; }
.dn-field input:not([type="radio"]):focus,
.dn-field select:focus,
.dn-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-100);
}
.dn-field input[aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]),
.dn-field select[aria-invalid="true"],
.dn-field textarea[aria-invalid="true"] { border-color: var(--danger); }
.dn-field input[aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]):focus,
.dn-field select[aria-invalid="true"]:focus,
.dn-field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--danger-bg); }
.dn-field-error {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--danger);
}

.dn-choice { padding: 0; margin-top: 4px; }
.dn-radio,
.dn-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--navy);
}
.dn-radio {
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #C5D2E2;
  border-radius: 12px;
  font-size: 15.5px;
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dn-radio:hover { border-color: #9FB2C9; }
.dn-radio:has(input:checked) { border-color: var(--teal); background: var(--teal-050); }
.dn-radio input,
.dn-check input {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  -webkit-appearance: auto;
  appearance: auto;
}
.dn-consents { margin: 8px 0 24px; }
.dn-check {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dn-ink-soft);
}
.dn-check + .dn-field-error { margin: 4px 0 0 30px; }
.dn-consents > * + .dn-check { margin-top: 14px; }
.dn-check a { color: var(--dn-link); }
.dn-check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }

.dn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dn-form-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--danger-bg);
  color: #8E2F27;
  font-size: 14px;
  line-height: 1.5;
}
.dn-form-error a { color: inherit; font-weight: 500; }
.dn-submit[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.dn-submit[aria-busy="true"] .dn-ico { animation: dn-nudge 0.9s ease-in-out infinite; }
@keyframes dn-nudge { 50% { transform: translateX(4px); } }
.dn-micro {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--dn-muted);
}

.dn-success { text-align: center; padding: 24px 0; outline: none; }
.dn-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
}
.dn-success p {
  max-width: 460px;
  margin: 14px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dn-ink-soft);
}
.dn-success a { color: var(--dn-link); }

/* ─── 10. Questions (reuses the site FAQ accordion) ───────── */
.dn-faq .faq-h2 { margin-bottom: 48px; }
.dn-faq .faq-a-inner { color: var(--dn-ink-soft); }
.dn-faq .faq-a-inner a { color: var(--dn-link); }
/* Closed answers are skipped by keyboard and screen readers */
.dn-faq .faq-a { visibility: hidden; transition: max-height 0.35s ease, visibility 0s linear 0.35s; }
.dn-faq .faq-item.open .faq-a { visibility: visible; transition: max-height 0.35s ease; }

/* ─── 11. Footer line ─────────────────────────────────────── */
.dn-organiser {
  padding: 22px 24px;
  background: var(--white);
  border-top: 1px solid var(--grey-border);
  text-align: center;
  font-size: 14px;
  color: var(--dn-ink-soft);
}

/* ─── Mobile bottom bar ───────────────────────────────────── */
.dn-sticky {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--grey-border);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.dn-sticky .dn-btn { height: 50px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dn-h1 { font-size: 52px; }
  .dn-hero-copy { max-width: 520px; }
  .dn-hero-media { width: 56%; }
  .dn-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dn-rsvp-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; gap: 32px; }
  .dn-details { position: static; }
}

@media (max-width: 900px) {
  /* Override the site-wide bottom padding: the bar hides itself near the form */
  body.dn { padding-bottom: 0; }
  /* Solid header, so the logo never sits on the photo */
  .dn #nav { background: var(--white); border-bottom: 1px solid var(--grey-border); }
  body.dn footer { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }
  .dn-nav-cta { display: none; }
  .dn-sticky { display: block; }
  .dn-show-bar .dn-sticky { transform: none; visibility: visible; transition: transform 0.25s ease; }

  /* Hero: photo on top, text below */
  .dn-hero {
    display: block;
    min-height: 0;
    padding: 68px 0 64px;
  }
  .dn-hero-media {
    position: relative;
    width: 100%;
    height: 340px;
  }
  .dn-hero-media img { object-position: center 62%; }
  .dn-hero-media::after {
    background: linear-gradient(180deg, rgba(244,247,250,0) 50%, rgba(244,247,250,0.7) 80%, var(--dn-hero-bg) 100%);
  }
  .dn-hero--nophoto .dn-hero-media { height: 180px; }
  .dn-hero-inner { margin-top: -24px; }
  .dn-hero-copy { max-width: 600px; }
  .dn-h1 { font-size: 44px; }
  .dn-hero-sub { font-size: 18px; margin-top: 18px; }

  .dn-section { padding: 80px 0; }
  .dn-h2 { font-size: 34px; }
  .dn-why-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dn-quotes { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 640px; }
  .dn-quote p { font-size: 23px; }

  /* Timeline turns vertical */
  .dn-evening .dn-h2 { margin-bottom: 48px; }
  .dn-timeline { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-left: 36px; max-width: 560px; margin: 0 auto; }
  /* One line segment per step, from its dot to the next dot */
  .dn-timeline::before { display: none; }
  .dn-step::before { position: absolute; left: -36px; top: 3px; margin: 0; }
  .dn-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -30px;
    top: 16px;
    bottom: -39px;
    width: 1px;
    background: rgba(216,226,238,0.25);
  }
  .dn-step-time { margin-bottom: 6px; }
  .dn-chatham { margin-top: 56px; }

  .dn-takeaways { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 640px; margin: 0 auto; }
  .dn-sf-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .dn-sf-photo { max-width: 320px; }
  .dn-sf-topic { font-size: 40px; }
  .dn-logos { gap: 18px 40px; }
}

@media (max-width: 640px) {
  .dn-h1 { font-size: 38px; }
  /* Phones: zoom in on the table and glasses */
  .dn-hero-media { height: 280px; overflow: hidden; }
  .dn-hero-media img { transform: scale(1.6); transform-origin: 90% 85%; }
  .dn-hero-cta .dn-btn { width: 100%; }
  .dn-hero-event { font-size: 15px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .dn-hero-event-sep { display: none; }
  .dn-section { padding: 68px 0; }
  .dn-h2 { font-size: 30px; }
  .dn-head { margin-bottom: 40px; }
  .dn-lead, .dn-prose p, .dn-head p { font-size: 17px; }
  .dn-topics { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dn-card { padding: 28px 24px; }
  .dn-quote p { font-size: 21px; }
  .dn-hero-speaker { border-radius: 20px; padding-right: 16px; }
  .dn-hero-speaker-text { font-size: 15px; }
  .dn-sf-photo { max-width: 260px; }
  .dn-sf-topic { font-size: 34px; }
  .dn-sf-name { font-size: 23px; }
  .dn-sf .dn-btn { width: 100%; }
  .dn-details { padding: 6px 22px; }
  .dn-form-card { padding: 32px 20px; border-radius: 20px; }
  .dn-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dn-logos { gap: 16px 32px; }
  .dn-logos img { height: 28px; }
  .dn-logo-text { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .dn-btn:hover .dn-ico { transform: none; }
  .dn-submit[aria-busy="true"] .dn-ico { animation: none; }
}
