:root {
  --bg: #f6efe5;
  --surface: rgba(255, 250, 243, 0.86);
  --surface-strong: rgba(255, 249, 241, 0.95);
  --surface-dark: #1f1711;
  --text: #231810;
  --muted: #6e5b49;
  --line: rgba(88, 63, 37, 0.12);
  --brand: #9e6932;
  --brand-strong: #7d4f1f;
  --white: #fff8f1;
  --container: 1180px;
  --radius: 30px;
  --shadow-soft: 0 22px 56px rgba(60, 42, 23, 0.10);
  --shadow-card: 0 18px 44px rgba(55, 37, 18, 0.14);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.45), transparent 38%),
    linear-gradient(180deg, #fbf6f0 0%, #f6efe5 48%, #efe4d6 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 26%, transparent 76%, rgba(158,105,50,0.03));
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5rem 0; }

#proof,
#projects,
#process,
#contact,
#submit-review,
.reviews-directory-section {
  scroll-margin-top: 6.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(158, 105, 50, 0.10);
  color: var(--brand);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow-light {
  color: #fff8f1;
  background: rgba(255, 250, 243, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.section-heading { max-width: 720px; margin-bottom: 1.6rem; }
.section-heading h2,
.hero h1 {
  margin: 1rem 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, ui-serif, serif;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(249, 242, 234, 0.86);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(55, 37, 18, 0.06);
}
.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(55, 37, 18, 0.10);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.brand-text strong,
.site-nav a,
.menu-toggle,
.contact-form label,
.footer-meta strong {
  color: var(--text);
}
.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}
.brand-text small,
.footer-meta span,
.form-status,
.step p {
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.site-nav a {
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a:focus,
.footer-link-pill:hover,
.footer-link-pill:focus {
  color: var(--brand);
}
.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.header-social-link,
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.94);
  color: var(--text);
  box-shadow: 0 5px 10px rgba(55, 37, 18, 0.06);
}
.header-social-link {
  width: 42px;
  height: 42px;
}
.header-social-link svg,
.footer-social-link svg {
  width: 18px;
  height: 18px;
}
.header-social-link:hover,
.header-social-link:focus,
.footer-social-link:hover,
.footer-social-link:focus {
  color: var(--brand);
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary,
.mobile-sticky-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  box-shadow: 0 16px 30px rgba(125, 79, 31, 0.22);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 252, 248, 0.9);
  border-color: rgba(88, 63, 37, 0.18);
}

.hero { padding: 2rem 0 2.7rem; }
.hero-stage {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: min(86vh, 760px);
  background: #1d140f;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 26px 64px rgba(35, 24, 16, 0.18);
}
.hero-media,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 12, 8, 0.82) 0%, rgba(17, 12, 8, 0.52) 38%, rgba(17, 12, 8, 0.08) 70%),
    linear-gradient(180deg, rgba(17, 12, 8, 0.08) 0%, rgba(17, 12, 8, 0.36) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(86vh, 760px);
  width: min(620px, calc(100% - 3rem));
  padding: 2rem 0 2rem 2rem;
}
.hero h1 {
  max-width: 10ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 6vw, 5.35rem);
  color: #fff8f1;
}
.hero-tags,
.hero-meta,
.review-labels,
.review-actions,
.estimate-pills,
.footer-links-minimal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero-tags { margin-top: 1.25rem; }
.hero-tags span,
.hero-meta span,
.review-pill,
.google-pill,
.proof-chip,
.project-card-copy span,
.estimate-pills span,
.estimate-pills a,
.footer-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.56rem 0.82rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}
.hero-tags span,
.hero-meta span {
  color: #fff8f1;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,250,243,0.12);
  backdrop-filter: blur(8px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.hero-meta { margin-top: 1rem; }

.proof-section {
  padding-top: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.review-card,
.map-card,
.proof-chip,
.step,
.estimate-panel,
.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.review-card,
.map-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
}
.map-card-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, ui-serif, serif;
}
.map-card-copy p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}
.map-embed-wrap {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(88,63,37,0.12);
  background: #f3eadf;
  min-height: 280px;
}
.map-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}
.google-pill {
  color: #fffdf9;
  background: linear-gradient(135deg, #a56f35 0%, #7d4f1f 100%);
}
.review-pill,
.proof-chip,
.estimate-pills span,
.estimate-pills a,
.footer-link-pill {
  color: var(--text);
  background: rgba(255, 251, 246, 0.94);
  border: 1px solid var(--line);
}
.review-copy h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, ui-serif, serif;
}
.review-heading-link {
  display: inline-flex;
  align-items: center;
}
.review-heading-link:hover,
.review-heading-link:focus {
  color: var(--brand);
}
.proof-stack {
  display: grid;
  gap: 1rem;
}
.proof-chip {
  min-height: 88px;
  padding: 1rem 1.15rem;
  border-radius: 24px;
  justify-content: flex-start;
  font-size: 1rem;
}

