/* =========================================================================
   MsDawnSLP — Speaking Page
   Self-contained, no global nav/footer.
   Inherits all aesthetic decisions from colors_and_type.css.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--color-paper); color: var(--color-steel); }

/* Override design-system default selection (Light Pink) — not allowed on this page. */
::selection { background: var(--color-paper-deep); color: var(--color-steel-deep); }

/* Container */
.page { max-width: 1100px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 800px) { .page { padding: 0 24px; } }

a { color: inherit; }

/* ---- Page identity strip (NOT global nav) ---------------------------- */
.pagehead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 0 28px; border-bottom: var(--rule-thin);
}
.pagehead .mark {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--color-steel);
}
.pagehead .mark img { height: 44px; display: block; }
.pagehead .mark .wm {
  font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--color-steel);
}
.pagehead .mark .wm .accent { color: var(--color-steel); }
.pagehead .pageloc {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--color-steel-soft);
}

/* ---- Section scaffolding -------------------------------------------- */
section {
  padding: 88px 0;
  /* border-bottom: var(--rule-thin); */
}
@media (max-width: 800px) { section { padding: 56px 0; } }

.sec-eyebrow {
  display: flex; align-items: baseline; gap: 16px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--color-steel-soft);
  margin-bottom: 22px;
}
.sec-eyebrow .num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.04em;
  color: var(--color-blue-mist);
}
.sec-h {
  font-family: var(--font-sans); font-weight: 500; font-size: 34px; line-height: 1.18;
  color: var(--color-steel); margin: 0 0 12px; max-width: 760px; letter-spacing: -0.005em;
}
.sec-intro {
  font-size: 17px; line-height: 1.6; color: var(--color-steel-soft);
  max-width: 640px; margin: 0 0 48px;
}

/* ============================================================
   SECTION 1 — IDENTITY
   ============================================================ */
.identity {
  padding-top: 88px; padding-bottom: 96px;
  display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 72px;
  align-items: start;
}
@media (max-width: 880px) { .identity { grid-template-columns: 1fr; gap: 40px; } }

.identity-portrait-wrap { position: relative; }
.identity-portrait {
  width: 100%; aspect-ratio: 4/5; border-radius: 6px; object-fit: cover; object-position: center top;
  background: var(--color-paper-deep);
  display: block;
}
.identity-credit {
  margin-top: 16px;
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 12px; color: var(--color-steel-soft); letter-spacing: 0.02em;
  border-top: var(--rule-thin); padding-top: 12px;
}
.identity-credit b { color: var(--color-steel); font-weight: 500; }

.identity-bio .name {
  font-family: var(--font-sans); font-weight: 600; font-size: 38px; line-height: 1.15;
  color: var(--color-steel); margin: 0 0 6px; letter-spacing: -0.01em;
}
.identity-bio .cred {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: var(--color-steel-soft); margin: 0 0 32px;
}
.identity-bio .bio {
  font-size: 18px; line-height: 1.65; color: var(--color-steel); margin: 0;
  max-width: 620px;
}
.identity .sec-eyebrow { margin-bottom: 18px; }

/* ============================================================
   SECTION 2 — PAST ENGAGEMENTS (5 categories)
   ============================================================ */
.engagements {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0;
  border-top: var(--rule-thin); border-bottom: var(--rule-thin);
}
.eng-cat {
  padding: 32px 32px 36px 0;
  border-right: var(--rule-thin);
  display: flex; flex-direction: column; min-height: 240px;
}
.eng-cat:last-child { border-right: none; }

/* Layout: row 1 = three cats (4 cols each), row 2 = two cats (6 cols each) */
.eng-cat.c1 { grid-column: span 4; padding-left: 0; }
.eng-cat.c2 { grid-column: span 4; padding-left: 36px; }
.eng-cat.c3 { grid-column: span 4; padding-left: 36px; padding-right: 0; border-right: none; }
.eng-cat.c4 {
  grid-column: span 6; border-top: var(--rule-thin);
  padding: 32px 36px 36px 0;
  border-right: var(--rule-thin);
}
.eng-cat.c5 {
  grid-column: span 6; border-top: var(--rule-thin);
  padding: 32px 0 36px 36px;
  border-right: none;
}

@media (max-width: 880px) {
  .engagements { grid-template-columns: 1fr; }
  .eng-cat,
  .eng-cat.c1, .eng-cat.c2, .eng-cat.c3, .eng-cat.c4, .eng-cat.c5 {
    grid-column: span 1; padding: 32px 0; border-right: none;
    border-top: var(--rule-thin); min-height: 0;
  }
  .eng-cat.c1 { border-top: none; }
}

