/* Ingenium Research — About (/about/) and Dr Anna Edwards' speaker page (/dr-anna-edwards/).
   The team card, profile panel, featured video and credentials are the design system's TeamCard, TeamDetail,
   FeaturedVideo and Credentials in components.css; this file holds the pages around them.
   Measurements follow the signed-off boards (desktop 1440, phone 390). */

/* ---------- Shared: night hero ---------- */
.ab-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--teal-deep); color: var(--on-dark); --accent: var(--link-on-dark); --focus-ring: var(--focus-ring-on-dark); }
.ab-hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 96px 0 112px; display: flex; flex-direction: column; gap: 24px; }
.ab-dots { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle, #8cc3d055 1.2px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(75% 85% at 70% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(75% 85% at 70% 45%, #000 30%, transparent 80%); pointer-events: none; }
.ab-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -80px; top: -140px; opacity: .35; border-radius: 999px; background: radial-gradient(circle, #f0b44dcc 0%, #d4880a55 30%, #d4880a00 70%); pointer-events: none; }
.ab-eyebrow { margin: 0; font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-pale); }
.ab-h1 { margin: 0; max-width: 880px; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 68px; letter-spacing: -0.035em; color: #ffffff; }
.ab-stand { margin: 0; max-width: 680px; font-size: 20px; line-height: 32px; color: var(--on-dark); }
.ab-crumb { margin: 0; font-size: 14px; line-height: 20px; color: var(--on-dark-muted); }
.ab-crumb a { color: var(--link-on-dark); text-decoration: none; border-radius: var(--radius-sm); }
.ab-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-crumb a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-dark); }
.hx-glass { background: var(--glass-night); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); border: 1px solid var(--glass-edge); border-radius: var(--radius-lg); }

/* Headings used in several bands */
.ab-headings { display: flex; flex-direction: column; gap: 12px; }
.ab-split { display: grid; grid-template-columns: 7fr 5fr; gap: 96px; align-items: end; }
.ab-lead, .ir-band p.ab-lead { margin: 0; font-size: 18px; line-height: 30px; color: var(--ink); max-width: none; }
.ab-link { display: inline-flex; gap: 8px; align-items: center; flex: none; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: var(--radius-sm); }
.ab-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ab-link:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
/* Buttons whose words may wrap in narrow windows grow rather than overflow */
.ab-btn-wrap { height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; line-height: 22px; text-align: left; }

/* ---------- About: our approach (morning) ---------- */
.ab-approach { padding-top: 96px; padding-bottom: 96px; }
.ab-approach .ir-band-inner { display: flex; flex-direction: column; gap: 48px; }
.ab-ea { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
.ab-ea-col { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; display: flex; flex-direction: column; gap: 16px; }
.ab-ea-col h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 38px; letter-spacing: -0.02em; color: var(--ink-heading); }
.ab-ea-col p { margin: 0; font-size: 16px; line-height: 26px; }
.ab-ea-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ab-ea-col li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 24px; }
.ab-ea-col li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 999px; background: var(--teal-light); }
.ab-ea-plus { display: flex; align-items: center; justify-content: center; }
.ab-ea-plus span { width: 48px; height: 48px; border-radius: 999px; background: var(--teal-deep); color: var(--amber-light); display: flex; align-items: center; justify-content: center; font: 700 28px/1 var(--font-display); }

/* ---------- About: team (white) ---------- */
.ab-team { background: var(--surface); padding: 96px 24px; }
.ab-wrap { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.ab-page .ir-teamcard { cursor: pointer; scroll-margin-top: 24px; }
.ab-page .ir-teamcard .ir-portrait { width: 100%; }
.ab-page .ir-teamcard-open { margin-top: -4px; }
.ab-page .ir-teamdetail[hidden] { display: none; }
.ab-page .ir-teamdetail { scroll-margin: 24px; }
.ab-page .ir-teamdetail .ir-td-k { color: var(--on-dark); }
.ab-page .ir-td-actions .ir-btn-primary:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-dark); }
.ab-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 40px/1 var(--font-display); color: var(--teal-pale); }
.ab-assoc { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-alt); }
.ab-assoc p { margin: 0; max-width: 760px; font-size: 16px; line-height: 26px; }
.ab-assoc strong { color: var(--ink-heading); }

