/* Hallmark · macrostructure: Photographic · tone: editorial-warm
 * theme: Paper (ground #f1f5f6 · copper accent · teal-ink) · anchor hue: copper ~45°
 * display: Fraunces · body/UI: Inter · pre-emit critique: P5 H5 E5 S5 R5 V4
 */

:root {
  --paper-ink: var(--ink);
  --paper-copy: var(--copy);
  --paper-navy: var(--navy);
  --paper-copper: var(--copper);
  --paper-peach: var(--peach);
  --paper-mist: var(--mist);
  --paper-ground: var(--ground);
  --paper-white: var(--white);
  --paper-soft-white: var(--off-white);
  --paper-black: var(--ink);
  --paper-shell: var(--container);
}

html,
body {
  overflow-x: clip;
}

body.home-page {
  background: var(--paper-navy);
}

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);
}

/* Break the every-section-padded-the-same metronome. */
.paper-audience {
  padding-block: 84px 104px;
}

.paper-tickets {
  padding-block: 96px 124px;
}

.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;
  font-family: var(--font-display);
  overflow-wrap: anywhere;
  font-size: var(--type-section-size);
  font-style: normal;
  font-weight: var(--type-section-weight);
  line-height: var(--type-section-line);
  letter-spacing: var(--type-section-letter);
}

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

.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: var(--font-weight-semibold);
}

.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: var(--type-button-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-button-line);
  white-space: nowrap;
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

.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: var(--paper-black);
  font-size: var(--type-copy-size);
  font-weight: var(--font-weight-bold);
  line-height: var(--type-action-line);
  white-space: nowrap;
  transition:
    transform var(--press-out),
    filter var(--press-out);
}

.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: var(--paper-black);
}

.pixel-cta-icon i {
  position: absolute;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--paper-black);
  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: var(--type-meta-size);
  line-height: var(--type-page-label-line);
}

.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: calc(120px + env(safe-area-inset-top)) max(40px, env(safe-area-inset-bottom));
  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-1600.webp") 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;
  font-family: var(--font-display);
  overflow-wrap: anywhere;
  font-size: var(--type-hero-size);
  font-style: normal;
  font-weight: var(--font-weight-hero);
  line-height: var(--type-hero-line);
  letter-spacing: var(--type-hero-letter);
}

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

.paper-event-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-line);
  letter-spacing: var(--type-lead-letter);
}

.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: var(--type-card-title-size);
  font-style: normal;
  font-weight: var(--font-weight-regular);
  line-height: var(--type-card-title-line);
  letter-spacing: var(--type-lead-letter);
  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: var(--type-button-size);
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
}

.paper-about-media-frame {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--paper-ground);
  border-radius: 24px;
}

.paper-about-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.paper-about-video-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--paper-white);
  cursor: pointer;
  background: rgb(11 30 44 / 78%);
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgb(11 30 44 / 24%);
  backdrop-filter: blur(10px);
  transition:
    transform var(--press-in) var(--ease-smooth-out),
    background-color var(--duration-quick) var(--ease-smooth-out);
}

.paper-about-video-toggle:hover {
  background: rgb(11 30 44 / 92%);
}

.paper-about-video-toggle:active {
  transform: scale(0.94);
}

.paper-about-video-toggle:focus-visible {
  outline: 3px solid var(--paper-white);
  outline-offset: 3px;
}

.paper-about-video-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.paper-about-video-pause,
.paper-about-video-toggle[data-playing="true"] .paper-about-video-play {
  display: none;
}

.paper-about-video-toggle[data-playing="true"] .paper-about-video-pause {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .paper-about-video-toggle {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .paper-about-video-toggle {
    background: var(--paper-navy);
    backdrop-filter: none;
  }
}

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

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

.paper-speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  gap: 32px 20px;
  align-items: start;
  justify-content: start;
}

.paper-presenter-card {
  display: flex;
  width: 360px;
  height: 520px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--paper-white);
  border-radius: 12px;
  outline: 0;
  transition:
    box-shadow 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.paper-presenter-card:focus-visible {
  box-shadow: 0 18px 46px rgb(20 48 58 / 10%);
}

.paper-presenter-card:focus-visible {
  outline: 3px solid var(--paper-copper);
  outline-offset: 6px;
}

