@font-face { font-family: 'Gnarl Display'; src: url('./assets/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Gnarl Text'; src: url('./assets/newsreader-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --fog: #e7eae0; --bark: #2b1f17; --heart: #6b4128; --sap: #e9cf9f; --saw: #b8431a; --sage: #56624a; --pale: #fbf4e6; --ink: var(--bark); --rule: #b8bda9; --display: 'Gnarl Display', 'Trebuchet MS', sans-serif; --body: 'Gnarl Text', Georgia, serif; }

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--fog); }
body { margin: 0; font: 1.125rem/1.6 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--saw); outline-offset: 3px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: 800; line-height: 1.04; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.2rem, 7.4vw, 6.4rem); text-transform: uppercase; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
figure { margin: 0; }
svg { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: 3.5rem 1rem; }
.page-intro h1 { font-size: clamp(2rem, 5.6vw, 4.4rem); }
.page-intro .lead { max-width: 46rem; }
.lead { font-size: 1.25rem; }
.eyebrow { margin-bottom: 1rem; font: 800 .8rem/1.5 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--heart); }
.small { font-size: .9rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; padding: 1rem; color: var(--pale); background: var(--bark); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 6px solid var(--bark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; width: min(calc(100% - 40px), 1200px); margin-inline: auto; padding-block: 1.4rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; font: 800 clamp(2rem, 4vw, 2.9rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand span { margin-top: .45rem; font: 400 1rem/1.3 var(--body); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--heart); }
#navigation { display: flex; flex-wrap: wrap; gap: .6rem .5rem; }
#navigation a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem .4rem 1.9rem; color: var(--pale); background: var(--heart); clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); font: 700 .95rem/1.2 var(--display); text-decoration: none; }
#navigation a::after { content: ""; position: absolute; left: 13px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--fog); }
#navigation a:hover { text-decoration: underline; }
#navigation a:focus-visible { outline: 3px solid var(--sap); outline-offset: -7px; }
#navigation a[aria-current] { background: var(--bark); text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem 1.1rem; border: 0; border-radius: 999px; color: var(--pale); background: var(--heart); font: 700 1rem/1 var(--display); }
.menu-lines { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.arrow, .disclosure { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; max-width: 100%; font: 800 1rem/1.3 var(--display); }
.button { padding: .85rem 1.4rem; background: var(--bark); color: var(--pale); text-decoration: none; border-radius: 4px; }
.button:hover { text-decoration: underline; }
.text-link { padding-block: .5rem; }

.yard-hero { padding-top: clamp(2rem, 5vw, 4rem); }
.hero-text h1 { max-width: 15ch; margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.hero-figure { border-block: 6px solid var(--bark); background: #cfd6c2; }
.yard-drawing { display: block; width: 100%; height: auto; }
.hero-under { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: center; padding-block: 2rem 3rem; }
.hero-under .text-link { justify-self: end; }

.tally { background: var(--sap) repeating-linear-gradient(180deg, transparent 0 22px, rgb(185 138 85 / .25) 22px 24px); border-block: 6px solid var(--bark); }
.tally h2 { padding-top: 1.5rem; color: var(--bark); }
.tally-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tally-row > div { min-width: 0; padding: .5rem 1.4rem 1.8rem; border-left: 4px solid var(--heart); }
.tally-row > div:first-child { border-left: 0; padding-left: 0; }
.tally-row h3 { margin-bottom: .3rem; font-size: 1.35rem; }
.tally-row p { font-size: 1.05rem; }

.rings { list-style: none; counter-reset: ring; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.rings li { counter-increment: ring; min-width: 0; }
.rings li::before { content: counter(ring); display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-bottom: 1rem; border-radius: 50%; border: 5px solid var(--heart); background: repeating-radial-gradient(circle, var(--sap) 0 7px, #d9b783 7px 9px); font: 800 1.9rem/1 var(--display); color: var(--bark); }

.plank { background: var(--heart); color: var(--pale); --ink: var(--pale); }
.plank .eyebrow { color: var(--sap); }
.plank-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem 4rem; align-items: start; }
.plank-layout h2 { margin: 0; }
.bf-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.board-foot, .slab-drawing { display: block; width: 100%; height: auto; border: 5px solid var(--bark); }
.bf-labels { font: 800 17px var(--display); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.values li { min-width: 0; border-top: 4px solid var(--sap); padding-top: 1rem; }

.closing { padding-block: 3.5rem; border-top: 6px solid var(--bark); background: var(--fog); }
.closing-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing-layout h2 { margin-bottom: .5rem; }
.closing-layout .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; background: var(--bark); color: var(--pale); font-size: .95rem; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.footer-name { margin-bottom: .5rem; font: 800 1.3rem/1.2 var(--display); text-transform: uppercase; }
.site-footer a { display: inline-block; padding-block: .7rem; }
.site-footer :focus-visible { outline-color: var(--sap); }

.price-list { margin: 0; padding: 0; border-top: 4px solid var(--bark); }
.price-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1.5rem; padding-block: 1.1rem; border-bottom: 2px solid var(--rule); }
.price-list dt { font: 800 1.15rem/1.3 var(--display); }
.price-list dd { margin: 0; text-align: right; font: 800 1.05rem/1.3 var(--display); color: var(--heart); }
.price-list dd.note { grid-column: 1 / -1; text-align: left; font: 1rem/1.55 var(--body); color: var(--ink); }
.questions { max-width: 860px; }
details { border-top: 2px solid var(--rule); padding-block: .8rem; }
details:last-of-type { border-bottom: 2px solid var(--rule); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; list-style: none; font: 800 1.08rem/1.35 var(--display); }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: .6rem; max-width: 48rem; }
.calendar { margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--bark); }
.calendar li { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: .3rem 2rem; padding-block: 1.1rem; border-bottom: 2px solid var(--rule); }
.calendar time { font: 800 1rem/1.4 var(--display); color: var(--heart); }
.calendar h3 { margin-bottom: .3rem; }

.form-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 2rem clamp(2rem, 5vw, 5rem); }
.form-panel { padding: clamp(1.2rem, 3vw, 2.5rem); background: var(--pale); border: 5px solid var(--bark); }
.demo-note { border-left: 5px solid var(--saw); padding-left: 1rem; margin-top: 2rem; font-size: 1rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 1rem; font: 800 1.7rem/1.2 var(--display); }
.field { margin-bottom: 1.2rem; }
label { display: block; margin-bottom: .4rem; font: 700 1rem/1.4 var(--display); }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: .65rem; border: 2px solid var(--bark); border-radius: 4px; background: #fff; color: var(--bark); font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .4rem; }
.confirmation h2 { font-size: 1.9rem; }
.prose { max-width: 760px; }
.prose section + section { margin-top: 2.5rem; }
.prose > .small { margin-top: 3rem; }

@media (max-width: 1000px) {
  .tally-row { grid-template-columns: 1fr 1fr; }
  .tally-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .rings, .values { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  #navigation { flex-basis: 100%; flex-direction: column; }
  #navigation a { width: 100%; }
  .hero-under, .plank-layout, .bf-layout, .about-layout, .form-layout, .footer-layout { grid-template-columns: 1fr; }
  .hero-under .text-link { justify-self: start; }
  .closing-layout { flex-direction: column; align-items: flex-start; }
  .calendar li { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tally-row { grid-template-columns: 1fr; }
  .tally-row > div { border-left: 0; padding-left: 0; border-top: 3px solid var(--heart); padding-top: 1rem; }
  .tally-row > div:first-child { border-top: 0; }
  .price-list > div { grid-template-columns: 1fr; }
  .price-list dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.plank :focus-visible { outline-color: var(--sap); }
html:not(.has-menu) .menu-toggle { display: none !important; }
