:root {
  --ink: #171512;
  --muted: #69635b;
  --paper: #f7f4ed;
  --stone: #ded8cc;
  --charcoal: #2b2d2c;
  --copper: #b97942;
  --olive: #6f765f;
  --steel: #67717a;
  --white: #ffffff;
  --line: rgba(23, 21, 18, 0.12);
  --shadow: 0 24px 70px rgba(23, 21, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  animation: headerEnter 0.7s ease both;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 237, 0.92);
  box-shadow: 0 10px 30px rgba(23, 21, 18, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.header-phone {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.nav {
  gap: 24px;
  font-size: 14px;
}

.nav a,
.header-phone {
  opacity: 0.9;
}

.header-phone {
  justify-self: end;
  font-weight: 700;
}

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

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 48% 42%;
  animation: heroImageEnter 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.82) 0%, rgba(10, 10, 9, 0.52) 44%, rgba(10, 10, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 10, 9, 0.2) 0%, rgba(10, 10, 9, 0.72) 100%);
  animation: shadeEnter 1s ease both;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: 52px;
}

.hero .eyebrow,
.hero h1,
.hero-text,
.hero-actions,
.hero-location {
  opacity: 0;
  animation: heroTextEnter 0.82s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .eyebrow {
  animation-delay: 0.16s;
}

.hero h1 {
  animation-delay: 0.28s;
}

.hero-text {
  animation-delay: 0.43s;
}

.hero-actions {
  animation-delay: 0.58s;
}

.hero-location {
  animation-delay: 0.72s;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-location {
  max-width: 560px;
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 700;
}

@keyframes headerEnter {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

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

@keyframes heroImageEnter {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shadeEnter {
  from {
    opacity: 0.72;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroTextEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

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

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section,
.materials-band,
.projects,
.request-section,
.footer {
  padding: 86px clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
  background: var(--white);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.intro p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.reveal-services .services-heading-reveal {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal-services .service-card {
  opacity: 0;
  transform: translateY(34px) scale(0.96) rotate(-1.2deg);
  clip-path: inset(12% 0 12% 0 round 8px);
  transition:
    opacity 0.78s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.78s cubic-bezier(0.2, 0.8, 0.2, 1),
    clip-path 0.78s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.24s ease;
}

.reveal-services.is-visible .services-heading-reveal,
.reveal-services.is-visible .service-card {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0);
  clip-path: inset(0 0 0 0 round 8px);
}

.reveal-services.is-visible .service-card:nth-child(1) {
  transition-delay: 0.08s;
}

.reveal-services.is-visible .service-card:nth-child(2) {
  transition-delay: 0.18s;
}

.reveal-services.is-visible .service-card:nth-child(3) {
  transition-delay: 0.28s;
}

.reveal-services.is-visible .service-card:nth-child(4) {
  transition-delay: 0.38s;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 21, 18, 0.04);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-card .icon {
  color: var(--copper);
  font-weight: 900;
}

.service-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 6px;
  color: var(--copper);
  opacity: 0.86;
}

.service-icon path,
.service-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.reveal-services.is-visible .service-icon path,
.reveal-services.is-visible .service-icon circle {
  animation: drawServiceIcon 1s ease forwards;
}

.reveal-services.is-visible .service-card:nth-child(1) .service-icon path,
.reveal-services.is-visible .service-card:nth-child(1) .service-icon circle {
  animation-delay: 0.22s;
}

.reveal-services.is-visible .service-card:nth-child(2) .service-icon path,
.reveal-services.is-visible .service-card:nth-child(2) .service-icon circle {
  animation-delay: 0.32s;
}

.reveal-services.is-visible .service-card:nth-child(3) .service-icon path,
.reveal-services.is-visible .service-card:nth-child(3) .service-icon circle {
  animation-delay: 0.42s;
}

.reveal-services.is-visible .service-card:nth-child(4) .service-icon path,
.reveal-services.is-visible .service-card:nth-child(4) .service-icon circle {
  animation-delay: 0.52s;
}

@keyframes drawServiceIcon {
  to {
    stroke-dashoffset: 0;
  }
}

.service-card h3,
.materials h3,
.project-grid h3 {
  margin: 30px 0 12px;
  font-size: 22px;
  line-height: 1.16;
}

.service-card p,
.materials p,
.project-grid p,
.request-copy p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.materials-band {
  background: var(--charcoal);
  color: var(--white);
}

.materials-band .section-kicker {
  color: #dfad77;
}

.materials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.materials article {
  min-height: 350px;
  padding: 28px;
  background: var(--charcoal);
}

.materials p {
  color: rgba(255, 255, 255, 0.72);
}

.swatch {
  display: block;
  width: 100%;
  height: 156px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.marble {
  background-image: url("assets/marble-02044.webp");
  background-position: center;
  background-size: cover;
}

.granite {
  background-image: url("assets/granite-01513.webp");
  background-position: center;
  background-size: cover;
}

.quartzite {
  background-image: url("assets/quartz-agglomerate-taj-mahal.jpg");
  background-position: center;
  background-size: cover;
}

.travertine {
  background-image: url("assets/travertine-i.jpeg");
  background-position: center;
  background-size: cover;
}

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

.reveal-process .process-heading-reveal,
.reveal-process .timeline li {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-process.is-visible .process-heading-reveal,
.reveal-process.is-visible .timeline li {
  opacity: 1;
  transform: translateY(0);
}

.reveal-process.is-visible .timeline li:nth-child(1) {
  transition-delay: 0.08s;
}

.reveal-process.is-visible .timeline li:nth-child(2) {
  transition-delay: 0.18s;
}

.reveal-process.is-visible .timeline li:nth-child(3) {
  transition-delay: 0.28s;
}

.reveal-process.is-visible .timeline li:nth-child(4) {
  transition-delay: 0.38s;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  padding-top: 58px;
  border-top: 2px solid var(--copper);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--copper);
  font-weight: 900;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-image,
  .hero-shade,
  .hero .eyebrow,
  .hero h1,
  .hero-text,
  .hero-actions,
  .hero-location {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .reveal-services .services-heading-reveal,
  .reveal-services .service-card,
  .reveal-process .process-heading-reveal,
  .reveal-process .timeline li {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .service-icon path,
  .service-icon circle {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.projects {
  background: #e9e4d9;
}

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

.project-grid article {
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.project-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 82px rgba(23, 21, 18, 0.22);
}

.project-grid h3,
.project-grid p {
  padding-inline: 24px;
}

.project-grid p {
  padding-bottom: 26px;
}

.project-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transition:
    transform 0.42s ease,
    filter 0.42s ease;
}

.project-grid article:hover .project-visual::after {
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.04);
}

.visual-1 {
  background-image: url("assets/kitchen-countertops.png");
}

.visual-2 {
  background-image: url("assets/milled-panels.jpeg");
}

.visual-3 {
  background-image: url("assets/stairs-facades.jpeg");
}

.request-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 92px);
  background: var(--white);
}

.request-copy p {
  margin-top: 22px;
  font-size: 18px;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 21, 18, 0.18);
  background: var(--white);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(185, 121, 66, 0.18);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-note.success {
  color: #3f6f3c;
  font-weight: 800;
}

.form-note.error {
  color: #9b3b30;
  font-weight: 800;
}

.request-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: #171512;
}

.footer strong {
  font-size: 22px;
}

.footer p {
  max-width: 460px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-copy {
  font-size: 14px;
  font-weight: 300;
}

address {
  display: grid;
  gap: 8px;
  font-style: normal;
  text-align: right;
}

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

  .nav {
    display: none;
  }

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

  .project-grid,
  .intro,
  .request-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-phone {
    font-size: 14px;
  }

  .hero {
    min-height: 94vh;
    padding: 96px 18px 30px;
  }

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

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

  .section,
  .materials-band,
  .projects,
  .request-section,
  .footer {
    padding: 58px 18px;
  }

  .section-heading,
  .footer {
    display: block;
  }

  address {
    margin-top: 24px;
    text-align: left;
  }
}
