:root {
  --ink: #07111a;
  --muted: #687078;
  --line: rgba(7, 17, 26, 0.13);
  --paper: #f2f1ec;
  --white: #ffffff;
  --teal: #d9ad4f;
  --lime: #f2cf72;
  --blue: #17324a;
  --coral: #b98735;
  --steel: #13283b;
  --gold: #d9ad4f;
  --gold-soft: #f2cf72;
  --graphite: #4f5352;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.18);
  --page-gutter: clamp(18px, 4vw, 72px);
  --wide-gutter: max(var(--page-gutter), calc((100vw - 1560px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.75; }

.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(217, 173, 79, 0.22), transparent 68%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1540px, calc(100% - 32px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(246, 244, 237, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.12);
  z-index: 50;
}

.site-header.scrolled { background: rgba(246, 244, 237, 0.95); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 78px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #f2f1ec;
  border: 1px solid rgba(217, 173, 79, 0.28);
  box-shadow: 0 8px 22px rgba(7, 17, 26, 0.12);
}

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

.main-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--steel);
}

.main-nav a:hover { background: rgba(7, 17, 31, 0.06); }
.main-nav .nav-cta { color: white; background: var(--ink); }
.main-nav .nav-cta:hover { color: var(--ink); background: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: 48px;
  padding: 130px var(--wide-gutter) 80px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(246, 244, 237, 0.96), rgba(242, 241, 236, 0.8) 45%, rgba(217, 173, 79, 0.24)),
    radial-gradient(circle at 78% 28%, rgba(23, 50, 74, 0.24), transparent 36%),
    radial-gradient(circle at 16% 78%, rgba(217, 173, 79, 0.22), transparent 34%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.orbit-one { width: 420px; height: 420px; right: 7%; top: 18%; }
.orbit-two { width: 220px; height: 220px; left: 8%; bottom: 12%; animation-direction: reverse; }

.hero-content, .hero-visual, .section, .split-section, .cta-section, .page-hero, .contact-layout, .legal-page, .site-footer {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: 0; }

.hero h1 {
  max-width: 940px;
  margin-top: 20px;
  font-size: clamp(3.1rem, 8vw, 7.3rem);
  font-weight: 900;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(1.04rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.24);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.btn:hover { transform: translateY(-3px); }
.btn.primary:hover { background: var(--blue); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 40px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-metrics strong { display: block; font-size: 1.4rem; }
.hero-metrics span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.88rem; }

.estimate-studio {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #07111a, #13283b 58%, #4f3b1b);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.studio-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px;
  color: white;
  font-weight: 900;
}

.studio-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}
.studio-toolbar span:nth-child(2) { background: var(--lime); }
.studio-toolbar span:nth-child(3) { background: var(--teal); }
.studio-toolbar strong { margin-left: 8px; font-size: 0.92rem; }

.building-scene {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  height: 280px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
}

.tower {
  position: absolute;
  bottom: 0;
  display: grid;
  gap: 8px;
  align-content: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(217, 173, 79, 0.3), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 0 35px rgba(242, 207, 114, 0.08);
  transform-origin: bottom;
  animation: buildUp 1.2s cubic-bezier(.2,.8,.2,1) both;
}

.tower span {
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 46px 0 0 rgba(255, 255, 255, 0.14);
}

.tower-one { left: 20px; width: 128px; height: 188px; animation-delay: 0.1s; }
.tower-two { left: 152px; width: 112px; height: 138px; animation-delay: 0.28s; }
.tower-three { left: 268px; width: 138px; height: 230px; animation-delay: 0.44s; }

.crane {
  position: absolute;
  left: 90px;
  top: 12px;
  width: 260px;
  height: 150px;
  animation: craneSwing 4.2s ease-in-out infinite;
  transform-origin: 52px 42px;
}

.crane i { position: absolute; display: block; background: var(--lime); }
.crane i:nth-child(1) { left: 48px; top: 20px; width: 7px; height: 130px; }
.crane i:nth-child(2) { left: 34px; top: 18px; width: 220px; height: 7px; }
.crane i:nth-child(3) { left: 222px; top: 25px; width: 3px; height: 52px; background: rgba(242, 207, 114, 0.72); }

.calc-panel {
  position: absolute;
  right: 24px;
  top: 74px;
  width: min(248px, 44%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.calc-screen {
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 17, 26, 0.86);
}

.calc-screen span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calc-screen strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1;
}

.calc-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.calc-keys span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  animation: keyPulse 2.8s ease-in-out infinite;
}

.calc-keys span:nth-child(4n) { color: var(--gold-soft); background: rgba(217, 173, 79, 0.16); }

.takeoff-stack {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(280px, 52%);
  display: grid;
  gap: 10px;
}

.takeoff-stack div {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.takeoff-stack span { color: rgba(255, 255, 255, 0.72); font-weight: 700; }
.takeoff-stack strong { font-size: 0.9rem; }
.takeoff-stack i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 78%;
  background: linear-gradient(90deg, var(--blue), var(--gold-soft));
  animation: measureLoad 2.8s ease-in-out infinite;
}


.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(7, 17, 31, 0.32);
  border-radius: 999px;
  transform: translateX(-50%);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 5px;
  height: 9px;
  border-radius: 10px;
  background: var(--ink);
  transform: translateX(-50%);
  animation: scrollDot 1.4s ease-in-out infinite;
}

