:root {
  --paper: #f1e7cc;
  --paper-light: #f7eed8;
  --paper-shadow: #d2c3a3;
  --ink: #1d1a16;
  --ink-soft: #5d5548;
  --rule: rgba(29, 26, 22, 0.62);
  --blue: #2854a6;
  --red: #9b332b;
  --key-cream: #e6d8b9;
  --key-blue: #c7d4d1;
  --key-yellow: #ddc789;
  --key-gray: #d3cec1;
  --typewriter: "Special Elite", "Courier New", monospace;
  --display: "DM Serif Display", Georgia, serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #d7c9aa;
  font-family: var(--typewriter);
  font-synthesis: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.paper {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  min-height: 100vh;
  margin: 18px auto;
  overflow: hidden;
  background-color: var(--paper);
  box-shadow: 0 10px 48px rgba(68, 54, 29, 0.22);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 30px;
  padding: 30px 0 23px;
  border-bottom: 2px solid var(--ink);
}

.wordmark,
.founder-link {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.founder-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.founder-link svg,
.founder-copy a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.hero {
  position: relative;
  padding: 72px 58px 52px;
  isolation: isolate;
}

.hero-copy {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  line-height: 0;
}

.hero h1 img {
  display: block;
  width: min(680px, 78%);
  height: auto;
  margin: 0 auto;
}

.institute-name {
  position: relative;
  display: inline-block;
  margin: 23px 0 0;
  padding: 0 4px 15px;
  font-size: clamp(12px, 1.7vw, 20px);
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--blue);
}

.blue-registration-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin: -6px auto 28px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-sizing: content-box;
}

