:root {
  --ink: #121619;
  --black: #050505;
  --charcoal: #171d22;
  --muted: #707982;
  --paper: #f3f1ed;
  --white: #ffffff;
  --line: rgba(18, 22, 25, 0.12);
  --red: #b42b22;
  --red-dark: #8f201a;
  --red-soft: #efb9b2;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.page-starting {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  opacity: 1;
  transition: opacity 260ms ease;
}

html.page-starting body {
  opacity: 0;
}

body.nav-open {
  overflow: hidden;
}

html.jump-transition {
  scroll-behavior: auto;
}

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

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

.section-arrive {
  animation: sectionArrive 380ms var(--ease) both;
  transform-origin: center top;
  will-change: opacity, transform, filter;
}

.topbar {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    var(--black);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 34px;
  padding: 6px 16px;
  text-transform: none;
}

.topbar a {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.28);
  color: var(--white);
  display: inline-flex;
  line-height: 1;
  padding: 7px 11px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.62);
  transition: background 180ms ease, transform 180ms var(--ease);
}

.topbar a:hover {
  background: rgba(180, 43, 34, 0.82);
  transform: translateY(-1px);
}

.site-header {
  align-items: center;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 92px;
  padding: 0 clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.26);
  min-height: 78px;
}

.brand {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 36px rgba(0, 0, 0, 0.24);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
  display: flex;
  height: 68px;
  padding: 8px 14px;
  transition: transform 220ms var(--ease);
}

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

.brand img {
  filter:
    drop-shadow(0 3px 0 rgba(0, 0, 0, 0.5))
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.42));
  height: 58px;
  object-fit: contain;
  width: 220px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.5vw, 34px);
  justify-content: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 36px 0;
  position: relative;
  text-transform: uppercase;
}

.site-nav a::after {
  background: var(--red);
  bottom: 27px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
  width: 100%;
}

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

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.3);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 15px 18px;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  justify-self: end;
  padding: 10px;
  width: 44px;
}

.nav-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  align-items: center;
  display: grid;
  isolation: isolate;
  min-height: calc(100vh - 130px);
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) 20px;
  position: relative;
}

.hero::after {
  background: linear-gradient(135deg, rgba(180, 43, 34, 0.92), rgba(143, 32, 26, 0.72));
  bottom: -90px;
  content: "";
  height: 210px;
  pointer-events: none;
  position: absolute;
  right: -8vw;
  transform: skewX(-22deg);
  width: min(44vw, 620px);
  z-index: 1;
}

.hero-slider,
.hero-slide,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-slide {
  filter: saturate(0.92) contrast(1.08);
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  transform: translateY(var(--hero-shift, 0)) scale(1.04);
  transition: opacity 1100ms ease, transform 6500ms var(--ease);
  width: 100%;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(var(--hero-shift, 0)) scale(1.11);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 55%);
}

.hero-inner {
  color: var(--white);
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  text-align: left;
  width: 100%;
  z-index: 2;
}

.hero-copy-slide {
  display: none;
  max-width: 820px;
}

.hero-copy-slide.is-active {
  animation: heroCopyIn 820ms var(--ease) both;
  display: block;
}

.kicker {
  color: var(--red-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero p:not(.kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  margin: 0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 100%, 0 100%);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 54px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.button::after,
.text-link::after {
  content: "→";
  margin-left: 10px;
  transition: transform 180ms var(--ease);
}

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

.button:hover::after,
.text-link:hover::after {
  transform: translateX(5px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-controls {
  bottom: 34px;
  display: flex;
  gap: 12px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-controls button {
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  cursor: pointer;
  height: 4px;
  overflow: hidden;
  padding: 0;
  width: 86px;
}

.hero-controls span {
  background: var(--red);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-controls button.is-active span {
  animation: slideProgress 5.8s linear forwards;
}

.contact-strip {
  background: var(--white);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 28px 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -58px auto 0;
  max-width: 1120px;
  position: relative;
  z-index: 6;
}

.contact-strip div {
  border-right: 1px solid var(--line);
  padding: 28px 32px;
}

.contact-strip div:last-child {
  border-right: 0;
}

.contact-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.contact-strip strong {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.section {
  padding: clamp(86px, 11vw, 150px) clamp(20px, 6vw, 84px);
  position: relative;
}

.statement {
  margin: 0 auto;
  max-width: 1120px;
  text-align: center;
}

.statement h2,
.section-title h2 {
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
}

.statement p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 24px auto 0;
  max-width: 760px;
}

.focus-rail {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  isolation: isolate;
  overflow: hidden;
  padding: 0 clamp(20px, 6vw, 84px);
  position: relative;
}

.focus-rail::before {
  background: var(--red);
  content: "";
  inset: auto -12vw -120px auto;
  height: 260px;
  position: absolute;
  transform: skewX(-24deg);
  width: min(42vw, 560px);
  z-index: 0;
}

.focus-rail article {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 292px;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 36px);
  position: relative;
  transition: background 260ms ease, transform 260ms var(--ease);
  z-index: 1;
}

.focus-rail article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.focus-rail article::after {
  background: var(--red);
  content: "";
  height: 4px;
  left: clamp(20px, 3vw, 36px);
  position: absolute;
  right: clamp(20px, 3vw, 36px);
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}

.focus-rail article:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-8px);
}

.focus-rail article:hover::after {
  transform: scaleX(1);
}

.focus-rail span {
  color: var(--red-soft);
  display: block;
  font-weight: 900;
  margin-bottom: 34px;
}

.focus-rail strong {
  display: block;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.focus-rail p {
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}

.service-showcase {
  background: var(--white);
  display: grid;
  gap: clamp(54px, 8vw, 110px);
}

.service-title {
  margin-bottom: 0;
}

.showcase-row {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 74px);
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  margin: 0 auto;
  max-width: 1220px;
}

.showcase-row.reverse .showcase-image {
  order: 2;
}

.showcase-image {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.showcase-image::after {
  border: 1px solid rgba(255, 255, 255, 0.34);
  content: "";
  inset: 22px;
  pointer-events: none;
  position: absolute;
}

.showcase-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
  width: 100%;
}

.showcase-row:hover .showcase-image img {
  transform: scale(1.055);
}

.showcase-copy span {
  align-items: center;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 100%, 0 100%);
  color: var(--red);
  display: inline-flex;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  margin-bottom: 26px;
  width: 58px;
}

.showcase-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.04;
  margin: 0 0 20px;
}

.showcase-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 1.04rem;
}

