:root {
  --bg: #fff;
  --surface: #ffffff;
  --surface-2: #fff;
  --ink: #17201d;
  --muted: #56645f;
  --line: #d7dfd8;
  --accent: #186f65;
  --accent-2: #9a3f2f;
  --shadow: 0 18px 45px rgba(23, 32, 29, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(215, 223, 216, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100svh - 56px);
  display: grid;
  align-items: center;
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 86px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.84) 48%,
      rgba(255, 255, 255, 0.24) 100%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0) 34%
    );
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  opacity: 0.48;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.venue,
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1260px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.authors {
  max-width: 1280px;
  margin-right: auto;
  margin-bottom: 8px;
  margin-left: auto;
  color: #24302c;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.affiliations {
  max-width: 1040px;
  margin-right: auto;
  margin-bottom: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #123b36;
  border-radius: 6px;
  background: #123b36;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
}

.button-disabled {
  cursor: default;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 3vw, 40px);
}

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

.section-heading {
  max-width: 1600px;
  margin: 0 auto 28px;
}

.figure {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: clamp(12px, 2vw, 24px);
  overflow: hidden;
}

.figure img {
  width: 100%;
  height: auto;
}

.figure-wide,
.split,
.gallery-two,
.takeaway-grid,
.body-copy,
.video-section,
.youtube-grid {
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
}

.figure-consensus {
  width: 70%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.figure-consensus img {
  width: 100%;
  height: auto;
}

.figure-exp {
  width: 75%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.figure-exp img {
  width: 100%;
  height: auto;
}

.figure.figure-wide.figure-main-table {
  width: 75%;
  max-width: 1100px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.figure-main-table img {
  width: 100%;
  height: auto;
}

.figure.figure-advanced {
  width: 75%;
  min-width: 0;
  margin-left: 0;
  margin-right: auto;
}

.figure-advanced img {
  width: 100%;
  height: auto;
}

.figure.figure-large.figure-scaling {
  width: 110%;
  max-width: none;
  min-width: 0;
  margin-left: -12px;
  margin-right: auto;
}

.figure-scaling img {
  width: 100%;
  height: auto;
}

.figure-large {
  max-width: 1720px;
}

.figure-xl {
  max-width: 1840px;
  min-width: 800px;
  margin-left: 12px;
}

.figure.figure-wide.figure-slim {
  width: 70%;
  max-width: 900px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.figure-slim img {
  width: 100%;
  height: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: 24px;
}

.split-reverse {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.45fr);
}

.copy {
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.55;
}

.copy p:last-child,
.callouts p:last-child,
.body-copy:last-child {
  margin-bottom: 0;
}

.callouts {
  display: grid;
  gap: 14px;
}

.callouts p,
.takeaway-grid p {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 32, 29, 0.08);
  color: #26332f;
  font-size: 1.18rem;
  font-weight: 700;
}

.gallery-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  margin-top: 28px;
}

.gallery-two.gallery-robotwin {
  gap: 2px;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.body-copy {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

code {
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: rgba(24, 111, 101, 0.11);
  color: #104d46;
}

.video-section {
  margin-top: 32px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.video-card,
.video-placeholder,
.youtube-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(23, 32, 29, 0.08);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

.video-card figcaption,
.youtube-card figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.video-placeholder {
  display: grid;
  min-height: 168px;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.youtube-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #111;
}

.footer {
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #123b36;
  color: #ecf2ef;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .split,
  .split-reverse,
  .gallery-two,
  .takeaway-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.8) 58%,
      rgba(255, 255, 255, 0.42) 100%
    );
  }

  .actions,
  .button {
    width: 100%;
  }

  .video-grid,
  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .video-placeholder {
    min-height: 140px;
  }
}
