@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --paper: #f6f0e6;
  --paper-strong: #eadbc7;
  --sand: #cfb08c;
  --clay: #9a7448;
  --ink: #16130f;
  --ink-soft: #3f372f;
  --white: #fffdf9;
  --line: rgba(22, 19, 15, 0.12);
  --line-strong: rgba(22, 19, 15, 0.22);
  --shadow: 0 18px 40px rgba(22, 19, 15, 0.08);
  --shadow-strong: 0 28px 70px rgba(22, 19, 15, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(207, 176, 140, 0.3), transparent 28%),
    linear-gradient(180deg, #fbf8f3 0%, #f5ecde 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 19, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 19, 15, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

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

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

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.9rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.topbar a {
  color: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
}

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

.brand-mark {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

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

.brand-copy strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(154, 116, 72, 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(22, 19, 15, 0.18);
}

.button-light {
  background: rgba(255, 253, 249, 0.88);
  color: var(--ink);
  border-color: var(--line-strong);
}

.hero {
  position: relative;
  padding: 2.4rem 0 3.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.service-card,
.testimonial-card,
.process-card,
.form-surface {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 253, 249, 0.96), rgba(248, 240, 229, 0.9));
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.8vw, 4rem);
  max-width: none;
}

.hero-lead,
.section-heading p,
.contact-copy p,
.service-card p,
.testimonial-card p,
.process-card p,
.site-footer p {
  color: var(--ink-soft);
}

.hero-lead {
  max-width: 72ch;
  margin: 1rem 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.hero-pills span,
.service-index,
.process-card span {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-pills span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  font-size: 0.94rem;
}

.contact-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.service-card h3,
.process-card h3 {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
}

.section-shell {
  padding: 1.4rem 0;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  max-width: 54rem;
  margin-bottom: 1.6rem;
}

.wide-section-heading {
  max-width: none;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.15rem);
  max-width: 14ch;
}

.wide-section-heading .wide-section-title {
  max-width: none;
  width: 100%;
}

.split-heading {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  gap: 1.2rem;
  align-items: end;
}

.split-heading > div {
  max-width: none;
}

.project-media-heading {
  grid-template-columns: 1fr;
}

.project-media-heading .wide-section-title {
  max-width: none;
  width: 100%;
}

.project-carousel {
  display: grid;
  gap: 1.25rem;
}

.carousel-toolbar,
.carousel-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-toolbar {
  justify-content: center;
}

.carousel-footer {
  justify-content: center;
}

.carousel-controls {
  display: flex;
  gap: 0.65rem;
}

.carousel-button {
  min-width: 5.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(154, 116, 72, 0.5);
  background: rgba(255, 253, 249, 1);
}

.carousel-viewport {
  display: grid;
  position: relative;
  min-height: 36rem;
}

.project-slide {
  grid-area: 1 / 1;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease-out, visibility 0s linear 120ms;
}

.project-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 120ms ease-out;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
  padding: 1rem;
  height: 36rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--shadow);
  align-items: stretch;
  overflow: hidden;
}

.project-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.7rem;
  min-height: 100%;
  min-width: 0;
}

.project-content {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
  gap: 0.85rem;
  padding: 0.35rem 0.35rem 0.35rem 0;
  min-height: 100%;
  min-width: 0;
}

.project-content h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.98;
}

.project-content p {
  margin: 0;
  color: var(--ink-soft);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(154, 116, 72, 0.12);
  color: var(--clay);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.carousel-dot {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(154, 116, 72, 0.42);
  background: rgba(255, 253, 249, 0.7);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.carousel-dot.is-active {
  background: var(--clay);
  border-color: var(--clay);
  transform: scale(1.12);
}

.service-grid,
.testimonial-grid,
.process-grid,
.footer-layout {
  display: grid;
  gap: 1rem;
}

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

.service-card {
  min-height: 15rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.86);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(154, 116, 72, 0.14);
  color: var(--clay);
  font-size: 0.95rem;
}

.media-section {
  position: relative;
}

.media-frame,
.compare-frame {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  min-height: 100%;
  height: 100%;
}

.image-frame {
  background: rgba(22, 19, 15, 0.04);
}

.media-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.compare-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100%;
  border: 1px dashed rgba(154, 116, 72, 0.36);
}

.compare-side {
  margin: 0;
  position: relative;
  display: block;
  height: 100%;
  min-height: 15rem;
  overflow: hidden;
}

.compare-side span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 19, 15, 0.72);
  color: var(--paper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-side {
  background: rgba(22, 19, 15, 0.04);
}

.after-side {
  background: rgba(22, 19, 15, 0.04);
}

.media-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  height: 100%;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonials-section {
  background:
    linear-gradient(130deg, rgba(22, 19, 15, 0.96), rgba(58, 49, 39, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials-section .eyebrow {
  color: var(--sand);
}

.testimonials-section .section-heading h2 {
  color: var(--paper);
}

.testimonials-section .section-heading p {
  color: rgba(246, 240, 230, 0.8);
}

.testimonial-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.88);
}

.testimonial-card p {
  margin: 0;
}

.testimonial-card footer {
  margin-top: 1rem;
  color: var(--clay);
  font-weight: 700;
}

.reviews-link-wrap {
  margin: 1.5rem 0 0;
  text-align: center;
}

.process-section {
  padding-top: 1.4rem;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.94);
}

.process-card span {
  display: inline-block;
  color: var(--clay);
  font-size: 0.95rem;
}

.contact-section {
  padding-top: 1.2rem;
  padding-bottom: 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
  align-items: start;
}

.contact-copy {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-points a,
.contact-points span {
  color: var(--ink-soft);
  font-weight: 600;
}

.form-surface {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.94);
}

form {
  display: grid;
  gap: 1rem;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0.9rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(154, 116, 72, 0.12);
  background: var(--white);
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

.submit-button {
  justify-self: start;
  min-width: 12rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(22, 19, 15, 0.96);
  color: var(--paper);
}

.footer-layout {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.65fr));
  padding: 2rem 0 1.4rem;
}

.footer-brand .brand-copy small,
.site-footer p,
.footer-links a,
.footer-links span {
  color: rgba(246, 240, 230, 0.76);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.footer-bottom {
  padding: 0.9rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(246, 240, 230, 0.65);
  font-size: 0.94rem;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: min(42rem, calc(100% - 2rem));
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.thank-you-card h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.98;
}

.thank-you-card p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}

@media (max-width: 1100px) {
  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: auto;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 0.85rem 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .desktop-cta {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.4rem;
  }

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

  .site-nav a {
    padding-inline: 0;
    border-radius: 0;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .carousel-toolbar,
  .carousel-footer {
    display: grid;
    align-items: start;
  }

  .split-heading,
  .footer-layout,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .contact-copy h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .topbar-links,
  .form-row,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .topbar-links {
    display: grid;
  }

  .hero-copy,
  .testimonial-card,
  .process-card,
  .form-surface,
  .thank-you-card {
    border-radius: 1.4rem;
  }

  .carousel-controls {
    width: 100%;
  }

  .carousel-button {
    flex: 1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-button,
  .button {
    width: 100%;
  }
}
