/* Andreas Becker – Schreinermeister · Entwurf Upwell GmbH
   Schrift: Newsreader (Fontsource 5.3.0), selbst gehostet
   Farben: Akzent #cc452a aus dem Theme-CSS der Original-Website, Logo Schwarz #000000 (siehe notes/becker84/ci.md) */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #faf8f4;      /* Grund, warmes Weiß */
  --paper-2: #f2ede5;    /* Abschnittsfläche */
  --white: #ffffff;
  --ink: #1d1b18;        /* Text (Logo-Schwarz, minimal gewärmt) */
  --ink-2: #47423c;
  --muted: #6c665f;
  --line: #ddd5ca;
  --rost: #cc452a;       /* Akzentfarbe aus dem Original-CSS */
  --rost-text: #a8371f;  /* dunklere Stufe des Akzents für kleine Schrift */
  --rost-hell: #e8957f;  /* hellere Stufe des Akzents auf Dunkel */
  --nacht: #23201c;      /* dunkle Fläche Werkstatt */
  --nacht-2: #2e2a25;
  --gelb: #fff4c2;
  --gelb-rand: #e3c74f;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.62;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rost-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.012em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); }
p { margin: 0 0 1em; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--rost); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Entwurfsleiste */
.draft {
  background: var(--ink); color: #f3efe8; text-align: center;
  font-size: .8125rem; line-height: 1.4; padding: 7px 16px; letter-spacing: .01em;
}

/* Kleine Überschriften / Augenbrauen mit Maßstab-Linie */
.eyebrow.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rost-text);
}
.eyebrow::after {
  content: ""; flex: 0 0 72px; height: 9px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 40px) left bottom / 100% 9px no-repeat;
  opacity: .55;
}
.eyebrow.eyebrow--light { color: var(--rost-hell); }
.h-small {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 2.2em 0 .9em; line-height: 1.3;
}

/* Kopf */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 150px; height: auto; aspect-ratio: 400 / 161; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 1.02rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--rost); }
.nav__cta { border: 1px solid var(--ink) !important; padding: 7px 16px !important; border-radius: 999px; }
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-size: 1rem; padding: 8px 16px;
  border: 1px solid var(--ink); border-radius: 999px; user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ☰"; font-size: .9em; }
.menu[open] summary::after { content: " ✕"; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(29, 27, 24, .12);
  display: flex; flex-direction: column; min-width: 220px; padding: 8px 0; border-radius: 6px;
}
.menu nav a { color: var(--ink); text-decoration: none; padding: 11px 20px; font-size: 1.05rem; }
.menu nav a:hover { background: var(--paper-2); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-size: 1.02rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--rost); border-color: var(--rost); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 1.6rem + 6vw, 6.2rem); line-height: .98; letter-spacing: -0.03em; margin-bottom: .28em; }
.hero__lead { font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.34; color: var(--ink-2); max-width: 30ch; margin-bottom: 1.5em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__place { font-size: .95rem; color: var(--muted); margin: 0; }
.hero__fig { background: var(--white); padding: clamp(8px, 1.2vw, 14px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(29, 27, 24, .35); max-width: 660px; justify-self: end; width: 100%; }
.hero__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }

.rail {
  list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 26px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line);
}
.rail li { padding: 0 22px 34px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.rail li:first-child { border-left: 0; padding-left: 0; }
.rail strong { font-weight: 400; font-size: 1.32rem; line-height: 1.2; }
.rail span { font-size: .93rem; color: var(--muted); line-height: 1.4; }

/* Über mich */
.about { padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); background: var(--white); border-top: 1px solid var(--line); }
.about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__fig { position: sticky; top: 110px; max-width: 440px; }
.about__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.about__text h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); max-width: 22ch; }
.about__text > p { color: var(--ink-2); max-width: 60ch; }
.cv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 560px; }
.cv li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cv__year { color: var(--rost-text); font-variant-numeric: tabular-nums lining-nums; font-style: italic; }
.credo { margin: clamp(64px, 8vw, 112px) auto 0; max-width: 920px; text-align: center; }
.credo blockquote { margin: 0 0 28px; position: relative; padding-top: 64px; }
.credo blockquote::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 40px; background: var(--rost);
}
.credo blockquote p { font-style: italic; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem); line-height: 1.28; margin: 0; letter-spacing: -0.01em; }
.credo__body { color: var(--ink-2); max-width: 64ch; margin: 0 auto; }

