:root {
  --ink: #211a14;
  --paper: #f7f1e8;
  --stone: #d7cab8;
  --timber: #6d3f22;
  --moss: #46513c;
  --charcoal: #17130f;
  --line: rgba(33, 26, 20, 0.16);
  --muted: #6c6258;
  --white: #fffaf2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: var(--white);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(247, 241, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  margin-top: 3px;
}

.brand-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-logo-full {
  width: min(280px, 34vw);
  max-height: 54px;
}

.brand-logo-mobile {
  display: none;
  width: 40px;
  max-height: 44px;
}

.brand-text {
  display: none;
  min-width: 0;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 9px 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 750;
  padding: 9px 11px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(109, 63, 34, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid var(--timber);
  background: var(--timber);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(33, 26, 20, 0.28);
}

.btn.light {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(255, 250, 242, 0.6);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.86), rgba(23, 19, 15, 0.4) 48%, rgba(23, 19, 15, 0.18)),
    linear-gradient(0deg, rgba(23, 19, 15, 0.82), rgba(23, 19, 15, 0) 48%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 72px;
}

.eyebrow {
  display: inline-block;
  font-weight: 850;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ead6be;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 { font-size: 1.35rem; }

.lede {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 250, 242, 0.88);
  margin: 20px 0 0;
}

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

.section {
  padding: 72px 0;
}

.section.alt {
  background: #efe5d6;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head p,
.copy p {
  color: var(--muted);
  margin: 12px 0 0;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.card.pad { padding: 24px; }

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body { padding: 18px; }

.card p,
.service-list li,
.caption {
  color: var(--muted);
}

.service-list {
  padding-left: 20px;
  margin: 16px 0 0;
}

.service-list li { margin: 7px 0; }

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

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--stone);
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo:hover img { transform: scale(1.03); }

.photo span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  background: rgba(23, 19, 15, 0.78);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 750;
  border-radius: 6px;
  font-family: "Hanken Grotesk", Arial, sans-serif;
}

.process {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step:before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  background: var(--moss);
  color: var(--white);
  border-radius: 50%;
  font-weight: 850;
}

.cta-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 54px 0;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.cta-band p { color: rgba(255, 250, 242, 0.78); }

.reviews-ready {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.review-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

.source-tag {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--timber);
  background: rgba(109, 63, 34, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-bar button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button.active {
  background: var(--timber);
  color: var(--white);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox.open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: min(980px, 100%);
  color: var(--white);
}

.lightbox img {
  max-height: 78vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
}

form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(33, 26, 20, 0.22);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea { resize: vertical; }

.form-note,
.status,
.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.status { min-height: 1.4em; }

.honeypot { display: none; }

.visualizer-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

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

.check-option {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px;
  background: var(--white);
  font-weight: 700;
}

.check-option input { width: auto; }

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

.preview-panel {
  min-height: 300px;
  background: #221d18;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  align-items: center;
  text-align: center;
}

.preview-panel img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.demo-banner {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 10px;
  background: #ead6be;
  color: var(--ink);
  border-radius: 6px;
  font-weight: 850;
}

.site-footer {
  background: #120f0c;
  color: rgba(255, 250, 242, 0.72);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 28px;
}

.site-footer a {
  color: rgba(255, 250, 242, 0.9);
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-brand img {
  width: min(240px, 100%);
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.copyright {
  border-top: 1px solid rgba(255, 250, 242, 0.14);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .brand-logo-full { display: none; }
  .brand-logo-mobile { display: block; }
  .brand-text { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero { min-height: 560px; }
  .section-head,
  .visualizer-layout,
  .cta-band .wrap,
  .footer-grid,
  .grid,
  .grid.two,
  .grid.four {
    grid-template-columns: 1fr;
  }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid,
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav-wrap,
  .wrap,
  .hero-inner { width: min(100% - 24px, 1180px); }
  .hero-inner { padding-bottom: 54px; }
  .section { padding: 52px 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr; }
}
