:root {
  --ink: #071015;
  --paper: #f8f4ed;
  --gold: #d69b3a;
  --gold-dark: #b77b22;
  --line: #d5c9b8;
  --muted: #5e5a54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
}

img {
  display: block;
}

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

.section-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

[id] {
  scroll-margin-top: 132px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  background: rgb(7 16 21 / 95%);
  color: white;
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(100% - 48px, 1180px);
  height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  max-width: 315px;
  height: 88px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-button,
.primary-button,
.secondary-button,
.outline-button,
.dark-button,
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-button,
.primary-button {
  background: var(--gold);
  color: white;
  border: 1px solid var(--gold);
}

.secondary-button {
  color: white;
  border: 2px solid rgb(255 255 255 / 80%);
}

.outline-button {
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.dark-button {
  background: var(--ink);
  color: white;
}

.phone-button {
  color: var(--ink);
  border: 2px solid var(--ink);
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--ink);
}

.hero-media.single {
  grid-template-columns: 1fr;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-media img:first-child {
  opacity: 0.72;
}

.hero-media:not(.single) img:last-child {
  opacity: 0.76;
  border-left: 4px solid rgb(255 255 255 / 80%);
}

.hero-media.single img {
  opacity: 0.94;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgb(0 0 0 / 72%),
    rgb(0 0 0 / 36%),
    rgb(0 0 0 / 4%)
  );
}

.hero-inner {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  padding: 118px 0;
}

.hero-copy {
  max-width: 690px;
  padding-top: 22px;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

.eyebrow.black {
  color: var(--ink);
}

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

h1 {
  margin: 20px 0 0;
  max-width: 780px;
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy > p:last-of-type {
  margin-top: 20px;
  max-width: 620px;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.25;
  font-weight: 600;
}

.hero-tagline {
  display: block;
  width: fit-content;
  margin-top: 16px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--gold);
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.facts {
  background: var(--ink);
  color: white;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 28px 0;
}

.fact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.fact + .fact {
  border-left: 1px solid rgb(255 255 255 / 22%);
  padding-left: 48px;
}

.fact span {
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  flex-shrink: 0;
}

.line-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.fact p {
  margin: 4px 0 0;
  color: rgb(255 255 255 / 76%);
}

.dark-section {
  background:
    radial-gradient(circle at 10% 20%, rgb(202 145 48 / 12%), transparent 28%),
    linear-gradient(135deg, #071015, #101a1f);
  color: white;
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 64px;
}

.gold-line {
  display: block;
  width: 128px;
  height: 4px;
  margin-top: 32px;
  background: var(--gold);
}

.lead {
  margin-top: 36px;
  color: rgb(255 255 255 / 76%);
  font-size: 20px;
  line-height: 1.65;
}

.philosophy-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.philosophy-list article:first-child {
  padding-top: 0;
}

.philosophy-list span {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.philosophy-list .line-icon svg {
  width: 27px;
  height: 27px;
}

.philosophy-list h3 {
  font-size: 20px;
  text-transform: uppercase;
}

.philosophy-list p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 72%);
  line-height: 1.6;
}

.light-section,
.white-section {
  padding: 56px 0;
}

.white-section {
  background: white;
}

.section-heading {
  max-width: 760px;
}

.service-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card > div {
  padding: 18px;
}

.service-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.service-card h3 {
  margin-top: 0;
  font-size: clamp(19px, 1.65vw, 22px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.service-card-long h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.1;
  hyphens: none;
}

.service-card-long h3 span {
  display: block;
}

.service-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
}

.service-card li::before {
  content: "-";
  margin-right: 12px;
  color: var(--gold-dark);
  font-weight: 900;
}

.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  flex-wrap: wrap;
}

.reference-project {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-images img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, box-shadow 220ms ease;
  z-index: 1;
}

.project-images img:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 42px rgb(0 0 0 / 26%);
  z-index: 2;
}

.project-images img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}


.contact-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dba54c, #bd8128);
  padding: 58px 0;
}

.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-section::before {
  left: 33%;
  top: 8%;
  width: 34%;
  height: 84%;
  background: url("assets/baustellen-struktur.svg") center / contain no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.46;
}

.contact-section::after {
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 7%), transparent 34%, transparent 66%, rgb(0 0 0 / 7%));
  opacity: 0.38;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
}

