/* =========================================================
   SHMIDDY  ·  bespoke styles on top of theme.json tokens
   Design tokens live in theme.json. This file holds layout
   devices that blocks alone cannot express.
   ========================================================= */

:root {
  --shm-hairline: #E2E2E2;
  --shm-hairline-dark: rgba(255,255,255,0.18);
  --shm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Inter's optical sizing + tabular figures where it matters */
body { font-optical-sizing: auto; font-feature-settings: "cv11", "ss01"; }

/* ---------- Accessibility ---------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--wp--preset--color--deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.shm-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--ivory);
  font: 500 0.875rem/1 var(--wp--preset--font-family--mono);
  text-decoration: none;
}
.shm-skip-link:focus { left: 1rem; top: 1rem; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Mono kicker: the signature label ---------- */
.shm-kicker {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--deep);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.shm-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.shm-kicker.is-centered { justify-content: center; }
.is-dark .shm-kicker { color: var(--wp--preset--color--gold-lt); }

/* ---------- Dark sections ---------- */
.is-dark {
  background: var(--wp--preset--color--deep);
  color: var(--wp--preset--color--ivory);
}
.is-dark :where(h1, h2, h3, h4, h5, h6) { color: var(--wp--preset--color--ivory); }
.is-dark p { color: rgba(255, 255, 255, 0.82); }
.is-dark a { color: var(--wp--preset--color--ivory); }
.is-dark hr,
.is-dark .wp-block-separator { border-color: var(--shm-hairline-dark); color: var(--shm-hairline-dark); }

/* ---------- Display type refinements ---------- */
.shm-display {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.shm-display em { font-style: italic; }
/* The gold accent on a single clause, used sparingly */
.shm-accent { color: var(--wp--preset--color--gold); }
.is-dark .shm-accent { color: var(--wp--preset--color--gold-lt); }

.shm-lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--wp--preset--color--slate);
  max-width: 46ch;
  text-wrap: pretty;
}
.is-dark .shm-lede { color: rgba(255, 255, 255, 0.80); }

/* =========================================================
   HEADER
   ========================================================= */
.shm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--shm-hairline);
}
.shm-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.shm-wordmark {
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  white-space: nowrap;
}
.shm-wordmark:hover { color: var(--wp--preset--color--deep); }
.shm-wordmark .dot { color: var(--wp--preset--color--gold); }

.shm-nav { display: flex; align-items: center; gap: 2rem; }
.shm-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--wp--preset--color--ink);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.shm-nav a:hover,
.shm-nav a[aria-current="page"] { border-bottom-color: var(--wp--preset--color--gold); }

