@charset "UTF-8";

@font-face {
  font-family: OpenSans;
  src: url('../font/opensans-regular.woff') format('woff');
  font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --white: #fffdf9;
  --ink: #302c35;
  --muted: #655d67;
  --plum: #573c60;
  --deep: #302238;
  --gold: #8b6429;
  --line: #d8d0c6;
  --lilac: #eae3ee;
  --radius: 18px;
  --focus: #a15b16;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: OpenSans, Arial, sans-serif; font-size: 1.125rem; line-height: 1.75; }
main, section, article, aside, nav, header, footer, figure, form, div { min-width: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, select, summary { cursor: pointer; }
a { color: var(--plum); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; overflow-wrap: break-word; }
h1 { font-size: clamp(2.375rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1.625rem; line-height: 1.3; }
small { font-size: .875rem; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.wrap > .wrap { width: 100%; }
.eyebrow { font-size: .875rem; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--plum); }
.muted { color: var(--muted); }
.micro, .metadata, .byline, .source-note { font-size: .875rem; line-height: 1.65; color: var(--muted); }
.micro { margin-top: 16px; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: absolute; left: 16px; top: -120px; padding: 12px 18px; background: var(--white); color: var(--plum); z-index: 30; border: 2px solid var(--plum); }
.skip:focus { top: 12px; }

.header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); position: relative; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 12px; font: 2.25rem/1.05 Georgia, serif; letter-spacing: -.035em; flex-shrink: 0; }
.brand .mark { font-size: 2rem; color: var(--gold); letter-spacing: 0; }
.brand-portrait { display: block; width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.brand small { display: block; font: .875rem/1.4 OpenSans, Arial, sans-serif; letter-spacing: .035em; margin-top: 8px; }
.navigation { display: flex; align-items: center; gap: 22px; font-size: 1rem; }
.navigation a { color: var(--ink); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.navigation a:hover { text-decoration: underline; text-underline-offset: 6px; }
.navigation .nav-cta { border: 1px solid var(--plum); padding: 10px 16px; border-radius: 6px; color: var(--plum); }
.menu-button { display: none; min-width: 64px; min-height: 48px; background: none; color: var(--plum); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; border: 1px solid var(--plum); padding: 12px 24px; border-radius: 7px; background: var(--plum); color: #fff; text-decoration: none; font-size: 1rem; line-height: 1.5; font-weight: 700; text-align: center; transition: background .18s; }
.button:hover { background: #432d4b; color: #fff; }
.button.secondary { background: transparent; color: var(--plum); }
.button.secondary:hover { background: var(--lilac); }
.button:disabled, .button[aria-disabled="true"] { background: #ded7df; border-color: #b6a8bc; color: #635869; }
.text-link { font-size: 1rem; text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 48px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 64px 0 60px; }
.hero h1 { margin: 18px 0 24px; }
.hero h1 em { color: var(--plum); }
.hero-copy > p { max-width: 510px; color: var(--muted); font-size: 1.125rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.hero-art { position: relative; width: 100%; min-height: 440px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.orbit { position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid #cfc2ac; border-radius: 50%; z-index: -2; }
.orbit:after { content: ''; position: absolute; inset: 22px; border: 1px solid #e3d9c9; border-radius: 50%; }
.art-star { position: absolute; color: var(--gold); font-size: 1.875rem; }
.art-star.one { right: 6px; top: 12px; }
.art-star.two { left: 12px; bottom: 46px; font-size: 1.5rem; }
.hero-card { position: absolute; left: 50%; width: min(34%, 178px); height: auto; border: 6px solid var(--white); border-radius: 14px; box-shadow: 0 14px 30px #32233a25; }
.hero-card.left { transform: translate(-112%, 0) rotate(-13deg); z-index: 1; }
.hero-card.center { width: min(38%, 195px); transform: translate(-50%, -18px); z-index: 3; }
.hero-card.right { transform: translate(12%, 0) rotate(13deg); z-index: 2; }
.seal { position: absolute; bottom: 34px; right: 8px; width: 128px; height: 128px; border-radius: 50%; background: var(--paper); border: 1px solid #b69c6d; box-shadow: 0 0 0 5px var(--paper); display: grid; place-content: center; text-align: center; color: #75572d; font-size: .875rem; line-height: 1.5; z-index: 4; }
.seal strong { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.hero-art figcaption { position: absolute; bottom: -22px; text-align: center; left: 0; right: 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 25px 0; margin-top: 30px; }
.promise > div { display: flex; gap: 16px; align-items: flex-start; padding: 0 24px; border-right: 1px solid var(--line); }
.promise > div:first-child { padding-left: 0; }
.promise > div:last-child { border: 0; }
.promise .symbol { font-size: 1.625rem; color: var(--gold); flex-shrink: 0; }
.promise strong { display: block; font-size: 1rem; }
.promise small { display: block; color: var(--muted); margin-top: 6px; }

.section { padding: 70px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { max-width: 360px; font-size: 1rem; color: var(--muted); }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.topic { text-align: left; text-decoration: none; position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 280px; padding: 26px 22px 50px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color .18s, background .18s; }
.topic:hover { border-color: var(--plum); background: #fdf9ff; }
.topic .number { font-size: .875rem; color: var(--gold); padding-right: 28px; }
.topic h3 { margin-top: 28px; font-size: 1.875rem; }
.topic p { font-size: 1rem; line-height: 1.65; color: var(--muted); margin-top: 12px; }
.topic .arrow { position: absolute; right: 20px; bottom: 16px; color: var(--plum); font-size: 1.5rem; }
.topic-icon { position: absolute; right: 18px; top: 18px; font-size: 2rem; color: #956f89; line-height: 1; }
.topic-icon svg { display: block; width: 1em; height: 1em; }

.reading { background: var(--deep); color: var(--white); border-radius: var(--radius); padding: 40px; margin-top: 34px; position: relative; }
.reading .eyebrow { color: #e1c899; }
.reading-intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.reading h2 { margin-top: 12px; }
.reading-intro p { font-size: 1.125rem; color: #e5dbe9; max-width: 650px; margin-top: 16px; }
.reading .button { background: #f1e5d3; border-color: #f1e5d3; color: #35253b; }
.reading .button:hover { background: #fff6e6; }
.reading .button.secondary { color: #fff5e4; background: transparent; border-color: #a28bab; }
.reading .micro, .reading .muted { color: #e5dbe9; }
.reading a:not(.button) { color: #f1d49d; }
.ad, .ad-slot { border: 1px solid var(--line); background: #efebe4; text-align: center; min-height: 120px; display: grid; place-content: center; gap: 10px; color: #696157; border-radius: 6px; padding: 16px; }
.ad span, .ad small, .ad-label { font-size: .875rem; }
.ad-label { letter-spacing: .08em; text-transform: uppercase; }
.method { display: grid; grid-template-columns: .9fr 1.4fr; gap: 70px; }
.method h2 { margin: 14px 0 22px; }
.method-intro > p { color: var(--muted); max-width: 390px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 3px; }
.step-no { font-family: Georgia, serif; font-size: 1.875rem; color: var(--gold); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 1rem; }
.art-story { background: #eae4ec; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; }
.art-gallery { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 45px 28px; background: #e3dce5; }
.art-gallery img { width: min(27%, 125px); height: auto; border-radius: 8px; box-shadow: 0 9px 19px #48314c22; }
.art-gallery img:first-child { transform: rotate(-8deg); }
.art-gallery img:last-child { transform: rotate(8deg); }
.art-copy { padding: 40px; }
.art-copy h2 { margin: 12px 0 22px; }
.art-copy p { color: var(--muted); margin-top: 16px; font-size: 1rem; }
.art-copy strong { color: var(--plum); }
.rob { display: flex; align-items: center; gap: 18px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #cabfce; }
.rob img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.rob .name { font-family: Georgia, serif; font-size: 1.5rem; }
.rob small { display: block; color: var(--muted); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.guide { text-decoration: none; color: var(--ink); }
.guide-picture { height: 205px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #e9dfd1; margin-bottom: 22px; }
.guide-picture img { height: 175px; width: auto; transform: rotate(-8deg); box-shadow: 0 5px 15px #392c3226; }
.guide-picture.second { background: #e4e5dd; }
.guide-picture.third { background: #e5dee9; gap: 12px; }
.guide-picture.third img { height: 130px; transform: rotate(-10deg); }
.guide-picture.third img:nth-child(2) { transform: translateY(-10px); }
.guide-picture.third img:last-child { transform: rotate(10deg); }
.guide h3 { margin: 12px 0; }
.guide p { font-size: 1rem; color: var(--muted); }
.guide .text-link { margin-top: 12px; }
.guide:hover .text-link { text-decoration: underline; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq h2 { margin-top: 14px; }
.questions details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.questions summary { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 1rem; font-weight: 700; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary:after { content: '+'; color: var(--plum); font-size: 1.5rem; font-weight: 400; flex-shrink: 0; }
.questions details[open] summary:after { content: '−'; }
.questions details p { font-size: 1rem; color: var(--muted); padding: 14px 20px 4px 0; }
.closing { text-align: center; padding: 48px 24px; margin-top: 64px; border-top: 1px solid var(--line); }
.closing h2 { margin-bottom: 24px; }
.footer { background: #eae5dd; padding: 40px 0 28px; margin-top: 20px; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; align-items: flex-start; }
.footer .brand { font-size: 1.875rem; }
.footer p { font-size: 1rem; color: var(--muted); max-width: 430px; margin-top: 18px; }
.footer-links { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 1rem; }
.footer-links a { min-height: 48px; display: inline-flex; align-items: center; }
.footer .footer-links a { min-height: 48px; }
.footer-bottom { border-top: 1px solid #d7cfc4; margin-top: 30px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; font-size: .875rem; color: var(--muted); }
.footer-note { font-size: .875rem; max-width: 760px; margin-top: 22px; color: var(--muted); }

/* Editorial pages use the same readable measure as the results. */
.breadcrumbs { font-size: .875rem; color: var(--muted); margin: 26px 0; overflow-wrap: anywhere; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 40px; }
.page-intro, .article-header { max-width: 850px; padding: 36px 0 26px; }
.page-intro h1, .article-header h1 { margin: 14px 0 24px; }
.page-intro p, .article-header p, .lead { font-size: 1.25rem; line-height: 1.75; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.article-main, .article-body, .prose { max-width: 76ch; font-size: 1.125rem; line-height: 1.85; overflow-wrap: break-word; }
.article-body > * + *, .prose > * + * { margin-top: 20px; }
.article-body p, .prose p { margin: 18px 0; }
.article-body h2, .prose h2 { margin-top: 44px; margin-bottom: 20px; }
.article-body h3, .prose h3 { margin-top: 30px; margin-bottom: 16px; }
.article-body ul, .article-body ol, .prose ul, .prose ol { padding-left: 26px; }
.article-body li, .prose li { margin: 12px 0; }
.article-body blockquote, .prose blockquote { margin: 24px 0; padding: 18px 24px; background: var(--lilac); border-left: 3px solid var(--plum); }
.article-body table, .prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.article-body td, .article-body th, .prose td, .prose th { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table-wrap { overflow-x: auto; }
.article-image { max-width: 215px; margin: 20px auto 28px; }
.article-aside { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.article-aside img { max-width: 160px; margin: 0 auto 20px; }
.article-aside p { font-size: 1rem; }
.article-aside .button { width: 100%; margin-top: 20px; }
.cards-index, .card-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card-index-item, .directory-card { display: block; padding: 22px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; color: var(--ink); text-decoration: none; }
.card-index-item img, .directory-card img { width: min(100%, 150px); height: auto; margin: 0 auto 20px; }
.card-index-item h2, .card-index-item h3, .directory-card h2, .directory-card h3 { font-size: 1.5rem; }
.card-index-item p, .directory-card p { font-size: 1rem; margin-top: 12px; }
.article-grid, .content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.article-teaser { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.article-teaser p { font-size: 1rem; margin-top: 14px; }
.article-teaser a { display: inline-flex; min-height: 48px; align-items: center; }
.note, .notice, .noscript { background: var(--lilac); border-left: 3px solid var(--plum); padding: 18px 22px; font-size: 1rem; margin: 24px 0; border-radius: 4px; }

/* The reading stays usable as ordinary HTML forms, without JavaScript. */
.reader-shell { margin: 30px auto 56px; padding: 34px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.reader-shell h1 { font-size: clamp(2rem, 3.3vw, 3rem); }
.reader-shell h2 { margin: 20px 0 16px; }
.reader-shell h3 { margin: 16px 0; }
.reader-shell p { font-size: 1.125rem; line-height: 1.75; }
.reader-intro, .reader-instruction { max-width: 75ch; margin: 18px 0 26px; }
.reader-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: .875rem; color: var(--muted); margin: 0 0 26px; }
.reader-progress ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; gap: 8px 20px; padding: 0; margin: 0; }
.reader-progress li { line-height: 1.6; }
.reader-progress [aria-current="step"], .reader-progress .active { color: var(--plum); font-weight: 700; }
.reader-form { margin: 0; }
.reader-form fieldset, .reader-start-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 24px; }
.reader-form legend, .reader-start-form legend { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; padding: 0; }
.form-fields, .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.field label, .reader-form > label, .reader-start-form > label { font-size: 1.125rem; font-weight: 700; }
.field small, .field-help { font-size: 1rem; color: var(--muted); }
select, input[type="text"], input[type="email"], textarea { width: 100%; max-width: 100%; min-height: 52px; padding: 12px; border: 1px solid #938798; background: var(--white); color: var(--ink); border-radius: 6px; font-size: 1rem; }
/* The topic picker enhances the native select without changing form values. */
.topic-picker { position: relative; width: 100%; min-width: 0; }
.topic-picker [hidden] { display: none !important; }
.topic-picker-trigger { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 14px 12px; border: 2px solid var(--plum); border-radius: 6px; background: var(--white); color: var(--deep); font: inherit; font-size: 18px; font-weight: 700; line-height: 1.45; text-align: left; cursor: pointer; }
.topic-picker-value { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.topic-picker-chevron { display: grid; place-items: center; width: 24px; color: var(--plum); font-size: 24px; line-height: 1; }
.topic-picker-chevron svg { display: block; width: 20px; height: 20px; }
.topic-picker-trigger[aria-expanded="true"] .topic-picker-chevron { transform: rotate(180deg); }
.topic-picker-trigger:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.topic-picker-trigger:disabled { opacity: .6; cursor: not-allowed; }
.topic-picker-panel { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: 100%; max-height: var(--topic-picker-max-height, 360px); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scroll-behavior: auto; padding: 8px; border: 2px solid var(--plum); border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: 0 10px 30px #30223833; }
.topic-picker.opens-above .topic-picker-panel { top: auto; bottom: calc(100% + 8px); }
.topic-picker-group + .topic-picker-group { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.topic-picker-heading { display: block; margin: 0; padding: 10px 12px 7px; color: var(--plum); font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.topic-picker-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 10px 12px; border: 2px solid transparent; border-radius: 6px; color: var(--ink); font-size: 18px; font-weight: 400; line-height: 1.45; text-align: left; cursor: pointer; }
.topic-picker-option-label { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.topic-picker-option:hover { background: #f3edf5; }
.topic-picker-option[aria-selected="true"] { background: var(--lilac); color: var(--plum); }
.topic-picker-option.is-active { outline: 2px solid var(--plum); outline-offset: -2px; }
.topic-picker-option[aria-disabled="true"] { color: var(--muted); opacity: .6; cursor: not-allowed; }
.topic-picker-check { visibility: hidden; flex: 0 0 22px; width: 22px; color: var(--plum); font-size: 20px; font-weight: 700; line-height: 1; text-align: center; }
.topic-picker-option[aria-selected="true"] .topic-picker-check { visibility: visible; }
@media (forced-colors: active) {
  .topic-picker-trigger, .topic-picker-panel { border-color: ButtonText; }
  .topic-picker-option[aria-selected="true"] { border-color: Highlight; color: Highlight; }
  .topic-picker-option.is-active { outline-color: Highlight; }
  .topic-picker-check { color: Highlight; }
}
input[type="radio"], input[type="checkbox"] { accent-color: var(--plum); }
.deck-choices, .choice-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deck-choice, .choice-option { cursor: pointer; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 9px; padding: 16px 10px; font-size: 1rem; }
.deck-choice img { width: 92px; height: auto; border-radius: 5px; }
.deck-choice:has(input:checked), .choice-option:has(input:checked) { border-color: var(--plum); background: var(--lilac); }
.deck-choice:focus-within, .choice-option:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.card-grid { display: grid; list-style: none; padding: 0; margin: 26px 0; gap: 14px; }
.draw-grid { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 12px; }
.guided-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.card-option { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; cursor: pointer; border: 2px solid var(--line); background: var(--white); border-radius: 10px; padding: 12px 8px; color: var(--ink); font-size: 1rem; line-height: 1.65; text-align: center; transition: border-color .15s, background .15s; }
.card-option input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; clip-path: inset(50%); }
.card-option:hover { border-color: #94729f; }
.card-option:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.card-option.is-selected, .card-option:has(input:checked) { border-color: var(--plum); background: #eee5f0; box-shadow: inset 0 0 0 1px var(--plum); }
.card-option .card-art { display: block; position: relative; width: min(100%, 142px); aspect-ratio: 215 / 379; flex-shrink: 0; }
.card-option .card-art img { display: block; width: 100%; height: auto; border-radius: 5px; }
.card-front { display: none !important; }
.card-option input:checked ~ .card-art .card-front, .card-option.is-selected .card-art .card-front { display: block !important; }
.card-option input:checked ~ .card-art .card-back, .card-option.is-selected .card-art .card-back { display: none !important; }
.guided-grid .card-front { display: block !important; }
.guided-grid .card-back { display: none !important; }
.guided-grid .card-option input:checked ~ .card-art img,
.guided-grid .card-option.is-selected .card-art img { filter: brightness(.7); }
.card-name { display: block; font-size: 1rem; font-weight: 700; line-height: 1.5; margin-top: 12px; overflow-wrap: break-word; }
.card-meaning { display: block; width: 100%; font-size: 1rem; line-height: 1.65; margin-top: 12px; overflow-wrap: break-word; }
.card-meaning p, .card-meaning span { font-size: inherit; line-height: inherit; }
.draw-grid .card-option { padding: 5px; min-height: 56px; border-radius: 7px; }
.draw-grid .card-name { font-size: .875rem; }
.draw-grid .card-meaning { display: none; }
.selection-number { position: absolute; right: -8px; top: -10px; z-index: 2; min-width: 30px; min-height: 30px; padding: 2px 5px; border-radius: 50%; background: var(--plum); color: white; border: 2px solid var(--white); display: grid; place-content: center; font-size: .875rem; line-height: 1; font-weight: 700; }
.selection-number:empty { display: none; }
.reader-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--line); }
.reader-actions > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reader-actions [data-card-counter], [data-card-counter], .counter { font-size: 1rem; font-weight: 700; color: var(--plum); line-height: 1.6; }
.reset, .link-button { background: none; border: 0; color: var(--plum); min-height: 48px; padding: 10px; text-decoration: underline; text-underline-offset: 4px; font-size: 1rem; }
.form-error { background: #fbebe5; color: #742e1b; border: 2px solid #a24a2e; border-radius: 8px; padding: 18px; margin: 22px 0; font-size: 1rem; line-height: 1.65; }
.form-error p { font-size: 1rem; }
.reader-note { font-size: 1rem; padding-top: 20px; color: var(--muted); }
.reader-result { max-width: 900px; margin-inline: auto; }
.result-intro { margin: 18px 0 28px; }
.result-group { padding: 28px 0 12px; border-top: 1px solid var(--line); margin-top: 28px; }
.result-group > h2 { margin: 0 0 22px; }
.result-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 28px; align-items: start; padding: 26px 0; }
.result-card img { width: 118px; height: auto; border-radius: 7px; }
.result-card h3 { margin-top: 0; margin-bottom: 16px; }
.result-card p, .interpretation { font-size: 1.125rem; line-height: 1.85; }
.result-card p + p { margin-top: 18px; }
.result-summary { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.result-summary img { width: 72px; height: auto; border-radius: 5px; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 48px); }
  .header { gap: 20px; }
  .navigation { gap: 14px; }
  .hero { gap: 24px; }
  .hero-art { min-height: 390px; }
  .seal { width: 116px; height: 116px; right: 0; bottom: 28px; }
  .promise > div { padding: 0 18px; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic { min-height: 235px; }
  .method { gap: 42px; }
  .art-copy { padding: 30px; }
  .art-gallery { padding: 40px 18px; gap: 14px; }
  .faq { gap: 38px; }
  .draw-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .guided-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-index, .card-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 32px; }
}

@media (max-width: 960px) {
  .header { flex-wrap: wrap; padding: 22px 0; gap: 16px; }
  .navigation { width: 100%; flex-wrap: wrap; }
  .js .header { flex-wrap: nowrap; }
  .js .menu-button { display: block; }
  .js .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 12; flex-direction: column; align-items: stretch; background: var(--paper); padding: 18px; border: 1px solid var(--line); box-shadow: 0 13px 22px #30223812; }
  .js .navigation.open { display: flex; }
  .navigation a { padding: 9px 10px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .hero h1 { font-size: clamp(2.375rem, 5vw, 3.125rem); }
  .promise { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .promise > div, .promise > div:first-child { padding: 18px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise > div:last-child { border-bottom: 0; }
  .art-story { grid-template-columns: 1fr; }
  .art-gallery { padding: 40px; }
  .guides { gap: 22px; }
  .guide-picture.third { gap: 3px; }
  .guide-picture.third img { height: 105px; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; line-height: 1.75; }
  .wrap { width: calc(100% - 32px); }
  .header { min-height: 96px; padding: 18px 0; }
  .brand { gap: 9px; font-size: 2rem; }
  .brand .mark { font-size: 1.625rem; }
  .brand small { font-size: .875rem; letter-spacing: 0; }
  .menu-button { padding: 10px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 36px 0 30px; }
  .hero h1 { font-size: clamp(2.375rem, 9vw, 3rem); margin: 16px 0 22px; }
  .hero-copy > p { max-width: 100%; font-size: 1.0625rem; }
  .hero-actions { margin-top: 24px; gap: 10px 20px; }
  .button { padding: 12px 20px; min-height: 52px; }
  .hero-art { width: min(100%, 430px); min-height: 370px; margin: 12px auto 0; }
  .hero-art figcaption { bottom: -10px; font-size: .875rem; }
  .art-star.one { top: 12px; right: 5px; }
  .art-star.two { left: 6px; bottom: 60px; }
  .seal { width: 116px; height: 116px; right: 0; bottom: 36px; }
  .section { padding: 48px 0; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { margin-top: 18px; max-width: 100%; }
  .topics { gap: 14px; }
  .topic { padding: 22px 18px 48px; min-height: 280px; }
  .topic h3 { font-size: 1.75rem; margin-top: 25px; }
  .topic .number { padding-right: 0; }
  .topic-icon { position: static; margin-top: 14px; font-size: 1.75rem; }
  .topic:has(.topic-icon) h3 { margin-top: 14px; }
  .topic p { font-size: 1rem; line-height: 1.65; }
  .reading { padding: 28px 22px; margin-top: 28px; border-radius: 14px; }
  .reading-intro { display: block; }
  .reading-intro p { font-size: 1rem; }
  .reading-intro .button { margin-top: 24px; }
  .reading .button { white-space: normal; }
  .ad, .ad-slot { min-height: 120px; }
  .method { grid-template-columns: 1fr; gap: 30px; }
  .method-intro > p { max-width: 100%; }
  .steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .steps h3 { font-size: 1.5rem; }
  .art-gallery { padding: 32px 20px; gap: 16px; }
  .art-copy { padding: 28px 24px; }
  .rob { align-items: flex-start; }
  .rob img { width: 64px; height: 64px; }
  .guides { grid-template-columns: 1fr; gap: 35px; }
  .guide-picture { height: 210px; }
  .guide-picture.third { gap: 16px; }
  .guide-picture.third img { height: 145px; }
  .guide h3 { font-size: 1.625rem; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .questions details p { padding-right: 0; }
  .closing { margin-top: 42px; padding: 38px 0; }
  .closing h2 { font-size: 2rem; }
  .footer-main { display: block; }
  .footer-links { margin-top: 25px; gap: 8px 20px; }
  .footer-bottom { display: block; }
  .footer-bottom > * { display: block; margin-bottom: 10px; }
  .page-intro, .article-header { padding: 20px 0 1px; }
  .page-intro p, .article-header p, .lead { font-size: 1.125rem; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-main, .article-body, .prose { font-size: 1rem; line-height: 1.85; }
  .article-body h2, .prose h2 { margin-top: 36px; }
  .article-aside { margin-top: 12px; }
  .cards-index, .card-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card-index-item, .directory-card { padding: 18px 14px; }
  .card-index-item h2, .card-index-item h3, .directory-card h2, .directory-card h3 { font-size: 1.375rem; }
  .article-grid, .content-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-teaser { padding: 24px; }
  .reader-shell { padding: 24px 16px; margin-top: 24px; border-radius: 12px; }
  .reader-shell h1 { font-size: 2rem; }
  .reader-shell h2 { font-size: 1.75rem; }
  .reader-shell p { font-size: 1rem; }
  .reader-progress { gap: 8px 14px; margin-bottom: 22px; }
  .reader-progress ol { gap: 8px 14px; }
  .reader-form legend, .reader-start-form legend { font-size: 1rem; }
  .form-fields, .fields { grid-template-columns: 1fr; gap: 0; }
  .field label, .reader-form > label, .reader-start-form > label { font-size: 1rem; }
  .deck-choices, .choice-options { gap: 10px; }
  .deck-choice, .choice-option { padding: 14px 6px; }
  .deck-choice img { width: 72px; }
  .draw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .guided-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .card-option { padding: 12px 8px; }
  .card-option .card-art { width: min(100%, 128px); }
  .card-name, .card-meaning { font-size: 1rem; }
  .card-meaning { line-height: 1.7; }
  .draw-grid .card-option { padding: 4px; }
  .reader-actions { display: block; margin-top: 24px; padding-top: 20px; }
  .reader-actions > div { justify-content: space-between; margin-top: 14px; }
  .reader-actions [data-continue], .reader-actions .button { width: 100%; margin-top: 14px; }
  .reader-actions [data-card-counter] { display: block; }
  .reader-actions .reset { padding-left: 0; }
  .result-card { grid-template-columns: 1fr; gap: 20px; padding: 26px 0; }
  .result-card img { width: 118px; margin: 0 auto; }
  .result-card p, .interpretation { font-size: 1rem; line-height: 1.85; }
  .result-summary { gap: 10px; }
  .result-summary img { width: 62px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .header { gap: 12px; }
  .brand { font-size: 1.875rem; gap: 7px; }
  .brand .mark { font-size: 1.5rem; }
  .hero-art { min-height: 345px; }
  .hero-card { border-width: 4px; }
  .seal { right: 0; bottom: 35px; width: 108px; height: 108px; }
  .topic { padding-inline: 14px; }
  .topic h3 { font-size: 1.625rem; }
  .reader-shell { padding-inline: 12px; }
  .draw-grid { gap: 14px 8px; }
  .guided-grid { gap: 18px 10px; }
  .guided-grid .card-option { padding-inline: 6px; }
  .card-name { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

@media print {
  body { color: #222; background: white; font-size: 12pt; }
  .header, .footer, .ad, .ad-slot, .reader-actions, .skip, .menu-button, .reading, .reader-progress { display: none; }
  .wrap, .reader-shell, .reader-result { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: white; }
  .result-card { break-inside: avoid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; }
  .result-card img { width: 90px; }
  .result-card p, .interpretation { font-size: 12pt; }
  h1, h2, h3 { break-after: avoid; }
}
