:root {
  color-scheme: light;
  --paper: #f4f0e6;
  --paper-raised: #fbf9f3;
  --ink: #192923;
  --ink-soft: #46534a;
  --line: #d4d1c5;
  --rust: #91412b;
  --rust-deep: #713321;
  --ochre: #edbd67;
  --forest: #1d342c;
  --forest-soft: #2a4439;
  --white: #fffdf8;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  --measure: 69rem;
  --reading: 44rem;
  --shadow: 0 1.5rem 4rem rgb(28 42 34 / 11%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
body, button, input { font-family: var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust-deep); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--forest); text-decoration-thickness: .13em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #87401e; outline-offset: 4px; border-radius: .15rem; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: #f3c86e; }
.wrap { width: min(var(--measure), calc(100% - 3rem)); margin-inline: auto; }
.wrap-narrow { width: min(var(--reading), calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; inset: .75rem auto auto .75rem; padding: .75rem 1rem; color: var(--white); background: var(--forest); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { width: min(82rem, calc(100% - 3rem)); min-height: 6.15rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex: 0 0 auto; color: var(--ink); text-decoration: none; font-size: 1.03rem; font-weight: 750; line-height: 1.1; letter-spacing: -.025em; }
.brand:hover { color: var(--rust-deep); }
.brand small { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 2.5rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--forest); font-family: var(--serif); font-size: 1rem; letter-spacing: -.08em; }
.primary-nav ul, .site-footer nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.15rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: inline-block; padding: .7rem .1rem; color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--rust-deep); border-color: var(--rust); }
.theme-toggle { min-height: 2.55rem; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: .78rem; font-weight: 700; }
.theme-toggle:hover { border-color: var(--ink-soft); background: var(--paper-raised); }
.theme-toggle span:first-child { font-size: 1.05rem; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
h1 em, h2 em { color: var(--rust); font-weight: 500; }
h1 { max-width: 15ch; margin-bottom: 1.35rem; font-size: clamp(3.1rem, 7vw, 6.45rem); }
h2 { margin-bottom: 1.15rem; font-size: clamp(2.2rem, 4.7vw, 4.2rem); }
h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.4rem; color: var(--rust-deep); font-size: .73rem; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { width: 1.8rem; height: 2px; display: inline-block; background: var(--rust); }
.hero-intro { max-width: 40rem; color: var(--ink-soft); font-size: clamp(1.12rem, 1.65vw, 1.32rem); line-height: 1.62; }
.text-link { display: inline-flex; align-items: baseline; gap: .45rem; margin-top: .85rem; color: var(--rust-deep); font-size: .94rem; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.button { min-height: 3.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: .15rem; font-size: .92rem; font-weight: 750; text-decoration: none; transition: transform .16s ease, background-color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--forest); }
.button-dark:hover { color: #fff; background: #0c2119; }
.button-quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.button-quiet:hover { color: var(--ink); background: var(--paper-raised); }
.button-light { color: var(--forest); background: var(--paper-raised); }
.button-light:hover { color: var(--forest); background: #fff; }

.hero { position: relative; min-height: 43rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding-block: 5rem 6.5rem; }
.hero-copy { position: relative; z-index: 1; padding-block: 1.5rem; }
.hero h1 { max-width: 12ch; font-size: clamp(3.5rem, 7vw, 6.15rem); }
.hero-intro { max-width: 37rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-photo { position: relative; z-index: 0; margin: 0; padding: 1.2rem 1.2rem 3.1rem; background: var(--paper-raised); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-photo::before { position: absolute; z-index: -1; top: -1.15rem; left: 42%; width: 5.5rem; height: 2rem; background: #e6bd77c9; content: ""; transform: rotate(-4deg); }
.hero-photo img { width: 100%; aspect-ratio: 1.35; object-fit: cover; object-position: 50% 43%; filter: saturate(.86); }
.hero-photo figcaption, figure figcaption { margin-top: .75rem; color: var(--ink-soft); font-size: .79rem; }
.hero-dog-note { min-height: 22rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.4rem, 3vw, 2.5rem); color: var(--paper); background: var(--forest); }
.hero-dog-photo { width: 100%; margin: 0 0 1.3rem; }
.hero-dog-photo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; object-position: 50% 26%; }
.hero-dog-photo figcaption { color: #e1e8e2; }
.hero-dog-note h2 { margin-bottom: .8rem; color: var(--paper); font-size: clamp(3rem, 6vw, 5rem); }
.hero-dog-note p:not(.eyebrow) { max-width: 24rem; color: #e1e8e2; }
.hero-dog-note .eyebrow { color: #f3d08e; }
.hero-dog-note .text-link { color: #f3d08e; }
.hero-stamp { position: absolute; z-index: 2; right: -1rem; bottom: 4.5rem; width: 8rem; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; border: 1px solid var(--paper-raised); border-radius: 50%; color: var(--white); background: var(--rust); text-align: center; font-size: .72rem; font-weight: 750; line-height: 1.3; transform: rotate(8deg); }
.hero-stamp span:first-child { font-size: 1.7rem; }
.ticker { overflow: hidden; color: var(--paper); background: var(--rust); white-space: nowrap; }
.ticker div { width: max-content; padding: .8rem 0; animation: ticker 34s linear infinite; font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.ticker span { margin-inline: 1.2rem; color: var(--ochre); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding-block: 6.5rem; }
.section-kicker { display: flex; gap: .75rem; align-items: center; margin-bottom: 2.4rem; color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-kicker span:first-child { color: var(--rust); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .75fr); gap: 4rem; align-items: start; }
.intro-grid h2 { max-width: 12ch; }
.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 1.25rem; }
.intro-prose { max-width: 37rem; }
.work-band { color: var(--paper); background: var(--forest); }
.work-band h2, .work-band h3 { color: var(--paper); }
.work-band h2 em { color: var(--ochre); }
.section-kicker-light { color: #d5ded4; }
.section-kicker-light span:first-child { color: var(--ochre); }
.work-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 4rem; margin-bottom: 3.2rem; }
.work-heading p { max-width: 27rem; margin-bottom: .7rem; color: #e1e6df; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.work-card { min-height: 18rem; padding: 1.6rem; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #73847a; background: var(--forest-soft); }
.card-index { display: block; margin-bottom: 2.25rem; color: var(--ochre); font-size: .69rem; font-weight: 800; letter-spacing: .11em; }
.work-card h3 { max-width: 18ch; margin-bottom: .85rem; font-size: 1.7rem; }
.work-card p { color: #e0e6e0; font-size: .94rem; }
.work-card a { margin-top: auto; color: #f4cf8f; font-size: .87rem; font-weight: 750; text-decoration: none; }
.work-card a:hover, .section-link-light:hover { text-decoration: underline; text-underline-offset: .3em; }
.section-link-light { display: inline-block; margin-top: 2rem; color: #f4cf8f; font-weight: 750; }
.story-section { background: var(--paper-raised); }
.story-grid { display: grid; grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); }
.story-grid h2 { max-width: 11ch; }
.story-lede { max-width: 25rem; color: var(--ink-soft); }
.timeline { position: relative; margin: 0; padding: .2rem 0 .2rem 1.3rem; list-style: none; }
.timeline::before { position: absolute; top: .4rem; bottom: .4rem; left: .2rem; width: 1px; background: var(--line); content: ""; }
.timeline li { position: relative; display: grid; grid-template-columns: 6.1rem 1fr; gap: 1rem; padding: 0 0 1.8rem 1rem; }
.timeline li::before { position: absolute; top: .5rem; left: -.98rem; width: .55rem; height: .55rem; border: 2px solid var(--rust); border-radius: 50%; background: var(--paper-raised); content: ""; }
.timeline time { color: var(--rust-deep); font-size: .86rem; font-weight: 800; }
.timeline p { max-width: 31rem; margin-bottom: 0; color: var(--ink-soft); font-size: .96rem; }
.personal-band { background: #e8e4d9; }
.personal-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 4rem; padding-block: 5.5rem; }
.personal-grid h2 { max-width: 11ch; }
.personal-grid .prose { max-width: 34rem; }
.latest-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.latest-heading h2 { margin: 0; }
.latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.story-card { min-height: 15rem; padding: 1.4rem; border-top: 2px solid var(--rust); background: var(--paper-raised); }
.story-card .eyebrow { margin-bottom: 1rem; font-size: .67rem; }
.story-card h3 { margin-bottom: .8rem; }
.story-card h3 a { color: var(--ink); text-decoration: none; }
.story-card h3 a:hover { color: var(--rust-deep); text-decoration: underline; text-underline-offset: .2em; }
.story-card p:not(.eyebrow) { color: var(--ink-soft); font-size: .92rem; }
.story-card .text-link { font-size: .83rem; }
.contact-strip { color: var(--paper); background: var(--rust-deep); }
.contact-strip h2 { margin: 0; }
.contact-strip h2 em { color: #f3c77f; }
.contact-strip .eyebrow { color: #f7dfb8; }
.contact-strip-inner { min-height: 23rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 4rem; }

.site-footer { padding: 3rem max(1.5rem, calc((100% - var(--measure))/2)) 1.3rem; color: var(--paper); background: #15241e; }
.footer-main { display: flex; justify-content: space-between; gap: 3rem; padding-bottom: 2.5rem; }
.footer-name { display: inline-block; margin-bottom: .6rem; color: var(--paper); font-family: var(--serif); font-size: 1.7rem; text-decoration: none; }
.footer-main p { max-width: 24rem; margin-bottom: 0; color: #d1d9d1; font-size: .93rem; }
.site-footer nav ul { max-width: 26rem; justify-content: flex-end; }
.site-footer nav a, .footer-meta a { color: #f1d49f; font-size: .83rem; font-weight: 650; }
.footer-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; padding-top: 1rem; border-top: 1px solid #56655d; color: #d0d8d1; font-size: .77rem; }
.visit-counter { display: inline-flex; align-items: baseline; gap: .35rem; font-variant-numeric: tabular-nums; }
.visit-counter #site-visit-count { color: var(--paper); font-weight: 700; }

.page-hero { padding-block: 6rem 5rem; }
.page-hero h1 { max-width: 13ch; }
.page-hero-color { position: relative; overflow: hidden; }
.page-hero-color::after { position: absolute; right: 5%; top: 3.5rem; width: 17rem; aspect-ratio: 1; border: 1px solid #bcae91; border-radius: 50%; box-shadow: 0 0 0 1.4rem var(--paper), 0 0 0 1.45rem #d4c7ab, 0 0 0 3rem var(--paper), 0 0 0 3.05rem #d4c7ab; content: ""; opacity: .65; }
.page-hero-color > * { position: relative; z-index: 1; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.7rem; margin-top: 2rem; color: var(--rust-deep); font-size: .84rem; font-weight: 750; }
.about-opening { display: grid; grid-template-columns: .5fr 1fr; gap: 3rem; border-top: 1px solid var(--line); }
.prose-large { max-width: 43rem; font-size: 1.15rem; }
.about-image-band { padding-block: 5rem; background: #e8e4d9; }
.about-image-grid { display: grid; grid-template-columns: minmax(18rem, .85fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.about-image-grid figure, .dog-note figure { margin: 0; }
.about-image-grid img { width: 100%; aspect-ratio: 1.16; object-fit: cover; }
.about-image-grid h2 { max-width: 12ch; }
.timeline-page-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; }
.timeline-page-grid h2 { max-width: 10ch; }
.full-timeline { padding-top: .5rem; }
.full-timeline li { grid-template-columns: 6.8rem 1fr; padding-bottom: 2.5rem; }
.full-timeline h3 { margin-bottom: .5rem; font-size: 1.42rem; }
.full-timeline p { max-width: 38rem; }
.values-band { padding-block: 5rem; color: var(--paper); background: var(--forest); }
.values-band h2, .values-band h3 { color: var(--paper); }
.values-band h2 em { color: var(--ochre); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.values-grid article { padding-top: 1rem; border-top: 1px solid #7c8a7d; }
.values-grid article > span { color: var(--ochre); font-size: .75rem; font-weight: 800; }
.values-grid h3 { margin: 1.25rem 0 .6rem; }
.values-grid p { max-width: 20rem; color: #e0e6e0; }
.source-note { margin-top: 3rem; color: #d9e2da; font-size: .84rem; }
.source-note a { color: #f4d08f; }
.personal-note { max-width: 40rem; margin-inline: auto; text-align: center; }
.personal-note .eyebrow { justify-content: center; }
.personal-note h2 { margin-inline: auto; }

.project-stack { padding-top: 1rem; }
.project-feature { display: grid; grid-template-columns: minmax(12rem, .5fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding-block: 4.5rem; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.project-feature-alt { padding-inline: 2rem; background: var(--paper-raised); }
.project-label { margin-bottom: .7rem; color: var(--rust-deep); font-size: .7rem; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
.project-copy { max-width: 45rem; }
.project-copy h2 { max-width: 12ch; }
.project-copy p { color: var(--ink-soft); }
.project-copy .text-link { margin-right: 1.4rem; }
.source-panel { padding-block: 4rem; background: #e8e4d9; }
.source-panel-inner { display: grid; grid-template-columns: .7fr 1fr; gap: 4rem; align-items: start; }
.source-panel h2 { max-width: 10ch; }
.source-links { margin: 0; padding: 0; list-style: none; }
.source-links a { display: flex; justify-content: space-between; gap: 1.4rem; padding: 1rem 0; border-bottom: 1px solid #b6b3a8; color: var(--ink); font-weight: 700; text-decoration: none; }
.source-links a:hover { color: var(--rust-deep); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-top: 2px solid var(--rust); background: var(--paper-raised); }
.product-card h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.product-card p:not(.eyebrow) { color: var(--ink-soft); }
.product-card .text-link { display: flex; width: fit-content; }
.dog-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1.5rem 0 2rem; }
.dog-facts div { padding: .9rem 1rem; background: var(--paper-raised); }
.dog-facts dt { color: var(--rust-deep); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.dog-facts dd { margin: .25rem 0 0; }
.chief-post-photo { width: min(100%, 32rem); margin: 2.5rem auto; }
.chief-post-photo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; object-position: 50% 26%; }

.archive-hero { padding-bottom: 3rem; }
.archive-hero .hero-intro { max-width: 44rem; }
.archive-count { margin-top: 1.5rem; color: var(--ink-soft); font-size: .85rem; font-weight: 750; }
.archive-section { padding-top: 2rem; }
.archive-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.search-label { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 750; }
.archive-toolbar input { width: min(31rem, 78vw); min-height: 3rem; padding: .65rem .8rem; border: 1px solid #767b70; border-radius: .15rem; color: var(--ink); background: var(--paper-raised); }
.archive-status { flex: 0 0 auto; margin: 0 0 .4rem; color: var(--ink-soft); font-size: .84rem; }
.small-note { color: var(--ink-soft); font-size: .83rem; }
.archive-toolbar .small-note { margin: .45rem 0 0; }
.story-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 1.5rem; }
.story-list .story-card { min-height: unset; }
.empty-search, .empty-state { padding: 2rem; color: var(--ink-soft); background: var(--paper-raised); }
.journal-chapter-links { margin: 0 0 3rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper-raised); }
.journal-chapter-links h2 { margin-top: 0; }
.journal-chapter-links ul, .rss-feed-list { display: grid; gap: .8rem; padding-left: 1.25rem; }
.journal-chapter-links li, .rss-feed-list li { padding: .7rem 0; }
.journal-chapter-links a, .rss-feed-list a { color: var(--rust-deep); font-weight: 750; text-underline-offset: .18em; }
.journal-chapter-links p { margin-bottom: 0; }
.rss-feed-list li { padding: 1rem 1.25rem; background: var(--paper-raised); }
.rss-feed-list p { margin: .35rem 0 0; color: var(--ink-soft); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 2rem; }
.journal-card { min-height: 22rem; display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; color: var(--ink); background: var(--paper-raised); text-decoration: none; box-shadow: 0 1rem 2rem rgb(30 40 32 / 7%); transition: transform .16s ease; }
.journal-card:hover { color: var(--ink); transform: translateY(-4px); }
.journal-card h2 { margin: 2.2rem 0 .75rem; font-size: 2.15rem; }
.journal-card p { max-width: 24rem; color: var(--ink-soft); }
.journal-year { color: var(--rust-deep); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.journal-cta { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--rust-deep); font-size: .86rem; font-weight: 800; }
.journal-card-warm { background: #e9dfce; }
.journal-card-dark { color: var(--paper); background: var(--forest); }
.journal-card-dark:hover { color: white; }
.journal-card-dark h2 { color: var(--paper); }
.journal-card-dark p { color: #dce4dd; }
.journal-card-dark .journal-year, .journal-card-dark .journal-cta { color: #f3d08e; }
.journal-card-dark .journal-cta { border-color: #77877c; }
.dog-note { display: grid; grid-template-columns: minmax(18rem, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.dog-note img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.dog-note h2 { max-width: 12ch; }
.dog-note p { color: var(--ink-soft); }

.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; padding-top: 1rem; }
.contact-card { padding: clamp(1.7rem, 4vw, 3rem); color: var(--paper); background: var(--forest); }
.contact-card h2 { color: var(--paper); }
.contact-card .eyebrow { color: var(--ochre); }
.contact-card p { max-width: 30rem; color: #e0e6e0; }
.contact-card a { color: #f3d08e; }
.contact-card a:hover { color: var(--white); }
.contact-email { display: inline-block; margin: .3rem 0 1rem; color: #f3d08e; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem); overflow-wrap: anywhere; }
.contact-card .text-link { color: #f3d08e; }
.contact-form { display: grid; gap: 1.15rem; margin-top: 1.5rem; }
.form-field { display: grid; gap: .35rem; }
.form-field label { color: #f4f0e6; font-size: .9rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 3rem; padding: .65rem .75rem; border: 1px solid #a5b1a8; border-radius: .15rem; color: #192923; background: #fffdf8; }
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible, .contact-form button:focus-visible { outline-color: #f3d08e; }
.form-status { min-height: 1.5em; margin: 0; color: #f4f0e6; font-size: .84rem; }
.contact-card .small-note { font-size: .84rem; }
.contact-fallback { margin-top: 1.4rem; }
.contact-fallback a, .contact-aside a { text-underline-offset: .2em; }
.contact-aside { padding: 1.5rem; }
.contact-aside .source-links a { border-color: var(--line); }
.contact-aside .small-note { margin-top: 2rem; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.two-column h2 { font-size: 2.35rem; }
.check-list { padding-left: 1.2rem; color: var(--ink-soft); }
.check-list li { padding: .35rem 0 .35rem .25rem; }
.family-hero { position: relative; }
.family-hero::after { position: absolute; right: 2rem; bottom: 1rem; color: #c9aa73; content: "✳"; font-family: var(--serif); font-size: 14rem; line-height: 1; opacity: .28; pointer-events: none; }
.family-hero > * { position: relative; z-index: 1; }
.family-intro { display: grid; grid-template-columns: 8rem 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.family-ornament { width: 7rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #c9aa73; border-radius: 50%; color: var(--rust); font-size: 3rem; }
.family-intro h2 { max-width: 14ch; }
.family-intro p:not(.eyebrow) { max-width: 41rem; color: var(--ink-soft); }
.family-note { padding-block: 4rem; background: #e8e4d9; }
.family-note-inner { max-width: 50rem; }
.family-note h2 { max-width: 12ch; }
.family-note p:not(.eyebrow) { max-width: 38rem; color: var(--ink-soft); }

.post-header { padding-block: 5.5rem 2rem; }
.post-header .eyebrow { display: block; }
.post-header .eyebrow a { color: var(--rust-deep); }
.post-header h1 { max-width: 15ch; font-size: clamp(2.8rem, 6vw, 5.1rem); }
.post-byline { color: var(--ink-soft); font-size: .9rem; }
.post-content { width: min(var(--reading), calc(100% - 3rem)); margin: 0 auto; padding-block: 2rem 4rem; color: #34433b; font-size: 1.1rem; line-height: 1.8; }
.post-content > * { max-width: 100%; }
.post-content h2 { margin-top: 2.5rem; font-size: 2.25rem; }
.post-content h3 { margin-top: 2rem; font-size: 1.65rem; }
.post-content p, .post-content ul, .post-content ol, .post-content blockquote { margin-bottom: 1.35rem; }
.post-content li { margin-bottom: .35rem; }
.post-content img { max-width: 100%; margin: 1.5rem auto; border-radius: .1rem; }
.post-content figure { margin: 2rem 0; }
.post-content figcaption { color: var(--ink-soft); font-size: .84rem; }
.post-content blockquote { margin-inline: 0; padding: .4rem 0 .4rem 1.25rem; border-left: 3px solid var(--rust); font-family: var(--serif); font-size: 1.3rem; }
.audio-archive { margin: 2rem 0; padding: 1.3rem; border: 1px solid var(--line); background: var(--paper-raised); }
.audio-archive figcaption { margin-bottom: .6rem; font-weight: 700; }
.audio-archive audio { width: 100%; }
.post-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 4rem; }
.post-pager a { min-height: 6rem; display: flex; flex-direction: column; justify-content: center; padding: 1rem; border-top: 1px solid var(--line); background: var(--paper-raised); color: var(--ink); text-decoration: none; }
.post-pager a:last-child { align-items: flex-end; text-align: right; }
.post-pager small { color: var(--rust-deep); font-weight: 800; }
.post-pager span { font-family: var(--serif); font-size: 1.1rem; }
.comments { padding-top: 2rem; border-top: 1px solid var(--line); }
.comments h2 { font-size: 2rem; }
.comments h2 span { color: var(--ink-soft); font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.comment-list { display: grid; gap: .8rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.comment { padding: 1.2rem; border-left: 2px solid #c4a36f; background: var(--paper-raised); }
.comment h3 { display: inline; margin-right: .8rem; font-family: var(--sans); font-size: .96rem; font-weight: 800; }
.comment time { color: var(--ink-soft); font-size: .79rem; }
.comment-body { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; }
.comment-body p:last-child { margin-bottom: 0; }

[hidden] { display: none !important; }
body[data-theme="dark"] { color-scheme: dark; --paper: #17241e; --paper-raised: #22342b; --ink: #f4f0e6; --ink-soft: #d5ded4; --line: #56655d; --rust: #e2a17b; --rust-deep: #f0bb96; --forest: #0e1914; --forest-soft: #1a2a22; --white: #fffdf8; --shadow: 0 1.5rem 4rem rgb(0 0 0 / 28%); }
body[data-theme="dark"] .brand-mark { color: var(--ink); background: var(--paper-raised); }
body[data-theme="dark"] .theme-toggle:hover, body[data-theme="dark"] .button-quiet:hover { background: #31483c; }
body[data-theme="dark"] .personal-band, body[data-theme="dark"] .about-image-band, body[data-theme="dark"] .source-panel, body[data-theme="dark"] .family-note { background: #24372e; }
body[data-theme="dark"] .story-card h3 a, body[data-theme="dark"] .source-links a, body[data-theme="dark"] .post-pager a { color: var(--ink); }
body[data-theme="dark"] .journal-card-warm { color: var(--ink); background: #344338; }
body[data-theme="dark"] .journal-card-dark { background: #0b1711; }
body[data-theme="dark"] .page-hero-color::after { opacity: .25; }
body[data-theme="dark"] .post-content { color: #e3ebe4; }
body[data-theme="dark"] .archive-toolbar input { color: var(--ink); background: #26372f; }

@media (max-width: 1080px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; padding-block: .9rem; }
  .primary-nav { order: 3; width: 100%; }
  .primary-nav ul { justify-content: center; }
  .hero { min-height: 39rem; }
  .hero-stamp { right: 0; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .wrap, .wrap-narrow { width: min(100% - 2rem, var(--measure)); }
  .site-header { width: calc(100% - 2rem); gap: .75rem; }
  .brand { font-size: .95rem; }
  .brand small { font-size: .61rem; }
  .brand-mark { width: 2.2rem; }
  .primary-nav ul { justify-content: flex-start; gap: .05rem .9rem; }
  .primary-nav a { padding-block: .5rem; font-size: .82rem; }
  .theme-toggle { min-height: 2.25rem; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 2rem; padding-block: 4rem 4.5rem; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 5rem); }
  .hero-photo { width: min(100% - 1.5rem, 35rem); justify-self: center; }
  .hero-stamp { right: -.35rem; bottom: 1.5rem; width: 6.4rem; font-size: .62rem; }
  .hero-stamp span:first-child { font-size: 1.3rem; }
  .section { padding-block: 4.5rem; }
  .section-kicker { margin-bottom: 1.8rem; }
  .intro-grid, .work-heading, .story-grid, .personal-grid, .about-opening, .about-image-grid, .timeline-page-grid, .project-feature, .source-panel-inner, .dog-note, .contact-layout, .two-column { grid-template-columns: 1fr; gap: 1.6rem; }
  .intro-grid h2, .story-grid h2 { max-width: 15ch; }
  .work-heading { align-items: start; gap: .5rem; }
  .work-grid { grid-template-columns: 1fr; }
  .product-grid, .dog-facts { grid-template-columns: 1fr; }
  .work-card { min-height: 15rem; }
  .card-index { margin-bottom: 1.4rem; }
  .timeline li { grid-template-columns: 5.2rem 1fr; gap: .5rem; }
  .personal-grid { padding-block: 4rem; }
  .latest-heading { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .latest-grid { grid-template-columns: 1fr; }
  .story-card { min-height: unset; }
  .contact-strip-inner { min-height: unset; align-items: flex-start; flex-direction: column; padding-block: 3.5rem; }
  .footer-main { flex-direction: column; gap: 1.7rem; }
  .site-footer nav ul { justify-content: flex-start; }
  .footer-meta { justify-content: flex-start; }
  .page-hero { padding-block: 4.5rem 3rem; }
  .page-hero-color::after { right: -6rem; top: 1rem; width: 13rem; }
  .about-image-grid img { aspect-ratio: 1.35; }
  .full-timeline li { grid-template-columns: 5.5rem 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .values-grid article { padding-top: .7rem; }
  .project-feature { padding-block: 3rem; }
  .project-feature-alt { padding-inline: 1rem; }
  .archive-toolbar { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .archive-toolbar input { width: 100%; }
  .story-list, .journal-grid { grid-template-columns: 1fr; }
  .journal-card { min-height: 18rem; }
  .family-intro { grid-template-columns: 1fr; gap: 1rem; }
  .family-ornament { width: 4.5rem; font-size: 2rem; }
  .post-header { padding-block: 4rem 1.5rem; }
  .post-content { width: calc(100% - 2rem); padding-block: 1.5rem 3rem; font-size: 1.03rem; }
  .post-pager { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
