:root {
  --plaster: #e7e9e4;
  --plaster-2: #dde0da;
  --ink: #1e1915;
  --ink-2: #4a423b;
  --walnut: #2a1f18;
  --walnut-2: #3a2b21;
  --on-walnut: #efe9e1;
  --on-walnut-2: #c9bcac;
  --saddle: #8b4513;
  --saddle-deep: #6e360f;
  --oak: #c9a06d;
  --line: rgba(30, 25, 21, 0.16);
  --line-strong: rgba(30, 25, 21, 0.4);
  --sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 78rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
}
::selection { background: var(--saddle); color: #fff7ef; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--saddle); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  background: color-mix(in srgb, var(--plaster) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saddle); margin-top: 0.2rem; }
.sr-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 2rem); font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav .nav-call {
  color: var(--ink); font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  padding: 0.45rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 999px;
}
.site-nav .nav-call:hover { background: var(--ink); color: var(--plaster); text-decoration: none; }

main > section { padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); }
main > section > * { max-width: var(--max); margin-inline: auto; }

/* Hero */
.hero {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding-top: clamp(2.5rem, 6vw, 5rem) !important;
}
.hero > * { max-width: none; margin: 0; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lede { margin-top: 1.5rem; font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; }
.offer {
  margin-top: 1.25rem; max-width: 36rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.offer strong { color: var(--saddle-deep); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn-primary { background: var(--saddle); color: #fff8f0; box-shadow: 0 6px 18px -8px rgba(110, 54, 15, 0.7); }
.btn-primary:hover { background: var(--saddle-deep); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(110, 54, 15, 0.8); }
.btn-primary:active { transform: translateY(0); }
.btn-quiet { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--plaster); border-color: var(--ink); }
.credentials { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.75rem; font-size: 0.92rem; color: var(--ink-2); }
.credentials li { display: flex; align-items: center; gap: 0.5rem; }
.credentials li::before { content: ""; width: 0.45rem; height: 0.45rem; border: 1.5px solid var(--saddle); transform: rotate(45deg); }

.hero-plan { margin: 0; }
.plan-frame {
  position: relative;
  border-radius: 6px; overflow: hidden;
  background: var(--plaster-2);
  box-shadow: 0 30px 60px -30px rgba(42, 31, 24, 0.45), 0 2px 6px rgba(42, 31, 24, 0.12);
}
.plan-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dim line { stroke: #fff9f1; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.dim-label {
  position: absolute;
  font-family: var(--mono); font-size: clamp(0.62rem, 0.9vw, 0.76rem); letter-spacing: 0.02em;
  color: #fff9f1; background: rgba(42, 31, 24, 0.78);
  padding: 0.2rem 0.45rem; border-radius: 3px; white-space: nowrap;
}
.dim-label::after { content: attr(data-dim); }
.dim-label-a { left: 50%; bottom: 7.2%; transform: translate(-50%, 50%); }
.dim-label-b { right: 6.25%; top: 50%; transform: translate(50%, -50%) rotate(-90deg); }
.hero-plan figcaption { margin-top: 0.85rem; font-size: 0.9rem; color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .dim line { stroke-dasharray: 1400; stroke-dashoffset: 0; animation: draw 1.4s var(--ease-out) both; }
  .dim-b line { animation-delay: 0.25s; }
  .dim-label { animation: settle 0.9s var(--ease-out) 0.7s both; }
  @keyframes draw { from { stroke-dashoffset: 1400; } }
  @keyframes settle { from { opacity: 0; filter: blur(4px); } }
}

/* Section heads */
.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem clamp(2rem, 5vw, 4.5rem);
  align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.section-head p { color: var(--ink-2); max-width: 38rem; }

/* Services: spec sheet rows */
.services { background: var(--plaster); }
.spec-list { border-top: 1px solid var(--line-strong); }
.spec-list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4.6fr) minmax(9.5rem, 1.4fr);
  gap: 0.5rem clamp(2rem, 5vw, 4.5rem); align-items: baseline;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  transition: background-color 220ms var(--ease-out);
}
.spec-list li:hover { background: rgba(139, 69, 19, 0.045); }
.spec-list h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.spec-list p { color: var(--ink-2); max-width: 34rem; }
.spec { font-family: var(--mono); font-size: 0.8rem; color: var(--saddle-deep); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Process timeline */
.process { background: var(--plaster-2); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding-top: 2.1rem; }
.timeline li::before {
  content: ""; position: absolute; top: 0.2rem; left: 0;
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--plaster-2); border: 2px solid var(--saddle);
}
.timeline li:last-child::before { background: var(--saddle); }
.when { display: block; font-family: var(--mono); font-size: 0.78rem; color: var(--saddle-deep); margin-bottom: 0.45rem; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.timeline p { font-size: 0.95rem; color: var(--ink-2); }

/* Material board */
.board {
  background: var(--walnut); color: var(--on-walnut);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)) !important;
}
.board > * { max-width: none; margin: 0; }
.board-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.board-copy > p { margin-top: 1.1rem; color: var(--on-walnut-2); max-width: 30rem; }
.board-readout {
  margin-top: 2rem; padding: 1.1rem 0 0; border-top: 1px solid rgba(239, 233, 225, 0.22);
  display: grid; gap: 0.3rem; min-height: 5.5rem;
}
#readout-name { font-weight: 600; font-size: 1.25rem; color: #fff; }
#readout-note { color: var(--on-walnut-2); font-size: 0.98rem; }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.5rem, 1.2vw, 1rem); }
.swatch {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0.6rem; width: 100%;
  font-family: var(--sans); font-size: 0.85rem; color: var(--on-walnut-2);
}
.swatch svg {
  width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 3px;
  box-shadow: 0 14px 24px -14px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.4);
  transform: translateY(0) rotate(0);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), filter 420ms var(--ease-out);
  filter: saturate(0.9) brightness(0.92);
}
.swatch:hover svg, .swatch[aria-pressed="true"] svg {
  transform: translateY(-10px) rotate(-1.5deg);
  box-shadow: 0 26px 34px -16px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.35);
  filter: none;
}
.swatch[aria-pressed="true"] { color: #fff; }
.swatch[aria-pressed="true"] span { text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: 0.35em; }
.swatch:focus-visible { outline: 2px solid var(--oak); outline-offset: 4px; }

/* Service area */
.towns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.towns li {
  padding: 0.55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 1rem;
}
.towns li:first-child { background: var(--ink); color: var(--plaster); border-color: var(--ink); }

/* Contact close */
.contact { background: var(--plaster-2); text-align: left; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1; font-weight: 700; }
.contact-inner > p { margin-top: 1rem; color: var(--ink-2); max-width: 38rem; }
.contact-lines { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 2.5rem; margin-top: 2rem; }
.contact-big {
  font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em;
  color: var(--saddle); text-decoration: none; font-variant-numeric: tabular-nums;
}
.contact-big:hover { color: var(--saddle-deep); text-decoration: underline; }
.contact-mail { font-size: 1.1rem; word-break: break-word; }
.hours { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 2rem 0 0; }
.hours div { display: grid; gap: 0.15rem; }
.hours dt { font-family: var(--mono); font-size: 0.78rem; color: var(--saddle-deep); }
.hours dd { margin: 0; }

/* Footer */
.site-foot {
  background: var(--walnut); color: var(--on-walnut-2);
  padding: 2rem var(--gutter) 2.5rem; font-size: 0.88rem;
  display: grid; gap: 0.5rem;
}
.site-foot > * { max-width: var(--max); margin-inline: auto; width: 100%; }
.disclosure { color: var(--on-walnut); max-width: var(--max); }

/* Responsive */
@media (max-width: 960px) {
  .hero, .board { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 1fr auto; }
  .spec-list p { grid-column: 1 / -1; grid-row: 2; }
  .spec { grid-column: 2; grid-row: 1; }
  .timeline { grid-template-columns: 1fr; gap: 1.75rem; padding-left: 1.75rem; }
  .timeline::before { left: 0.35rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -1.75rem; top: 0.15rem; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-call) { display: none; }
  .spec-list li { grid-template-columns: 1fr; }
  .spec-list h3 { grid-row: 1; }
  .spec { grid-column: 1; grid-row: 2; }
  .spec-list p { grid-column: 1; grid-row: 3; }
  .actions .btn-quiet { font-size: 0.92rem; }
  .brand-name { font-size: 0.98rem; }
  .spec { text-align: left; }
  .actions .btn { width: 100%; }
}
@media (max-width: 400px) {
  .brand-name { max-width: 9.5rem; line-height: 1.15; }
}
