/* =========================================================================
   EBD Dental v1.8
   Header, hero and the Step Inside video heading.
   ========================================================================= */
:root {
	--r8-navy: #172735;
	--r8-deep: #0f1c27;
	--r8-teal: #066483;
	--r8-teal-2: #3f8ea7;
	--r8-soft: #9cc8d6;
	--r8-silver: #c9d2d8;
	--r8-mist: #f3f6f7;
	--r8-line: #dde3e7;
	--r8-ease: cubic-bezier(.22, .8, .24, 1);
	--r8-gutter: clamp(1.25rem, 5vw, 6rem);
}
.r8-eyebrow { font-family: var(--wp--preset--font-family--button) !important; font-size: .8125rem !important; font-weight: 500; letter-spacing: .24em !important; text-transform: uppercase; color: var(--r8-teal); margin: 0 !important; }
.r8-eyebrow--light { color: var(--r8-soft) !important; }
.r8-metal { background: linear-gradient(100deg, #8e9aa3 0%, #f3f6f8 22%, #9ea9b1 40%, #e9eef1 60%, #7f8b94 82%, #dfe5e9 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }


/* ---------- 2. Hero: one confident line, cinematic grade ---------- */
.ebd-hero-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 70% 40%, transparent 40%, rgba(8, 16, 23, .55) 100%), linear-gradient(180deg, rgba(8, 16, 23, .35) 0%, transparent 22%, transparent 62%, rgba(8, 16, 23, .7) 100%); }
.ebd-hero-cover.has-slides > .wp-block-cover__inner-container { z-index: 3 !important; }
.ebd-hero-cover .r8-hero-eyebrow { max-width: none !important; white-space: nowrap; color: rgba(255, 255, 255, .78) !important; display: flex; align-items: center; gap: 14px; }
.ebd-hero-cover .r8-hero-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--r8-soft); }
.ebd-hero-cover h1.r8-hero-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400 !important; font-size: clamp(3.2rem, 6.4vw, 6.75rem) !important; line-height: .98 !important; letter-spacing: -.01em !important; max-width: 11.5ch !important; margin-top: 26px !important; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.ebd-hero-cover h1.r8-hero-title em { font-style: normal; display: block; background: linear-gradient(100deg, #ffffff 0%, #cfe6ee 45%, #9cc8d6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ebd-hero-cover p.r8-hero-lead { font-size: clamp(1.125rem, 1.45vw, 1.375rem) !important; line-height: 1.6 !important; max-width: 34rem !important; color: rgba(255, 255, 255, .9) !important; margin-top: 26px !important; }
.ebd-hero-cover .wp-block-buttons { gap: 14px; margin-top: 40px !important; }
.ebd-hero-cover .r8-hero-ghost .wp-block-button__link { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .5) !important; box-shadow: none !important; border-radius: 999px !important; padding: 0 34px !important; height: 100%; min-height: 54px; display: inline-flex; align-items: center; }
.ebd-hero-cover .r8-hero-ghost .wp-block-button__link::after, .ebd-hero-cover .r8-hero-ghost .wp-block-button__link::before { display: none !important; }
.ebd-hero-cover .r8-hero-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .12) !important; border-color: #fff !important; }
.ebd-hero-cover ul.ebd-ticker li { font-size: 1.0625rem; }
@media (max-width: 781px) {
	.ebd-hero-cover .r8-hero-eyebrow { white-space: normal; }
	.ebd-hero-cover h1.r8-hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem) !important; }
	.ebd-hero-cover .r8-hero-eyebrow { font-size: .6875rem !important; letter-spacing: .16em !important; }
	.ebd-hero-cover .r8-hero-eyebrow::before { width: 24px; }
}

