/* =========================================================================
   Version B — single-page identity-first speaker site
   Extends tokens.css. No m-dashes anywhere in copy.
   ========================================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-2);
  color: var(--fg-1);
  font-family: var(--font-body);
  min-height: 100vh;
  /* Subtle paper-warmth pattern: dot grid at very low opacity */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(25,25,25,0.05) 1px, transparent 0);
  background-size: 32px 32px;
}
img { max-width: 100%; display: block; }
a { color: var(--fg-link); }

/* ===== HEADER ===========================================================
   Logo + wordmark only. No top menu. Sticks at top.
   ====================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg-1);
}
.site-header__mark {
  height: 36px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
}
.site-header__wm {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ostoic-black);
}
.site-header__contact {
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--fg-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-standard);
}
.site-header__contact:hover { color: var(--ostoic-red); }

/* ===== STAGE — the main canvas =========================================
   Two states governed by [data-state] on body:
     - "landing"  : photo centered with four words around it
     - "expanded" : photo shrinks to top-left, words become a wide menu strip,
                    chosen section content visible below
   ====================================================================== */
.stage {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

/* ----- LANDING STATE -------------------------------------------------- */
body[data-state="landing"] .stage__landing { display: grid; }
body[data-state="landing"] .stage__menu { display: none; }
body[data-state="landing"] .stage__panels { display: none; }

.stage__landing {
  min-height: calc(100vh - 90px);
  align-content: center;
  justify-items: center;
  padding: 48px 0 96px;
  gap: 28px;
  text-align: center;
}

/* The four-word ring: 2 words above the photo, 2 below.
   Words are large, link-styled, click to expand. */
.identity-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: clamp(28px, 6vw, 80px);
}
.identity-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 56px);
  letter-spacing: var(--tracking-tight);
  color: var(--ostoic-black);
  text-decoration: none;
  position: relative;
  padding: 4px 8px;
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
}
.identity-word::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -2px;
  height: 2px;
  background: var(--ostoic-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-standard);
}
.identity-word:hover {
  color: var(--ostoic-red);
}
.identity-word:hover::after { transform: scaleX(1); }
.identity-word:focus-visible {
  outline: 2px solid var(--ostoic-red);
  outline-offset: 4px;
}

.identity-word--accent {
  color: var(--ostoic-red);
}

/* The hero portrait: round-rect framed photo, soft shadow, large.
   Acts as the visual anchor for both landing AND as the click-to-go-home
   target in expanded state. */
.hero-photo {
  position: relative;
  width: clamp(320px, 44vw, 620px);
  aspect-ratio: 3 / 2;
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  transition: width var(--dur-slow) var(--ease-standard),
              aspect-ratio var(--dur-slow) var(--ease-standard);
  background: var(--ostoic-black);
  cursor: default;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  color: #fff;
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}
.hero-photo__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  margin-bottom: 4px;
}

.tagline-strip {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--fg-2);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.01em;
}

/* ----- EXPANDED STATE ------------------------------------------------- */
body[data-state="expanded"] .stage__landing { display: none; }
body[data-state="expanded"] .stage__menu { display: flex; }
body[data-state="expanded"] .stage__panels { display: block; }

/* Wide menu strip: shrunken photo on the left + four words inline.
   Designer: "twice wider than the regular menu". */
.stage__menu {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border-hairline);
  padding: 16px 0;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.menu-photo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: var(--r-2);
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-fast) var(--ease-standard);
}
.menu-photo:hover { transform: scale(1.05); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-words {
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  align-items: baseline;
}
.menu-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-2);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 2px 0;
  transition: color var(--dur-fast) var(--ease-standard);
}
.menu-word:hover { color: var(--ostoic-black); }
.menu-word[aria-current="true"] {
  color: var(--ostoic-red);
}
.menu-word[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--ostoic-red);
}

/* Section panels — only the active one is visible */
.panel {
  display: none;
  padding: 56px 0 96px;
}
.panel.is-active { display: block; }

.panel__head {
  max-width: 880px;
  margin: 0 auto 40px;
}
.panel__eyebrow {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ostoic-red);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.panel__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ostoic-red);
}
.panel__h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  margin: 0 0 20px;
}
.panel__lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0;
}

.years-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.years-strip__item {
  text-align: left;
}
.years-strip__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--ostoic-black);
}
.years-strip__label {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 8px;
}

/* Picture grid — Speaker uses this; brief metadata only */
.picture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.picture-card {
  display: block;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--ostoic-black);
  position: relative;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: #fff;
  border: 0;
}
.picture-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-standard);
}
.picture-card:hover img { transform: scale(1.04); }
.picture-card__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.picture-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
  color: #fff;
}

/* Body prose for non-Speaker panels */
.panel__body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-1);
}
.panel__body p { margin: 0 0 1.2em; }
.panel__body em.accent {
  font-style: normal;
  color: var(--ostoic-red);
  font-weight: 600;
}

.panel__cta {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 24px 28px;
  background: var(--ostoic-black);
  color: #fff;
  border-radius: var(--r-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.panel__cta-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}
.panel__cta a {
  color: var(--ostoic-yellow);
  font-family: var(--font-sub);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--ostoic-yellow);
  padding-bottom: 2px;
}
.panel__cta a:hover { color: #fff; border-color: #fff; }

/* ===== FOOTER =========================================================
   Quiet engage line + minimal contact. Visible in all states.
   ====================================================================== */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 32px;
  text-align: center;
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--fg-2);
  background: var(--neutral-paper);
}
.site-footer a {
  color: var(--ostoic-red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-footer a:hover { border-bottom-color: var(--ostoic-red); }
.site-footer__line {
  margin: 0 0 6px;
}

/* ===== RESPONSIVE ===================================================== */
@media (max-width: 720px) {
  .site-header__contact { display: none; }
  .stage__landing { padding: 24px 0 64px; gap: 20px; }
  .hero-photo { width: 78vw; }
  .menu-photo { width: 44px; height: 44px; }
  .menu-words { gap: 16px; }
  .panel { padding: 40px 0 64px; }
  .panel__cta { flex-direction: column; align-items: flex-start; }
}
