/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */

:root {
  --paper-ink: #14303a;
  --paper-copy: #3d5862;
  --paper-navy: #183e4b;
  --paper-copper: #b97c45;
  --paper-peach: #fde8d6;
  --paper-mist: #d3e2e6;
  --paper-ground: #f1f5f6;
  --paper-white: #ffffff;
  --paper-soft-white: #ededed;
  --paper-black: #000000;
  --paper-shell: 1120px;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-padding-top: 90px;
}

.paper-shell {
  width: min(calc(100% - 80px), var(--paper-shell));
  margin-inline: auto;
}

.paper-section {
  padding-block: 100px;
  color: var(--paper-ink);
  background: var(--paper-ground);
}

.paper-section-heading {
  display: flex;
  max-width: 820px;
  min-width: 0;
  flex-direction: column;
  gap: 32px;
}

.paper-section-heading h2,
.paper-buffalo h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(42px, 5vw, 60px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.paper-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--paper-copy);
  font-size: 18px;
  line-height: 26px;
}

.paper-eyebrow::before {
  display: block;
  width: 36px;
  height: 4px;
  flex: 0 0 36px;
  content: "";
  background: var(--paper-copper);
}

.paper-eyebrow-light {
  color: var(--paper-white);
  font-weight: 600;
}

.paper-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.paper-solid-button,
.paper-outline-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.paper-solid-button {
  color: var(--paper-white);
  background: var(--paper-copper);
}

.paper-outline-button {
  color: var(--paper-ink);
  border: 1.5px solid var(--paper-ink);
}

.paper-outline-button-light {
  color: var(--paper-white);
  border-color: rgb(255 255 255 / 85%);
}

.paper-solid-button:hover,
.paper-solid-button:focus-visible,
.paper-outline-button:hover,
.paper-outline-button:focus-visible {
  transform: translateY(-2px);
}

.paper-outline-button-light:hover,
.paper-outline-button-light:focus-visible {
  color: var(--paper-ink);
  background: var(--paper-white);
}

.pixel-cta {
  display: inline-flex;
  min-width: 0;
  height: 56px;
  align-items: stretch;
  overflow: visible;
  color: #0f0019;
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
}

.pixel-cta > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  background: var(--paper-white);
  border-radius: 10px;
}

.pixel-cta-icon {
  position: relative;
  display: flex;
  width: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  background: var(--paper-white);
  border-radius: 10px;
}

.pixel-cta-icon svg {
  width: 12px;
  height: 18px;
  fill: #0f0019;
}

.pixel-cta-icon i {
  position: absolute;
  left: -2px;
  width: 5px;
  height: 5px;
  background: #151515;
  border-radius: 50%;
}

.pixel-cta-icon i:nth-child(1) {
  top: calc(50% - 10px);
}

.pixel-cta-icon i:nth-child(2) {
  top: calc(50% - 2.5px);
}

.pixel-cta-icon i:nth-child(3) {
  top: calc(50% + 5px);
}

.pixel-cta-header {
  width: 207px;
  flex: 0 0 207px;
  height: 50px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.pixel-cta-header > .nav-cta-label {
  min-width: 0;
  flex: 1;
  padding-inline: 14px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 18px;
}

.pixel-cta-header .nav-cta-pixel-icon {
  width: 48px;
  flex-basis: 48px;
  border-radius: 9px;
}

.pixel-cta-header .nav-cta-pixel-icon svg {
  width: 11px;
  height: 16px;
}

.pixel-cta-header .nav-cta-pixel-icon i {
  width: 4px;
  height: 4px;
}

.pixel-cta-header .nav-cta-pixel-icon i:nth-child(1) {
  top: calc(50% - 10px);
}

.pixel-cta-header .nav-cta-pixel-icon i:nth-child(2) {
  top: calc(50% - 2px);
}

.pixel-cta-header .nav-cta-pixel-icon i:nth-child(3) {
  top: calc(50% + 6px);
}

.nav-cta-compact-icon {
  display: none;
}

.paper-hero {
  display: flex;
  height: 100vh;
  height: 100svh;
  align-items: center;
  padding-block: 120px 40px;
  color: var(--paper-white);
  background:
    linear-gradient(100deg, rgb(33 56 62 / 88%) 0%, rgb(33 56 62 / 62%) 52%, rgb(33 56 62 / 38%) 100%),
    url("/assets/hero-classroom.jpg") 50% 35% / cover no-repeat;
}

.paper-hero-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 59px;
}