/* ---------- 3. Step Inside: one bright frame that opens to full width ---------- */
.r8-inside { background: #fff; }
.r8-inside__head { text-align: center; max-width: 980px; margin-inline: auto !important; }
.r8-inside__head > * { margin-inline: auto !important; }
.r8-inside__h { margin: 22px auto 0 !important; font-size: clamp(2.8rem, 5.6vw, 5.75rem) !important; line-height: 1 !important; color: var(--r8-navy); }
.r8-inside__h em { font-style: normal; color: var(--r8-teal); display: block; }
.r8-inside__lead { margin-top: 26px !important; max-width: 38rem; font-size: 1.1875rem !important; line-height: 1.65 !important; color: var(--wp--preset--color--ink-soft); }
.r8-inside__media { --g: 0; padding: 0 !important; clip-path: inset(0 calc((1 - var(--g)) * 12%) round calc((1 - var(--g)) * 28px)); will-change: clip-path; }
.r8-inside__media .wp-block-cover__image-background { transform: scale(calc(1.14 - var(--g) * .14)); will-change: transform; filter: brightness(1.06) saturate(1.04); }
.r8-inside__media .wp-block-cover__inner-container { position: static !important; }
.ebd-video.r8-inside__media .ebd-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; z-index: 3; }
.ebd-video.r8-inside__media .ebd-play .wp-block-button__link { position: relative; width: auto; height: auto; border: 0 !important; background: none !important; display: flex; flex-direction: column; align-items: center; gap: 22px; font-family: var(--wp--preset--font-family--button); font-size: .875rem !important; letter-spacing: .24em; text-transform: uppercase; color: #fff !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); padding: 0 !important; }
.ebd-video.r8-inside__media .ebd-play .wp-block-button__link::before { content: ""; width: clamp(110px, 10vw, 150px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .55), 0 30px 60px -20px rgba(0, 0, 0, .45); animation: r8-ring 2.4s cubic-bezier(.2, .6, .3, 1) infinite; transition: transform .5s var(--r8-ease); }
.ebd-video.r8-inside__media .ebd-play .wp-block-button__link::after { position: absolute !important; left: 50%; top: calc(clamp(110px, 10vw, 150px) / 2); translate: -38% -50%; margin: 0 !important; border-width: 18px 0 18px 30px !important; border-color: transparent transparent transparent var(--r8-teal) !important; }
.ebd-video.r8-inside__media .ebd-play .wp-block-button__link:hover { transform: none; }
.ebd-video.r8-inside__media .ebd-play .wp-block-button__link:hover::before { transform: scale(1.08); }
@keyframes r8-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55), 0 30px 60px -20px rgba(0, 0, 0, .45); } 100% { box-shadow: 0 0 0 34px rgba(255, 255, 255, 0), 0 30px 60px -20px rgba(0, 0, 0, .45); } }
@media (max-width: 781px) {
	.r8-inside__media { min-height: 68vh !important; padding: 0 !important; clip-path: none; }
	.r8-inside__media .wp-block-cover__image-background { transform: none; }
	.ebd-video.r8-inside__media .ebd-play { top: 50%; }
}
@media (prefers-reduced-motion: reduce) { .r8-inside__media { clip-path: none; } .r8-inside__media .wp-block-cover__image-background { transform: none; } .ebd-video.r8-inside__media .ebd-play .wp-block-button__link::before { animation: none; } }