.paper-presenter-media-frame {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--paper-mist);
  border-radius: 10px;
}

.paper-presenter-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  transition: transform var(--duration-fast) var(--ease-smooth-out);
}

.paper-presenter-card:focus-visible .paper-presenter-media {
  transform: scale(1.055);
}

.paper-presenter-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.paper-presenter-card h3 {
  margin: 0;
  color: var(--paper-black);
  font-size: var(--type-speaker-name-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-speaker-name-line);
  letter-spacing: var(--type-speaker-name-letter);
}

.paper-presenter-card p {
  margin: 0;
  color: var(--paper-ink);
  font-size: var(--type-speaker-title-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--type-speaker-title-line);
  letter-spacing: var(--type-speaker-title-letter);
}

.paper-presenter-card .paper-team-note {
  color: var(--muted);
  font-size: var(--type-speaker-title-size);
  line-height: var(--type-speaker-title-line);
  letter-spacing: var(--type-speaker-title-letter);
}

.paper-presenter-card-wide {
  width: 740px;
  grid-column: span 2;
}

.paper-presenter-tilt {
  width: 360px;
}

.paper-presenter-tilt-wide {
  width: 740px;
  grid-column: span 2;
}

/* The outer wrapper is created only for precise hover pointers. Touch devices
   keep native vertical scrolling and receive the flat card layout. */
.t-tilt { touch-action: auto; }
/* The card tilts toward the pointer via rotateX/rotateY fed
   from JS; on leave it eases back to flat. A separate
   .is-tilting class swaps in a short linear follow while the
   pointer moves so the tilt tracks the cursor 1:1. */
.t-tilt-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transform:
    perspective(var(--tilt-perspective))
    rotateX(var(--tilt-rx, 0deg))
    rotateY(var(--tilt-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform var(--tilt-return) var(--tilt-return-ease);
}
.t-tilt-card.is-tilting {
  transition: transform var(--tilt-follow) var(--tilt-follow-ease);
  will-change: transform;
}
/* Cursor-tracked glare: layered soft circles that add like
   light (screen blend) at the pointer position. */
.t-tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle 95px at var(--tilt-gx, 50%) var(--tilt-gy, 50%),
      rgba(255,255,255,0.48), rgba(255,255,255,0.06) 52%, rgba(255,255,255,0) 84%),
    radial-gradient(circle 200px at var(--tilt-gx, 50%) var(--tilt-gy, 50%),
      rgba(255,255,255,0.22), rgba(255,255,255,0.04) 58%, rgba(255,255,255,0) 78%),
    radial-gradient(circle 360px at var(--tilt-gx, 50%) var(--tilt-gy, 50%),
      rgba(255,255,255,0.10), rgba(255,255,255,0) 88%);
  transition: opacity var(--tilt-glare-fade) var(--tilt-glare-ease);
}
.t-tilt.is-hover .t-tilt-glare { opacity: var(--tilt-glare-opacity); }

.paper-presenter-card.t-tilt-card {
  transition:
    transform var(--tilt-return) var(--tilt-return-ease),
    box-shadow 220ms var(--ease-out);
}

.paper-presenter-card.t-tilt-card.is-tilting {
  transition:
    transform var(--tilt-follow) var(--tilt-follow-ease),
    box-shadow 220ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .t-tilt-card { transform: none !important; transition: none !important; }
}

.paper-presenter-team-card {
  gap: 14px;
}

.paper-team-logo-media {
  display: flex;
  height: 286px;
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--paper-ground);
}

.paper-team-logo-media img {
  width: min(100%, 644px);
  max-height: 210px;
  object-fit: contain;
  transition: transform var(--duration-fast) var(--ease-smooth-out);
}

.paper-presenter-card:focus-visible .paper-team-logo-media img {
  transform: scale(1.035);
}

.paper-team-copy {
  width: 100%;
  gap: 12px;
}

.paper-team-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.paper-team-heading h3 {
  font-size: var(--type-speaker-name-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-speaker-name-line);
}

.paper-team-heading p {
  color: var(--muted);
  font-size: var(--type-speaker-title-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--type-speaker-title-line);
  letter-spacing: var(--type-speaker-title-letter);
}