.logo-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: white;
}
.marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  padding: 22px 0;
  animation: marquee 24s linear infinite;
}
.marquee span { font-size: 0.9rem; font-weight: 900; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

.section, .split-section, .cta-section, .contact-layout, .legal-page {
  padding: 110px var(--wide-gutter);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-heading h2, .workflow-copy h2, .cta-panel h2, .page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  font-weight: 900;
}

.service-grid, .market-grid, .samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card, .market-card, .sample-card, .contact-form, .contact-card, .legal-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.08);
}

.service-card {
  min-height: 410px;
  padding: 30px;
  transform-style: preserve-3d;
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.service-card h3, .market-card h3 { font-size: 1.55rem; }
.service-card ul { padding-left: 18px; color: var(--steel); line-height: 1.9; font-weight: 700; }
.service-card:hover { border-color: rgba(217, 173, 79, 0.5); }

.samples-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(238, 243, 241, 0.92)),
    linear-gradient(90deg, rgba(7, 17, 31, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(7, 17, 31, 0.05) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.sample-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 230px 1fr;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.sample-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 173, 79, 0.42);
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.14);
}

.sample-preview {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #07111a, #17324a 62%, #4f3b1b);
  background-size: 24px 24px, 24px 24px, auto;
}

.sample-preview::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--gold-soft), var(--coral));
  animation: measureLoad 3s ease-in-out infinite;
}

.estimate-preview span {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.estimate-preview span:nth-child(1) { top: 42px; width: 62%; }
.estimate-preview span:nth-child(2) { top: 78px; width: 78%; }
.estimate-preview span:nth-child(3) { top: 114px; width: 52%; }
.estimate-preview span:nth-child(4) {
  top: 150px;
  width: 70%;
  background: rgba(217, 173, 79, 0.28);
}

.drawing-preview i {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.drawing-preview i:nth-child(1) { width: 58%; height: 42%; left: 20%; top: 24%; }
.drawing-preview i:nth-child(2) { width: 24%; height: 24%; left: 30%; top: 34%; }
.drawing-preview i:nth-child(3) { width: 34%; left: 42%; top: 52%; border-width: 2px 0 0; }
.drawing-preview i:nth-child(4) { height: 46%; left: 64%; top: 22%; border-width: 0 0 0 2px; }

.bim-preview b {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  background: rgba(217, 173, 79, 0.18);
  transform: rotateX(58deg) rotateZ(45deg);
  animation: keyPulse 3s ease-in-out infinite;
}
.bim-preview b:nth-child(1) { left: 36px; top: 92px; }
.bim-preview b:nth-child(2) { left: 112px; top: 58px; animation-delay: 0.2s; background: rgba(23, 50, 74, 0.24); }
.bim-preview b:nth-child(3) { left: 188px; top: 98px; animation-delay: 0.4s; background: rgba(217, 173, 79, 0.18); }

.sample-content {
  padding: 26px;
}

.sample-content span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-content h3 {
  font-size: 1.45rem;
}

.sample-content a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.samples-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -18px 0 30px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(251, 250, 246, 0.82);
}

.samples-intro p {
  max-width: 680px;
  margin: 0;
}

.samples-intro .text-link {
  flex: 0 0 auto;
  margin-top: 0;
}

.sample-library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sample-download {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(7, 17, 26, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(251, 250, 246, 0.94), rgba(232, 229, 220, 0.78)),
    linear-gradient(90deg, rgba(7, 17, 26, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(7, 17, 26, 0.05) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
  box-shadow: 0 14px 42px rgba(7, 17, 26, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.sample-download::after {
  content: "PDF";
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 30px;
  border-radius: 10px;
  color: var(--ink);
  background: rgba(217, 173, 79, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
}

.sample-download span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  font-weight: 900;
}

.sample-download strong {
  display: block;
  max-width: 180px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.sample-download small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-download:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 173, 79, 0.52);
  box-shadow: 0 24px 62px rgba(7, 17, 26, 0.12);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 76px);
  background: #e8e5dc;
}

.workflow-copy { align-self: center; }
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}
.step span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lime), var(--teal));
  font-weight: 900;
}
.step strong { font-size: 1.15rem; }
.step p { margin: 4px 0 0; }