.shm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--shm-ease), background-color 0.18s var(--shm-ease), color 0.18s var(--shm-ease), border-color 0.18s var(--shm-ease);
}
.shm-btn--primary {
  background: var(--wp--preset--color--deep);
  color: #fff;
}
.shm-btn--primary:hover { background: var(--wp--preset--color--deep-2); color: #fff; transform: translateY(-1px); }
.shm-btn--ink { background: var(--wp--preset--color--deep); color: #fff; }
.shm-btn--ink:hover { background: var(--wp--preset--color--deep-2); transform: translateY(-1px); }
.shm-btn--ghost {
  background: transparent;
  color: var(--wp--preset--color--ink);
  border-color: var(--shm-hairline);
}
.shm-btn--ghost:hover { border-color: var(--wp--preset--color--ink); transform: translateY(-1px); }
.is-dark .shm-btn--ghost { color: var(--wp--preset--color--ivory); border-color: var(--shm-hairline-dark); }
.is-dark .shm-btn--ghost:hover { border-color: var(--wp--preset--color--ivory); }
.shm-btn--sm { padding: 0.7rem 1.25rem; font-size: 0.875rem; }

/* On a navy section a navy button disappears. ULG solves this the same way:
   the primary CTA inverts to a white button with navy text. Without this the
   main booking button on every dark band is invisible. */
.is-dark .shm-btn--primary,
.is-dark .shm-btn--ink {
  background: #FFFFFF;
  color: var(--wp--preset--color--deep);
}
.is-dark .shm-btn--primary:hover,
.is-dark .shm-btn--ink:hover {
  background: var(--wp--preset--color--gold-lt);
  color: var(--wp--preset--color--deep-2);
}
.shm-footer .shm-btn--primary { background: #FFFFFF; color: var(--wp--preset--color--deep); }

/* Mobile nav */
.shm-burger {
  display: none;
  background: none;
  border: 0;
  /* 44x44 minimum touch target (WCAG 2.5.8). */
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -0.625rem;
  cursor: pointer;
  color: var(--wp--preset--color--ink);
  align-items: center;
  justify-content: center;
}
.shm-burger svg { display: block; margin: 0 auto; }
.shm-mobile-panel {
  display: none;
  border-top: 1px solid var(--shm-hairline);
  background: var(--wp--preset--color--paper);
  padding: 1.25rem clamp(1.25rem, 5vw, 3.5rem) 1.75rem;
}
.shm-mobile-panel.is-open { display: block; }
.shm-mobile-panel a {
  display: block;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.75rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--wp--preset--color--ink);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--shm-hairline);
}
.shm-mobile-panel .shm-btn { margin-top: 1.25rem; width: 100%; }

@media (max-width: 900px) {
  .shm-nav,
  .shm-header .shm-btn--desktop { display: none; }
  .shm-burger { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.shm-hero {
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem);
}
.shm-hero__grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.shm-hero h1 {
  font-size: clamp(2.875rem, 7.4vw, 5.75rem);
  margin: 0 0 1.5rem;
}
.shm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}
.shm-hero__meta {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--shm-hairline);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Portrait: offset navy block behind, gold hairline in front */
.shm-portrait {
  position: relative;
  isolation: isolate;
}
.shm-portrait__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--wp--preset--color--paper-2);
}
.shm-portrait__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.shm-portrait::after {
  content: "";
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 62%;
  height: 62%;
  background: var(--wp--preset--color--deep);
  border-radius: 2px;
  z-index: 0;
}
.shm-portrait__caption {
  position: absolute;
  z-index: 2;
  left: -0.75rem;
  bottom: 1.75rem;
  background: var(--wp--preset--color--surface);
  border-left: 3px solid var(--wp--preset--color--gold);
  padding: 0.625rem 0.9rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--slate);
  max-width: 15rem;
  line-height: 1.5;
  box-shadow: var(--wp--preset--shadow--soft);
}

@media (max-width: 980px) {
  .shm-hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .shm-portrait { max-width: 380px; }
  .shm-portrait__caption { left: 0; bottom: -0.5rem; }
  .shm-portrait::after { inset: auto -0.875rem -0.875rem auto; }
}

/* =========================================================
   IDENTITY MARQUEE
   ========================================================= */
.shm-marquee {
  background: var(--wp--preset--color--deep-2);
  color: var(--wp--preset--color--ivory);
  overflow: hidden;
  padding: 0.9rem 0;
  border-block: 1px solid rgba(243, 239, 232, 0.1);
}
.shm-marquee__track {
  display: flex;
  width: max-content;
  animation: shm-scroll 42s linear infinite;
}
.shm-marquee:hover .shm-marquee__track,
.shm-marquee:focus-within .shm-marquee__track { animation-play-state: paused; }
.shm-marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.shm-marquee span {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1.5rem;
  white-space: nowrap;
}
.shm-marquee span::after {
  content: "\00B7";
  margin-left: 1.5rem;
  color: var(--wp--preset--color--gold-lt);
}
.shm-marquee span:last-child::after { color: var(--wp--preset--color--gold-lt); }
@keyframes shm-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* =========================================================
   GRID CHILD RESET

   WordPress injects margin-block-start (the block gap) onto every
   child after the first inside a group. Inside a CSS grid that
   pushes items 2..n down and leaves item 1 sitting higher than the
   rest of its row, which misaligns every multi-column card row.
   These containers space themselves with `gap`, so the injected
   margins must go.
   ========================================================= */
.shm-options > *,
.shm-grid-2 > *,
.shm-grid-3 > *,
.shm-stats > *,
.shm-mediagrid > *,
.shm-split > *,
.shm-hero__grid > *,
.shm-booking > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* =========================================================
   SECTION SHELL
   ========================================================= */
/* Mist: the third background field, ULG's pale blue. Alternating
   ivory / mist / navy is what gives the page colour rhythm rather than
   one flat cream running top to bottom. */
