:root {
  --paper: #f4f1ea;
  --chalk: #f7f4ee;
  --graphite: #2c2926;
  --ink: #3d3833;
  --muted: #6d655c;
  --line: rgba(44, 41, 38, 0.14);
  --yellow: #e2c56b;
  --oxide: #8c4730;
  --stone: #c7b8a3;
  --blue: #40618c;
  --green: #47735c;
  --shadow: 0 24px 60px rgba(44, 41, 38, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(226, 197, 107, 0.18), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(140, 71, 48, 0.06), transparent 24%),
    var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--graphite);
  color: var(--chalk);
  padding: 0.4rem 0.7rem;
}
.skip:focus { top: 0.6rem; }

.wrap { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 640;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav { display: flex; gap: 1.1rem; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yellow); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  padding: 4.2rem 0 2rem;
}
.kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 640;
  color: var(--oxide);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(3.1rem, 7vw, 5.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.7rem; }
.lede { font-size: 1.2rem; max-width: 36rem; color: var(--ink); margin: 0 0 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 640;
  border: 1px solid transparent;
}
.button.solid { background: var(--graphite); color: var(--chalk); }
.button.ghost { background: transparent; border-color: var(--line); }

.sheet {
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.1rem 0.8rem;
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.2rem 0.45rem 0.7rem;
}
.sheet-top strong { font-family: var(--serif); font-size: 1.25rem; }
.sheet-top span { color: var(--muted); font-size: 0.9rem; }
.plan { width: 100%; height: auto; }
.plan text { font-family: var(--sans); fill: var(--graphite); }
.stroke {
  fill: none;
  stroke: var(--graphite);
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.interior { stroke-linecap: butt; }
.door { fill: none; stroke: var(--yellow); stroke-width: 12; stroke-linecap: square; }
.swing { fill: none; stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.room { fill: rgba(226, 197, 107, 0.16); }
@media (prefers-reduced-motion: no-preference) {
  .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: chalk 1.8s ease forwards;
  }
  .draw-late { animation-delay: 0.35s; }
  .draw-door { animation-delay: 1.35s; animation-duration: 0.45s; }
}
@keyframes chalk { to { stroke-dashoffset: 0; } }

.band { padding: 3.2rem 0; }
.band h2 { max-width: 16ch; }
.cards, .steps, .layers {
  display: grid;
  gap: 0.9rem;
}
.cards { grid-template-columns: repeat(3, 1fr); margin-top: 1.4rem; }
.card, .step, .layer {
  background: rgba(247, 244, 238, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.2rem;
}
.card h3, .step h3, .layer h3 { margin: 0.35rem 0 0.4rem; font-size: 1.45rem; }
.card p, .step p, .layer p { margin: 0; color: var(--ink); }
.index {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 0.85rem;
  font-weight: 640;
}
.steps { grid-template-columns: repeat(4, 1fr); }
.layers { grid-template-columns: 1.3fr repeat(3, 1fr); }
.swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 99px;
  display: inline-block;
  margin-right: 0.35rem;
}
.stone { background: var(--stone); }
.blue { background: var(--blue); }
.oxide { background: var(--oxide); }
.green { background: var(--green); }
.note { color: var(--muted); margin-top: 0.9rem; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.facts { list-style: none; padding: 0; margin: 1rem 0 0; }
.facts li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.facts strong { display: block; }

.prose { width: min(740px, calc(100% - 2.4rem)); margin: 2.5rem auto 4rem; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.meta, .muted { color: var(--muted); }
.callout {
  background: rgba(226, 197, 107, 0.28);
  border-radius: 16px;
  padding: 0.2rem 1rem;
}
.prose a { color: var(--oxide); }

.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.foot-brand { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.3rem; }
.foot p { max-width: 36rem; color: var(--ink); }
.foot-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.foot-nav a { text-decoration: none; }
.fine { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .hero, .cards, .steps, .layers, .split, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.2rem; }
  .nav { gap: 0.75rem; }
}
