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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  color: #11110f;
  background: var(--pitch-accent, #d7ff45);
}

:focus-visible {
  outline: 2px solid var(--pitch-accent, #d7ff45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  color: #fff;
  background: #111;
  font-size: 12px;
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 780ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pitch-trigger {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 16px;
  color: #f7f3eb;
  background: #11110f;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-trigger i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: var(--pitch-accent, #d7ff45);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-style: normal;
  line-height: 1;
}

.pitch-dialog {
  width: min(960px, calc(100% - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  overflow: auto;
  color: #f4f0e8;
  background: #141412;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 20px 24px 0 rgba(0, 0, 0, 0.28);
}

.pitch-dialog::backdrop {
  background: rgba(9, 9, 8, 0.78);
  backdrop-filter: blur(8px);
}

.pitch-dialog[open] {
  animation: pitch-in 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pitch-dialog > * {
  margin-right: clamp(24px, 5vw, 68px);
  margin-left: clamp(24px, 5vw, 68px);
}

.pitch-close {
  position: sticky;
  z-index: 2;
  top: 14px;
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-top: 14px;
  margin-right: 14px;
  margin-left: 0;
  padding: 0;
  color: #141412;
  background: var(--pitch-accent, #d7ff45);
  border: 0;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.pitch-kicker {
  margin-top: clamp(54px, 8vw, 84px);
  margin-bottom: 22px;
  color: var(--pitch-accent, #d7ff45);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.pitch-dialog h2 {
  max-width: 800px;
  margin-top: 0;
  margin-bottom: 26px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.18;
}

.pitch-summary {
  max-width: 720px;
  margin-top: 0;
  margin-bottom: 45px;
  color: rgba(244, 240, 232, 0.7);
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  line-height: 2.05;
}

.pitch-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pitch-meta > div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pitch-meta span,
.pitch-footnote {
  color: rgba(244, 240, 232, 0.45);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pitch-meta p {
  margin: 12px 0 0;
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  line-height: 1.8;
}

.pitch-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.pitch-points article {
  min-height: 250px;
  padding: 24px;
  color: #141412;
  background: #f3efe7;
  border-right: 1px solid #141412;
}

.pitch-points article:last-child {
  border-right: 0;
}

.pitch-points span {
  font-family: "Bodoni Moda", serif;
  font-size: 35px;
  font-style: italic;
}

.pitch-points h3 {
  margin: 44px 0 12px;
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.pitch-points p {
  margin: 0;
  color: #5c584f;
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  line-height: 1.85;
}

.pitch-footnote {
  margin-top: 26px;
  margin-bottom: 46px;
}

.demo-toast {
  position: fixed;
  z-index: 250;
  bottom: 24px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 13px 20px;
  color: #111;
  background: var(--pitch-accent, #d7ff45);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-align: center;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.demo-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes pitch-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .pitch-trigger {
    right: 12px;
    bottom: 12px;
  }

  .pitch-dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
  }

  .pitch-meta,
  .pitch-points {
    grid-template-columns: 1fr;
  }

  .pitch-points article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #141412;
  }

  .pitch-points h3 {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