.is-mist { background: var(--wp--preset--color--mist); }
.is-mist .shm-option { background: var(--wp--preset--color--mist); }
.is-mist .shm-option:hover { background: var(--wp--preset--color--paper-2); }
.is-mist .shm-chips li { background: #FFFFFF; border-color: rgba(20,48,79,0.16); }
.is-mist .shm-options { background: rgba(20,48,79,0.14); border-color: rgba(20,48,79,0.14); }
.is-mist .shm-item { border-top-color: rgba(20,48,79,0.16); }
.is-mist .shm-formats li { border-bottom-color: rgba(20,48,79,0.16); }

.shm-section { padding-block: clamp(3.5rem, 7.5vw, 6.5rem); }
/* Two light sections in a row share one boundary instead of stacking
   both paddings, which otherwise leaves a ~230px dead gap. Dark
   sections keep full padding so the colour change reads as a break. */
.shm-section:not(.is-dark) + .shm-section:not(.is-dark) { padding-block-start: 0; }
.shm-section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.shm-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}
.shm-wrap--narrow { max-width: 820px; }
.shm-section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.shm-section__head h2 { margin: 0 0 1.25rem; }

/* =========================================================
   SPEAKER REEL
   ========================================================= */
.shm-reel {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(91,104,120,0.28), rgba(21,27,36,0.9)),
    var(--wp--preset--color--deep-2);
  border: 1px solid var(--shm-hairline-dark);
  display: grid;
  place-items: center;
  text-align: center;
}
.shm-reel__inner { padding: 2rem; max-width: 34rem; }
.shm-reel__play {
  width: 76px; height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(243,239,232,0.4);
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
  color: var(--wp--preset--color--ivory);
}
.shm-reel__play svg { margin-left: 4px; }
.shm-reel__label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold-lt);
  margin: 0 0 0.75rem;
}
.shm-reel h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75rem; color: var(--wp--preset--color--ivory); }
.shm-reel p { font-size: 0.9375rem; color: rgba(255,255,255,0.76); margin: 0; }
/* When a real embed is added, wrap it in .shm-reel--live and it fills the frame */
.shm-reel--live { display: block; }
.shm-reel--live iframe,
.shm-reel--live video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* =========================================================
   THE FIVE OPTIONS  ·  numbered cards
   ========================================================= */
.shm-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--shm-hairline);
  border: 1px solid var(--shm-hairline);
  border-radius: 3px;
  overflow: hidden;
}
.shm-option {
  background: var(--wp--preset--color--surface);
  padding: 2rem 1.5rem 2.25rem;
  transition: background-color 0.25s var(--shm-ease);
}
.shm-option:hover { background: var(--wp--preset--color--paper-2); }
.shm-option__num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--wp--preset--color--deep);
  display: block;
  margin-bottom: 1.25rem;
}
.shm-option { border-top: 3px solid var(--wp--preset--color--gold); }
.shm-option h3 {
  font-size: 1.375rem;
  margin: 0 0 0.625rem;
  line-height: 1.15;
}
.shm-option p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wp--preset--color--slate);
  margin: 0;
}

/* =========================================================
   NUMBERED / BORDERED LISTS  (why, takeaways, differentiators)
   ========================================================= */
.shm-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem); }
.shm-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem); }

.shm-item { border-top: 2px solid var(--shm-hairline); padding-top: 1.5rem; }
.is-dark .shm-item { border-top-color: var(--shm-hairline-dark); }
.shm-item__num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--wp--preset--color--deep);
  display: block;
  margin-bottom: 0.875rem;
}
.is-dark .shm-item__num { color: var(--wp--preset--color--gold-lt); }
.shm-item h3 { font-size: 1.3125rem; margin: 0 0 0.625rem; line-height: 1.2; }
.shm-item p { font-size: 0.9375rem; line-height: 1.6; color: var(--wp--preset--color--slate); margin: 0; }
.is-dark .shm-item p { color: rgba(255,255,255,0.80); }

/* =========================================================
   CREDIBILITY BAR
   ========================================================= */