.eng-cat-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px;
  letter-spacing: 0.04em; color: var(--color-blue-mist); margin-bottom: 10px;
}
.eng-cat-name {
  font-family: var(--font-sans); font-weight: 500; font-size: 18px; line-height: 1.3;
  color: var(--color-steel); margin: 0 0 22px;
  border-bottom: 1px solid var(--color-rule-soft); padding-bottom: 16px;
}
.eng-list { display: flex; flex-direction: column; gap: 18px; list-style: none; padding: 0; margin: 0; }
.eng-item .eng-name {
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; line-height: 1.4;
  color: var(--color-steel); margin: 0 0 4px;
}
.eng-item .eng-ctx {
  font-size: 13px; line-height: 1.55; color: var(--color-steel-soft); margin: 0;
}

/* ============================================================
   SECTION 3 — WHAT ATTENDEES TAKE WITH THEM
   ============================================================ */
.takeaways { display: flex; flex-direction: column; gap: 0; }
.take {
  display: grid; grid-template-columns: 64px 1fr; gap: 32px;
  padding: 28px 0;
  border-top: var(--rule-thin);
  align-items: baseline;
}
.take:last-child { border-bottom: var(--rule-thin); }
.take-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px;
  color: var(--color-blue-mist); letter-spacing: 0.04em;
}
.take p {
  margin: 0; font-size: 16px; line-height: 1.65; color: var(--color-steel);
  max-width: 760px;
}
.take p b { color: var(--color-steel-deep); font-weight: 600; }

/* ============================================================
   SECTION 4 — SPEAKING TOPICS
   ============================================================ */
.topics { display: flex; flex-direction: column; }
.topic {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: var(--rule-thin);
}
.topic:last-child { border-bottom: var(--rule-thin); }
.topic-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px;
  color: var(--color-blue-mist); letter-spacing: 0.04em; padding-top: 8px;
}
.topic-title {
  font-family: var(--font-sans); font-weight: 500; font-size: 24px; line-height: 1.25;
  color: var(--color-steel); margin: 0 0 14px; letter-spacing: -0.005em;
  max-width: 720px;
}
.topic-desc {
  font-size: 16px; line-height: 1.65; color: var(--color-steel); margin: 0 0 22px;
  max-width: 720px;
}
.topic-tags {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: var(--color-steel-soft);
}
.topic-tags .label { color: var(--color-blue-mist); margin-right: 14px; }
.topic-tags .sep { color: var(--color-blue-mist); margin: 0 8px; }

@media (max-width: 700px) {
  .topic { grid-template-columns: 1fr; gap: 12px; }
  .topic-num { padding-top: 0; }
}

/* ============================================================
   SECTION 5 — FORMATS & AVAILABILITY
   ============================================================ */
.formats p {
  font-size: 18px; line-height: 1.7; color: var(--color-steel); margin: 0;
  max-width: 760px;
}

/* ============================================================
   SECTION 6 — PAST ORGANIZERS (intentionally quiet)
   ============================================================ */
.organizers { padding: 56px 0; }
.organizers .sec-eyebrow { margin-bottom: 14px; }
.organizers .organizers-line {
  font-size: 14px; line-height: 1.7; color: var(--color-steel-soft);
  max-width: 820px; margin: 0;
  font-style: italic;
}
.organizers .organizers-line b { color: var(--color-steel); font-weight: 500; font-style: normal; }

/* ============================================================
   SECTION 7 — INQUIRY FORM
   ============================================================ */
.inquiry { background: var(--color-paper-deep); margin: 0 -64px; padding: 96px 64px; }
@media (max-width: 800px) { .inquiry { margin: 0 -24px; padding: 64px 24px; } }
.inquiry-inner { max-width: 972px; margin: 0 auto; padding: 0; }

.inquiry .sec-h { max-width: 720px; }
.inquiry .sec-intro { margin-bottom: 56px; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  max-width: 820px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: span 2; }
@media (max-width: 700px) {
  .form { grid-template-columns: 1fr; }
  .field.full { grid-column: span 1; }
  .field.half-row { grid-column: span 1; }
}
.field label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--color-steel-soft);
}
.field label .req { color: var(--color-steel-soft); margin-left: 2px; font-weight: 500; }
.field label .opt {
  text-transform: none; letter-spacing: 0.02em; color: var(--color-blue-mist);
  margin-left: 6px; font-weight: 400; font-size: 11px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.5; color: var(--color-steel);
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  padding: 12px 14px; border-radius: 4px;
  outline: none; transition: border-color 120ms ease, box-shadow 120ms ease;
  width: 100%;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--color-blue-mist); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-steel); box-shadow: 0 0 0 3px rgba(73,91,115,0.10);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23495B73' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field .help { font-size: 12px; color: var(--color-steel-soft); line-height: 1.5; }