/* ---------- 4. Patient video stories + smile gallery link ---------- */
.ebd-vstories { background: var(--r8-mist); padding: clamp(80px, 9vw, 130px) var(--r8-gutter) !important; }
.ebd-vstories__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; max-width: 1500px; margin: 0 auto clamp(36px, 4vw, 56px) !important; }
.ebd-vstories__head > .wp-block-group > * { margin: 0 !important; }
p.ebd-chip { display: inline-flex !important; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid currentColor; border-radius: 999px; }
p.ebd-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ebd-vstories .ebd-vstories__head h2 { font-size: clamp(2.6rem, 5vw, 4.4rem) !important; line-height: 1.04; margin-top: 24px !important; color: var(--r8-navy); }
.ebd-vstories h2 em { font-style: normal; color: var(--r8-teal); }
.ebd-vstories__btn { margin: 0 !important; }
.ebd-vstories__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1500px; margin: 0 auto !important; align-items: start; }
.ebd-vstories__row > * { margin: 0 !important; }
.ebd-vstory { position: relative; aspect-ratio: 9 / 14; min-height: 0 !important; border-radius: 24px; overflow: hidden; color: #fff; padding: 24px !important; box-shadow: 0 30px 60px -40px rgba(23, 39, 53, .55); }
.ebd-vstories__row > .ebd-vstory:nth-child(even) { transform: translateY(-24px); }
.ebd-vstory.wp-block-cover::after, .ebd-vstory--compare::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 39, 53, 0) 45%, rgba(23, 39, 53, .9)); pointer-events: none; z-index: 1; }
.ebd-vstory .wp-block-cover__image-background { transition: transform 1.2s var(--r8-ease); }
.ebd-vstory:hover .wp-block-cover__image-background { transform: scale(1.05); }
.ebd-vstory .wp-block-cover__inner-container { position: static !important; display: block !important; z-index: 2; width: 100%; }
.ebd-vstory__caption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; pointer-events: none; }
p.ebd-vstory__title { position: relative; z-index: 2; font-family: var(--wp--preset--font-family--heading) !important; font-size: clamp(1.1rem, 1.5vw, 1.375rem) !important; line-height: 1.3; color: #fff !important; margin: 0 0 10px !important; }
p.ebd-vstory__meta { position: relative; z-index: 2; font-size: .8125rem !important; color: rgba(255, 255, 255, .8) !important; margin: 0 !important; }
.ebd-vstory .ebd-play { position: absolute; left: 50%; top: 42%; translate: -50% -50%; margin: 0 !important; z-index: 3; }
.ebd-vstory .ebd-play .wp-block-button__link { font-size: 0 !important; width: 74px; height: 74px; padding: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .22) !important; border: 1px solid rgba(255, 255, 255, .55) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid !important; place-items: center; box-shadow: none !important; transition: transform .4s var(--r8-ease), background .3s; }
.ebd-vstory .ebd-play .wp-block-button__link::before { display: none !important; }
.ebd-vstory .ebd-play .wp-block-button__link::after { content: "" !important; position: static !important; display: block !important; width: 0; height: 0; margin: 0 0 0 5px !important; border-style: solid; border-width: 11px 0 11px 18px !important; border-color: transparent transparent transparent #fff !important; background: none !important; transform: none !important; }
.ebd-vstory:hover .ebd-play .wp-block-button__link { transform: scale(1.08); background: rgba(255, 255, 255, .34) !important; }
.ebd-vstory--compare { padding: 0 !important; }
.ebd-vstory--compare .ebd-compare { position: absolute !important; inset: 0; aspect-ratio: auto !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; }
.ebd-vstory--compare::after { z-index: 1; }
.ebd-vstory--compare .ebd-compare__range, .ebd-vstory--compare .ebd-compare__handle { z-index: 3; }
.ebd-vstory--compare .ebd-compare__label { top: 18px; bottom: auto; z-index: 3; }

.ebd-gallery-cta { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); max-width: 1500px; margin: clamp(40px, 5vw, 64px) auto 0 !important; padding: 22px 22px 22px 26px; background: #fff; border-radius: 999px; box-shadow: 0 24px 50px -36px rgba(23, 39, 53, .45); }
.ebd-gallery-cta > * { margin: 0 !important; }
.ebd-gallery-cta__thumbs { display: flex; flex-shrink: 0; }
.ebd-gallery-cta__thumbs figure { width: 64px; height: 64px; margin: 0 0 0 -16px !important; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(23, 39, 53, .18); transition: transform .4s var(--r8-ease); }
.ebd-gallery-cta__thumbs figure:first-child { margin-left: 0 !important; }
.ebd-gallery-cta__thumbs img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.ebd-gallery-cta:hover .ebd-gallery-cta__thumbs figure:nth-child(1) { transform: translateX(-6px) rotate(-6deg); }
.ebd-gallery-cta:hover .ebd-gallery-cta__thumbs figure:nth-child(3) { transform: translateX(6px) rotate(6deg); }
.ebd-gallery-cta__text { flex: 1; min-width: 0; }
.ebd-gallery-cta__text > * { margin: 0 !important; }
p.ebd-gallery-cta__title { font-family: var(--wp--preset--font-family--heading) !important; font-size: clamp(1.4rem, 2vw, 1.75rem) !important; color: var(--r8-navy); line-height: 1.2; }
p.ebd-gallery-cta__sub { font-size: 1.0625rem !important; color: #54595F; margin-top: 4px !important; }
.ebd-gallery-cta__btn { flex-shrink: 0; }

@media (max-width: 1100px) {
	.ebd-vstories__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ebd-vstories__row > .ebd-vstory:nth-child(even) { transform: none; }
}
@media (max-width: 781px) {
	.ebd-vstories__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-right: calc(-1 * var(--r8-gutter)) !important; padding-right: var(--r8-gutter); scrollbar-width: none; }
	.ebd-vstories__row::-webkit-scrollbar { display: none; }
	.ebd-vstories__row > .ebd-vstory { flex: 0 0 72%; scroll-snap-align: start; }
	.ebd-gallery-cta { flex-direction: column; align-items: flex-start; border-radius: 24px; padding: 24px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ebd-vstory .wp-block-cover__image-background, .ebd-gallery-cta__thumbs figure { transition: none; } }

/* ---------- 5. Global CTA: photos on both sides, "Let's book your …" picker in the middle ---------- */
.ebd-pick { position: relative; display: grid; grid-template-columns: min(27vw, 520px) minmax(0, 1fr) min(27vw, 520px); background: var(--r8-navy); color: #fff; overflow: hidden; isolation: isolate; }
.ebd-pick > * { margin: 0 !important; }
.ebd-pick::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(34% 60% at 50% 0%, rgba(156, 200, 214, .12), transparent 75%), radial-gradient(30% 50% at 50% 100%, rgba(6, 100, 131, .18), transparent 75%); pointer-events: none; }
.ebd-pick__photo { position: relative; min-height: 100%; overflow: hidden; }
.ebd-pick__photo img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; border-radius: 0 !important; object-fit: cover; scale: 1.14; translate: 0 calc(var(--pd, 0) * 34px); transition: scale 1.6s var(--r8-ease); will-change: translate; }
.ebd-pick__photo--right img { translate: 0 calc(var(--pd, 0) * -34px); }
.ebd-pick__photo--left img { object-position: 12% 35%; transform-origin: 30% 40%; }
.ebd-pick__photo--right img { object-position: 50% 50%; transform-origin: 70% 50%; }
.ebd-pick.is-in .ebd-pick__photo img { scale: 1.1; }
.ebd-pick__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.ebd-pick__photo--left::after { background: linear-gradient(90deg, rgba(23, 39, 53, 0) 35%, rgba(23, 39, 53, .65) 62%, rgba(23, 39, 53, .94) 82%, var(--r8-navy) 96%), linear-gradient(0deg, rgba(23, 39, 53, .35), transparent 35%); }
.ebd-pick__photo--right::after { background: linear-gradient(270deg, rgba(23, 39, 53, 0) 35%, rgba(23, 39, 53, .65) 62%, rgba(23, 39, 53, .94) 82%, var(--r8-navy) 96%), linear-gradient(0deg, rgba(23, 39, 53, .35), transparent 35%); }
.ebd-pick__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 800px; margin: 0 auto !important; padding: clamp(80px, 8vw, 124px) clamp(8px, 2vw, 24px) !important; }
.ebd-pick__body > * { margin: 0 !important; }
.ebd-pick .ebd-chip--dark { color: var(--r8-soft) !important; }
.ebd-pick .ebd-pick__title { color: #fff !important; font-size: clamp(2.4rem, 4.2vw, 4.2rem) !important; line-height: 1.08 !important; margin: 26px 0 22px !important; text-align: center; }
.ebd-pick__title em { font-style: normal; color: var(--r8-soft); }
.ebd-pick__roll { display: block; height: 1.14em; overflow: hidden; color: var(--r8-soft); }
.ebd-pick__roll > span { display: block; transition: transform .8s var(--r8-ease); }
.ebd-pick__roll i { display: block; height: 1.14em; font-style: normal; white-space: nowrap; }
.ebd-pick__words { display: none !important; }
.ebd-pick .ebd-pick__text { max-width: 34em; font-size: 1.1875rem; line-height: 1.7; color: rgba(255, 255, 255, .76); }
.ebd-pick .ebd-pick__ask { margin-top: 38px !important; margin-bottom: 14px !important; font-family: var(--wp--preset--font-family--button); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ebd-pick__opts { list-style: none; width: 100%; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ebd-pick__opts li { margin: 0; }
.ebd-pick__opts li, .ebd-pick__opt { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; height: 100%; padding: 17px 16px 17px 22px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.3; text-align: left; }
.ebd-pick__opts.is-ready li { padding: 0; border: 0; background: none; }
.ebd-pick__opt { cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .4s var(--r8-ease), color .4s var(--r8-ease), transform .4s var(--r8-ease), border-color .4s; }
.ebd-pick__opt::after { content: "→"; flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); font-family: var(--wp--preset--font-family--button); font-size: .875rem; transition: background .4s var(--r8-ease), border-color .4s, color .4s; }
.ebd-pick__opt:hover, .ebd-pick__opt[aria-pressed="true"] { background: #fff; color: var(--r8-navy); border-color: #fff; transform: translateY(-3px); }
.ebd-pick__opt:hover::after { border-color: rgba(23, 39, 53, .3); }
.ebd-pick__opt[aria-pressed="true"]::after { content: "✓"; background: var(--r8-teal); border-color: var(--r8-teal); color: #fff; }
.ebd-pick__opt:focus-visible { outline: 2px solid var(--r8-soft); outline-offset: 3px; }
.ebd-pick__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 32px; margin-top: 36px !important; }
.ebd-pick__btn { margin: 0 !important; }
.ebd-pick__btn .wp-block-button__link b { font-weight: inherit; }
.ebd-pick__btn .wp-block-button__link > span { white-space: nowrap; }
.ebd-pick__btn .wp-block-button__link.is-bump { animation: ebd-pick-bump .5s var(--r8-ease); }
@keyframes ebd-pick-bump { 40% { transform: scale(1.04); } }
.ebd-pick__phone, .ebd-pick__phone a { color: #fff !important; font-size: 1.1875rem; }
.ebd-pick__phone a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 3px; }
.ebd-pick__phone svg { color: var(--r8-soft); }
.ebd-pick__info { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px !important; font-size: 1.0625rem; color: rgba(255, 255, 255, .78); }
.ebd-pick__info > * { margin: 0 !important; }
.ebd-pick__address { display: inline-flex !important; align-items: center; }
.ebd-pick .ebd-status { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.ebd-pick .ebd-status span:not(.ebd-status__dot) { color: rgba(255, 255, 255, .7); }
.ebd-pick__address, .ebd-pick__address a { color: rgba(255, 255, 255, .78) !important; }
.ebd-pick__address svg { color: var(--r8-soft); }
.ebd-pick__social { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px !important; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); width: min(100%, 440px); }
.ebd-pick__social > * { margin: 0 !important; }
.ebd-pick .ebd-pick__social-label { font-family: var(--wp--preset--font-family--button); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ebd-pick .ebd-social { gap: 10px; }
.ebd-pick .ebd-social__link { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.ebd-pick .ebd-social__link:hover { background: #fff; color: var(--r8-navy); }
@media (max-width: 1100px) {
	.ebd-pick { grid-template-columns: 21vw minmax(0, 1fr) 21vw; }
	.ebd-pick__opts li, .ebd-pick__opt { padding: 15px 14px 15px 18px; }
}
@media (max-width: 781px) {
	.ebd-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ebd-pick__photo { grid-row: 1; height: 250px; min-height: 0; }
	.ebd-pick__photo--left img { object-position: 2% 30%; }
	.ebd-pick__photo--left::after { background: linear-gradient(90deg, rgba(23, 39, 53, 0) 55%, rgba(23, 39, 53, .6) 100%), linear-gradient(180deg, rgba(23, 39, 53, 0) 45%, var(--r8-navy) 100%); }
	.ebd-pick__photo--right::after { background: linear-gradient(270deg, rgba(23, 39, 53, 0) 55%, rgba(23, 39, 53, .6) 100%), linear-gradient(180deg, rgba(23, 39, 53, 0) 45%, var(--r8-navy) 100%); }
	.ebd-pick__body { grid-column: 1 / -1; grid-row: 2; min-width: 0; padding: 0 22px 56px !important; margin-top: -30px !important; }
	.ebd-pick .ebd-pick__title { margin: 18px 0 14px !important; }
	.ebd-pick .ebd-pick__text { font-size: 1.125rem; line-height: 1.6; }
	.ebd-pick .ebd-pick__title { font-size: clamp(2.1rem, 9vw, 2.6rem) !important; }
	.ebd-pick__opts { grid-template-columns: 1fr; }
	.ebd-pick__actions { flex-wrap: nowrap; gap: 12px; margin-top: 26px !important; }
	.ebd-pick__phone { position: relative; flex: 0 0 auto; display: flex !important; align-items: center; margin: 0 !important; line-height: 0; }
	.ebd-pick__phone .ebd-info__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
	.ebd-pick__phone .ebd-info__icon svg { width: 22px; height: 22px; color: #fff; }
	.ebd-pick__phone .ebd-info__body { position: static; }
	.ebd-pick__phone a { position: absolute; inset: 0; z-index: 1; font-size: 0 !important; border: 0 !important; padding: 0 !important; border-radius: 50%; }
	.ebd-pick__info { flex-direction: column; gap: 8px; margin-top: 22px !important; }
	.ebd-pick__social { margin-top: 26px !important; padding-top: 22px; gap: 12px; }
	.ebd-pick .ebd-pick__social-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ebd-pick__photo img { translate: none !important; scale: 1.02 !important; transition: none; }
	.ebd-pick__roll > span, .ebd-pick__opt, .ebd-pick__opt::after { transition: none; }
	.ebd-pick__btn .wp-block-button__link.is-bump { animation: none; }
}

/* ---------- 6. Home team: name pills swap the bio and bring the photo up large ---------- */
.ebd-meet { padding: clamp(80px, 9vw, 140px) var(--r8-gutter) !important; }
.ebd-meet__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); justify-content: space-between; gap: clamp(40px, 6vw, 120px); align-items: center; max-width: 1400px; margin: 0 auto !important; }
.ebd-meet__inner > *, .ebd-meet__info > * { margin: 0 !important; }
.ebd-meet .ebd-meet__title { font-size: clamp(2.6rem, 4.6vw, 4.2rem) !important; line-height: 1.06 !important; margin: 24px 0 clamp(30px, 3.4vw, 48px) !important; padding-bottom: clamp(30px, 3.4vw, 48px); border-bottom: 1px solid var(--r8-line); }
.ebd-meet .ebd-meet__title em { font-style: normal; color: var(--r8-teal); }
.ebd-meet .ebd-meet__btn { margin-top: clamp(28px, 3vw, 40px) !important; }

/* The person shown */
.ebd-staff--spotlight .hub-stv-group__label, .ebd-staff--spotlight .hub-stv-item__photo { display: none !important; }
.ebd-staff--spotlight .hub-stv-wrap { display: block !important; min-height: 15em; }
.ebd-staff--spotlight .hub-stv-group, .ebd-staff--spotlight .hub-stv-group__items { display: contents !important; }
.ebd-staff--spotlight .hub-stv-item { display: block; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 28px !important; text-align: left !important; }
.ebd-staff--spotlight.is-ready .hub-stv-item { display: none !important; margin: 0 !important; }
.ebd-staff--spotlight.is-ready .hub-stv-item.is-active { display: block !important; animation: ebd-meet-in .7s var(--r8-ease) both; }
@keyframes ebd-meet-in { from { opacity: 0; transform: translateY(14px); } }
.ebd-staff--spotlight .hub-stv-item__content { display: flex; flex-direction: column; padding: 0 !important; text-align: left !important; }
.ebd-staff--spotlight .hub-stv-item__designation, .ebd-staff--spotlight .hub-stv-item__role { order: 1; display: block !important; margin: 0 0 10px !important; padding: 0 !important; background: none !important; font-family: var(--wp--preset--font-family--button); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--r8-teal) !important; }
.ebd-staff--spotlight .hub-stv-item__name { order: 2; margin: 0 0 14px !important; font-family: var(--wp--preset--font-family--heading); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem) !important; line-height: 1.1; color: var(--r8-navy); }
.ebd-staff--spotlight .hub-stv-item__name a { color: inherit; text-decoration: none; }
.ebd-staff--spotlight .hub-stv-item__excerpt, .ebd-staff--spotlight .hub-stv-item__bio { order: 3; max-width: 34em; font-size: 1.1875rem; line-height: 1.75; color: var(--wp--preset--color--ink-soft); }

/* Name pills */
.ebd-spot__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ebd-spot__pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 20px 6px 6px; border: 0; border-radius: 999px; background: #fff; color: var(--r8-navy); box-shadow: 0 0 0 1px var(--r8-line), 0 10px 24px -18px rgba(23, 39, 53, .5); font-family: var(--wp--preset--font-family--button); font-size: 1.0625rem; font-weight: 500; cursor: pointer; transition: background .35s var(--r8-ease), color .35s, transform .35s var(--r8-ease), box-shadow .35s; }
.ebd-spot__pill img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--r8-mist); transition: transform .5s var(--r8-ease); }
.ebd-spot__pill:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--r8-soft), 0 14px 28px -18px rgba(23, 39, 53, .55); }
.ebd-spot__pill:hover img { transform: scale(1.08); }
.ebd-spot__pill[aria-pressed="true"] { background: var(--r8-navy); color: #fff; box-shadow: 0 14px 30px -16px rgba(23, 39, 53, .7); }
.ebd-spot__pill[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--r8-soft); }
.ebd-spot__pill:focus-visible { outline: 2px solid var(--r8-teal); outline-offset: 3px; }