.surface-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.25fr 1fr 1fr;
  margin: -30px auto 0;
  max-width: 1220px;
}

.surface-card {
  background: var(--black);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.surface-card.large {
  min-height: 460px;
}

.surface-card img {
  filter: saturate(0.94) contrast(1.05);
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter 800ms ease;
  width: 100%;
}

.surface-card::after {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent 62%),
    linear-gradient(135deg, rgba(180, 43, 34, 0.42), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.surface-card div {
  bottom: 0;
  color: var(--white);
  left: 0;
  padding: 26px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.surface-card span {
  color: var(--red-soft);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.surface-card h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.65rem);
  line-height: 1.12;
  margin: 0;
}

.surface-card:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.065);
}

.text-link {
  color: var(--red);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 14px;
  text-transform: uppercase;
  transition: transform 180ms var(--ease);
}

.company {
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.company::before {
  background: linear-gradient(135deg, rgba(180, 43, 34, 0.24), rgba(180, 43, 34, 0));
  content: "";
  height: 520px;
  left: -12vw;
  position: absolute;
  top: 0;
  transform: skewX(-20deg);
  width: 44vw;
}

.section-title {
  margin: 0 auto 46px;
  max-width: 1060px;
  text-align: center;
}

.company-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  margin: 0 auto;
  max-width: 1120px;
}

.company-text {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.company-facts {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.company-facts div {
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
  transition: background 220ms ease, transform 220ms var(--ease);
}

.company-facts div:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.company-facts dt {
  color: var(--red-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.company-facts dd {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.stats-band {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-band div {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(34px, 5vw, 64px);
  text-align: center;
}

.stats-band strong {
  color: var(--red-soft);
  display: block;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.gallery {
  background: var(--paper);
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}

.project-tile {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.project-tile.tall {
  grid-row: span 2;
  min-height: 656px;
}

.project-tile.wide {
  grid-column: span 2;
}

.project-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms ease;
  width: 100%;
}

.project-tile::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
  content: "";
  inset: 0;
  position: absolute;
}

.project-tile div {
  bottom: 0;
  color: var(--white);
  left: 0;
  padding: 24px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.project-tile span {
  color: var(--red-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-tile h3 {
  font-size: 1.2rem;
  line-height: 1.12;
  margin: 8px 0 0;
}

.project-tile:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.07);
}

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.process-grid article {
  background: var(--paper);
  min-height: 280px;
  padding: 34px 28px;
  transition: background 220ms ease, transform 220ms var(--ease);
}

.process-grid article:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-8px);
}

.process-grid span {
  color: var(--red);
  font-weight: 900;
}

.process-grid h3 {
  font-size: 1.35rem;
  margin: 30px 0 12px;
}

.process-grid p {
  color: var(--muted);
}

.process-grid article:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.reviews {
  background: var(--paper);
}

.review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin: 0 auto;
  max-width: 1120px;
}

.review-card {
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  min-height: 270px;
  padding: 30px;
  transition: box-shadow 220ms ease, transform 220ms var(--ease);
}

.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.review-card.featured {
  background: var(--charcoal);
  color: var(--white);
}

.review-card strong {
  color: var(--red-soft);
  display: block;
  font-size: 4.8rem;
  line-height: 0.9;
  margin-bottom: 24px;
}

.review-card p {
  color: var(--muted);
}

.review-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.review-card span {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.72)),
    url("assets/hero-clstav-facade-team.jpg") center / cover;
  color: var(--white);
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  padding: clamp(86px, 11vw, 150px) clamp(20px, 6vw, 84px);
}

.contact-copy {
  max-width: 680px;
}

.contact-copy h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 28px;
}

.phone-big {
  color: var(--red-soft);
  display: inline-block;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 28px;
}

.contact-copy p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 620px;
}

