@font-face { font-family: 'Newel Serif'; src: url('./assets/OhwSubsetSerif-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Newel Sans'; src: url('./assets/AdwaitaSans-Regular.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --spruce: #1b433d; --spruce-deep: #143430; --sand: #eadfcb; --stone: #efefeb; --ink: #1d2422; --wood: #6f4d2e; --rule: #8b948f; --control: #5c6662; --serif: 'Newel Serif', Georgia, serif; --sans: 'Newel Sans', Arial, sans-serif; }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--stone); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
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(--serif); font-weight: 700; line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
figure { margin: 0; }
svg { display: block; max-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: 4rem 1rem; }
.lead { font-size: 1.2rem; max-width: 42rem; }
.eyebrow { margin-bottom: 1rem; font: 600 .8rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.small { font-size: .875rem; }
.note { margin-top: 2rem; padding-left: 1rem; border-left: 4px solid var(--spruce); max-width: 44rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; padding: 1rem; color: var(--ink); background: var(--sand); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--spruce); color: var(--sand); }
.header-inner { width: min(calc(100% - 40px), 1160px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.2rem; }
.brand { font: 700 2rem/1 var(--serif); text-decoration: none; }
.brand span { display: block; margin-top: .45rem; font: 500 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
#navigation { display: flex; border: 1px solid var(--sand); border-radius: 4px; overflow: hidden; }
#navigation a { display: flex; align-items: center; min-height: 46px; padding: .4rem 1rem; text-decoration: none; font-size: .95rem; }
#navigation a + a { border-left: 1px solid rgb(234 223 203 / .45); }
#navigation a:hover { text-decoration: underline; }
#navigation a[aria-current] { background: var(--sand); color: var(--spruce); font-weight: 600; }
#navigation a:focus-visible { outline-offset: -5px; }
.menu-toggle { display: none; align-items: center; gap: .6rem; min-height: 46px; padding: .5rem 1rem; border: 0; border-radius: 4px; background: var(--sand); color: var(--spruce); font-weight: 600; }

.arrow, .disclosure, .tick { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link { display: inline-flex; align-items: center; gap: .9rem; min-height: 48px; max-width: 100%; font-weight: 600; }
.button { padding: .9rem 1.3rem; border: 0; border-radius: 4px; background: var(--sand); color: var(--spruce); text-decoration: none; }
.button:hover { text-decoration: underline; }
.text-link { padding-block: .5rem; }
.closing .button:focus-visible { outline-color: var(--sand); }
.form-panel .button:focus-visible { outline-color: var(--spruce); }

.landing { display: grid; grid-template-columns: 1fr 1fr; background: var(--spruce); color: var(--sand); }
.landing-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem); min-width: 0; }
.landing-text h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); }
.landing-drawing { background: var(--sand); display: flex; align-items: flex-end; justify-content: center; padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) 0; min-width: 0; }
.stair-drawing { width: 100%; max-width: 560px; }

.flight { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; }
.flight li { background: #fff; border-top: 6px solid var(--spruce); padding: 1.5rem; min-width: 0; }
.flight li:nth-child(1) { margin-top: 8rem; }
.flight li:nth-child(2) { margin-top: 4rem; }
.step-number { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 1rem; border-radius: 50%; background: var(--spruce); color: var(--sand); font-weight: 700; }

.price-band { background: var(--sand); padding-block: clamp(3rem, 6vw, 5rem); }
.price-band-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.price-band-layout > * { min-width: 0; }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; border-bottom: 2px dotted var(--wood); }
.price-list dt { font-weight: 600; }
.price-list dd { margin: 0; font: 700 1.3rem/1.3 var(--serif); white-space: nowrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > * { min-width: 0; }

.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.kinds article { background: #fff; padding: clamp(1.25rem, 3vw, 2.5rem); border-left: 6px solid var(--spruce); min-width: 0; }
.kind-price { font: 700 1.4rem/1.3 var(--serif); color: var(--spruce); }
.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; padding-block: .35rem; }
.checks .tick { color: var(--spruce); margin-top: .15rem; stroke-width: 2.4; }
.price-table { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.price-row { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 1.5rem; align-items: baseline; padding-block: 1.2rem; border-bottom: 1px solid var(--rule); }
.price-row > * { margin: 0; min-width: 0; }
.price-row h3 { font-size: 1.2rem; }
.row-price { font: 700 1.2rem/1.3 var(--serif); text-align: right; white-space: nowrap; }

.questions { max-width: 860px; }
details { border-top: 1px solid var(--rule); padding-block: .8rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; list-style: none; font-weight: 600; font-size: 1.1rem; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: .6rem; max-width: 46rem; }

.visit-steps { list-style: none; margin: 0; padding: 0; counter-reset: visit; }
.visit-steps li { counter-increment: visit; position: relative; padding: 0 0 1.6rem 3.4rem; border-left: 3px solid var(--spruce); margin-left: 1.1rem; }
.visit-steps li:last-child { border-left-color: transparent; }
.visit-steps li::before { content: counter(visit); position: absolute; left: -1.25rem; top: 0; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--spruce); color: var(--sand); font-weight: 700; }
.visit-steps h2 { font-size: 1.35rem; margin-bottom: .4rem; padding-top: .2rem; }
.tape { position: sticky; top: 2rem; }
.tape svg { width: 100%; }
figcaption { margin-top: .75rem; font-size: .9rem; }
.fitting-day { background: var(--spruce); color: var(--sand); padding-block: clamp(2.5rem, 5vw, 4rem); }
.fitting-day p { font-size: 1.15rem; }
.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
.calendar { width: 100%; border-collapse: collapse; min-width: 0; }
.calendar caption { text-align: left; font-weight: 600; padding-bottom: .75rem; }
.calendar th, .calendar td { text-align: left; padding: .75rem .9rem .75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.calendar thead th { border-bottom: 2px solid var(--ink); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.calendar tbody th { font-weight: 600; white-space: nowrap; }

.facts { margin: 0; background: var(--sand); padding: 1.5rem; }
.facts div { padding-block: .8rem; border-bottom: 1px solid var(--wood); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; font: 700 1.3rem/1.3 var(--serif); }
.prose { max-width: 720px; }
.prose section + section { margin-top: 2.5rem; }
.prose > .small { margin-top: 3rem; }

.closing { background: var(--spruce-deep); color: var(--sand); padding-block: 3.5rem; }
.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; }

.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-layout > * { min-width: 0; }
.form-panel { background: #fff; border-top: 6px solid var(--spruce); padding: clamp(1.1rem, 3vw, 2.5rem); }
.form-panel .button { background: var(--spruce); color: var(--sand); }
.demo-note { margin-top: 2rem; padding: 1rem; background: var(--sand); font-size: .95rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 1rem; font: 700 1.8rem/1.2 var(--serif); }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; padding: .7rem; border: 1px solid var(--control); border-radius: 4px; background: var(--stone); color: var(--ink); font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .4rem; }
.confirmation h2 { font-size: 2rem; }

.site-footer { background: var(--ink); color: var(--stone); padding-block: 2.5rem; font-size: .9rem; }
.footer-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; }
.footer-name { font: 700 1.6rem/1.2 var(--serif); }
.site-footer a { display: inline-block; padding-block: .7rem; }

@media (max-width: 1000px) {
  .landing, .price-band-layout, .form-layout { grid-template-columns: 1fr; }
  .landing-drawing { padding-top: 2rem; }
  .stair-drawing { max-width: 460px; }
  .closing-layout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  #navigation { flex-basis: 100%; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  #navigation { flex-direction: column; border-radius: 4px; }
  #navigation a + a { border-left: 0; border-top: 1px solid rgb(234 223 203 / .45); }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .flight, .kinds, .split, .footer-layout { grid-template-columns: 1fr; }
  .flight li:nth-child(1), .flight li:nth-child(2) { margin-top: 0; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row p:not(.row-price) { grid-column: 1 / -1; grid-row: 2; }
  .tape { position: static; }
  .brand { font-size: 1.7rem; }
}
@media (max-width: 420px) {
  .header-inner { gap: 1rem; }
  .brand span { font-size: .66rem; letter-spacing: .06em; }
  .calendar tbody th { white-space: normal; }
  .price-list div { flex-direction: column; gap: .2rem; }
  .price-row { grid-template-columns: 1fr; }
  .row-price { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
