/* EO Global AI Summit 2027
   Colors and type follow the EO brand guidelines:
   Roboto Regular and Bold, sentence case, caption in caps with wide tracking. */

@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Base colors */
  --eo-blue: #3D46F2;
  --base-blue: #0C0C31;
  --white: #FFFFFF;
  /* Primary colors */
  --pink: #FF346E;
  --orange: #FA653C;
  --yellow: #EFB82E;
  --green: #1EA691;
  --gray: #5E617D;
  /* Accent colors */
  --light-blue: #A3A7E4;
  --light-gray: #B7B8C3;
  --dark-gray: #3C3E50;
  --tint: #F3F4FD;

  /* Type hierarchy, relative to the hero headline */
  --hero: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);
  --display: calc(var(--hero) * 4 / 3);
  --headline: calc(var(--hero) * 3 / 4);
  --subhead: calc(var(--hero) / 2);
  --small-headline: max(1.125rem, calc(var(--hero) / 3));
  --body: 1.125rem;
  --caption: 0.875rem;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: var(--body); line-height: 1.6; color: var(--base-blue); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--eo-blue); }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .75rem 1rem; border-radius: .5rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Type styles */
.caption { font-size: var(--caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.display { font-size: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.headline { font-size: var(--headline); font-weight: 700; line-height: 1.15; }
.subhead { font-size: var(--subhead); font-weight: 400; line-height: 1.3; }
.small-headline { font-size: var(--small-headline); font-weight: 700; line-height: 1.3; }
.lead { font-size: calc(var(--body) * 1.15); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid var(--eo-blue); background: var(--eo-blue); color: var(--white); transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--base-blue); border-color: var(--base-blue); }
.btn .arrow { width: 1.1em; height: 1.1em; flex: none; }
.btn.on-dark:hover { background: var(--white); border-color: var(--white); color: var(--base-blue); }
.btn.white { background: var(--white); border-color: var(--white); color: var(--base-blue); }
.btn.white:hover { background: var(--base-blue); border-color: var(--base-blue); color: var(--white); }
.btn.small { padding: .6rem 1.15rem; font-size: 1rem; }
.text-link { font-weight: 700; text-underline-offset: .2em; }

/* Color bar: the four primary colors as a quiet graphic device */
.colorbar { display: flex; width: 6rem; height: .375rem; border-radius: 999px; overflow: hidden; }
.colorbar i { flex: 1; }
.colorbar i:nth-child(1) { background: var(--pink); }
.colorbar i:nth-child(2) { background: var(--orange); }
.colorbar i:nth-child(3) { background: var(--yellow); }
.colorbar i:nth-child(4) { background: var(--green); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--base-blue); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand img { height: 2.5rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.5rem; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; white-space: nowrap; font-size: 1rem; padding-block: .5rem; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--pink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: .5rem; cursor: pointer; }
.nav-toggle svg { width: 1.75rem; height: 1.75rem; display: block; }

/* Hero */
.hero { background: var(--base-blue); color: var(--white); padding-block: clamp(3rem, 7vw, 6rem) var(--section); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .caption { color: var(--yellow); margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .subhead { color: var(--light-blue); margin-bottom: 1.5rem; }
.hero .lead { max-width: 34rem; margin-bottom: 2rem; color: #E4E5F6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-actions .text-link { color: var(--white); }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; background: var(--eo-blue); border-radius: var(--radius); }
.hero-media img { position: relative; border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media .colorbar { position: absolute; left: 0; bottom: -1.5rem; width: 9rem; height: .5rem; }

/* Sections */
section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .caption { color: var(--eo-blue); margin-bottom: .75rem; }
.section-head .headline { margin-bottom: 1rem; }
.section-head .colorbar { margin-top: 1.25rem; }
.tinted { background: var(--tint); }
.dark { background: var(--base-blue); color: var(--white); }
.dark .section-head .caption { color: var(--yellow); }
.dark a:not(.btn) { color: var(--white); }
.dark.blue { background: var(--eo-blue); }
.dark.blue .section-head .caption { color: var(--white); }
.dark.blue .benefits li { border-top-color: rgba(255, 255, 255, .55); }
.dark.blue .benefits p, .dark.blue .sponsor-cta p { color: var(--white); }
.dark.blue .sponsor-cta { border-top-color: rgba(255, 255, 255, .35); }
.prose > * + * { margin-top: 1.1rem; }

/* Conference */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.card { background: var(--white); border: 1px solid #DCDDF0; border-top: .375rem solid var(--eo-blue); border-radius: var(--radius); padding: 1.75rem 1.5rem 2rem; }
.card:nth-child(1) { border-top-color: var(--pink); }
.card:nth-child(2) { border-top-color: var(--orange); }
.card:nth-child(3) { border-top-color: var(--green); }
.card .caption { color: var(--gray); margin-bottom: .75rem; }
.card h3 { margin-bottom: .6rem; }
.quote { background: var(--eo-blue); color: var(--white); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); }
.quote p { font-size: var(--subhead); line-height: 1.3; }
.quote .btn { margin-top: 1.75rem; }
.regions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.regions li { font-size: 1rem; padding: .35rem .9rem; border: 1px solid var(--light-blue); border-radius: 999px; color: var(--dark-gray); }

/* Global reach map */
.reach { margin-top: clamp(2.5rem, 5vw, 4rem); }
.reach a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--base-blue); box-shadow: 0 12px 32px rgba(12, 12, 49, .18); }
.reach img { width: 100%; height: auto; }
.reach figcaption { margin-top: 1rem; font-size: 1rem; color: var(--gray); }

/* Recap video */
.recap { display: grid; grid-template-columns: minmax(0, 52rem) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.recap-player { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--base-blue); box-shadow: 0 12px 32px rgba(12, 12, 49, .18); }
.recap-player video { width: 100%; height: auto; aspect-ratio: 832 / 464; display: block; object-fit: cover; }
.recap-play { position: absolute; inset: 0; width: 100%; padding: 1.25rem 1.5rem; border: 0; cursor: pointer; color: var(--white); font: inherit; display: flex; align-items: flex-end; gap: 1rem; background: linear-gradient(to top, rgba(12, 12, 49, .8), rgba(12, 12, 49, 0) 40%), url("../img/recap-2026-poster.jpg") center / cover; }
.recap-play[hidden] { display: none; }
.recap-icon { width: 4rem; height: 4rem; flex: none; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(12, 12, 49, .35); transition: transform .2s, background-color .2s; }
.recap-icon svg { width: 1.9rem; height: 1.9rem; fill: var(--eo-blue); margin-left: .2rem; transition: fill .2s; }
.recap-play:hover .recap-icon { transform: scale(1.08); background: var(--eo-blue); }
.recap-play:hover .recap-icon svg { fill: var(--white); }
.recap-label { font-weight: 700; font-size: 1.125rem; text-align: left; line-height: 1.3; padding-bottom: .45rem; }
.recap-label span { display: block; font-weight: 400; font-size: 1rem; opacity: .85; }
.recap-text .subhead { margin-bottom: .9rem; }
.recap-text p { color: var(--dark-gray); margin-bottom: 1.5rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 1rem; }
.gallery li { min-width: 0; }
.gallery a { display: block; height: 100%; border-radius: .75rem; overflow: hidden; background: var(--dark-gray); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery .tall { grid-row: span 2; }
.gallery .tall a { position: relative; }
.gallery .tall img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.speaker { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(12, 12, 49, .06), 0 12px 32px rgba(12, 12, 49, .08); transition: transform .2s, box-shadow .2s; }
.speaker:hover, .speaker:focus-within { transform: translateY(-.375rem); box-shadow: 0 2px 4px rgba(12, 12, 49, .08), 0 24px 48px rgba(12, 12, 49, .16); }
.speaker-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--light-gray); }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.speaker:hover .speaker-photo img { transform: scale(1.04); }
.speaker-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .5rem; background: var(--eo-blue); }
.speaker:nth-child(4n+1) .speaker-photo::after { background: var(--pink); }
.speaker:nth-child(4n+2) .speaker-photo::after { background: var(--orange); }
.speaker:nth-child(4n+3) .speaker-photo::after { background: var(--green); }
.speaker:nth-child(4n+4) .speaker-photo::after { background: var(--yellow); }
.speaker-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.speaker-name { font-size: calc(var(--small-headline) * 1.2); font-weight: 700; line-height: 1.2; }
.speaker-role { color: var(--gray); font-size: 1rem; line-height: 1.45; margin-top: .4rem; }
.speaker-body .caption, .bio-body .speaker-role + .caption { color: var(--eo-blue); margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #DCDDF0; }
.speaker-talk { font-weight: 700; line-height: 1.35; margin-top: .35rem; }
.speaker-open { margin-top: auto; padding: 1.25rem 0 0; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; font: inherit; font-weight: 700; color: var(--eo-blue); cursor: pointer; }
.speaker-open::after { content: ""; position: absolute; inset: 0; }
.speaker-open .arrow { width: 1.1em; height: 1.1em; transition: transform .2s; }
.speaker:hover .speaker-open .arrow { transform: translateX(.25rem); }
@supports (grid-template-rows: subgrid) {
  .speaker { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
  .speaker-body { display: contents; }
  .speaker-body > * { margin-inline: 1.25rem; }
  .speaker-name { margin-top: 1.5rem; }
  .speaker-open { margin-top: 0; padding-top: 1.25rem; margin-bottom: 1.75rem; align-self: end; justify-self: start; }
}
.speakers-more { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border: 2px dashed var(--light-blue); border-radius: var(--radius); text-align: center; font-weight: 700; color: var(--dark-gray); }

/* Speaker bio dialog */
dialog.bio { width: min(60rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--radius); color: var(--base-blue); background: var(--white); overflow: auto; }
dialog.bio[open] { display: grid; grid-template-columns: 2fr 3fr; }
dialog.bio > form { display: contents; }
dialog.bio::backdrop { background: rgba(12, 12, 49, .72); }
.bio-photo { background: var(--light-gray); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-body { padding: clamp(1.5rem, 4vw, 3rem); }
.bio-body > .caption:first-child { color: var(--eo-blue); margin-bottom: .5rem; }
.bio-body .prose { margin-top: 1.5rem; font-size: 1.0625rem; }
.bio-close { position: absolute; top: .75rem; right: .75rem; z-index: 1; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); color: var(--base-blue); cursor: pointer; box-shadow: 0 2px 8px rgba(12, 12, 49, .2); }
.bio-close svg { width: 1.25rem; height: 1.25rem; }
.bio-close:hover { background: var(--base-blue); color: var(--white); }

/* Award */
.award-media { background: var(--tint); border-radius: var(--radius); padding: 2rem; }
.award-media img { width: 100%; max-width: 24rem; margin-inline: auto; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li + li { margin-top: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: .5rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.note { border-left: .375rem solid var(--yellow); padding: .25rem 0 .25rem 1.25rem; font-weight: 700; }

/* Sponsoring */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.benefits li { border-top: 2px solid var(--eo-blue); padding-top: 1.1rem; }
.benefits h3 { margin-bottom: .4rem; }
.benefits p { color: #D5D6EA; font-size: 1.0625rem; }
.sponsor-cta { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 2.5rem; }
.sponsor-cta p { color: #E4E5F6; max-width: 44rem; }

/* People */
.people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem 1.5rem; }
.person { text-align: center; }
.person img { width: 100%; max-width: 10rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--eo-blue); }
.person a { color: inherit; text-decoration: none; }
.person a:hover h3 { color: var(--eo-blue); text-decoration: underline; text-underline-offset: .2em; }
.person h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.person p { font-size: 1rem; color: var(--gray); line-height: 1.4; }
.person .caption { font-size: .75rem; color: var(--eo-blue); margin-top: .35rem; }
.group-title { margin: 0 0 2rem; }
.people + .group-title { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.partners li { background: var(--white); border: 1px solid #DCDDF0; border-radius: var(--radius); display: grid; place-items: center; padding: 1.5rem 2rem; min-height: 9rem; }
.partners img { max-height: 4.5rem; width: auto; max-width: min(100%, 15rem); object-fit: contain; }

/* Footer */
.site-footer { background: var(--base-blue); color: var(--white); padding-block: 3.5rem 2.5rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.site-footer img { height: 3rem; width: auto; margin-bottom: 1.25rem; }
.site-footer .caption { color: var(--light-blue); margin-bottom: .9rem; }
.site-footer a { color: var(--white); text-underline-offset: .2em; }
.site-footer li + li { margin-top: .5rem; }
.site-footer p, .site-footer li { font-size: 1rem; color: #E4E5F6; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.5rem; font-size: .9375rem; color: var(--light-gray); }

/* Responsive */
@media (max-width: 75rem) {
  .speakers { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 60rem) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--base-blue); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.75rem; border-top: 1px solid rgba(255, 255, 255, .15); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: .8rem 0; font-size: 1.125rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav .btn { justify-content: center; }
  .hero .wrap, .split, .recap { grid-template-columns: 1fr; }
  .hero-media { margin-right: 1.5rem; }
  .cards, .benefits { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .speakers { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .sponsor-cta { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .people { grid-template-columns: repeat(2, 1fr); }
  .gallery { gap: .6rem; }
  .speakers { grid-template-columns: 1fr; }
  dialog.bio[open] { grid-template-columns: 1fr; }
  .bio-photo { max-height: 16rem; overflow: hidden; }
  .bio-photo img { object-position: 50% 20%; }
  .partners li { padding: 1rem; min-height: 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
