:root {
  --ink: #111a1a;
  --forest: #133f3b;
  --teal: #1b5a54;
  --mint: #dcebe7;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --orange: #ee6b2f;
  --line: #c8d2ce;
  --muted: #61706c;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 36, 33, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, input, select { font: inherit; }

.site-header {
  min-height: 84px;
  padding: 16px clamp(20px, 4vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid rgba(19, 63, 59, .12);
  background: rgba(255, 253, 248, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.dark-header { background: rgba(17, 26, 26, .96); color: var(--white); border-color: rgba(255,255,255,.12); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; letter-spacing: .04em; }
.brand strong { display: block; font-size: 1.08rem; line-height: 1; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .62rem; letter-spacing: .25em; }
.dark-header .brand small { color: #acc7c2; }
.brand-mark { width: 43px; height: 33px; display: block; position: relative; overflow: hidden; }
.brand-mark::before, .brand-mark::after, .brand-mark span {
  content: "";
  position: absolute;
  transform: rotate(-45deg);
  border-top: 6px solid var(--orange);
  width: 36px;
  height: 36px;
  top: 8px;
}
.brand-mark::before { left: 1px; }
.brand-mark::after { left: 13px; border-color: currentColor; }
.brand-mark span { left: -7px; top: 16px; width: 29px; border-width: 3px; border-color: currentColor; }
nav { justify-self: center; display: flex; gap: clamp(16px, 2.4vw, 34px); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, nav a[aria-current="page"] { color: var(--orange); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(238,107,47,.25); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .87rem; }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.text-link { font-weight: 850; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.text-link span { color: var(--orange); }
.eyebrow { margin: 0 0 16px; color: var(--orange); font-size: .76rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }

.hero {
  min-height: calc(100vh - 84px);
  padding: clamp(56px, 9vw, 125px) clamp(20px, 7vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(238,107,47,.14), transparent 26%),
    linear-gradient(120deg, var(--paper) 0 62%, var(--mint) 62% 100%);
}
.hero h1, .catalog-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: .88;
  letter-spacing: -.07em;
  max-width: 880px;
}
.lede { max-width: 690px; margin: 30px 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.38rem); }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 38px 0 0; padding: 0; list-style: none; font-size: .87rem; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--teal); }
.hero-visual { position: relative; min-height: 500px; }
.division-card {
  position: absolute;
  width: min(420px, 88%);
  aspect-ratio: 4 / 3;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}
.division-card::before { content:""; position:absolute; inset:0; background: linear-gradient(25deg, rgba(0,0,0,.78), rgba(0,0,0,.03)); }
.division-card > * { position: relative; z-index: 1; }
.division-card p { margin: 0 0 4px; color: #ffd0bb; font-weight: 900; letter-spacing: .18em; }
.division-card h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: .95; }
.division-card span { margin-top: 12px; color: rgba(255,255,255,.8); }
.homes-card { top: 0; right: 0; transform: rotate(3deg); background: linear-gradient(145deg, #7e9a8f, #183b38); }
.materials-card { bottom: 0; left: 0; transform: rotate(-4deg); background: linear-gradient(145deg, #343e3d, #0d1414); }
.materials-card::after { content:""; position:absolute; width:250px; height:250px; border:26px solid var(--orange); transform:rotate(45deg); top:-130px; right:-70px; }

.split-section {
  padding: clamp(70px, 10vw, 140px) clamp(20px, 7vw, 120px);
  display: grid;
  grid-template-columns: 70px minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: center;
}
.section-number { align-self: start; color: var(--orange); font-size: .8rem; font-weight: 900; }
.split-section h2, .catalog-intro h2, .evidence-section h2, .contact-section h2 {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.split-section p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 1.12rem; }
.feature-panel { min-height: 420px; border-radius: 6px; background: var(--cream); position: relative; overflow: hidden; }
.house-lines .sun { position:absolute; width:150px; height:150px; border-radius:50%; background:var(--orange); top:55px; right:80px; }
.roof-line { position:absolute; width:390px; height:390px; border-top: 24px solid var(--teal); transform:rotate(-45deg); bottom:-202px; }
.roof-line.one { left:80px; }
.roof-line.two { left:180px; border-color:var(--ink); bottom:-242px; }
.base-line { position:absolute; left:90px; right:70px; bottom:70px; height:18px; background:var(--ink); }

.catalog-intro { padding: clamp(70px, 9vw, 125px) clamp(20px, 7vw, 120px); color: var(--white); background: var(--forest); }
.catalog-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:58px; }
.catalog-heading h2 { max-width:900px; }
.category-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.18); border-left:1px solid rgba(255,255,255,.18); }
.category-grid a { min-height:210px; padding:28px; display:flex; flex-direction:column; text-decoration:none; border-right:1px solid rgba(255,255,255,.18); border-bottom:1px solid rgba(255,255,255,.18); transition:background .2s ease; }
.category-grid a:hover { background:rgba(255,255,255,.08); }
.category-grid span { color:#9fc7c0; font-size:.72rem; }
.category-grid strong { margin-top:auto; font-size:1.35rem; }
.category-grid small { margin-top:8px; color:rgba(255,255,255,.64); }
.evidence-section { padding:clamp(70px,10vw,140px) clamp(20px,7vw,120px); display:grid; grid-template-columns:1fr 1fr; gap:clamp(35px,7vw,110px); background:var(--mint); }
.evidence-copy { align-self:end; font-size:1.14rem; color:#425450; }
.contact-section { padding:clamp(75px,11vw,160px) 20px; text-align:center; }
.contact-section h2 { max-width:900px; margin-inline:auto; }
.contact-section > p:not(.eyebrow) { max-width:650px; margin:0 auto 32px; color:var(--muted); }
.actions-center { justify-content:center; }
footer { padding:34px clamp(20px,7vw,120px); background:var(--ink); color:var(--white); display:flex; align-items:center; justify-content:space-between; gap:25px; flex-wrap:wrap; }
.footer-brand small, .prototype-note { color:#9cb0ac; }
.prototype-note { font-size:.78rem; }

.catalog-page { background:#f4f6f4; }
.catalog-hero { padding:clamp(65px,8vw,110px) clamp(20px,7vw,120px) 65px; color:var(--white); background:var(--ink); }
.catalog-hero h1 { font-size:clamp(3.5rem,8vw,7.4rem); }
.catalog-hero > p:not(.eyebrow):not(.price-date) { max-width:740px; margin:24px 0 34px; color:#c1d0cc; font-size:1.12rem; }
.catalog-controls { max-width:1000px; display:grid; grid-template-columns:2fr 1fr; gap:16px; }
.catalog-controls label { display:block; }
.catalog-controls label span { display:block; margin:0 0 8px; color:#b8cbc6; font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.catalog-controls input, .catalog-controls select { width:100%; min-height:56px; padding:0 18px; color:var(--ink); background:var(--white); border:0; border-radius:4px; }
.price-date { margin:18px 0 0; color:#8facaa; font-size:.78rem; }
.catalog-results { padding:42px clamp(20px,7vw,120px) 100px; }
.results-bar { margin-bottom:24px; display:flex; align-items:center; justify-content:space-between; }
.results-bar p { font-weight:800; }
.results-bar button { padding:8px 0; background:transparent; border:0; color:var(--teal); font-weight:800; cursor:pointer; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.product-card { min-height:330px; padding:26px; display:flex; flex-direction:column; background:var(--white); border:1px solid #dde4e1; border-radius:6px; box-shadow:0 10px 30px rgba(22,47,43,.05); }
.product-topline { display:flex; justify-content:space-between; gap:10px; align-items:start; }
.product-category { margin:0; color:var(--teal); font-size:.69rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.product-swatch { width:46px; height:46px; flex:none; border-radius:50%; border:1px solid rgba(0,0,0,.12); background:var(--swatch, var(--mint)); }
.product-card h2 { margin:28px 0 6px; font-size:1.45rem; line-height:1.1; }
.sku { margin:0; color:var(--muted); font-size:.78rem; }
.product-detail { margin:18px 0 0; color:#52625e; font-size:.9rem; }
.product-price { margin:auto 0 18px; padding-top:28px; font-size:1.23rem; font-weight:900; }
.product-price small { display:block; color:var(--muted); font-size:.68rem; font-weight:600; }
.product-card .button { width:100%; min-height:44px; font-size:.84rem; }
.empty-state { padding:70px 20px; text-align:center; background:var(--white); }

@media (max-width: 980px) {
  .site-header { grid-template-columns:auto auto; }
  .site-header nav { display:none; }
  .hero { grid-template-columns:1fr; background:linear-gradient(180deg,var(--paper) 0 65%,var(--mint) 65%); }
  .hero-visual { min-height:560px; }
  .split-section { grid-template-columns:50px 1fr; }
  .feature-panel { grid-column:1 / -1; }
  .category-grid, .product-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px) {
  .site-header { min-height:72px; padding:13px 18px; gap:12px; }
  .brand-mark { width:36px; }
  .brand strong { font-size:.92rem; }
  .button-small { min-height:38px; padding-inline:13px; font-size:.76rem; }
  .hero { min-height:auto; padding-top:68px; }
  .hero h1 { font-size:clamp(3rem,17vw,5rem); }
  .hero-visual { min-height:460px; }
  .division-card { padding:26px; }
  .split-section { grid-template-columns:1fr; }
  .section-number { display:none; }
  .feature-panel { min-height:320px; }
  .catalog-heading { display:block; }
  .catalog-heading .button { margin-top:25px; }
  .category-grid, .product-grid, .evidence-section, .catalog-controls { grid-template-columns:1fr; }
  .category-grid a { min-height:165px; }
  footer { align-items:flex-start; flex-direction:column; }
}