.paper-team-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.paper-team-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.paper-team-detail h4 {
  margin: 0;
  color: var(--paper-black);
  font-size: var(--type-speaker-detail-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-speaker-detail-line);
  letter-spacing: var(--type-speaker-title-letter);
}

.paper-team-detail p {
  color: var(--paper-ink);
  font-size: var(--type-speaker-detail-size);
  line-height: var(--type-speaker-detail-line);
  letter-spacing: var(--type-speaker-title-letter);
}

.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-1600.webp") 50% 32% / cover no-repeat;
}

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

.paper-buffalo h2 {
  font-size: var(--type-section-size);
  line-height: var(--type-section-line);
}

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

.paper-venue-address {
  margin: 0;
  color: var(--paper-white);
  font-style: normal;
  font-size: var(--type-caption-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-caption-line);
  letter-spacing: var(--type-caption-letter);
}

.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-card {
  display: flex;
  position: relative;
  min-width: 0;
  height: 180px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  background: var(--paper-white);
  border: 1px solid rgb(185 124 69 / 0%);
  border-radius: 24px;
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}

.paper-sponsor-grid img {
  width: min(280px, 85%);
  max-height: 104px;
  object-fit: contain;
  transition:
    transform 180ms var(--ease-out),
    filter 180ms var(--ease-out);
}

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

.paper-sponsor-action {
  display: inline-flex;
  position: absolute;
  bottom: 18px;
  left: 50%;
  align-items: center;
  gap: 6px;
  color: var(--paper-copy);
  font-size: var(--type-meta-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-meta-line);
  letter-spacing: -0.01em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    color 180ms var(--ease-out),
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.paper-sponsor-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
  transition: transform 180ms var(--ease-out);
}

.paper-sponsor-card:focus-visible {
  transform: translateY(-3px);
  background: rgb(255 255 255 / 96%);
  border-color: rgb(185 124 69 / 45%);
  box-shadow: 0 18px 42px rgb(20 48 58 / 10%);
}

.paper-sponsor-card:focus-visible img {
  transform: translateY(-3px);
  filter: saturate(1.06);
}

.paper-sponsor-card:focus-visible .paper-sponsor-action {
  color: var(--paper-copper);
  opacity: 1;
  transform: translate(-50%, 0);
}

.paper-sponsor-card:focus-visible .paper-sponsor-action svg {
  transform: translate(2px, -2px);
}

.paper-sponsor-card:focus-visible {
  outline: 3px solid rgb(185 124 69 / 28%);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .paper-presenter-card:hover {
    box-shadow: 0 18px 46px rgb(20 48 58 / 10%);
  }

  .paper-presenter-card:hover .paper-presenter-media {
    transform: scale(1.055);
    will-change: transform;
  }

  .paper-presenter-card:hover .paper-team-logo-media img {
    transform: scale(1.035);
  }

  .paper-sponsor-card:hover {
    transform: translateY(-3px);
    background: rgb(255 255 255 / 96%);
    border-color: rgb(185 124 69 / 45%);
    box-shadow: 0 18px 42px rgb(20 48 58 / 10%);
  }

  .paper-sponsor-card:hover img {
    transform: translateY(-3px);
    filter: saturate(1.06);
  }

  .paper-sponsor-card:hover .paper-sponsor-action {
    color: var(--paper-copper);
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .paper-sponsor-card:hover .paper-sponsor-action svg {
    transform: translate(2px, -2px);
  }
}

.paper-solid-button:active,
.paper-outline-button:active,
.pixel-cta:active,
.paper-presenter-card:active,
.paper-sponsor-card:active {
  filter: brightness(0.96);
  transform: scale(var(--press-scale));
  transition-duration: var(--press-in);
}

@media (hover: none), (pointer: coarse) {
  .paper-sponsor-action {
    display: none;
  }
}

.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 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Accordion expand (transitions.dev 21): grid-rows height + chevron flip */
.paper-faq-list .t-acc {
  color: var(--paper-white);
  background: var(--paper-copper);
  border-radius: 14px;
  overflow: hidden;
}

.paper-faq-list .t-acc-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  color: var(--paper-soft-white);
  font: inherit;
  font-weight: var(--font-weight-medium, 500);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.paper-faq-list .t-acc-chevron {
  display: inline-flex;
  flex-shrink: 0;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}

.paper-faq-list .t-acc-chevron svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paper-faq-list .t-acc-chevron path {
  vector-effect: non-scaling-stroke;
}

.paper-faq-list .t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

.paper-faq-list .t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}

