:root {
  --chalk: #eeece7;
  --chalk-2: #e4e1d8;
  --paper: #f7f6f2;
  --plaster: #dcd6c8;
  --sage: #6f8474;
  --sage-deep: #4a5d52;
  --sage-soft: #c5d1c6;
  --clay: #c45c3e;
  --clay-deep: #9a3f28;
  --clay-soft: #e3b09a;
  --charcoal: #2a2926;
  --ink: #2f2d29;
  --muted: #6a6760;
  --line: rgba(42, 41, 38, .16);
  --mist: #c8ccc7;
  --putty: #b4ad9c;
  --slate: #6d7170;
  --grain: #8a8f72;
  --pad: clamp(22px, 4.4vw, 72px);
  --header: 78px;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(42, 41, 38, .03) 47px 48px),
    var(--chalk);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--sage); color: white; }
[hidden] { display: none !important; }
section { scroll-margin-top: 92px; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 14px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--charcoal);
  color: white;
  padding: 10px 14px;
  font-size: 13px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: 18px;
  padding: 10px var(--pad);
  background: rgba(238, 236, 231, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  grid-area: brand;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.05;
}
.brand strong { display: block; font-size: 15px; letter-spacing: .12em; }
.brand small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-rows: 11px 11px 11px;
  gap: 2px;
  padding: 1px;
}
.brand-mark i { display: block; }
.chip-a { background: var(--chalk-2); border: 1px solid var(--charcoal); }
.chip-b { background: var(--sage); }
.chip-c { background: var(--clay); }

.desktop-nav {
  grid-area: nav;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px clamp(10px, 1.2vw, 18px);
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--clay);
  transition: right .2s;
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after { right: 0; }

.header-tools { grid-area: tools; display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: flex;
  border: 1px solid var(--charcoal);
}
.lang-btn {
  border: 0;
  background: transparent;
  min-width: 42px;
  height: 38px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.lang-btn.active { background: var(--charcoal); color: var(--chalk); }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border: 1px solid var(--charcoal);
  background: var(--clay);
  color: white;
  padding: 9px 10px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-size: 18px;
  line-height: 1;
}
.menu-toggle::before { content: "☰"; }
.menu-toggle span { display: none; }
.mobile-menu {
  grid-area: menu;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  color: var(--chalk);
  padding: 8px var(--pad) 28px;
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(238, 236, 231, .15);
  text-decoration: none;
  font-size: 18px;
}