.paper-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.paper-hero h1 {
  max-width: 880px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(58px, 6vw, 72px);
  font-style: normal;
  font-weight: 750;
  line-height: 80px;
  letter-spacing: -0.03em;
}

.paper-hero .paper-actions {
  margin-top: 8px;
}

.paper-event-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.03em;
}

.paper-event-meta > span {
  flex: 0 0 auto;
}

.paper-event-meta i {
  height: 2px;
  flex: 1;
  background: rgb(237 237 237 / 36%);
  border-radius: 6px;
}

.paper-down-link {
  display: flex;
  width: 65px;
  height: 65px;
  flex: 0 0 65px;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 12%);
  border-radius: 50%;
}

.paper-down-link svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paper-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-top: 64px;
}

.paper-audience-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.paper-audience-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent 34%, var(--paper-white) 100%);
}

.paper-audience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paper-audience-card h3 {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 20px;
  left: 14px;
  margin: 0;
  color: var(--paper-black);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.03em;
  text-align: center;
}

.paper-audience-note {
  margin: 24px 0 0;
  padding: 24px 32px;
  color: var(--paper-soft-white);
  background: var(--paper-copper);
  border-radius: 24px;
}

.paper-about .paper-shell {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.paper-about-intro {
  display: grid;
  grid-template-columns: 667px minmax(0, 1fr);
  gap: 21px;
  align-items: start;
}

.paper-puzzle {
  display: flex;
  width: min(667px, 100%);
  min-width: 0;
  align-items: center;
  justify-self: start;
  overflow: hidden;
}

.paper-puzzle-strip {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 667 / 216;
}

.paper-puzzle-fill {
  fill: var(--paper-copper);
}

.paper-puzzle-seam {
  fill: none;
  stroke: var(--paper-ground);
  stroke-width: 4;
}

.paper-puzzle-icon {
  fill: none;
  stroke: var(--paper-white);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paper-puzzle-dot {
  fill: var(--paper-white);
}

.paper-about-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--paper-copy);
}

.paper-about-copy p {
  margin: 0 0 20px;
}

.paper-about-copy a {
  margin-top: -16px;
  color: var(--paper-copper);
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
}

.paper-about-media {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 24px;
}

.paper-speakers {
  background:
    var(--paper-ground) url("/assets/speakers-bg-paper.png") center / cover no-repeat;
}

.paper-speakers .paper-shell {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.paper-speaker-window {
  height: 577px;
  padding: 10px;
  overflow: hidden;
  mask-image: linear-gradient(to right, black 0%, black 93.5%, transparent 100%);
}

.paper-speaker-track {
  height: 100%;
  gap: 48px;
}

.paper-speaker-card {
  flex: 0 0 380px;
}

.paper-speaker-card-down {
  padding-top: 48px;
}

.paper-speaker-card-up {
  padding-bottom: 48px;
}

.paper-speaker-card img {
  aspect-ratio: 0.8898;
}

.paper-speaker-footer {
  width: 100%;
}

.paper-buffalo {
  padding-block: 110px;
  color: var(--paper-white);
  background:
    linear-gradient(rgb(40 70 79 / 78%), rgb(40 70 79 / 62%)),
    url("/assets/buffalo-venue.jpg") 50% 32% / cover no-repeat;
}

.paper-buffalo-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.paper-buffalo h2 {
  font-size: 48px;
  line-height: 60px;
}

.paper-buffalo-inner > p:not(.paper-eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-size: 18px;
  line-height: 28px;
}

.paper-buffalo .paper-solid-button {
  margin-top: 8px;
}

.paper-agenda .paper-shell {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.paper-agenda-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 24px;
}

.paper-agenda-groups {
  gap: 64px;
}

.paper-agenda-actions {
  align-self: flex-start;
}

.paper-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 64px;
}

.paper-sponsor-grid > div {
  display: flex;
  min-width: 0;
  height: 180px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  background: var(--paper-white);
  border-radius: 24px;
}

.paper-sponsor-grid img {
  width: min(280px, 85%);
  max-height: 104px;
  object-fit: contain;
}

.paper-sponsor-grid .paper-sponsor-logo-wide {
  width: min(380px, 90%);
}

.paper-faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: stretch;
}

.paper-faq-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.paper-faq-intro img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

.paper-faq-list {
  min-width: 0;
}

.paper-faq-list details {
  color: var(--paper-white);
  background: var(--paper-copper);
}

.paper-faq-list summary {
  color: var(--paper-soft-white);
}