.social-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
  display: flex;
  gap: 14px;
  min-height: 58px;
  padding: 10px 16px 10px 10px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.social-link > *,
.social-link svg,
.qr-link > * {
  pointer-events: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateX(6px);
}

.social-icon {
  align-items: center;
  background: var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(0, 0, 0, 0.26);
  color: var(--white);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.social-icon svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 21px;
}

.social-icon.facebook svg {
  fill: currentColor;
  stroke: none;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #b42b22, #d94437);
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.daibau {
  background: var(--white);
  color: var(--red);
  font-size: 1.28rem;
  font-weight: 900;
}

.qr-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
  display: inline-flex;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 18px 12px 12px;
}

.qr-link img {
  background: var(--white);
  height: 104px;
  padding: 6px;
  width: 104px;
}

.qr-link span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  background: var(--white);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%);
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  outline: none;
}

textarea {
  resize: vertical;
}

.form-status {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.form-hp {
  display: none;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-footer {
  align-items: center;
  background: var(--black);
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  padding: 34px clamp(20px, 6vw, 84px);
}

.footer-logo {
  background: transparent;
  display: inline-flex;
  padding: 8px 12px;
}

.footer-logo img {
  filter:
    drop-shadow(0 3px 0 rgba(0, 0, 0, 0.5))
    drop-shadow(0 14px 18px rgba(180, 43, 34, 0.22));
  height: 52px;
  object-fit: contain;
  width: 170px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.thanks-page {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
    url("assets/hero-clstav-worker.jpg") center / cover;
  color: var(--white);
  min-height: 100vh;
}

.thanks {
  align-content: center;
  display: grid;
  min-height: 100vh;
  padding: clamp(34px, 8vw, 96px);
}

.thanks h1 {
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 0.96;
  margin: 22px 0;
  max-width: 820px;
}

.thanks p:not(.kicker) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  max-width: 680px;
}

.thanks a:not(.button) {
  color: var(--red-soft);
  font-weight: 900;
}

[data-reveal] {
  opacity: 1;
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideProgress {
  to {
    transform: scaleX(1);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionArrive {
  0% {
    filter: blur(5px);
    opacity: 0.68;
    transform: translateY(18px) scale(0.985);
  }

  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-arrive {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--black);
    display: none;
    grid-column: 1 / -1;
    padding: 18px 0 24px;
  }

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

  .site-nav a {
    padding: 10px 0;
  }

  .site-nav a::after {
    bottom: 4px;
  }

  .header-cta {
    display: none;
  }

  .showcase-row,
  .showcase-row.reverse,
  .company-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-image {
    order: 0;
  }

  .stats-band,
  .process-grid,
  .review-grid,
  .focus-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .surface-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    justify-content: flex-start;
    gap: 8px 14px;
    padding: 8px 14px;
  }

  .brand {
    height: 54px;
    max-width: calc(100vw - 96px);
    padding: 6px 10px;
  }

  .brand img {
    height: 44px;
    width: 172px;
  }

  .site-header {
    min-height: 74px;
    padding: 0 14px;
  }

  .hero {
    min-height: calc(100svh - 74px);
    padding-bottom: 108px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 74px;
  }

  .hero-slide {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.52)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 62%);
  }

  .hero h1,
  .contact-copy h2,
  .statement h2,
  .section-title h2 {
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero p:not(.kicker) {
    font-size: 1rem;
  }

  .hero-controls {
    left: 18px;
    right: 18px;
    transform: none;
  }

  .hero-controls button {
    flex: 1;
    width: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero::after {
    width: 68vw;
  }

  .contact-strip,
  .company-facts,
  .stats-band,
  .process-grid,
  .review-grid,
  .project-grid,
  .focus-rail {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    margin-top: 0;
    clip-path: none;
  }

  .contact-strip div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .showcase-image,
  .surface-card,
  .surface-card.large,
  .project-tile,
  .project-tile.tall {
    min-height: 320px;
  }

  .section,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-showcase {
    gap: 58px;
  }

  .showcase-row {
    gap: 24px;
  }

  .showcase-image,
  .project-tile,
  .surface-card,
  .review-card,
  .contact-form {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  }

  .showcase-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .surface-gallery {
    margin-top: -12px;
  }

  .contact {
    background-position: center;
  }

  .contact-form {
    padding: 22px;
  }

  .social-link {
    align-items: flex-start;
    min-height: 56px;
  }

  .social-link span:last-child {
    overflow-wrap: anywhere;
  }

  .qr-link {
    width: 100%;
  }

  .footer-logo {
    padding-left: 0;
  }

  .project-tile.wide {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
