:root {
  --ink: #211912;
  --muted: #7b6b5d;
  --paper: #f6f0e8;
  --sand: #e7d6c2;
  --wood: #7a4d2d;
  --wood-dark: #2a1710;
  --line: rgba(33, 25, 18, 0.14);
  --white: #fffaf4;
  --shadow: 0 24px 80px rgba(42, 23, 16, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 250, 244, 0.34);
  border-radius: 999px;
  background: rgba(33, 25, 18, 0.34);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(33, 25, 18, 0.82);
  border-color: rgba(255, 250, 244, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--wood-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

/* WP menu items are wrapped in <li>; keep them transparent so links
   participate in the flex/grid layout directly (as in the static design). */
.site-nav li {
  display: contents;
}

.site-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(255, 250, 244, 0.84);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 250, 244, 0.14);
  color: var(--white);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  background: var(--white);
  color: var(--wood-dark);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.16);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 130px 6vw 60px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-image {
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 13, 9, 0.78), rgba(20, 13, 9, 0.28) 45%, rgba(20, 13, 9, 0.1)),
    linear-gradient(0deg, rgba(20, 13, 9, 0.48), transparent 52%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #b98758;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.94;
}

h1 { font-size: clamp(54px, 9vw, 132px); max-width: 1050px; }
h2 { font-size: clamp(40px, 6vw, 78px); }
h3 { margin: 0; font-size: 24px; }

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(42, 23, 16, 0.22);
}

.button.primary { background: #b98758; color: var(--white); }
.button.ghost { border-color: rgba(255, 250, 244, 0.38); color: var(--white); }

.hero-panel {
  position: absolute;
  right: 6vw;
  bottom: 60px;
  width: min(300px, 32vw);
  padding: 22px;
  border: 1px solid rgba(255, 250, 244, 0.26);
  border-radius: 18px;
  background: rgba(33, 25, 18, 0.42);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  color: rgba(255, 250, 244, 0.68);
  font-size: 13px;
}

.hero-panel strong {
  display: block;
  margin: 5px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--wood-dark);
  color: var(--white);
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker span {
  padding: 18px 42px;
  color: rgba(255, 250, 244, 0.78);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  padding: 110px 6vw;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.section-copy p:not(.eyebrow),
.page-hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

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

.service-card,
.product-card,
.timeline-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.58);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
}

.service-card {
  min-height: 230px;
  padding: 26px;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--wood);
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.visual-section {
  padding-top: 0;
}

.visual-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-frame picture,
.project-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 1s ease;
}

.visual-frame:hover img { transform: scale(1.04); }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.metric-row div {
  padding: 28px;
  background: var(--white);
}

.metric-row strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 500;
}

.metric-row span { color: var(--muted); }

.dark-band {
  background: var(--wood-dark);
  color: var(--white);
}

.dark-band .section-copy p:not(.eyebrow) { color: rgba(255, 250, 244, 0.72); }

.process-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: rgba(255, 250, 244, 0.14);
}

.process-step {
  min-height: 190px;
  padding: 26px;
  background: var(--wood-dark);
}

.process-step b {
  display: block;
  margin-bottom: 80px;
  font-size: 22px;
}

.process-step span { color: rgba(255, 250, 244, 0.7); }

.order-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 15px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b98758;
  box-shadow: 0 0 0 4px rgba(185, 135, 88, 0.16);
}

input[type="range"] { padding: 0; accent-color: #b98758; }
.budget-value { color: var(--ink); font-size: 16px; }
.full { grid-column: 1 / -1; }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }
.form-note.success { color: #347147; font-weight: 800; }

.page {
  padding-top: 120px;
}

.page-hero {
  padding: 82px 6vw 42px;
}

.page-hero h1 {
  max-width: 1100px;
  color: var(--ink);
}

.page-hero p { max-width: 700px; }

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding-top: 40px;
}

.product-image {
  height: 100%;
  min-height: 580px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.product-list {
  display: grid;
  gap: 14px;
}

.product-card {
  padding: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.product-card:hover { transform: translateX(8px); background: var(--white); }
.product-card p { color: var(--wood); font-weight: 900; }
.product-card span { color: var(--muted); line-height: 1.55; }

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding-top: 40px;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
}

.project-card.large {
  grid-row: span 2;
  min-height: 740px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

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

.project-card div {
  position: absolute;
  inset: auto 18px 18px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(33, 25, 18, 0.58);
  backdrop-filter: blur(14px);
}

.project-card b { display: block; font-size: 24px; }
.project-card span { color: rgba(255, 250, 244, 0.76); }

.timeline {
  display: grid;
  gap: 16px;
  padding-top: 40px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.timeline-item span {
  color: var(--wood);
  font-size: 28px;
  font-weight: 900;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 40px;
}

.contact-card {
  min-height: 180px;
  padding: 28px;
}

.contact-card span {
  display: block;
  margin-bottom: 52px;
  color: var(--muted);
}

.contact-card a {
  font-size: 24px;
  font-weight: 900;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 6vw;
  background: var(--wood-dark);
  color: var(--white);
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer span,
.footer a {
  color: rgba(255, 250, 244, 0.68);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

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

@media (max-width: 980px) {
  .site-header { inset: 12px 12px auto; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(33, 25, 18, 0.94);
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 14px 16px; }
  .hero { padding: 120px 20px 34px; align-items: end; }
  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }
  .split,
  .order-section,
  .product-layout,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .process-preview,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card.large { min-height: 520px; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .brand span:last-child { display: none; }
  h1 { font-size: clamp(46px, 15vw, 72px); }
  h2 { font-size: 40px; }
  .section { padding: 76px 20px; }
  .page-hero { padding: 58px 20px 20px; }
  .service-grid,
  .metric-row,
  .process-preview,
  .order-form,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .product-image { min-height: 360px; }
  .project-card,
  .project-card.large { min-height: 390px; }
  .ticker span { padding: 15px 24px; }
}

.wpcf7 form.order-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.wpcf7 form.order-form p {
  margin: 0;
  display: grid;
  gap: 8px;
}

.wpcf7 form.order-form p.full,
.wpcf7 form.order-form .full {
  grid-column: 1 / -1;
}

.wpcf7 form.order-form input[type="submit"],
.wpcf7 form.order-form .button {
  grid-column: 1 / -1;
  border: 0;
}

.wpcf7 form.order-form .wpcf7-spinner {
  grid-column: 1 / -1;
}

.wpcf7-not-valid-tip {
  color: #a33;
  font-size: 13px;
}

.wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  color: #347147;
  font-weight: 800;
}