.shm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.shm-stat { border-left: 3px solid var(--wp--preset--color--gold); padding-left: 1.125rem; }
.shm-stat__value {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.shm-stat__label {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--wp--preset--color--slate);
  display: block;
}
.is-dark .shm-stat__label { color: rgba(255,255,255,0.78); }
.shm-award {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--shm-hairline);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 62ch;
}
.is-dark .shm-award { border-top-color: var(--shm-hairline-dark); }
.shm-award__mark { color: var(--wp--preset--color--gold); flex: none; margin-top: 2px; }
.shm-award p { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.shm-award cite {
  display: block;
  margin-top: 0.375rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--wp--preset--color--muted);
}

/* =========================================================
   PULL QUOTE / BRAND LINE
   ========================================================= */
.shm-brandline {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin: 0;
}

/* =========================================================
   STORY TEASER (image + text)
   ========================================================= */
.shm-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.shm-split--flip { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 900px) {
  .shm-split,
  .shm-split--flip { grid-template-columns: 1fr; gap: 2.5rem; }
}
.shm-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: var(--wp--preset--color--paper-2);
}
.shm-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   ASSET PLACEHOLDER  ·  designed, not broken
   ========================================================= */
.shm-ph {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(91,104,120,0.06) 0 10px, transparent 10px 20px),
    var(--wp--preset--color--paper-2);
  border: 1px dashed rgba(91, 104, 120, 0.42);
  border-radius: 3px;
  color: var(--wp--preset--color--slate);
  padding: 1.5rem;
  min-height: 140px;
}
.is-dark .shm-ph {
  background:
    repeating-linear-gradient(-45deg, rgba(243,239,232,0.05) 0 10px, transparent 10px 20px),
    rgba(243, 239, 232, 0.04);
  border-color: rgba(243, 239, 232, 0.28);
  color: rgba(243, 239, 232, 0.72);
}
.shm-ph__label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.6;
}
.shm-ph__note { font-size: 0.8125rem; margin: 0.5rem 0 0; opacity: 0.8; }
.shm-ph--16x9 { aspect-ratio: 16 / 9; }
.shm-ph--4x5 { aspect-ratio: 4 / 5; }
.shm-ph--3x2 { aspect-ratio: 3 / 2; }
.shm-ph--logo { aspect-ratio: 5 / 2; }

/* =========================================================
   AUDIENCE / EVENT TYPE CHIPS
   ========================================================= */
.shm-chips { display: flex; flex-wrap: wrap; gap: 0.625rem; list-style: none; margin: 0; padding: 0; }
.shm-chips li {
  font-size: 0.9375rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 2px;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--deep);
  transition: background-color 0.2s var(--shm-ease), border-color 0.2s var(--shm-ease);
}
.shm-chips li:hover {
  background: var(--wp--preset--color--deep);
  border-color: var(--wp--preset--color--deep);
  color: var(--wp--preset--color--ivory);
}
.is-dark .shm-chips li {
  border-color: var(--shm-hairline-dark);
  background: rgba(243, 239, 232, 0.04);
  color: rgba(243, 239, 232, 0.88);
}

/* Formats table */
.shm-formats { list-style: none; margin: 0; padding: 0; }
.shm-formats li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--shm-hairline);
}
.is-dark .shm-formats li { border-bottom-color: var(--shm-hairline-dark); }
.shm-formats strong { font-weight: 600; font-size: 1.0625rem; }
.shm-formats span {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--wp--preset--color--slate);
}
.is-dark .shm-formats span { color: rgba(255,255,255,0.76); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.shm-cta { text-align: center; }
.shm-cta h2 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); margin: 0 auto 1.5rem; max-width: 24ch; }
.shm-cta p { margin: 0 auto; max-width: 48ch; }
.shm-cta__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 2.5rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.shm-footer { background: var(--wp--preset--color--deep-2); color: var(--wp--preset--color--ivory); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.shm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243, 239, 232, 0.14);
}
@media (max-width: 820px) { .shm-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.shm-footer__brandline {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0.75rem 0 0;
  max-width: 22ch;
  color: var(--wp--preset--color--ivory);
}
.shm-footer h4 {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 239, 232, 0.55);
  margin: 0 0 1.125rem;
}
.shm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.shm-footer a { color: rgba(243, 239, 232, 0.88); text-decoration: none; font-size: 0.9375rem; }
.shm-footer a:hover { color: var(--wp--preset--color--gold-lt); }
.shm-footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 239, 232, 0.5);
}

