:root {
  --ink: #172022;
  --muted: #61706f;
  --line: #d8e1df;
  --paper: #f7f4ed;
  --white: #ffffff;
  --cedar: #a8552a;
  --cedar-dark: #743717;
  --steel: #2f5963;
  --sage: #78956f;
  --gold: #e2ae45;
  --shadow: 0 22px 70px rgba(23, 32, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 18, 19, 0.72), rgba(12, 18, 19, 0));
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.nav-links a,
.header-cta {
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

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

.header-cta {
  min-width: max-content;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 86px;
  color: var(--white);
}

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

.hero-media img {
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(circle at 72% 34%, rgba(226, 174, 69, 0.2), transparent 22%),
    linear-gradient(90deg, rgba(12, 18, 19, 0.86), rgba(12, 18, 19, 0.48) 48%, rgba(12, 18, 19, 0.24)),
    linear-gradient(0deg, rgba(12, 18, 19, 0.62), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--cedar);
  box-shadow: 0 14px 34px rgba(116, 55, 23, 0.3);
}

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

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

.floating-toolbox {
  position: absolute;
  right: clamp(24px, 8vw, 132px);
  bottom: clamp(122px, 20vh, 230px);
  z-index: 3;
  width: 168px;
  height: 142px;
  animation: floatToolbox 5.6s ease-in-out infinite;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.32));
}

.toolbox-top {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 82px;
  height: 40px;
  border: 12px solid #26383b;
  border-bottom: 0;
  transform: translateX(-50%);
}

.toolbox-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 96px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #c95e2b, #7d3a19);
}

.toolbox-body::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.34);
}

.tool {
  position: absolute;
  bottom: 34px;
  transform-origin: bottom center;
}

.screwdriver {
  left: 35px;
  width: 12px;
  height: 84px;
  background: linear-gradient(#e9c46a 0 26%, #27383b 26% 100%);
  transform: rotate(-18deg);
}

.wrench {
  left: 78px;
  width: 16px;
  height: 96px;
  border-radius: 12px 12px 0 0;
  background: #d7dfdd;
  transform: rotate(8deg);
}

.wrench::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -7px;
  width: 30px;
  height: 30px;
  border: 8px solid #d7dfdd;
  border-right-color: transparent;
  border-radius: 50%;
}

.pencil {
  right: 34px;
  width: 13px;
  height: 86px;
  background: linear-gradient(#2f5963 0 74%, #f1d18b 74% 88%, #2a1a12 88%);
  transform: rotate(20deg);
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: spark 2.4s ease-in-out infinite;
}

.spark-one {
  top: 0;
  left: 26px;
}

.spark-two {
  top: 34px;
  right: -4px;
  animation-delay: 0.5s;
}

.spark-three {
  bottom: 22px;
  left: -10px;
  animation-delay: 1s;
}

.availability-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  width: min(330px, calc(100% - 36px));
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.availability-card strong,
.availability-card small {
  display: block;
}

.availability-card small {
  margin-top: 3px;
  color: var(--muted);
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(120, 149, 111, 0.48);
  animation: pulse 1.8s infinite;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip div {
  min-height: 132px;
  padding: 30px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

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

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.9;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.project-band,
.contact-section {
  padding: clamp(70px, 10vw, 126px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.intro > p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-grid article:hover {
  z-index: 2;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--cedar);
  font-weight: 900;
}

.service-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.project-band {
  background: #e7ece8;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-auto-rows: 310px;
  gap: 18px;
  margin-top: 44px;
}

.project-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.project-grid figure:hover img {
  transform: scale(1.05);
}

.project-grid img {
  opacity: 0.88;
  transition: transform 600ms ease;
}

.project-feature {
  grid-row: span 2;
}

.project-grid figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  color: var(--white);
  background: rgba(12, 18, 19, 0.7);
  backdrop-filter: blur(14px);
}

.project-grid strong,
.project-grid span {
  display: block;
}

.project-grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.timeline div {
  position: relative;
  padding-top: 34px;
  border-top: 3px solid var(--steel);
}

.timeline span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--steel);
  font-weight: 900;
}

.review-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: 620px;
  background: var(--ink);
}

.review-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 86px);
  color: var(--white);
}

blockquote {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 900;
  line-height: 1.05;
}

cite {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(47, 89, 99, 0.08), transparent 42%),
    var(--paper);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 13px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(168, 85, 42, 0.28);
  border-color: var(--cedar);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #101718;
}

@keyframes floatToolbox {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -22px, 0) rotate(3deg);
  }
}

@keyframes spark {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.6);
  }
  45% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(120, 149, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(120, 149, 111, 0);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .floating-toolbox {
    right: 26px;
    bottom: 150px;
    width: 122px;
    height: 104px;
    opacity: 0.9;
  }

  .toolbox-body {
    height: 74px;
  }

  .tool {
    transform: scale(0.78);
  }

  .trust-strip,
  .service-grid,
  .timeline,
  .intro,
  .contact-section,
  .review-band {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid article {
    min-height: 220px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .project-feature {
    grid-row: span 1;
  }

  .review-image {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    padding: 16px;
  }

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

  .header-cta {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 860px;
    padding: 118px 18px 118px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .floating-toolbox {
    right: 18px;
    bottom: 226px;
  }

  .availability-card {
    left: 18px;
    right: 18px;
    bottom: 34px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .project-band,
  .contact-section {
    padding: 64px 18px;
  }

  .project-grid {
    grid-auto-rows: 250px;
  }

  blockquote {
    font-size: 2rem;
  }
}