/* The large photo */
.ebd-meet__stage { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 560px; justify-self: end; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 90% at 30% 10%, #f4f8fa, #d7e4ea); box-shadow: 22px 22px 0 0 rgba(156, 200, 214, .32), 0 50px 90px -50px rgba(23, 39, 53, .55); }
.ebd-meet:not(.is-ready) .ebd-meet__stage { display: none; }
.ebd-meet:not(.is-ready) .ebd-meet__inner { grid-template-columns: minmax(0, 1fr); }
.ebd-meet__shot { position: absolute; inset: 0; margin: 0; z-index: 0; opacity: 0; clip-path: inset(22% 22% 22% 22% round 999px); transition: clip-path 1s var(--r8-ease), opacity .5s; }
.ebd-meet__shot.is-prev { z-index: 1; opacity: 1; clip-path: inset(0 round 32px); transition: none; }
.ebd-meet__shot.is-active { z-index: 2; opacity: 1; clip-path: inset(0 round 32px); }
.ebd-meet__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: scale(1.14); transition: transform 1.4s var(--r8-ease); }
.ebd-meet__shot.is-active img, .ebd-meet__shot.is-prev img { transform: none; }
.ebd-meet__shot figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-radius: 20px; background: rgba(255, 255, 255, .9); box-shadow: 0 20px 40px -24px rgba(23, 39, 53, .45); color: var(--r8-navy); opacity: 0; transform: translateY(12px); transition: opacity .5s .45s, transform .6s .45s var(--r8-ease); }
.ebd-meet__shot.is-active figcaption { opacity: 1; transform: none; }
.ebd-meet__shot figcaption b { font-family: var(--wp--preset--font-family--heading); font-weight: 400; font-size: 1.25rem; }
.ebd-meet__shot figcaption span { font-size: .875rem; color: var(--wp--preset--color--ink-soft); }
.ebd-meet__shot figcaption span:empty { display: none; }

