/* Manrope: SIL OFL 1.1, see /fonts/home/OFL.txt. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/home/manrope-cyrillic.woff2') format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/home/manrope-latin.woff2') format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  color-scheme: dark;
  --background: #101011;
  --surface: #19191b;
  --surface-raised: #202023;
  --text: #eeede9;
  --muted: #a09da3;
  --line: #303033;
  --accent: #efa6d5;
  --accent-hover: #f7c5e6;
  --font: "Manrope", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font), sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; outline-offset: 5px; }
button { border: 0; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); }
::selection { background: var(--accent); color: #20121b; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
svg { display: block; flex-shrink: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: var(--accent); color: #20121b; padding: 16px 24px; border-radius: 9px; }
.skip-link:focus { top: 12px; }
.eyebrow { font: 500 10px/1.6 var(--font); text-transform: uppercase; letter-spacing: .13em; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 45px; padding: 0 19px; border: 1px solid #3d3b40; border-radius: 8px; background: transparent; font-size: 12px; font-weight: 600; transition: background .2s, border-color .2s; }
.pill:hover { border-color: #70606b; background: #272229; }
.pill-dark { color: #25131f; border-color: var(--accent); background: var(--accent); }
.pill-dark:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; line-height: 1.6; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover { color: var(--accent); }
.text-link:hover .icon { transform: translate(2px, -2px); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: transparent; transition: background .2s, color .2s; }
.icon-button:hover { background: #2b252c; color: var(--accent); }
.icon-button[aria-pressed="true"] { color: var(--accent); border-color: #67435a; background: #33232e; }
.icon-button[aria-pressed="true"] .icon { fill: currentColor; }

/* A dark reading room: restrained chrome, expressive language. */
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: baseline; gap: 1px; font-size: 30px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; white-space: nowrap; }
.brand span { color: var(--accent); }
.brand sup { align-self: flex-start; margin: 2px 0 0 5px; font-size: 12px; line-height: 1; letter-spacing: 0; color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 31px; margin-right: auto; margin-left: 55px; }
.desktop-nav a { color: var(--muted); font-size: 12px; font-weight: 500; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a.active { position: relative; }
.desktop-nav a.active::after { content: ""; position: absolute; bottom: -11px; left: 0; width: 18px; height: 2px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-add { font-size: 11px; }
.header-add .icon { width: 16px; height: 16px; color: var(--accent); }
.saved-button { position: relative; border-color: transparent; }
.saved-count { position: absolute; top: 0; right: -1px; display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 50%; font-size: 10px; font-weight: 750; background: var(--accent); color: #25131f; }
.mobile-menu { display: none; }

/* The reference is framed with CSS; the supplied image stays unmodified. */
.hero { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: center; gap: 78px; padding: 70px 0 61px; }
.hero-copy { min-width: 0; }
.hero-eyebrow { display: flex; align-items: center; gap: 11px; color: #bab4bc; margin-bottom: 30px; }
.hero-eyebrow svg { width: 14px; height: 14px; color: var(--accent); }
h1 { font-size: clamp(57px, 5.3vw, 76px); font-weight: 600; line-height: 1.12; letter-spacing: -.067em; }
h1 span { display: inline-block; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.06em; padding-right: .04em; }
.hero-aside { display: flex; align-items: center; gap: 12px; margin-top: 23px; font-size: 12px; color: #c7c2c8; }
.hero-aside::before { content: ""; width: 23px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-description { max-width: 432px; margin-top: 19px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.search-shell { position: relative; z-index: 3; margin-top: 30px; }
.search-form { display: flex; align-items: center; gap: 13px; margin: 0; padding: 7px 7px 7px 19px; border: 1px solid #484049; border-radius: 10px; background: #1c191e; box-shadow: 0 0 35px #dc92bf05; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #efa6d514; }
.search-form > .icon { color: #99919c; width: 19px; height: 19px; }
.search-form input { width: 100%; min-width: 0; flex: 1; height: 46px; padding: 0; outline: none; border: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-form input::placeholder { color: #a69da9; }
.search-submit { height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 17px; border-radius: 6px; background: var(--accent); color: #291723; white-space: nowrap; font-size: 11px; font-weight: 750; transition: background .2s; }
.search-submit:hover { background: var(--accent-hover); }
.search-submit .icon { width: 16px; height: 16px; }
.search-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 9px; border: 1px solid #57434f; border-radius: 10px; background: #211c24; box-shadow: 0 16px 40px #0008; }
.suggestions-heading { padding: 7px 10px 9px; color: #d4b4c9; font-size: 10px; letter-spacing: .03em; }
.suggestions-list { list-style: none; padding: 0; margin: 0; max-height: min(290px, 42vh); overflow-y: auto; overscroll-behavior: contain; }
.suggestion { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; min-height: 44px; border-radius: 6px; color: #e5dce6; font-size: 13px; line-height: 1.5; }
.suggestion span { min-width: 0; overflow-wrap: anywhere; }
.suggestion mark { color: var(--accent); background: transparent; font-weight: 700; }
.suggestion .icon { width: 14px; height: 14px; color: #b69cab; }
.suggestion:hover, .suggestion[aria-selected="true"] { background: #3c2b38; color: white; }
.suggestions-message { padding: 8px 10px; color: #bcb0c0; font-size: 11px; line-height: 1.7; }
.search-hints { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 14px; font-size: 10px; color: #b5adb8; }
.search-hints > span { color: #89838d; margin-right: 3px; }
.search-hints a { padding: 5px 9px; border-radius: 4px; border: 1px solid #323034; transition: color .2s, background .2s; }
.search-hints a:hover { background: #32232d; color: var(--accent); }
.random-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 5px 0; background: transparent; color: #c8c2cb; font-size: 11px; }
.random-button .icon { width: 16px; height: 16px; color: var(--accent); }
.random-button:hover { color: var(--accent); }
.hero-art { min-width: 0; }
.monologue-card { position: relative; background: #1b191a; border: 1px solid #3b3439; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 65px #0000002b; }
.painting-window { position: relative; width: 100%; aspect-ratio: 630 / 384; overflow: hidden; background: #211d19; }
.painting-window img { position: absolute; max-width: none; width: 201.905%; height: auto; left: -52.381%; top: -136.458%; filter: saturate(.56) brightness(.85); }
.painting-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1010114a, transparent 32%, #1b191a0a 66%, #1b191a 100%); }
.painting-caption { position: absolute; inset: 20px 22px auto; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #ddd3c6; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.painting-caption > span:first-child { display: flex; align-items: center; gap: 7px; }
.painting-caption i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.thought-content { position: relative; padding: 0 27px 23px; margin-top: -12px; }
.thought-label { display: flex; align-items: center; gap: 8px; color: #b597ac; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.thought-label::before { content: "“"; font: 37px/.6 Georgia, serif; color: var(--accent); padding-right: 4px; }
.thought-stage { display: grid; align-items: center; min-height: 193px; padding: 18px 0 21px; }
.complex-thought { font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; line-height: 1.45; letter-spacing: -.25px; }
.complex-thought em { color: var(--accent); font-weight: 400; }
.simple-thought { font-family: Georgia, "Times New Roman", serif; font-size: 33px; font-weight: 400; font-style: italic; line-height: 1.25; letter-spacing: -.7px; }
.simple-thought span { color: var(--accent); }
.thought-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid #3b3338; }
.translate-button { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: transparent; color: #e2d7df; min-height: 28px; font-size: 11px; text-align: left; }
.translate-button:hover { color: var(--accent); }
.translate-button .icon { width: 16px; height: 16px; color: var(--accent); }
.thought-number { font-size: 9px; color: #8c7e87; letter-spacing: .1em; }
.art-caption { display: flex; justify-content: center; gap: 8px; align-items: center; margin-top: 14px; color: #8f8991; font-size: 9px; }
.art-caption .icon { width: 12px; height: 12px; color: #ad8fa3; }
.hero-baseline { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #9a959f; font-size: 10px; }
.hero-baseline p { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 5px; height: 5px; display: inline-block; background: #bda2b3; border-radius: 50%; flex-shrink: 0; }
.age-mark { padding: 3px 5px; border: 1px solid #4a424b; border-radius: 4px; font-size: 9px; }
.hero-baseline a { display: inline-flex; align-items: center; gap: 10px; color: #d0cbd3; font-size: 10px; }
.hero-baseline a .icon { width: 14px; height: 14px; }

/* Situations, then actual phrases. */
.section { padding-top: 67px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 27px; }
.section-heading .eyebrow { color: #a08f9b; margin-bottom: 13px; }
h2 { font-size: 32px; font-weight: 500; line-height: 1.25; letter-spacing: -1.3px; }
.section-heading > .text-link { padding-bottom: 4px; color: #b9b1bc; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.collection { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; min-height: 189px; padding: 23px; border: 1px solid var(--line); border-radius: 11px; background: #181719; transition: background .2s, border-color .2s, transform .2s; }
.collection:hover { background: #211b21; border-color: #6d4b61; transform: translateY(-3px); }
.collection-symbol { width: 30px; height: 30px; margin-bottom: 27px; color: #bba1b2; stroke-width: 1.4; }
.collection-yellow .collection-symbol { color: #c4a996; }
.collection-sage .collection-symbol { color: #adb69e; }
.collection-blue .collection-symbol { color: #a3adbd; }
.collection-arrow { position: absolute; right: 21px; top: 23px; width: 16px; height: 16px; color: #706873; }
.collection h3 { font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.35px; margin-top: auto; }
.collection p { color: #9b939f; font-size: 10px; line-height: 1.75; margin-top: 7px; }
.phrases-section { padding-top: 72px; }
.section-subtitle { margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.phrase-tools { margin-bottom: 22px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { border: 1px solid transparent; padding: 8px 16px; min-height: 37px; background: transparent; color: #a79eab; border-radius: 6px; font-size: 10px; line-height: 1.6; transition: background .2s, color .2s; }
.filter:hover { background: #252128; }
.filter[aria-current="true"] { background: #362531; border-color: #614054; color: #f0bada; }
.phrase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phrase-card { min-width: 0; display: flex; flex-direction: column; padding: 25px 27px 18px; min-height: 282px; border: 1px solid #363138; border-radius: 12px; background: #1d1a1f; transition: transform .2s, border-color .2s; }
.phrase-card:hover { transform: translateY(-3px); border-color: #75626f; }
.phrase-card.card-sage { background: #1d201c; border-color: #35392f; }
.phrase-card.card-peach { background: #231d1d; border-color: #3d3232; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-category { font-size: 10px; color: #aca1ae; }
.card-sage .card-category { color: #a7af9d; }
.card-peach .card-category { color: #b9a5a0; }
.small-quote { height: 23px; font: 44px/.95 Georgia, serif; color: #816a7b; letter-spacing: -5px; padding-right: 3px; }
.card-sage .small-quote { color: #7f8b71; }
.phrase-card blockquote { margin: 26px 0 30px; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: -.6px; overflow-wrap: anywhere; }
.phrase-card .short-quote { font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-style: italic; font-weight: 400; line-height: 1.2; letter-spacing: -1.3px; color: #efbfdf; }
.phrase-card:has(.short-quote) blockquote { margin-block: auto; padding-block: 24px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.phrase-source { display: inline-flex; align-items: center; gap: 7px; color: #a9a1ac; font-size: 10px; }
.phrase-source:hover { color: var(--accent); }
.phrase-source .icon { width: 12px; height: 12px; }
.card-actions { display: flex; gap: 2px; }
.card-actions .icon-button { width: 35px; height: 37px; border-color: transparent; color: #bbb1be; }
.card-actions .icon-button[aria-pressed="true"] { color: var(--accent); }
.card-actions .icon { width: 16px; height: 16px; }
.load-more { display: flex; margin: 27px auto 0; color: #c5bcc9; font-size: 11px; }
.load-more .icon { width: 16px; height: 16px; }

/* The editorial statement carries the project's idea beyond the hero. */
.about-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 90px; padding: 49px 50px; margin-top: 73px; border: 1px solid #3d333b; border-radius: 13px; background: radial-gradient(ellipse at top left, #43253a30, transparent 65%), #1a171b; }
.about-copy .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #b29eac; }
.about-copy .eyebrow .icon { width: 16px; height: 16px; color: var(--accent); }
.about-copy h2 { font-size: 36px; line-height: 1.27; letter-spacing: -1.4px; }
.about-copy h2 span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--accent); font-size: 42px; letter-spacing: -1.3px; }
.about-copy p { max-width: 385px; margin-top: 21px; color: #aba0b0; font-size: 12px; line-height: 1.95; }
.about-copy .text-link { margin-top: 25px; color: #d7c3d1; }
.manifesto-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: center; }
.manifesto-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid #3a3139; }
.manifesto-steps li:first-child { padding-top: 0; }
.manifesto-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.step-number { padding-top: 3px; color: #907185; font-size: 10px; font-variant-numeric: tabular-nums; }
.manifesto-steps h3 { font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
.manifesto-steps p { color: #a196a5; font-size: 11px; line-height: 1.8; margin-top: 7px; }
.join-section { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 43px 0; }
.join-intro { display: flex; align-items: center; gap: 17px; }
.join-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #3c333e; border-radius: 10px; flex-shrink: 0; }
.join-icon .icon { width: 24px; height: 24px; color: #b29bad; }
.join-section h2 { font-size: 19px; letter-spacing: -.5px; }
.join-section p { color: #9e94a2; font-size: 11px; line-height: 1.7; margin-top: 7px; }
.join-section .pill .icon { width: 16px; height: 16px; color: var(--accent); }
.site-footer { padding: 30px 0 27px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 26px; }
.footer-brand .brand { font-size: 25px; }
.footer-brand p { color: #9b939e; font-size: 10px; line-height: 1.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; color: #b0a7b4; font-size: 10px; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 27px; color: #99909d; font-size: 9px; }
.footer-bottom p { display: flex; align-items: center; gap: 9px; }

/* Dialogs and saved phrases match the dark page. */
dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 31px; border: 1px solid #51424e; border-radius: 15px; background: #1c191f; color: var(--text); box-shadow: 0 30px 120px #00000080; }
dialog::backdrop { background: #070608bd; backdrop-filter: blur(8px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 24px; letter-spacing: -.8px; }
.dialog-heading form { margin: 0; }
.dialog-heading .icon-button { width: 36px; height: 36px; }
.dialog-label { margin-bottom: 15px; color: #b5a3b0; font-size: 12px; }
.random-quote { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.4; letter-spacing: -.7px; overflow-wrap: anywhere; }
.dialog-source { margin-top: 20px; color: #b9a9b6; }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.dialog-actions .pill { min-height: 42px; font-size: 12px; }
.dialog-actions .pill .icon { width: 16px; height: 16px; }
.dialog-note { margin: 6px 0 25px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.saved-list { display: grid; gap: 12px; }
.saved-item { padding: 20px; border: 1px solid #443647; border-radius: 10px; }
.saved-item blockquote { font-size: 16px; line-height: 1.6; margin-bottom: 15px; }
.saved-empty { padding: 30px 18px; text-align: center; border: 1px dashed #67536a; border-radius: 10px; }
.saved-empty > .icon { margin: 0 auto 15px; width: 30px; height: 30px; color: #b38fa9; }
.saved-empty p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 25px; transform: translate(-50%, 12px); width: max-content; max-width: calc(100% - 32px); padding: 13px 20px; border: 1px solid #795c6e; border-radius: 9px; background: #352730; color: #f8e6f2; box-shadow: 0 10px 35px #0006; font-size: 12px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.dialog-feedback { min-height: 19px; font-size: 11px; line-height: 1.7; color: #d8adc8; margin-top: 14px; }

@media (max-width: 1199px) {
  .container { width: calc(100% - 72px); }
  .site-header { gap: 24px; }
  .desktop-nav { gap: 23px; margin-left: 25px; }
  .header-actions { gap: 8px; }
  .hero { gap: 43px; }
  h1 { font-size: 65px; }
  .hero-description { font-size: 13px; }
  .thought-content { padding-inline: 23px; }
  .complex-thought { font-size: 20px; }
  .thought-stage { min-height: 207px; }
  .collection { padding: 22px 19px; }
  .collection h3 { font-size: 14px; }
  .collection p { font-size: 9px; }
  .phrase-card { padding-inline: 21px; }
  .phrase-card blockquote { font-size: 19px; }
  .about-section { gap: 48px; padding-inline: 38px; }
  .about-copy h2 { font-size: 33px; }
  .about-copy h2 span { font-size: 39px; }
}
@media (max-width: 960px) {
  .desktop-nav { gap: 21px; margin-left: 7px; }
  .desktop-nav a { font-size: 11px; }
  .header-add { display: none; }
  .hero { gap: 29px; padding-top: 51px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  h1 { font-size: 51px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .1em; margin-bottom: 24px; gap: 8px; }
  .hero-aside { font-size: 10px; gap: 8px; }
  .hero-aside::before { width: 15px; }
  .hero-description { font-size: 12px; line-height: 1.9; }
  .search-form { padding-left: 14px; gap: 10px; }
  .search-submit { width: 43px; padding-inline: 0; }
  .search-submit span { display: none; }
  .search-hints { font-size: 9px; gap: 5px; }
  .search-hints a { padding-inline: 7px; }
  .search-hints > span { margin-right: 0; }
  .painting-caption { inset: 16px 18px auto; font-size: 7px; }
  .thought-content { padding: 0 21px 17px; margin-top: -5px; }
  .thought-label { font-size: 8px; }
  .complex-thought { font-size: 18px; }
  .thought-stage { min-height: 224px; }
  .simple-thought { font-size: 28px; }
  .translate-button { font-size: 9px; gap: 7px; }
  .thought-number { font-size: 8px; }
  .art-caption { font-size: 8px; }
  .hero-baseline { font-size: 9px; }
  .hero-baseline a { font-size: 9px; }
  h2 { font-size: 29px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection { padding: 22px; min-height: 176px; }
  .collection h3 { font-size: 16px; }
  .collection p { font-size: 11px; }
  .phrase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .phrase-card { padding: 21px 17px 15px; }
  .phrase-card blockquote { font-size: 18px; }
  .phrase-card .short-quote { font-size: 30px; }
  .phrase-source { font-size: 9px; gap: 4px; }
  .card-bottom { gap: 4px; }
  .card-actions { gap: 0; }
  .card-actions .icon-button { width: 28px; }
  .about-section { padding: 35px 27px; gap: 31px; }
  .about-copy h2 { font-size: 27px; }
  .about-copy h2 span { font-size: 33px; }
  .about-copy p { font-size: 11px; }
  .manifesto-steps h3 { font-size: 14px; }
  .manifesto-steps p { font-size: 10px; }
  .manifesto-steps li { gap: 8px; grid-template-columns: 24px 1fr; }
  .footer-nav { gap: 17px; }
  .footer-brand { gap: 18px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .site-header { height: 77px; gap: 20px; }
  .brand { font-size: 27px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 8px; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary .icon { width: 20px; height: 20px; }
  .mobile-menu nav { position: absolute; inset: calc(100% + 8px) 0 auto; display: grid; gap: 2px; padding: 13px; border: 1px solid #4a3b47; border-radius: 10px; background: #1c191e; box-shadow: 0 15px 25px #0007; }
  .mobile-menu nav a { padding: 13px 15px; border-radius: 6px; font-size: 13px; }
  .mobile-menu nav a:hover { background: #30242d; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 37px; padding: 39px 0 33px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 22px; }
  h1 { font-size: clamp(49px, 11.7vw, 77px); line-height: 1.15; letter-spacing: -.065em; }
  h1 span { letter-spacing: -.055em; }
  .hero-aside { margin-top: 21px; font-size: 11px; gap: 10px; }
  .hero-aside::before { width: 17px; }
  .hero-description { margin-top: 17px; max-width: 385px; font-size: 12px; line-height: 1.9; }
  .search-shell { margin-top: 24px; }
  .search-form { padding: 5px 5px 5px 14px; gap: 10px; border-radius: 9px; }
  .search-form input { font-size: 12px; height: 46px; }
  .search-submit { width: auto; padding-inline: 14px; gap: 10px; }
  .search-submit span { display: inline; }
  .search-hints { font-size: 9px; gap: 5px; margin-top: 12px; }
  .search-hints a { padding: 5px 8px; }
  .random-button { margin-top: 20px; font-size: 10px; }
  .hero-art { width: 100%; max-width: 490px; align-self: center; }
  .painting-caption { font-size: 7px; inset: 16px 18px auto; }
  .thought-content { padding: 0 22px 19px; }
  .thought-stage { min-height: 213px; padding-top: 16px; }
  .complex-thought { font-size: 20px; line-height: 1.42; }
  .simple-thought { font-size: 31px; }
  .thought-label { font-size: 8px; }
  .thought-footer { padding-top: 13px; }
  .translate-button { font-size: 10px; }
  .art-caption { margin-top: 13px; font-size: 8px; }
  .hero-baseline { font-size: 9px; padding-block: 17px; align-items: flex-start; gap: 14px; }
  .hero-baseline p { gap: 7px; line-height: 1.7; max-width: 200px; }
  .hero-baseline .age-mark { display: none; }
  .hero-baseline a { font-size: 9px; white-space: nowrap; line-height: 1.7; gap: 5px; }
  .hero-baseline a .icon { width: 12px; height: 12px; }
  .section { padding-top: 44px; }
  .section-heading { margin-bottom: 23px; align-items: flex-start; gap: 14px; }
  .section-heading .eyebrow { font-size: 8px; margin-bottom: 12px; }
  h2 { font-size: 27px; line-height: 1.3; letter-spacing: -1px; }
  #collections .section-heading h2 { max-width: 280px; }
  #collections .section-heading > .text-link { font-size: 0; margin-top: 29px; padding: 3px; }
  #collections .section-heading > .text-link .icon { width: 20px; height: 20px; }
  .collection-grid { gap: 11px; }
  .collection { padding: 19px 16px; min-height: 180px; border-radius: 9px; }
  .collection-symbol { width: 27px; height: 27px; margin-bottom: 26px; }
  .collection-arrow { top: 20px; right: 16px; width: 14px; height: 14px; }
  .collection h3 { font-size: 14px; letter-spacing: -.3px; }
  .collection p { font-size: 10px; line-height: 1.7; }
  .phrases-section { padding-top: 44px; }
  .section-subtitle { font-size: 11px; margin-top: 10px; }
  .phrases-section .section-heading { margin-bottom: 21px; }
  .phrase-tools { margin-bottom: 18px; }
  .filter-list { gap: 4px; }
  .filter { font-size: 9px; padding-inline: 11px; min-height: 35px; }
  .phrase-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .phrase-card { padding: 25px; min-height: 255px; }
  .phrase-card blockquote { font-size: 22px; margin-block: 24px 26px; }
  .phrase-card .short-quote { font-size: 35px; }
  .card-category { font-size: 10px; }
  .phrase-source { font-size: 10px; }
  .card-actions .icon-button { width: 40px; height: 40px; }
  .card-actions .icon { width: 18px; height: 18px; }
  .load-more { margin-top: 22px; }
  .about-section { grid-template-columns: 1fr; gap: 32px; padding: 31px 25px; margin-top: 48px; }
  .about-copy .eyebrow { font-size: 8px; margin-bottom: 22px; }
  .about-copy h2 { font-size: 31px; }
  .about-copy h2 span { font-size: 38px; }
  .about-copy p { font-size: 12px; }
  .about-copy .text-link { font-size: 11px; margin-top: 22px; }
  .manifesto-steps { padding-top: 26px; border-top: 1px solid #40323d; }
  .manifesto-steps li { padding-block: 19px; gap: 12px; }
  .manifesto-steps h3 { font-size: 15px; }
  .manifesto-steps p { font-size: 11px; }
  .join-section { flex-direction: column; align-items: flex-start; padding-block: 34px; gap: 22px; }
  .join-intro { align-items: flex-start; gap: 13px; }
  .join-icon { width: 42px; height: 42px; }
  .join-section h2 { font-size: 17px; line-height: 1.4; }
  .join-section p { font-size: 10px; max-width: 255px; }
  .join-section > .pill { margin-left: 55px; min-height: 42px; font-size: 11px; }
  .site-footer { padding-block: 27px 22px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 25px; }
  .footer-brand { gap: 23px; }
  .footer-brand .brand { font-size: 24px; }
  .footer-brand p { font-size: 9px; }
  .footer-nav { gap: 21px; font-size: 9px; }
  .footer-bottom { margin-top: 25px; font-size: 8px; align-items: flex-start; }
  .footer-bottom > span { max-width: 165px; text-align: right; line-height: 1.7; }
  dialog { padding: 24px 20px; border-radius: 12px; }
  .dialog-heading h2 { font-size: 22px; }
  .random-quote { font-size: 26px; }
  .dialog-actions { gap: 7px; }
  .dialog-actions .pill { padding-inline: 15px; }
  .saved-item { padding: 17px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 44px; }
  .hero-aside { font-size: 9px; }
  .hero-eyebrow { font-size: 7px; }
  .hero-description { font-size: 11px; }
  .search-submit { width: 43px; padding: 0; }
  .search-submit span { display: none; }
  .search-hints { gap: 4px; font-size: 8px; }
  .thought-content { padding-inline: 18px; }
  .complex-thought { font-size: 18px; }
  .simple-thought { font-size: 29px; }
  .thought-stage { min-height: 218px; }
  .translate-button { font-size: 9px; }
  .thought-number { font-size: 7px; }
  .hero-baseline { font-size: 8px; }
  .hero-baseline a { font-size: 8px; }
  .collection { padding-inline: 14px; }
  .collection h3 { font-size: 13px; }
  .collection p { font-size: 9px; }
  .filter { padding-inline: 8px; }
  .phrase-card .short-quote { font-size: 30px; }
  .about-copy h2 { font-size: 27px; }
  .about-copy h2 span { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Live catalogue states and variable-length database content. */
.filter { display: inline-flex; align-items: center; justify-content: center; }
.load-more { width: max-content; max-width: 100%; }
[aria-disabled="true"], button:disabled { cursor: wait; opacity: .55; }
.phrase-grid[aria-busy="true"] { opacity: .65; transition: opacity .15s; }
.feed-message { padding: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; text-align: center; }
.card-category { overflow-wrap: anywhere; line-height: 1.6; }
.phrase-card .long-quote { font-size: 17px; }
.phrase-card blockquote, .random-quote, .saved-item blockquote { hyphens: auto; }
.saved-item blockquote { overflow-wrap: anywhere; }
#random-text:empty { display: none; }
#random-status { margin-block: 15px; }
