/* Schaupp Stahlbau GmbH – Entwurf der Upwell GmbH
   Schrift: Saira (variabel, Achsen wght + wdth), selbst gehostet
   Farben: aus dem Logo (Blau #0D28B9, Hellgrau #B0B0AE) */

@font-face {
  font-family: "Saira Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 125%;
  src: url("/assets/fonts/saira-latin-ext-wdth-normal.woff2") format("woff2-variations");
  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: "Saira Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 125%;
  src: url("/assets/fonts/saira-latin-wdth-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --blue: #0D28B9;        /* Logo: S-Signet, Schriftzug */
  --blue-700: #0A1F94;    /* abgedunkelt: Hover, Kanten */
  --blue-900: #071563;    /* tiefes Blau: Fußleiste */
  --blue-50: #EEF1FC;     /* sehr helle Tönung für Flächen */
  --blue-line: #3F56CC;   /* Linien auf blauem Grund */
  --grey: #B0B0AE;        /* Logo: Punktlinie, Signet-Schatten */
  --grey-300: #CFCFCD;
  --grey-150: #E6E6E4;
  --grey-50: #F5F5F4;
  --ink: #12141C;
  --muted: #555963;
  --white: #FFFFFF;
  --note-bg: #FFF3B0;
  --note-line: #E3C64A;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Saira Variable", "Saira", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-stretch: 96%;
  font-weight: 400;
  line-height: 1.62;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Entwurfsleiste ---------- */
.draftbar {
  background: var(--ink);
  color: #E9EAEE;
  font-size: 13px;
  font-stretch: 90%;
  line-height: 1.4;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: .01em;
}

/* ---------- Punktlinie (Motiv aus dem Logo) ---------- */
.dots {
  height: 6px;
  background-image: radial-gradient(circle, var(--grey) 1.7px, transparent 2.1px);
  background-size: 9px 6px;
  background-repeat: repeat-x;
  background-position: 0 50%;
}

/* ---------- Kopf ---------- */
.masthead { background: var(--white); position: relative; z-index: 10; }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 16px;
}
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 300px; height: auto; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-stretch: 84%;
  font-weight: 620;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
}
.nav a:hover { color: var(--blue); background: var(--blue-50); }
.nav a.nav__cta { background: var(--blue); color: var(--white); margin-left: 8px; }
.nav a.nav__cta:hover { background: var(--blue-700); color: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-stretch: 84%;
  font-weight: 640;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--blue); flex: 0 0 auto; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 40px 56px;
  align-items: end;
}
.hero__title {
  font-size: clamp(2.05rem, 4.5vw, 4.15rem);
  font-stretch: 68%;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title span:nth-child(2) { color: var(--blue); }
.hero__title span:nth-child(4) { color: var(--blue); }

.hero__aside { padding-bottom: 6px; }
.hero__lead {
  font-size: 1.18rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .8em;
}
.hero__aside p:not(.hero__lead) { color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  border-radius: 2px;
  text-decoration: none;
  font-size: 15px;
  font-stretch: 84%;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }
.btn--line { background: transparent; color: var(--blue); }
.btn--line:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-700); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-50); border-color: var(--blue-50); color: var(--blue-700); }

.hero__band {
  display: grid;
  grid-template-columns: 250px minmax(0, 990px);
  justify-content: start;
  margin-top: clamp(32px, 5vw, 56px);
}
.plate {
  background: var(--blue);
  color: var(--white);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}
.plate__label {
  font-size: 12px;
  font-stretch: 84%;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C9D0F5;
  margin: 0 0 8px;
}
.plate address { font-style: normal; font-size: 15px; line-height: 1.5; }
.plate address span { white-space: nowrap; }
.plate address strong { font-weight: 650; display: block; }
.plate__tel { font-size: 15.5px; line-height: 1.5; }
.plate__tel b { font-weight: 650; font-stretch: 84%; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: #C9D0F5; display: block; }
.plate .dots { background-image: radial-gradient(circle, rgba(255,255,255,.55) 1.7px, transparent 2.1px); }

.hero__media { margin: 0; position: relative; background: var(--grey-150); aspect-ratio: 990 / 356; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption, .tile figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  font-stretch: 84%;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 12px 6px;
}

/* ---------- Eckdaten ---------- */
.facts { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--grey-150); border-bottom: 1px solid var(--grey-150); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}
.facts__grid > div { padding: 26px 24px 26px 0; }
.facts__grid > div + div { padding-left: 24px; border-left: 1px solid var(--grey-150); }
.facts dt {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-stretch: 70%;
  font-weight: 780;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 10px;
  white-space: nowrap;
}
.facts dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--grey-50); }

.sechead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.pos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 13px;
  font-stretch: 84%;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.pos__no {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  letter-spacing: 0;
  font-size: 14px;
}
.pos .dots { flex: 1 1 auto; min-width: 40px; }
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-stretch: 70%;
  font-weight: 790;
  text-transform: uppercase;
  line-height: 1;
}
.sechead__text { color: var(--muted); font-size: 1.06rem; max-width: 34em; }

