@font-face { font-family: 'Trest Mono'; src: url('./assets/OhwSubsetMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Trest Text'; src: url('./assets/newsreader-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #eeeae6; --ink: #362e39; --soft: #ded5dc; --line: #a59aa4; --control: #746775; --field: #f9f6f2; --display: 'Trest Mono', monospace; --body: 'Trest Text', Georgia, serif; --body-size: 1.25rem; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--body); color-scheme: light; }
body { margin: 0; font-size: var(--body-size, 1.0625rem); line-height: 1.6; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
h1, h2, h3, legend { font-family: var(--display); font-weight: var(--heading-weight, 400); line-height: 1.08; margin: 0 0 1.2rem; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 6.3vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.25rem; }
address { font-style: normal; margin-bottom: 1rem; }
.eyebrow, .small, figcaption, .copyright { font-size: .8rem; }
.eyebrow { letter-spacing: .1em; text-transform: uppercase; }
.lead { font-size: 1.25rem; max-width: 45ch; }
.section { padding-block: 4.5rem; }
.page-intro { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.page-intro h1 { max-width: 19ch; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 20; padding: .75rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { width: min(100% - 3rem, 80rem); margin: auto; padding-block: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { text-decoration: none; font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.brand span { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .1em; margin-top: .7rem; line-height: 1.4; }
#navigation { display: flex; gap: 1.4rem; flex-wrap: wrap; }
#navigation a { font-size: .85rem; text-decoration: none; padding-block: .65rem; }
#navigation a:hover, #navigation [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { padding: .5rem .8rem; border: 1px solid currentColor; background: transparent; color: inherit; min-height: 44px; }
.arrow { flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.text-link { display: inline-flex; gap: .75rem; align-items: center; padding-block: .5rem; max-width: 100%; }
.button { display: inline-flex; justify-content: space-between; gap: 1.4rem; align-items: center; padding: 1rem 1.4rem; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); font-size: 1rem; line-height: 1.5; text-decoration: none; max-width: 100%; }
.button:hover { text-decoration: underline; }
.photo { margin: 0; width: 100%; max-width: 800px; }
picture, img { display: block; width: 100%; }
img { height: auto; }
figcaption { padding-block: .7rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split > *, .closing-layout > *, .form-layout > * { min-width: 0; }
.closing { padding-block: 3.5rem; border-top: 1px solid var(--line); }
.closing-layout { display: flex; gap: 3rem; align-items: center; justify-content: space-between; }
.closing-layout h2 { font-size: 2.2rem; }
.closing-layout p { max-width: 48ch; margin-bottom: 0; }
.closing .button { flex-shrink: 0; }
.prose { max-width: 48rem; }
.prose section + section { margin-top: 3rem; }
.prose h2 { font-size: 2rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; padding-top: 1rem; }
.request-notes h2 { font-size: 1.8rem; }
.demo-note { padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.demo-note strong { display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 2rem; padding: 0; }
.field { margin-block: 1.25rem; }
label { display: block; margin-bottom: .4rem; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid var(--control); border-radius: 0; background: var(--field, #fff); color: var(--ink); padding: .7rem; min-height: 48px; }
textarea { resize: vertical; }
select { font-size: 1rem; }
.field .small { margin: .4rem 0 0; }
.confirmation { padding: 2rem; background: var(--soft); }
.site-footer { padding-block: 3rem; border-top: 1px solid var(--line); }
.footer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; }
.footer-name { font-family: var(--display); font-size: 1.8rem; }
.hours { font-size: .9rem; }
.copyright { grid-column: 1 / -1; margin: 0; }
.site-footer a, .prose a { display: inline-block; padding-block: .3rem; }
@media (min-width: 1001px) { .menu-toggle { display: none; } }
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; gap: 1.5rem; }
  #navigation { flex-basis: 100%; gap: .5rem 1.5rem; }
  .has-menu #navigation { display: none; }
  .has-menu .menu-toggle[aria-expanded="true"] + #navigation { display: flex; }
  .closing-layout { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 700px) {
  .wrap, .site-header { width: calc(100% - 2.5rem); }
  .section { padding-block: 3rem; }
  .page-intro { padding-top: 3rem; }
  .split, .form-layout, .footer-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .form-layout { padding-top: 0; }
  .brand { font-size: 1.9rem; }
  .brand span { font-size: .55rem; letter-spacing: .04em; }
  #navigation { flex-direction: column; gap: .25rem; }
  #navigation a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -.06em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.05em; }
h3 { font-size: 1.3rem; }
.site-header { align-items: flex-start; }
.brand { font-size: 1.9rem; letter-spacing: -.06em; }
.brand span { font-family: var(--display); font-size: .58rem; letter-spacing: 0; }
#navigation a, .eyebrow, .small, .drawing-label, figcaption, .copyright, label, .text-link, .button { font-family: var(--display); }
#navigation a { font-size: .75rem; }
.eyebrow { font-size: .66rem; line-height: 1.6; letter-spacing: .05em; }
.small, figcaption { font-size: .72rem; line-height: 1.6; }
.button, .text-link { font-size: .85rem; }
.furniture-opening { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem 3rem; padding-block: 4rem; }
.furniture-title { grid-column: 1 / -1; }
.furniture-title h1 { font-size: clamp(2.5rem, 6.3vw, 5.7rem); }
.workshop-photo { grid-column: 2; grid-row: 2; }
.opening-note { grid-column: 1; grid-row: 2; }
.drawing-label { display: block; font-size: .65rem; letter-spacing: .04em; }
.piece-lines { margin: 3rem 0 1.5rem; }
.piece-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); padding-block: 1.25rem; }
.piece-lines dt { font-family: var(--display); font-size: 1.5rem; }
.piece-lines dt span { font-size: .7rem; margin-right: 2rem; }
.piece-lines dd { margin: 0; text-align: right; }
.piece-lines dd span { display: block; font-family: var(--display); font-size: .7rem; }
.material-band { background: var(--soft); }
.closing { background: #e8bc98; border: 0; }
.closing h2 { font-size: 1.8rem; }
.site-footer { background: var(--paper); }
.footer-name { font-size: 1.4rem; }
.hours { font-size: 1.05rem; }
.piece-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.drawing-sheet { padding: 1.5rem; border: 1px solid var(--line); background: #f9f6f2; align-self: start; }
.piece-drawing { width: 100%; height: auto; display: block; fill: none; stroke: currentColor; stroke-width: 1.25; margin-block: 1.5rem; }
.drawing-sheet p { font-family: var(--display); font-size: .68rem; margin: 0; }
.piece-price { font-size: 1.65rem; }
.lead-time { font-family: var(--display); font-size: .8rem; border-block: 1px solid var(--line); padding-block: .7rem; }
.wood-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.wood-chip { height: 3rem; border: 1px solid var(--control); margin-bottom: 1rem; }
.oak { background: #bf9369; }
.maple { background: #e6cba1; }
.walnut { background: #695044; }
.finish-note { max-width: 46rem; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; }
.commission-steps { padding: 0; margin-top: 2rem; list-style: none; counter-reset: commission; }
.commission-steps li { counter-increment: commission; display: grid; grid-template-columns: 3rem 1fr 1.4fr; gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 2rem; }
.commission-steps li::before { content: counter(commission, decimal-leading-zero); font-family: var(--display); font-size: .8rem; }
.commission-steps p { margin: 0; }
.timing-note, .repair-note { max-width: 48rem; border-top: 1px solid var(--line); }
.workshop-story { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; }
.workshop-visit { border-top: 3px solid var(--ink); padding-top: 1.5rem; }
.workshop-visit h2 { font-size: 1.6rem; }
label { font-size: .8rem; }
.form-layout { gap: 3rem; }
.form-panel { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
legend { font-size: 1.5rem; }
@media (min-width: 1201px) {
  body { display: grid; grid-template-columns: 14rem minmax(0, 1fr); }
  .site-header { grid-column: 1; grid-row: 1 / 3; width: 100%; position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); flex-direction: column; justify-content: flex-start; gap: 3rem; padding: 3rem 1.5rem; }
  #navigation { flex-direction: column; gap: .75rem; }
  main, .site-footer { grid-column: 2; min-width: 0; }
}
@media (max-width: 900px) {
  .commission-steps li { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .commission-steps p { grid-column: 2; }
}
@media (max-width: 700px) {
  .furniture-opening, .piece-row, .wood-list, .workshop-story { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .furniture-opening { padding-block: 3rem; }
  .furniture-title, .workshop-photo, .opening-note { grid-column: 1; grid-row: auto; }
  .opening-note { grid-row: 2; }
  .piece-lines dt { font-size: 1.2rem; }
  .piece-lines dt span { display: block; margin-right: 0; }
  .piece-lines > div { gap: 1rem; }
  .wood-list { gap: 1rem; }
  .request-notes h2 { font-size: 1.5rem; }
}
.button:focus-visible, .skip-link:focus-visible { outline-color: var(--ink); }
html:not(.has-menu) .menu-toggle { display: none !important; }
