:root {
  color-scheme: light;
  --paper: #f8f8f3;
  --white: #fffefb;
  --ink: #1d2926;
  --muted: #52615a;
  --line: #d4dad3;
  --accent: #a84127;
  --accent-dark: #80311d;
  --soft: #ecf0eb;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font: 16px/1.5 "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(1312px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 12px; left: 12px; z-index: 1; background: var(--white); padding: 12px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.topbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; font-size: clamp(20px, 2.03vw, 29px); font-weight: 700; letter-spacing: -.058em; line-height: 1; }
.wordmark span { color: var(--accent); }
.wordmark i { width: 17px; height: 17px; background: linear-gradient(135deg, var(--accent) 52%, transparent 52%); border: 1px solid var(--accent); margin-right: 8px; }
.topbar nav, .site-footer nav { display: flex; align-items: center; gap: clamp(15px, 2.8vw, 36px); font-size: .85rem; font-weight: 600; }
.topbar nav a, .site-footer nav a { text-decoration: none; }
.topbar nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 47px;
  padding: 9px 14px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: white;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button.compact { min-height: 38px; font-size: .82rem; }
.quiet-link { display: inline-flex; align-items: center; gap: 7px; font-size: .87rem; font-weight: 680; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.quiet-link:hover { color: var(--accent); }
.buttons { display: flex; align-items: center; gap: 13px 17px; flex-wrap: wrap; margin-top: 25px; }

.kicker { font: 500 .69rem/1.4 var(--mono); letter-spacing: .082em; color: var(--accent); margin-bottom: 13px; }
.lede { max-width: 49ch; font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.56; color: var(--muted); }
.fine-print, .hero-note { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.fine-print { margin-top: 14px; }
h2 { font-size: clamp(32px, 4.25vw, 56px); font-weight: 660; line-height: 1.06; letter-spacing: -.039em; word-spacing: .017em; text-wrap: balance; }
h3 { font-size: clamp(18px, 1.84vw, 25px); line-height: 1.17; letter-spacing: -.03em; }

.hero-band { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(28px, 4.1vw, 55px); padding-block: clamp(30px, 4.6vw, 67px); }
.hero h1 { font-size: clamp(53px, 6.2vw, 89px); line-height: 1; font-weight: 665; letter-spacing: -.047em; word-spacing: .02em; text-wrap: balance; }
.hero .lede { margin-top: 22px; max-width: 37ch; }
.hero-note { margin-top: 18px; }
.demo-view { min-width: 0; border: 1px solid #acbab3; background: var(--white); box-shadow: 0 12px 28px #24413714; }
.demo-header, .demo-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; }
.demo-header { border-bottom: 1px solid var(--line); }
.demo-header strong { font-size: .92rem; }
.demo-header span { color: var(--muted); font: 500 .68rem/1.4 var(--mono); white-space: nowrap; }
.demo-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #bdc8c0; }
.demo-tabs button { min-width: 0; min-height: 42px; border: 0; border-right: 1px solid var(--line); border-bottom: 2px solid transparent; background: var(--white); color: var(--muted); padding: 5px 4px; cursor: pointer; font-size: .76rem; font-weight: 650; }
.demo-tabs button:last-child { border-right: 0; }
.demo-tabs button:hover { background: var(--soft); }
.demo-tabs button[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--ink); background: #f2f4ef; }
.demo-tabs button:focus-visible { position: relative; z-index: 1; outline-offset: -4px; }
.demo-image-link { display: block; cursor: zoom-in; }
#demo-image { width: 100%; height: auto; aspect-ratio: 1400 / 826; object-fit: contain; background: #edf0f1; }
.demo-footer { align-items: start; border-top: 1px solid var(--line); min-height: 59px; font-size: .77rem; color: var(--muted); }
.demo-footer a { font-weight: 680; color: var(--ink); white-space: nowrap; text-underline-offset: 3px; }

.construction, .starters, .package, .suppliers, .journal-promo { padding-block: clamp(45px, 6.2vw, 90px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-head .quiet-link { white-space: nowrap; }
.construction-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); gap: clamp(23px, 5.1vw, 68px); align-items: center; }
.manual-preview { background: #edf0ed; border: 1px solid var(--line); padding: 14px 14px 0; }
.manual-preview img { width: 100%; height: auto; }
.manual-preview figcaption { font-size: .77rem; color: var(--muted); padding-block: 10px; }
.feature-lines > div { border-top: 1px solid var(--line); padding-block: 15px; }
.feature-lines > div:last-child { border-bottom: 1px solid var(--line); }
.feature-lines dt { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.feature-lines dd { color: var(--muted); font-size: .91rem; line-height: 1.5; margin-top: 4px; max-width: 45ch; }

.estimate-band { padding-block: clamp(42px, 5.5vw, 75px); background: var(--soft); border-block: 1px solid var(--line); }
.estimate-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(25px, 5.1vw, 67px); }
.estimate-grid .lede, .package .lede { margin-top: 14px; }
.estimate-grid .fine-print { max-width: 55ch; }
.estimate-sheet { min-width: 0; border: 1px solid #b9c3ba; background: var(--white); }
.estimate-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.estimate-title h3 { font-size: .99rem; letter-spacing: -.015em; }
.estimate-title span { font: 500 .67rem/1.4 var(--mono); color: var(--muted); }
.estimate-sheet table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.estimate-sheet th, .estimate-sheet td { border-bottom: 1px solid var(--line); padding: 8px 14px; text-align: left; }
.estimate-sheet thead th { color: var(--muted); font: 500 .68rem/1.4 var(--mono); }
.estimate-sheet th:not(:first-child), .estimate-sheet td:not(:first-child) { text-align: right; white-space: nowrap; }
.estimate-sheet td:not(:first-child) { font-family: var(--mono); font-size: .73rem; }
.estimate-sheet tfoot { font-weight: 680; background: #f2f5f0; }
.estimate-sheet a { text-underline-offset: 3px; }
.estimate-sheet .fine-print { padding: 0 14px 12px; margin-top: 9px; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.project-card:hover { border-color: var(--accent); }
.project-card img { width: 100%; height: auto; aspect-ratio: 720 / 430; object-fit: cover; background: var(--soft); border-bottom: 1px solid var(--line); }
.project-copy { padding: 15px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.project-copy p { font-size: .88rem; color: var(--muted); }
.project-copy .project-meta { font: 500 .69rem/1.45 var(--mono); }
.project-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 8px; padding-top: 9px; border-top: 1px solid var(--line); }
.project-bottom span { display: block; color: var(--muted); font-size: .73rem; }
.project-bottom b { font: 600 .92rem/1.3 var(--mono); }
.project-bottom strong { color: var(--accent); font-size: 1.13rem; }

.package, .suppliers, .journal-promo { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.2fr; gap: 27px; align-items: start; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.price-grid article { display: flex; flex-direction: column; background: var(--white); padding: 17px; border: 1px solid var(--line); }
.price-grid article+article { background: var(--soft); border-color: #aab9ad; }
.price-grid h3 { font-size: 1.18rem; }
.price { font: 600 clamp(25px, 3.2vw, 41px)/1 var(--mono); letter-spacing: -.055em; margin-top: 8px; }
.price small { font: 600 .75rem/1.4 "Instrument Sans", system-ui, sans-serif; letter-spacing: 0; }
.price-grid ul { font-size: .85rem; padding-left: 16px; }
.price-grid a { margin-top: auto; font-size: .85rem; font-weight: 680; text-underline-offset: 4px; }
.suppliers { align-items: end; }
.suppliers > p { color: var(--muted); max-width: 52ch; }
.supplier-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.supplier-links a { text-decoration: none; font-size: 1.13rem; font-weight: 680; padding: 12px 15px; }
.supplier-links a+a { border-left: 1px solid var(--line); }
.supplier-links a:hover { background: var(--soft); }
.supplier-links span { display: block; font-size: .77rem; color: var(--muted); font-weight: 500; }
.journal-links > a { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; text-decoration: none; }
.journal-links > a:last-child { border-bottom: 1px solid var(--line); }
.journal-links > a:hover { color: var(--accent); }
.journal-links span { color: var(--muted); font: 500 .71rem/1.3 var(--mono); }
.journal-links p { color: var(--muted); margin-top: 6px; }
.journal-links h3 { margin-top: 4px; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer > .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px; padding-block: 23px; }
.site-footer > .wrap > span { font: 500 .72rem/1.4 var(--mono); color: var(--muted); }
.page-intro { max-width: 800px; padding-top: clamp(47px, 7vw, 89px); padding-bottom: 32px; }
.page-intro h1, .article h1 { font-size: clamp(41px, 6.4vw, 81px); line-height: .98; font-weight: 680; letter-spacing: -.057em; text-wrap: balance; }
.page-intro .lede, .article .lede { margin-top: 16px; }
.inner-page { min-height: 60vh; padding-bottom: 63px; }
.article { max-width: 760px; padding-block: 49px 30px; }
.article h2 { font-size: clamp(24px, 3.15vw, 39px); margin: 30px 0 8px; text-wrap: pretty; }
.article p, .article li { line-height: 1.65; }
.article p+p { margin-top: 11px; }
.article ul { padding-left: 22px; }
.article a:not(.button) { text-underline-offset: 4px; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 23px; }
  .hero h1 { font-size: clamp(43px, 6.4vw, 64px); }
  .demo-header, .demo-footer { padding: 9px 11px; }
  .section-head { align-items: start; }
  .package { grid-template-columns: 1fr; }
  .estimate-grid { gap: 24px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { min-height: 0; flex-wrap: wrap; padding-block: 13px; gap: 11px; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 9px; }
  .topbar .button { min-height: 34px; padding: 7px 9px; gap: 6px; }
  .hero, .construction-grid, .estimate-grid, .project-grid, .suppliers, .journal-promo { grid-template-columns: 1fr; }
  .hero { padding-block: 27px 33px; }
  .hero h1 { font-size: clamp(42px, 11vw, 65px); }
  .hero .lede { margin-top: 13px; }
  .buttons { margin-top: 14px; }
  .hero-note { margin-top: 12px; }
  .demo-footer { min-height: 60px; gap: 7px; }
  .demo-tabs button { font-size: .69rem; }
  .section-head { flex-direction: column; gap: 10px; }
  .supplier-links { grid-template-columns: 1fr 1fr; }
  .supplier-links a:nth-child(3) { border-left: 0; }
  .supplier-links a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .price-grid article { padding: 12px; }
  .price-grid ul { font-size: .78rem; }
  .site-footer > .wrap { align-items: flex-start; flex-direction: column; }
}
