/* Schreinerei Kiwi GmbH: oak, matte white, forest green */
:root {
  --c-white: #F3F2EE;
  --c-paper: #E9E4DA;
  --c-oak: #B8844E;
  --c-oak-light: #D7B288;
  --c-oak-deep: #7E5129;
  --c-forest: #1F4636;
  --c-forest-2: #2C5E4B;
  --c-moss: #C9D8CE;
  --c-ink: #231C15;
  --c-ink-soft: #4A4036;
  --c-line: rgba(35, 28, 21, 0.14);
  --c-on-dark: #EDE9E1;
  --c-on-dark-soft: #CFC7BA;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", Arial, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  --fs-hero: clamp(2.3rem, 1.4rem + 4.4vw, 4.6rem);

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;

  --r-xs: 3px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;

  --sh-plank: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 18px 40px -18px rgba(58, 34, 12, 0.55);
  --sh-lift: 0 30px 60px -28px rgba(31, 70, 54, 0.55), 0 8px 18px -10px rgba(35, 28, 21, 0.35);
  --sh-soft: 0 12px 30px -20px rgba(35, 28, 21, 0.45);

  --container: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);

  --grain: url("../img/grain.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 560; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--c-forest-2); outline-offset: 3px; border-radius: var(--r-xs); }

.skip {
  position: absolute; left: var(--s-4); top: var(--s-2); z-index: 100;
  padding: var(--s-2) var(--s-4); background: var(--c-forest); color: var(--c-white);
  border-radius: var(--r-sm); transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translateY(0); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0.8rem 1.4rem;
  font-weight: 600; font-size: var(--fs-base); text-decoration: none; cursor: pointer;
  color: var(--c-white); background: var(--c-forest);
  border: 1.5px solid var(--c-forest); border-radius: var(--r-sm);
  box-shadow: 0 2px 0 var(--c-ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--c-ink); background: var(--c-forest-2); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--c-ink); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); box-shadow: none; }
.btn--ghost:hover { background: var(--c-paper); box-shadow: none; }
.btn--small { min-height: 42px; padding: 0.55rem 1.1rem; font-size: var(--fs-sm); }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 242, 238, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--c-forest); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--f-display); font-size: 1.2rem; font-weight: 680; color: var(--c-ink); }
.brand__sub { font-size: 0.8125rem; color: var(--c-ink-soft); }

.burger {
  position: relative; z-index: 60; width: 46px; height: 46px; flex: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: var(--c-white); border: 1.5px solid var(--c-ink); border-radius: var(--r-sm); cursor: pointer;
}
.burger__bar { width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 12px);
  padding: var(--s-5) var(--s-4) var(--s-6);
  background: var(--c-white); border-bottom: 1px solid var(--c-line);
  box-shadow: var(--sh-soft);
  display: flex; flex-direction: column; gap: var(--s-5);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s; }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block; padding: var(--s-3) 0; font-family: var(--f-display); font-size: 1.4rem;
  text-decoration: none; border-bottom: 1px solid var(--c-line);
}
.nav__link:hover { color: var(--c-forest); }

/* The folding rule: scroll gauge */
.rule {
  position: relative; height: 12px; overflow: hidden;
  background-color: var(--c-oak-light);
  background-image:
    repeating-linear-gradient(90deg, var(--c-ink) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, rgba(35, 28, 21, 0.55) 0 1px, transparent 1px 10px);
  background-size: 100% 100%, 100% 50%;
  background-repeat: no-repeat;
  border-top: 1px solid var(--c-oak-deep);
  border-bottom: 1px solid var(--c-oak-deep);
}
.rule__fill {
  position: absolute; inset: 0; background: var(--c-forest); opacity: 0.85;
  transform: scaleX(0); transform-origin: left center;
  will-change: transform;
}
.rule__read {
  position: absolute; right: var(--s-2); top: 50%; transform: translateY(-50%);
  padding: 0 var(--s-2); font-size: 0.6875rem; line-height: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--c-ink); background: var(--c-oak-light); border-radius: var(--r-xs);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--s-6); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(201, 216, 206, 0.7), transparent 70%),
    linear-gradient(180deg, var(--c-white), var(--c-paper));
}
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-forest);
}
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--c-oak); }
.hero__title { margin-top: var(--s-4); font-size: var(--fs-hero); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; max-width: 14ch; }
.hero__lead { margin-top: var(--s-5); font-size: var(--fs-md); color: var(--c-ink-soft); max-width: 52ch; }
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero__stage { position: relative; min-height: 340px; perspective: 1200px; }
.stage { position: relative; width: 100%; height: 340px; transform-style: preserve-3d; }
.stage > * { position: absolute; transition: transform 0.6s var(--ease); }

