:root {
  --bg: #0f0d0b;
  --bg-soft: rgba(24, 19, 15, 0.9);
  --panel: rgba(18, 15, 12, 0.84);
  --panel-strong: rgba(14, 11, 9, 0.94);
  --line: rgba(214, 179, 132, 0.18);
  --line-strong: rgba(214, 179, 132, 0.3);
  --text: #f3ece2;
  --muted: #c6b5a2;
  --accent: #c88d52;
  --accent-deep: #8b5d31;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(158, 101, 55, 0.16), transparent 20%),
    radial-gradient(circle at 78% 22%, rgba(112, 69, 37, 0.14), transparent 18%),
    radial-gradient(circle at 30% 72%, rgba(87, 52, 29, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(31, 18, 11, 0.26), rgba(8, 6, 5, 0.48)),
    repeating-linear-gradient(
      90deg,
      #140e0a 0,
      #140e0a 54px,
      #1a120d 54px,
      #1a120d 112px,
      #110b08 112px,
      #110b08 178px,
      #21150f 178px,
      #21150f 244px,
      #130d09 244px,
      #130d09 316px
    );
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 6px,
      rgba(0, 0, 0, 0.05) 6px,
      rgba(0, 0, 0, 0.05) 7px,
      rgba(0, 0, 0, 0) 7px,
      rgba(0, 0, 0, 0) 16px
    ),
    radial-gradient(ellipse at 20% 30%, rgba(201, 138, 78, 0.1), transparent 24%),
    radial-gradient(ellipse at 70% 65%, rgba(92, 56, 32, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.14), rgba(6, 5, 4, 0.5));
  pointer-events: none;
  opacity: 0.95;
}

.wood-overlay {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px,
      rgba(0, 0, 0, 0.045) 3px,
      rgba(0, 0, 0, 0.045) 4px,
      transparent 4px,
      transparent 7px
    ),
    repeating-radial-gradient(
      circle at 18% 50%,
      rgba(126, 79, 44, 0.08) 0,
      rgba(126, 79, 44, 0.08) 2px,
      transparent 2px,
      transparent 22px
    );
  mix-blend-mode: soft-light;
  opacity: 0.45;
  pointer-events: none;
}

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

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: rgba(10, 8, 7, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(200, 141, 82, 0.18), rgba(139, 93, 49, 0.55));
  color: #fff7ef;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong,
.eyebrow,
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a,
.contact-card a,
.button {
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  margin-bottom: 28px;
}

.hero-copy,
.section,
.contact-panel,
.feature-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 15, 12, 0.88), rgba(11, 9, 7, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  padding: 48px;
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.hero-text,
.service-card p,
.about-copy p,
.about-highlights span,
.gallery-card figcaption,
.review-meta,
.faq-card p,
.process-list p,
.contact-copy p,
.contact-card p,
.metrics-grid p,
.feature-badge span {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 36rem;
  margin-top: 22px;
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

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

.button-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #120d08;
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.hero-details,
.metrics-grid,
.service-grid,
.gallery-grid,
.reviews-grid,
.faq-list,
.process-list,
.about-grid {
  display: grid;
  gap: 18px;
}

.hero-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.hero-details div,
.metrics-grid article,
.service-card,
.about-highlights div,
.review-card,
.faq-card,
.process-list article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.hero-details strong,
.metrics-grid strong,
.about-highlights strong,
.feature-badge strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text);
}

.hero-details span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.feature-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.55));
}

.feature-card-copy,
.feature-badge {
  position: absolute;
  z-index: 1;
}

.feature-card-copy {
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.feature-label {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 244, 230, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-main h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.feature-badge {
  right: 16px;
  bottom: 16px;
  max-width: 240px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(11, 9, 8, 0.82);
  backdrop-filter: blur(10px);
}

.section,
.contact-panel {
  margin-bottom: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.compact-heading {
  margin-bottom: 18px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 42rem;
  margin-bottom: 24px;
}

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

.metrics-grid article strong {
  font-size: 1.18rem;
}

.service-grid,
.gallery-grid,
.reviews-grid,
.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card h3,
.faq-card h3,
.process-list h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-highlights {
  display: grid;
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 16px 18px 18px;
}

.review-quote {
  margin: 0 0 16px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-note {
  font-weight: 700;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(200, 141, 82, 0.14), rgba(200, 141, 82, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.contact-card a {
  font-size: 1.25rem;
  font-weight: 700;
}

.site-footer {
  padding: 10px 6px 20px;
  color: rgba(198, 181, 162, 0.72);
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero,
  .metrics-grid,
  .service-grid,
  .gallery-grid,
  .reviews-grid,
  .faq-list,
  .process-list,
  .about-grid,
  .contact-panel,
  .hero-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article:last-child,
  .gallery-grid figure:last-child,
  .reviews-grid article:last-child,
  .faq-list article:last-child,
  .process-list article:last-child,
  .hero-details div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .hero-details,
  .metrics-grid,
  .service-grid,
  .gallery-grid,
  .reviews-grid,
  .faq-list,
  .process-list,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    border-radius: 26px;
    align-items: stretch;
    padding: 18px;
  }

  .site-nav {
    justify-content: space-between;
    gap: 14px;
  }

  .hero-copy,
  .section,
  .contact-panel {
    padding: 24px;
  }

  h1 {
    max-width: none;
    font-size: 3rem;
  }

  .feature-main h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.15rem;
  }
}
