:root {
  --ink: #090909;
  --ink-2: #111111;
  --ink-3: #1a1a1a;
  --paper: #f4efe6;
  --paper-2: #e8e1d4;
  --muted: #9b9588;
  --text: #ece7dc;
  --text-dim: #b7b0a3;
  --amber: #e8a317;
  --amber-2: #f5c15a;
  --cyan: #3ec8e8;
  --cyan-2: #7adef0;
  --line: rgba(244, 239, 230, 0.1);
  --line-strong: rgba(244, 239, 230, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 2px;
  --header: 84px;
  --wrap: 1180px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--amber);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 14ch;
}

.section-title em {
  font-style: normal;
  color: var(--cyan);
}

p {
  color: var(--text-dim);
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(9, 9, 9, 0.88), rgba(9, 9, 9, 0.18));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 9, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--paper);
}

.nav a.is-active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--amber);
  color: #1a1203;
}

.btn-amber:hover {
  background: var(--amber-2);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-cyan {
  background: var(--cyan);
  color: #042028;
}

.btn-cyan:hover {
  background: var(--cyan-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: 0.2s;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.1);
  animation: kenburns 22s ease-out forwards;
  filter: contrast(1.06) saturate(0.92);
}

@keyframes kenburns {
  to { transform: scale(1); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.22) 0%, rgba(9, 9, 9, 0.08) 38%, rgba(9, 9, 9, 0.72) 100%),
    linear-gradient(90deg, rgba(9, 9, 9, 0.42), transparent 58%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto 36px;
  padding-bottom: 108px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.8rem);
  max-width: 12ch;
  margin: 18px 0 22px;
  text-wrap: balance;
}

.hero p {
  max-width: 44ch;
  color: var(--paper);
  margin-bottom: 32px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.48);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}

.hero-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 96px;
}

.hero-bar-inner div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 8px 18px 0;
  border-right: 1px solid var(--line);
}

.hero-bar-inner div:last-child {
  border-right: 0;
}

.hero-bar-inner b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--paper);
  line-height: 1;
}

.hero-bar-inner span {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero {
  min-height: 64vh;
  display: grid;
  align-items: end;
  padding: 168px 0 72px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.22) 0%, rgba(9, 9, 9, 0.78) 100%);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  margin-top: 12px;
  max-width: 16ch;
}

.page-hero .lead {
  color: var(--paper-2);
}

.showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}

.showcase a:first-child {
  grid-row: span 2;
}

.show-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  min-height: 220px;
  color: var(--paper);
}

.show-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.show-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.08) 20%, rgba(9, 9, 9, 0.88) 100%);
}

.show-card:hover img {
  transform: scale(1.05);
}

.show-card span,
.show-card h3,
.show-card p {
  position: relative;
  z-index: 2;
}

.show-card span {
  font-family: var(--font-display);
  color: var(--amber);
  letter-spacing: 0.14em;
  font-size: 12px;
}

.show-card h3 {
  font-size: 1.7rem;
  margin: 8px 0 4px;
}