.tagline {
  margin: 0;
  font-size: clamp(13px, 1.8vw, 19px);
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.experiment {
  position: relative;
  max-width: 930px;
  margin: 60px auto 0;
  text-align: center;
}

.syllable-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.syllable-key {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 0.92;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--key-cream);
  box-shadow:
    0 10px 0 var(--ink),
    0 17px 20px rgba(54, 45, 30, 0.24),
    inset 5px 5px 0 rgba(255, 255, 255, 0.42),
    inset -7px -8px 0 rgba(77, 65, 42, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.syllable-key::before {
  position: absolute;
  inset: 9px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(73, 60, 37, 0.08);
}

.syllable-key span {
  position: relative;
  z-index: 1;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(32px, 4.3vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.syllable-key:hover {
  filter: brightness(1.035);
  transform: translateY(-3px);
}

.syllable-key:focus-visible,
.pronounce-button:focus-visible,
.evidence-photo:focus-visible,
a:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 5px;
}

.syllable-key.is-active,
.syllable-key:active {
  box-shadow:
    0 3px 0 var(--ink),
    0 6px 10px rgba(54, 45, 30, 0.2),
    inset 5px 5px 0 rgba(255, 255, 255, 0.35),
    inset -7px -8px 0 rgba(77, 65, 42, 0.11);
  transform: translateY(8px) scale(0.985);
}

.key-ji {
  background: var(--key-blue);
}

.key-pi {
  background: var(--key-yellow);
}

.key-ti {
  background: var(--key-gray);
}

.stamp {
  position: absolute;
  top: -95px;
  right: -50px;
  z-index: 3;
  display: flex;
  width: 205px;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--red);
  border: 4px double var(--red);
  border-radius: 8px;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: 0.03em;
  opacity: 0.78;
  transform: rotate(-8deg);
  transition: opacity 260ms ease, transform 550ms var(--ease-out);
}

.stamp strong {
  margin: 6px 0;
  font-size: 24px;
}

.stamp.is-fresh {
  opacity: 1;
  animation: stamp-drop 580ms var(--ease-out) both;
}

@keyframes stamp-drop {
  0% { transform: translateY(-35px) rotate(-8deg) scale(1.35); opacity: 0; }
  65% { transform: translateY(3px) rotate(-8deg) scale(0.95); opacity: 1; }
  100% { transform: translateY(0) rotate(-8deg) scale(1); opacity: 1; }
}

.pronounce-button {
  display: inline-flex;
  min-width: min(500px, 82%);
  margin: 66px auto 0;
  padding: 22px 34px 18px;
  cursor: pointer;
  color: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: 0 6px 0 #0a0908, 0 10px 18px rgba(46, 38, 25, 0.18);
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(16px, 2.2vw, 25px);
  letter-spacing: 0.04em;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.pronounce-button:hover {
  transform: translateY(-2px);
}

.pronounce-button:active,
.pronounce-button[aria-pressed="true"] {
  box-shadow: 0 2px 0 #0a0908;
  transform: translateY(4px);
}

.experiment-status {
  min-height: 24px;
  margin: 17px 0 26px;
  color: var(--blue);
  font-family: var(--hand);
  font-size: 23px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.experiment-status.is-visible {
  opacity: 1;
}

.results {
  display: grid;
  max-width: 750px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid var(--ink);
  background: rgba(247, 238, 216, 0.5);
}

.results div {
  display: flex;
  min-width: 0;
  padding: 14px 28px 10px;
  align-items: baseline;
  justify-content: space-around;
  gap: 16px;
}

.results div + div {
  border-left: 1px solid var(--ink);
}

.results span {
  font-size: clamp(12px, 1.6vw, 18px);
}

.results strong {
  font-family: var(--typewriter);
  font-size: clamp(23px, 3vw, 35px);
  font-weight: 400;
}

.blue-ink {
  color: var(--blue);
}

.red-ink {
  color: var(--red);
}

.evidence {
  margin: 0 30px;
  border: 1.5px solid var(--rule);
  background: rgba(247, 238, 216, 0.28);
}

.section-heading {
  padding: 25px 28px 20px;
  text-align: center;
  border-bottom: 1.5px solid var(--rule);
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: 0.01em;
}

.section-rule {
  display: grid;
  margin-top: 14px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
}

.section-rule span {
  height: 1px;
  background: var(--rule);
}

.section-rule p {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
}

.evidence-pair {
  display: grid;
  padding: 30px 32px 36px;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: 34px;
}

.artifact-record,
.platform-record,
.research-note {
  position: relative;
  min-width: 0;
}

.platform-record {
  padding-left: 34px;
  border-left: 1px dotted rgba(29, 26, 22, 0.48);
}

.artifact-record h3,
.platform-record h3,
.research-note h3,
.founding-log h3 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.artifact-record h3 span,
.platform-record h3 span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
}

.evidence-photo {
  position: relative;
  display: block;
  width: min(380px, 93%);
  aspect-ratio: 3 / 4;
  margin: 26px auto 24px;
  padding: 10px;
  color: inherit;
  border: 1px solid rgba(29, 26, 22, 0.48);
  background: #f8f2e5;
  box-shadow: 3px 8px 9px rgba(63, 52, 34, 0.22);
  text-decoration: none;
  transform: rotate(-0.7deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.evidence-photo:hover {
  box-shadow: 5px 13px 18px rgba(63, 52, 34, 0.25);
  transform: rotate(-0.2deg) translateY(-3px);
}

.evidence-image {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(29, 26, 22, 0.22);
  background-image: url("/assets/chatjipiti-instagram-source.png");
  background-repeat: no-repeat;
  background-position: center 34%;
  background-size: 162% auto;
}

.tape {
  position: absolute;
  z-index: 3;
  width: 78px;
  height: 24px;
  background: rgba(225, 211, 177, 0.72);
  box-shadow: inset 0 0 10px rgba(125, 107, 73, 0.11);
}

.tape-top {
  top: -12px;
  left: -23px;
  transform: rotate(-38deg);
}

.tape-bottom {
  right: -23px;
  bottom: -4px;
  transform: rotate(-36deg);
}

.paperclip {
  position: absolute;
  top: 45%;
  left: -18px;
  z-index: 4;
  width: 21px;
  height: 65px;
  border: 3px solid #79776e;
  border-radius: 14px;
  box-shadow: inset 0 0 0 3px #f8f2e5;
  transform: rotate(-10deg);
}

.artifact-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
}

.annotation-post {
  position: absolute;
  top: 442px;
  right: -4px;
  margin: 0;
  color: var(--blue);
  font-family: var(--hand);
  font-size: 25px;
  line-height: 0.92;
  transform: rotate(-2deg);
}

.annotation-post svg {
  position: absolute;
  right: 50px;
  bottom: 51px;
  width: 72px;
  height: 58px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.platform-file {
  overflow: hidden;
  border: 1.5px solid rgba(29, 26, 22, 0.72);
  background: #f8f4eb;
  box-shadow: 4px 8px 0 rgba(29, 26, 22, 0.1);
}

.platform-file-tab {
  display: grid;
  min-height: 48px;
  padding: 10px 13px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  color: var(--paper-light);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.platform-file-tab > span:last-child {
  color: #8cc192;
}

.instagram-glyph {
  position: relative;
  width: 19px;
  height: 19px;
  border: 1.8px solid currentColor;
  border-radius: 5px;
}

.instagram-glyph::before,
.instagram-glyph::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.instagram-glyph::before {
  inset: 4px;
  border: 1.6px solid currentColor;
}

.instagram-glyph::after {
  top: 3px;
  right: 3px;
  width: 2px;
  height: 2px;
  background: currentColor;
}

.embed-shell {
  position: relative;
  min-height: 650px;
  padding: 12px 8px 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(248, 244, 235, 0.68), rgba(248, 244, 235, 0.68)),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(40, 84, 166, 0.08) 27px);
}

.embed-state {
  position: absolute;
  inset: 48% 12px auto;
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  transition: opacity 180ms ease;
}

.embed-shell.is-loaded .embed-state {
  opacity: 0;
}

.instagram-media {
  position: relative;
  z-index: 1;
  min-width: 0 !important;
  max-width: 540px !important;
  margin: 0 auto !important;
}

.embed-fallback {
  margin: 0;
  padding: 12px 16px 10px;
  color: var(--ink-soft);
  border-top: 1px dotted var(--rule);
  background: var(--paper-light);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.embed-fallback a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.source-ledger {
  display: grid;
  margin: 0;
  padding: 0 32px 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-ledger div {
  min-width: 0;
  padding: 11px 14px 8px;
  border-top: 1px dotted rgba(29, 26, 22, 0.6);
  border-bottom: 1px dotted rgba(29, 26, 22, 0.6);
}

.source-ledger div + div {
  border-left: 1px dotted rgba(29, 26, 22, 0.35);
}

.source-ledger dt,
.source-ledger dd {
  margin: 0;
  font-size: 14px;
}

.source-ledger a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.research-note {
  padding: 27px 32px 34px;
  border-top: 1.5px solid var(--rule);
}

.research-note h3 {
  margin-bottom: 18px;
}

.notebook-page {
  position: relative;
  display: grid;
  min-height: 270px;
  padding: 35px 38px 22px 65px;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  align-items: center;
  gap: 46px;
  color: var(--blue);
  background-color: #ede2c9;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 32px,
    rgba(72, 120, 173, 0.18) 33px
  );
  box-shadow: 2px 7px 13px rgba(60, 49, 30, 0.16);
  font-family: var(--hand);
  transform: rotate(0.7deg);
}

.notebook-holes {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 11px;
  width: 24px;
  background-image: radial-gradient(circle at center, var(--paper) 0 5px, rgba(80, 68, 48, 0.25) 5.5px 6.5px, transparent 7px);
  background-size: 24px 31px;
}

.notebook-page p {
  margin: 0 0 25px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.22;
}

.notebook-page strong {
  font-weight: 700;
  text-decoration: underline double;
  text-underline-offset: 5px;
}

.usefulness-chart {
  width: 100%;
  margin-top: 0;
}

.usefulness-chart svg {
  display: block;
  width: 100%;
  overflow: visible;
  font-family: var(--hand);
  font-size: 17px;
}

.usefulness-chart .axis,
.usefulness-chart .tick {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 2;
}

.usefulness-chart .curve {
  fill: none;
  stroke: var(--blue);
  stroke-dasharray: 9 9;
  stroke-linecap: round;
  stroke-width: 3;
}

.usefulness-chart text {
  fill: var(--blue);
}

.founding-log {
  padding: 24px 28px 20px;
  border-top: 1.5px solid var(--rule);
}

.founding-log h3 {
  margin-bottom: 14px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.founding-log ol {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.founding-log ol::before {
  position: absolute;
  top: 13px;
  bottom: 14px;
  left: 38px;
  width: 1px;
  content: "";
  background: var(--ink);
}

.founding-log li {
  position: relative;
  display: grid;
  min-height: 46px;
  padding: 11px 0 7px 70px;
  align-items: baseline;
  grid-template-columns: 205px 200px 1fr;
  border-bottom: 1px dotted rgba(29, 26, 22, 0.3);
}

.founding-log li::before {
  position: absolute;
  top: 17px;
  left: 33px;
  width: 9px;
  height: 9px;
  content: "";
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
}

.red-check {
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--red);
  font-family: var(--hand);
  font-size: 44px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.open-circle {
  position: absolute;
  top: 15px;
  left: 32px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
}

.founding-log time,
.founding-log strong,
.founding-log p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.handwritten-log {
  color: var(--blue);
  font-family: var(--hand);
  font-size: 25px !important;
  font-weight: 600 !important;
  transform: rotate(-1deg);
}

.founder {
  display: grid;
  min-height: 275px;
  padding: 40px 30px 32px;
  align-items: center;
  grid-template-columns: 230px 1fr 270px;
  gap: 30px;
  border-top: 1.5px solid var(--rule);
}

.founder-card {
  position: relative;
  display: block;
  width: 220px;
  padding: 10px 10px 13px;
  color: var(--ink);
  border: 1px solid rgba(29, 26, 22, 0.3);
  background: #eee4cc;
  box-shadow: 2px 6px 12px rgba(60, 49, 30, 0.18);
  text-decoration: none;
  transform: rotate(-2.5deg);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.founder-card:hover {
  box-shadow: 4px 10px 17px rgba(60, 49, 30, 0.23);
  transform: rotate(-1.2deg) translateY(-2px);
}

.founder-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(29, 26, 22, 0.28);
  object-fit: cover;
  filter: saturate(0.8) contrast(0.96) sepia(0.08);
}

.founder-tape {
  position: absolute;
  z-index: 2;
  top: -10px;
  left: 72px;
  width: 75px;
  height: 24px;
  background: rgba(225, 211, 177, 0.78);
  transform: rotate(3deg);
}

.photo-label {
  display: flex;
  padding: 11px 3px 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.photo-label > span:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.photo-label strong {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1;
}

.photo-label small {
  color: var(--ink-soft);
  font-size: 7px;
  letter-spacing: 0.03em;
}

.four-dot-mark {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 8px);
  gap: 4px 6px;
}

.four-dot-mark i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.founder-copy h2 {
  margin: 0 0 22px;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.25;
}

.founder-copy > a {
  display: inline-flex;
  color: var(--blue);
  align-items: center;
  gap: 8px;
  font-size: 16px;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.founder-note {
  position: relative;
  width: fit-content;
  margin: 31px 0 0 70px;
  color: var(--blue);
  font-family: var(--hand);
  font-size: 25px;
  line-height: 0.92;
  transform: rotate(-3deg);
}

.founder-note svg {
  position: absolute;
  right: calc(100% + 3px);
  bottom: 5px;
  width: 72px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.signature {
  margin: 0;
  color: var(--blue);
  font-family: var(--hand);
  font-size: 88px;
  line-height: 1;
  text-align: center;
  transform: rotate(-7deg);
}

.signature::after {
  display: block;
  width: 170px;
  height: 2px;
  margin: -9px auto 0;
  content: "";
  background: var(--blue);
  transform: rotate(-4deg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 19px 30px 24px;
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .paper {
    width: min(100% - 18px, 760px);
    margin: 9px auto;
  }

  .hero {
    padding-inline: 38px;
  }

  .stamp {
    top: -80px;
    right: -12px;
    width: 165px;
    min-height: 98px;
    font-size: 17px;
  }

  .stamp strong {
    font-size: 20px;
  }

  .syllable-keys {
    gap: 16px;
  }

  .evidence-pair {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .platform-record {
    padding-top: 34px;
    padding-left: 0;
    border-top: 1px dotted rgba(29, 26, 22, 0.48);
    border-left: 0;
  }

  .evidence-photo {
    width: min(390px, 82%);
  }

  .annotation-post {
    right: 10%;
  }

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

  .source-ledger div:nth-child(3) {
    border-left: 0;
  }

  .source-ledger div:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .notebook-page {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .usefulness-chart {
    max-width: 500px;
    margin-inline: auto;
  }

  .founding-log li {
    grid-template-columns: 160px 170px 1fr;
  }

  .founder {
    grid-template-columns: 190px 1fr;
  }

  .founder-card {
    width: 180px;
  }

  .signature {
    display: none;
  }
}

@media (max-width: 620px) {
  .paper {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .site-header {
    margin-inline: 18px;
    padding: 20px 0 16px;
  }

  .wordmark,
  .founder-link {
    font-size: 12px;
  }

  .founder-link svg {
    width: 14px;
    height: 14px;
  }

  .hero {
    padding: 54px 18px 38px;
  }

  .hero h1 img {
    width: min(100%, 360px);
  }

  .institute-name {
    max-width: 335px;
    font-size: 11px;
    line-height: 1.5;
  }

  .tagline {
    max-width: 300px;
    margin-inline: auto;
    font-size: 11px;
  }

  .experiment {
    margin-top: 42px;
  }

  .syllable-keys {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
  }

  .syllable-key {
    aspect-ratio: 1 / 0.78;
  }

  .syllable-key span {
    font-size: 35px;
  }

  .stamp {
    position: relative;
    top: auto;
    right: auto;
    width: 162px;
    min-height: 88px;
    margin: 0 0 25px auto;
    font-size: 16px;
  }

  .stamp strong {
    margin: 3px 0;
    font-size: 18px;
  }

  .pronounce-button {
    width: 92%;
    min-width: 0;
    margin-top: 47px;
    padding: 18px 12px 15px;
    font-size: 15px;
  }

  .experiment-status {
    font-size: 20px;
  }

  .results {
    grid-template-columns: 1fr;
  }

  .results div {
    padding: 12px 18px 9px;
  }

  .results div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .evidence {
    margin-inline: 10px;
  }

  .section-heading {
    padding-inline: 14px;
  }

  .section-rule {
    gap: 8px;
  }

  .section-rule p {
    font-size: 11px;
  }

  .evidence-pair {
    padding: 27px 22px 30px;
  }

  .evidence-photo {
    width: min(292px, 88%);
  }

  .annotation-post {
    top: 360px;
    right: 2px;
    font-size: 21px;
  }

  .annotation-post svg {
    right: 42px;
    bottom: 45px;
    width: 58px;
  }

  .platform-file-tab {
    font-size: 9px;
  }

  .embed-shell {
    min-height: 590px;
    padding-inline: 0;
  }

  .source-ledger {
    padding: 0 22px 27px;
    grid-template-columns: 1fr;
  }

  .source-ledger div,
  .source-ledger div:nth-child(-n + 2) {
    border-bottom: 1px dotted rgba(29, 26, 22, 0.6);
  }

  .source-ledger div + div,
  .source-ledger div:nth-child(3) {
    border-top: 0;
    border-left: 0;
  }

  .source-ledger div {
    display: grid;
    grid-template-columns: 88px 1fr;
  }

  .research-note {
    padding: 25px 22px 30px;
  }

  .notebook-page {
    min-height: 0;
    padding: 38px 18px 18px 47px;
    gap: 2px;
  }

  .notebook-page p {
    font-size: 20px;
  }

  .founding-log {
    padding-inline: 16px;
  }

  .founding-log ol::before {
    left: 21px;
  }

  .founding-log li {
    padding: 12px 0 12px 49px;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .founding-log li::before,
  .open-circle {
    left: 16px;
  }

  .red-check {
    left: -9px;
  }

  .founding-log p {
    color: var(--ink-soft);
  }

  .founder {
    padding: 34px 22px 29px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .founder-copy h2 {
    font-size: 17px;
  }

  .founder-note {
    margin: 35px auto 0;
  }

  .founder-note svg {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    gap: 9px;
    align-items: center;
    font-size: 9px;
    text-align: center;
  }
}

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

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