:root {
  --ink: #002f2f;
  --ink-soft: #36504e;
  --paper: #f7f3eb;
  --paper-2: #eee8dc;
  --white: #ffffff;
  --brand: #c65f35;
  --brand-dark: #944224;
  --accent: #c9a66b;
  --line: rgba(0, 47, 47, 0.14);
  --shadow-sm: 0 12px 32px rgba(0, 47, 47, 0.09);
  --shadow-lg: 0 28px 70px rgba(0, 47, 47, 0.16);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: 1180px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(198, 95, 53, 0.5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow.on-dark {
  color: #efb18d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.lead {
  max-width: 670px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.section {
  padding: clamp(82px, 11vw, 148px) 0;
}

.section--tight {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section--white {
  background: var(--white);
}

.section--dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading p {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 8px 24px rgba(198, 95, 53, 0.22);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 30px rgba(148, 66, 36, 0.27);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.btn--light {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.btn--light:hover {
  color: var(--white);
  background: var(--brand);
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 243, 235, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 47, 47, 0.06);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nav-wrap,
.site-nav {
  display: flex;
  align-items: center;
}

.nav-wrap {
  gap: 18px;
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-link {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: calc(var(--header-h) + 66px) 0 58px;
  background:
    radial-gradient(circle at 14% 32%, rgba(201, 166, 107, 0.22), transparent 24%),
    var(--paper);
}

.hero::after {
  position: absolute;
  top: 9%;
  right: -12%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(198, 95, 53, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.hero-copy {
  padding: 34px 0;
}

.hero-copy h1 em {
  color: var(--brand);
  font-style: italic;
}

.hero-copy .lead {
  margin-bottom: 34px;
}

.hero-note {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-note svg {
  color: var(--brand);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 11% -10% -8% 12%;
  z-index: -1;
  border-radius: var(--radius-lg);
  content: "";
  background: var(--accent);
  transform: rotate(3deg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 4.55;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  right: -28px;
  bottom: 34px;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  border: 6px solid var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.hero-badge strong {
  display: block;
  color: #efb18d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item .icon {
  color: var(--brand);
}

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

.service-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 34px solid rgba(198, 95, 53, 0.08);
  border-radius: 50%;
  content: "";
  transition: transform 300ms ease;
}

.service-card:hover {
  border-color: rgba(198, 95, 53, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.service-card:hover::after {
  transform: scale(1.15);
}

.service-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 68px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card p {
  max-width: 32ch;
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.text-link .icon {
  width: 16px;
  transition: transform 180ms ease;
}

.text-link:hover .icon,
.service-card:hover .text-link .icon {
  transform: translateX(4px);
}

/* Story / feature */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: center;
}

.feature-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #d9d0c1;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.feature-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 20px 22px;
  color: var(--white);
  background: rgba(0, 47, 47, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
}

.feature-caption strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 34px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.check-list .icon {
  margin-top: 3px;
  color: var(--brand);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
}

.process-step {
  position: relative;
  padding: 28px 28px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.process-step::before {
  position: absolute;
  top: -6px;
  left: 28px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  content: "";
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(198, 95, 53, 0.15);
}

.process-step small {
  display: block;
  margin: 12px 0 34px;
  color: #efb18d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.process-step h3 {
  font-size: 1.55rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
}

/* Areas */
.area-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(400px, 1fr);
  gap: 74px;
  align-items: center;
}

.area-map {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 47, 47, 0.04), rgba(198, 95, 53, 0.08)),
    repeating-linear-gradient(35deg, transparent 0 44px, rgba(0, 47, 47, 0.06) 45px 46px),
    repeating-linear-gradient(125deg, transparent 0 58px, rgba(0, 47, 47, 0.045) 59px 60px),
    #e6ded0;
}

.area-map::before,
.area-map::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.area-map::before {
  top: 25%;
  left: 38%;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(198, 95, 53, 0.28);
  box-shadow: 0 0 0 50px rgba(198, 95, 53, 0.06), 0 0 0 100px rgba(198, 95, 53, 0.035);
}

.area-map::after {
  top: calc(25% + 105px);
  left: calc(38% + 105px);
  width: 30px;
  height: 30px;
  background: var(--brand);
  border: 7px solid var(--white);
  box-shadow: 0 8px 24px rgba(0, 47, 47, 0.3);
}

.map-label {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-label--phoenix { top: 48%; left: 51%; }
.map-label--glendale { top: 28%; left: 24%; }
.map-label--peoria { top: 12%; left: 36%; }
.map-label--scottsdale { top: 33%; right: 8%; }
.map-label--tolleson { bottom: 24%; left: 18%; }
.map-label--tempe { right: 22%; bottom: 17%; }

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.city-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
}

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

.faq-list summary::after {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-list details[open] summary::after {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 64ch;
  padding: 0 50px 22px 0;
  color: var(--ink-soft);
}

/* Contact */
.contact-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 76px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
}

.contact-shell::after {
  position: absolute;
  right: -110px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(198, 95, 53, 0.16);
  border-radius: 50%;
  content: "";
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(390px, 0.8fr);
  gap: clamp(48px, 8vw, 100px);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-links {
  display: grid;
  gap: 11px;
  margin-top: 32px;
}

.contact-link {
  display: flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover {
  color: #efb18d;
}

.estimate-form {
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(0, 47, 47, 0.2);
  border-radius: 9px;
  color: var(--ink);
  background: #fbfaf7;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(198, 95, 53, 0.35);
  border-color: var(--brand);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.form-actions .btn {
  flex: 1 1 160px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Footer */
.site-footer {
  padding: 44px 0 24px;
  color: var(--white);
  background: #002626;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.6fr);
  gap: 42px;
  padding-bottom: 42px;
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.footer-logo-link {
  display: inline-block;
  border-radius: 18px;
  text-decoration: none;
}

.footer-official-logo {
  width: min(100%, 250px);
  height: auto;
  border-radius: 16px;
}

.site-footer .brand-lockup,
.site-footer .brand-name small {
  color: var(--white);
}

.footer-column h3 {
  margin: 4px 0 16px;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.87rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: #efb18d;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

/* Service detail pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 86px) 0 90px;
  color: var(--white);
  background: var(--ink);
}

.page-hero::after {
  position: absolute;
  top: -190px;
  right: -90px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(198, 95, 53, 0.16);
  border-radius: 50%;
  content: "";
}

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

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: #efb18d;
  text-decoration: none;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(54px, 8vw, 110px);
  align-items: start;
}

.prose h2 {
  margin-top: 64px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.side-card {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 28px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.side-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.side-card .btn {
  width: 100%;
  margin-top: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.related-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.related-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.related-card h3 {
  font-size: 1.45rem;
}

.related-card p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 500;
  line-height: 0.9;
}

.not-found h1 {
  margin: 22px auto;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

@media (max-width: 1020px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav .nav-optional {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
    gap: 42px;
  }

  .hero-badge {
    right: -10px;
    width: 132px;
    height: 132px;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .area-wrap,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.7fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 70px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--content));
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0 20px;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    opacity: 0;
    transition: max-height 280ms ease, opacity 180ms ease, padding 280ms ease;
  }

  .site-nav.is-open {
    max-height: calc(100vh - var(--header-h));
    padding: 16px 20px 28px;
    border-color: var(--line);
    box-shadow: 0 30px 50px rgba(0, 47, 47, 0.14);
    opacity: 1;
  }

  .site-nav a,
  .site-nav .nav-optional {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    width: min(92%, 580px);
    margin: 12px auto 0;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3.9;
  }

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

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .split-grid,
  .area-wrap,
  .faq-grid,
  .contact-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }

  .feature-visual,
  .feature-visual img {
    min-height: 480px;
  }

  .area-map {
    min-height: 420px;
  }

  .faq-grid {
    gap: 28px;
  }

  .side-card {
    position: static;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .brand-name strong {
    font-size: 1.05rem;
  }

  .brand-name small {
    font-size: 0.51rem;
  }

  .hero-badge {
    right: -8px;
    bottom: 14px;
    width: 112px;
    height: 112px;
    padding: 14px;
    border-width: 4px;
    font-size: 0.62rem;
  }

  .hero-badge strong {
    font-size: 1.55rem;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: 290px;
  }

  .process-step {
    padding-bottom: 24px;
  }

  .process-step small {
    margin-bottom: 18px;
  }

  .area-map {
    min-height: 350px;
  }

  .area-map::before {
    left: 22%;
    width: 190px;
    height: 190px;
  }

  .area-map::after {
    left: calc(22% + 80px);
    top: calc(25% + 80px);
  }

  .map-label--phoenix { top: 47%; left: 37%; }
  .map-label--glendale { top: 22%; left: 6%; }
  .map-label--peoria { top: 8%; left: 31%; }
  .map-label--scottsdale { top: 30%; right: 3%; }
  .map-label--tolleson { bottom: 23%; left: 5%; }
  .map-label--tempe { right: 10%; bottom: 12%; }

  .contact-shell {
    padding: 30px 18px;
    border-radius: var(--radius-md);
  }

  .estimate-form {
    padding: 20px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

/* ========================================================================== 
   Sentia residential redesign — home pages
   ========================================================================== */

:root {
  --ink: #073b38;
  --ink-soft: #49615e;
  --paper: #f6f4ef;
  --paper-2: #ebe8e0;
  --brand: #b58a4d;
  --brand-dark: #80612f;
  --accent: #d9c39b;
  --line: rgba(7, 59, 56, 0.14);
  --shadow-sm: 0 14px 38px rgba(7, 36, 34, 0.1);
  --shadow-lg: 0 30px 80px rgba(7, 36, 34, 0.18);
}

body {
  font-family: "Manrope", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.brand-name strong,
.faq-list summary {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.home-page {
  background: var(--paper);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  letter-spacing: -0.025em;
}

.home-page h2 {
  max-width: 830px;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.home-page h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.home-page .section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.top-line {
  position: fixed;
  inset: 0 0 auto;
  z-index: 102;
  height: 32px;
  color: rgba(255, 255, 255, 0.78);
  background: #062d2b;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.top-line__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-page .site-header {
  top: 32px;
  background: rgba(250, 249, 246, 0.94);
  border-bottom-color: rgba(7, 59, 56, 0.1);
}

.home-page .site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(7, 36, 34, 0.09);
}

.home-page .brand-mark {
  width: 48px;
  height: 48px;
}

.home-page .brand-name strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.home-page .brand-name small {
  margin-top: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 0.53rem;
  letter-spacing: 0.24em;
}

.home-page .site-nav a {
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.home-page .header-cta {
  min-height: 46px;
  padding: 11px 18px;
  background: var(--ink);
  box-shadow: none;
}

.home-page .header-cta:hover {
  background: var(--brand-dark);
}

.eyebrow--light {
  color: #e5c48d;
}

.btn--gold {
  color: #092f2d;
  background: #dfbd83;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn--gold:hover {
  color: #fff;
  background: #b78b4e;
}

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

/* Residential hero */
.res-hero {
  position: relative;
  min-height: 840px;
  overflow: hidden;
  color: #fff;
  background: #082f2d;
}

.res-hero__image,
.res-hero__shade {
  position: absolute;
  inset: 0;
}

.res-hero__image {
  background-image: url("../img/projects/hero-living-room.webp");
  background-position: 68% 46%;
  background-size: cover;
  transform: scale(1.015);
}

.res-hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 34, 32, 0.98) 0%, rgba(4, 34, 32, 0.94) 35%, rgba(4, 34, 32, 0.55) 61%, rgba(4, 34, 32, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 34, 32, 0.4), transparent 45%);
}

.res-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 710px;
  align-items: center;
  padding-top: 142px;
  padding-bottom: 72px;
}

.res-hero__copy {
  width: min(100%, 690px);
}

.res-hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3.65rem, 7vw, 6.75rem);
  font-weight: 600;
  line-height: 0.9;
}

.res-hero h1 em {
  color: #e5c48d;
  font-weight: 500;
}

.res-hero .lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.hero-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-socials a:hover {
  color: #e5c48d;
}

.hero-socials .icon {
  width: 18px;
  height: 18px;
}

.res-trust {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 116px;
  margin-top: -58px;
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(4, 34, 32, 0.2);
}

.res-trust > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  color: var(--ink);
}

.res-trust > div + div {
  border-left: 1px solid var(--line);
}

.res-trust strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.res-trust span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Introduction */
.intro-section {
  padding-top: clamp(124px, 12vw, 180px) !important;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.intro-grid h2 {
  margin-bottom: 0;
}

.intro-copy {
  padding-top: 20px;
}

.intro-copy .lead {
  color: var(--ink);
}

.intro-copy p:not(.lead) {
  color: var(--ink-soft);
}

/* Section headings */
.home-page .section-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.48fr);
  gap: 70px;
  margin-bottom: 48px;
}

.section-heading--center {
  display: block !important;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center h2 {
  margin-right: auto;
  margin-left: auto;
}

.section-heading--center > p:last-child {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  min-height: 270px;
  padding: 34px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.capability-card:hover {
  z-index: 1;
  color: #fff;
  background: var(--ink);
  transform: translateY(-5px);
}

.capability-card > span {
  display: block;
  margin-bottom: 55px;
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.capability-card:hover > span {
  color: #e5c48d;
}

.capability-card h3 {
  margin-bottom: 10px;
  font-size: 2.05rem;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.capability-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.services-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
}

.services-note strong {
  margin-right: 12px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
}

.services-note span {
  padding: 7px 11px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Portfolio */
.portfolio-section {
  background: #efede7;
}

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

.portfolio-item {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  margin: 0;
  background: #d8d5cc;
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portfolio-item:hover img {
  transform: scale(1.045);
}

.portfolio-item::after {
  position: absolute;
  inset: 40% 0 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 25, 24, 0.9), transparent);
}

.portfolio-item figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: #fff;
}

.portfolio-item figcaption strong,
.portfolio-item figcaption span {
  display: block;
}

.portfolio-item figcaption strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.portfolio-item figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* AI design comparison */
.ai-section {
  color: #fff;
  background: #073b38;
}

.ai-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(520px, 1fr);
  gap: clamp(46px, 8vw, 100px);
  align-items: center;
}

.ai-copy h2 {
  color: #fff;
}

.ai-copy .lead {
  color: rgba(255, 255, 255, 0.76);
}

.ai-list {
  display: grid;
  gap: 13px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.ai-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 600;
}

.ai-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 12px;
  height: 1px;
  content: "";
  background: #e5c48d;
}

.ai-disclaimer {
  max-width: 58ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.ai-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ai-comparison figure {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  margin: 0;
  background: #d4d0c6;
}

.ai-comparison img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.ai-comparison figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(4, 34, 32, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.ai-comparison figcaption span,
.ai-comparison figcaption strong {
  display: block;
}

.ai-comparison figcaption span {
  color: #e5c48d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ai-comparison figcaption strong {
  margin-top: 2px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}

/* Process and value */
.new-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  border-top: 1px solid var(--line);
}

.new-process-grid li {
  min-height: 280px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.new-process-grid li:first-child {
  border-left: 1px solid var(--line);
}

.new-process-grid li > span {
  display: block;
  margin-bottom: 56px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.new-process-grid h3 {
  font-size: 1.65rem;
}

.new-process-grid p {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.value-section {
  background: var(--paper-2);
}

.value-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 0.85fr);
  gap: clamp(54px, 10vw, 130px);
  align-items: center;
}

.value-image {
  position: relative;
  min-height: 650px;
}

.value-image::before {
  position: absolute;
  inset: 34px -30px -30px 34px;
  content: "";
  background: var(--ink);
}

.value-image img {
  position: relative;
  width: 100%;
  height: 650px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* Social banner */
.social-banner {
  padding: 66px 0;
  color: #fff;
  background: #0b3331;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.social-banner h2 {
  max-width: 620px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
}

.social-buttons {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: flex;
  min-width: 172px;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.social-btn .icon {
  width: 26px;
  height: 26px;
}

.social-btn span,
.social-btn small {
  display: block;
}

.social-btn span {
  font-weight: 800;
  line-height: 1.15;
}

.social-btn small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Areas image */
.areas-section {
  background: var(--paper);
}

.area-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.area-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.area-photo > div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(4, 34, 32, 0.86);
  backdrop-filter: blur(12px);
}

.area-photo strong,
.area-photo span {
  display: block;
}

.area-photo strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.area-photo span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 700;
}

.home-page .contact-shell {
  border-radius: 2px;
  background: #073b38;
}

.home-page .estimate-form {
  border-radius: 2px;
}

.home-page .site-footer {
  background: #052b29;
}

@media (max-width: 1100px) {
  .home-page .site-nav {
    gap: 18px;
  }

  .home-page .site-nav .nav-optional {
    display: none;
  }

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

  .ai-shell {
    grid-template-columns: minmax(0, 0.65fr) minmax(470px, 1fr);
    gap: 50px;
  }

  .ai-comparison figure,
  .ai-comparison img {
    min-height: 510px;
  }
}

@media (max-width: 900px) {
  .home-page .header-cta {
    display: none;
  }

  .home-page .nav-toggle {
    display: block;
  }

  .home-page .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + 32px) 0 auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0 20px;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    opacity: 0;
    transition: max-height 280ms ease, opacity 180ms ease, padding 280ms ease;
  }

  .home-page .site-nav.is-open {
    max-height: calc(100vh - var(--header-h) - 32px);
    padding: 16px 20px 28px;
    border-color: var(--line);
    box-shadow: 0 30px 50px rgba(0, 47, 47, 0.14);
    opacity: 1;
  }

  .home-page .site-nav a,
  .home-page .site-nav .nav-optional {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .home-page .site-nav a::after {
    display: none;
  }

  .intro-grid,
  .ai-shell,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 0;
  }

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

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

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

  .new-process-grid li:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .value-image,
  .value-image img {
    min-height: 560px;
    height: 560px;
  }

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

@media (max-width: 700px) {
  .top-line {
    display: none;
  }

  .home-page .site-header {
    top: 0;
  }

  .home-page .site-nav {
    inset: var(--header-h) 0 auto;
  }

  .home-page .site-nav.is-open {
    max-height: calc(100vh - var(--header-h));
  }

  .res-hero {
    min-height: 780px;
  }

  .res-hero__image {
    background-position: 62% center;
  }

  .res-hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 34, 32, 0.94), rgba(4, 34, 32, 0.5)),
      linear-gradient(0deg, rgba(4, 34, 32, 0.9) 0%, transparent 70%);
  }

  .res-hero__inner {
    min-height: 710px;
    align-items: flex-end;
    padding-top: 120px;
    padding-bottom: 108px;
  }

  .res-hero h1 {
    font-size: clamp(3.05rem, 14vw, 4.85rem);
  }

  .res-trust {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -48px;
  }

  .res-trust > div {
    min-height: 92px;
    padding: 16px;
  }

  .res-trust > div:nth-child(3) {
    border-left: 0;
  }

  .res-trust > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .home-page .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-item,
  .portfolio-item img {
    min-height: 340px;
  }

  .ai-comparison figure,
  .ai-comparison img {
    min-height: 450px;
  }

  .social-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .home-page .brand-mark {
    width: 42px;
    height: 42px;
  }

  .home-page .brand-name strong {
    font-size: 1.22rem;
  }

  .home-page .brand-name small {
    font-size: 0.47rem;
  }

  .home-page h2 {
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  .res-hero .btn-row .btn {
    width: 100%;
  }

  .capability-grid,
  .portfolio-grid,
  .new-process-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 235px;
  }

  .capability-card > span {
    margin-bottom: 34px;
  }

  .portfolio-item--wide {
    grid-column: auto;
  }

  .new-process-grid li,
  .new-process-grid li:nth-child(3) {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .new-process-grid li + li {
    border-top: 1px solid var(--line);
  }

  .ai-comparison {
    grid-template-columns: 1fr;
  }

  .ai-comparison figure,
  .ai-comparison img {
    min-height: 520px;
  }

  .value-image,
  .value-image img {
    min-height: 470px;
    height: 470px;
  }

  .value-image::before {
    inset: 20px -12px -18px 18px;
  }

  .social-btn {
    width: 100%;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .btn-row,
  .estimate-form,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero {
    padding: 24px 0;
    color: #000;
    background: #fff;
  }
}