/* =========================================================
   MOBILE STICKY BOOKING BAR
   ========================================================= */
.shm-stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--shm-hairline);
}
.shm-stickybar .shm-btn { width: 100%; }
@media (max-width: 900px) {
  .shm-stickybar { display: block; }
  body { padding-bottom: 4.75rem; }
}

/* =========================================================
   BOOKING FORM
   ========================================================= */
.shm-form { display: grid; gap: 1.25rem; }
.shm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 700px) { .shm-form__row { grid-template-columns: 1fr; } }
.shm-field { display: grid; gap: 0.4375rem; }
.shm-field label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--slate);
}
.shm-field .opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }
.shm-field input,
.shm-field select,
.shm-field textarea {
  width: 100%;
  font-family: var(--wp--preset--font-family--body);
  font-size: 1rem;
  color: var(--wp--preset--color--ink);
  background: #fff;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 2px;
  padding: 0.8125rem 0.9375rem;
  transition: border-color 0.18s var(--shm-ease), box-shadow 0.18s var(--shm-ease);
}
.shm-field textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.shm-field input:focus,
.shm-field select:focus,
.shm-field textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--deep);
  box-shadow: 0 0 0 3px rgba(20, 48, 79, 0.15);
}
.shm-field input[aria-invalid="true"],
.shm-field textarea[aria-invalid="true"],
.shm-field select[aria-invalid="true"] { border-color: #B3261E; }
.shm-field__error { font-size: 0.8125rem; color: #B3261E; min-height: 1.2em; }
/* honeypot: hidden from humans, present for bots */
.shm-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.shm-form__status { border-radius: 3px; padding: 1rem 1.125rem; font-size: 0.9375rem; line-height: 1.55; }
.shm-form__status[data-state="success"] { background: #ECF4EC; border: 1px solid #BBD6BB; color: #1E4620; }
.shm-form__status[data-state="error"] { background: #FBECEB; border: 1px solid #E4B9B6; color: #7A1C16; }
.shm-form__status[hidden] { display: none; }
.shm-form__consent { font-size: 0.8125rem; color: var(--wp--preset--color--muted); line-height: 1.55; margin: 0; }

.shm-success {
  border: 1px solid var(--wp--preset--color--line);
  border-left: 3px solid var(--wp--preset--color--gold);
  border-radius: 3px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--wp--preset--color--surface);
}
.shm-success h3 { margin: 0 0 0.75rem; font-size: 1.75rem; }
.shm-success p { margin: 0; color: var(--wp--preset--color--slate); }

/* Booking page layout */
.shm-booking { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 980px) { .shm-booking { grid-template-columns: 1fr; } }
.shm-aside {
  border: 1px solid var(--wp--preset--color--line);
  border-top: 3px solid var(--wp--preset--color--gold);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--wp--preset--color--surface);
}
.shm-aside h3 { font-size: 1.375rem; margin: 0 0 1rem; }
.shm-aside dl { margin: 0; display: grid; gap: 1.125rem; }
.shm-aside dt {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--muted);
  margin-bottom: 0.25rem;
}
.shm-aside dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

/* =========================================================
   PROSE (About page narrative, legal pages)
   ========================================================= */
.shm-prose { max-width: 68ch; }
.shm-prose h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: clamp(2.75rem, 5vw, 3.75rem) 0 1.125rem;
}
.shm-prose h3 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.shm-prose p { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.7; margin: 0 0 1.375rem; text-wrap: pretty; }
.shm-prose p:first-of-type { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.55; color: var(--wp--preset--color--slate); }
.shm-prose ul, .shm-prose ol { font-size: 1.0625rem; line-height: 1.7; padding-left: 1.25rem; margin: 0 0 1.375rem; }
.shm-prose li { margin-bottom: 0.5rem; }