.field .err {
  font-size: 12px; color: var(--color-steel-deep); line-height: 1.5;
  display: none;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--color-steel-deep);
  background: var(--color-paper);
}
.field.invalid .err { display: block; }
.charcount {
  font-size: 11px; color: var(--color-steel-soft); align-self: flex-end;
  font-variant-numeric: tabular-nums;
}
.charcount.over { color: var(--color-steel-deep); }

.form-actions {
  grid-column: span 2;
  display: flex; align-items: center; justify-content: flex-start; gap: 24px;
  margin-top: 16px;
}
@media (max-width: 700px) { .form-actions { grid-column: span 1; } }

.submit-btn {
  background: var(--color-pink); color: var(--color-paper);
  font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  border: none; padding: 15px 32px; border-radius: 2px;
  cursor: pointer; transition: background 120ms ease;
  text-transform: none;
}
.submit-btn:hover { background: var(--color-pink-deep); }
.submit-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(217,37,136,0.25); }
.submit-btn:disabled {
  background: var(--color-blue-mist); cursor: not-allowed;
  box-shadow: none;
}
.form-meta { font-size: 12px; color: var(--color-steel-soft); }

/* Submit-error block — appears below the form actions when Formspree fails. */
.submit-error {
  display: none;
  grid-column: span 2;
  margin-top: 4px;
  padding: 14px 18px;
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  border-left: 3px solid var(--color-steel-deep);
  border-radius: 4px;
  font-size: 14px; line-height: 1.55;
  color: var(--color-steel);
  max-width: 640px;
}
.submit-error.shown { display: block; }
@media (max-width: 700px) { .submit-error { grid-column: span 1; } }

/* Confirmation state */
.confirmation {
  display: none;
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  border-left: 3px solid var(--color-steel);
  padding: 28px 32px;
  max-width: 640px;
  border-radius: 4px;
}
.confirmation .conf-title {
  font-family: var(--font-sans); font-weight: 500; font-size: 18px;
  color: var(--color-steel); margin: 0 0 8px;
}
.confirmation .conf-body {
  font-size: 15px; line-height: 1.6; color: var(--color-steel-soft); margin: 0;
}
.form.submitted { display: none; }
.confirmation.shown { display: block; }

/* ============================================================
   SECTION 8 — FAQ (editorial, not accordion)
   ============================================================ */
.faq { display: flex; flex-direction: column; }
.faq-item {
  padding: 36px 0;
  border-top: var(--rule-thin);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
}
.faq-item:last-child { border-bottom: var(--rule-thin); }
.faq-q {
  font-family: var(--font-sans); font-weight: 500; font-size: 22px; line-height: 1.3;
  color: var(--color-steel); margin: 0; letter-spacing: -0.005em;
}
.faq-a {
  font-size: 16px; line-height: 1.7; color: var(--color-steel); margin: 0;
}
@media (max-width: 800px) {
  .faq-item { grid-template-columns: 1fr; gap: 16px; }
  .faq-q { font-size: 20px; }
}

/* ============================================================
   SECTION 9 — FOOTER (minimal)
   ============================================================ */
.footer {
  padding: 48px 0 56px;
  border-bottom: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.footer .foot-left {
  display: flex; flex-direction: column; gap: 6px;
}
.footer .foot-email {
  font-size: 15px; color: var(--color-steel); text-decoration: none;
  border-bottom: 1px solid var(--color-steel-soft); padding-bottom: 2px;
  align-self: flex-start;
}
.footer .foot-email:hover { color: var(--color-steel-deep); border-bottom-color: var(--color-steel-deep); }
.footer .foot-copy {
  font-size: 12px; color: var(--color-steel-soft); letter-spacing: 0.02em;
}
.footer .foot-linkedin {
  width: 36px; height: 36px;
  border: 1px solid var(--color-rule); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-steel-soft); text-decoration: none;
  transition: color 120ms ease, border-color 120ms ease;
}
.footer .foot-linkedin:hover { color: var(--color-steel); border-color: var(--color-steel-soft); }
.footer .foot-linkedin svg { width: 18px; height: 18px; display: block; }