@font-face {
  font-family: "FK Grotesk Neue Regular";
  src: url("assets/fonts/FKGroteskNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "FK Grotesk Neue Medium";
  src: url("assets/fonts/FKGroteskNeue-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "CoFo Sans Semi Mono";
  src: url("assets/fonts/CoFoSansSemi-Mono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #f1f1ed;
  --text: #161a20;
  --text-muted: #606871;
  --line: rgba(22, 26, 32, 0.1);
  --accent: #245eff;
  --accent-soft: rgba(36, 94, 255, 0.14);
  --heading: #132228;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1080px;
  --page-gutter: clamp(20px, 4vw, 32px);
  --section-padding: clamp(24px, 4vw, 36px);
  --section-gap: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "FK Grotesk Neue Regular", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "FK Grotesk Neue Medium", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--heading);
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(1.68rem, 3.2vw, 2.6rem);
  line-height: 1.03;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.page-shell {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--container));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: flex-end;
}

.brand-lockup {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 66px;
  transform: translateX(-20px);
}

.partner-logo {
  display: block;
  width: auto;
  height: 51px;
  object-fit: contain;
  transform: translateY(-22px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: "CoFo Sans Semi Mono", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.section {
  margin-top: var(--section-gap);
  padding: var(--section-padding);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section-soft {
  background: var(--surface-soft);
}

.section-plain {
  background: var(--surface);
  border: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "CoFo Sans Semi Mono", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.94rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}

.hero-split-copy,
.hero-split-media {
  padding: clamp(14px, 1.8vw, 20px);
}

.hero-split-copy {
  display: flex;
  align-items: stretch;
  min-height: 100%;
  background: #ffffff;
}

.hero-split-copy-inner {
  width: 100%;
  min-height: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.hero-text,
.hero-side-text {
  max-width: 54ch;
  color: var(--text-muted);
}

.hero-text {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text);
}

.hero-side-text {
  margin-bottom: 10px;
  font-size: 0.93rem;
}

.hero-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-meta::-webkit-scrollbar {
  display: none;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hero-split-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: #ffffff;
}

.hero-video-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.simple-highlight-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.simple-highlight-list li + li {
  margin-top: 12px;
}

.inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-heading {
  margin-bottom: 24px;
}

#schedule .section-heading h2,
#speakers .section-heading h2 {
  max-width: none;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-time {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.timeline-item-break .timeline-time,
.timeline-item-break h3,
.timeline-item-break p {
  color: #a6adb7;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--section-gap);
}

.speaker-card {
  padding: 12px 0;
  border: 0;
  background: transparent;
}

.speaker-avatar {
  width: auto;
  height: 168px;
  margin-bottom: 16px;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.speaker-image {
  width: auto;
  height: 168px;
  object-fit: cover;
  object-position: center top;
}

.speaker-role {
  margin-bottom: 10px;
  color: var(--accent) !important;
  font-weight: 400;
}

.speaker-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.speaker-links a {
  color: #a6adb7;
}

.speaker-links a:hover,
.speaker-links a:focus-visible {
  color: var(--accent);
}

.speaker-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.grant-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.grant-copy h2 {
  margin-bottom: 16px;
}

.grant-copy p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--text-muted);
}

.grant-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
  max-width: 360px;
}

.grant-actions .button {
  width: 100%;
  white-space: nowrap;
}

.grant-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .hero,
  .grant-section {
    grid-template-columns: 1fr;
  }

  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding-top: 12px;
  }

  .site-header {
    display: grid;
    justify-content: stretch;
  }

  .site-nav {
    display: grid;
    gap: 12px;
  }

  .brand-lockup {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .brand-logo {
    height: 56px;
  }

  .partner-logo {
    height: 52px;
  }

  .section {
    padding: 24px 20px;
  }

  .hero,
  .grant-section,
  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .speaker-avatar,
  .speaker-image {
    height: 152px;
  }
}