/* Bio blocks for event programs */
.shm-bio { border: 1px solid var(--wp--preset--color--line); border-radius: 2px; margin-bottom: 1rem; background: var(--wp--preset--color--surface); }
.shm-bio summary {
  cursor: pointer;
  padding: 1.125rem 1.375rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.shm-bio summary::-webkit-details-marker { display: none; }
.shm-bio summary::after { content: "+"; font-size: 1.125rem; color: var(--wp--preset--color--gold); }
.shm-bio[open] summary::after { content: "\2212"; }
.shm-bio__body { padding: 0 1.375rem 1.5rem; }
.shm-bio__body p { font-size: 1rem; line-height: 1.65; margin: 0 0 1rem; }
.shm-bio__body p:last-child { margin-bottom: 0; }

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.shm-pagehead { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.shm-pagehead h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); margin: 0 0 1.5rem; max-width: 22ch; }
.shm-pagehead .shm-lede { max-width: 54ch; }

/* =========================================================
   MEDIA PAGE
   ========================================================= */
/* Every card image gets the SAME ratio. Mixing a 4:5 portrait with 3:2
   landscapes in one auto-fit row left the tall card towering over the short
   ones and tore a hole in the grid. Uniform 4:3 makes it read as a set. */
.shm-mediagrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.shm-mediagrid .shm-figure,
.shm-mediagrid .shm-figure--3x2 { aspect-ratio: 4 / 3; }
/* Keep his face in frame when the portrait headshot is cropped to landscape. */
.shm-mediagrid .shm-figure img { object-position: center 22%; }
.shm-mediacard { display: flex; flex-direction: column; }
.shm-mediacard__body { flex: 1; }
.shm-mediacard { border: 1px solid var(--wp--preset--color--line); border-radius: 2px; overflow: hidden; background: var(--wp--preset--color--surface); }
.shm-mediacard__body { padding: 1.25rem 1.375rem 1.5rem; }
.shm-mediacard h3 { font-size: 1.1875rem; margin: 0 0 0.5rem; }
.shm-mediacard p { font-size: 0.9375rem; color: var(--wp--preset--color--slate); margin: 0; line-height: 1.55; }

/* Download list */
.shm-downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.shm-downloads a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--shm-hairline);
  border-radius: 3px;
  text-decoration: none;
  font-size: 1rem;
  background: var(--wp--preset--color--surface);
}
.shm-downloads a:hover { border-color: var(--wp--preset--color--ink); }
.shm-downloads .meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--muted);
}

/* =========================================================
   SCROLL REVEAL  ·  fail-safe by design

   Content is VISIBLE by default. The hidden state only applies once
   JS has explicitly armed the animation by adding .shm-anim to <html>,
   and shmiddy.js also runs a watchdog that reveals anything still
   hidden. A reveal animation must never be able to permanently hide
   copy, which is exactly what an unfired IntersectionObserver would do.
   ========================================================= */
html.shm-anim .shm-reveal {
  opacity: 0;
  transform: translateY(14px);
}
html.shm-anim .shm-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--shm-ease), transform 0.7s var(--shm-ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .shm-marquee__track { animation: none; transform: none; }
  html.shm-anim .shm-reveal,
  html.shm-anim .shm-reveal.is-in { opacity: 1; transform: none; }
}

/* Print: an event planner printing the one-pager */
@media print {
  .shm-header, .shm-stickybar, .shm-footer, .shm-marquee, .shm-reel { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .shm-section { padding-block: 1.5rem; }
}


/* =========================================================
   WRITING NOTE  ·  the Forbes council framing line
   ========================================================= */
.shm-writing-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--wp--preset--color--slate);
  border-left: 2px solid var(--wp--preset--color--deep);
  padding-left: 0.875rem;
  margin: 0 0 1.5rem;
  max-width: 56ch;
}
.is-dark .shm-writing-note { color: rgba(255,255,255,0.78); border-left-color: var(--wp--preset--color--gold-lt); }
.shm-downloads .shm-dl__main { display: block; }
.shm-downloads .shm-dl__main .meta { display: block; margin-top: 0.25rem; color: var(--wp--preset--color--deep); }
.shm-downloads a { align-items: flex-start; }
.shm-downloads a:hover { border-color: var(--wp--preset--color--deep); background: var(--wp--preset--color--mist); }
.shm-dl__date { white-space: nowrap; flex: none; padding-top: 0.15rem; }


/* =========================================================
   FULL-BLEED IMAGE BAND
   For the one genuinely high-resolution stage photograph.
   Edge to edge, fixed height, so it works at any viewport.
   ========================================================= */
