:root {
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-soft: #cad9df;
  --ink: #181823;
  --muted: #5b626b;
  --line: rgba(24, 24, 35, 0.18);
  --accent: #b5524c;
  --accent-strong: #963b35;
  --on-accent: #ffffff;
  --header-bg: rgba(244, 241, 235, 0.92);
  --header-ink: #181823;
  --dark: #151719;
  --on-dark: #f8f5ef;
  --radius: 0;
  --radius-small: 0;
  --shadow: 0 22px 60px rgba(16, 18, 20, 0.12);
  --container: 1240px;
  --section-space: clamp(5rem, 9vw, 9rem);
  --h1: clamp(3rem, 6.3vw, 6.8rem);
  --h2: clamp(2rem, 4vw, 4.25rem);
  --h3: clamp(1.25rem, 2vw, 1.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-soft);
}

figure,
h1,
h2,
h3,
p {
  margin-top: 0;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 85%, white);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  color: var(--header-ink);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  min-height: 88px;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  line-height: 1;
}

.brand__logo {
  width: clamp(165px, 15vw, 215px);
  height: auto;
  background: transparent;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.8rem, 1.7vw, 1.8rem);
  font-size: 0.9rem;
}

.site-nav a,
.header-phone {
  position: relative;
  padding-block: 0.5rem;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-phone {
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 5px;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-small);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.button--primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.button--ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.button--light {
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.button--light:hover {
  background: var(--on-dark);
  color: var(--dark);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: var(--h1);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: var(--h2);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: var(--h3);
}

.lede,
.home-hero__content > p:not(.eyebrow),
.section-heading > p:last-child {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: min(840px, calc(100svh - 88px));
  overflow: clip;
  background: var(--dark);
  color: var(--on-dark);
}

.home-hero__media,
.home-hero__content,
.trust-strip {
  grid-area: 1 / 1;
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 11, 0.9) 0%, rgba(8, 10, 11, 0.52) 46%, rgba(8, 10, 11, 0.08) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: 7rem 10rem;
}

.home-hero__content h1 {
  max-width: 930px;
}

.home-hero__content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.home-hero .button--ghost {
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.home-hero .button--ghost:hover {
  background: var(--on-dark);
  color: var(--dark);
}

.trust-strip {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-strip span {
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.video-control {
  position: absolute;
  z-index: 3;
  right: 2.5rem;
  bottom: 2.5rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 0.8rem;
}

.page-hero {
  padding-block: clamp(3.5rem, 7vw, 7rem);
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.page-hero__copy h1 {
  font-size: clamp(3rem, 5.8vw, 6.2rem);
}

.page-hero__media {
  position: relative;
  min-height: 640px;
  box-shadow: var(--shadow);
}

.page-hero__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.7rem;
}

.page-hero--compact {
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.page-hero--compact .page-hero__media {
  min-height: 440px;
}

.section {
  padding-block: var(--section-space);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section--services {
  background: var(--surface-soft);
}

.section--projects {
  background: var(--surface);
}

.section--process {
  background: var(--dark);
  color: var(--on-dark);
}

.section--process .section-heading > p:last-child,
.section--process .process-grid p {
  color: rgba(255, 255, 255, 0.62);
}

.section-heading {
  display: grid;
  max-width: 900px;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-rows: auto 260px auto auto 1fr;
  gap: 1rem;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  transition: transform 200ms ease, background 200ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--surface);
  transform: translateY(-6px);
}

.service-card__number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card figure {
  overflow: hidden;
}

.service-card figure img,
.project-card figure img,
.article-card figure img {
  transition: transform 500ms ease;
}

.service-card:hover figure img,
.project-card:hover figure img,
.article-card:hover figure img {
  transform: scale(1.035);
}

.service-card p,
.project-card p,
.article-card p,
.process-grid p,
.value-grid p {
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) 1.5rem;
}

.project-card figure {
  height: clamp(360px, 45vw, 620px);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--surface-soft);
}

.project-card:nth-child(4n + 2) figure,
.project-card:nth-child(4n + 3) figure {
  height: clamp(300px, 38vw, 520px);
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 26ch;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.process-grid article {
  min-height: 280px;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.process-grid article > span,
.value-grid article > span {
  display: block;
  margin-bottom: 4rem;
  color: var(--surface-soft);
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.split-panel,
.feature-grid,
.story-grid,
.local-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.split-panel figure,
.feature-grid figure,
.story-grid figure {
  height: 680px;
}

.check-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.final-cta {
  padding-block: clamp(3.5rem, 7vw, 7rem);
  background: var(--accent);
  color: var(--on-accent);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.final-cta h2 {
  max-width: 18ch;
}

.final-cta p {
  max-width: 64ch;
}

.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-bar button {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
}

.filter-bar button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.filter-status {
  margin: -2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.case-meta > div {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-meta span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: clamp(3rem, 8vw, 9rem);
}

.article-layout > article {
  max-width: 760px;
}

.article-layout > aside,
.article-aside,
.area-card {
  position: sticky;
  top: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 420px;
  gap: 1rem;
}

.gallery-grid img:nth-child(3n + 1) {
  grid-row: span 2;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  cursor: pointer;
}

.faq details p {
  max-width: 70ch;
  padding-bottom: 1.5rem;
  color: var(--muted);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 8rem);
}

.calculator-form {
  display: grid;
  gap: 3rem;
}

.calculator-form__header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.calculator-form__header p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.calculator-fields {
  display: grid;
  gap: 0.45rem;
}

.calculator-fields label {
  margin-bottom: 1.25rem;
}

.calculator-fields :where(input, select) {
  width: min(100%, 300px);
}

.required-marker {
  margin-left: 0.12em;
  color: #cf423a;
}

.field-help,
.field-error {
  width: min(100%, 300px);
  font-size: 0.75rem;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
}

.field-help {
  color: var(--muted);
}

.field-error {
  width: fit-content;
  max-width: min(100%, 420px);
  padding: 0.45rem 0.65rem;
  border-radius: 3px;
  background: #cf423a;
  color: #fff;
}

.field-error:empty {
  display: none;
}

.calculator-fields input[aria-invalid="true"] {
  border-color: #cf423a;
}

.form-section {
  position: relative;
  padding-left: 4rem;
}

.form-step {
  position: absolute;
  top: 0.4rem;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  position: relative;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

input:not([type="checkbox"]):not([type="range"]),
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

textarea {
  resize: vertical;
}

label small {
  position: absolute;
  right: 0;
  bottom: 0.85rem;
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calculator-preview {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--surface-soft);
}

.calculator-preview strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.calculator-price-label {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-preview small {
  margin-top: 1rem;
  color: var(--muted);
}

.calculator-preview small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.door-preview {
  position: relative;
  width: min(70%, 260px);
  aspect-ratio: 0.55;
  margin: 0 auto 2rem;
  border: 8px solid var(--dark);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.door-preview::before,
.door-preview::after,
.door-preview__pane::before,
.door-preview__pane::after {
  content: "";
  position: absolute;
  background: var(--dark);
}

.door-preview::before {
  top: 33%;
  left: 0;
  width: 100%;
  height: 5px;
}

.door-preview::after {
  top: 66%;
  left: 0;
  width: 100%;
  height: 5px;
}

.door-preview__pane::before {
  top: 0;
  left: 50%;
  width: 5px;
  height: 100%;
}

.door-preview__handle {
  position: absolute;
  top: 52%;
  right: 9%;
  width: 5px;
  height: 44px;
  border-radius: 999px;
  background: var(--dark);
}

.values-section {
  background: var(--surface-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.value-grid article {
  min-height: 300px;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 10rem);
}

.contact-details {
  display: grid;
  gap: 0.8rem;
}

.contact-details > a {
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--surface);
}

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 400;
}

.checkbox input {
  margin-top: 0.35rem;
}

.form-status {
  margin-top: 1rem;
  color: var(--accent-strong);
}

.article-grid {
  display: grid;
  gap: 4rem;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.article-card figure {
  height: 420px;
  overflow: hidden;
}

.article-card span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.article-card h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
}

.prose {
  font-size: 1.08rem;
}

.prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.prose figure {
  margin-block: 3rem;
}

.prose figure img {
  max-height: 720px;
}

.prose figcaption {
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.lead-paragraph {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.5;
}

.article-aside {
  display: grid;
  gap: 1rem;
}

.area-card h2 {
  font-size: clamp(2.5rem, 6vw, 6rem);
}

.legal {
  max-width: 800px;
  margin-inline: auto;
}

.notice {
  margin-top: 3rem;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
}

.not-found {
  display: grid;
  min-height: 65vh;
  align-items: center;
  text-align: center;
}

.not-found .actions {
  justify-content: center;
}

.page-hero--text .page-hero__grid {
  grid-template-columns: minmax(0, 860px);
}

.page-hero--text .page-hero__copy h1 {
  max-width: 12ch;
}

.home-hero__video,
.home-hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-section {
  background: var(--surface);
}

.material-lab {
  display: grid;
  gap: 2rem;
}

.material-lab__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.material-lab__head h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.material-lab__tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.material-lab__tabs button {
  min-width: 92px;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
}

.material-lab__tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

.material-lab__samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.material-lab__samples article {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.material-lab__samples h3 {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.material-lab__samples p,
.material-lab__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.material-sample {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 130px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d6d3cc;
  box-shadow: 0 14px 28px rgba(20, 18, 16, 0.1);
}

.sample--black {
  background: linear-gradient(135deg, #080909, #242627 55%, #0c0d0d);
}

.sample--graphite {
  background: linear-gradient(105deg, #3a3b3d, #626367 48%, #292a2c);
}

.sample--wine {
  background: linear-gradient(135deg, #571119, #952b34 50%, #62141b);
}

.sample--white {
  background: linear-gradient(135deg, #eeece6, #fff 55%, #d4d1ca);
}

.sample--clear {
  background: linear-gradient(135deg, rgba(220, 239, 238, 0.5), rgba(255, 255, 255, 0.04) 48%, rgba(174, 205, 204, 0.4));
  backdrop-filter: blur(1px);
}

.sample--ribbed {
  background: repeating-linear-gradient(90deg, rgba(225, 239, 236, 0.82) 0 4px, rgba(135, 166, 162, 0.42) 5px 7px, rgba(255, 255, 255, 0.7) 8px 12px);
}

.sample--milk {
  background: linear-gradient(145deg, #f2f3ef, #d8dedb 52%, #f8f7f2);
}

.sample--smoke {
  background: linear-gradient(135deg, rgba(67, 62, 57, 0.62), rgba(159, 152, 142, 0.45) 50%, rgba(45, 43, 40, 0.7));
}

.sample--handle,
.sample--muntin,
.sample--hinge,
.sample--custom {
  background-color: #d9d3ca;
  background-image: linear-gradient(90deg, transparent 46%, #202020 46% 54%, transparent 54%), linear-gradient(#ede8df, #c9c0b3);
}

.sample--muntin {
  background-image: linear-gradient(90deg, transparent 46%, #202020 46% 54%, transparent 54%), linear-gradient(transparent 46%, #202020 46% 54%, transparent 54%), linear-gradient(#eeeae1, #cac2b7);
}

.sample--hinge {
  background-image: radial-gradient(circle at 50% 35%, #202020 0 8%, transparent 9%), linear-gradient(90deg, transparent 43%, #202020 43% 57%, transparent 57%), linear-gradient(#eeeae1, #c8c0b5);
}

.sample--custom {
  background-image: conic-gradient(from 45deg, #171819, #89212a, #e7e3da, #3a3d40, #171819);
}

.forma-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: minmax(260px, 1fr) minmax(180px, 0.58fr) auto;
  min-width: 0;
  border: 1px solid var(--line);
}

.forma-mosaic figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.forma-mosaic figure img {
  min-height: 100%;
  filter: grayscale(1) contrast(1.08);
}

.forma-mosaic figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.7rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.forma-mosaic__main {
  grid-row: span 2;
}

.forma-mosaic__index {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.forma-mosaic__index a {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
}

.forma-mosaic__index strong {
  font-family: var(--font-display);
  font-size: 2rem;
}

.local-map {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #edf1f0;
}

.local-map__drawing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.local-map__river {
  fill: none;
  stroke: #b7cbd0;
  stroke-width: 30;
}

.local-map__roads {
  fill: none;
  stroke: #c9d2d3;
  stroke-width: 2;
}

.local-map__roads path:last-child {
  stroke-width: 5;
}

.local-map__city {
  position: absolute;
  z-index: 1;
  color: #40494b;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.local-map__city--warsaw {
  top: 23%;
  right: 10%;
}

.local-map__city--pruszkow {
  bottom: 18%;
  left: 10%;
}

.local-map__note {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.75rem;
  margin: 0;
  color: #596366;
  font-size: 0.68rem;
}

.map-project {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 165px;
  padding: 0.45rem;
  border: 1px solid rgba(28, 32, 33, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(29, 39, 41, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-project:hover,
.map-project:focus-visible {
  z-index: 5;
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(29, 39, 41, 0.22);
}

.map-project img {
  aspect-ratio: 5 / 4;
}

.map-project strong {
  padding: 0.45rem 0.3rem 0.2rem;
  font-size: 0.83rem;
}

.map-project__pin {
  position: absolute;
  z-index: 3;
  top: -20px;
  left: -20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #b63729;
  color: #fff;
  font-weight: 800;
  text-indent: 1px;
}

.map-project--one {
  top: 11%;
  left: 43%;
}

.map-project--two {
  top: 43%;
  left: 27%;
}

.map-project--three {
  right: 12%;
  bottom: 7%;
}

.project-focus figure {
  display: grid;
  gap: 0.75rem;
}

.project-focus img {
  max-height: 900px;
  object-position: 50% 48%;
}

.project-focus figcaption {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  padding-top: 5rem;
  background: var(--dark);
  color: var(--on-dark);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
}

.site-footer__grid > div {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.site-footer h2 {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer .brand__logo {
  filter: invert(1);
}

.site-footer p,
.site-footer span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.site-footer .brand small {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
}

.concept-switcher {
  position: fixed;
  z-index: 500;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(16, 18, 20, 0.92);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.concept-switcher__label {
  padding-inline: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concept-switcher button {
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.72rem;
}

.concept-switcher button[aria-pressed="true"] {
  background: var(--accent);
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    z-index: 50;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-phone {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-lab__samples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 4.5rem;
    --h1: clamp(2.7rem, 13vw, 4.8rem);
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand__logo {
    width: 158px;
  }

  .header-cta {
    display: none;
  }

  .home-hero {
    min-height: 780px;
  }

  .home-hero__media::after {
    background: linear-gradient(180deg, rgba(8, 10, 11, 0.3), rgba(8, 10, 11, 0.92) 68%);
  }

  .home-hero__content {
    align-self: end;
    padding-block: 5rem 12rem;
  }

  .home-hero__content h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-bottom: 0.75rem;
  }

  .trust-strip span {
    padding: 0.55rem 0;
    border-right: 0;
    font-size: 0.72rem;
  }

  .video-control {
    top: 1rem;
    right: 1rem;
    bottom: auto;
  }

  .page-hero__grid,
  .split-panel,
  .feature-grid,
  .story-grid,
  .local-grid,
  .contact-layout,
  .calculator-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .page-hero__media,
  .page-hero--compact .page-hero__media {
    min-height: 460px;
  }

  .service-grid,
  .project-grid,
  .process-grid,
  .value-grid,
  .case-meta,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-rows: auto 340px auto auto 1fr;
  }

  .project-card figure,
  .project-card:nth-child(4n + 2) figure,
  .project-card:nth-child(4n + 3) figure {
    height: 480px;
  }

  .process-grid article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .process-grid article > span,
  .value-grid article > span {
    margin-bottom: 2rem;
  }

  .split-panel figure,
  .feature-grid figure,
  .story-grid figure {
    height: 520px;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 430px;
  }

  .gallery-grid img:nth-child(3n + 1) {
    grid-row: auto;
  }

  .case-meta > div {
    padding: 1rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding-left: 2.5rem;
  }

  .calculator-fields :where(input, select),
  .field-help,
  .field-error {
    width: 100%;
  }

  .calculator-preview,
  .article-layout > aside,
  .article-aside,
  .area-card {
    position: static;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card figure {
    height: 360px;
  }

  .material-lab__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .material-lab__tabs {
    width: 100%;
    overflow-x: auto;
  }

  .material-lab__tabs button {
    flex: 1 0 auto;
  }

  .material-lab__samples {
    grid-template-columns: repeat(4, minmax(190px, 76vw));
    overflow-x: auto;
    padding: 0 1px 1rem;
    scroll-snap-type: x mandatory;
  }

  .material-lab__samples article {
    scroll-snap-align: start;
  }

  .forma-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .forma-mosaic__main {
    grid-row: auto;
  }

  .forma-mosaic figure {
    height: 320px;
  }

  .forma-mosaic__index {
    grid-column: auto;
  }

  .forma-mosaic__index a {
    min-width: 0;
    min-height: 76px;
    padding: 0.8rem;
  }

  .forma-mosaic__index strong {
    font-size: 1.35rem;
  }

  .forma-mosaic__index span {
    display: none;
  }

  .local-map {
    display: grid;
    grid-auto-columns: min(78vw, 310px);
    grid-auto-flow: column;
    gap: 1rem;
    min-height: 660px;
    padding: 360px 1rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .local-map__drawing {
    height: 340px;
  }

  .local-map__city--warsaw {
    top: 70px;
  }

  .local-map__city--pruszkow {
    top: 275px;
    bottom: auto;
  }

  .local-map__note {
    top: 310px;
    right: 1rem;
    bottom: auto;
  }

  .map-project,
  .map-project--one,
  .map-project--two,
  .map-project--three {
    position: relative;
    inset: auto;
    width: auto;
    scroll-snap-align: start;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .concept-switcher {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    justify-content: center;
    overflow-x: auto;
  }

  .concept-switcher__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