.project-section { padding-top: 5.2rem; }
.projects-shell { margin-bottom: 1.4rem; }
.project-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 30px;
  border: 1px solid rgba(88,63,37,0.10);
  box-shadow: var(--shadow-card);
  background: #d7c2a6;
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 17, 12, 0.04) 10%, rgba(24, 17, 12, 0.28) 50%, rgba(18, 13, 9, 0.90) 100%);
}
.project-card-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: 0;
}
.project-card-copy span {
  justify-self: start;
  color: #3a2a1d;
  background: rgba(255, 248, 240, 0.95);
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: 0 10px 20px rgba(18, 13, 9, 0.14);
}

.project-card-carousel {
  min-height: 380px;
  isolation: isolate;
  touch-action: pan-y;
}

.project-card-carousel-tall {
  min-height: 380px;
}
.project-carousel-track {
  position: absolute;
  inset: 0;
}
.project-card-carousel .project-card-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  object-position: center 54%;
}
.project-card-carousel .project-card-slide.is-active {
  opacity: 1;
}
.project-card-carousel .project-card-copy,
.project-carousel-control,
.project-carousel-dots {
  z-index: 2;
}
.project-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fffaf3;
  background: rgba(16, 12, 9, 0.44);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.project-carousel-control span {
  font-size: 1.65rem;
  line-height: 1;
  transform: translateY(-0.04em);
}
.project-carousel-control:hover,
.project-carousel-control:focus-visible {
  background: rgba(16, 12, 9, 0.62);
}
.project-carousel-control-prev {
  left: 0.85rem;
}
.project-carousel-control-next {
  right: 0.85rem;
}
.project-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 4.35rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.project-carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 248, 240, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}
.project-carousel-dot.is-active {
  width: 26px;
  background: rgba(255, 248, 240, 0.98);
}

