:root {
  --ink: #121318;
  --muted: #636974;
  --line: rgba(18, 19, 24, 0.13);
  --paper: #f6f3ed;
  --panel: #ffffff;
  --steel: #dce2e6;
  --teal: #056b6e;
  --gold: #c78a22;
  --red: #b5483b;
  --shadow: 0 22px 70px rgba(18, 19, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled,
body:not(.loaded) .site-header {
  color: var(--ink);
  background: rgba(246, 243, 237, 0.91);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  display: grid;
  width: 62px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(18, 19, 24, 0.14);
}

.brand-logo img {
  width: 56px;
  height: 44px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 8px;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.active,
body:not(.loaded) .site-nav a.active {
  background: rgba(5, 107, 110, 0.1);
}

.nav-cta {
  color: #fff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 136px clamp(18px, 4vw, 56px) 48px;
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.82), rgba(8, 10, 13, 0.42) 42%, rgba(8, 10, 13, 0.16));
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transform: scale(1.04);
  animation: slowZoom 15s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-bottom: 76px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 11ch;
  font-size: clamp(58px, 10vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn svg,
.site-nav svg {
  width: 18px;
  height: 18px;
}

.btn.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 18px 45px rgba(5, 107, 110, 0.28);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

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

.hero-stats {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 34px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-height: 98px;
  padding: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 28px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-elevator {
  position: absolute;
  right: 12%;
  top: 22%;
  width: 118px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

.shaft-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 44%, rgba(255, 255, 255, 0.34), transparent 56%);
  opacity: 0.55;
}

.lift-car {
  position: absolute;
  left: 13px;
  bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, rgba(238, 244, 245, 0.92), rgba(114, 129, 132, 0.68));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  animation: liftMove 4.8s ease-in-out infinite;
}

.lift-car span + span {
  border-left: 1px solid rgba(18, 19, 24, 0.22);
}

section {
  padding: 86px clamp(18px, 4vw, 56px);
}

.intro-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  background: #fff;
}

.intro-band p,
.section-heading p,
.process-item p,
.type-card p,
.category-hero p,
.contact-copy p,
.category-cta p {
  color: var(--muted);
  line-height: 1.7;
}

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

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

.type-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.type-card:nth-child(1),
.type-card:nth-child(2) {
  grid-column: span 3;
}

.type-card:nth-child(n+3) {
  grid-column: span 2;
}

.type-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.08), rgba(18, 19, 24, 0.82));
}

.type-card:hover img {
  transform: scale(1.08);
}

.type-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.type-card p {
  color: rgba(255, 255, 255, 0.75);
}

.type-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 900;
}

.process-section {
  background: #fff;
}

.process-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-item,
.spec-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.process-item {
  min-height: 230px;
  padding: 26px;
}

.process-item svg,
.spec-card svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
  color: #fff;
  background: linear-gradient(135deg, #15171b, #243033 55%, #42301f);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.quick-contact svg {
  width: 17px;
  height: 17px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
  font-size: 16px;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.category-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding-top: 146px;
  overflow: hidden;
  color: #fff;
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 15, 18, 0.8), rgba(14, 15, 18, 0.38));
}

.category-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 15s ease-in-out infinite alternate;
}

.category-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.category-hero-copy h1 {
  max-width: 12ch;
}

.category-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 22px;
  font-weight: 850;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  min-height: 280px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #ddd;
  cursor: zoom-in;
}

.gallery-item img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.category-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: var(--teal);
}

.category-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
}

.category-cta .btn.primary {
  background: var(--gold);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 10, 13, 0.88);
}

.image-modal img {
  width: min(1100px, 94vw);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
}

.image-modal button {
  position: fixed;
  top: 20px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

@keyframes liftMove {
  0%, 100% { transform: translateY(0); }
  45%, 55% { transform: translateY(-225px); }
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    inset: 72px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding: 12px;
    color: var(--ink);
    border-radius: 8px;
    background: rgba(246, 243, 237, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 46px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
  }

  .hero-stats,
  .hero-elevator {
    display: none;
  }

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

  .intro-band,
  .contact-section,
  .category-cta {
    grid-template-columns: 1fr;
  }

  .category-cta {
    align-items: start;
  }

  .type-grid,
  .process-grid,
  .spec-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .type-card:nth-child(n) {
    grid-column: span 1;
  }

  .category-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    color: var(--ink);
    background: rgba(246, 243, 237, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--line);
  }

  .brand {
    min-width: 0;
    gap: 9px;
    max-width: calc(100vw - 84px);
  }

  .brand-logo {
    width: 48px;
    height: 38px;
  }

  .brand-logo img {
    width: 44px;
    height: 34px;
  }

  .brand strong {
    font-size: 15px;
    line-height: 1.1;
  }

  .brand small {
    display: none;
  }

  .hero,
  .category-hero {
    min-height: 82svh;
    padding-top: 110px;
    padding-bottom: 34px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(44px, 15vw, 66px);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1.08;
  }

  h3 {
    font-size: 20px;
  }

  .hero p,
  .category-hero-copy p {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero::after,
  .category-hero::after {
    background: linear-gradient(180deg, rgba(8, 10, 13, 0.38), rgba(8, 10, 13, 0.82));
  }

  .hero-media img,
  .category-hero > img {
    object-position: center;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-actions,
  .quick-contact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .quick-contact a,
  .contact-form button {
    width: 100%;
  }

  .btn {
    min-height: 50px;
    padding-inline: 14px;
  }

  section {
    padding: 58px 18px;
  }

  .intro-band {
    gap: 18px;
  }

  .type-grid,
  .process-grid,
  .spec-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .type-card {
    min-height: 320px;
  }

  .type-card div,
  .process-item,
  .spec-card,
  .contact-form {
    padding: 20px;
  }

  .process-item {
    min-height: 0;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 240px;
  }

  .category-cta .btn {
    justify-self: stretch;
  }

  .site-footer {
    display: grid;
    gap: 18px;
  }

  .footer-links {
    display: grid;
    justify-content: stretch;
    gap: 10px;
  }

  .footer-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 0;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand strong {
    font-size: 14px;
  }

  h1 {
    font-size: 42px;
  }

  section {
    padding-inline: 14px;
  }

  .type-card {
    min-height: 290px;
  }
}

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