:root {
  --brand-gold: #A47343;
  --brand-dark-brown: #744D34;
  --brand-charcoal: #505050;
  --brand-white: #FFFFFF;
  --brand-soft-beige: #F7F2EC;
  --brand-border: #E8DED3;
  --shadow: 0 18px 46px rgba(116, 77, 52, 0.10);
  --shadow-soft: 0 10px 28px rgba(116, 77, 52, 0.08);
  --container: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brand-charcoal);
  background: var(--brand-white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

.media-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--brand-soft-beige);
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 24px 58px rgba(116, 77, 52, 0.15);
  isolation: isolate;
}

.media-frame::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(145deg, rgba(116, 77, 52, 0.14), transparent 48%),
    linear-gradient(0deg, rgba(80, 80, 80, 0.08), transparent 40%);
  pointer-events: none;
}

.media-frame picture,
.media-frame img {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.media-frame img {
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  transition: transform 680ms ease, filter 680ms ease;
}

.media-frame:hover img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.065);
}

.hero-media {
  min-height: 520px;
  aspect-ratio: 1.04;
  animation: mediaFadeUp 700ms ease both;
}

.hero-media::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  content: "";
  border: 1px solid rgba(164, 115, 67, 0.42);
  border-radius: 18px;
  pointer-events: none;
}

.media-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  max-width: 360px;
  padding: 16px 18px;
  color: var(--brand-charcoal);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 222, 211, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(80, 80, 80, 0.14);
  backdrop-filter: blur(10px);
}

.media-caption span {
  display: block;
  color: var(--brand-dark-brown);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.media-caption strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.page-hero-media {
  align-self: stretch;
  min-height: 360px;
  aspect-ratio: 1.12;
}

.media-section {
  padding: 42px 0 0;
  background: var(--brand-white);
}

.page-image-banner {
  min-height: 260px;
  aspect-ratio: 2.1;
}

@keyframes mediaFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--brand-white);
  background: var(--brand-dark-brown);
  border-radius: var(--radius);
  transition: top 180ms ease;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  padding: 8px 26px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--brand-border);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  position: relative;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: visible;
}

.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(300px, 42vw);
  max-height: 58px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: var(--brand-charcoal);
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--brand-dark-brown);
  background: var(--brand-soft-beige);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--brand-dark-brown);
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-line {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background 180ms ease;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle-line::before {
  transform: translateY(-7px);
}

.nav-toggle-line::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--brand-white);
  background: var(--brand-gold);
  box-shadow: 0 12px 24px rgba(164, 115, 67, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark-brown);
}

.btn-secondary {
  color: var(--brand-gold);
  background: var(--brand-white);
  border-color: var(--brand-gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--brand-white);
  background: var(--brand-gold);
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.92rem;
}

.btn-quiet {
  color: var(--brand-dark-brown);
  background: var(--brand-soft-beige);
  border-color: var(--brand-border);
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  color: var(--brand-white);
  background: var(--brand-dark-brown);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-soft-beige);
  border-bottom: 1px solid var(--brand-border);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(90deg, rgba(232, 222, 211, 0.5) 0, rgba(232, 222, 211, 0.5) 1px, transparent 1px, transparent 96px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 52px;
  align-items: center;
  min-height: 650px;
  padding: 82px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand-dark-brown);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  content: "";
  background: var(--brand-gold);
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--brand-charcoal);
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--brand-charcoal);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  color: var(--brand-dark-brown);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  padding: 28px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
}

.hero-card-kicker,
.metric-label,
.timeline-label {
  color: var(--brand-dark-brown);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card-title {
  margin: 3px 0 0;
  color: var(--brand-charcoal);
  font-size: 1.12rem;
  font-weight: 800;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark-brown);
  font-size: 0.86rem;
  font-weight: 750;
  white-space: nowrap;
}

.status-dot::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--brand-gold);
  border-radius: 999px;
}

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

.metric {
  min-height: 124px;
  padding: 18px;
  background: var(--brand-soft-beige);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}

.metric-value {
  margin: 8px 0 0;
  color: var(--brand-charcoal);
  font-size: 1.72rem;
  font-weight: 850;
}

.metric-note {
  margin: 4px 0 0;
  color: var(--brand-charcoal);
  font-size: 0.9rem;
}

.ledger-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--brand-border);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row strong {
  color: var(--brand-charcoal);
}

.ledger-row span {
  color: var(--brand-dark-brown);
  font-weight: 800;
}

.trust-strip {
  padding: 28px 0;
  background: var(--brand-white);
  border-bottom: 1px solid var(--brand-border);
}

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

.trust-badge {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(116, 77, 52, 0.05);
}

.trust-badge strong {
  display: block;
  color: var(--brand-charcoal);
  line-height: 1.25;
}

.trust-badge span {
  display: block;
  margin-top: 2px;
  color: var(--brand-dark-brown);
  font-size: 0.88rem;
}

.section {
  padding: 86px 0;
}

.section-beige {
  background: var(--brand-soft-beige);
}

.section-border {
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  margin: 0 0 8px;
  color: var(--brand-gold);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--brand-charcoal);
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  margin: 0;
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.section-lede {
  margin-top: 14px;
  color: var(--brand-charcoal);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  position: relative;
  padding: 24px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 115, 67, 0.32);
  box-shadow: 0 18px 42px rgba(116, 77, 52, 0.12);
}

.card.soft {
  background: rgba(255, 255, 255, 0.72);
}

.card h3 {
  margin-top: 16px;
}