@media (max-width: 1023px) {
	.ebd-meet__inner { grid-template-columns: minmax(0, 1fr); }
	.ebd-meet__info { display: contents; }
	.ebd-meet__chip { order: 1; } .ebd-meet__title { order: 2; } .ebd-meet__stage { order: 3; } .ebd-meet__staff { order: 4; } .ebd-meet__btn { order: 5; }
	.ebd-meet__inner { gap: 0; }
	.ebd-meet .ebd-meet__title { margin-bottom: 28px !important; }
	.ebd-meet__stage { aspect-ratio: 4 / 4.4; max-width: none; justify-self: stretch; margin-bottom: 40px !important; box-shadow: 12px 12px 0 0 rgba(156, 200, 214, .32), 0 40px 70px -45px rgba(23, 39, 53, .55); }
	.ebd-meet .ebd-meet__title { padding-bottom: 0; border-bottom: 0; }
	.ebd-staff--spotlight .hub-stv-wrap { min-height: 0; }
	.ebd-spot__pills { flex-wrap: nowrap; overflow-x: auto; margin: 24px calc(-1 * var(--r8-gutter)) 0; padding: 4px var(--r8-gutter) 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
	.ebd-spot__pills::-webkit-scrollbar { display: none; }
	.ebd-spot__pill { flex: 0 0 auto; scroll-snap-align: start; }
	.ebd-staff--spotlight { display: flex; flex-direction: column-reverse; gap: 26px; }
	.ebd-staff--spotlight .ebd-spot__pills { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ebd-meet__shot, .ebd-meet__shot img, .ebd-meet__shot figcaption, .ebd-spot__pill, .ebd-spot__pill img { transition: none; }
	.ebd-staff--spotlight.is-ready .hub-stv-item.is-active { animation: none; }
}

/* ---------- 7. Accreditations: one white card that bridges the technology and stories sections ---------- */
.ebd-accred { --acc-pull: 64px; position: relative; z-index: 2; background: linear-gradient(180deg, transparent 0 var(--acc-pull), var(--r8-mist) var(--acc-pull) 100%) !important; border: 0 !important; padding: 0 var(--r8-gutter) !important; margin-top: calc(-1 * var(--acc-pull)) !important; }
.ebd-accred__row { max-width: 1400px !important; margin: 0 auto !important; padding: 34px clamp(28px, 3.4vw, 52px); background: #fff; border-radius: 26px; box-shadow: 0 1px 0 var(--r8-line), 0 40px 80px -50px rgba(23, 39, 53, .45); grid-template-columns: minmax(200px, 270px) 1fr !important; gap: clamp(24px, 3vw, 48px) !important; }
.ebd-accred__label strong { font-size: 1.375rem !important; }
.ebd-accred__label span { color: var(--r8-teal) !important; }
.ebd-accred__logos { gap: clamp(12px, 2vw, 32px) !important; align-items: center; }
.ebd-accred__logos > .wp-block-image { border: 0 !important; height: 72px !important; padding: 0 !important; }
.ebd-accred__logos img { max-height: 48px !important; filter: grayscale(1) contrast(1.05) !important; opacity: .62 !important; mix-blend-mode: multiply; }
.ebd-accred__logos > .wp-block-image:hover img { filter: none !important; opacity: 1 !important; }
.ebd-vstories { padding-top: clamp(96px, 10vw, 150px) !important; }
@media (max-width: 1023px) {
	.ebd-accred { --acc-pull: 40px; }
	.ebd-accred__row { grid-template-columns: 1fr !important; padding: 28px 24px; text-align: center; }
	.ebd-accred__logos > .wp-block-image { border: 0 !important; height: 64px !important; }
}