.stage__plank {
  inset: 18% 2% 14% 18%;
  border-radius: var(--r-md);
  background-color: var(--c-oak);
  background-image:
    var(--grain),
    repeating-linear-gradient(92deg, rgba(126, 81, 41, 0.0) 0 22px, rgba(126, 81, 41, 0.28) 22px 24px, rgba(255, 238, 210, 0.12) 24px 38px),
    linear-gradient(180deg, #C9975F, #A9743F);
  background-size: 600px 600px, auto, auto;
  box-shadow: var(--sh-plank);
}
.stage__plank::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: repeating-linear-gradient(90deg, #8E5E30 0 3px, #B98A58 3px 5px);
}

.stage__disc {
  width: 60%; aspect-ratio: 1; left: 12px; top: 5%;
  border-radius: 50%;
  box-shadow: var(--sh-lift), 0 0 0 10px #6E4526, 0 0 0 12px #4E311B;
}
.disc__rings {
  width: 100%; height: 100%; border-radius: 50%;
  background:
    radial-gradient(circle at 47% 52%, #6E4526 0 2.5%, transparent 3%),
    repeating-radial-gradient(circle at 47% 52%, #D9AE78 0 7px, #C8955C 7px 10px, #B07A43 10px 11.5px, #D4A56C 11.5px 17px),
    #C8955C;
  animation: turn 120s linear infinite;
}
.disc__crack {
  position: absolute; left: 47%; top: 52%; width: 44%; height: 3px; transform-origin: left center; transform: rotate(-28deg);
  background: linear-gradient(90deg, rgba(60, 35, 15, 0.7), transparent);
  border-radius: 2px;
}
.stage__panel {
  right: 0; bottom: 0; width: 64%; max-width: 300px;
  padding: var(--s-5) var(--s-5) var(--s-5) calc(var(--s-5) + 10px);
  background: var(--c-forest); color: var(--c-on-dark);
  border-radius: var(--r-sm) var(--r-lg) var(--r-sm) var(--r-sm);
  box-shadow: var(--sh-lift);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.panel__edge {
  position: absolute; left: 0; top: 0; bottom: 0; width: 10px; border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: repeating-linear-gradient(180deg, #D7B288 0 2px, #A8763F 2px 4px, #E4C8A5 4px 5px);
}
.panel__title { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.15; color: #fff; }
.panel__text { font-size: var(--fs-sm); color: var(--c-on-dark-soft); }

.stage__dim { color: var(--c-oak-deep); font-size: 0.8125rem; font-weight: 600; }
.stage__dim--w { left: 18%; right: 2%; top: 7%; height: 1px; background: currentColor; }
.stage__dim--w::before, .stage__dim--w::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: currentColor; }
.stage__dim--w::before { left: 0; }
.stage__dim--w::after { right: 0; }
.stage__dim--w .dim__label { position: absolute; right: 10%; top: -1.6em; background: transparent; }
.stage__dim--h { display: none; }

@keyframes turn { to { transform: rotate(360deg); } }

/* Scrolling strip of services */
.strip {
  margin-top: var(--s-7); overflow: hidden;
  border-top: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-ink);
  background: var(--c-ink); color: var(--c-on-dark);
}
.strip__track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.strip__list { display: flex; flex: none; }
.strip__list li {
  padding: var(--s-3) var(--s-5); font-family: var(--f-display); font-size: 1.15rem; font-style: italic; white-space: nowrap;
  display: flex; align-items: center; gap: var(--s-5);
}
.strip__list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-oak); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--s-8) 0; }
.section__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.section__title { font-size: var(--fs-xl); max-width: 20ch; }
.section__intro { color: var(--c-ink-soft); font-size: var(--fs-md); max-width: 58ch; }

/* Placeholders: deliberate wood studies in CSS */
.ph { position: relative; border-radius: var(--r-sm); overflow: hidden; background-color: var(--c-oak); min-height: 180px; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 600px 600px; opacity: 0.55; mix-blend-mode: multiply; pointer-events: none; }
.ph--kitchen {
  background:
    linear-gradient(180deg, transparent 0 58%, #2A2019 58% 61%, transparent 61%),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 3px), rgba(35, 28, 21, 0.55) calc(25% - 3px) 25%),
    linear-gradient(180deg, #E9E4DA 0 58%, #1F4636 61% 100%);
}
.ph--closet {
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 2px), rgba(35, 28, 21, 0.45) calc(33.33% - 2px) 33.33%),
    radial-gradient(circle at 30% 50%, #2A2019 0 3px, transparent 4px) 0 0 / 33.33% 100%,
    linear-gradient(180deg, #CDA170, #B8844E);
}
.ph--wardrobe {
  background:
    linear-gradient(180deg, transparent 0 22%, #7E5129 22% 24%, transparent 24%),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(31, 70, 54, 0.85) 14px 24px, transparent 24px 30px) 0 26% / 100% 40% no-repeat,
    linear-gradient(180deg, transparent 0 74%, #7E5129 74% 76%, #C9975F 76%),
    #E9E4DA;
}
.ph--shelf {
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(25% - 6px), #7E5129 calc(25% - 6px) 25%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(31, 70, 54, 0.9) 18px 26px, transparent 26px 30px, rgba(184, 132, 78, 0.9) 30px 40px, transparent 40px 70px),
    #E9E4DA;
}
.ph--table {
  background:
    linear-gradient(180deg, #E9E4DA 0 30%, transparent 30%),
    linear-gradient(180deg, transparent 0 30%, #6E4526 30% 36%, transparent 36%),
    repeating-linear-gradient(178deg, #C9975F 0 12px, #B8844E 12px 14px, #D2A46D 14px 26px);
}
.ph--parquet {
  min-height: 320px;
  background-color: #C99A63;
  background-image:
    linear-gradient(135deg, #A9743F 25%, transparent 25%),
    linear-gradient(225deg, #A9743F 25%, transparent 25%),
    linear-gradient(315deg, #B8844E 25%, transparent 25%),
    linear-gradient(45deg, #B8844E 25%, transparent 25%);
  background-size: 64px 64px;
  background-position: 32px 0, 32px 0, 0 0, 0 0;
}
.ph--worn {
  background:
    repeating-linear-gradient(180deg, transparent 0 46px, #4E311B 46px 48px),
    radial-gradient(40% 25% at 30% 40%, rgba(233, 228, 218, 0.45), transparent 70%),
    radial-gradient(30% 20% at 70% 70%, rgba(35, 28, 21, 0.35), transparent 70%),
    linear-gradient(180deg, #9C7A5A, #7F6247);
}
.ph--fresh {
  background:
    repeating-linear-gradient(180deg, transparent 0 46px, #6E4526 46px 47px),
    linear-gradient(115deg, rgba(255, 245, 225, 0.35), transparent 40%),
    repeating-linear-gradient(90deg, #C9975F 0 30px, #BE8A52 30px 32px, #D2A46D 32px 60px);
}

/* Furniture */
.pieces { display: grid; gap: var(--s-4); }
.piece {
  display: grid; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.piece:hover { transform: translateY(-4px); box-shadow: var(--sh-soft); }
.piece .ph { border-radius: 0; }
.piece__body { padding: var(--s-5); display: grid; gap: var(--s-2); color: var(--c-ink-soft); }
.piece__title { font-size: var(--fs-lg); color: var(--c-ink); }

/* Interiors */
.interiors { background: var(--c-paper); position: relative; }
.interiors__grid { display: grid; gap: var(--s-6); }
.interiors__visual { border-radius: var(--r-lg) var(--r-sm) var(--r-lg) var(--r-sm); box-shadow: var(--sh-plank); }
.interiors__copy { display: grid; gap: var(--s-4); align-content: start; }
.fitlist { margin: var(--s-4) 0 0; border-top: 1.5px solid var(--c-ink); }
.fitlist__row { display: grid; gap: var(--s-1); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
.fitlist dt { font-family: var(--f-display); font-size: 1.25rem; }
.fitlist dd { margin: 0; color: var(--c-ink-soft); }

/* Restoration */
.restoration { background: var(--c-forest); color: var(--c-on-dark); position: relative; overflow: hidden; }
.restoration::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -180px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(237, 233, 225, 0.07) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.restoration .section__intro { color: var(--c-on-dark-soft); }
.restoration__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); position: relative; }
.sites { display: grid; gap: var(--s-5); position: relative; }
.site { display: grid; gap: var(--s-3); padding: var(--s-4); background: rgba(237, 233, 225, 0.06); border: 1px solid rgba(237, 233, 225, 0.18); border-radius: var(--r-md); }
.site p { color: var(--c-on-dark-soft); }
.site__title { font-size: var(--fs-lg); color: #fff; }
.site__visual { min-height: 150px; }

/* Process */
.steps { margin-top: var(--s-6); display: grid; gap: var(--s-5); counter-reset: none; position: relative; }
.step { position: relative; padding-left: 64px; display: grid; align-content: start; gap: var(--s-2); color: var(--c-ink-soft); }
.step__n {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.3rem; color: var(--c-ink);
  background: var(--c-oak-light); border: 1.5px solid var(--c-ink); border-radius: 50%;
}
.step__title { font-size: var(--fs-lg); color: var(--c-ink); }

/* Contact */
.contact { background: var(--c-paper); }
.contact__grid { display: grid; gap: var(--s-6); }
.contact__copy { display: grid; gap: var(--s-4); align-content: start; }
.contact__card {
  margin-top: var(--s-3); padding: var(--s-5); display: grid; gap: var(--s-1);
  background: var(--c-white); border-left: 6px solid var(--c-oak); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.contact__label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-forest); margin-top: var(--s-2); }
.contact__label:first-child { margin-top: 0; }
.contact__mail { word-break: break-all; font-weight: 600; }

.form { background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--r-md); padding: var(--s-5); box-shadow: 6px 6px 0 var(--c-forest); }
.form__fields { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: var(--fs-sm); padding: 0; }
.field__input {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  background: var(--c-white); border: 1.5px solid rgba(35, 28, 21, 0.35); border-radius: var(--r-sm);
  transition: border-color 0.2s;
}
.field__input:focus { outline: none; border-color: var(--c-forest); box-shadow: 0 0 0 3px var(--c-moss); }
textarea.field__input { resize: vertical; min-height: 120px; }
.field.is-invalid .field__input { border-color: #A3341F; }
.field__error { min-height: 1.2em; font-size: 0.875rem; color: #A3341F; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.55rem 0.9rem; border: 1.5px solid rgba(35, 28, 21, 0.35); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip input:checked + span { background: var(--c-forest); color: #fff; border-color: var(--c-forest); }
.chip input:focus-visible + span { outline: 3px solid var(--c-forest-2); outline-offset: 2px; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-forest); flex: none; }
.form__done { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-4) 0; }
.form__done[hidden] { display: none; }
.form__done-title { font-size: var(--fs-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-dark); padding: var(--s-8) 0 var(--s-6); }
.footer__grid { display: grid; gap: var(--s-6); }
.footer__name { font-family: var(--f-display); font-size: 1.6rem; color: #fff; }
.footer__line { margin-top: var(--s-2); color: var(--c-on-dark-soft); max-width: 40ch; }
.footer__nav ul { display: grid; gap: var(--s-2); }
.footer__nav a { text-decoration: none; color: var(--c-on-dark); }
.footer__nav a:hover { color: var(--c-oak-light); text-decoration: underline; }
.legal {
  padding-top: var(--s-5); border-top: 1px solid rgba(237, 233, 225, 0.22);
  font-size: 0.875rem; line-height: 1.6; color: var(--c-on-dark-soft);
  display: grid; gap: 2px;
}
.legal strong { color: var(--c-on-dark); font-weight: 600; }
.legal a { color: var(--c-on-dark); text-underline-offset: 3px; word-break: break-all; }
.legal__bottom { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; }
.legal__links { display: flex; gap: var(--s-4); }

/* ---------- Document pages ---------- */
.doc { padding-top: var(--s-7); padding-bottom: var(--s-8); max-width: 820px; }
.doc__head { padding-bottom: var(--s-5); margin-bottom: var(--s-6); border-bottom: 1.5px solid var(--c-ink); position: relative; }
.doc__head::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 120px; height: 10px; background: repeating-linear-gradient(90deg, var(--c-oak) 0 2px, transparent 2px 10px); }
.doc__title { font-size: var(--fs-xl); font-weight: 400; }
.doc__meta { margin-top: var(--s-3); color: var(--c-ink-soft); font-size: var(--fs-sm); }
.doc__body { display: grid; gap: var(--s-4); max-width: 68ch; color: var(--c-ink-soft); }
.doc__body h2 { margin-top: var(--s-4); font-size: var(--fs-lg); color: var(--c-ink); }
.doc__body a { color: var(--c-forest); font-weight: 600; word-break: break-word; }

.lost { display: grid; gap: var(--s-6); align-items: center; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.lost__disc { width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; box-shadow: var(--sh-lift), 0 0 0 8px #6E4526; }
.lost__copy { display: grid; gap: var(--s-4); justify-items: start; }

/* ---------- Page-load entrance (hero only) ---------- */
.js .hero [data-load] { opacity: 0; transform: translateY(18px); }
.js .is-loaded .hero [data-load] { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .is-loaded .hero .hero__stage[data-load] { transition-delay: 0.15s; }

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  .container { padding: 0 var(--s-5); }
  .hero__stage, .stage { height: 400px; min-height: 400px; }
  .stage__panel { width: 58%; }
  .form { padding: var(--s-6); }
  .sites { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .section { padding: var(--s-9) 0; }
  .section__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--s-6); }
  .pieces { grid-template-columns: repeat(2, 1fr); }
  .piece--kitchen { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; }
  .piece--kitchen .ph { min-height: 260px; }
  .piece--kitchen .piece__body { align-content: center; padding: var(--s-6); }
  .interiors__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-7); align-items: stretch; }
  .interiors__visual { min-height: 100%; }
  .sites { grid-template-columns: 1fr 1fr; }
  .restoration__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--s-6); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
  .steps::before {
    content: ""; position: absolute; left: 23px; right: 0; top: 22px; height: 10px;
    background: repeating-linear-gradient(90deg, var(--c-ink) 0 1px, transparent 1px 12px);
    opacity: 0.35;
  }
  .step { padding-left: 0; padding-top: 68px; }
  .form__fields { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
  .field--choice, .field--wide, .form__fields .btn { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1.4fr 1fr; }
  .legal { grid-column: 1 / -1; }
  .lost { grid-template-columns: auto 1fr; }
  .stage__dim--h { display: block; right: -1%; top: 18%; bottom: 40%; width: 1px; background: currentColor; }
  .stage__dim--h::before, .stage__dim--h::after { content: ""; position: absolute; left: -6px; width: 13px; height: 1px; background: currentColor; }
  .stage__dim--h::before { top: 0; }
  .stage__dim--h::after { bottom: 0; }
  .stage__dim--h .dim__label { position: absolute; left: 1.6em; top: 50%; transform: rotate(90deg) translateX(-50%); transform-origin: left top; white-space: nowrap; }
}

@media (min-width: 1024px) {
  .nav {
    position: static; padding: 0; background: none; border: 0; box-shadow: none;
    flex-direction: row; align-items: center; gap: var(--s-6);
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__list { flex-direction: row; gap: var(--s-5); }
  .nav__link { font-family: var(--f-body); font-size: 0.9375rem; font-weight: 500; padding: var(--s-2) 0; border: 0; position: relative; }
  .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--c-oak); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
  .nav__link:hover::after { transform: scaleX(1); }
  .burger { display: none; }
  .hero { padding-top: var(--s-8); }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-7); min-height: calc(100vh - var(--header-h) - 190px); }
  .hero__stage, .stage { height: 500px; min-height: 500px; }
  .pieces { grid-template-columns: repeat(4, 1fr); }
  .piece--kitchen { grid-column: 1 / -1; grid-template-columns: 1.6fr 1fr; }
  .piece--kitchen .ph { min-height: 300px; }
  .contact__grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-8); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.6fr; }
  .legal { grid-column: auto; padding-top: 0; border-top: 0; padding-left: var(--s-5); border-left: 1px solid rgba(237, 233, 225, 0.22); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .strip__track { animation: none; flex-wrap: wrap; width: 100%; }
  .strip__list[aria-hidden="true"] { display: none; }
  .strip__list { flex-wrap: wrap; }
  .js .hero [data-load] { opacity: 1; transform: none; }
}