.anno {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
}
h1, h2, h3 { margin: 0 0 14px; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(2.1rem, 5vw, 4.1rem); max-width: 16ch; font-weight: 700; overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); max-width: 22ch; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 14px; max-width: 68ch; }
.lead { font-size: 1.05rem; color: #3f3c37; }
.section {
  padding: clamp(3.4rem, 7vw, 6.4rem) var(--pad);
}
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3.2rem); }
.pale { background: var(--paper); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.btn-clay { background: var(--clay); color: white; }
.btn-clay:hover { background: var(--clay-deep); }
.btn-sage { background: var(--sage-deep); color: white; }
.btn-ghost { background: transparent; border-color: var(--charcoal); }
.btn.disabled,
.btn[disabled] { opacity: .45; pointer-events: none; }
.summary-panel .btn-ghost { border-color: #eceae4; color: #eceae4; }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 4.4rem) var(--pad) clamp(3rem, 6vw, 5rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 22px 0; }
.mail-link { font-family: var(--mono); font-size: 13px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 0;
}
.hero-facts div { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.hero-facts dt, .status-strip span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
}
.hero-facts dd { margin: 6px 0 0; font-weight: 600; }

.sample-wall {
  background: var(--paper);
  border: 1px solid var(--charcoal);
  padding: 14px;
  box-shadow: 18px 18px 0 var(--sage-soft);
  max-width: 100%;
  overflow: hidden;
}
.chip-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.chip {
  position: relative;
  min-height: 58px;
  box-shadow: inset 0 -16px 0 rgba(42, 41, 38, .08);
}
.chip::after {
  content: attr(data-code);
  position: absolute;
  left: 6px;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--charcoal);
}
.chip.chalk { background: #f4f3ef; }
.chip.plaster { background: var(--plaster); }
.chip.sage { background: var(--sage); }
.chip.sage::after,
.chip.clay::after,
.chip.charcoal::after { color: white; }
.chip.clay { background: var(--clay); }
.chip.charcoal { background: var(--charcoal); }
.wall-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 150px 132px;
  gap: 8px;
  margin-top: 8px;
}
.panel {
  position: relative;
  overflow: hidden;
  color: var(--charcoal);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
}
.panel span { position: relative; z-index: 1; }
.callout {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: var(--chalk);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}
.plaster-panel {
  background:
    repeating-linear-gradient(118deg, transparent 0 13px, rgba(42, 41, 38, .05) 13px 14px),
    linear-gradient(#efebe3, #d8d1c3);
}
.tile-panel { background: #dfe3de; flex-direction: column; justify-content: flex-end; }
.tile-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#c3c8c3 1px, transparent 1px),
    linear-gradient(90deg, #c3c8c3 1px, transparent 1px),
    repeating-linear-gradient(90deg, #eceeea 0 28px, #d7ddd6 28px 56px);
  background-size: 28px 28px, 28px 28px, auto;
}
.tile-grid.large { position: relative; min-height: 132px; inset: auto; }
.sage-panel { background: linear-gradient(160deg, #9aae9c, var(--sage)); color: #f4f7f4; }
.profile-panel { background: #f1efe9; flex-direction: column; justify-content: space-between; }
.joinery-svg { width: 100%; height: 58px; fill: var(--charcoal); }
.plank-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
  height: 34px;
}
.plank-row i {
  background:
    linear-gradient(90deg, rgba(42, 41, 38, .08), transparent 40%, rgba(42, 41, 38, .1)),
    linear-gradient(#9b9486, #8a8376);
}
.plank-row.tall { height: 120px; grid-template-columns: repeat(5, 1fr); margin: 0 0 14px; }
.plank-row i:nth-child(2n) { filter: brightness(.92); }
.plank-row i:nth-child(3n) { filter: brightness(1.06) saturate(.85); }
.wall-note {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  max-width: none;
}
.wall-note span:first-child {
  flex: 0 0 auto;
  font-family: var(--mono);
  color: var(--clay);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--chalk);
}
.status-strip div { padding: 18px var(--pad); border-right: 1px solid rgba(238, 236, 231, .14); }
.status-strip div:last-child { border-right: 0; }
.status-strip span { color: #b7b3aa; }
.status-strip b { display: block; margin-top: 6px; font-size: 15px; }

.scope {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  background: var(--sage-deep);
  color: #eef3ef;
}
.scope h2, .scope .anno { color: inherit; }
.scope-rail {
  font-family: var(--mono);
  font-size: 28px;
  border-right: 1px solid rgba(238, 236, 231, .2);
}

.chip-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.chip-card {
  display: grid;
  grid-template-columns: 18px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
}
.chip-card:hover { border-color: var(--charcoal); }
.chip-card .swatch { grid-row: 1 / span 3; }
.chip-card small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chip-card strong { grid-column: 2; font-size: 14px; font-weight: 600; }
.chip-card em {
  grid-column: 2;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--clay-deep);
  text-transform: uppercase;
}
.primary-chip { border-color: var(--charcoal); box-shadow: 6px 6px 0 var(--clay-soft); }
.swatch { display: block; }
.swatch.charcoal { background: var(--charcoal); }
.swatch.plaster { background: var(--plaster); }
.swatch.sage { background: var(--sage); }
.swatch.clay { background: var(--clay); }
.swatch.mist { background: var(--mist); }
.swatch.putty { background: var(--putty); }
.swatch.slate { background: var(--slate); }
.swatch.sage-deep { background: var(--sage-deep); }
.swatch.chalk { background: #f4f3ef; border: 1px solid var(--line); }
.swatch.clay-soft { background: var(--clay-soft); }
.swatch.grain { background: var(--grain); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(240px, .72fr) minmax(0, 1.15fr); }
.split.reverse .split-copy { order: 2; }
.tick-list { margin: 18px 0 0; padding: 0; list-style: none; }
.tick-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  background: var(--sage);
}
.sample-card {
  background: var(--paper);
  border: 1px solid var(--charcoal);
  padding: 18px;
}
.sample-card > span,
.paint-fan > span,
.lot-card > span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.trowel-face {
  min-height: 160px;
  background:
    repeating-linear-gradient(112deg, transparent 0 16px, rgba(42, 41, 38, .06) 16px 17px),
    linear-gradient(#f2eee6, #d6cfc0);
  margin-bottom: 14px;
}
.profiles svg { width: 100%; height: 120px; fill: var(--charcoal); }
.paint-fan {
  background: var(--paper);
  border: 1px solid var(--charcoal);
  padding: 18px;
}
.fan { position: relative; height: 170px; margin: 10px 0 16px; }
.fan i {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 54px;
  height: 148px;
  transform-origin: 50% 100%;
  border: 1px solid rgba(42, 41, 38, .25);
  box-shadow: inset 0 -22px 0 rgba(42, 41, 38, .08);
}
.fan .c1 { transform: translateX(-50%) rotate(-28deg); background: #f4f3ef; }
.fan .c2 { transform: translateX(-50%) rotate(-14deg); background: var(--plaster); }
.fan .c3 { transform: translateX(-50%) rotate(0deg); background: var(--sage-soft); }
.fan .c4 { transform: translateX(-50%) rotate(14deg); background: var(--sage); }
.fan .c5 { transform: translateX(-50%) rotate(28deg); background: var(--clay); }
.roof-shape {
  height: 140px;
  margin-bottom: 14px;
  background:
    linear-gradient(160deg, transparent 49.4%, var(--charcoal) 49.4% 50.6%, transparent 50.6%),
    linear-gradient(-160deg, transparent 49.4%, var(--charcoal) 49.4% 50.6%, transparent 50.6%),
    linear-gradient(#d7d3ca, #c4bfb4);
  clip-path: polygon(50% 8%, 96% 68%, 88% 68%, 88% 92%, 12% 92%, 12% 68%, 4% 68%);
}

.surface-board {
  display: grid;
  grid-template-columns: 1.1fr 1fr .9fr;
  gap: 14px;
}
.surface-board > div { background: var(--paper); border: 1px solid var(--line); padding: 16px; }
.three-notes, .adjacent-grid, .doc-grid, .people-grid {
  display: grid;
  gap: 14px;
}
.three-notes { grid-template-columns: repeat(3, 1fr); }
.adjacent-grid, .people-grid, .doc-grid { grid-template-columns: repeat(4, 1fr); }
.three-notes article,
.adjacent-grid article,
.doc-grid article,
.people-grid article {
  background: var(--paper);
  border-top: 4px solid var(--sage);
  padding: 18px;
}
.adjacent-grid article:first-child { border-top-color: var(--charcoal); }
.doc-grid article span,
.three-notes article b {
  font-family: var(--mono);
  color: var(--clay);
}
.adjacent-grid small { font-family: var(--mono); color: var(--muted); }

.wholesale {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .7fr);
  gap: 36px;
  align-items: start;
  background: #e7e8df;
}
.lot-card {
  background: var(--charcoal);
  color: var(--chalk);
  padding: 22px;
}
.lot-card dt { font-family: var(--mono); font-size: 10px; color: #b7b3aa; }
.lot-card dd { margin: 4px 0 14px; font-weight: 600; }
.lot-card p { color: #c9c5bc; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.compare > div { padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.good { color: var(--sage-deep); }
.avoid { color: var(--clay-deep); }

.builder {
  display: grid;
  gap: 16px;
  max-width: 860px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--charcoal);
}
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; font-weight: 600; }
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.type-grid label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--chalk);
  cursor: pointer;
  font-size: 14px;
}
.type-grid label:has(input:checked) { border-color: var(--charcoal); background: var(--sage-soft); }
.field { display: grid; gap: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--charcoal);
  background: white;
  padding: 11px 12px;
  font-weight: 400;
}
.summary-panel { margin-top: 22px; padding: 18px; background: var(--charcoal); color: var(--chalk); }
.summary-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.summary-head h3 { margin: 0; }
#spec-output {
  white-space: pre-wrap;
  background: #1f1e1c;
  color: #eceae4;
  padding: 16px;
  min-height: 160px;
  font-family: var(--mono);
  font-size: 13px;
  overflow: auto;
}
.fine { font-size: 13px; color: #c9c5bc; max-width: none; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { padding: 16px; background: var(--paper); border-top: 3px solid var(--clay); }
.steps b { font-family: var(--mono); color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.about-grid p { max-width: none; }
.compact-registry { margin: 0; }

.registry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--charcoal);
}
.registry-list div {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.registry-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.registry-list dt { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.registry-list dd { margin: 0; font-weight: 600; }
.stamp {
  margin-top: 18px;
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--clay);
  color: var(--clay-deep);
  font-family: var(--mono);
  letter-spacing: .16em;
}

.faq-list { display: grid; gap: 8px; max-width: 860px; }
details { background: var(--paper); border: 1px solid var(--line); padding: 4px 16px; }
summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
details p { padding-bottom: 10px; }

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--charcoal);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.form-status { min-height: 1.4em; color: var(--sage-deep); }
.contact-mail { margin-top: 22px; }
.contact-mail .btn { font-family: var(--sans); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px var(--pad);
  background: var(--charcoal);
  color: var(--chalk);
}
.site-footer small, .site-footer p { color: #c9c5bc; }
.site-footer a { color: white; }

@media (min-width: 1181px) {
  .menu-toggle { display: none !important; }
}

@media (max-width: 1080px) {
  .hero, .split, .split.reverse, .wholesale, .surface-board, .about-grid { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .three-notes, .adjacent-grid, .doc-grid, .people-grid, .steps, .chip-catalog { grid-template-columns: 1fr 1fr; }
  .status-strip { grid-template-columns: 1fr 1fr; }
  .status-strip div:nth-child(2) { border-right: 0; }
}

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools";
    gap: 8px 12px;
  }
  .brand small { display: none; }
  .header-tools { justify-self: end; }
}

@media (max-width: 860px) {
  .hero-facts, .type-grid, .compare, .registry-list { grid-template-columns: 1fr 1fr; }
  .registry-list { grid-template-columns: 1fr; }
  .registry-list div:nth-child(odd) { border-right: 0; }
  .wall-grid { grid-template-rows: 130px 120px; }
  h1 { max-width: none; }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools";
  }
  .header-tools { justify-self: end; justify-content: flex-end; width: auto; }
  .brand small { display: none; }
  .brand strong { font-size: 13px; letter-spacing: .08em; }
  .lang-btn { min-width: 36px; height: 36px; }
  .menu-toggle { width: 36px; height: 36px; padding: 7px 8px; }
  .three-notes, .adjacent-grid, .doc-grid, .people-grid, .steps, .status-strip, .type-grid, .hero-facts, .compare, .chip-catalog { grid-template-columns: 1fr; }
  .status-strip div { border-right: 0; border-bottom: 1px solid rgba(238, 236, 231, .14); }
  .sample-wall { box-shadow: 10px 10px 0 var(--sage-soft); }
  .scope { grid-template-columns: 1fr; }
  .scope-rail { border: 0; padding-bottom: 8px; }
}