/* Handskizzen */
.sketch { background: var(--paper-2); padding: clamp(72px, 9vw, 120px) 0; }
.sketch__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sketch__head h2 { margin: 0; max-width: 14ch; }
.sketch__head > p { margin: 0; color: var(--ink-2); }
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); }
.sheet__paper {
  background: var(--white); padding: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 1px 2px rgba(29, 27, 24, .06), 0 16px 30px -18px rgba(29, 27, 24, .3);
}
.sheet:nth-child(1) .sheet__paper { transform: rotate(-.6deg); }
.sheet:nth-child(3) .sheet__paper { transform: rotate(.5deg); }
.sheet__paper img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--white); }
.sheet figcaption, .pair figcaption, .project__fig--duo figcaption, .contact__map figcaption {
  font-style: italic; font-size: .95rem; color: var(--muted); margin-top: 12px;
}
.quality { max-width: 720px; margin: clamp(56px, 7vw, 88px) auto 0; text-align: center; }
.quality p { color: var(--ink-2); font-size: 1.22rem; }

/* Baubiologie / Nachhaltigkeit */
.eco { padding: clamp(72px, 9vw, 120px) 0; }
.eco__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); }
.eco__bio h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); max-width: 15ch; }
.eco__bio p { color: var(--ink-2); }
.eco__intro { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.65rem); line-height: 1.35; font-style: italic; margin-bottom: 1.2em; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 13.5rem 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: .98rem; line-height: 1.5; }
.facts dd { margin: 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; }

/* Arbeitsweise */
.method { background: var(--white); border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 128px) 0; }
.method__lead { font-size: clamp(1.4rem, 1.1rem + 1.25vw, 2.05rem); line-height: 1.32; max-width: 34ch; margin: .2em 0 1.6em; color: var(--ink); font-style: italic; }
.method__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.method__cols .h-small { margin-top: 0; }
.method__cols p { color: var(--ink-2); margin: 0; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(16px, 3vw, 36px); align-items: end; margin: clamp(48px, 6vw, 80px) 0 0; }
.pair__sketch img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--paper); padding: 12px; border: 1px solid var(--line); }
.pair__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.steps__title { margin: clamp(72px, 9vw, 112px) 0 clamp(28px, 4vw, 44px); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); margin-bottom: 18px; }
.step h4 { display: flex; align-items: baseline; gap: 12px; font-size: 1.32rem; margin-bottom: .45em; }
.step__no { font-style: italic; color: var(--rost); font-size: 1.9rem; line-height: 1; min-width: 1.1ch; }
.step p { font-size: 1.02rem; line-height: 1.58; color: var(--ink-2); margin: 0; }

/* Holzarbeiten */
.works { padding: clamp(72px, 9vw, 128px) 0; }
.works__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.works__lead { font-size: 1.3rem; font-style: italic; color: var(--ink-2); margin: 0; }
.project { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.project--flip .project__fig { order: 2; }
.project__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.project__fig--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.project__fig--duo img { aspect-ratio: 4 / 5; }
.project__text h3 { margin-bottom: .2em; }
.project__sub { font-style: italic; color: var(--rost-text); font-size: 1.12rem; margin-bottom: 1em; }
.project__text > p:not(.project__sub) { color: var(--ink-2); font-size: 1.06rem; }
.meta { margin: 1.2em 0 0; font-size: .95rem; }
.meta div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.meta dt { font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.meta dd { margin: 0; }
.works__more { margin: clamp(56px, 7vw, 88px) 0 28px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(14px, 2.4vw, 28px); }
.grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.grid span { display: block; margin-top: 10px; font-size: 1.05rem; line-height: 1.35; }

/* Werkstatt (dunkel) */
.shop { background: var(--nacht); color: #efe9e0; padding: clamp(72px, 9vw, 128px) 0; }
.shop__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.shop h2 { color: #fbf8f3; }
.shop__lead { font-style: italic; font-size: 1.32rem; line-height: 1.4; color: #fbf8f3; }
.shop__text p:not(.shop__lead):not(.eyebrow) { color: #d6cec3; }
.shop__fig { max-width: 600px; justify-self: end; width: 100%; }
.shop__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--nacht-2); }
.tools { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tools img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--nacht-2); }
.tools span { display: block; margin-top: 8px; font-size: .92rem; font-style: italic; color: #bdb4a8; }

/* Mondholz & Zirbe */
.wood { background: var(--paper-2); padding: clamp(72px, 9vw, 120px) 0; }
.wood__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); }
.wood__card { background: var(--paper); padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); }
.wood__card--moon { background: var(--white); }
.moon { color: var(--rost); margin-bottom: 18px; }
.wood__sub { font-style: italic; color: var(--rost-text); font-size: 1.12rem; }
.wood__card p { color: var(--ink-2); }
.wood__fig { margin: calc(-1 * clamp(24px, 3.5vw, 44px)) calc(-1 * clamp(24px, 3.5vw, 44px)) 26px; }
.wood__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #e9e2d7; }
.wood__note { font-weight: 600; font-size: .95rem; margin-bottom: .4em; color: var(--ink) !important; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 10px 26px; color: var(--ink-2); font-size: 1.04rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--rost); }

