:root {
  --bg: #f7f8f4;
  --paper: #ffffff;
  --ink: #17201b;
  --muted: #68736d;
  --line: #d8dfd9;
  --green: #0f5c4f;
  --green-dark: #0a3f37;
  --gold: #c58b2f;
  --red: #9b4b44;
  --blue: #315f8d;
  --shadow: 0 22px 55px rgba(20, 38, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  padding: 68px min(5vw, 72px) 84px;
  background:
    linear-gradient(110deg, rgba(15, 92, 79, 0.1), transparent 46%),
    linear-gradient(250deg, rgba(197, 139, 47, 0.1), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f7f8f4 58%, rgba(10, 63, 55, 0.12) 100%);
  text-align: center;
}

.hero-copy {
  max-width: 1280px;
}

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

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

h1 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
}

.subtitle {
  margin-bottom: 20px;
  color: #27342f;
  font-size: clamp(22px, 2.45vw, 32px);
  font-weight: 720;
  line-height: 1.16;
  white-space: nowrap;
}

.authors {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
}

.authors p {
  margin-bottom: 8px;
}

.author-names {
  color: #27342f;
  font-weight: 650;
  line-height: 1.75;
}

.author-names span,
.author-affiliations span,
.author-notes span {
  display: inline-block;
  margin-left: 0.9em;
}

.author-affiliations,
.author-notes {
  font-size: 15px;
  line-height: 1.45;
}

.author-notes {
  margin-bottom: 0;
}

.authors sup {
  font-size: 0.68em;
  line-height: 0;
}

.column.has-text-centered {
  text-align: center;
}

.publication-links {
  margin-top: 5px;
}

.link-block {
  display: inline-block;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  box-shadow: none;
  display: inline-flex;
  font-size: 1rem;
  height: 2.5em;
  justify-content: flex-start;
  line-height: 1.5;
  padding: calc(0.5em - 1px) 1em;
  position: relative;
  vertical-align: top;
}

.button.is-normal {
  font-size: 1rem;
}

.button.is-rounded {
  border-radius: 9999px;
  padding-left: 1.25em;
  padding-right: 1.25em;
}

.button.is-dark {
  background-color: #363636;
  border-color: transparent;
  color: #fff;
}

.button.is-dark:hover {
  background-color: #2f2f2f;
  color: #fff;
}

.external-link {
  font-weight: 400;
}

.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
}

.icon:first-child:not(:last-child) {
  margin-left: calc(-0.5em - 1px);
  margin-right: 0.25em;
}

.section {
  padding: 58px min(5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h2 {
  color: var(--green-dark);
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: #1e2a25;
  font-size: 20px;
  line-height: 1.22;
}

.abstract-section {
  background: linear-gradient(180deg, rgba(10, 63, 55, 0.12) 0%, rgba(10, 63, 55, 0.06) 34%, #ffffff 88%);
}

.abstract-copy {
  max-width: 980px;
  margin: 0 auto;
}

.abstract-copy h2 {
  margin-bottom: 18px;
  text-align: center;
}

.abstract-copy p {
  color: #314139;
  font-size: 17px;
  line-height: 1.72;
}

.abstract-copy p:last-child {
  margin-bottom: 0;
}

.experiment-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.main-figure-section {
  background: #ffffff;
}

.method-section {
  background: #ffffff;
}

.method-flow {
  display: grid;
  gap: 54px;
  margin: 34px auto 0;
  max-width: 1240px;
}

.method-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.method-block:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.method-block:nth-child(even) .method-copy {
  order: 2;
}

.method-block:nth-child(even) .method-figure {
  order: 1;
}

.method-copy {
  max-width: 620px;
}

.method-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

.method-copy h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
}

.method-copy p:not(.method-index) {
  color: #314139;
  font-size: 16px;
  line-height: 1.72;
}

.method-figure {
  margin: 0;
}

.method-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: transparent;
  object-fit: contain;
}

.method-figure.compact img {
  max-width: 680px;
}

.method-figure.wide {
  grid-column: auto;
}

.method-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.bridge-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: -14px;
}

.bridge-cards div {
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: #f7f8f4;
}

.bridge-cards h4 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.25;
}

.bridge-cards p {
  margin-bottom: 0;
  color: #314139;
  font-size: 15px;
  line-height: 1.6;
}

.main-paper-figure {
  margin: 0 auto;
  max-width: 1240px;
}

.main-paper-image {
  display: block;
  width: min(100%, 1240px);
  height: auto;
  margin: 0 auto;
  border: 0;
  background: transparent;
}

.main-paper-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}

.video-section {
  background: #ffffff;
  color: var(--ink);
}

.video-section h2 {
  color: var(--green-dark);
}

.project-video {
  display: block;
  width: min(100%, 1080px);
  max-height: min(70vh, 680px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #07110e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.project-video:focus-visible {
  outline: 3px solid rgba(197, 139, 47, 0.72);
  outline-offset: 4px;
}

.image-panel {
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.image-panel img {
  width: 100%;
  min-width: 920px;
}

.experiments {
  background: #ffffff;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.experiment-grid article {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.experiment-grid article.wide {
  grid-column: 1 / -1;
}

.experiment-grid img {
  display: block;
  width: min(100%, 980px);
  margin: 0 auto;
  aspect-ratio: 2.6;
  object-fit: contain;
  background: transparent;
  border-bottom: 0;
}

.experiment-grid article:not(.wide) img {
  aspect-ratio: 1.82;
}

.figure-combo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  margin: 18px auto 0;
  max-width: 1180px;
}

.figure-combo figure {
  margin: 0;
}

.table-figure {
  margin: 12px 0 18px;
}

.figure-combo img {
  aspect-ratio: auto;
}

.table-image {
  width: min(100%, 1000px);
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
}

.figure-combo figcaption,
.table-figure figcaption,
.paper-table caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
}

.paper-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.44);
  color: #23302a;
  font-size: 13px;
  line-height: 1.35;
}

.paper-table.compact {
  min-width: 640px;
}

.paper-table th,
.paper-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(104, 115, 109, 0.22);
  text-align: center;
  white-space: nowrap;
}

.paper-table th:first-child,
.paper-table td:first-child,
.paper-table th:nth-child(2),
.paper-table td:nth-child(2) {
  text-align: left;
}

.paper-table th {
  color: var(--green-dark);
  font-weight: 800;
}

.paper-table strong {
  color: var(--green-dark);
}

.site-footer {
  padding: 34px min(5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: #35443d;
  text-align: center;
}

.site-footer p {
  margin-bottom: 6px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1,
  .subtitle {
    white-space: normal;
  }

  .experiment-grid,
  .figure-combo,
  .method-block,
  .method-block:nth-child(even),
  .bridge-cards {
    grid-template-columns: 1fr;
  }

  .method-block:nth-child(even) .method-copy,
  .method-block:nth-child(even) .method-figure {
    order: initial;
  }

  .experiment-grid img,
  .table-image {
    width: 100%;
  }

  .main-panel-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .project-video {
    max-height: none;
  }

}