.process-section {
  background:
    radial-gradient(circle at top right, rgba(158, 105, 50, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(239, 225, 207, 0.52) 0%, rgba(243, 231, 216, 0.18) 100%);
}
.steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}
.steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(158, 105, 50, 0.05), rgba(158, 105, 50, 0.28), rgba(158, 105, 50, 0.05));
}
.step {
  position: relative;
  flex: 0 1 auto;
  width: min(100%, 238px);
  padding: 1.5rem 1.4rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.92) 0%, rgba(247, 238, 228, 0.84) 100%);
  box-shadow: 0 18px 34px rgba(55, 37, 18, 0.08);
  backdrop-filter: blur(10px);
}
.step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.52);
  pointer-events: none;
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
.step-icon,
.step-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--brand);
  background: linear-gradient(180deg, rgba(255, 249, 242, 0.96) 0%, rgba(241, 226, 206, 0.96) 100%);
  box-shadow: 0 12px 22px rgba(55, 37, 18, 0.08);
}
.step-icon {
  color: #8b5b29;
}
.step-icon svg {
  width: 24px;
  height: 24px;
}
.step-count {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(78, 53, 28, 0.82);
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(158, 105, 50, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.step h3 {
  margin: 0.95rem 0 0.4rem;
  font-size: 1.32rem;
}
.step p {
  margin: 0;
  font-size: 1rem;
}

.contact-section { background: linear-gradient(180deg, #faf4ed 0%, #efe4d6 100%); }
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
.estimate-panel {
  overflow: hidden;
  border-radius: 32px;
  display: grid;
  gap: 0;
  background: rgba(255, 249, 242, 0.97);
}
.estimate-image-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #efe4d6;
  width: 100%;
  margin: 0;
  display: block;
  padding: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}
.estimate-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.estimate-panel-copy {
  padding: 1.4rem;
}
.estimate-panel-meta {
  border-top: 1px solid var(--line);
}
.estimate-panel .contact-form {
  margin: 0 1.4rem 1.4rem;
}
.contact-form,
.review-submit-card,
.review-list-item {
  scroll-margin-bottom: 7.5rem;
}
.contact-section-heading { max-width: none; margin-bottom: 1rem; }
.estimate-pills {
  margin-top: 0.25rem;
}
.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.45rem;
  border-radius: 32px;
  background: rgba(255, 249, 242, 0.97);
}
.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(88, 63, 37, 0.14);
  background: rgba(255,255,255,0.9);
  color: var(--text);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8a7a68; }
.contact-form select option { color: var(--text); background: #fffdf9; }
.form-status { margin: 0; min-height: 1.2rem; font-size: 0.95rem; }
.form-status.is-success { color: #2b7a3f; }
.form-status.is-error { color: #a23b32; }
.form-status.is-loading { color: var(--muted); }
.contact-form button[disabled] { opacity: 0.65; cursor: wait; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-wrap {
  display: flex;
  justify-content: flex-start;
  padding: 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(88, 63, 37, 0.14);
  background: linear-gradient(180deg, rgba(248, 242, 234, 0.98) 0%, rgba(240, 229, 214, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  overflow-x: auto;
}
.turnstile-wrap > div { margin-inline: auto; max-width: 100%; }
.turnstile-wrap iframe { display: block; max-width: 100%; margin-inline: auto; border-radius: 14px; }

.site-footer {
  padding: 0.38rem 0 2.2rem;
  background: rgba(239, 226, 210, 0.88);
  border-top: 1px solid var(--line);
}
.footer-minimal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem 0.8rem;
}
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 12px rgba(55, 37, 18, 0.06);
}
.footer-meta {
  display: grid;
  gap: 0.05rem;
  justify-items: center;
  text-align: center;
  line-height: 1.1;
}
.footer-meta span {
  font-size: 0.78rem;
}
.footer-socials {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}
.footer-social-link {
  width: 42px;
  height: 42px;
}
.footer-links-minimal {
  justify-content: flex-end;
}
.footer-link-pill { font-weight: 700; }
.footer-link-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(55, 37, 18, 0.78);
  text-decoration: none;
}
.footer-link-text:hover,
.footer-link-text:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.footer-link-text[aria-current="page"] {
  color: var(--brand-dark);
}

.mobile-sticky-cta {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(250, 244, 236, 0.94);
  border: 1px solid rgba(88,63,37,0.12);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(55, 37, 18, 0.18);
  backdrop-filter: blur(16px);
}
.mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 800;
}
.mobile-sticky-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(88,63,37,0.14);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.btn:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.footer-link-pill:focus-visible,
.header-social-link:focus-visible,
.footer-social-link:focus-visible,
.review-modal-close:focus-visible {
  outline: none;
  border-color: rgba(158, 105, 50, 0.46);
  box-shadow: 0 0 0 4px rgba(182, 123, 55, 0.12);
}

@media (max-width: 1080px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }
  .steps::before {
    left: 2rem;
    right: auto;
    top: 2.2rem;
    bottom: 2.2rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(158, 105, 50, 0.05), rgba(158, 105, 50, 0.28), rgba(158, 105, 50, 0.05));
  }
  .project-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-links-minimal {
    justify-content: flex-start;
  }
  .footer-socials {
    justify-content: flex-end;
  }
  .reviews-directory-shell {
    grid-template-columns: 1fr;
  }
  .reviews-page-list-card,
  .review-submit-page-card {
    position: static;
    top: auto;
  }
  .review-submit-page-card {
    order: -1;
  }
}

@media (max-width: 860px) {
  .site-nav,
  .nav-cta { display: none; }
  .header-socials {
    margin-left: auto;
  }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.65rem);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(250, 244, 236, 0.98);
    border: 1px solid rgba(88,63,37,0.12);
    box-shadow: var(--shadow-soft);
  }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  body { padding-bottom: 7.25rem; }
  .container { width: min(var(--container), calc(100% - 1.2rem)); }
  .section { padding: 4rem 0; }
  .hero {
    padding: 1rem 0 2rem;
  }
  .hero-stage {
    min-height: 600px;
    border-radius: 26px;
  }
  .hero-content {
    width: calc(100% - 2rem);
    min-height: 600px;
    padding: 1.15rem 0 1.15rem 1rem;
    justify-content: flex-end;
  }
  .hero h1 {
    max-width: 9ch;
    font-size: clamp(2.5rem, 10.8vw, 3.55rem);
  }
  .hero-image { object-position: center top; }
  .hero-actions .btn,
  .review-actions .btn,
  .contact-form .btn,
  .footer-link-pill { width: 100%; }
  .review-actions,
  .footer-links-minimal { width: 100%; }
  .proof-chip,
  .review-card,
  .map-card,
  .step,
  .estimate-panel,
  .contact-form { border-radius: 24px; }
  .steps {
    justify-content: center;
  }
  .step {
    width: min(100%, 240px);
  }
  .contact-shell {
    gap: 0.9rem;
  }
  .estimate-panel {
    overflow: hidden;
  }
  .estimate-image-wrap {
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    display: block;
    padding: 0;
    border-bottom: 0;
    border-radius: 0;
    background: #efe4d6;
  }
  .estimate-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  .estimate-panel-copy,
  .contact-form {
    padding: 1.15rem;
  }
  .estimate-panel .contact-form {
    margin: 0 1.15rem 1.15rem;
  }
  .estimate-panel-meta {
    padding-top: 1rem;
  }
  .site-reviews-header {
    align-items: flex-start;
    padding: 0 1rem;
  }
  .review-submit-card,
  .review-submit-page-card {
    gap: 0.85rem;
  }
  .project-section {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }
  .projects-shell {
    width: min(var(--container), calc(100% - 1.2rem));
    margin: 0 auto 1rem;
  }
  .project-strip {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
  }
  .project-card {
    width: 100%;
    min-height: clamp(280px, 72vw, 340px);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
  .project-card-carousel {
    min-height: clamp(340px, 96vw, 470px);
  }
  .project-card-carousel-tall {
    min-height: clamp(340px, 96vw, 470px);
  }
  .project-carousel-control {
    width: 42px;
    height: 42px;
  }
  .project-carousel-control-prev {
    left: 0.75rem;
  }
  .project-carousel-control-next {
    right: 0.75rem;
  }
  .project-carousel-dots {
    bottom: 4.15rem;
  }
  .project-card-copy {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
  }
  .site-footer {
    padding: 0.3rem 0 3.5rem;
  }
  .nav-wrap {
    min-height: 74px;
    gap: 0.65rem;
  }
  .brand {
    gap: 0.6rem;
  }
  .brand-logo {
    width: 46px;
    height: 46px;
  }
  .brand-text strong {
    font-size: 0.9rem;
  }
  .brand-text small {
    font-size: 0.74rem;
  }
  .header-socials {
    gap: 0.32rem;
  }
  .header-social-link {
    width: 38px;
    height: 38px;
  }
  .header-social-link svg {
    width: 17px;
    height: 17px;
  }
  .mobile-sticky-cta { display: grid; }
}