.shm-band {
  position: relative;
  width: 100%;
  height: clamp(300px, 46vw, 620px);
  overflow: hidden;
  background: var(--wp--preset--color--deep-2);
}
.shm-band img,
.shm-band figure { width: 100%; height: 100%; margin: 0; }
.shm-band img { object-fit: cover; object-position: center 32%; display: block; }
/* A navy wash keeps the caption readable and ties the photo to the palette. */
.shm-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,33,56,0) 45%, rgba(13,33,56,0.82) 100%);
  pointer-events: none;
}
.shm-band__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: 1240px;
  margin: 0 auto;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

/* Landscape frames. The stage photography is 3:2, not 4:5. */
.shm-figure--3x2 { aspect-ratio: 3 / 2; }
.shm-mediacard .shm-figure--3x2 { aspect-ratio: 3 / 2; }


/* =========================================================
   AWARD PHOTOGRAPH  ·  the physical OnCon trophy
   Deliberately modest. An event planner is buying a speaker,
   not a trophy, so it supports the claim rather than leading.
   ========================================================= */
.shm-awardshot {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--wp--preset--color--line);
  max-width: 780px;
}
.shm-awardshot figure { margin: 0; }
.shm-awardshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  background: var(--wp--preset--color--deep-2);
}
.shm-awardshot p:last-child {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--wp--preset--color--slate);
}
.shm-awardshot .shm-kicker { margin-bottom: 0.625rem; }
@media (max-width: 600px) {
  .shm-awardshot { grid-template-columns: 1fr; }
  .shm-awardshot figure { max-width: 200px; }
}

/* Forbes council member badge. Sized down so it reads as a credential,
   not as a claim that Forbes endorses him. */
.shm-badge {
  display: block;
  width: 132px;
  height: auto;
  border-radius: 2px;
  /* Needs real clearance: it sat flush against the heading above it. */
  margin: 1.5rem 0 1.75rem;
}


/* =========================================================
   CREDENTIALS STRIP
   Sits high on the homepage. Four checkable facts, scannable
   in about two seconds, which is all an event planner gives it.
   ========================================================= */
.shm-creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.shm-creds > * { margin-block-start: 0; margin-block-end: 0; }
.shm-creds li {
  border-top: 3px solid var(--wp--preset--color--gold);
  padding-top: 1rem;
}
.shm-creds strong {
  display: block;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  font-size: clamp(1.1875rem, 1.8vw, 1.4375rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin-bottom: 0.4375rem;
}
.shm-creds span {
  display: block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--slate);
  line-height: 1.5;
}

/* =========================================================
   PHOTO TRIO  ·  visual proof just before the booking ask
   ========================================================= */
.shm-phototrio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.shm-phototrio > * { margin-block-start: 0; margin-block-end: 0; }
.shm-phototrio figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--deep-2); }
.shm-phototrio img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .shm-phototrio { grid-template-columns: 1fr 1fr; }
  .shm-phototrio figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}


/* =========================================================
   HERO PAIR  ·  speaker shot plus the room he is speaking to
   Both frames come from the same event, overlapped so they read
   as one moment seen twice rather than two unrelated pictures.
   ========================================================= */
.shm-heropair { position: relative; isolation: isolate; }
.shm-heropair > * { margin-block-start: 0; margin-block-end: 0; }

.shm-heropair__main {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  background: var(--wp--preset--color--deep-2);
}
.shm-heropair__main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.shm-heropair__crowd {
  position: relative;
  z-index: 2;
  width: 68%;
  margin: -18% 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  border: 6px solid var(--wp--preset--color--paper);
  box-shadow: var(--wp--preset--shadow--lift);
  background: var(--wp--preset--color--deep-2);
}
.shm-heropair__crowd img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* No navy anchor block here. The overlapping crowd frame already supplies the
   depth, and the block sat underneath the caption, putting dark text on a dark
   field. Two devices doing the same job, one of them breaking legibility. */
.shm-heropair__caption {
  position: relative;
  z-index: 3;
  margin: 1.5rem 0 0;
  padding-left: 0.875rem;
  border-left: 3px solid var(--wp--preset--color--gold);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--slate);
  line-height: 1.6;
}
@media (max-width: 980px) {
  .shm-heropair { max-width: 520px; }
}