/* Kontakt */
.contact { padding: clamp(72px, 9vw, 120px) 0; background: var(--white); border-top: 1px solid var(--line); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.contact h2 { max-width: 13ch; }
.contact address { font-size: 1.22rem; line-height: 1.55; margin: 1.2em 0 1.4em; }
.contact address strong { font-weight: 600; }
.reach { margin: 0; border-top: 1px solid var(--line); max-width: 480px; }
.reach div { display: grid; grid-template-columns: 6rem 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.reach dt { color: var(--muted); font-size: .95rem; padding-top: 2px; }
.reach dd { margin: 0; font-size: 1.12rem; font-variant-numeric: lining-nums; }
.contact__map { max-width: 520px; justify-self: end; width: 100%; }
.sheet__paper--map { border: 1px solid var(--line); box-shadow: none; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 44px 0 52px; background: var(--paper); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot__logo { width: 130px; height: auto; aspect-ratio: 400 / 161; }
.foot p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.foot__links { display: flex; gap: 22px; }
.foot__links a { color: var(--ink); }

/* Rechtliches */
.legal { padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); background: var(--white); }
.legal__in { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 3.8rem); margin-bottom: .6em; }
.legal h2 { font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2.2em 0 .8em; }
.legal address, .legal p { color: var(--ink-2); }
.legal address { font-size: 1.15rem; line-height: 1.6; }
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); font-size: .98rem; }
.rows dd { margin: 0; }
.note-draft {
  background: var(--gelb); border: 1px solid var(--gelb-rand); border-left-width: 5px;
  padding: 16px 20px; margin: 2.4em 0 2em; color: var(--ink) !important; font-size: 1.02rem; line-height: 1.5;
}
.back { display: inline-block; margin-top: .4em; }

/* Breite Bildschirme: Bilder bleiben in Boxen (keine Vollbreiten-Fotos) */
@media (min-width: 1700px) {
  :root { --wrap: 1280px; }
}

/* Tablet */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .rail li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 1.0625rem; line-height: 1.6; }
  .top__in { min-height: 70px; }
  .brand img { width: 118px; }
  .hero__in, .about__in, .sketch__head, .eco__in, .method__cols, .shop__in, .contact__in, .wood__in { grid-template-columns: minmax(0, 1fr); }
  .hero__fig { justify-self: stretch; max-width: none; }
  .hero__actions .btn { padding: 14px 22px; }
  .rail { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .rail li { border-left: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .rail li:last-child { border-bottom: 0; }
  .about__fig { position: static; max-width: 260px; }
  .cv li { grid-template-columns: 5.6rem 1fr; }
  .sheets { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .sheet .sheet__paper { transform: none !important; }
  .quality p { font-size: 1.1rem; }
  .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .pair__sketch img { padding: 6px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .project { grid-template-columns: minmax(0, 1fr); }
  .project--flip .project__fig { order: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid span { font-size: .95rem; }
  .shop__fig { justify-self: stretch; max-width: none; }
  .contact__map { justify-self: stretch; }
  .foot__in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rows div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .credo blockquote { padding-top: 52px; }
  .step img { aspect-ratio: 16 / 10; }
}