/* ---------- Shared: contact (dusk) ---------- */
.ab-contact { padding-top: 96px; padding-bottom: 88px; }
.ab-contactrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.ab-contact-text { display: flex; flex-direction: column; gap: 20px; }
.ab-contact-h2, .ir-band .ab-contact-h2 { margin: 0; max-width: 720px; font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 60px; letter-spacing: -0.035em; color: #ffffff; }
.ab-contact-actions { display: flex; gap: 16px; flex-wrap: wrap; flex: none; }

/* ---------- Speaker page: hero ---------- */
.sp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.sp-hero-text { position: relative; isolation: isolate; padding: 72px 64px 72px max(120px, calc(50vw - 600px)); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.sp-hero-text .ab-dots { z-index: -1; }
.ab-h1.sp-h1 { font-size: 72px; line-height: 76px; }
.sp-photo { position: relative; overflow: hidden; min-height: 560px; }
/* The whole photo at the hero's height (head and shoulders), centred in the right half, both sides fading into the night,
   rather than cropped to fill the half: on wide screens a fill zooms right in to the face. */
.sp-photo-frame { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%); mask-composite: intersect; }
.sp-photo-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; filter: grayscale(.85) contrast(1.1); }
.sp-photo-tone { position: absolute; inset: 0; background: var(--teal); mix-blend-mode: color; opacity: .45; pointer-events: none; }
.sp-glass { position: absolute; right: 48px; bottom: 48px; width: 360px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sp-glass p { margin: 0; font-size: 15px; line-height: 24px; color: var(--on-dark); }
.sp-glass .sp-glass-k { font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-light); }
.sp-pdf { color: var(--link-on-dark); font-size: 14px; line-height: 20px; font-weight: 600; border-radius: var(--radius-sm); }
.sp-pdf:hover { color: #ffffff; }
.sp-glass a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-dark); }

/* As featured in (sunrise) */
.sp-featured { padding-top: 56px; padding-bottom: 64px; }
.sp-featured .ir-band-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.sp-outlets { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.sp-outlets img { display: block; width: 56px; height: 56px; object-fit: contain; }

/* Talks (morning) */
.sp-talks-band { padding-top: 96px; padding-bottom: 96px; }
.sp-talks-band .ir-band-inner { display: flex; flex-direction: column; gap: 40px; }
.sp-talks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sp-talk { padding: 28px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sp-talk h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink-heading); }
.sp-talk p, .ir-band .sp-talk p { margin: 0; font-size: 15px; line-height: 24px; }

