:root {
  --ink: #202328;
  --muted: #60666f;
  --paper: #fff8ea;
  --concrete: #d6d0c2;
  --charcoal: #071827;
  --navy: #10263a;
  --coral: #f36b74;
  --coral-dark: #ce4450;
  --teal: #147c8d;
  --aqua: #54c7da;
  --cream: #fff3d7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 20, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 24, 39, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--cream);
  overflow: hidden;
  padding: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(19, 23, 27, 0.08),
    0 0 0 2px rgba(84, 199, 218, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.brand em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--white);
}

.header-cta,
.button,
.contact-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(243, 107, 116, 0.28);
}

.header-cta svg,
.button svg,
.service-card svg,
.check-list svg,
.contact-form button svg,
.contact-methods svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - 1120px) / 2)) 48px;
  color: var(--white);
  background: var(--navy);
}

.hero-video,
.hero-media,
.hero-overlay,
.shotcrete-clip {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
  transform: scale(1.015);
}

.hero-media {
  z-index: 0;
  background-image: url("assets/shotcrete-action.png");
  background-size: cover;
  background-position: 46% center;
  transform: scale(1.1);
  animation: shotcreteCamera 5.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at 22% 42%, rgba(84, 199, 218, 0.2), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(243, 107, 116, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(7, 24, 39, 0.9), rgba(7, 24, 39, 0.62) 48%, rgba(7, 24, 39, 0.34)),
    linear-gradient(0deg, rgba(7, 24, 39, 0.86), transparent 44%);
}

.shotcrete-clip {
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.clip-brand-reveal,
.clip-grain {
  position: absolute;
}

.clip-brand-reveal {
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(22px) scale(0.82);
  animation: brandReveal 5.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.clip-brand-reveal img {
  width: clamp(150px, 20vw, 270px);
  max-height: 34vh;
  object-fit: contain;
  padding: clamp(8px, 1.1vw, 14px);
  border-radius: 10px;
  background: var(--cream);
  box-shadow:
    0 24px 80px rgba(7, 24, 39, 0.44),
    0 0 0 3px rgba(84, 199, 218, 0.34),
    0 0 0 7px rgba(243, 107, 116, 0.16);
}

.clip-grain {
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.1) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0, 0, 0, 0.08) 5px 6px);
  mix-blend-mode: overlay;
  animation: grainFade 5.8s ease both;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 790px;
  padding-bottom: 44px;
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.42);
}

.hero.intro-complete .hero-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 0.97;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(4rem, 12vw, 8.5rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

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

.hero-copy {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  padding: 0 20px;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 49vw);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s 0.22s ease,
    transform 0.7s 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.intro-complete .hero-panel {
  opacity: 1;
  transform: translateY(0);
}

.hero-panel div {
  padding: 22px;
  background: rgba(248, 245, 239, 0.92);
  color: var(--ink);
}

.metric {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--coral-dark);
  font-weight: 900;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-band {
  background: var(--white);
}

.section-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.intro {
  padding: 70px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: end;
}

.intro-grid p:last-child {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.16rem;
}

.services,
.process {
  padding: 92px 0;
}

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

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

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(32, 35, 40, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--teal);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 620px;
  background: var(--white);
}

.split-image {
  min-height: 420px;
  background-image:
    linear-gradient(rgba(19, 23, 27, 0.12), rgba(19, 23, 27, 0.12)),
    url("assets/shotcrete-hero.jpg");
  background-size: cover;
  background-position: 68% center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px max(24px, calc((100vw - 1120px) / 2)) 70px 70px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 650;
}

.check-list svg {
  color: var(--coral);
  margin-top: 3px;
}

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

.timeline article {
  position: relative;
  padding: 28px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--navy);
  font-weight: 900;
}

.timeline h3 {
  font-size: 1.35rem;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  padding: 86px 0;
  background: var(--teal);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 35, 40, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  padding: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 117, 119, 0.14);
}

.contact-form button {
  width: 100%;
  margin-top: 4px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.98rem;
}

.site-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(22px, calc((100vw - 1120px) / 2));
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

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

@media (max-width: 900px) {
  .site-header {
    top: 10px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

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

  .intro-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .split-copy {
    padding: 54px 22px 64px;
  }
}

@media (max-width: 1100px) {
  .hero-panel {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 18px);
    min-height: 58px;
    padding: 9px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand em {
    font-size: 0.7rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 112px 18px 30px;
  }

  .hero-media {
    background-position: 34% center;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

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

  .hero-panel {
    display: none;
  }

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

  .intro,
  .services,
  .process,
  .contact-section {
    padding: 58px 0;
  }

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

  .service-card {
    min-height: 210px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .hero-media,
  .clip-brand-reveal,
  .clip-grain,
  .hero-content,
  .hero-panel {
    animation: none;
  }

  .hero-media {
    transform: scale(1.03);
  }

  .shotcrete-clip {
    display: none;
  }

  .hero-content,
  .hero-panel {
    opacity: 1;
    transform: none;
  }
}

@keyframes shotcreteCamera {
  0%,
  16% {
    transform: scale(1.18) translate3d(-2.4%, 0, 0);
    filter: brightness(0.58) saturate(0.88) contrast(1.04);
  }
  46% {
    transform: scale(1.12) translate3d(0.9%, -0.4%, 0);
    filter: brightness(0.76) saturate(1.08) contrast(1.1);
  }
  72% {
    transform: scale(1.08) translate3d(1.6%, 0, 0);
    filter: brightness(0.48) saturate(0.82) contrast(1.06);
  }
  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
    filter: brightness(0.64) saturate(0.9) contrast(1);
  }
}

@keyframes brandReveal {
  0%,
  55% {
    opacity: 0;
    transform: translateY(22px) scale(0.82);
  }
  68% {
    opacity: 1;
    transform: translateY(-5px) scale(1.04);
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
}

@keyframes grainFade {
  0%,
  36% {
    opacity: 0.08;
  }
  58% {
    opacity: 0.22;
  }
  100% {
    opacity: 0.1;
  }
}