.paper-faq-list .t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}

.paper-faq-list .t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--acc-collapse) var(--acc-ease);
}

.paper-faq-list .t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  transition: opacity var(--acc-expand) var(--acc-ease);
}

.paper-faq-list .t-acc-panel-inner p {
  margin: 0;
  padding: 0 24px 22px;
}

@media (prefers-reduced-motion: reduce) {
  .paper-faq-list .t-acc-panel,
  .paper-faq-list .t-acc-panel-inner,
  .paper-faq-list .t-acc-chevron {
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  .paper-presenter-card,
  .paper-sponsor-card,
  .paper-ticket-card,
  .paper-faq-list .t-acc {
    border: 2px solid currentColor;
  }
}

.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.webp") 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: 72px 0 max(72px, env(safe-area-inset-bottom));
}

.footer-brand {
  gap: 16px;
}

.footer-brand img {
  width: min(220px, 100%);
  height: auto;
}

@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-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .paper-presenter-card {
    width: 100%;
  }

  .paper-presenter-tilt {
    width: 100%;
  }

  .paper-presenter-card-wide {
    width: 100%;
  }

  .paper-presenter-tilt-wide {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .paper-sponsor-action {
    display: none;
  }

  .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: var(--type-section-mobile-size);
    line-height: 1.12;
  }

  .paper-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding-block: calc(140px + env(safe-area-inset-top)) max(28px, env(safe-area-inset-bottom));
    background-position: 56% 35%;
    background-image:
      linear-gradient(100deg, rgb(33 56 62 / 88%) 0%, rgb(33 56 62 / 62%) 52%, rgb(33 56 62 / 38%) 100%),
      url("/assets/hero-800.webp");
  }

  .paper-hero h1 {
    font-size: var(--type-hero-mobile-size);
    line-height: var(--type-hero-mobile-line);
  }

  .paper-event-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    font-size: var(--type-body-size);
    line-height: var(--type-eyebrow-line);
  }

  .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-frame {
    height: auto;
    aspect-ratio: 1.5;
  }

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

  .paper-presenter-card {
    height: 560px;
  }

  .paper-presenter-team-card {
    height: 520px;
  }

  .paper-team-logo-media {
    height: 266px;
    padding: 24px;
  }

  .paper-buffalo {
    padding-block: 84px;
    background-image:
      linear-gradient(rgb(40 70 79 / 78%), rgb(40 70 79 / 62%)),
      url("/assets/buffalo-venue-800.webp");
  }

  .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-speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .paper-presenter-card {
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 8px;
    padding: 9px;
    justify-self: stretch;
    border-radius: 10px;
  }

  .paper-presenter-media-frame {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
  }

  .paper-presenter-copy {
    gap: 4px;
  }

  .paper-presenter-card h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .paper-presenter-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .paper-presenter-card-wide {
    grid-column: 1 / -1;
  }

  .paper-presenter-tilt {
    width: 100%;
    justify-self: stretch;
  }

  .paper-presenter-tilt-wide {
    grid-column: 1 / -1;
  }

  .paper-presenter-team-card {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-column: 1 / -1;
    padding: 12px;
  }

  .paper-team-logo-media {
    height: auto;
    aspect-ratio: 5 / 2.2;
    padding: 16px;
  }

  .paper-team-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .paper-team-detail h4 {
    font-size: 12px;
    line-height: 1.3;
  }

  .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: min(100%, 340px);
    flex-direction: row;
    flex-wrap: wrap;
  }

  .paper-hero-ticket {
    width: 100%;
  }

  .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-card {
    height: 150px;
    padding: 24px;
  }

  .paper-sponsor-grid img {
    max-height: 86px;
  }

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

@media (max-width: 800px) and (max-height: 700px) {
  .paper-hero {
    padding-block: calc(108px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-bottom));
  }

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

  .paper-hero h1 {
    font-size: var(--type-display-size);
  }

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

  .paper-event-meta {
    font-size: var(--type-copy-size);
    line-height: var(--type-button-line);
  }

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