/* ---------- Technik ---------- */
.processes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.process { background: var(--white); border: 1px solid var(--grey-150); display: flex; flex-direction: column; }
.process__media { margin: 0; aspect-ratio: 3 / 2; background: var(--grey-150); overflow: hidden; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.process__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.process__no { font-size: 13px; font-stretch: 84%; font-weight: 650; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; margin: 0; }
.process h3 { font-size: 1.75rem; font-stretch: 76%; font-weight: 760; text-transform: uppercase; }
.process__claim { font-weight: 600; color: var(--ink); margin: 0; }
.process p { color: var(--muted); }
.process__ask { margin-top: auto; padding-top: 8px; color: var(--ink) !important; font-weight: 500; }

/* Bemaßung 6500 mm */
.dim { margin-top: auto; padding-top: 14px; }
.dim__line {
  position: relative;
  height: 22px;
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}
.dim__line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 2px solid var(--blue);
}
.dim__line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(50% - 5px);
  height: 12px;
  background:
    linear-gradient(to top right, transparent 46%, var(--blue) 50%, transparent 56%) left / 12px 6px no-repeat,
    linear-gradient(to bottom right, transparent 46%, var(--blue) 50%, transparent 56%) left bottom / 12px 6px no-repeat,
    linear-gradient(to top left, transparent 46%, var(--blue) 50%, transparent 56%) right / 12px 6px no-repeat,
    linear-gradient(to bottom left, transparent 46%, var(--blue) 50%, transparent 56%) right bottom / 12px 6px no-repeat;
  background-position: left top, left bottom, right top, right bottom;
}
.dim__value {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 1.5rem;
  font-stretch: 70%;
  font-weight: 780;
  color: var(--blue);
  line-height: 1;
}
.dim__note { display: block; text-align: center; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Material */
.material {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--ink);
  color: #E4E6EC;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
}
.material__text { padding: clamp(28px, 4vw, 48px); }
.material__text .pos { color: #9FB0FF; }
.material h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 72%; font-weight: 780; text-transform: uppercase; margin-bottom: 14px; }
.material__text p { color: #C3C6D0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.chips li {
  border: 1px solid #3A3E4C;
  padding: 6px 12px;
  font-size: 14px;
  font-stretch: 88%;
  font-weight: 560;
  letter-spacing: .04em;
  color: var(--white);
}
.grades {
  background: var(--blue);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.grades__label { font-size: 13px; font-stretch: 84%; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: #C9D0F5; margin: 0; }
.grades__list { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.grades__list li {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-stretch: 66%;
  font-weight: 800;
  line-height: .95;
  color: var(--white);
  white-space: nowrap;
}
.grades p:last-child { color: #DCE1FA; font-size: 15px; }

/* ---------- Einblicke (Galerie) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tile { margin: 0; position: relative; aspect-ratio: 12 / 5; background: var(--grey-150); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Produkte (blau) ---------- */
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue .pos { color: #C9D0F5; }
.section--blue .pos .dots { background-image: radial-gradient(circle, rgba(255,255,255,.5) 1.7px, transparent 2.1px); }
.section--blue .sechead__text { color: #DCE1FA; }

.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.product + .product { margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--blue-line); }
.product h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-stretch: 72%; font-weight: 780; text-transform: uppercase; margin-bottom: 18px; }
.product h3 small { display: block; font-size: 14px; font-stretch: 84%; font-weight: 650; letter-spacing: .16em; color: #C9D0F5; margin-bottom: 10px; }
.product p { color: #E6E9FB; font-size: 1.06rem; }
.product__note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--blue-line); }
.product__note b { display: block; font-size: 13px; font-stretch: 84%; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: #C9D0F5; margin-bottom: 6px; }
.product__lead { color: var(--white) !important; font-weight: 600; font-size: 1.2rem !important; line-height: 1.45; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.frame { margin: 0; background: var(--white); padding: 8px; }
.frame__img { aspect-ratio: 3 / 2; background: var(--grey-150); overflow: hidden; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { color: var(--ink); font-size: 13px; font-stretch: 88%; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 9px 4px 2px; }
.pair__caption { grid-column: 1 / -1; color: #DCE1FA; font-size: 14.5px; margin: 2px 0 0; }

.delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }

/* ---------- Unternehmen ---------- */
.company { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.company__intro > p { font-size: 1.08rem; color: var(--muted); }
.company__intro > p:first-of-type { color: var(--ink); font-size: 1.22rem; line-height: 1.5; font-weight: 500; }
.prints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; max-width: 520px; }
.print--lead { grid-column: 1 / -1; }
.print { margin: 0; background: var(--white); padding: 6px 6px 0; border: 1px solid var(--grey-150); box-shadow: 0 1px 0 var(--grey-150); }
.print__img { aspect-ratio: 3 / 2; background: var(--grey-150); overflow: hidden; }
.print__img img { width: 100%; height: 100%; object-fit: cover; }
.prints__caption { margin: 0;  grid-column: 1 / -1; font-size: 13px; font-stretch: 88%; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.timeline__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 72%; font-weight: 780; text-transform: uppercase; color: var(--blue); margin-bottom: 26px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px; left: 7px;
  width: 6px;
  background-image: radial-gradient(circle, var(--grey) 1.7px, transparent 2.1px);
  background-size: 6px 9px;
  background-repeat: repeat-y;
}
.timeline li { position: relative; padding: 0 0 30px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
}
.timeline__year {
  display: block;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-stretch: 68%;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}
.timeline__year--text { font-size: clamp(1.25rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: .02em; }
.timeline p { color: var(--muted); margin-bottom: .6em; }
.timeline .machine { color: var(--ink); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.titleblock { border: 2px solid var(--ink); display: grid; grid-template-columns: 150px minmax(0, 1fr); margin: 0; }
.titleblock dt, .titleblock dd { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--ink); }
.titleblock dt {
  border-right: 1px solid var(--ink);
  font-size: 12.5px;
  font-stretch: 84%;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.titleblock dd { font-size: 1.15rem; font-weight: 500; overflow-wrap: anywhere; }
.titleblock dd.big { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-stretch: 76%; font-weight: 760; color: var(--blue); }
.titleblock dt:nth-last-of-type(1), .titleblock dd:nth-last-of-type(1) { border-bottom: 0; }
.contact__side .frame { padding: 0; background: none; }
.contact__photo { aspect-ratio: 12 / 5; background: var(--grey-150); overflow: hidden; max-width: 560px; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact__side p { color: var(--muted); margin-top: 20px; }

/* ---------- Fuß ---------- */
.footer { background: var(--grey-50); border-top: 1px solid var(--grey-150); padding: 48px 0 40px; font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.footer__brand img { width: 240px; height: auto; margin-bottom: 18px; }
.footer address { font-style: normal; line-height: 1.6; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.footer__links a { color: var(--ink); text-decoration: none; font-stretch: 88%; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.footer__links a:hover { color: var(--blue); }

/* ---------- Rechtliche Seiten ---------- */
.pagehead { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.backlink { display: inline-block; margin-bottom: 18px; font-size: 14px; font-stretch: 88%; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-stretch: 68%; font-weight: 800; text-transform: uppercase; line-height: 1; }
.legal { padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 9vw, 112px); }
.legal .wrap > * { max-width: 760px; }
.legal h2 { font-size: 1rem; font-stretch: 84%; font-weight: 680; letter-spacing: .12em; color: var(--blue); margin: 32px 0 8px; }
.legal p { color: var(--ink); }
.legal .small { color: var(--muted); font-size: 15px; }
.hinweis {
  background: var(--note-bg);
  border-left: 5px solid var(--note-line);
  padding: 16px 20px;
  margin-top: 36px;
  color: #3D3410;
  font-weight: 500;
}

/* ---------- Responsiv ---------- */
@media (min-width: 1024px) {
  .masthead { position: sticky; top: 0; box-shadow: 0 1px 0 var(--grey-150); }
  .masthead > .wrap > .dots { display: none; }
  .company__intro { position: sticky; top: 130px; }
  :target { scroll-margin-top: 110px; }
}

@media (max-width: 1100px) {
  .hero__band { grid-template-columns: 236px minmax(0, 1fr); }
  .plate { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__title { font-size: clamp(2.05rem, 6.4vw, 3.6rem); }
  .hero__aside { max-width: 600px; }
  .hero__band { grid-template-columns: minmax(0, 1fr); max-width: 1000px; }
  .hero__band .plate { order: 2; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; }
  .hero__band .plate .dots { display: none; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts__grid > div:nth-child(n+3) { border-top: 1px solid var(--grey-150); }
  .sechead { grid-template-columns: minmax(0, 1fr); }
  .material { grid-template-columns: minmax(0, 1fr); }
  .product, .company, .contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .masthead__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 14px; padding-bottom: 10px; }
  .brand img { width: 230px; }
  .nav { width: 100%; justify-content: flex-start; gap: 10px; }
  .nav a { font-size: 13.5px; letter-spacing: .05em; padding: 9px 7px; }
  .nav a:first-child { padding-left: 0; }
  .nav a.nav__cta { margin-left: 0; padding: 9px 12px; }
}

@media (max-width: 520px) {
  .nav { justify-content: space-between; gap: 0; }
}

@media (max-width: 370px) {
  .nav a { font-size: 12.5px; letter-spacing: .03em; padding: 8px 4px; }
  .nav a.nav__cta { padding: 8px 8px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .processes { grid-template-columns: minmax(0, 1fr); }
  .process__body { padding: 22px 20px 26px; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pair, .delivery { gap: 8px; }
  .frame { padding: 5px; }
  .frame figcaption { font-size: 11.5px; letter-spacing: .04em; padding: 7px 2px 1px; }
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .titleblock dt { border-right: 0; border-bottom: 0; padding: 12px 16px 0; }
  .titleblock dd { padding: 2px 16px 14px; }
  .titleblock dt:nth-last-of-type(1) { border-bottom: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero__media { aspect-ratio: 16 / 9; }
  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .facts__grid > div, .facts__grid > div + div { padding: 18px 0; border-left: 0; }
  .facts__grid > div + div { border-top: 1px solid var(--grey-150); }
  .prints { gap: 6px; }
  .print { padding: 4px 4px 0; }
}
