@font-face {
  font-family: "Bricolage Local";
  src: url("./fonts/Bricolage.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Plex Mono Local";
  src: url("./fonts/PlexMono.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #181517;
  --ink-soft: #2b252b;
  --paper: #f1eadf;
  --paper-deep: #ddd2c1;
  --coral: #ff6b57;
  --mint: #9ee8cf;
  --violet: #a68bff;
  --yellow: #f4ca58;
  --white: #fffaf2;
  --line: rgba(255, 250, 242, .22);
  --line-dark: rgba(24, 21, 23, .2);
  --display: "Bricolage Local", "Trebuchet MS", sans-serif;
  --mono: "Plex Mono Local", "SFMono-Regular", Consolas, monospace;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  border: 2px solid var(--yellow);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
}

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

#top {
  position: absolute;
  top: 0;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-size: 22px;
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 22px;
  color: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.language-links {
  display: flex;
  align-items: center;
}

.main-nav a,
.language-link {
  text-decoration: none;
}

.main-nav a:hover,
.language-link:hover {
  color: var(--mint);
}

.language-link {
  min-width: 42px;
  padding: 8px 0;
  border-bottom: 1px solid var(--coral);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.page-band {
  padding-right: clamp(20px, 5vw, 76px);
  padding-left: clamp(20px, 5vw, 76px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  max-width: var(--max);
  min-height: 690px;
  margin: 0 auto;
  padding-top: clamp(60px, 9vw, 124px);
  padding-bottom: clamp(70px, 10vw, 136px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -.04em;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 8.7vw, 8.8rem);
  line-height: .88;
}

h2 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  line-height: .95;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--paper-deep);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.4;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link {
  background: var(--mint);
  color: var(--ink);
}

.primary-link:hover {
  background: var(--yellow);
}

.secondary-link {
  color: var(--ink);
}

.secondary-link:hover {
  background: var(--coral);
}

.hero-specimen {
  position: relative;
  margin: 0;
  color: var(--ink);
  transform: rotate(2deg);
}

.specimen-head,
.specimen-body,
.hero-specimen figcaption {
  border: 1px solid var(--paper-deep);
}

.specimen-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 0;
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.specimen-body {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--paper);
}

.specimen-orbit {
  position: absolute;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: .25;
}

.orbit-one {
  top: 14%;
  left: 12%;
  width: 78%;
  height: 66%;
  transform: rotate(-19deg);
}

.orbit-two {
  top: 7%;
  left: 19%;
  width: 63%;
  height: 82%;
  transform: rotate(31deg);
}

.orbit-three {
  top: 26%;
  left: 1%;
  width: 100%;
  height: 34%;
  transform: rotate(-9deg);
}

.specimen-words {
  position: absolute;
  top: 74px;
  left: 42px;
  display: grid;
  gap: 12px;
  width: min(72%, 300px);
}

.specimen-word {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px 7px;
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}

.specimen-word.coral {
  background: var(--coral);
}

.specimen-word.mint {
  margin-left: 36px;
  background: var(--mint);
}

.specimen-word.violet {
  margin-left: 13px;
  background: var(--violet);
}

.specimen-word.yellow {
  margin-left: 72px;
  background: var(--yellow);
}

.specimen-stamp {
  position: absolute;
  right: 28px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1;
  text-align: center;
  transform: rotate(-12deg);
}

.specimen-stamp small {
  display: block;
  max-width: 80px;
  margin-top: -28px;
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-specimen figcaption {
  padding: 11px 14px;
  border-top: 0;
  background: var(--ink-soft);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
}

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.stats-ribbon > div {
  display: grid;
  gap: 4px;
  padding: 22px clamp(20px, 5vw, 76px);
  border-right: 1px solid var(--line);
}

.stats-ribbon > div:last-child {
  border-right: 0;
}

.stats-ribbon strong {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  letter-spacing: -.08em;
  line-height: 1;
}

.stats-ribbon span {
  color: var(--paper-deep);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.shelf,
.field,
.limits {
  color: var(--ink);
}

.shelf {
  padding-top: clamp(70px, 10vw, 130px);
  padding-bottom: clamp(70px, 10vw, 130px);
  background: var(--paper);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 44px;
}

.section-heading .eyebrow,
.shelf .eyebrow,
.field .eyebrow,
.limits .eyebrow {
  color: #8052c8;
}

.section-heading > p:last-child {
  max-width: 600px;
  color: #5d5153;
  font-size: 1.15rem;
}

.shelf-object {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  max-width: var(--max);
  margin: 0 auto;
  box-shadow: 12px 12px 0 #c8bbaa;
}

.drawer-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  background: var(--ink-soft);
  color: var(--paper);
}

.drawer-meta,
.reading-top,
.card-top,
.proof-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.drawer-meta {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--mint);
}

.selected-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 74px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-content: flex-start;
}

.selected-word {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 7px 8px 7px 10px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.selected-word button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

.selected-placeholder {
  color: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
}

.word-shelf,
.all-words {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.word-shelf {
  padding-top: 22px;
}

.word-tab {
  display: grid;
  gap: 4px;
  min-height: 57px;
  padding: 9px 8px 8px;
  border: 1px solid rgba(255, 250, 242, .3);
  background: transparent;
  color: var(--paper);
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.word-tab:hover {
  background: rgba(158, 232, 207, .18);
  transform: translateY(-2px);
}

.word-tab.is-selected {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.word-tab.is-disabled {
  opacity: .38;
}

.word-tab span {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.03;
}

.word-tab small {
  color: var(--paper-deep);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.word-tab.is-selected small {
  color: #5c4a00;
}

.all-descriptors {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.all-descriptors summary {
  padding: 16px 0;
  color: var(--yellow);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  list-style-position: inside;
  text-transform: uppercase;
}

.all-words {
  padding: 4px 0 14px;
}

.all-words .word-tab {
  min-height: 51px;
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.text-button {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--yellow);
  background: transparent;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.text-button.muted {
  color: var(--paper-deep);
  border-bottom-color: var(--paper-deep);
}

.text-button:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.noscript-note {
  margin: 18px 0 0;
  color: var(--paper-deep);
  font-size: .9rem;
}

.reading-panel {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  color: var(--ink);
}

.reading-top {
  align-items: flex-start;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line-dark);
  color: #8052c8;
}

.reading-top .eyebrow {
  margin-bottom: 10px;
}

.reading-top h3 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  line-height: .9;
}

.reading-mark {
  color: var(--coral);
  font-family: var(--mono);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .75;
}

.selection-sentence {
  max-width: 610px;
  min-height: 54px;
  margin: 22px 0 28px;
  color: #5d5153;
  font-size: 1.08rem;
}

.match-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.molecule-card {
  min-width: 0;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line-dark);
  animation: card-in .35s ease both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-top {
  color: #8052c8;
}

.molecule-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 1.55rem;
}

.smiles {
  overflow-wrap: anywhere;
  margin-bottom: 12px;
  color: #6d6160;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.smiles span {
  margin-right: 8px;
  color: #a34e43;
  text-transform: uppercase;
}

.mini-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mini-label {
  padding: 4px 7px;
  background: var(--paper-deep);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
}

.mini-label.more {
  background: var(--violet);
}

.empty-result {
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
  color: #6d6160;
}

.static-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  max-width: var(--max);
  margin: 34px auto 0;
  color: #6d6160;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.static-presets a {
  color: #8052c8;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.proof {
  padding-top: clamp(70px, 10vw, 130px);
  padding-bottom: clamp(70px, 10vw, 130px);
  background: var(--coral);
  color: var(--ink);
}

.proof .eyebrow {
  color: var(--ink);
}

.proof .section-heading > p:last-child {
  color: #4d2927;
}

.proof-card {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 12px 12px 0 rgba(24, 21, 23, .25);
}

.proof-card-top {
  padding: 16px 22px;
  background: var(--ink);
  color: var(--mint);
}

.proof-card-content {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 34px;
  padding: clamp(24px, 4vw, 48px);
}

.molecule-kicker {
  margin-bottom: 11px;
  color: #8052c8;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.proof-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.6rem);
}

.smiles.large {
  max-width: 260px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 12px;
}

.proof-words {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
}

.proof-word {
  padding: 7px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.proof-word:nth-child(4n + 1) { background: var(--mint); }
.proof-word:nth-child(4n + 2) { background: var(--yellow); }
.proof-word:nth-child(4n + 3) { background: var(--violet); }
.proof-word:nth-child(4n) { background: var(--paper-deep); }

.overlap {
  display: grid;
  grid-template-columns: minmax(190px, .4fr) minmax(0, 1.6fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  max-width: var(--max);
  min-height: 420px;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 70px;
  background: var(--ink);
}

.overlap-number {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: clamp(5rem, 14vw, 13rem);
  letter-spacing: -.13em;
  line-height: .7;
}

.overlap h2 {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 5rem);
}

.overlap p:last-child {
  max-width: 610px;
  color: var(--paper-deep);
  font-size: 1.15rem;
}

.field {
  padding-top: clamp(70px, 10vw, 130px);
  padding-bottom: clamp(70px, 10vw, 130px);
  background: var(--paper);
}

.field-bars {
  display: grid;
  gap: 13px;
  max-width: var(--max);
  margin: 0 auto;
}

.field-bar {
  display: grid;
  grid-template-columns: minmax(100px, 160px) minmax(80px, 1fr) 72px 56px;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
}

.bar-label {
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.bar-track {
  height: 12px;
  background: var(--paper-deep);
}

.bar-track span {
  display: block;
  height: 100%;
  background: var(--violet);
}

.bar-track .bar-width-0 { width: 0%; }
.bar-track .bar-width-5 { width: 5%; }
.bar-track .bar-width-10 { width: 10%; }
.bar-track .bar-width-15 { width: 15%; }
.bar-track .bar-width-20 { width: 20%; }
.bar-track .bar-width-25 { width: 25%; }
.bar-track .bar-width-30 { width: 30%; }
.bar-track .bar-width-35 { width: 35%; }
.bar-track .bar-width-40 { width: 40%; }
.bar-track .bar-width-45 { width: 45%; }
.bar-track .bar-width-50 { width: 50%; }
.bar-track .bar-width-55 { width: 55%; }
.bar-track .bar-width-60 { width: 60%; }
.bar-track .bar-width-65 { width: 65%; }
.bar-track .bar-width-70 { width: 70%; }
.bar-track .bar-width-75 { width: 75%; }
.bar-track .bar-width-80 { width: 80%; }
.bar-track .bar-width-85 { width: 85%; }
.bar-track .bar-width-90 { width: 90%; }
.bar-track .bar-width-95 { width: 95%; }
.bar-track .bar-width-100 { width: 100%; }

.field-bar:nth-child(2n) .bar-track span { background: var(--coral); }
.field-bar:nth-child(3n) .bar-track span { background: var(--mint); }

.field-bar strong,
.field-bar small {
  font-size: 11px;
  text-align: right;
}

.field-bar small {
  color: #6d6160;
}

.limits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: start;
  padding-top: clamp(70px, 10vw, 130px);
  padding-bottom: clamp(70px, 10vw, 130px);
  background: var(--paper-deep);
}

.limits .section-heading {
  margin: 0;
}

.source-box {
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.source-box summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.source-box p,
.source-box li {
  color: #5d5153;
  font-size: .95rem;
}

.source-box p {
  margin: 18px 0;
}

.source-box ul {
  margin: 0;
  padding-left: 18px;
}

.source-box a {
  color: #8052c8;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  padding: 32px clamp(20px, 5vw, 76px) 46px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-footer p {
  max-width: 340px;
  margin: 12px 0 0;
  color: var(--paper-deep);
  font-size: .9rem;
}

.back-to-top {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  padding: 6px 9px;
  border: 1px solid var(--mint);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

html.has-js .back-to-top {
  position: fixed;
  right: clamp(20px, 5vw, 76px);
  bottom: 24px;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

html.has-js .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

html.has-js .back-to-top.is-near-footer {
  bottom: 180px;
}

.back-to-top:hover {
  background: var(--mint);
  color: var(--ink);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found main {
  max-width: 680px;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .hero-specimen {
    max-width: 620px;
    justify-self: center;
  }

  .shelf-object,
  .proof-card-content,
  .limits {
    grid-template-columns: 1fr;
  }

  .shelf-object {
    max-width: 760px;
  }

  .limits .section-heading {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 68px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 66px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 4.6rem);
  }

  .hero-specimen {
    width: calc(100% - 8px);
    transform: rotate(1deg);
  }

  .specimen-body {
    min-height: 330px;
  }

  .specimen-words {
    top: 54px;
    left: 24px;
  }

  .specimen-stamp {
    right: 18px;
    bottom: 20px;
    width: 98px;
    height: 98px;
    font-size: 20px;
  }

  .specimen-word {
    font-size: 1rem;
  }

  .specimen-word.mint { margin-left: 20px; }
  .specimen-word.violet { margin-left: 7px; }
  .specimen-word.yellow { margin-left: 38px; }

  .stats-ribbon {
    grid-template-columns: 1fr;
  }

  .stats-ribbon > div {
    grid-template-columns: minmax(90px, 1fr) 1fr;
    align-items: baseline;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-ribbon > div:last-child {
    border-bottom: 0;
  }

  .stats-ribbon strong {
    font-size: 2rem;
  }

  .word-shelf,
  .all-words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reading-panel {
    padding: 24px 20px;
  }

  .reading-top h3 {
    font-size: 3.2rem;
  }

  .reading-mark {
    font-size: 4.3rem;
  }

  .field-bar {
    grid-template-columns: minmax(86px, 1fr) minmax(70px, 2fr) 44px;
    gap: 8px;
  }

  .field-bar small {
    display: none;
  }

  .overlap {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .overlap-number {
    font-size: 7rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  html.has-js .back-to-top {
    right: 20px;
  }
}

@media (max-width: 360px) {
  .reading-mark {
    display: none;
  }
}

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

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