.geo-page {
    --wine: #750014;
    --signal: #ff1423;
    --carbon: #212326;
    --slate: #40464c;
    --silver: #8b959e;
    --line: #b8c2cc;
    --cloud: #f2f4f8;
    --inset: clamp(24px, 5.5vw, 100px);
    --measure: 1300px;
    --book-serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
    color: var(--carbon);
    background: #fff;
}
.geo-page .geo-spread, .geo-page .reader-reviews>.frame {
    width: min(calc(100% - var(--inset) * 2), var(--measure));
    margin-inline: auto;
}
.geo-page :is(a, button, summary):focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 4px;
}
.geo-mast, .geo-foot { background: #fff; color: var(--carbon); }
.geo-mast-inner, .geo-foot-inner, .geo-imprint, .geo-page nav { display: flex; align-items: center; }
.geo-mast-inner, .geo-foot-inner { justify-content: space-between; gap: 16px; }
.geo-mast { border-bottom: 1px solid #dde1e6; }
.geo-mast-inner { min-height: 72px; }
.geo-mast a, .geo-foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: inherit; }
.geo-imprint { gap: 15px; }
.geo-imprint a+a { position: relative; padding-left: 16px; font-size: 14px; color: var(--slate); }
.geo-imprint a+a::before { content: ""; position: absolute; left: 0; height: 15px; width: 1px; background: var(--line); }
.geo-page nav { gap: clamp(12px, 2.5vw, 40px); }
.geo-mast nav a, .geo-foot nav a { font-size: 14px; font-weight: 600; }
.geo-mast a:hover, .geo-foot a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .4em; }
.geo-edition { margin: 0; width: 100%; }
.geo-edition [id] { scroll-margin-top: 20px; }
.geo-edition :where(h1,h2,h3,p,figure,blockquote,dl,dd) { margin: 0; }
.geo-edition :where(h1,h2,h3) { color: inherit; }
.geo-edition figure img { display: block; }
.geo-story .wp-block-group>.wp-block-group__inner-container { display: contents; }
.geo-story .wp-block-group { margin-block: 0; }
.geo-hero { position: relative; isolation: isolate; background: var(--wine); color: #fff; }
.geo-hero:not(.geo-hero-text)::before {
    content: ""; position: absolute; z-index: -1; inset: 0 0 0 50%;
    background: linear-gradient(145deg, #f2f4f8 15%, #e7eaee 57%, #cbd1d7 100%);
}
.geo-hero-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto;
    min-height: clamp(510px, 41vw, 680px); align-content: center;
}
.geo-hero-type, .geo-hero-intro { padding-right: clamp(24px, 4.8vw, 80px); }
.geo-hero-type { grid-column: 1; grid-row: 1; padding-top: clamp(30px, 3.3vw, 54px); }
.geo-hero-intro { grid-column: 1; grid-row: 2; padding-bottom: clamp(32px, 3.3vw, 54px); }
.geo-byline { font-size: clamp(13px, 1vw, 16px); letter-spacing: .07em; color: #fff; }
.geo-hero h1 { display: flex; flex-direction: column; margin: clamp(20px, 2.2vw, 36px) 0 0; color: #fff; }
.geo-title-latin { font: 700 clamp(102px, 10.7vw, 179px)/.77 Georgia, "Times New Roman", serif; letter-spacing: -.085em; margin-left: -.031em; }
.geo-title-han { margin-top: .22em; font: 900 clamp(38px, 3.8vw, 68px)/1.13 var(--lxj-display); letter-spacing: -.04em; text-wrap: balance; }
.geo-subtitle { margin: 16px 0 0; font-size: clamp(18px, 1.35vw, 24px); line-height: 1.45; font-weight: 650; }
.geo-hero-intro>p { max-width: 30em; margin: 20px 0 0; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.85; color: #fff; }
.geo-hero-art {
    grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: center; width: 100%;
    margin: 0; padding-left: clamp(12px, 3vw, 52px); mix-blend-mode: multiply;
}
.geo-hero-art img { width: 100%; height: clamp(400px, 35.5vw, 560px); object-fit: contain; }
.geo-hero-text .geo-hero-inner { grid-template-columns: minmax(0, 48rem); }
.geo-page .geo-button, .geo-file-copy .wp-block-file a[download] {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid transparent;
    padding: 10px 25px; border-radius: 3px; font: 700 15px/1.45 var(--sans); letter-spacing: .02em;
    text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, transform .18s;
}
.geo-page .geo-button[hidden] { display: none; }
.geo-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; margin-top: 24px; }
.geo-hero-actions .geo-reader-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 14px; font-weight: 650; text-underline-offset: .33em; }
.geo-page .geo-paper { color: var(--wine); background: #fff; }
.geo-page .geo-paper:hover { color: var(--wine); background: #f2f4f8; transform: translateY(-2px); }
.geo-page .geo-ink, .geo-file-copy .wp-block-file a[download] { background: var(--wine); color: #fff; }
.geo-page .geo-ink:hover, .geo-file-copy .wp-block-file a[download]:hover { color: #fff; background: var(--carbon); opacity: 1; transform: translateY(-2px); }
.geo-page .geo-button:active, .geo-file-copy .wp-block-file a[download]:active { transform: translateY(1px); }
.geo-story section { padding-block: clamp(54px, 6.3vw, 99px); }
.geo-story h2, .geo-edition .reader-reviews h2 {
    margin: 0; font: 900 clamp(36px, 4.05vw, 67px)/1.17 var(--lxj-display); letter-spacing: -.045em;
}
.geo-story h3 { margin: 0; font: 900 clamp(25px, 2.2vw, 36px)/1.27 var(--lxj-display); letter-spacing: -.035em; }
.geo-edition .geo-kicker {
    margin: 0 0 18px; color: var(--wine); font-size: 13px; line-height: 1.5; letter-spacing: .14em; font-weight: 750;
}
.geo-signature { background: #fff; }
.geo-signature:not(:has(.geo-pullquote)) { display: none; }
.geo-signature-grid, .geo-reading-grid, .geo-author-grid, .geo-order-grid {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}
.geo-signature-grid { align-items: center; gap: clamp(34px, 6vw, 92px); }
.geo-signature-photo { margin: 0; overflow: hidden; }
.geo-signature-photo img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.geo-pullquote blockquote {
    padding: 0; margin: 0; border: 0; font: 650 clamp(24px, 2.45vw, 41px)/1.53 var(--book-serif);
    letter-spacing: -.025em; color: var(--carbon); text-wrap: pretty;
}
.geo-pullquote .book-credit { margin-top: clamp(23px, 2.65vw, 40px); }
.geo-edition .book-credit p { margin: 0; color: var(--slate); font-size: 13px; }
.geo-edition .book-credit strong { color: var(--carbon); }
.geo-order { background: var(--cloud); }
.geo-order-grid { gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: stretch; }
.geo-section-head { padding-bottom: clamp(25px, 3.2vw, 48px); }
.geo-order-pane, .geo-file-pane { border-top: 2px solid var(--wine); padding-top: 24px; }
.geo-order-pane>p, .geo-file-copy>p, .geo-guide-intro>p:not(.geo-kicker), .geo-author-note {
    margin: 15px 0 0; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.85; color: var(--slate);
}
.geo-order-pane>p { max-width: 26em; }
.geo-catalog dl { margin: 18px 0; }
.geo-catalog dl>div { display: grid; grid-template-columns: 5.2em 1fr; align-items: baseline; border-top: 1px solid #cbd1d7; padding: 7px 0; }
.geo-catalog dl>div:last-child { border-bottom: 1px solid #cbd1d7; }
.geo-catalog dt { color: var(--slate); font-size: 13px; }
.geo-catalog dd { margin: 0; font-weight: 600; font-size: 15px; }
.geo-catalog code { background: transparent; color: var(--carbon); font: 600 16px/1.5 var(--mono); letter-spacing: .045em; padding: 0; }
.geo-purchase-panel {
    display: none; box-sizing: border-box; padding: 25px 28px 23px; border-top: 4px solid var(--wine);
    background: #fff; color: var(--carbon); font-family: var(--sans);
}
.geo-purchase-panel:target { display: block; max-width: 400px; margin: 24px auto; }
.geo-purchase-dialog {
    position: fixed; inset: 0; width: min(400px, calc(100% - 36px)); max-width: none;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
    box-sizing: border-box; margin: auto; padding: 0; border: 0; border-radius: 4px; color: var(--carbon);
    background: white; box-shadow: 0 18px 70px #21232640;
}
.geo-purchase-dialog:not([open]) { display: none; }
.geo-purchase-dialog::backdrop { background: rgb(28 25 29 / 58%); }
.geo-dialog-open { overflow: hidden; }
.geo-purchase-dialog .geo-purchase-panel { display: block; margin: 0; max-width: none; }
.geo-purchase-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.geo-purchase-heading h2 { margin: 5px 0 0; color: var(--carbon); font: 900 30px/1.2 var(--lxj-display); letter-spacing: -.035em; }
.geo-purchase-title { color: var(--slate); font: 550 14px/1.5 var(--sans); margin: 0; }
.geo-purchase-heading .geo-purchase-close { flex: none; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -5px -5px 0 0; color: var(--wine); font-size: 14px; font-weight: 650; text-decoration: none; }
.geo-purchase-heading .geo-purchase-close:hover { text-decoration: underline; }
.geo-purchase-code { display: grid; place-items: center; padding: 16px; width: min(100%, 260px); margin: 22px auto 12px; box-sizing: border-box; background: white; border: 1px solid #dde1e6; }
.geo-purchase-code img { display: block; width: 100%; height: auto; max-height: min(300px, 47vh); object-fit: contain; }
.geo-purchase-hint, .geo-purchase-pending p { margin: 0; color: var(--slate); text-align: center; font: 400 14px/1.7 var(--sans); }
.geo-scan-mobile { display: none; }
.geo-purchase-pending { margin-top: 20px; padding: 16px 14px; background: var(--cloud); text-align: center; }
.geo-purchase-pending img { display: block; width: 108px; height: 112px; object-fit: contain; margin: 0 auto 8px; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) {
    .geo-purchase-dialog[open] { animation: geo-purchase-in .16s ease-out; }
    @keyframes geo-purchase-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
}
.geo-file-pane { display: grid; grid-template-columns: minmax(92px,.65fr) minmax(0,1.35fr); align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.geo-sheet-image { margin: 0; }
.geo-sheet-image img { width: 100%; height: auto; box-shadow: 0 9px 24px #21232620, 0 1px 2px #21232623; }
.geo-file-copy .geo-file-format { font-size: 13px; color: var(--slate); }
.geo-file-copy .wp-block-file { margin: 16px 0 0; }
.geo-file-copy .wp-block-file a:not([download]) { display: block; width: fit-content; font-size: 14px; font-weight: 600; color: var(--slate); text-decoration-color: var(--silver); }
.geo-file-copy .wp-block-file a[download] { margin: 10px 0 0; color: #fff; }
.geo-reading { background: var(--carbon); color: #fff; }
.geo-reading-grid { gap: clamp(35px, 6.5vw, 105px); grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; }
.geo-reading .geo-kicker { color: #dde1e6; }
.geo-reading .geo-guide-intro>p:not(.geo-kicker) { color: #dde1e6; max-width: 23em; }
.geo-chapters details { margin: 0; border-top: 1px solid #626a73; }
.geo-chapters details:last-child { border-bottom: 1px solid #626a73; }
.geo-chapters summary { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; padding: 19px 29px 19px 0; list-style: none; cursor: pointer; color: #fff; font-size: clamp(21px,1.7vw,27px); font-weight: 700; }
.geo-chapters summary::-webkit-details-marker { display: none; }
.geo-chapters summary small { font-size: 13px; color: #dde1e6; font-weight: 400; }
.geo-chapters summary::after { content: ""; position: absolute; right: 4px; top: 44%; width: 9px; height: 9px; border: solid #dde1e6; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .18s; }
.geo-chapters details[open] summary::after { transform: rotate(225deg); }
.geo-chapters details>p { margin: 0 26px 15px 0; color: #f2f4f8; font-size: 16px; line-height: 1.8; }
.geo-chapters details>.geo-chapter-topics { color: #b8c2cc; margin-bottom: 22px; font-size: 13px; line-height: 1.75; }
.geo-author { background: white; }
.geo-author-grid { align-items: center; gap: clamp(34px, 7vw, 106px); }
.geo-author-copy { grid-area: 1 / 1; }
.geo-author-photo { grid-area: 1 / 2; }
.geo-author-photo { position: relative; margin: 0; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; background: linear-gradient(120deg, #cdd2d8 0%, #f2f4f8 100%); }
.geo-author-photo img { width: 100%; height: clamp(340px, 32vw, 510px); object-fit: contain; object-position: center bottom; }
.geo-author-copy .geo-author-note { max-width: 28em; margin-top: 20px; }
.geo-author-link { margin: 22px 0 0; }
.geo-author-link a { display: inline-block; min-height: 44px; color: var(--wine); font-weight: 700; text-decoration-color: var(--silver); }
.geo-edition .reader-reviews { background: var(--cloud); color: var(--carbon); padding-block: clamp(50px, 6vw, 90px); }
.geo-edition .reader-quotes { gap: clamp(18px, 3vw, 45px); margin-top: clamp(23px, 3vw, 44px); }
.geo-edition .reader-quote { background: #fff; border-top: 2px solid var(--wine); }
.geo-edition .reader-quote blockquote { font-family: var(--book-serif); font-size: clamp(17px, 1.4vw, 22px); line-height: 1.8; color: var(--carbon); }
.geo-edition .quote-type { color: var(--wine); }
.geo-edition .reader-quote figcaption { border-color: #dde1e6; }
.geo-edition .review-pages .current { background: var(--wine); }
.geo-foot { border-top: 1px solid #dde1e6; }
.geo-foot-inner { min-height: 100px; }
.geo-foot strong { color: var(--wine); font-weight: 750; }
@media (max-width: 900px) {
    .geo-order-grid { gap: 26px; }
    .geo-file-pane { grid-template-columns: minmax(75px,.48fr) minmax(0,1fr); gap: 16px; }
}
@media (max-width: 660px) {
    .geo-page { --inset: clamp(20px, 6vw, 35px); }
    .geo-mast-inner { min-height: 54px; }
    .geo-imprint { gap: 9px; }
    .geo-imprint a+a { padding-left: 10px; }
    .geo-page nav { gap: 10px; }
    .geo-mast nav a { min-width: 35px; justify-content: center; }
    .geo-mast nav a, .geo-imprint a+a, .geo-foot nav a { font-size: 13px; }
    .geo-hero { background: var(--wine); }
    .geo-hero:not(.geo-hero-text)::before { display: none; }
    .geo-hero .geo-hero-inner { width: 100%; display: flex; flex-direction: column; min-height: 0; }
    .geo-hero-type { padding: 26px var(--inset) 0; }
    .geo-byline { font-size: 12px; line-height: 1.5; }
    .geo-hero h1 { margin-top: 14px; }
    .geo-title-latin { font-size: clamp(67px, 18.5vw, 97px); line-height: .8; }
    .geo-title-han { font-size: clamp(30px, 8.1vw, 46px); margin-top: .22em; }
    .geo-subtitle { margin-top: 8px; font-size: clamp(16px, 4.3vw, 20px); }
    .geo-hero-art { width: 100%; padding: 6px 0; display: grid; place-items: center; mix-blend-mode: normal; background: linear-gradient(140deg,#f2f4f8,#dde1e6); }
    .geo-hero-art img { width: min(92%,390px); height: clamp(242px, 68vw, 335px); mix-blend-mode: multiply; }
    .geo-hero-intro { width: 100%; padding: 12px var(--inset) 23px; background: var(--wine); }
    .geo-hero-intro>p { margin: 0; font-size: 14px; line-height: 1.7; }
    .geo-hero-actions { margin-top: 13px; gap: 8px 19px; }
    .geo-hero .geo-button { min-height: 44px; }
    .geo-purchase-dialog { inset: auto 0 0; width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 10px 10px 0 0; margin: 0; }
    .geo-purchase-panel { padding: 20px var(--inset) calc(24px + env(safe-area-inset-bottom, 0px)); }
    .geo-purchase-code { margin-top: 18px; }
    .geo-scan-mobile { display: inline; }
    .geo-scan-desktop { display: none; }
    .geo-story section { padding-block: 44px; }
    .geo-edition .geo-kicker { font-size: 12px; margin-bottom: 11px; }
    .geo-story h2, .geo-edition .reader-reviews h2 { font-size: clamp(31px, 8.2vw, 46px); }
    .geo-signature-grid, .geo-reading-grid, .geo-author-grid, .geo-order-grid { grid-template-columns: minmax(0,1fr); gap: 25px; }
    .geo-pullquote blockquote { font-size: clamp(23px, 6.1vw, 30px); }
    .geo-pullquote .book-credit { margin-top: 17px; }
    .geo-file-pane { grid-template-columns: minmax(85px,.58fr) minmax(0,1.42fr); gap: 17px; }
    .geo-section-head { padding-bottom: 21px; }
    .geo-order-pane, .geo-file-pane { padding-top: 18px; }
    .geo-file-copy>p, .geo-order-pane>p, .geo-guide-intro>p:not(.geo-kicker), .geo-author-note { font-size: 15px; }
    .geo-file-copy .wp-block-file a:not([download]) { font-size: 13px; }
    .geo-chapters summary { padding-block: 16px; }
    .geo-chapters details>p { font-size: 15px; }
    .geo-author-photo img { height: clamp(264px, 79vw, 370px); }
    .geo-author-copy, .geo-author-photo { grid-area: auto; }
    .geo-foot-inner { flex-wrap: wrap; gap: 0 22px; padding-block: 18px; }
    .geo-foot nav { flex-wrap: wrap; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .geo-page .geo-button, .geo-file-copy .wp-block-file a[download], .geo-chapters summary::after { transition: none; }
    .geo-page .geo-button:hover, .geo-file-copy .wp-block-file a[download]:hover { transform: none; }
}
@media (min-width: 661px) {
    .geo-hero.has-geo-surface:not(.geo-hero-text)::before {
        inset: 0;
        background-image: linear-gradient(90deg, rgba(117,0,20,.67), rgba(117,0,20,.47) 36%, transparent 50%), var(--geo-surface);
        background-position: center;
        background-size: 100% 100%;
    }
}
@media (max-width: 660px) {
    .geo-hero.has-geo-surface {
        background-image: linear-gradient(rgba(117,0,20,.67),rgba(117,0,20,.67)), var(--geo-surface);
        background-position: left center;
        background-size: auto, auto 100%;
    }
    .geo-hero.has-geo-surface .geo-hero-intro { background: transparent; }
    .geo-hero.has-geo-surface .geo-hero-art {
        background-image: linear-gradient(rgba(242,244,248,.22),rgba(242,244,248,.22)), var(--geo-surface);
        background-position: right center;
        background-size: auto, 240% 100%;
    }
}