.contact-grid p {
  margin-top: 28px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

.legal-hero {
  background: var(--ink);
  color: white;
  padding: 96px 0 72px;
}

.legal-hero h1 {
  max-width: 900px;
  margin-top: 12px;
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.9;
  text-transform: uppercase;
}

.legal-content {
  max-width: 980px;
}

.legal-content article {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content article:first-child {
  padding-top: 0;
}

.legal-content h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.legal-content p {
  max-width: 820px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--gold-dark);
  font-weight: 900;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 52px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr 0.9fr 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.site-footer p {
  margin-top: 16px;
  color: rgb(255 255 255 / 72%);
  font-size: 15px;
  line-height: 1.55;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer .logo img {
  max-width: 260px;
  height: 74px;
}

.footer-brand {
  padding-right: 52px;
  border-right: 1px solid rgb(255 255 255 / 20%);
}

.site-footer p a {
  color: rgb(255 255 255 / 72%);
}

.site-footer p a:hover {
  color: white;
}

.site-footer .footer-cta {
  display: inline-flex;
  min-height: 50px;
  margin-top: 0;
  padding: 14px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-action {
  justify-self: end;
}

.footer-action p {
  margin-top: 20px;
  color: rgb(255 255 255 / 62%);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 700px) {
  html {
    scroll-padding-top: 112px;
  }

  [id] {
    scroll-margin-top: 112px;
  }

  .section-inner,
  .header-inner {
    width: min(100% - 32px, 1280px);
  }

  .header-inner {
    min-height: 88px;
    padding: 10px 0;
    gap: 12px;
  }

  .logo img {
    max-width: 190px;
    height: 58px;
  }

.access-panel::after {
    left: 24px;
    right: 24px;
  }

.access-panel h1 {
    font-size: 40px;
  }

.nav-button {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero {
    background: #071015;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .hero-media img {
    object-fit: cover;
    object-position: 50% center;
  }

  .hero-media.single img {
    opacity: 0.9;
    transform: scale(1);
  }

  .hero-shade {
    display: block;
    background:
      linear-gradient(180deg, rgb(0 0 0 / 24%), rgb(0 0 0 / 72%)),
      linear-gradient(90deg, rgb(0 0 0 / 68%), rgb(0 0 0 / 16%));
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10.1vw, 46px);
    line-height: 1;
  }

  .hero-copy > p:last-of-type {
    max-width: 94%;
    font-size: 19px;
    line-height: 1.32;
  }

  .eyebrow {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .button-row {
    gap: 12px;
  }

  .primary-button,
  .secondary-button,
  .outline-button,
  .dark-button,
  .phone-button {
    width: 100%;
    min-height: 50px;
  }

  .heading-row {
    align-items: start;
  }

  .heading-row .outline-button {
    width: 100%;
  }

  .facts-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .project-images img:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .fact + .fact {
    border-left: 0;
    padding-left: 0;
  }

  .hero,
  .hero-inner {
    min-height: 700px;
  }

  .hero-inner {
    align-items: end;
    padding: 130px 0 50px;
  }

  .facts-grid {
    gap: 18px;
    padding: 24px 0;
  }

  .fact {
    gap: 16px;
  }

  .fact span {
    width: 48px;
    height: 48px;
  }

  .service-grid {
    gap: 16px;
  }

  .service-card img {
    aspect-ratio: 16 / 10;
  }

  .service-card > div {
    padding: 16px;
  }

  .service-card h3,
  .service-card-long h3 {
    font-size: 22px;
  }

  .split {
    gap: 36px;
  }

  .lead {
    font-size: 18px;
    line-height: 1.5;
  }

  .philosophy-list article {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .philosophy-list h3 {
    font-size: 17px;
  }

  .contact-grid {
    gap: 30px;
  }

  .contact-section::before {
    left: 18%;
    top: 18%;
    width: 64%;
    height: 40%;
    opacity: 0.32;
  }

  .contact-grid p {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.45;
  }

  .light-section,
  .white-section,
  .dark-section,
  .contact-section {
    padding: 46px 0;
  }

  .site-footer {
    padding: 42px 0 36px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-brand {
    padding-right: 0;
    border-right: 0;
  }

  .site-footer .logo img {
    max-width: 220px;
    height: 64px;
  }

  .footer-action {
    justify-self: start;
  }

  .site-footer .footer-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .section-inner,
  .header-inner {
    width: min(100% - 24px, 1280px);
  }

  .logo img {
    max-width: 168px;
    height: 52px;
  }

  .nav-button {
    padding: 9px 10px;
    font-size: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 9.4vw, 38px);
  }

  .hero-copy > p:last-of-type {
    font-size: 18px;
  }

  .hero,
  .hero-inner {
    min-height: 660px;
  }
}

/* Content carried over from the second concept, expressed in the first design. */
h2 em {
  color: var(--gold-dark);
  font-style: normal;
}

.dark-section h2 em {
  color: var(--gold);
}

.positioning-section {
  padding: 82px 0;
}

.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 84px;
  align-items: end;
}

.positioning-heading h2 {
  max-width: 610px;
}

.positioning-location {
  width: fit-content;
  margin: 26px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--gold);
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.positioning-lead {
  margin: 0;
  max-width: 680px;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.42;
  font-weight: 700;
}

.positioning-points {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.positioning-points li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.positioning-points li:last-child {
  border-bottom: 1px solid var(--line);
}

.positioning-points span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.positioning-points strong {
  font-size: 16px;
  text-transform: uppercase;
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-color: #d9cebd;
  background: #fffdf9;
  box-shadow: 0 10px 32px rgb(7 16 21 / 5%);
}

.service-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card ul {
  margin-top: 16px;
  padding-top: 0;
}

.service-card li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 7px;
  margin-top: 0;
  padding: 7px 0;
  border-top: 1px solid rgb(213 201 184 / 70%);
  font-size: 14px;
  line-height: 1.4;
}

.service-card li::before {
  margin-right: 0;
}

.reference-summary {
  max-width: 850px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.about-section {
  border-top: 1px solid var(--line);
  padding: 78px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 78px;
}

.about-story-grid header h2 {
  max-width: 530px;
}

.about-copy {
  max-width: 700px;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.about-copy .about-lead {
  color: var(--ink);
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.45;
  font-weight: 700;
}

.about-copy .outline-button {
  margin-top: 10px;
}

.project-process {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2.28fr);
  gap: 58px;
  margin-top: 72px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.process-heading h3 {
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 16px;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-steps li:nth-child(2n) {
  border-right: 0;
}

.process-steps li > span {
  grid-row: 1 / span 2;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.process-steps h4 {
  margin: 0;
  font-size: 17px;
  text-transform: uppercase;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgb(7 16 21 / 30%);
  border-bottom: 1px solid rgb(7 16 21 / 30%);
}

.contact-direct > a {
  display: grid;
  min-width: 0;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 20px 20px 0;
}

.contact-direct > a + a {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid rgb(7 16 21 / 30%);
}

.contact-direct .line-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
}

.contact-direct small,
.contact-direct p {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.contact-direct h3 {
  margin: 4px 0;
  font-size: clamp(16px, 1.45vw, 19px);
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .positioning-grid,
  .about-story-grid,
  .project-process {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .positioning-content,
  .about-copy {
    max-width: 820px;
  }
}

@media (max-width: 700px) {
  .positioning-section,
  .about-section {
    padding: 50px 0;
  }

  .positioning-grid {
    gap: 34px;
  }

  .positioning-lead {
    font-size: 20px;
  }

  .positioning-points li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .process-steps,
  .contact-direct {
    grid-template-columns: 1fr;
  }

  .project-process {
    margin-top: 52px;
  }

  .process-steps li,
  .process-steps li:nth-child(2n) {
    border-right: 0;
    padding: 22px 0;
  }

  .contact-direct > a,
  .contact-direct > a + a {
    padding: 18px 0;
    border-left: 0;
  }

  .contact-direct > a + a {
    border-top: 1px solid rgb(7 16 21 / 30%);
  }

  .form-field-wide {
    grid-column: auto;
  }
}

/* Before/after hero: construction remains the leading state, with the finish below. */
.hero-compare {
  --hero-split: 50%;
  cursor: ew-resize;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.hero-compare-layer {
  position: absolute;
  inset: 0;
}

.hero-media.hero-compare .hero-compare-layer > img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.025);
  transform-origin: center;
  transition: transform 120ms linear;
}

.hero-compare-before {
  clip-path: inset(0 calc(100% - var(--hero-split)) 0 0);
  z-index: 1;
  will-change: clip-path;
}

.hero-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--hero-split);
  z-index: 3;
  width: 2px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 34%);
  pointer-events: none;
  transform: translateX(-1px);
  will-change: left;
}

.hero-compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: rgb(7 16 21 / 94%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
  transform: translate(-50%, -50%);
}

.hero-compare-divider svg {
  width: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.hero-compare-label {
  position: absolute;
  bottom: 26px;
  z-index: 3;
  padding: 8px 10px 7px;
  border-left: 2px solid var(--gold);
  background: rgb(7 16 21 / 86%);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-compare-label-before {
  left: 24px;
}

.hero-compare-label-after {
  right: 24px;
}

.hero-compare input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  opacity: 0;
}

.hero-compare input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-compare input[type="range"]::-webkit-slider-thumb {
  width: 1px;
  height: 100%;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.hero-compare input[type="range"]::-moz-range-track {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.hero-compare input[type="range"]::-moz-range-thumb {
  width: 1px;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-compare:focus-within .hero-compare-divider span {
  outline: 3px solid rgb(230 166 52 / 62%);
  outline-offset: 4px;
}

.service-grid.service-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 42px;
}

.service-grid-five .service-card,
.service-grid-five .service-card:nth-child(n + 4) {
  grid-column: auto;
}

.service-grid-five .service-card img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.service-grid-five .service-card > div {
  padding: 17px 15px 18px;
}

.service-grid-five .service-card h3 {
  max-width: 100%;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.service-grid-five .service-card-long h3,
.service-grid-five .service-card-window h3 {
  font-size: clamp(16px, 1.22vw, 18px);
}

.service-grid-five .service-card p {
  font-size: 14px;
  line-height: 1.42;
}

.service-card-window img {
  object-position: 58% center;
}

.service-grid-five .service-image-bathroom {
  object-position: 54% center;
}

.reference-intro {
  max-width: 850px;
  margin: 26px 0 0;
  color: #292c2e;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.58;
}

.reference-categories {
  display: grid;
  gap: 60px;
  margin-top: 46px;
}

.reference-category {
  min-width: 0;
}

.reference-category-heading {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0 28px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.reference-category-heading > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.reference-category-heading .eyebrow {
  margin-bottom: 8px;
}

.reference-category-heading > div {
  min-width: 0;
}

.reference-category-heading h3 {
  max-width: 900px;
  font-size: clamp(27px, 3.4vw, 45px);
  line-height: 1.04;
  text-transform: uppercase;
}

.reference-categories .reference-project {
  display: block;
  padding: 28px 0 0;
  border-top: 0;
}

.reference-categories .reference-transform {
  width: 100%;
  overflow: hidden;
}

.reference-categories .reference-project + .reference-project {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.reference-project-heading h4 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.12;
}

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

.reference-result-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-result-grid-bath {
  grid-template-columns: 2fr 1fr 1fr;
}

.reference-result-grid-bath figure {
  aspect-ratio: 3 / 4;
}

.reference-result-grid-bath figure:first-child {
  aspect-ratio: 3 / 2;
}

.reference-result-grid.reference-result-grid-bath img {
  display: block;
  height: 100%;
  aspect-ratio: auto;
  object-position: center;
}

.reference-result-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #e8e3da;
}

.reference-result-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reference-result-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgb(7 16 21 / 78%);
  color: white;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .reference-result-grid figure:hover img {
    transform: scale(1.035);
  }
}

.about-story-grid {
  grid-template-columns: minmax(260px, 0.9fr) minmax(250px, 0.8fr) minmax(320px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.about-work-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.about-work-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 35% center;
}

.about-work-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 18px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  background: rgb(7 16 21 / 84%);
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-copy p {
  color: #292c2e;
}

@media (max-width: 1020px) {
  .about-story-grid {
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
  }

  .about-story-grid header {
    grid-column: 1 / -1;
  }

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

  .reference-result-grid-three figure:first-child {
    grid-column: 1 / -1;
  }

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

  .reference-result-grid-bath figure:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .service-grid.service-grid-five {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-grid-five .service-card,
  .service-grid-five .service-card:nth-child(n + 4) {
    grid-column: span 2;
  }

  .service-grid-five .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .service-grid-five .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .service-grid-five .service-card:last-child img {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 701px) and (max-width: 1020px) {
  .facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .fact {
    min-width: 0;
    gap: 12px;
  }

  .fact + .fact {
    padding-left: 18px;
  }

  .fact > div {
    min-width: 0;
  }

  .fact span {
    width: 44px;
    height: 44px;
  }

  .fact strong {
    font-size: 14px;
    line-height: 1.12;
  }

  .fact p {
    font-size: 12px;
    line-height: 1.3;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-media-interactive {
    position: relative;
    height: clamp(410px, 58vw, 480px);
  }

  .hero-media.hero-compare .hero-compare-layer > img {
    object-position: center;
    transform: none;
  }

  .hero-shade {
    display: none;
  }

  .hero-inner {
    align-items: start;
    padding: 48px 0 62px;
    background: var(--ink);
  }

  .hero-copy {
    max-width: 700px;
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .hero-media.hero-compare .hero-compare-layer > img {
    object-position: center;
    transform: none;
  }

  .hero-compare-divider span {
    width: 46px;
    height: 46px;
  }

  .hero-compare-label {
    bottom: 14px;
    padding: 7px 8px 6px;
    font-size: 10px;
  }

  .hero-compare-label-before {
    left: 12px;
  }

  .hero-compare-label-after {
    right: 12px;
  }

  .service-grid.service-grid-five,
  .reference-result-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .service-grid-five .service-card:last-child {
    grid-column: auto;
  }

  .service-grid-five .service-card img,
  .service-grid-five .service-card:last-child img {
    aspect-ratio: 16 / 9;
  }

  .service-grid-five .service-image-bathroom {
    object-position: center;
  }

  .service-grid-five .service-card h3,
  .service-grid-five .service-card-long h3,
  .service-grid-five .service-card-window h3 {
    font-size: 21px;
  }

  .service-grid-five .service-card p,
  .service-grid-five .service-card li {
    font-size: 15px;
  }

  .reference-categories {
    gap: 54px;
    margin-top: 38px;
  }

  .reference-category-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0 22px;
  }

  .reference-category-heading > span {
    width: 40px;
    height: 40px;
  }

  .reference-category-heading h3 {
    font-size: clamp(24px, 7.2vw, 29px);
    overflow-wrap: normal;
    hyphens: manual;
  }

  .reference-project-heading h4 {
    font-size: 24px;
  }

  .reference-result-grid {
    gap: 9px;
  }

  .reference-result-grid-bath {
    grid-template-columns: 1fr;
  }

  .reference-result-grid-bath figure:first-child {
    grid-column: auto;
  }

  .about-story-grid header {
    grid-column: auto;
  }

  .about-work-photo img {
    aspect-ratio: 16 / 11;
    object-position: 32% 44%;
  }

}

/* Global polish and responsive navigation. */
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.menu-toggle,
.mobile-nav,
.mobile-nav-backdrop {
  display: none;
}

.positioning-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.positioning-heading,
.positioning-content {
  min-width: 0;
}

.service-card img,
.reference-visual,
.project-support img,
.reference-result-grid figure,
.about-work-photo {
  background: #e9e4db;
}

.contact-form input,
.contact-form textarea {
  scroll-margin-top: 130px;
}

@media (max-width: 1020px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    flex: none;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 0;
    background: transparent;
    color: white;
    cursor: pointer;
  }

  .menu-toggle svg {
    position: absolute;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    transition: opacity 280ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .menu-toggle-close {
    opacity: 0;
    transform: rotate(-20deg) scale(0.82);
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: var(--gold);
    color: var(--gold);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-open {
    opacity: 0;
    transform: rotate(20deg) scale(0.82);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-close {
    opacity: 1;
    transform: rotate(0) scale(1);
  }

  .mobile-nav {
    position: fixed;
    z-index: 3;
    top: var(--header-live, 108px);
    right: 24px;
    display: grid;
    width: min(390px, calc(100vw - 48px));
    padding: 16px 26px 22px;
    border-top: 2px solid var(--gold);
    background: rgb(7 16 21 / 98%);
    box-shadow: 0 28px 70px rgb(0 0 0 / 34%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition:
      opacity 320ms ease,
      transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 520ms,
      top 650ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body:has(.project-progress) .mobile-nav {
    top: calc(var(--header-live, 108px) + 27px);
  }

  .mobile-nav a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
    color: white;
    font-size: 21px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-nav a::after {
    content: "→";
    color: var(--gold);
    font-size: 18px;
  }

  .mobile-nav a span {
    color: var(--gold);
    font-size: 10px;
  }

  .mobile-nav a.is-active {
    color: var(--gold);
  }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 2;
    inset: var(--header-live, 108px) 0 0;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgb(0 0 0 / 48%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 320ms ease, visibility 0s linear 520ms;
  }

  body.menu-open .mobile-nav,
  body.menu-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  body.menu-open .mobile-nav {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 700px) {
  .header-actions {
    gap: 8px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-nav {
    right: 16px;
    width: calc(100vw - 32px);
  }

  body:has(.project-progress) .mobile-nav {
    top: calc(var(--header-live, 88px) + 25px);
  }

  .positioning-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .positioning-heading h2 {
    overflow-wrap: normal;
    hyphens: manual;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .positioning-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: start;
  }

  .positioning-heading h2,
  .positioning-content {
    max-width: 700px;
  }
}

@media (max-width: 350px) {
  .header-actions .nav-button {
    display: none;
  }
}
