:root {
  --paper: #f7f5eb;
  --green: #253e31;
  --text: #35483c;
  --rust: #914a34;
  --line: #b6beab;
  --sage: #e4eadd;
  --display: Georgia, serif;
  --body: "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--paper); font: 1rem/1.6 var(--body); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #9d4c2c; outline-offset: 4px; }
.wrap { width: min(88%, 1250px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .5rem 1rem; color: white; background: var(--green); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.notice { padding: .31rem 1rem; background: var(--green); color: #faf8ed; text-align: center; font-size: .76rem; letter-spacing: .05em; }
.notice span { margin-inline: .38em; }
.masthead { min-height: 92px; display: flex; gap: 1rem; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 1.65rem/.95 var(--display); letter-spacing: -.055em; text-decoration: none; color: var(--green); }
.wordmark small { display: block; margin-top: .42rem; font: 700 .6rem/1 var(--body); text-transform: uppercase; letter-spacing: .25em; }
.house { position: relative; width: 29px; height: 29px; margin: .4rem .2rem 0; border: 2px solid var(--green); border-top: 0; transform: scaleY(.83); }
.house::before { content: ""; position: absolute; top: -9px; left: -1px; width: 24px; height: 24px; border-top: 2px solid var(--green); border-left: 2px solid var(--green); transform: rotate(45deg); }
.house span { position: absolute; left: 8px; bottom: 0; width: 9px; height: 15px; border: 2px solid var(--green); border-bottom: 0; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.8rem); }
nav a, .footer-inner a { font-weight: 600; font-size: .89rem; }
nav a { display: inline-block; padding-block: .55rem; text-decoration: none; }
nav a:hover, .footer-inner a:hover { color: var(--rust); text-decoration: underline; }
nav .nav-estimate { border-bottom: 1px solid var(--green); }
.nav-estimate span { margin-left: .35rem; }
.intro { padding: clamp(2.2rem, 4vw, 4rem) 0 2rem; text-align: center; }
.dateline, .section-name, .photo figcaption { font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.dateline { display: inline-block; margin: 0 0 1rem; }
.dateline span, .photo figcaption span { color: var(--rust); margin-inline: .55em; }
h1, h2, h3 { margin: 0; color: var(--green); font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(3rem, 6.4vw, 6.1rem); line-height: 1.04; letter-spacing: -.068em; text-wrap: balance; }
h1 em { color: var(--rust); font-weight: 400; }
.lead { margin: 1rem auto 1.25rem; max-width: 49ch; font-size: 1.08rem; line-height: 1.5; text-wrap: pretty; }
.button { display: inline-flex; min-height: 44px; padding: .68rem 1.3rem; align-items: center; gap: .9rem; color: white; background: var(--green); text-decoration: none; font-weight: 600; font-size: .9rem; border-radius: 3px; }
.button:hover { background: #395e49; }
.button span { position: relative; display: inline-block; width: .65rem; height: .8rem; }
.button span::before, .button span::after { content: ""; position: absolute; }
.button span::before { left: 50%; top: 0; height: .7rem; border-left: 1px solid currentColor; }
.button span::after { left: 50%; bottom: .1rem; width: .35rem; height: .35rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateX(-45%) rotate(45deg); }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: clamp(260px, 31vw, 470px); object-fit: cover; object-position: 50% 49%; border-radius: 120px 120px 2px 2px; background: var(--sage); }
.photo figcaption { margin-top: .5rem; text-align: right; font-size: .77rem; letter-spacing: .075em; }
.reading-room, .estimate { padding-block: clamp(3.4rem, 6vw, 6.3rem); display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(2rem, 6vw, 7rem); }
.section-name { margin: 0 0 .95rem; color: var(--rust); }
h2 { font-size: clamp(2.3rem, 4vw, 4.1rem); letter-spacing: -.055em; line-height: 1.08; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.25; }
.reading-room p, .estimate p, .material-notes p { max-width: 47ch; }
.questions { align-self: center; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-block: 1.1rem; font: 1.22rem/1.35 var(--display); cursor: pointer; color: var(--green); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rust); font: 1.3rem/1 var(--body); }
details[open] summary::after { content: "−"; }
details p { margin: -.15rem 2rem 1.35rem 0; }
.materials { padding-block: clamp(3rem, 6vw, 5.3rem); background: var(--sage); }
.material-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4.5vw, 5rem); margin-top: 2.2rem; }
.material-notes > div { border-top: 1px solid #929e8c; padding-top: 1.1rem; }
.material-notes p { margin: .6rem 0 0; }
.estimate ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); align-self: center; }
.estimate li { position: relative; padding: .72rem 0 .72rem 1.5rem; border-bottom: 1px solid var(--line); }
.estimate li::before { content: ""; position: absolute; top: 1.23rem; left: .1rem; width: 7px; height: 7px; border: 1px solid var(--rust); border-radius: 50%; }
footer { background: var(--green); color: var(--paper); }
.footer-inner { display: flex; gap: .8rem 2rem; flex-wrap: wrap; align-items: center; padding-block: 1.6rem; }
.footer-inner > span { font: 1.15rem var(--display); }
.footer-inner p { margin: 0 auto 0 0; font-size: .82rem; }
.footer-inner a:hover { color: white; }
.footer-inner a:focus-visible { outline-color: #f7ce8f; }

@media (max-width: 700px) {
  .wrap { width: min(90%, 1250px); }
  .masthead { min-height: auto; padding-block: 1.2rem .5rem; flex-direction: column; align-items: stretch; gap: .6rem; }
  .wordmark { align-self: flex-start; font-size: 1.45rem; }
  nav { gap: .3rem 1.12rem; flex-wrap: wrap; }
  nav a { font-size: .82rem; min-height: 40px; }
  nav .nav-estimate { border-bottom: none; }
  .intro { padding-block: 2.5rem 1.65rem; }
  .dateline { font-size: .66rem; letter-spacing: .09em; }
  .lead { font-size: 1rem; }
  .photo img { height: clamp(230px, 54vw, 310px); border-radius: 52px 52px 2px 2px; }
  .photo figcaption { font-size: .75rem; }
  .reading-room, .estimate, .material-notes { grid-template-columns: 1fr; gap: 1.35rem; }
  .reading-room h2 br { display: none; }
  .reading-room > div > p:last-child, .estimate > div > p:last-child { margin-bottom: 0; }
  .material-notes { margin-top: 1.5rem; }
}
