@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  color-scheme: light;
  --paper: #fbf7f0;
  --ink: #381b2b;
  --muted: #6a4555;
  --rose: #8a294c;
  --rose-pale: #f0dde2;
  --plum: #2f1827;
  --line: #c8b0b8;
  --serif-reading: "Lora", Georgia, serif;
  --serif-display: "DM Serif Display", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
.site-body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif-reading); font-size: 18px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; min-height: 48px; padding: 10px 18px; background: var(--ink); color: var(--paper); font-size: 18px; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: min(1240px, calc(100% - 64px)); margin: auto; min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.site-mark { display: flex; flex-direction: column; justify-content: center; min-height: 60px; text-decoration: none; line-height: 1.25; padding: 8px 0; }
.mark-city { font-family: var(--serif-display); font-size: 30px; }
.mark-descriptor { font-size: 16px; letter-spacing: .07em; }
.guide-menu { position: relative; z-index: 10; }
.menu-trigger { list-style: none; min-height: 48px; display: flex; align-items: center; gap: 26px; padding: 10px 0 10px 20px; cursor: pointer; font-size: 17px; }
.menu-trigger::-webkit-details-marker { display: none; }
.menu-symbol { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 25px; line-height: 1; transition: transform 160ms ease; }
.guide-menu[open] > .menu-trigger .menu-symbol { transform: rotate(45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 15px); width: 380px; max-width: calc(100vw - 40px); padding: 14px 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 36px #381b2b16; }
.menu-group + .menu-group { border-top: 1px solid var(--line); }
.menu-group-trigger { cursor: pointer; padding: 16px 0; min-height: 56px; font-size: 17px; font-weight: 600; }
.menu-group-links { display: grid; padding: 0 0 14px 16px; }
.menu-link { min-height: 48px; display: flex; align-items: center; padding: 8px 10px; font-size: 17px; text-decoration: none; border-left: 2px solid transparent; }
.menu-link:hover, .menu-link[aria-current] { border-color: var(--rose); background: var(--rose-pale); }
.home-main { width: min(1240px, calc(100% - 64px)); margin: auto; }
.home-hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 62px; align-items: center; padding: 64px 0 72px; }
.home-intro { min-width: 0; }
.home-kicker { font-size: 17px; margin: 0 0 25px; max-width: 31ch; color: var(--muted); }
.home-heading { font-family: var(--serif-display); font-size: clamp(54px, 5.8vw, 84px); font-weight: 400; line-height: 1.025; letter-spacing: -.035em; margin: 0 0 30px; max-width: 12ch; }
.home-heading-turn { display: block; margin-top: 17px; color: var(--rose); font-style: italic; }
.body-copy { margin: 0 0 1.15em; font-size: 18px; line-height: 1.7; max-width: 65ch; overflow-wrap: break-word; }
.home-intro > .body-copy { max-width: 43ch; }
.home-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; background: var(--ink); color: var(--paper); border-radius: 30px; padding: 13px 24px; font-size: 18px; text-decoration: none; }
.primary-link:hover { background: var(--rose); }
.secondary-link { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; padding: 8px 0; font-size: 17px; }
.link-arrow { font-family: Georgia, serif; display: inline-block; font-size: 21px; line-height: 1; flex: 0 0 auto; }
.home-art { margin: 0; min-width: 0; }
.home-art .still-life-window { aspect-ratio: 5 / 6; background: var(--plum); border-radius: 48% 48% 3px 3px; }
.still-life-window { position: relative; overflow: hidden; isolation: isolate; background: #ecd3d9; }
.still-life-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; display: block; color: transparent; font-size: 0; clip-path: ellipse(49% 48% at 50% 50%); }
.glass-orbit { position: absolute; width: 68%; aspect-ratio: 1; left: 16%; top: 17%; border-radius: 50%; border: 1px solid #c7a6b1; background: radial-gradient(circle at 36% 27%, #fff3ebcf, #dd98afa1 31%, #95526d55 62%, #361c2c 100%); box-shadow: inset -18px -20px 40px #35162688, 24px 26px 48px #1d102b44; }
.glass-orbit::after { content: ""; position: absolute; border: 1px solid #f7e8e1aa; border-radius: 50%; inset: 7%; }
.paper-fold { position: absolute; background: #f2e5dc; width: 74%; height: 17%; left: 13%; bottom: 10%; transform: rotate(-9deg); box-shadow: 16px 16px 0 #d4a9b788, 0 20px 50px #26142370; }
.home-answer { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 100px; align-items: start; padding: 66px 0; border-top: 1px solid var(--line); }
.home-answer > .section-kicker, .home-answer > .home-section-heading, .home-answer > .body-copy { grid-column: 1; }
.home-answer > .evidence-card { grid-column: 2; grid-row: 1 / 7; }
.section-kicker { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.home-section-heading { font-family: var(--serif-display); font-size: clamp(34px, 3.3vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 28px; max-width: 22ch; }
.evidence-card { background: var(--rose-pale); border-top: 2px solid var(--rose); padding: 28px 30px 22px; margin: 30px 0; border-radius: 0 30px 0 0; }
.evidence-label { color: var(--rose); font-size: 16px; margin: 0 0 15px; }
.evidence-heading { font-family: var(--serif-display); font-size: 29px; font-weight: 400; line-height: 1.2; margin: 0 0 18px; max-width: 26ch; }
.evidence-card .body-copy { font-size: 18px; line-height: 1.6; }
.source-link { font-size: 16px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #b692a1; }
.home-pathways { padding: 56px 0 60px; border-top: 1px solid var(--line); }
.pathways-intro { display: flex; justify-content: space-between; gap: 40px; align-items: baseline; }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 16px; }
.pathway-card { position: relative; padding: 30px 24px 62px 0; border-top: 1px solid var(--rose); text-decoration: none; min-width: 0; }
.pathway-card:hover .pathway-heading { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.pathway-label { font-size: 16px; color: var(--muted); }
.pathway-heading { font-family: var(--serif-display); font-size: 31px; font-weight: 400; line-height: 1.2; margin: 20px 0 15px; }
.pathway-copy { font-size: 18px; line-height: 1.6; margin: 0; max-width: 31ch; }
.pathway-arrow { position: absolute; bottom: 10px; left: 0; font-size: 25px; border: 1px solid var(--line); border-radius: 50%; height: 44px; width: 44px; display: grid; place-items: center; }
.next-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); padding: 34px 0 48px; margin-top: 30px; }
.next-copy { max-width: 58ch; }
.next-label { font-size: 16px; color: var(--muted); margin: 0 0 10px; }
.next-note { font-size: 18px; line-height: 1.65; margin: 0; }
.next-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 12px 20px; border: 1px solid var(--rose); border-radius: 30px; font-size: 17px; text-decoration: none; flex: 0 0 auto; max-width: 100%; }
.next-link:hover { background: var(--rose-pale); }
.article-main { width: min(1120px, calc(100% - 64px)); margin: auto; }
.article-header { max-width: 900px; padding: 28px 0 50px; }
.breadcrumb-link { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; padding: 10px 0; font-size: 16px; color: var(--muted); }
.article-kicker { color: var(--rose); font-size: 17px; margin: 30px 0 18px; }
.article-heading { font-family: var(--serif-display); font-weight: 400; font-size: clamp(44px, 5.1vw, 68px); line-height: 1.1; letter-spacing: -.025em; margin: 0; max-width: 20ch; }
.article-layout { display: grid; grid-template-columns: minmax(0, 710px) minmax(0, 280px); gap: 95px; }
.article-body { min-width: 0; }
.article-section { margin: 0 0 42px; }
.section-heading { font-family: var(--serif-display); font-size: 32px; line-height: 1.2; font-weight: 400; margin: 0 0 22px; max-width: 35ch; }
.text-link { display: inline-flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 0; gap: 20px; font-size: 17px; max-width: 100%; }
.reader-note { border-top: 1px solid var(--line); align-self: start; padding-top: 24px; }
.reader-note-label { font-size: 16px; color: var(--muted); margin: 0 0 16px; }
.reader-note-copy { font-family: var(--serif-display); font-size: 27px; line-height: 1.3; margin: 0 0 28px; }
.reader-note-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 0; font-size: 16px; }
.article-art { margin: 0 0 42px; }
.article-art .still-life-window { aspect-ratio: 3 / 2; border-radius: 3px 60px 3px 3px; }
.article-art .glass-orbit { width: 38%; left: 46%; top: 18%; background: radial-gradient(circle at 33% 25%, #fff5ed, #e4b0c0a3 45%, #925c72 100%); }
.article-art .paper-fold { width: 45%; bottom: 24%; left: 14%; height: 21%; }
.reading-cards { display: grid; gap: 25px; margin: 30px 0 42px; }
.reading-cards .evidence-card { margin: 0; }
.question-workspace { margin: 26px 0 42px; }
.question-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; }
.print-button { color: var(--paper); background: var(--ink); font-size: 17px; min-height: 52px; padding: 10px 22px; border: 1px solid var(--ink); border-radius: 28px; }
.clear-button { color: var(--ink); background: transparent; font-size: 17px; min-height: 52px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 28px; }
.print-button:hover { background: var(--rose); }
.clear-button:hover { background: var(--rose-pale); }
.question-status { font-size: 16px; color: var(--muted); margin: 0 0 22px; }
.question-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.question-item { border-bottom: 1px solid var(--line); }
.question-choice { cursor: pointer; display: flex; align-items: flex-start; gap: 18px; padding: 20px 16px 20px 10px; min-height: 60px; }
.question-choice:has(:checked) { background: var(--rose-pale); }
.question-box { accent-color: var(--rose); flex: 0 0 40px; margin: 0; height: 40px; width: 40px; }
.question-text { font-size: 18px; line-height: 1.65; }
.site-footer { background: var(--plum); color: var(--paper); margin-top: 28px; }
.footer-inner { width: min(1240px, calc(100% - 64px)); margin: auto; padding: 36px 0 30px; display: flex; justify-content: space-between; gap: 44px; align-items: flex-start; }
.footer-statement { font-size: 16px; line-height: 1.7; max-width: 47ch; margin: 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-link { font-size: 16px; display: flex; align-items: center; min-height: 48px; padding: 10px 0; }
.site-footer :focus-visible { outline-color: #f2bdcf; }

@media (min-width: 1100px) {
  .home-hero { min-height: 715px; }
}

@media (max-width: 1000px) {
  .home-hero { gap: 32px; }
  .home-heading { font-size: clamp(48px, 6.5vw, 68px); }
  .home-answer { column-gap: 40px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 44px; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .next-panel { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (max-width: 720px) {
  .header-inner, .home-main, .article-main, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 92px; }
  .mark-city { font-size: 26px; }
  .mark-descriptor { font-size: 16px; letter-spacing: .015em; }
  .menu-trigger { font-size: 16px; gap: 10px; padding-left: 8px; }
  .menu-symbol { height: 30px; width: 30px; }
  .menu-panel { top: calc(100% + 12px); width: 350px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 36px 0 46px; }
  .home-heading { font-size: clamp(48px, 12vw, 64px); max-width: 12ch; margin-bottom: 25px; }
  .home-kicker { font-size: 16px; margin-bottom: 23px; }
  .home-heading-turn { margin-top: 12px; }
  .home-art { width: 100%; max-width: 480px; }
  .home-art .still-life-window { aspect-ratio: 5 / 4; border-radius: 45% 45% 3px 3px; }
  .glass-orbit { width: 53%; left: 23.5%; top: 12%; }
  .home-answer { grid-template-columns: minmax(0, 1fr); padding: 42px 0 28px; }
  .home-answer > .evidence-card { grid-column: 1; grid-row: auto; margin-top: 20px; }
  .home-section-heading { font-size: 36px; margin-bottom: 24px; }
  .pathways-intro { display: block; }
  .pathway-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pathway-card { padding-right: 0; padding-bottom: 68px; }
  .pathway-copy { max-width: 40ch; }
  .home-pathways { padding: 38px 0 20px; }
  .article-header { padding: 18px 0 36px; }
  .article-kicker { font-size: 16px; margin-top: 23px; }
  .article-heading { font-size: 46px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .reader-note { margin: 0 0 16px; }
  .reader-note-copy { max-width: 25ch; }
  .section-heading { font-size: 30px; }
  .article-section { margin-bottom: 36px; }
  .evidence-card { padding: 24px 22px 17px; }
  .evidence-heading { font-size: 28px; }
  .next-panel { margin-top: 24px; padding-bottom: 28px; }
  .next-link { flex: 0 1 auto; font-size: 17px; }
  .footer-links { display: grid; gap: 2px; }
  .footer-inner { padding-top: 30px; gap: 18px; }
  .question-choice { gap: 14px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-symbol { transition: none; }
}

@media print {
  .site-body { background: white; color: black; font-family: Georgia, serif; font-size: 16px; }
  .site-header, .site-footer, .skip-link, .breadcrumb-link, .reader-note, .next-panel, .question-toolbar, .question-status, .home-art, .article-art { display: none !important; }
  .article-main, .home-main { width: 100%; }
  .article-header { padding: 0 0 24px; }
  .article-heading { font-size: 36px; }
  .article-layout { display: block; }
  .body-copy, .question-text { font-size: 16px; }
  .evidence-card { break-inside: avoid; background: white; border: 1px solid #aaa; }
  .question-item { break-inside: avoid; }
  .question-choice { padding-top: 16px; padding-bottom: 48px; }
  .question-choice:has(:checked) { background: white; }
  .site-body[data-print="marked"] .question-item:not([data-selected]) { display: none; }
  .site-body[data-print="marked"] .article-section, .site-body[data-print="marked"] .evidence-card { display: none; }
  .source-link { color: black; }
}