@media (max-width: 420px) {
  .nav-wrap {
    gap: 0.45rem;
  }
  .brand-text strong {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }
  .brand-text small {
    display: none;
  }
  .header-social-link,
  .footer-social-link {
    width: 36px;
    height: 36px;
  }
  .header-social-link svg,
  .footer-social-link svg {
    width: 16px;
    height: 16px;
  }
  .menu-toggle {
    padding: 0.62rem 0.74rem;
  }
}

@media (max-width: 640px) {
  .footer-minimal {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
    align-items: center;
  }
  .footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .footer-meta {
    min-width: 0;
  }
    .footer-meta span {
    font-size: 0.72rem;
    line-height: 1.1;
  }
  .footer-socials {
    gap: 0.28rem;
  }
  .footer-social-link {
    width: 38px;
    height: 38px;
  }
  .footer-social-link svg {
    width: 17px;
    height: 17px;
  }
  .map-card {
    padding: 1.15rem;
  }
  .map-embed-wrap {
    border-radius: 20px;
  }
  .map-embed-wrap iframe {
    min-height: 260px;
  }
}

.site-reviews-grid {
  grid-template-columns: minmax(0, 1fr);
}
.review-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}
.review-open-trigger {
  white-space: nowrap;
}
.site-reviews-card,
.review-submit-card,
.admin-auth-card,
.admin-review-card,
.admin-empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.site-reviews-card,
.review-submit-card,
.admin-auth-card,
.admin-review-card,
.admin-empty-state {
  border-radius: 30px;
}
.site-reviews-card {
  padding: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
  overflow: hidden;
}
.site-reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1.5rem;
}
.site-reviews-header h2,
.site-reviews-header h3,
.review-submit-card h2,
.review-submit-card h3,
.admin-review-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, ui-serif, serif;
}
.review-kicker,
.review-submit-kicker,
.admin-review-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.94);
  color: var(--text);
  font-weight: 700;
}
.review-carousel-controls {
  display: none;
}
.carousel-control {
  display: none;
}
.carousel-control:disabled {
  opacity: 0.45;
  cursor: default;
}
.review-carousel,
.review-carousel-empty {
  min-height: clamp(420px, 76vh, 760px);
}
.review-carousel {
  margin-bottom: 0;
  background: #120f0b;
}
.review-carousel-empty {
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px dashed rgba(88, 63, 37, 0.16);
  background: linear-gradient(180deg, rgba(249, 244, 237, 0.92) 0%, rgba(242, 232, 219, 0.92) 100%);
  text-align: center;
  padding: 1.6rem;
}
.review-slide {
  position: relative;
  display: block;
  min-height: clamp(420px, 76vh, 760px);
  overflow: hidden;
  border-radius: 28px;
  background: #120f0b;
  border: 1px solid rgba(88, 63, 37, 0.12);
}
.review-slide-image {
  width: 100%;
  height: clamp(420px, 76vh, 760px);
  min-height: inherit;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #120f0b;
}
.review-slide-image-fallback {
  width: 100%;
  height: clamp(420px, 76vh, 760px);
  min-height: inherit;
  background: radial-gradient(circle at top, rgba(199, 157, 91, 0.42), transparent 46%), linear-gradient(180deg, rgba(31, 24, 18, 0.96), rgba(17, 13, 10, 0.98));
}
.review-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 16%, rgba(0, 0, 0, 0.24) 46%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}
.review-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 0.9rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  color: #fffaf4;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.review-slide-rating {
  color: #f5c86a;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.review-slide blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}
