@font-face { font-family: 'Folio Display'; src: url('./assets/OhwSubsetSerif-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Folio Text'; src: url('./assets/newsreader-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #f8f3e7; --ink: #513e2f; --soft: #e6e9dd; --accent: #725034; --on-accent: #fffaf0; --rule: #b1a591; --control: #81715d; --focus: #304e79; --body: 'Folio Text', Georgia, serif; --display: 'Folio Display', Georgia, serif; --weight: 400; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--body); }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--weight); line-height: 1.12; margin: 0 0 1.25rem; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.4rem; }
figure { margin: 0; min-width: 0; }
figcaption { font-size: .8rem; line-height: 1.5; margin-top: 1rem; }
.hero-art { display: block; width: 100%; height: auto; }
.wrap { width: min(calc(100% - 40px), 1160px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: clamp(3rem, 6vw, 5rem) 1rem; }
.page-intro h1 { max-width: 17ch; }
.lead { font-size: 1.15rem; max-width: 48rem; }
.eyebrow { font-size: .73rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.3rem; }
.small { font-size: .85rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; padding: 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.7rem; }
.brand { font: var(--weight) 2rem/1 var(--display); text-decoration: none; }
.brand span { display: block; margin-top: .65rem; font: 600 .65rem/1.5 var(--body); letter-spacing: .12em; }
#navigation { display: flex; align-items: center; gap: 1.4rem; font-size: .85rem; }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a:hover, #navigation a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; background: transparent; color: inherit; border: 1px solid currentColor; min-height: 44px; padding: .4rem .7rem; }
.arrow, .disclosure { flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.button, .text-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 48px; max-width: 100%; }
.button { padding: .9rem 1.2rem; background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); text-decoration: none; font-size: .95rem; line-height: 1.5; }
.button:hover { text-decoration: underline; }
.text-link { padding-block: .5rem; font-size: .95rem; }
.closing { padding-block: 3rem; background: var(--soft); }
.closing-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing-layout > div { max-width: 41rem; }
.closing-layout h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.closing-layout .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.footer-layout { display: flex; justify-content: space-between; gap: 2rem; }
.footer-name { font: var(--weight) 1.4rem/1.3 var(--display); }
.site-footer a { display: inline-block; padding-block: .6rem; }
.site-footer .small { max-width: 37rem; }
.split, .form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > *, .form-layout > * { min-width: 0; }
.form-panel { padding: clamp(1.1rem, 3vw, 2.6rem); background: var(--soft); }
.demo-note { border-left: 3px solid var(--accent); padding-left: 1rem; margin-top: 2rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { font: var(--weight) 1.8rem/1.3 var(--display); padding: 0; margin-bottom: 1rem; max-width: 100%; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-size: .95rem; }
input, textarea, select { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .7rem; background: var(--paper); color: var(--ink); border: 1px solid var(--control); border-radius: 0; font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.confirmation { padding-block: 1rem; }
.prose { max-width: 760px; }
.prose section + section { margin-top: 2.5rem; }
ul, ol { padding-left: 1.3rem; }
li { padding-block: .35rem; }
details { border-top: 1px solid var(--rule); padding-block: 1rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: 1rem; max-width: 48rem; }
.questions { max-width: 850px; }
@media (max-width: 1050px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .2rem; }
  #navigation a { padding: .65rem .4rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .closing-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 700px) {
  .split, .form-layout { grid-template-columns: 1fr; }
  .footer-layout { flex-direction: column; }
  .site-header { gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body { font-size: 1.22rem; }
h1, h2, h3, .brand, .footer-name, legend { font-style: italic; }
h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); }
h3 { font-size: 1.8rem; }
.lead { font-size: 1.35rem; }
.eyebrow { font-family: Georgia, serif; font-weight: 400; font-size: .72rem; letter-spacing: .12em; }
.site-header { width: 218px; height: 100vh; overflow-y: auto; position: fixed; left: 0; top: 0; display: flex; flex-direction: column; justify-content: start; align-items: start; padding: 2.6rem 1.6rem; background: var(--ink); color: var(--paper); border-right: 8px solid #c8b48e; }
.site-header .brand { font-size: 3rem; margin-bottom: 3.2rem; }
.brand span { font: .63rem/1.5 Georgia, serif; letter-spacing: .13em; }
#navigation { flex-direction: column; align-items: start; gap: 1.2rem; font-size: 1.1rem; }
#navigation a { border-bottom: 1px solid #917d62; padding-bottom: .7rem; width: 100%; }
.site-header :focus-visible { outline-color: #f1d293; }
main, .site-footer { margin-left: 218px; }
.wrap { width: min(calc(100% - 72px), 1060px); }
.site-header.wrap { width: 218px; }
.skip-link { position: fixed; }
.archive-opening { padding-block: 3rem; }
.archive-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.archive-heading > * { min-width: 0; }
.archive-heading .lead { margin-bottom: 1rem; }
.ledger { border: 1px solid var(--rule); background: #eee7d4; padding: clamp(.8rem, 2vw, 1.7rem); box-shadow: 6px 6px 0 #d4cdbd; }
.ledger figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.research-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; border-bottom: 1px solid var(--rule); }
.research-intro h2 { font-size: 3rem; }
.research-intro > * { min-width: 0; }
.margin-label { border-left: 3px solid var(--accent); padding-left: 1.2rem; }
.research-paths { list-style: none; padding: 0; margin: 0; }
.research-paths li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; border-top: 1px solid var(--rule); padding-block: 1.5rem; }
.generation-number { font: italic 400 3.5rem/1 var(--display); }
.research-paths h3 { margin-bottom: .5rem; }
.research-paths .price { font-size: 1.1rem; }
.letter-panel { background: var(--soft); padding: 2rem; border-left: 1px solid var(--ink); }
.research-rates { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); }
.research-rates article { min-width: 0; padding: 2rem 1.5rem; border-right: 1px solid var(--rule); }
.research-rates article:first-child { padding-left: 0; }
.research-rates article:last-child { border-right: 0; }
.research-rates h2 { font-size: 2.3rem; }
.research-rates .price { font: italic 400 3rem/1.3 var(--display); }
.research-rates .eyebrow { font-size: .65rem; }
.research-rates p { font-size: 1.1rem; }
.service-entry { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; padding-block: 2rem; border-top: 1px solid var(--rule); }
.service-entry h3 { margin-bottom: .5rem; }
.hours-note { background: var(--soft); }
.form-panel { border: 1px solid var(--rule); }
.form-panel label, .demo-note { font-size: 1.05rem; }
.closing { border-top: 4px double var(--ink); background: #e7dbc2; }
.closing-layout { flex-direction: column; align-items: start; gap: 1.3rem; }
.button, .text-link { font-size: 1.1rem; }
.footer-name { font-size: 1.7rem; }
@media (max-width: 1050px) {
  .site-header, .site-header.wrap { position: static; width: 100%; height: auto; flex-direction: row; justify-content: space-between; align-items: center; padding: 1.4rem 24px; border-right: 0; border-bottom: 6px solid #c8b48e; }
  .site-header .brand { margin: 0; font-size: 2.8rem; }
  main, .site-footer { margin-left: 0; }
  #navigation { align-items: stretch; }
  .wrap { width: min(calc(100% - 40px), 1060px); }
}
@media (max-width: 700px) {
  .archive-heading, .research-intro, .research-rates, .service-entry { grid-template-columns: 1fr; gap: 1.5rem; }
  .research-rates { gap: 0; }
  .research-rates article, .research-rates article:first-child { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .research-rates article:last-child { border-bottom: 0; }
  .ledger figcaption { flex-direction: column; gap: .3rem; }
  .research-paths li { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .generation-number { font-size: 2.5rem; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