.card h2 {
  margin: 16px 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.card p {
  margin-top: 10px;
}

.card .btn {
  margin-top: 18px;
}

.icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  background: var(--brand-soft-beige);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--brand-gold);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(164, 115, 67, 0.12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.statement-box {
  padding: 30px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.statement-box p + p {
  margin-top: 16px;
}

.process-grid {
  counter-reset: process;
}

.process-card {
  min-height: 230px;
}

.process-card::before {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-white);
  content: counter(process);
  counter-increment: process;
  background: var(--brand-gold);
  border-radius: 999px;
  font-weight: 850;
}

.testimonial {
  display: grid;
  gap: 18px;
}

.testimonial blockquote {
  margin: 0;
  color: var(--brand-charcoal);
  font-size: 1.04rem;
}

.testimonial cite {
  color: var(--brand-dark-brown);
  font-style: normal;
  font-weight: 800;
}

.cta-band {
  padding: 46px;
  background: var(--brand-dark-brown);
  border-radius: var(--radius);
  color: var(--brand-white);
}

.cta-band h2,
.cta-band p {
  color: var(--brand-white);
}

.cta-band p {
  max-width: 740px;
  margin-top: 12px;
  opacity: 0.92;
}

.page-hero {
  background: var(--brand-soft-beige);
  border-bottom: 1px solid var(--brand-border);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  padding: 72px 0 54px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.hero-note {
  padding: 22px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-note strong {
  display: block;
  color: var(--brand-charcoal);
}

.hero-note span {
  display: block;
  margin-top: 6px;
  color: var(--brand-dark-brown);
}

.service-grid {
  scroll-margin-top: 110px;
}

.service-detail {
  scroll-margin-top: 104px;
}

.detail-grid {
  display: grid;
  gap: 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
}

.detail-card + .detail-card {
  margin-top: 20px;
}

.detail-card h3 {
  font-size: 1.55rem;
}

.detail-card .feature-list {
  margin-top: 0;
}

.qb-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.qb-check {
  padding: 16px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  font-weight: 720;
}

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

.faq-item {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(116, 77, 52, 0.05);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: var(--brand-charcoal);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  content: "+";
  color: var(--brand-gold);
  font-size: 1.35rem;
  line-height: 20px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 22px 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-layout.simple {
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.3fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  padding: 34px;
}

.contact-item h3 {
  margin: 0;
}

.contact-item > div,
.contact-item p,
.contact-item a {
  min-width: 0;
  max-width: 100%;
}

.contact-item > div {
  display: grid;
  gap: 6px;
}

.contact-item a {
  display: inline-block;
  color: var(--brand-dark-brown);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.contact-item.email-card .email-text,
.contact-item.email-card a {
  max-width: 100%;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  line-height: 1.4;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--brand-charcoal);
  font-size: 0.92rem;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--brand-charcoal);
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(164, 115, 67, 0.13);
}

.site-footer {
  background: var(--brand-white);
  border-top: 1px solid var(--brand-border);
}

.site-footer > .container {
  width: min(100%, 1180px);
  padding: 42px 28px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 0;
}

.footer-grid > * {
  min-width: 0;
}

.footer-logo {
  width: 230px;
  max-height: 58px;
  object-fit: contain;
}

.footer-text {
  max-width: 420px;
  margin-top: 18px;
  line-height: 1.6;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--brand-dark-brown);
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1.45;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--brand-gold);
}

.footer-list a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  padding: 14px 0;
  background: var(--brand-soft-beige);
  border-top: 1px solid var(--brand-border);
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1024px) {
  .contact-layout.simple {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.3fr) minmax(0, 0.9fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
    padding: 8px 18px;
  }

  .navbar {
    min-height: 48px;
  }

  .brand-logo {
    height: 44px;
    max-width: min(230px, 62vw);
    max-height: 44px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: stretch;
    justify-content: stretch;
    max-height: calc(100dvh - 96px);
    padding: 16px;
    overflow-y: auto;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link,
  .nav-menu .btn {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .hero-grid,
  .page-hero-inner,
  .split,
  .detail-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 62px 0;
  }

  .hero-card,
  .hero-media {
    max-width: 620px;
  }

  .hero-media {
    min-height: 420px;
    aspect-ratio: 16 / 11;
  }

  .page-hero-media {
    min-height: 330px;
    aspect-ratio: 16 / 10;
  }

  .media-frame img,
  .media-frame:hover img {
    transform: none;
  }

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

@media (max-width: 900px) {
  .contact-layout.simple {
    grid-template-columns: 1fr;
  }

  .contact-item a,
  .contact-item.email-card .email-text,
  .contact-item.email-card a {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  .site-footer > .container {
    padding: 36px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .contact-layout.simple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-logo {
    height: 42px;
    max-width: min(218px, 64vw);
    max-height: 42px;
  }

  .nav-menu {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 14px;
  }

  .hero-grid {
    gap: 32px;
    padding: 50px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.03rem;
  }

  .hero-text,
  .page-hero p {
    font-size: 1rem;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .media-frame {
    border-radius: 18px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-media::before {
    inset: 10px;
    border-radius: 14px;
  }

  .media-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 13px 14px;
  }

  .page-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .media-section {
    padding-top: 28px;
  }

  .page-image-banner {
    min-height: 210px;
    aspect-ratio: 1.35;
  }

  .page-hero-inner {
    padding: 48px 0 40px;
  }

  .trust-grid,
  .grid-3,
  .grid-2,
  .metric-grid,
  .qb-checklist,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .card,
  .statement-box,
  .detail-card,
  .cta-band {
    padding: 22px;
  }

  .trust-badge {
    min-height: auto;
  }

  .status-dot {
    white-space: normal;
  }

  .footer-logo {
    width: 206px;
    max-height: 52px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .media-frame img,
  .media-frame:hover img {
    transform: none;
  }
}
