:root {
  --paper: #f7f4ed;
  --paper-deep: #eee8db;
  --ink: #20241f;
  --muted: #5f635b;
  --line: #d9d4c8;
  --orange: #bd4328;
  --teal: #315f5a;
  --serif: Iowan Old Style, Baskerville, "Songti SC", STSong, "Noto Serif SC", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft Yahei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.page-noise {
  position: fixed;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.site-header {
  height: 92px;
  max-width: 1400px;
  margin: auto;
  padding: 0 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  font-family: var(--serif);
  font-size: 17px;
  height: 31px;
  justify-content: center;
  line-height: 1;
  width: 31px;
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .12em; }
.site-header nav { display: flex; gap: 32px; margin-left: 105px; }
.nav-link { color: var(--muted); font-size: 13px; letter-spacing: .08em; padding: 8px 0; position: relative; }
.nav-link::after { background: var(--orange); bottom: 0; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 100%; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.header-date { color: var(--muted); font-size: 11px; letter-spacing: .16em; }

main { max-width: 1400px; margin: auto; padding: 0 62px; }
.hero { min-height: 610px; position: relative; display: grid; grid-template-columns: 1.04fr .96fr; padding: 103px 0 82px; }
.hero-copy { padding-bottom: 80px; padding-top: 23px; position: relative; z-index: 2; }
.eyebrow { align-items: center; color: #5f635b; display: flex; font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1; margin: 0 0 22px; text-transform: uppercase; }
.eyebrow span { background: var(--orange); display: inline-block; height: 6px; margin-right: 9px; width: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-size: clamp(60px, 6.5vw, 94px); font-weight: 500; letter-spacing: -.075em; line-height: 1.03; margin-bottom: 29px; }
h1 em { color: var(--orange); font-style: normal; }
.hero-description { color: #5b5e57; font-family: var(--serif); font-size: 16px; letter-spacing: .02em; line-height: 1.9; margin-bottom: 30px; max-width: 380px; }
.text-link { align-items: center; display: inline-flex; font-size: 12px; font-weight: 700; gap: 20px; letter-spacing: .07em; padding-bottom: 8px; position: relative; }
.text-link::after { background: var(--ink); bottom: 0; content: ""; height: 1px; left: 0; position: absolute; transition: width .25s ease; width: 100%; }
.text-link:hover::after { width: 45%; }
.text-link span { color: var(--orange); font-size: 19px; font-weight: 400; line-height: .6; }

.hero-reading { min-height: 438px; position: relative; }
.arch { border: 1px solid #dfd8cc; border-radius: 230px 230px 0 0; bottom: 9px; left: 10%; position: absolute; right: 0; top: 0; }
.arch::before { border: 1px solid #e6dfd3; border-radius: 200px 200px 0 0; bottom: -1px; content: ""; left: 31px; position: absolute; right: 31px; top: 31px; }
.reading-label { color: #5f635b; font-size: 9px; font-weight: 700; letter-spacing: .17em; left: 19%; position: absolute; top: 31px; }
.reading-label i { background: #eabb4d; border-radius: 50%; display: inline-block; height: 6px; margin: 0 7px 1px 0; width: 6px; }
.feature-book { background: none; border: 0; bottom: 24px; height: 295px; left: 29%; padding: 0; position: absolute; transform: rotate(-4deg); transition: transform .35s cubic-bezier(.16, 1, .3, 1); width: 201px; z-index: 2; }
.feature-book:hover { transform: rotate(-1deg) translateY(-12px); }
.feature-book-shadow { background: rgba(28, 31, 25, .2); bottom: -18px; filter: blur(11px); height: 24px; left: 0; position: absolute; transform: rotate(6deg); width: 190px; }
.feature-book-cover { background: #375a8e; box-shadow: 16px 17px 0 #233e69, 22px 20px 22px rgba(32, 36, 31, .19); color: #fff6d7; display: block; height: 100%; overflow: hidden; padding: 29px 23px; position: relative; text-align: left; }
.feature-book-cover::before { border: 1px solid rgba(255, 255, 255, .43); content: ""; inset: 11px; position: absolute; }
.feature-book-band { border-bottom: 1px solid #f4d56c; color: #f5dd83; display: block; font-size: 7px; letter-spacing: .13em; padding-bottom: 10px; position: relative; z-index: 2; }
.feature-book-cover strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: -.08em; line-height: 1.12; margin-top: 36px; position: relative; z-index: 2; }
.feature-book-cover small { bottom: 30px; font-size: 6px; left: 23px; letter-spacing: .08em; position: absolute; z-index: 2; }
.feature-sun { background: #f6ca55; border-radius: 50%; height: 88px; opacity: .9; position: absolute; right: -19px; top: 112px; width: 88px; }
.reading-meta { bottom: 32px; color: #4c514a; left: calc(29% + 241px); position: absolute; width: 140px; }
.reading-meta div:first-child { display: flex; justify-content: space-between; margin-bottom: 9px; }
.reading-meta span { font-size: 9px; letter-spacing: .08em; }
.reading-meta b { color: var(--orange); font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: .6; }
.progress-line { background: #d7d3c9; height: 2px; overflow: hidden; }
.progress-line span { background: var(--orange); display: block; height: 100%; transition: width 1s ease; }
.reading-meta p { color: #62665e; font-size: 9px; letter-spacing: .03em; margin: 10px 0 0; white-space: nowrap; }
.paper-star { color: #d9a641; font-size: 18px; position: absolute; }
.hero-reading.is-empty { opacity: .45; pointer-events: none; }
.star-one { right: 3%; top: 105px; transform: rotate(22deg); }
.star-two { bottom: 78px; font-size: 11px; left: 11%; transform: rotate(-14deg); }
.hero-note { align-items: flex-start; bottom: 39px; display: flex; flex-direction: column; left: 0; max-width: 207px; position: absolute; }
.note-rule { background: var(--orange); display: block; height: 1px; margin-bottom: 13px; width: 25px; }
.hero-note p { color: #74766e; font-family: var(--serif); font-size: 12px; letter-spacing: .03em; line-height: 1.7; margin-bottom: 5px; }
.hero-note cite { color: #96988f; font-size: 9px; font-style: normal; letter-spacing: .06em; }

.reading-numbers { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr) 2.15fr; margin: 0 -62px; padding: 0 62px; }
.number-block { align-items: baseline; border-right: 1px solid var(--line); display: flex; gap: 11px; min-height: 112px; padding: 33px 35px 25px 0; }
.number-block + .number-block { padding-left: 35px; }
.number-block strong { font-family: var(--serif); font-size: 39px; font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.number-block span, .year-block span { color: #62665e; font-size: 10px; letter-spacing: .07em; white-space: nowrap; }
.year-block { align-items: center; display: flex; gap: 14px; justify-content: flex-end; padding-left: 35px; }
.year-block b { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .04em; }
.year-block i { color: var(--orange); font-size: 17px; font-style: normal; }
.year-block em { color: #62665e; font-family: var(--serif); font-size: 12px; font-style: normal; letter-spacing: .04em; }

.shelf-section { padding: 125px 0 108px; }
.section-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 54px; }
.section-heading .eyebrow { margin-bottom: 17px; }
h2 { font-family: var(--serif); font-size: 49px; font-weight: 500; letter-spacing: -.065em; line-height: 1.1; margin: 0; }
.section-intro { color: #62665e; font-family: var(--serif); font-size: 13px; letter-spacing: .02em; line-height: 1.8; margin: 0 30px 5px 0; }
.shelf-controls { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 53px; padding-bottom: 15px; }
.filters { display: flex; gap: 23px; }
.filter { background: none; border: 0; color: #62665e; font-size: 12px; padding: 5px 0; position: relative; }
.filter::after { background: var(--orange); bottom: -16px; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transition: transform .25s ease; width: 100%; }
.filter span { color: #aaa99f; font-family: var(--serif); font-size: 11px; margin-left: 3px; }
.filter:hover, .filter.is-selected { color: var(--ink); }
.filter.is-selected::after { transform: scaleX(1); }
.filter.is-selected span { color: var(--orange); }
.search-box { align-items: center; display: flex; position: relative; width: 160px; }
.search-box input { background: transparent; border: 0; border-bottom: 1px solid #cfcbc0; border-radius: 0; color: var(--ink); font-size: 11px; outline: 0; padding: 7px 23px 7px 0; transition: border-color .2s ease; width: 100%; }
.search-box input:focus { border-color: var(--ink); }
.search-box input::placeholder { color: #a3a49c; }
.search-box svg { fill: none; height: 14px; pointer-events: none; position: absolute; right: 0; stroke: #71746c; stroke-linecap: round; stroke-width: 1.5; width: 14px; }

.book-group { margin-bottom: 89px; }
.book-group:last-child { margin-bottom: 0; }
.group-heading { align-items: flex-end; display: flex; gap: 24px; margin-bottom: 35px; }
.group-heading p { color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .18em; margin: 0 0 9px; }
.group-heading h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.06em; line-height: .8; margin: 0; }
.group-heading sup { color: #62665e; font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0; margin-left: 7px; vertical-align: top; }
.group-rule { background: var(--line); height: 1px; margin-bottom: 2px; flex: 1; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 35px; row-gap: 45px; }
.book-card { min-width: 0; opacity: 0; transform: translateY(15px); animation: rise .45s ease forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.book-card-button { background: none; border: 0; color: inherit; display: block; padding: 0; text-align: left; width: 100%; }
.book-object { height: 286px; padding: 8px 18px 8px 8px; perspective: 700px; position: relative; }
.book-object::after { background: rgba(31, 35, 29, .18); bottom: 2px; content: ""; filter: blur(8px); height: 12px; left: 17px; position: absolute; transform: skewX(-19deg); width: 71%; }
.book-cover { align-items: flex-start; background: var(--tone); box-shadow: 8px 8px 0 color-mix(in srgb, var(--tone), #000 20%), 12px 14px 16px rgba(39, 38, 32, .14); color: var(--accent); display: flex; flex-direction: column; height: 100%; justify-content: center; overflow: hidden; padding: 18px 16px; position: relative; transform: rotate(-.8deg); transform-origin: bottom center; transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease; width: 100%; }
.book-card-button:hover .book-cover { box-shadow: 12px 13px 0 color-mix(in srgb, var(--tone), #000 20%), 20px 27px 22px rgba(39, 38, 32, .18); transform: rotate(1.6deg) translateY(-9px); }
.cover-grain { background-image: radial-gradient(rgba(255,255,255,.45) .7px, transparent .7px); background-size: 5px 5px; inset: 0; mix-blend-mode: soft-light; opacity: .18; position: absolute; }
.cover-mark { font-size: 10px; font-weight: 700; left: 16px; letter-spacing: .08em; position: absolute; top: 16px; }
.cover-author { font-size: 9px; letter-spacing: .18em; line-height: 1.4; max-width: 104px; position: relative; text-transform: uppercase; z-index: 1; }
.book-cover strong { font-family: var(--serif); font-size: clamp(25px, 2.45vw, 34px); font-weight: 500; letter-spacing: -.09em; line-height: 1.12; margin-top: 14px; position: relative; word-break: break-all; z-index: 1; }
.cover-line { background: currentColor; height: 1px; margin-top: 16px; opacity: .8; position: relative; width: 31px; z-index: 1; }
.book-cover small { bottom: 16px; font-size: 6px; left: 16px; letter-spacing: .1em; position: absolute; z-index: 1; }
.book-info { padding: 17px 3px 0; }
.book-info > p { color: #62665e; font-family: var(--serif); font-size: 10px; letter-spacing: .02em; margin: 0 0 7px; }
.book-info > p span { color: var(--orange); margin: 0 2px; }
.book-info h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -.045em; line-height: 1.3; margin: 0 0 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.book-bottom { align-items: center; display: flex; min-height: 14px; }
.rating { color: #d49a44; font-size: 11px; letter-spacing: 1px; }
.card-progress { background: #d9d5ca; height: 2px; margin-right: 10px; overflow: hidden; width: 59px; }
.card-progress span { background: var(--orange); display: block; height: 100%; }
.book-bottom b { color: var(--orange); font-family: var(--serif); font-size: 12px; font-weight: 600; }
.want-mark { color: #62665e; font-family: var(--serif); font-size: 10px; font-style: italic; }
.book-tags { display: flex; gap: 5px; margin-top: 13px; }
.book-tags span, .dialog-tags span { background: #ebe7dd; color: #77796f; font-size: 8px; letter-spacing: .05em; padding: 4px 6px; }
.loading-state, .empty-state { align-items: center; color: #888a81; display: flex; font-family: var(--serif); font-size: 14px; justify-content: center; min-height: 300px; }
.loading-state span { animation: spin .9s linear infinite; border: 1px solid #d0cbc0; border-top-color: var(--orange); border-radius: 100%; height: 16px; margin-right: 10px; width: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { flex-direction: column; gap: 10px; }
.empty-state span { color: var(--orange); font-size: 42px; line-height: 1; }
.empty-state p { margin: 0; }
.empty-state button { background: none; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 11px; padding: 0 0 3px; }

.quiet-section { background: #2d504d; color: #edf0e4; display: grid; grid-template-columns: 1.2fr 1.6fr 1.3fr .6fr; gap: 30px; margin: 0 -62px; min-height: 330px; padding: 70px 62px; position: relative; overflow: hidden; }
.quiet-section::after { border: 1px solid rgba(239,242,229,.16); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -125px; top: -149px; width: 420px; }
.quote-symbol { color: #d7a648; font-family: var(--serif); font-size: 100px; line-height: .7; }
.quiet-section .eyebrow { color: #c4d0c4; margin-bottom: 17px; }
.quiet-section .eyebrow span { background: #d7a648; }
.quiet-section h2 { font-size: 39px; position: relative; z-index: 1; }
.quiet-section > p { align-self: end; color: #d1d9cc; font-family: var(--serif); font-size: 13px; letter-spacing: .02em; line-height: 1.9; margin: 0 0 7px; max-width: 300px; }
.quiet-orbit { align-self: center; border: 1px solid #d7a648; border-radius: 50%; color: #e6c26b; font-family: var(--serif); font-size: 10px; height: 82px; letter-spacing: .05em; line-height: 1.5; padding-top: 27px; position: relative; text-align: center; transform: rotate(-14deg); width: 82px; z-index: 1; }

.site-footer { align-items: center; display: flex; justify-content: space-between; margin: auto; max-width: 1400px; min-height: 142px; padding: 0 62px; }
.site-footer .brand { transform: scale(.88); transform-origin: left; }
.site-footer p { color: #62665e; font-family: var(--serif); font-size: 11px; letter-spacing: .06em; margin: 0 0 0 75px; }
.back-top { font-size: 11px; letter-spacing: .06em; }
.back-top span { color: var(--orange); font-size: 18px; margin-left: 10px; }

.book-dialog { background: var(--paper); border: 0; box-shadow: 0 28px 70px rgba(22, 29, 24, .22); color: var(--ink); max-width: 690px; overflow: visible; padding: 0; width: calc(100% - 36px); }
.book-dialog::backdrop { backdrop-filter: blur(3px); background: rgba(34, 41, 34, .45); }
.book-dialog[open] { animation: dialog-in .26s ease-out; display: grid; grid-template-columns: 245px 1fr; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog-close { align-items: center; background: var(--ink); border: 0; border-radius: 50%; color: var(--paper); display: flex; font-size: 22px; font-weight: 300; height: 30px; justify-content: center; line-height: 1; padding: 0 0 3px; position: absolute; right: -12px; top: -12px; width: 30px; z-index: 2; }
.dialog-cover-wrap { align-items: center; background: #e9e3d7; display: flex; min-height: 390px; padding: 36px; }
.dialog-cover-wrap .book-cover { height: 300px; width: 185px; }
.dialog-cover-wrap .book-cover strong { font-size: 29px; }
.dialog-content { align-self: center; padding: 46px 48px 42px 25px; }
.dialog-status { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .17em; margin-bottom: 14px; text-transform: uppercase; }
.dialog-content h2 { font-size: 37px; line-height: 1.1; margin-bottom: 9px; }
.dialog-author { color: #7b7e75; font-family: var(--serif); font-size: 13px; margin-bottom: 31px; }
.dialog-quote { border-left: 2px solid var(--orange); color: #565a51; font-family: var(--serif); font-size: 15px; line-height: 1.8; margin-bottom: 30px; padding-left: 14px; }
.dialog-facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; gap: 13px; padding: 11px 0; }
.dialog-facts span { color: #686b62; font-size: 10px; }
.dialog-facts span + span { border-left: 1px solid var(--line); padding-left: 13px; }
.dialog-facts #dialog-rating { color: #d0953e; }
.dialog-tags { display: flex; gap: 6px; margin-top: 17px; }

/* Editorial landing page */
.home-page { --home-blue: #345b69; }
.home-header .brand-name, .home-footer .brand-name { font-family: var(--sans); font-size: 13px; letter-spacing: .17em; }
.home-header-link { border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding-bottom: 5px; }
.home-header-link span { color: var(--orange); font-size: 15px; margin-left: 9px; }
.home-main { max-width: none; padding: 0; }
.home-main > section { margin-left: auto; margin-right: auto; max-width: 1400px; }
.home-hero { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 682px; padding: 108px 62px 76px; position: relative; }
.home-hero-copy { position: relative; z-index: 2; }
.home-issue { color: #62665e; font-size: 8px; letter-spacing: .17em; margin: -6px 0 26px; }
.home-issue i { background: var(--line); display: inline-block; height: 1px; margin: 0 9px 2px; width: 36px; }
.home-hero h1 { font-size: clamp(66px, 6.9vw, 100px); margin-bottom: 27px; max-width: 650px; }
.home-lead { color: #555a51; font-family: var(--serif); font-size: 16px; line-height: 1.9; margin-bottom: 32px; max-width: 440px; }
.shelf-jump { max-width: 430px; }
.shelf-jump > label { color: #656960; display: block; font-size: 9px; font-weight: 700; letter-spacing: .13em; margin-bottom: 9px; }
.shelf-jump > div { align-items: center; border-bottom: 1px solid var(--ink); display: flex; min-height: 42px; }
.shelf-jump > div span { color: #62665e; font-family: var(--serif); font-size: 14px; }
.shelf-jump input { background: transparent; border: 0; color: var(--ink); flex: 1; font-family: var(--serif); font-size: 17px; min-width: 80px; outline: 0; padding: 8px 2px; }
.shelf-jump input::placeholder { color: #aaa99f; }
.shelf-jump button { background: none; border: 0; color: var(--orange); font-size: 22px; padding: 6px 2px 6px 16px; }
.shelf-jump > p { color: var(--orange); font-family: var(--serif); font-size: 11px; line-height: 1.55; min-height: 18px; padding-top: 7px; }
.shelf-jump button:disabled { cursor: wait; opacity: .55; }
.home-hero-art { min-height: 490px; position: relative; }
.home-orbit { border: 1px solid #ddd7ca; border-radius: 50%; position: absolute; }
.orbit-one { height: 445px; right: 0; top: -30px; width: 445px; }
.orbit-two { height: 365px; right: 40px; top: 10px; width: 365px; }
.home-book { box-shadow: 12px 15px 0 rgba(32,36,31,.16), 19px 24px 27px rgba(32,36,31,.13); display: flex; flex-direction: column; height: 294px; justify-content: center; padding: 24px 20px; position: absolute; transition: transform .35s cubic-bezier(.16,1,.3,1); width: 190px; }
.home-book::before { border: 1px solid currentColor; content: ""; inset: 10px; opacity: .34; position: absolute; }
.home-book small { font-size: 6px; left: 20px; letter-spacing: .13em; position: absolute; top: 23px; }
.home-book strong { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.07em; line-height: 1.17; position: relative; z-index: 1; }
.home-book > span { bottom: 22px; font-size: 7px; letter-spacing: .11em; position: absolute; }
.home-book-finished { background: #d8c678; color: #343829; left: 5%; top: 118px; transform: rotate(-8deg); z-index: 1; }
.home-book-reading { background: #385e69; color: #f0d98d; left: 34%; top: 53px; transform: rotate(3deg); z-index: 3; }
.home-book-wishlist { background: #984633; color: #fff0df; left: 62%; top: 137px; transform: rotate(9deg); z-index: 2; }
.home-book-finished:hover { transform: rotate(-5deg) translateY(-12px); }
.home-book-reading:hover { transform: rotate(1deg) translateY(-12px); }
.home-book-wishlist:hover { transform: rotate(6deg) translateY(-12px); }
.home-art-note { bottom: 12px; color: #686c63; font-size: 7px; left: 13%; letter-spacing: .16em; line-height: 1.65; position: absolute; }
.home-art-star { bottom: 47px; right: 10%; }
.home-ticker { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; justify-content: space-between; max-width: none !important; min-height: 76px; padding: 0 max(62px, calc((100vw - 1400px) / 2 + 62px)); }
.home-ticker span { font-family: var(--serif); font-size: 12px; letter-spacing: .05em; }
.home-ticker i { color: #c29438; font-size: 9px; font-style: normal; }
.home-why { display: grid; gap: 43px; grid-template-columns: .25fr 1.1fr .85fr; padding: 127px 62px 120px; }
.home-section-number { color: var(--orange); font-family: var(--serif); font-size: 30px; padding-top: 31px; }
.home-why-heading h2 { font-size: clamp(42px, 4.2vw, 61px); }
.home-why-copy { border-left: 1px solid var(--line); padding: 33px 0 0 45px; }
.home-why-copy p { color: #575b53; font-family: var(--serif); font-size: 14px; line-height: 1.9; margin-bottom: 21px; }
.home-states { border-top: 1px solid var(--line); padding: 110px 62px 128px; }
.home-states-heading { align-items: flex-end; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 53px; }
.home-states-heading .eyebrow { grid-column: 1 / -1; }
.home-states-heading h2 { font-size: 52px; }
.home-states-heading > p:last-child { color: #62665e; font-family: var(--serif); font-size: 13px; justify-self: end; margin: 0 10px 6px 0; }
.state-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.state-card { border: 1px solid var(--line); min-height: 370px; padding: 28px 30px; position: relative; }
.state-card + .state-card { border-left: 0; }
.state-card > span { color: #62665e; font-size: 7px; letter-spacing: .16em; }
.state-symbol { font-family: var(--serif); font-size: 67px; margin: 60px 0 27px; }
.state-card h3 { font-family: var(--serif); font-size: 31px; font-weight: 500; letter-spacing: -.05em; margin-bottom: 13px; }
.state-card p { color: #62665e; font-family: var(--serif); font-size: 13px; line-height: 1.7; max-width: 220px; }
.state-card small { bottom: 25px; font-size: 7px; letter-spacing: .18em; position: absolute; right: 26px; transform: rotate(-90deg); transform-origin: right bottom; }
.state-want .state-symbol { color: #9c6d86; }
.state-now { background: #345b58; border-color: #345b58; color: #edf0e4; transform: translateY(-12px); }
.state-now > span, .state-now p { color: #d5ded2; }
.state-now .state-symbol { color: #e0b54f; }
.state-now small { background: #345b58; color: #f2dfa6; padding: 3px; }
.state-done .state-symbol { color: var(--orange); }
.home-belief { align-items: center; background: #e9e2d5; display: grid; gap: 40px; grid-template-columns: .35fr 1.15fr 1fr; max-width: none !important; min-height: 340px; padding: 65px max(62px, calc((100vw - 1400px) / 2 + 62px)); }
.home-belief-mark { color: var(--orange); font-family: var(--serif); font-size: 105px; line-height: .7; }
.home-belief h2 { font-size: 43px; }
.home-belief-copy { border-left: 1px solid #ccc4b7; padding-left: 42px; }
.home-belief-copy p { color: #555a51; font-family: var(--serif); font-size: 13px; line-height: 1.9; max-width: 330px; }
.home-belief-copy span { color: #62665e; font-size: 7px; letter-spacing: .17em; }
.home-invitation { background: var(--teal); color: #eff1e6; margin-top: 100px; min-height: 410px; overflow: hidden; padding: 72px 9%; position: relative; }
.home-invitation::after { border: 1px solid rgba(238,242,229,.17); border-radius: 50%; content: ""; height: 540px; position: absolute; right: -90px; top: -170px; width: 540px; }
.home-invitation > p { color: #f0d17f; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.home-invitation h2 { font-size: clamp(50px, 5vw, 68px); margin-bottom: 35px; position: relative; z-index: 1; }
.home-invitation a { border-bottom: 1px solid #eff1e6; font-size: 11px; letter-spacing: .07em; padding-bottom: 7px; position: relative; z-index: 2; }
.home-invitation a span { color: #e3be62; font-size: 18px; margin-left: 15px; }
.invitation-seal { align-items: center; border: 1px solid #f0d17f; border-radius: 50%; color: #f0d17f; display: flex; font-family: var(--serif); font-size: 10px; height: 102px; justify-content: center; letter-spacing: .06em; line-height: 1.45; position: absolute; right: 13%; text-align: center; top: 145px; transform: rotate(13deg); width: 102px; z-index: 1; }
.home-footer { border-top: 0; }
.home-login-link { color: #5f635b; font-size: 10px; letter-spacing: .06em; }

/* Missing public shelf */
.missing-shelf-page { min-height: 100vh; }
.missing-header .brand-name { font-family: var(--sans); font-size: 13px; letter-spacing: .17em; }
.missing-shelf-main { align-items: center; display: grid; gap: 55px; grid-template-columns: 1.25fr .75fr; min-height: calc(100vh - 92px); max-width: 1180px; padding-bottom: 70px; padding-top: 70px; }
.missing-shelf-card { position: relative; z-index: 1; }
.missing-code { color: #74786f; font-size: 8px; letter-spacing: .17em; margin-bottom: 55px; }
.missing-code span { background: var(--line); display: inline-block; height: 1px; margin: 0 12px 2px; width: 48px; }
.missing-shelf-card h1 { font-size: clamp(54px, 6vw, 80px); margin-bottom: 25px; }
.missing-lead { color: #575b53; font-family: var(--serif); font-size: 15px; line-height: 1.85; max-width: 500px; }
.missing-invite-note { border-left: 2px solid var(--orange); margin: 35px 0 36px; max-width: 520px; padding: 3px 0 3px 20px; }
.missing-invite-note > span { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.missing-invite-note p { color: #62665e; font-family: var(--serif); font-size: 12px; line-height: 1.65; margin: 8px 0; }
.missing-invite-note code { background: #ebe5da; color: var(--teal); display: inline-block; font: 12px var(--sans); padding: 7px 9px; }
.missing-actions { align-items: center; display: flex; gap: 28px; }
.missing-text-link { border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; padding-bottom: 5px; }
.missing-text-link span { color: var(--orange); font-size: 17px; margin-left: 9px; }
.missing-shelf-art { align-items: center; border: 1px solid var(--line); border-radius: 210px 210px 0 0; display: flex; height: 475px; justify-content: center; position: relative; }
.missing-shelf-art::before { border: 1px solid #e3ddd1; border-radius: 180px 180px 0 0; content: ""; inset: 30px 30px 0; position: absolute; }
.missing-shelf-art > span { color: var(--orange); font-family: var(--serif); font-size: 170px; font-weight: 400; line-height: 1; transform: rotate(8deg); }
.missing-shelf-art i { bottom: 27px; color: #777a72; font-size: 7px; font-style: normal; left: 26px; letter-spacing: .16em; line-height: 1.6; position: absolute; }

/* Account access and private editor */
.auth-page, .editor-page { min-height: 100vh; }
.auth-shell { display: grid; grid-template-rows: auto 1fr auto; margin: auto; min-height: 100vh; max-width: 1180px; padding: 42px 62px 28px; }
.auth-brand { justify-self: start; }
.auth-panel { align-self: center; background: #efe9dd; border: 1px solid var(--line); margin: 50px auto; max-width: 750px; padding: 62px 72px; position: relative; width: 100%; }
.auth-panel::after { border: 1px solid #d5cdc0; border-radius: 50% 50% 0 0; content: ""; height: 290px; pointer-events: none; position: absolute; right: 42px; top: 35px; width: 210px; }
.auth-panel h1 { font-size: clamp(50px, 6.5vw, 78px); position: relative; z-index: 1; }
.auth-panel > p:not(.eyebrow) { color: #62665e; font-family: var(--serif); font-size: 14px; line-height: 1.8; max-width: 390px; position: relative; z-index: 1; }
.auth-form { display: grid; gap: 18px; margin-top: 34px; max-width: 390px; position: relative; z-index: 1; }
.auth-form label, .editor-form label { color: #5f635b; display: grid; font-size: 10px; font-weight: 700; gap: 8px; letter-spacing: .08em; }
.auth-form input, .editor-form input, .editor-form select, .editor-form textarea { background: rgba(255,255,255,.52); border: 1px solid #d0c9bc; border-radius: 0; color: var(--ink); font: 14px var(--sans); outline: none; padding: 12px 13px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.auth-form input:focus, .editor-form input:focus, .editor-form select:focus, .editor-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(49,95,90,.1); }
.primary-button, .secondary-button { align-items: center; border: 0; display: inline-flex; font-size: 11px; font-weight: 700; justify-content: center; letter-spacing: .06em; min-height: 42px; padding: 0 19px; }
.primary-button { background: var(--ink); color: var(--paper); }
.primary-button:hover { background: var(--teal); }
.primary-button span { color: #e2b557; font-size: 17px; margin-left: 13px; }
.primary-button:disabled { cursor: wait; opacity: .6; }
.secondary-button { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.secondary-button:hover { background: var(--ink); color: var(--paper); }
.form-error, .form-message { color: var(--orange); font-family: var(--serif); font-size: 12px; margin: 0; min-height: 17px; }
.auth-footnote { color: #777a72; font-family: var(--serif); font-size: 10px; letter-spacing: .06em; margin: 0; text-align: center; }

.editor-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; height: 82px; justify-content: space-between; margin: auto; max-width: 1400px; padding: 0 62px; }
.editor-header > div { align-items: center; display: flex; gap: 20px; }
.editor-header > div span { color: var(--muted); font-size: 11px; }
.editor-header > div a, .editor-header > div button { background: none; border: 0; color: var(--ink); font-size: 11px; padding: 5px 0; }
.editor-header > div button { color: var(--orange); }
.editor-main { max-width: 1180px; }
.editor-hero { border-bottom: 1px solid var(--line); padding: 88px 0 72px; }
.editor-hero h1 { font-size: clamp(58px, 7vw, 88px); margin-bottom: 20px; }
.editor-hero > p:last-child { color: #62665e; font-family: var(--serif); margin: 0; }
.editor-section { border-bottom: 1px solid var(--line); padding: 70px 0; }
.editor-section-title { align-items: center; display: flex; margin-bottom: 38px; }
.editor-section-title > span { color: var(--orange); font-family: var(--serif); font-size: 23px; margin-right: 18px; }
.editor-section-title > div p { color: #62665e; font-size: 8px; font-weight: 700; letter-spacing: .17em; margin-bottom: 6px; }
.editor-section-title h2 { font-size: 34px; }
.add-book-button { margin-left: auto; }
.editor-form { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editor-form .wide { grid-column: 1 / -1; }
.editor-form textarea { line-height: 1.6; resize: vertical; }
.form-actions { align-items: center; display: flex; justify-content: flex-end; gap: 20px; }
.form-actions .form-message, .form-actions .form-error { margin-right: auto; }
.editor-books { border-top: 1px solid var(--line); }
.editor-book { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 22px; grid-template-columns: 48px minmax(0, 1fr) 90px 110px; min-height: 94px; padding: 14px 5px; }
.editor-book-swatch { align-items: center; background: var(--tone); color: var(--accent); display: flex; font-size: 8px; height: 60px; justify-content: center; width: 41px; }
.editor-book-main > span { color: var(--orange); font-size: 8px; letter-spacing: .08em; }
.editor-book-main h3 { font-family: var(--serif); font-size: 18px; margin: 5px 0 3px; }
.editor-book-main p { color: #62665e; font-size: 10px; margin: 0; }
.editor-book-meta { color: #676b62; font-family: var(--serif); font-size: 12px; }
.editor-book-actions { display: flex; gap: 14px; justify-content: flex-end; }
.editor-book-actions button { background: none; border: 0; border-bottom: 1px solid #a9a99f; color: #555950; font-size: 10px; padding: 4px 0; }
.editor-book-actions button:last-child { color: var(--orange); }
.editor-empty { align-items: center; color: #62665e; display: flex; flex-direction: column; font-family: var(--serif); justify-content: center; min-height: 180px; }
.editor-empty span { color: var(--orange); font-size: 38px; }
.editor-dialog { background: var(--paper); border: 0; box-shadow: 0 28px 70px rgba(22,29,24,.23); color: var(--ink); max-height: calc(100vh - 40px); max-width: 760px; padding: 42px 48px; width: calc(100% - 36px); }
.editor-dialog::backdrop { backdrop-filter: blur(3px); background: rgba(34,41,34,.46); }
.editor-dialog[open] { animation: dialog-in .25s ease-out; }
.editor-dialog-heading { margin-bottom: 28px; }
.editor-dialog-heading h2 { font-size: 38px; }
.editor-dialog .dialog-close { right: 13px; top: 13px; }
.invitation-description { color: #62665e; font-family: var(--serif); font-size: 13px; line-height: 1.8; margin: -16px 0 31px 41px; }
.invitation-result { background: #e9e2d5; margin: 0 0 30px; padding: 22px 24px; }
.invitation-result > label { color: #5f635b; display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; margin-bottom: 9px; }
.invitation-result > div { display: flex; }
.invitation-result input { background: var(--paper); border: 1px solid #cfc7b9; border-radius: 0; color: var(--ink); flex: 1; font-size: 12px; min-width: 0; padding: 11px 12px; }
.invitation-result button { background: var(--ink); border: 0; color: var(--paper); font-size: 10px; min-width: 90px; }
.invitation-result p { color: #62665e; font-family: var(--serif); font-size: 11px; margin: 9px 0 0; min-height: 15px; }
.invitation-list { border-top: 1px solid var(--line); }
.invitation-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 15px; grid-template-columns: 10px 1fr auto; min-height: 72px; padding: 12px 5px; }
.invitation-dot { border-radius: 50%; height: 7px; width: 7px; }
.invitation-dot.is-active { background: #4f8072; }
.invitation-dot.is-used { background: #a7a398; }
.invitation-dot.is-expired { background: var(--orange); }
.invitation-item strong { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.invitation-item p { color: #6a6e65; font-size: 9px; margin: 4px 0 0; }
.invitation-item button { background: none; border: 0; border-bottom: 1px solid var(--orange); color: var(--orange); font-size: 10px; padding: 3px 0; }
.invitation-empty { color: #62665e; font-family: var(--serif); font-size: 13px; padding: 34px 0; text-align: center; }
.join-panel { max-width: 790px; }
.join-panel .auth-form { grid-template-columns: 1fr 1fr; max-width: none; }
.join-panel .auth-form .form-error, .join-panel .auth-form button { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .site-header, main, .site-footer { padding-left: 30px; padding-right: 30px; }
  .site-header nav { margin-left: 0; }
  .hero { grid-template-columns: 1fr .85fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-note { display: none; }
  .reading-numbers, .quiet-section { margin-left: -30px; margin-right: -30px; padding-left: 30px; padding-right: 30px; }
  .number-block { gap: 7px; padding-right: 17px; }
  .number-block + .number-block, .year-block { padding-left: 17px; }
  .number-block strong { font-size: 33px; }
  .book-grid { column-gap: 20px; }
  .book-object { height: 255px; }
  .quiet-section { grid-template-columns: .5fr 1.3fr 1.15fr; }
  .quiet-orbit { display: none; }
  .home-hero { grid-template-columns: 1fr .8fr; padding-left: 30px; padding-right: 30px; }
  .home-book { height: 260px; width: 162px; }
  .home-book-finished { left: -2%; }
  .home-book-reading { left: 24%; }
  .home-book-wishlist { left: 51%; }
  .home-why, .home-states { padding-left: 30px; padding-right: 30px; }
  .home-why { gap: 28px; }
  .home-why-copy { padding-left: 28px; }
}

@media (max-width: 650px) {
  .site-header { height: 72px; padding-left: 20px; padding-right: 20px; }
  .brand-name, .site-header nav, .header-date { font-size: 11px; }
  .site-header nav { gap: 17px; }
  .brand-name { display: none; }
  main { padding: 0 20px; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 64px 0 50px; }
  h1 { font-size: clamp(53px, 17vw, 76px); margin-bottom: 23px; }
  .hero-description { font-size: 14px; max-width: 340px; }
  .hero-reading { height: 390px; margin: 47px -5px 0; min-height: 0; }
  .arch { left: 3%; }
  .feature-book { bottom: 24px; height: 252px; left: 21%; width: 172px; }
  .feature-book-cover { padding: 25px 20px; }
  .feature-book-cover strong { font-size: 28px; margin-top: 31px; }
  .reading-meta { bottom: 37px; left: calc(21% + 207px); }
  .reading-numbers { grid-template-columns: repeat(3, 1fr); margin-left: -20px; margin-right: -20px; padding: 0 20px; }
  .number-block { align-items: flex-start; flex-direction: column; gap: 5px; min-height: 101px; padding: 25px 9px 18px 0; }
  .number-block + .number-block { padding-left: 11px; }
  .number-block strong { font-size: 33px; }
  .number-block span { font-size: 9px; }
  .year-block { border-top: 1px solid var(--line); grid-column: 1 / -1; justify-content: flex-start; min-height: 49px; padding: 0; }
  .shelf-section { padding: 80px 0 71px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 35px; }
  h2 { font-size: 42px; }
  .section-intro { font-size: 12px; margin: 0; }
  .shelf-controls { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 39px; }
  .filters { gap: 16px; overflow-x: auto; width: calc(100vw - 40px); }
  .filter { flex: 0 0 auto; }
  .search-box { width: 100%; }
  .book-group { margin-bottom: 63px; }
  .group-heading { margin-bottom: 28px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 32px; }
  .book-object { height: min(61vw, 263px); padding-right: 13px; }
  .book-cover { padding: 14px 13px; }
  .cover-mark { left: 13px; top: 13px; }
  .cover-author { font-size: 8px; }
  .book-cover strong { font-size: clamp(22px, 7.1vw, 31px); margin-top: 12px; }
  .book-info { padding-top: 14px; }
  .book-info h3 { font-size: 16px; margin-bottom: 8px; }
  .book-tags { display: none; }
  .quiet-section { display: grid; grid-template-columns: 34px 1fr; gap: 13px; margin-left: -20px; margin-right: -20px; min-height: 0; padding: 58px 28px 56px 20px; }
  .quote-symbol { font-size: 65px; }
  .quiet-section h2 { font-size: 37px; }
  .quiet-section > p { grid-column: 2; margin: 18px 0 0; }
  .site-footer { min-height: 107px; padding-left: 20px; padding-right: 20px; }
  .site-footer p { display: none; }
  .dialog-cover-wrap { display: none; }
  .book-dialog[open] { display: block; max-width: 410px; }
  .dialog-content { padding: 38px 30px 32px; }
  .dialog-content h2 { font-size: 34px; }
  .auth-shell { padding: 25px 20px 18px; }
  .auth-panel { margin: 35px 0; padding: 45px 25px; }
  .auth-panel::after { height: 220px; opacity: .55; right: 18px; width: 155px; }
  .auth-panel h1 { font-size: 52px; }
  .editor-header { height: 72px; padding: 0 20px; }
  .editor-header .brand-name, #account-name { display: none; }
  .editor-header > div { gap: 13px; }
  .editor-main { padding: 0 20px; }
  .editor-hero { padding: 62px 0 52px; }
  .editor-hero h1 { font-size: 54px; }
  .editor-section { padding: 52px 0; }
  .editor-section-title { align-items: flex-end; flex-wrap: wrap; }
  .editor-section-title h2 { font-size: 30px; }
  .add-book-button { flex: 0 0 100%; margin-top: 22px; }
  .editor-form { grid-template-columns: 1fr; }
  .editor-form .wide { grid-column: auto; }
  .editor-book { gap: 12px; grid-template-columns: 38px minmax(0, 1fr) auto; }
  .editor-book-swatch { height: 52px; width: 35px; }
  .editor-book-meta { display: none; }
  .editor-book-actions { flex-direction: column; gap: 4px; }
  .editor-dialog { padding: 38px 23px 30px; }
  .editor-dialog .book-form { grid-template-columns: 1fr 1fr; }
  .editor-dialog .book-form .wide { grid-column: 1 / -1; }
  .invitation-description { margin-left: 0; }
  .invitation-result { padding: 18px 15px; }
  .invitation-result > div { flex-direction: column; }
  .invitation-result button { min-height: 40px; }
  .join-panel .auth-form { grid-template-columns: 1fr; }
  .join-panel .auth-form .form-error, .join-panel .auth-form button { grid-column: auto; }
  .home-header nav { display: none; }
  .home-header .brand-name { display: inline; }
  .home-header-link { font-size: 10px; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; padding: 66px 20px 55px; }
  .home-hero h1 { font-size: 58px; }
  .home-lead { font-size: 14px; }
  .home-hero-art { height: 390px; margin: 58px 0 0; min-height: 0; }
  .orbit-one { height: 345px; right: -105px; width: 345px; }
  .orbit-two { height: 285px; right: -75px; width: 285px; }
  .home-book { height: 224px; padding: 18px 15px; width: 140px; }
  .home-book strong { font-size: 22px; }
  .home-book small { left: 15px; top: 18px; }
  .home-book > span { bottom: 18px; }
  .home-book-finished { left: 0; top: 98px; }
  .home-book-reading { left: 28%; top: 28px; }
  .home-book-wishlist { left: 57%; top: 108px; }
  .home-art-note { bottom: 0; left: 4%; }
  .home-ticker { gap: 20px; justify-content: flex-start; min-height: 62px; overflow: hidden; padding: 0 20px; white-space: nowrap; }
  .home-ticker span:nth-of-type(n+4), .home-ticker i:nth-of-type(n+4) { display: none; }
  .home-why { display: grid; gap: 19px; grid-template-columns: 38px 1fr; padding: 82px 20px 76px; }
  .home-section-number { font-size: 23px; padding-top: 27px; }
  .home-why-heading h2 { font-size: 41px; }
  .home-why-copy { border-left: 0; grid-column: 2; padding: 15px 0 0; }
  .home-states { padding: 72px 20px 86px; }
  .home-states-heading { display: block; margin-bottom: 35px; }
  .home-states-heading h2 { font-size: 41px; margin-bottom: 14px; }
  .home-states-heading > p:last-child { margin: 0; }
  .state-grid { grid-template-columns: 1fr; }
  .state-card { min-height: 285px; }
  .state-card + .state-card { border-left: 1px solid var(--line); border-top: 0; }
  .state-now { border: 0; transform: none; }
  .state-symbol { font-size: 53px; margin: 34px 0 16px; }
  .home-belief { display: grid; gap: 18px; grid-template-columns: 44px 1fr; padding: 58px 20px; }
  .home-belief-mark { font-size: 69px; }
  .home-belief h2 { font-size: 35px; }
  .home-belief-copy { border-left: 0; grid-column: 2; padding: 15px 0 0; }
  .home-invitation { margin-top: 0; min-height: 390px; padding: 65px 27px; }
  .home-invitation h2 { font-size: 49px; }
  .invitation-seal { height: 80px; right: 9%; top: 255px; width: 80px; }
  .home-footer .brand-name { display: inline; }
  .home-login-link { font-size: 9px; }
  .missing-header .brand-name { display: inline; }
  .missing-shelf-main { display: block; min-height: 0; padding: 65px 20px 70px; }
  .missing-code { margin-bottom: 42px; }
  .missing-shelf-card h1 { font-size: 48px; }
  .missing-lead { font-size: 14px; }
  .missing-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .missing-shelf-art { 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; }
}

.language-switcher {
  align-items: center; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--line); border-radius: 999px; bottom: 20px; box-shadow: 0 6px 24px rgba(48, 41, 31, .1);
  display: flex; gap: 6px; padding: 5px 8px; position: fixed; right: 20px; z-index: 1000;
}
.language-switcher button { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font: 600 10px/1 var(--sans); letter-spacing: .08em; padding: 5px; }
.language-switcher button[aria-pressed="true"] { color: var(--accent); }
.language-switcher span { color: var(--line-dark); font-size: 9px; }