.paper-tickets .paper-shell {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.paper-ticket-card {
  display: grid;
  grid-template-columns: minmax(0, 577px) minmax(0, 312px);
  width: min(100%, 899px);
  min-height: 340px;
  margin-inline: auto;
  color: var(--paper-soft-white);
}

.paper-ticket-card .ticket-details {
  border-radius: 24px 0 0 24px;
}

.paper-ticket-card .ticket-price {
  min-width: 0;
  background: url("/assets/ticket-bg.png") center / cover no-repeat;
  border-radius: 0 24px 24px 0;
}

.paper-ticket-button {
  width: 100%;
  height: 48px;
}

.paper-ticket-button > span:first-child {
  flex: 1;
  justify-content: flex-start;
  padding-inline: 18px;
  border-radius: 9px;
}

.paper-ticket-button .pixel-cta-icon {
  width: 48px;
  flex-basis: 48px;
  border-radius: 9px;
}

.site-footer {
  padding-block: 72px;
}

.footer-brand {
  gap: 16px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

@media (max-width: 1050px) {
  .paper-shell {
    width: min(calc(100% - 64px), var(--paper-shell));
  }

  .site-nav .pixel-cta-header {
    width: 100%;
    flex: none;
  }

  .paper-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
  }

  .paper-event-meta {
    flex-wrap: wrap;
  }

  .paper-event-meta i {
    min-width: 60px;
  }

  .paper-audience-grid {
    gap: 24px;
  }

  .paper-about-intro {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  }

  .paper-speaker-window {
    height: 530px;
  }

  .paper-speaker-card {
    flex-basis: 330px;
  }
}

@media (max-width: 800px) {
  .paper-shell {
    width: min(calc(100% - 40px), var(--paper-shell));
  }

  .paper-section {
    padding-block: 72px;
  }

  .paper-section-heading {
    gap: 20px;
  }

  .paper-section-heading h2,
  .paper-buffalo h2 {
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1.12;
  }

  .paper-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding-block: 140px 28px;
    background-position: 56% 35%;
  }

  .paper-hero h1 {
    font-size: clamp(52px, 12vw, 70px);
    line-height: 1.04;
  }

  .paper-event-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    font-size: 18px;
    line-height: 26px;
  }

  .paper-event-meta i {
    display: none;
  }

  .paper-event-meta span {
    grid-column: 1;
  }

  .paper-down-link {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .paper-about-intro,
  .paper-faq-layout {
    grid-template-columns: 1fr;
  }

  .paper-about-copy a {
    margin-top: 0;
  }

  .paper-about-media {
    height: auto;
    aspect-ratio: 1.5;
  }

  .paper-speaker-window {
    height: 500px;
    mask-image: linear-gradient(to right, black 0%, black 88%, transparent 100%);
  }

  .paper-speaker-card {
    flex-basis: min(78vw, 320px);
  }

  .paper-buffalo {
    padding-block: 84px;
  }

  .paper-sponsor-grid {
    gap: 18px;
  }

  .paper-ticket-card {
    grid-template-columns: 1fr;
  }

  .paper-ticket-card .ticket-details {
    border-radius: 24px 24px 0 0;
  }

  .paper-ticket-card .ticket-price {
    min-height: 320px;
    border-radius: 0 0 24px 24px;
  }
}

@media (max-width: 560px) {
  .paper-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .paper-solid-button,
  .paper-outline-button {
    width: 100%;
  }

  .paper-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    background-position: 61% 35%;
  }

  .paper-hero .paper-actions {
    max-width: 280px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .paper-hero-ticket {
    width: auto;
  }

  .paper-hero .paper-outline-button {
    width: auto;
  }

  .paper-audience-grid {
    grid-template-columns: 1fr;
  }

  .paper-audience-card {
    aspect-ratio: 1.16;
  }

  .paper-about .paper-shell,
  .paper-speakers .paper-shell,
  .paper-agenda .paper-shell,
  .paper-tickets .paper-shell {
    gap: 48px;
  }

  .paper-sponsor-grid {
    grid-template-columns: 1fr;
  }

  .paper-sponsor-grid > div {
    height: 150px;
  }

  .paper-agenda-actions {
    width: 100%;
  }
}

@media (max-width: 800px) and (max-height: 700px) {
  .paper-hero {
    padding-block: 108px 20px;
  }

  .paper-hero-inner {
    gap: 24px;
  }

  .paper-hero h1 {
    font-size: clamp(44px, 11vw, 58px);
  }

  .paper-hero .paper-actions {
    gap: 10px;
  }

  .paper-event-meta {
    font-size: 16px;
    line-height: 22px;
  }

  .paper-down-link {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }
}
