:root {
  color-scheme: light;
  --navy: #10263d;
  --navy-2: #193550;
  --ink: #1d2c3a;
  --muted: #657280;
  --accent: #d7ad6c;
  --accent-dark: #b78742;
  --paper: #fbfaf7;
  --line: #e5e7e8;
  --surface-shadow: 0 16px 40px rgba(16,38,61,.08);
  --radius-card: 10px;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #d5aa64; outline-offset: 3px; }
.page-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { 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: 8px; left: 8px; z-index: 20; padding: 10px 14px; color: var(--navy); background: #fff; border-radius: 5px; }

.site-header { position: sticky; z-index: 10; top: 0; height: 76px; color: #fff; background: rgba(16,38,61,.97); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 5px 20px rgba(7,22,36,.12); backdrop-filter: blur(14px); }
.header-inner { display: flex; width: min(1240px, calc(100% - 48px)); height: 100%; margin: auto; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: var(--accent); }
.brand-mark svg { width: 34px; }
.brand-light { color: #aab8c5; font-weight: 500; }
.primary-nav { display: flex; gap: 32px; height: 100%; align-items: center; }
.primary-nav a { color: #d2dbe3; font-size: 13px; font-weight: 600; transition: color .2s, background .2s, border-color .2s; }
.primary-nav a:hover { color: #fff; }
.primary-nav .nav-cta { display: inline-flex; gap: 12px; align-items: center; padding: 10px 15px; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; }
.primary-nav .nav-cta:hover { color: var(--navy); background: #fff; border-color: #fff; }
.primary-nav .nav-cta span { color: var(--accent); font-size: 17px; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(90deg, rgba(11,29,47,.97) 0%, rgba(16,38,61,.88) 48%, rgba(16,38,61,.68) 100%), url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2000&q=85") center 48% / cover no-repeat, var(--navy); }
.hero::after { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 48%, rgba(109,143,163,.16), transparent 44%); content: ""; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(209,222,230,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(209,222,230,.12) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent, black 44%, black); }
.hero-inner { position: relative; z-index: 1; display: grid; min-height: 600px; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 60px 0 70px; }
.eyebrow { display: flex; gap: 11px; align-items: center; margin: 0 0 20px; color: #e0bb83; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.eyebrow-line { display: inline-block; width: 29px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
.hero h1 { margin-bottom: 21px; font-size: clamp(44px, 5.2vw, 66px); font-weight: 600; letter-spacing: -3.5px; line-height: 1.1; }
.hero h1 span { color: var(--accent); font-weight: 800; }
.hero-description { max-width: 470px; margin-bottom: 27px; color: #c1cbd4; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 28px; align-items: center; }
.button { display: inline-flex; min-height: 48px; padding: 0 19px; gap: 22px; align-items: center; justify-content: center; border: 0; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-1px); }
.button-accent { color: #17283a; background: var(--accent); box-shadow: 0 5px 14px rgba(8,19,29,.12); }
.button-accent:hover { background: #e5c28c; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: #e4e9ed; font-size: 12px; font-weight: 600; }
.text-link span { color: var(--accent); font-size: 16px; }
.hero-proof { display: flex; gap: 10px; align-items: center; margin-top: 43px; color: #adbbc6; font-size: 11px; }
.proof-icon { display: grid; width: 24px; height: 24px; place-items: center; color: var(--accent); border: 1px solid rgba(215,173,108,.4); border-radius: 50%; font-size: 13px; }
.hero-art { position: relative; display: flex; min-height: 450px; align-items: center; justify-content: center; color: #9ab0c1; }
.blueprint { width: min(100%, 475px); overflow: visible; filter: drop-shadow(0 6px 24px rgba(0,0,0,.1)); }
.art-caption, .art-note, .art-coordinates { position: absolute; color: #93a6b6; font-size: 9px; letter-spacing: 1.2px; }
.art-caption { top: 43px; right: 0; }
.caption-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--accent); border-radius: 50%; }
.art-note { right: 14px; bottom: 43px; display: flex; gap: 10px; align-items: center; letter-spacing: .2px; }
.art-note span:first-child { color: var(--accent); }
.art-coordinates { bottom: 41px; left: 5px; color: #6f879a; font-size: 8px; line-height: 1.8; }
.hero-bottom-note { position: absolute; bottom: 22px; left: 0; display: flex; gap: 10px; align-items: center; color: #748a9c; font-size: 8px; letter-spacing: 1.3px; }
.scroll-line { width: 23px; height: 1px; background: var(--accent); }

.trust-strip { background: #f7f6f2; border-bottom: 1px solid #eeece6; }
.trust-inner { display: flex; min-height: 66px; gap: 35px; align-items: center; color: #586574; }
.trust-inner > p { margin: 0; color: #82909b; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.trust-divider { height: 21px; border-left: 1px solid #d9d9d4; }
.trust-inner > span:not(.trust-divider) { display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 600; }
.trust-inner i { color: var(--accent-dark); font-size: 16px; font-style: normal; }

.section { padding-top: 78px; padding-bottom: 80px; }
.section-heading { display: flex; margin-bottom: 30px; align-items: end; justify-content: space-between; }
.eyebrow-dark { margin-bottom: 9px; color: #9a773f; font-size: 9px; }
h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.24; }
.dark-link { margin-bottom: 5px; color: #455566; }
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.subject-card { position: relative; display: flex; min-height: 132px; padding: 21px 20px; flex-direction: column; justify-content: space-between; text-align: left; background: linear-gradient(145deg,#fff,#fdfcf9); border: 1px solid var(--line); border-radius: var(--radius-card); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.subject-card:hover { transform: translateY(-3px); border-color: #d3b47f; box-shadow: 0 8px 22px rgba(16,38,61,.07); }
.subject-icon { display: grid; width: 36px; height: 36px; place-items: center; color: #9a773f; background: #f4efe5; border-radius: 8px; font-size: 17px; }
.subject-card strong { color: #263847; font-family: var(--font-display); font-size: 13px; line-height: 1.35; }
.subject-arrow { position: absolute; right: 17px; bottom: 19px; color: #a5a9a9; font-size: 17px; }

.library-section { background: linear-gradient(180deg,#f8f7f3 0%,#fbfaf7 42%); border-top: 1px solid #f0eee9; border-bottom: 1px solid #f0eee9; }
.library-heading { margin-bottom: 27px; }
.section-intro { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.sample-notice { display: inline-flex; padding: 8px 12px; gap: 7px; align-items: center; color: #7e643e; background: #f4efe5; border: 1px solid #eee6d6; border-radius: 6px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.sample-notice span { color: #b78742; }
.library-tools { display: flex; gap: 10px; align-items: end; padding: 15px; background: #fff; border: 1px solid #e8e7e2; border-radius: var(--radius-card); box-shadow: 0 8px 24px rgba(16,38,61,.035); }
.search-box { display: flex; height: 44px; min-width: 220px; padding: 0 12px; flex: 1; gap: 10px; align-items: center; border: 1px solid #e1e4e6; border-radius: 6px; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: #b9945d; box-shadow: 0 0 0 3px rgba(215,173,108,.14); }
.search-box svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #71808d; stroke-width: 1.7; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #9aa2a8; }
.search-box kbd { padding: 0 5px; color: #85909a; background: #f7f7f6; border: 1px solid #e5e7e8; border-radius: 2px; font: 10px var(--font-body); }
.filter-label { display: grid; min-width: 158px; gap: 3px; color: #727d86; font-size: 9px; font-weight: 600; }
.filter-label select { width: 100%; height: 44px; padding: 0 28px 0 10px; color: #354654; background-color: #fff; border: 1px solid #e1e4e6; border-radius: 6px; font-size: 11px; }
.clear-filters { height: 42px; padding: 0 7px; color: #7a858d; background: transparent; border: 0; font-size: 10px; cursor: pointer; white-space: nowrap; }
.clear-filters:hover { color: var(--navy); text-decoration: underline; }
.results-meta { display: flex; margin: 20px 1px 13px; align-items: center; justify-content: space-between; color: #89929a; font-size: 10px; }
.results-meta p { margin: 0; color: #364756; font-size: 11px; font-weight: 700; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.book-card { overflow: hidden; background: #fff; border: 1px solid #e7e8e7; border-radius: var(--radius-card); box-shadow: 0 5px 18px rgba(16,38,61,.035); transition: transform .22s, box-shadow .22s, border-color .22s; }
.book-card:hover { transform: translateY(-4px); border-color: #d8c8a9; box-shadow: var(--surface-shadow); }
.book-card-button { display: block; width: 100%; padding: 0; color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer; }
.book-cover { position: relative; display: flex; height: 190px; overflow: hidden; padding: 20px 21px; flex-direction: column; justify-content: space-between; color: white; background: var(--cover, #193550); }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; transition: transform .5s ease, opacity .3s ease; }
.book-card:hover .cover-image { transform: scale(1.045); opacity: .43; }
.cover-linework { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(235,229,212,.45); fill: none; }
.cover-top, .cover-main, .cover-bottom { position: relative; z-index: 1; }
.cover-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.72); font-size: 8px; font-weight: 600; letter-spacing: 1.2px; }
.cover-main { max-width: 245px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; text-wrap: balance; }
.cover-bottom { display: flex; justify-content: space-between; color: rgba(255,255,255,.65); font-size: 8px; letter-spacing: .9px; }
.sample-tag { position: absolute; z-index: 2; top: 13px; right: 0; padding: 4px 8px; color: #203143; background: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .6px; }
.book-card-body { padding: 18px 18px 17px; }
.book-meta { display: flex; margin-bottom: 8px; gap: 8px; align-items: center; }
.subject-pill { color: #967440; font-size: 9px; font-weight: 700; }
.level-pill { padding: 3px 6px; color: #697782; background: #f0f2f2; border-radius: 2px; font-size: 8px; font-weight: 600; }
.page-pill { padding: 3px 6px; color: #10263d; background: #e7eff6; border: 1px solid #c9daea; border-radius: 2px; font-size: 8px; font-weight: 700; }
.book-card h3 { margin: 0 0 7px; color: #223545; font-size: 15px; font-weight: 700; letter-spacing: -.3px; line-height: 1.4; }
.book-card-body > p { min-height: 40px; margin-bottom: 15px; color: #727e87; font-size: 11px; line-height: 1.65; }
.book-card-link { display: flex; padding-top: 11px; align-items: center; justify-content: space-between; color: #31485b; border-top: 1px solid #eff0ef; font-size: 10px; font-weight: 700; }
.book-card-link span { color: #b58b4f; font-size: 15px; }
.empty-state { padding: 55px 20px; color: #71808b; text-align: center; }
.empty-state > span { display: inline-grid; width: 48px; height: 48px; place-items: center; color: #a47d45; background: #f4efe5; border-radius: 50%; font-size: 24px; }
.empty-state h3 { margin: 13px 0 5px; color: var(--navy); font-size: 18px; }
.empty-state p { margin-bottom: 18px; font-size: 12px; }
.button-outline { color: #30475a; background: #fff; border: 1px solid #d7dcde; }

.about-section { padding: 86px 0; background: #f4f4f1; }
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 76px; align-items: center; }
.about-visual { position: relative; display: grid; min-height: 315px; padding: 22px; place-items: center; background: radial-gradient(ellipse at 65% 45%,#244761,var(--navy) 72%); border-radius: var(--radius-card); box-shadow: 0 18px 40px rgba(16,38,61,.12); }
.about-blueprint { width: 100%; color: #9bb0bf; }
.about-blueprint svg { display: block; width: 100%; margin: 13px 0 5px; }
.blueprint-label, .blueprint-foot { color: #a1b0bb; font-size: 8px; letter-spacing: 1.2px; }
.blueprint-foot b { margin-inline: 5px; color: var(--accent); }
.about-stamp { position: absolute; right: -24px; bottom: 25px; padding: 12px 15px; color: #b5c3cc; background: #23415b; border-left: 2px solid var(--accent); border-radius: 0 6px 6px 0; font-size: 8px; letter-spacing: 1.1px; line-height: 1.7; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.about-stamp b { color: white; font-size: 9px; }
.about-copy .eyebrow { margin-bottom: 13px; color: #967440; }
.about-copy h2 { margin-bottom: 17px; font-size: clamp(27px, 3vw, 35px); }
.about-copy > p:not(.eyebrow) { margin-bottom: 13px; color: #64717b; font-size: 12px; line-height: 1.9; }
.about-copy .button { margin-top: 10px; }

.contact-section { padding: 81px 0; color: #fff; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.contact-copy .eyebrow { margin-bottom: 12px; }
.contact-copy h2 { margin-bottom: 16px; color: #fff; font-size: clamp(28px, 3vw, 37px); }
.contact-copy > p:not(.eyebrow):not(.replace-note) { max-width: 420px; margin-bottom: 26px; color: #bac6cf; font-size: 12px; line-height: 1.8; }
.contact-links { display: grid; gap: 14px; }
.contact-links > a { display: flex; gap: 12px; align-items: center; color: #edf0f2; font-size: 12px; }
.contact-links > a:hover { color: var(--accent); }
.contact-links small { display: block; color: #93a4b1; font-size: 8px; letter-spacing: 1.1px; }
.contact-icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--accent); border: 1px solid rgba(215,173,108,.32); border-radius: 50%; }
.replace-note { margin: 21px 0 0; color: #8395a3; font-size: 9px; }
.contact-form { padding: 27px; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius-card); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.contact-form h3 { margin-bottom: 2px; color: var(--navy); font-size: 18px; }
.contact-form > p:first-of-type { margin-bottom: 19px; color: #81909a; font-size: 10px; }
.contact-form label { display: block; margin: 12px 0 5px; color: #40515e; font-size: 10px; font-weight: 700; }
.contact-form label span { color: #a36a38; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 11px; color: #293d4d; background: #fff; border: 1px solid #e0e4e5; border-radius: 6px; font-size: 11px; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #b9945d; box-shadow: 0 0 0 3px rgba(215,173,108,.14); outline: 0; }
.contact-form input { height: 40px; }
.contact-form textarea { min-height: 87px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a3acb2; }
.contact-form .button { width: 100%; margin-top: 15px; }
.form-feedback { margin: 12px 0 0; padding: 9px; color: #304d3c; background: #eff6ef; border-radius: 3px; font-size: 11px; }
.form-demo-note { margin: 11px 0 0 !important; color: #89939a !important; text-align: center; font-size: 9px !important; }

.site-footer { color: #bdc8d0; background: #0b1c2d; }
.footer-main { display: flex; min-height: 95px; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { color: #fff; font-size: 14px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand .brand-mark svg { width: 29px; }
.footer-main > p { margin: 0; color: #9baab5; font-size: 10px; }
.footer-main nav { display: flex; gap: 20px; }
.footer-main nav a, .footer-bottom { color: #9baab5; font-size: 10px; }
.footer-main nav a:hover { color: white; }
.footer-bottom { display: flex; min-height: 45px; align-items: center; justify-content: space-between; font-size: 9px; }

.detail-section { min-height: 70vh; padding-top: 40px; padding-bottom: 75px; }
.breadcrumb { display: flex; margin-bottom: 28px; gap: 8px; align-items: center; color: #83909a; font-size: 11px; }
.breadcrumb a { color: #526678; }
.detail-back { display: inline-flex; margin-bottom: 20px; padding: 0; gap: 7px; color: #576c7c; background: transparent; border: 0; font-size: 11px; font-weight: 600; cursor: pointer; }
.detail-back:hover { color: var(--accent-dark); }
.detail-grid { display: grid; grid-template-columns: 340px 1fr; gap: 54px; align-items: start; }
.detail-cover .book-cover { height: 430px; padding: 29px; }
.detail-cover .cover-main { font-size: 31px; }
.detail-cover .cover-top { font-size: 9px; }
.detail-cover .cover-bottom { font-size: 9px; }
.detail-copy .book-meta { margin: 0 0 13px; }
.detail-copy h1 { margin: 0 0 13px; color: var(--navy); font-family: var(--font-display); font-size: clamp(30px, 4vw, 43px); letter-spacing: -1.5px; line-height: 1.18; }
.detail-author { margin: 0 0 21px; color: #667580; font-size: 12px; }
.detail-description { color: #5f6e79; font-size: 13px; line-height: 1.85; }
.detail-action { margin: 14px 0 26px; }
.coming-soon { display: inline-flex; padding: 12px 15px; gap: 9px; align-items: center; color: #735b36; background: #f6f1e7; border: 1px solid #eee2cd; border-radius: 3px; font-size: 11px; font-weight: 700; }
.detail-author + .detail-description { margin-top: 0; }
.detail-toc { padding-top: 22px; border-top: 1px solid #e5e8e8; }
.detail-toc h2 { margin-bottom: 13px; font-size: 18px; }
.detail-toc ol { display: grid; padding-left: 19px; gap: 8px; color: #667580; font-size: 12px; }
.detail-toc li::marker { color: #ae8954; font-weight: 700; }
.detail-note { margin-top: 23px; padding: 13px 15px; color: #6f6656; background: #faf7f0; border-left: 2px solid var(--accent); font-size: 10px; line-height: 1.7; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .primary-nav { gap: 19px; }
  .hero-inner { min-height: 530px; grid-template-columns: 1.08fr .92fr; }
  .hero h1 { font-size: 48px; }
  .hero-art { min-height: 390px; }
  .trust-inner { gap: 20px; }
  .trust-inner > span:not(.trust-divider) { font-size: 10px; }
  .subject-grid { grid-template-columns: repeat(2, 1fr); }
  .library-tools { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; }
  .filter-label { flex: 1; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 46px; }
  .contact-grid { gap: 45px; }
  .detail-grid { grid-template-columns: 285px 1fr; gap: 34px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 66px; }
  .page-width { width: min(100% - 36px, 480px); }
  .site-header { height: 66px; }
  .header-inner { width: calc(100% - 36px); }
  .brand { font-size: 15px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-mark svg { width: 30px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; padding: 10px 8px; flex-direction: column; gap: 5px; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.23); border-radius: 3px; }
  .menu-toggle span { display: block; width: 100%; height: 1.5px; background: #fff; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; height: auto; padding: 11px 18px 17px; flex-direction: column; gap: 0; align-items: stretch; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 18px rgba(9,24,38,.22); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav .nav-cta { margin-top: 10px; padding: 11px 12px; justify-content: space-between; border: 1px solid rgba(255,255,255,.24); }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 51px 0 20px; }
  .hero h1 { font-size: clamp(40px, 11vw, 53px); letter-spacing: -2.6px; }
  .hero-description { max-width: 440px; font-size: 13px; }
  .hero-proof { margin-top: 27px; }
  .hero-art { min-height: 275px; margin: -5px 0 34px; }
  .blueprint { width: min(100%, 340px); }
  .art-caption { top: 4px; right: 2px; }
  .art-note { right: 1px; bottom: 7px; }
  .art-coordinates { bottom: 4px; }
  .hero-bottom-note { bottom: 13px; font-size: 7px; }
  .trust-inner { min-height: 59px; gap: 11px; justify-content: space-between; }
  .trust-inner > p, .trust-divider { display: none; }
  .trust-inner > span:not(.trust-divider) { gap: 5px; font-size: 8px; }
  .trust-inner i { font-size: 13px; }
  .section { padding-top: 58px; padding-bottom: 60px; }
  .section-heading { gap: 15px; align-items: start; }
  .section-heading > .text-link { margin-top: 22px; font-size: 10px; white-space: nowrap; }
  .section-intro { max-width: 390px; font-size: 12px; }
  .subject-grid { gap: 10px; }
  .subject-card { min-height: 113px; padding: 14px; }
  .subject-card strong { max-width: calc(100% - 20px); font-size: 11px; }
  .subject-arrow { right: 12px; bottom: 13px; }
  .library-heading { display: block; }
  .sample-notice { margin-top: 14px; }
  .library-tools { padding: 10px; gap: 8px; }
  .search-box { height: 42px; flex-basis: 100%; }
  .filter-label { min-width: 0; font-size: 8px; }
  .filter-label select { padding-left: 7px; font-size: 10px; }
  .clear-filters { height: 34px; margin-left: auto; }
  .results-meta { gap: 10px; font-size: 8px; }
  .results-meta > span { text-align: right; }
  .book-grid { grid-template-columns: 1fr; gap: 13px; }
  .book-cover { height: 173px; }
  .book-card-body > p { min-height: 0; }
  .about-section { padding: 62px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 37px; }
  .about-visual { min-height: 255px; }
  .about-stamp { right: -8px; bottom: 18px; }
  .about-copy h2 { font-size: 31px; }
  .contact-section { padding: 61px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-copy h2 { font-size: 32px; }
  .contact-form { padding: 20px; }
  .footer-main { padding: 21px 0; flex-wrap: wrap; gap: 13px; }
  .footer-main > p { width: 100%; order: 2; }
  .footer-main nav { gap: 14px; }
  .footer-main nav a { font-size: 9px; }
  .footer-bottom { min-height: 54px; gap: 10px; font-size: 8px; }
  .footer-bottom span:last-child { text-align: right; }
  .detail-section { padding-top: 25px; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-cover { width: min(100%, 330px); margin-inline: auto; }
  .detail-cover .book-cover { height: 350px; }
  .detail-copy h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Keep hash-linked sections clear of the sticky header. */
main, main section[id] { scroll-margin-top: 84px; }
.book-card-button:focus-visible { outline-offset: -3px; }