.review-slide-footer strong {
  display: block;
  font-size: 1.02rem;
}
.review-slide-meta {
  margin: 0.25rem 0 0;
  color: rgba(255, 245, 232, 0.82);
}
.review-edge-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  min-width: 64px;
  border: 0;
  background: linear-gradient(90deg, rgba(8, 6, 4, 0.22), rgba(8, 6, 4, 0));
  z-index: 3;
  cursor: pointer;
}
.review-edge-hit::after {
  content: "‹";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(12, 9, 7, 0.38);
  color: rgba(255, 249, 242, 0.92);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}
.review-edge-hit:hover::after,
.review-edge-hit:focus-visible::after {
  background: rgba(12, 9, 7, 0.62);
}
.review-edge-hit-prev { left: 0; }
.review-edge-hit-prev::after { left: clamp(0.5rem, 1.6vw, 0.9rem); }
.review-edge-hit-next {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 6, 4, 0.22), rgba(8, 6, 4, 0));
}
.review-edge-hit-next::after {
  content: "›";
  right: clamp(0.5rem, 1.6vw, 0.9rem);
}
.review-edge-hit:focus-visible {
  outline: 2px solid rgba(245, 200, 106, 0.95);
  outline-offset: -2px;
}
.review-textarea-label,
.review-upload-label {
  display: grid;
  gap: 0.45rem;
}
.review-textarea-label textarea {
  min-height: 5.8rem;
  max-height: 8rem;
  resize: vertical;
}
.review-field-label {
  display: block;
  font-weight: 700;
  color: var(--text);
}
.review-char-help {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  text-align: left;
}
.review-char-help.is-limit {
  color: var(--brand-strong);
  font-weight: 700;
}
.review-modal-intro {
  display: grid;
  gap: 0.4rem;
  padding: 0 0 0.35rem;
}
.review-submit-card {
  padding: 1.5rem;
  display: grid;
  align-content: start;
  gap: 1rem;
}
.review-submit-card p,
.review-submit-card small,
.admin-review-head p,
.admin-review-message {
  margin: 0;
  color: var(--muted);
}
.review-form {
  display: grid;
  gap: 0.9rem;
}
.review-form label {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}
.review-form input,
.review-form select,
.review-form textarea {
  min-width: 0;
}
.review-form-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.review-file-input {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  border: 1px dashed rgba(88, 63, 37, 0.18);
  background: rgba(255,255,255,0.82);
}
.admin-page {
  min-height: 100vh;
}
.admin-shell {
  display: grid;
  gap: 1rem;
}
.admin-auth-card,
.admin-review-card,
.admin-empty-state {
  padding: 1.35rem;
}
.admin-auth-card {
  display: grid;
  gap: 1rem;
}
.admin-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.admin-auth-actions select {
  min-width: 180px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(88, 63, 37, 0.14);
  background: rgba(255,255,255,0.94);
}
.admin-review-list {
  display: grid;
  gap: 1rem;
}
.admin-review-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.admin-review-meta {
  display: grid;
  gap: 0.3rem;
  justify-items: end;
  text-align: right;
}
.admin-review-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.admin-review-photos img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(88, 63, 37, 0.12);
}
.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.reviews-page-main {
  background: linear-gradient(180deg, #faf4ed 0%, #efe4d6 100%);
}
.reviews-hero-section {
  padding-top: 2rem;
}
.reviews-hero-card {
  padding: 1.75rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.reviews-hero-card h1 {
  margin: 0.35rem 0 0.5rem;
}
.reviews-hero-card p {
  margin: 0;
  color: var(--muted);
}
.reviews-page-actions {
  margin-top: 1.25rem;
}
.reviews-directory-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1rem;
  align-items: start;
}
.reviews-page-list-card,
.review-submit-page-card {
  position: sticky;
  top: 5.5rem;
}
.review-list {
  display: grid;
  gap: 1rem;
}
.review-list-item {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 26px;
  border: 1px solid rgba(88, 63, 37, 0.12);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, rgba(246, 237, 226, 0.96) 100%);
}
.review-list-copy {
  display: grid;
  gap: 0.85rem;
}
.review-list-copy blockquote {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}
.review-list-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.review-list-photos img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(88, 63, 37, 0.12);
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}
.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 16, 10, 0.62);
  backdrop-filter: blur(8px);
}
.review-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(94vh, 920px);
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(16, 12, 9, 0.32);
}
.review-modal-card {
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  padding-top: clamp(2.8rem, 5vw, 3.2rem);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.995) 0%, rgba(247, 237, 225, 0.99) 100%);
}
.review-modal-card .turnstile-wrap {
  justify-content: center;
  padding: 0.55rem;
}
.review-modal-card .btn[type="submit"] {
  width: 100%;
}
.review-modal-card textarea,
.review-modal-card input,
.review-modal-card select {
  background: rgba(255, 255, 255, 0.96);
}
.review-modal-close {
  position: sticky;
  top: 0.4rem;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(88, 63, 37, 0.14);
  background: rgba(255,255,255,0.94);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
body.modal-open {
  overflow: hidden;
}


@media (max-width: 1080px) {
  .site-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-reviews-card,
  .review-submit-card,
  .admin-auth-card,
  .admin-review-card,
  .admin-empty-state,
  .reviews-hero-card,
  .review-list-item {
    border-radius: 24px;
  }
  .site-reviews-card {
    padding-right: 0;
    padding-left: 0;
  }
  .site-reviews-header,
  .admin-review-head,
  .admin-auth-actions,
  .admin-review-actions {
    grid-template-columns: 1fr;
    display: grid;
  }
  .review-carousel,
  .review-carousel-empty,
  .review-slide {
    min-height: auto;
  }
  .review-slide {
    min-height: min(76svh, 620px);
    border-radius: 22px;
  }
  .review-slide-copy {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.95rem 1rem 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(12, 9, 7, 0.12) 0%, rgba(12, 9, 7, 0.56) 48%, rgba(12, 9, 7, 0.78) 100%);
  }
  .review-slide-image,
  .review-slide-image-fallback {
    height: min(76svh, 620px);
    min-height: min(76svh, 620px);
  }
  .review-form-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .review-list-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-header-actions {
    justify-content: stretch;
  }
  .review-open-trigger {
    width: 100%;
  }
  .review-modal {
    padding: max(0.45rem, env(safe-area-inset-top)) 0.45rem max(0.45rem, env(safe-area-inset-bottom));
  }
  .review-modal-dialog {
    width: 100%;
    max-height: calc(100svh - 0.9rem);
    border-radius: 24px;
  }
  .review-modal-card {
    padding: 0.82rem;
    padding-top: 2.9rem;
  }
  .review-modal-intro {
    gap: 0.22rem;
    padding-bottom: 0.2rem;
  }
  .review-modal-intro p {
    font-size: 0.92rem;
  }
  .review-form {
    gap: 0.7rem;
  }
  .review-form label {
    gap: 0.3rem;
  }
  .review-form input,
  .review-form select,
  .review-form textarea {
    padding: 0.82rem 0.88rem;
    font-size: 0.97rem;
  }
  .review-textarea-label textarea {
    min-height: 4.4rem;
    max-height: 5.4rem;
  }
  .review-file-help,
  .review-char-help {
    font-size: 0.82rem;
  }
  .review-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    margin-left: 0;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .review-modal-card .turnstile-wrap {
    padding: 0.45rem;
  }
  .review-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .review-edge-hit {
    width: 22%;
    min-width: 72px;
  }
  .review-edge-hit::after {
    width: 38px;
    height: 38px;
  }
}


