/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V4
 * macrostructure: illustrated split hero + destination index; theme: studied-DNA
 * audience: readers and curious visitors; nav: reference inline; footer: quiet signature
 * enrichment: generated gouache portrait + simple SVG scene marks; motion: interaction only */
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--color-ink); background: var(--color-paper); font: 400 var(--text-base)/1.65 var(--font-body); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.12; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; position: relative; z-index: 2; border-bottom: 1px solid var(--color-line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 48px; height: 48px; }
.brand-name { display: block; font: 700 1.2rem/1.25 var(--font-display); letter-spacing: -.035em; }
.brand-tagline { display: block; color: var(--color-muted); font-size: .69rem; margin-top: 6px; }
.navigation { display: flex; align-items: center; gap: 26px; }
.navigation a { text-decoration: none; font-size: .88rem; white-space: nowrap; padding-block: 10px; border-bottom: 2px solid transparent; }
.navigation a:hover, .navigation a[aria-current] { border-color: var(--color-accent); }
.navigation a[aria-current] { font-weight: 700; }
.menu-toggle { display: none; color: var(--color-ink); background: var(--color-paper-raised); border: 1px solid var(--color-line); border-radius: var(--radius-button); padding: 9px 12px; min-height: 44px; white-space: nowrap; }
.menu-toggle[aria-expanded=true] { background: var(--color-soft-green); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 5; background: var(--color-paper-raised); padding: 12px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr); align-items: center; min-height: 575px; padding-top: 30px; padding-bottom: 24px; }
.hero-copy { position: relative; z-index: 1; padding: 28px 0 40px; }
.hero h1 { font-size: var(--text-display); letter-spacing: -.055em; line-height: 1.045; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--color-forest); }
.hero-intro { margin-top: 25px; max-width: 38ch; font-size: var(--text-md); color: var(--color-muted); }
.hero-image { width: 132%; max-width: none; margin-left: -18%; mix-blend-mode: multiply; }
.hero-figure { margin: 0; position: relative; pointer-events: none; }
.hero-note { margin-top: 24px; color: var(--color-forest); font-size: .9rem; display: flex; align-items: center; gap: 12px; }
.hero-note::before { content: ''; width: 32px; height: 1px; background: var(--color-forest); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 12px 22px; background: var(--color-accent); color: var(--color-paper-raised); border-radius: var(--radius-button); text-decoration: none; font-size: .95rem; font-weight: 600; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), transform 100ms var(--ease-out); }
.button:hover { background: var(--color-accent-hover); }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-weight: 600; text-decoration: underline; white-space: nowrap; padding-block: 10px; }
.text-link:hover { color: var(--color-accent); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-head h2 { font-size: 2rem; letter-spacing: -.04em; }
.section-head p { color: var(--color-muted); max-width: 50ch; font-size: .92rem; }
.destinations { padding-top: 28px; }
.destination-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.destination { min-width: 0; position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.7fr); align-items: center; padding: 32px; border-radius: var(--radius-card); background: var(--color-soft-green); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.destination:nth-child(2) { background: var(--color-soft-blue); }
.destination:hover { background: var(--color-soft-orange); }
.destination h3 { font-size: 2rem; letter-spacing: -.04em; }
.destination p { font-size: .94rem; margin-block: 12px 24px; max-width: 29ch; color: var(--color-muted); }
.destination svg { width: 100%; height: 180px; }
.card-action { display: inline-flex; gap: 16px; font-size: .9rem; font-weight: 700; }
.small-destinations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 28px; gap: 34px; }
.small-destination { display: block; padding: 20px 0; border-top: 1px solid var(--color-line); text-decoration: none; }
.small-destination h3 { display: flex; justify-content: space-between; gap: 12px; font-size: 1.1rem; }
.small-destination p { font-size: .87rem; margin-top: 10px; color: var(--color-muted); }
.small-destination:hover h3 { color: var(--color-accent); }
.landscape { height: 140px; margin-top: 40px; color: var(--color-teal); overflow: hidden; }
.landscape svg { width: 100%; height: 100%; }
.footer { padding-block: 30px 20px; border-top: 1px solid var(--color-line); }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer .contact-links { margin-top: 16px; font-size: .875rem; }
.contact-section { margin-top: 40px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-top { font-size: .83rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.footer-top > span { color: var(--color-muted); }
.back-top { white-space: nowrap; text-decoration: none; padding-block: 8px; }
.footer-bottom { font-size: .73rem; margin-top: 24px; color: var(--color-muted); }
.page-top { padding-block: 44px 20px; }
.breadcrumb { color: var(--color-muted); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.breadcrumb a { padding-block: 8px; white-space: nowrap; }
.page-header { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 40px; align-items: center; padding-block: 24px 40px; }
.page-header h1 { font-size: var(--text-display); letter-spacing: -.055em; max-width: 16ch; }
.page-intro { font-size: 1.45rem; line-height: 1.45; margin-top: 24px; color: var(--color-forest); max-width: 35ch; }
.page-art { height: 260px; display: flex; justify-content: center; align-items: center; }
.page-art svg { width: 280px; height: 260px; }
.page-art img { width: 500px; max-width: 130%; mix-blend-mode: multiply; }
.prose { max-width: 68ch; font-size: 1.08rem; }
.prose p + p { margin-top: 20px; }
.page-content { padding-bottom: 70px; }
.item-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 40px; }
.item { padding: 32px; background: var(--color-paper-raised); border: 1px solid var(--color-line); border-radius: var(--radius-card); min-width: 0; }
.item h2 { font-size: 1.6rem; }
.item p { color: var(--color-muted); margin-top: 16px; max-width: 46ch; }
.item .text-link { margin-top: 20px; font-size: .95rem; }
.item-art { float: right; width: 100px; height: 110px; margin: 0 0 16px 16px; }
.page main { min-height: calc(100svh - 275px); }
.error-page { padding-block: 80px; }
.error-page h1 { font-size: var(--text-display); margin-bottom: 24px; }
@media (min-width: 1440px) { .hero { min-height: 630px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .brand-name { font-size: 1.05rem; }
  .brand svg { width: 38px; height: 38px; }
  .navigation { gap: 18px; }
  .navigation a { font-size: .8rem; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 3.25rem; }
  .destination { padding: 24px; grid-template-columns: minmax(0,1fr) minmax(0,.55fr); }
  .destination h3 { font-size: 1.7rem; }
}
@media (max-width: 800px) {
  .header { flex-wrap: wrap; padding-block: 20px; }
  .navigation { width: 100%; justify-content: space-between; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 430px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-intro { font-size: 1rem; }
  .hero-image { width: 145%; margin-left: -22%; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .destination { display: block; }
  .destination svg { position: absolute; right: 15px; bottom: 20px; width: 85px; height: 100px; opacity: .8; }
  .destination p { max-width: 23ch; padding-right: 12px; }
  .page-header { gap: 16px; }
  .page-art { height: 180px; }
  .page-intro { font-size: 1.2rem; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header { gap: 12px; padding-block: 18px; }
  .brand { gap: 8px; }
  .brand-name { font-size: .97rem; }
  .brand-tagline { font-size: .58rem; }
  .brand svg { width: 32px; height: 38px; }
  .js .menu-toggle { display: block; }
  .js .navigation { display: none; }
  .js .navigation.is-open { display: flex; }
  .navigation { flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; border-top: 1px solid var(--color-line); padding-top: 12px; }
  .navigation a { font-size: .9rem; min-height: 44px; }
  .hero { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 0; }
  .hero-copy { padding-block: 30px 0; width: 100%; }
  .hero h1 { font-size: clamp(2.35rem,9.3vw,3.4rem); max-width: 14ch; }
  .hero-intro { margin-top: 20px; max-width: 36ch; }
  .hero .actions { margin-top: 24px; gap: 20px; }
  .button { font-size: .87rem; padding-inline: 17px; gap: 12px; }
  .hero .text-link { font-size: .87rem; }
  .hero-note { margin-top: 18px; font-size: .8rem; }
  .hero-figure { width: calc(100% + 32px); margin-top: 8px; }
  .hero-image { width: 100%; margin: 0; }
  .destinations { padding-top: 24px; }
  .section-head h2 { font-size: 1.65rem; }
  .section-head p { font-size: .87rem; }
  .destination-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .destination { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.65fr); padding: 24px; }
  .destination svg { position: static; width: 100%; height: 140px; opacity: 1; }
  .destination h3 { font-size: 1.65rem; }
  .destination p { font-size: .86rem; padding: 0; }
  .small-destinations { display: block; margin-top: 20px; }
  .small-destination { padding-block: 18px; }
  .small-destination p { margin-top: 6px; }
  .landscape { margin-top: 16px; height: 85px; }
  .footer { padding-top: 20px; }
  .footer-top { gap: 10px; }
  .footer-top > span { order: 3; width: 100%; }
  .footer-bottom { font-size: .68rem; gap: 8px; }
  .page-top { padding-top: 22px; }
  .page-header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; padding-bottom: 24px; }
  .page-header h1 { font-size: 2.65rem; }
  .page-intro { font-size: 1.18rem; margin-top: 18px; }
  .page-art { align-self: center; width: 100%; height: 170px; }
  .page-art svg { width: 190px; height: 170px; }
  .page-art:has(img) { height: auto; margin-top: 12px; }
  .page-art img { width: 100%; max-width: 100%; }
  .prose { font-size: 1rem; }
  .item-list { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 30px; }
  .item { padding: 24px; }
  .item-art { width: 75px; height: 90px; }
  .item h2 { font-size: 1.4rem; }
  .page-content { padding-bottom: 45px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand svg { display: none; }
  .brand-name { font-size: .95rem; }
  .hero .actions { gap: 14px; }
  .destination { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Author's library: quiet, narrow reading pages with original illustrations. */
.library-shelf { margin-top: 4rem; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.library-card { padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-line); }
.library-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 16px; }
.library-card h3 { margin: 1rem 0; font-size: 1.35rem; }
.library-card h3 a { color: inherit; text-decoration: none; }
.reading-wrap { padding-top: 2rem; }
.reading { max-width: 720px; margin: 2.5rem auto 5rem; }
.reading-header { margin-bottom: 2.5rem; }
.reading-header h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.12; overflow-wrap: break-word; }
.reading-kind { color: var(--color-muted); font-size: .95rem; margin-bottom: 1rem; }
.reading-body { font-size: 1.15rem; line-height: 1.85; overflow-wrap: break-word; }
.reading-body p { margin: 0 0 1.15em; }
.reading-body h2 { margin: 2.5em 0 1em; font-size: 1.5rem; line-height: 1.4; scroll-margin-top: 2rem; }
.reading-body figure { margin: 2rem 0; }
.reading-body img { display: block; width: 100%; height: auto; border-radius: 16px; }
.reading-body hr { width: 4rem; margin: 2.5rem auto; border: 0; border-top: 1px solid currentColor; opacity: .35; }
.reading-toc { padding: 1rem 1.5rem; margin-bottom: 2rem; background: var(--color-paper-raised); border-radius: 16px; font-size: 1rem; }
.reading-toc ol { padding-left: 1.25rem; }
.reading-toc li + li { margin-top: .5rem; }
.reading-end { margin-top: 3rem; }
@media (max-width: 800px) { .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .library-grid { grid-template-columns: 1fr; } .reading-body { font-size: 1.075rem; line-height: 1.8; } }