.dark-band {
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 17, 26, 0.98), rgba(19, 40, 59, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, 0.05) 47px 48px);
}
.dark-band p { color: rgba(255, 255, 255, 0.72); }
.market-card {
  min-height: 220px;
  padding: 28px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.market-card p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-section { padding-top: 90px; }
.cta-panel {
  min-height: 380px;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 34px;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 17, 26, 0.94), rgba(23, 50, 74, 0.82)),
    radial-gradient(circle at 82% 20%, rgba(217, 173, 79, 0.48), transparent 32%);
  overflow: hidden;
}
.cta-panel p { max-width: 620px; color: rgba(255, 255, 255, 0.76); }

.page-hero {
  padding: 150px max(var(--page-gutter), calc((100vw - 1320px) / 2)) 60px;
  background: linear-gradient(135deg, rgba(246, 244, 237, 0.94), rgba(232, 229, 220, 0.92));
}
.page-hero-inner { max-width: 860px; }
.page-hero p { max-width: 820px; font-size: 1.08rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  padding-top: 30px;
}

.contact-form, .contact-card, .legal-card { padding: clamp(24px, 4vw, 42px); }
.form-row { margin-bottom: 18px; }
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(217, 173, 79, 0.18);
}
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.consent input { width: 18px; margin-top: 3px; }
.contact-card { align-self: start; position: sticky; top: 110px; }
.contact-note {
  margin: 28px 0;
  padding: 20px;
  border-radius: 18px;
  background: #e8e5dc;
}
.contact-note strong, .contact-note span { display: block; }
.contact-note span { margin-top: 8px; color: var(--muted); line-height: 1.65; }
.mini-links { display: flex; flex-wrap: wrap; gap: 14px; }
.mini-links a { color: var(--blue); font-weight: 800; }

.legal-page { padding-top: 150px; }
.legal-card {
  max-width: 920px;
  margin: 0 auto;
}
.legal-card h1 { margin: 16px 0 20px; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.legal-card h2 { margin-top: 34px; font-size: 1.45rem; }
.legal-card a { color: var(--blue); font-weight: 800; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  padding: 72px var(--wide-gutter) 28px;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 17, 26, 0.98), rgba(19, 40, 59, 0.97)),
    linear-gradient(90deg, rgba(217, 173, 79, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(217, 173, 79, 0.07) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.footer-main {
  max-width: 560px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-logo {
  background: #f2f1ec;
  border-color: rgba(242, 207, 114, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

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

.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-cta:hover {
  transform: translateY(-3px);
  background: var(--gold-soft);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-nav div {
  padding-top: 8px;
}

.footer-nav h3 {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-16px) rotateX(2deg) rotateY(-2deg); }
}
@keyframes drawPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.025); }
}
@keyframes buildUp {
  from { transform: scaleY(0.08); opacity: 0.25; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes craneSwing {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(2.2deg); }
}
@keyframes keyPulse {
  0%, 100% { transform: translateY(0); background-color: rgba(255, 255, 255, 0.12); }
  50% { transform: translateY(-2px); background-color: rgba(255, 255, 255, 0.2); }
}
@keyframes measureLoad {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(0); }
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35%, 65% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { border-radius: 14px; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 126px;
  }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-metrics, .service-grid, .market-grid, .samples-grid, .split-section, .contact-layout { grid-template-columns: 1fr; }
  .sample-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .samples-intro { align-items: flex-start; flex-direction: column; }
  .workflow-steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .estimate-studio { min-height: 420px; }
  .contact-card { position: static; }
  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .brand span:last-child { max-width: 150px; line-height: 1.05; }
  .hero, .section, .split-section, .cta-section, .contact-layout, .legal-page { padding-left: 18px; padding-right: 18px; }
  .hero-actions, .hero-metrics, .two-col { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .section, .split-section, .cta-section { padding-top: 76px; padding-bottom: 76px; }
  .sample-library { grid-template-columns: 1fr; }
  .sample-download { min-height: 140px; }
  .service-card { min-height: auto; }
  .page-hero { padding: 132px 18px 44px; }
  .contact-form, .contact-card, .legal-card { border-radius: 20px; }
  .estimate-studio { min-height: 390px; border-radius: 22px; }
  .building-scene { left: 18px; right: 18px; bottom: 96px; height: 210px; }
  .tower-one { left: 4px; width: 86px; height: 142px; }
  .tower-two { left: 92px; width: 76px; height: 108px; }
  .tower-three { left: 170px; width: 92px; height: 174px; }
  .crane { left: 42px; top: 26px; transform: scale(0.72); transform-origin: top left; }
  .calc-panel { right: 16px; top: 70px; width: 160px; padding: 10px; }
  .calc-keys { gap: 5px; }
  .calc-keys span { min-height: 24px; font-size: 0.66rem; border-radius: 7px; }
  .takeoff-stack { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .takeoff-stack div { padding: 9px 10px; }
  .site-footer {
    padding: 48px 18px 24px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-nav div {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-bottom {
    flex-direction: column;
  }
}

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