.show-card p {
  margin: 0;
  color: var(--paper-2);
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

.flush-top {
  padding-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 40px;
  align-items: end;
  margin-bottom: 56px;
}

.sect-num {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(62, 200, 232, 0.35);
  user-select: none;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.portrait {
  position: relative;
}

.portrait img {
  width: 100%;
  height: 760px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 46%;
  height: 46%;
  border: 1px solid var(--amber);
  z-index: -1;
}

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

.process li {
  list-style: none;
  padding: 22px 18px 0 0;
  border-right: 1px solid var(--line);
}

.process li:last-child {
  border-right: 0;
}

.process b {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.process span {
  font-weight: 700;
  color: var(--paper);
}

/* Services */
.services {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.service-list {
  display: grid;
}

.service {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.service:hover {
  background: rgba(62, 200, 232, 0.04);
}

.service i {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--amber);
  font-size: 1.3rem;
}

.service h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.service p {
  margin: 0;
  max-width: 68ch;
}

.service .arrow {
  color: var(--muted);
  font-size: 1.4rem;
}

/* Stats */
.stats {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.62), rgba(9, 9, 9, 0.78)),
    url("../assets/img/knauf-cover.webp") center/cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.counter {
  padding: 8px 0 0;
  border-top: 1px solid var(--line-strong);
}

.counter .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--paper);
}

.counter .num span {
  color: var(--amber);
  font-size: 0.55em;
}

.counter small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Brands */
.brands {
  padding: 28px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.marquee {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: slide 28s linear infinite;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
}

.marquee span {
  opacity: 0.7;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Laser */
.laser-frame {
  position: relative;
}

.laser-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  background: #101820;
}

.laser-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(9, 9, 9, 0.82);
  border: 1px solid var(--cyan);
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Gallery */
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.gallery-toolbar p {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.gallery-grid {
  columns: 3;
  column-gap: 14px;
}

.gallery-grid a {
  display: block;
  margin: 0 0 14px;
  break-inside: avoid;
  overflow: hidden;
  background: var(--ink-3);
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: saturate(0.9);
}

.gallery-grid a:hover img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 56px 72px 48px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1200px, 88vw);
  max-height: 82vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  background: rgba(9, 9, 9, 0.55);
  color: #fff;
  border: 1px solid var(--line-strong);
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1.2rem;
}

.lightbox .lb-close {
  top: 18px;
  right: 18px;
}

.lightbox .lb-prev,
.lightbox .lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }

.lb-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Article pages */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 2rem;
  margin: 42px 0 14px;
}

.prose p + p {
  margin-top: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.feature {
  padding: 24px 22px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.feature h3 {
  font-size: 1.15rem;
  margin: 10px 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.contact-card {
  border: 1px solid var(--line);
  padding: 22px;
  margin-bottom: 12px;
  background: var(--ink-2);
}

.contact-card small {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-size: 11px;
  margin-bottom: 6px;
}

.contact-card a,
.contact-card b {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  padding: 12px 0;
  outline: none;
}

input:focus,
textarea:focus {
  border-bottom-color: var(--cyan);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.map {
  margin-top: 56px;
  height: 380px;
  border: 1px solid var(--line);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.1);
}

/* Footer */
.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.site-footer h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}

.site-footer a:hover {
  color: var(--cyan);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.call-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1203;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-size: 22px;
}

.form-note {
  color: var(--cyan);
  min-height: 1.2em;
}

.form-note.is-error {
  color: var(--amber);
}

.form-privacy {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav,
  .header-cta .btn-ghost {
    display: none;
  }

  .nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: rgba(9, 9, 9, 0.97);
    padding: 24px 28px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }

  .split,
  .split.reverse,
  .stats-grid,
  .contact-grid,
  .footer-grid,
  .feature-grid,
  .section-head,
  .counters,
  .showcase,
  .hero-bar-inner {
    grid-template-columns: 1fr;
  }

  .showcase {
    grid-template-rows: none;
  }

  .showcase a:first-child {
    grid-row: auto;
    min-height: 360px;
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero-bar-inner div {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0;
  }

  .portrait img,
  .laser-frame img {
    height: 420px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .service {
    grid-template-columns: 48px 1fr;
  }

  .service .arrow {
    display: none;
  }

  .gallery-grid {
    columns: 2;
  }

  .copyright {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wrap,
  .hero-content {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .gallery-grid {
    columns: 2;
  }

  .counters {
    grid-template-columns: 1fr;
  }

  .portrait::after {
    display: none;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--amber);
  color: #1a1203;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
}

.skip-link:focus {
  top: 12px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.facts div {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.facts div:nth-child(2n) {
  border-right: 0;
}

.facts .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.facts .value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--paper);
}

.facts .value a:hover {
  color: var(--cyan);
}

.faq-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.faq-list details {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 4px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 16px 0;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0 0 18px;
}

@media (max-width: 980px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-right: 0;
  }
}