/* Book (evening) */
.sp-book-band { padding-top: 88px; padding-bottom: 88px; }
.sp-book { display: grid; grid-template-columns: 200px 1fr auto; gap: 48px; align-items: center; }
.sp-cover { display: block; width: 200px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px #0000004d, 0 24px 48px -12px #00000080; }
.sp-book-text { display: flex; flex-direction: column; gap: 14px; }
.sp-book-band .hs-eyebrow { color: var(--on-dark); }
.sp-book-title, .ir-band .sp-book-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 48px; letter-spacing: -0.03em; color: #ffffff; }
.sp-book-pitch, .ir-band p.sp-book-pitch { margin: 0; font-size: 18px; line-height: 30px; color: var(--on-dark); }
.sp-book-note, .ir-band p.sp-book-note { margin: 0; font-size: 15px; line-height: 22px; color: var(--on-dark-muted); }

/* Featured video and biography (day) */
.sp-day { padding-top: 96px; padding-bottom: 96px; }
.sp-day-inner { display: flex; flex-direction: column; gap: 72px; }
.sp-video .ir-video-frame { cursor: pointer; }
.sp-video .ir-video-frame img { max-width: none; }
.sp-video .ir-video-frame.is-playing::after { display: none; }
.sp-video .ir-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-video .ir-video-summary, .ir-band .sp-video .ir-video-summary { max-width: none; }
.sp-bio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; align-items: start; }
.sp-bio-k, .ir-band h2.sp-bio-k { margin: 0 0 12px; font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sp-bio p, .ir-band .sp-bio p { margin: 0 0 16px; font-size: 18px; line-height: 30px; max-width: var(--measure); }
.sp-side { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sp-side h3 { margin: 0; font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sp-side ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sp-side li { font-size: 15px; line-height: 22px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-heading); }
.sp-side li:first-child { padding-top: 0; border-top: 0; }
.sp-side li span { display: block; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.sp-ids { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.sp-ids a { font-size: 13px; line-height: 20px; font-weight: 600; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--accent); }
.sp-ids a:hover { background: var(--teal-mist); }
.sp-ids a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }

/* ---------- Tablet ---------- */
@media (min-width: 761px) and (max-width: 1240px) {
	.ab-hero-inner { margin: 0 48px; max-width: none; }
	.ab-team { padding-left: 48px; padding-right: 48px; }
	.sp-hero-text { padding-left: 48px; padding-right: 40px; }
	.sp-glass { right: 32px; bottom: 32px; width: min(360px, calc(100% - 64px)); }
}
@media (max-width: 1080px) {
	.ir-team { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
	.ab-split { grid-template-columns: 1fr; gap: 24px; }
	.ab-contactrow { flex-direction: column; align-items: flex-start; gap: 28px; }
	.sp-book { grid-template-columns: 160px 1fr; }
	.sp-book > .ir-btn { grid-column: 2; justify-self: start; }
	.sp-cover { width: 160px; }
	.sp-talks { grid-template-columns: 1fr; gap: 16px; }
	.sp-bio { grid-template-columns: 1fr; gap: 40px; }
	.ab-h1.sp-h1 { font-size: 56px; line-height: 60px; }
}
@media (max-width: 960px) {
	.sp-hero-grid { grid-template-columns: 1fr; min-height: 0; }
	.sp-hero-text { padding: 48px 48px 40px; }
	.sp-photo { min-height: 0; display: flex; flex-direction: column; overflow: visible; }
	.sp-photo-frame { position: relative; top: auto; bottom: auto; left: auto; transform: none; align-self: center; height: 520px; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%); mask-composite: intersect; }
	.sp-glass { position: relative; right: auto; bottom: auto; width: auto; margin: -56px 48px 48px; z-index: 1; }
}

/* ---------- Phone (board: 390px) ---------- */
@media (max-width: 760px) {
	.ab-hero-inner { padding: 48px 24px 64px; }
	.ab-h1, .ab-h1.sp-h1 { font-size: 40px; line-height: 44px; }
	.ab-stand { font-size: 18px; line-height: 28px; }
	.ab-approach { padding-top: 64px; padding-bottom: 64px; }
	.ab-ea { grid-template-columns: 1fr; }
	.ab-ea-col { padding: 24px; }
	.ab-ea-col h3 { font-size: 26px; line-height: 32px; }
	.ab-ea-plus { height: 56px; }
	.ab-team { padding: 64px 24px; }
	.ab-wrap { gap: 32px; }
	.ir-team { grid-template-columns: 1fr; row-gap: 12px; }
	.ab-page .ir-teamcard-open { margin-top: 0; align-self: start; }
	.ab-initials { font-size: 28px; }
	.ab-assoc { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
	.ab-contact { padding-top: 64px; padding-bottom: 72px; }
	.ab-contact-h2, .ir-band .ab-contact-h2 { font-size: 38px; line-height: 42px; }
	.ab-contact-actions { flex-direction: column; align-items: stretch; width: 100%; }

	.sp-hero-text { padding: 40px 24px 32px; }
	.sp-photo-frame { height: 420px; }
	.sp-glass { margin: -48px 16px 0; padding: 24px; }
	.sp-hero { padding-bottom: 40px; }
	.sp-featured { padding-top: 32px; padding-bottom: 40px; }
	.sp-outlets { gap: 20px 28px; }
	.sp-outlets img { width: 48px; height: 48px; }
	.sp-talks-band, .sp-day { padding-top: 64px; padding-bottom: 64px; }
	.sp-talk { padding: 22px; }
	.sp-book-band { padding-top: 64px; padding-bottom: 64px; }
	.sp-book { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
	.sp-book > .ir-btn { grid-column: auto; }
	.sp-cover { width: 150px; }
	.sp-book-title, .ir-band .sp-book-title { font-size: 32px; line-height: 36px; }
	.sp-day-inner { gap: 48px; }
	.sp-bio { gap: 32px; }
	.sp-bio p, .ir-band .sp-bio p { font-size: 16px; line-height: 26px; }
}