@media (max-width: 520px) {
  .hero-content {
    width: calc(100% - 1.4rem);
    padding: max(0.95rem, env(safe-area-inset-top)) 0 1rem 0.7rem;
  }
  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(2.3rem, 11vw, 3.15rem);
  }
  .hero-tags,
  .hero-meta {
    gap: 0.45rem;
  }
  .hero-tags span,
  .hero-meta span,
  .project-card-copy span {
    min-height: 34px;
    padding: 0.5rem 0.72rem;
    font-size: 0.76rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .site-nav.is-open {
    left: 0.2rem;
    right: 0.2rem;
    top: calc(100% + 0.5rem);
    padding: 0.85rem;
  }
  .contact-form,
  .estimate-panel .contact-form,
  .estimate-panel-copy,
  .review-submit-card,
  .review-submit-page-card,
  .reviews-hero-card,
  .review-list-item,
  .admin-auth-card,
  .admin-review-card,
  .admin-empty-state {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .review-form input,
  .review-form select,
  .review-form textarea {
    font-size: 16px;
  }
  .review-form-split {
    grid-template-columns: 1fr;
  }
  .review-slide {
    min-height: min(70svh, 560px);
  }
  .review-slide-image,
  .review-slide-image-fallback {
    height: min(70svh, 560px);
    min-height: min(70svh, 560px);
  }
  .review-slide-copy {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    gap: 0.65rem;
    padding: 0.9rem;
  }
  .review-slide blockquote {
    font-size: clamp(1rem, 4.1vw, 1.15rem);
    line-height: 1.5;
  }
  .review-edge-hit {
    width: 24%;
    min-width: 68px;
  }
  .review-modal-card {
    padding: 0.75rem;
    padding-top: 2.85rem;
  }
  .review-modal-card .turnstile-wrap {
    padding: 0.35rem;
  }
  .turnstile-wrap {
    padding: 0.75rem 0.5rem;
  }
  .mobile-sticky-cta {
    left: max(0.55rem, env(safe-area-inset-left));
    right: max(0.55rem, env(safe-area-inset-right));
    bottom: calc(0.55rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
    padding: 0.55rem;
  }
  .mobile-sticky-cta a {
    min-height: 48px;
    font-size: 0.95rem;
  }
  .footer-minimal {
    gap: 0.35rem;
  }
}

@media (min-width: 641px) {
  .review-carousel {
    min-height: clamp(500px, 72vh, 820px);
  }
  .review-slide,
  .review-slide-image {
    min-height: clamp(500px, 72vh, 820px);
  }
  .review-modal-card {
    padding-right: 2.25rem;
    padding-left: 2.25rem;
  }
}


@media (min-width: 641px) {
  .site-reviews-header {
    padding: 0;
  }
  .steps::before {
    left: max(15%, calc(50% - 360px));
    right: max(15%, calc(50% - 360px));
  }
}


.footer-meta .footer-links-minimal {
  justify-content: center;
  margin-top: 0.28rem;
}

.legal-page {
  min-height: 100vh;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.legal-main {
  padding: 6.8rem 0 3rem;
}

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

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.3rem);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(246, 238, 228, 0.98));
  box-shadow: var(--shadow-soft);
}

.legal-heading {
  margin-bottom: 1.4rem;
}

.legal-heading h1 {
  margin: 0.7rem 0 0.45rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-updated {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-copy {
  display: grid;
  gap: 1.2rem;
}

.legal-copy section {
  display: grid;
  gap: 0.55rem;
}

.legal-copy h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.42rem;
}

.legal-copy a {
  color: var(--brand);
}

.legal-copy a:hover,
.legal-copy a:focus {
  color: var(--brand-dark);
}

@media (max-width: 860px) {
  .legal-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .legal-page {
    padding-bottom: 0;
  }
  .legal-main {
    padding-top: 6rem;
    padding-bottom: 1.4rem;
  }
  .legal-card {
    border-radius: 24px;
  }
  .legal-topbar-actions {
    width: 100%;
  }
  .legal-topbar-actions .btn {
    width: 100%;
  }
}
