:root {
  --ink: #171514;
  --charcoal: #252422;
  --stone: #d8d2c6;
  --stone-dark: #6d675e;
  --cream: #f7f3ec;
  --paper: #fffdf8;
  --navy: #162334;
  --burgundy: #6f1f2b;
  --burgundy-dark: #4c141d;
  --forest: #184c34;
  --gold: #c59352;
  --shadow: 0 20px 60px rgba(23, 21, 20, 0.18);
  --soft-shadow: 0 12px 30px rgba(23, 21, 20, 0.12);
  --radius: 8px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  color: #ffffff;
  background: rgba(22, 35, 52, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(22, 35, 52, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 3px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.nav-cta,
.primary-btn,
.secondary-btn,
.google-btn,
.footer-contact,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta {
  color: #ffffff;
  background: var(--burgundy);
  box-shadow: 0 10px 24px rgba(111, 31, 43, 0.32);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.google-btn:hover,
.footer-contact:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--burgundy);
  box-shadow: 0 10px 22px rgba(111, 31, 43, 0.28);
}

.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #ffffff;
  box-shadow: 0 -6px #ffffff, 0 6px #ffffff;
}

.nav-toggle:has(svg)::before {
  display: block;
}

.nav-toggle svg {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 132px 36px 118px;
  color: #ffffff;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 1400ms ease, transform 6200ms ease;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 16, 22, 0.88), rgba(10, 16, 22, 0.56) 48%, rgba(10, 16, 22, 0.30)),
    linear-gradient(0deg, rgba(10, 16, 22, 0.56), rgba(10, 16, 22, 0.06) 38%, rgba(10, 16, 22, 0.46));
}

.hero-content {
  width: min(760px, 100%);
  margin-left: max(0px, calc((100vw - 1160px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.modal-panel h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title {
  font-size: 5.2rem;
  max-width: 760px;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

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

.primary-btn {
  color: #ffffff;
  background: var(--burgundy);
  box-shadow: 0 18px 34px rgba(111, 31, 43, 0.36);
}

.secondary-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-proof {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: min(760px, calc(100% - 72px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-proof div {
  padding: 18px 22px;
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof strong {
  display: block;
  font-size: 1.72rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  background: var(--cream);
  border-bottom: 1px solid rgba(109, 103, 94, 0.18);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 72px 0;
}

.section-title {
  color: var(--ink);
  font-size: 3.2rem;
}

.section-copy {
  margin: 0;
  color: var(--stone-dark);
  font-size: 1.02rem;
}

.services,
.process,
.reviews {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.8fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 42px;
}

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

.service-card,
.timeline-item,
.review-card {
  border: 1px solid rgba(109, 103, 94, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.service-card {
  min-height: 244px;
  padding: 28px;
}

.service-card svg {
  width: 36px;
  height: 36px;
  color: var(--burgundy);
}

.service-card h3,
.timeline-item h3 {
  margin: 26px 0 10px;
  color: var(--charcoal);
  font-size: 1.14rem;
}

.service-card p,
.timeline-item p,
.review-card p {
  margin: 0;
  color: var(--stone-dark);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  height: min(560px, 46vw);
  min-height: 500px;
  background: var(--navy);
  color: #ffffff;
}

.feature-image {
  height: 100%;
  min-height: 0;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  padding: 52px clamp(28px, 3.2vw, 56px);
}

.feature-copy .section-title,
.feature-copy .section-copy {
  color: #ffffff;
}

.feature-copy .section-copy {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 24px;
}

.text-link {
  margin-top: 30px;
  padding: 0;
  color: #ffffff;
  background: transparent;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(197, 147, 82, 0.16), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 220ms ease;
}

.timeline-item:hover::before {
  opacity: 1;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: var(--radius);
  background: var(--forest);
}

.work {
  padding: 104px 0 118px;
  background: var(--cream);
}

.gallery-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-card {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--soft-shadow);
}

.gallery-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 540ms ease, filter 540ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 58%);
  opacity: 0.84;
}

.gallery-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #ffffff;
  font-weight: 900;
  text-align: left;
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.review-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.review-head .section-title {
  max-width: 780px;
}

.review-head .section-copy {
  max-width: 720px;
  margin-top: 12px;
}

.google-btn {
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--forest);
  box-shadow: 0 14px 26px rgba(24, 76, 52, 0.24);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.review-card {
  min-height: 250px;
  padding: 24px;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 18px;
}

.review-card p {
  color: var(--charcoal);
  font-weight: 600;
}

.review-card footer {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 900;
}

.review-card footer span {
  display: block;
  margin-top: 3px;
  color: var(--stone-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-band {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  color: #ffffff;
  isolation: isolate;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/project-night-courtyard.webp") center / cover no-repeat;
}

.contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 35, 52, 0.92), rgba(22, 35, 52, 0.48));
}

.contact-content {
  max-width: 760px;
  margin-left: max(24px, calc((100vw - 1160px) / 2));
}

.contact-content .section-title,
.contact-content .section-copy {
  color: #ffffff;
}

.contact-content .section-copy {
  color: rgba(255, 255, 255, 0.78);
  margin: 22px 0 32px;
}

.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 34px 0;
}

.footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-contact {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: var(--forest);
  box-shadow: 0 14px 34px rgba(15, 48, 32, 0.34);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: 82% 55%;
  animation: chat-nudge 5s ease-in-out infinite;
}

.chat-launcher::after {
  position: absolute;
  top: -3px;
  right: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(197, 147, 82, 0.48);
  content: "";
  pointer-events: none;
  animation: chat-dot-pulse 2.8s ease-out infinite;
}

.chat-launcher:hover {
  transform: translateY(-2px);
}

.chat-launcher svg {
  width: 19px;
  height: 19px;
}

@keyframes chat-nudge {
  0%, 78%, 100% { rotate: 0deg; }
  80% { rotate: -2deg; }
  82% { rotate: 2deg; }
  84% { rotate: -1.5deg; }
  86% { rotate: 1.5deg; }
  88% { rotate: 0deg; }
}

@keyframes chat-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 147, 82, 0.42); }
  65% { box-shadow: 0 0 0 6px rgba(197, 147, 82, 0); }
}

.chat-open .chat-launcher {
  opacity: 0;
  pointer-events: none;
}

.faq-chat {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 80;
  width: min(390px, calc(100vw - 28px));
  height: min(610px, calc(100dvh - 180px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(22, 35, 52, 0.16);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(14, 22, 30, 0.3);
  transform-origin: bottom right;
  animation: chat-in 180ms ease both;
}

.faq-chat.is-open {
  display: flex;
}

.chat-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  color: #ffffff;
  background: var(--navy);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--forest);
}

.chat-avatar svg {
  width: 19px;
  height: 19px;
}

.chat-heading {
  min-width: 0;
  flex: 1;
}

.chat-heading strong,
.chat-heading span {
  display: block;
}

.chat-heading strong {
  font-size: 0.91rem;
  line-height: 1.25;
}

.chat-heading span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  line-height: 1;
}

.chat-heading span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #8bc49b;
}

.chat-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.chat-log {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 14px;
  overflow-y: auto;
  background: #fbfaf7;
  overscroll-behavior: contain;
}

.chat-message {
  width: fit-content;
  max-width: 91%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 8px;
  animation: message-in 180ms ease both;
}

.chat-message p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.chat-message.is-bot {
  color: var(--charcoal);
  border: 1px solid rgba(109, 103, 94, 0.12);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 21, 20, 0.045);
}

.chat-message.is-user {
  align-self: flex-end;
  color: #ffffff;
  background: var(--navy);
}

.chat-contact-button,
.chat-review-link {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(111, 31, 43, 0.2);
  border-radius: 5px;
  color: var(--burgundy);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.chat-contact-button:hover,
.chat-review-link:hover {
  color: #ffffff;
  background: var(--burgundy);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chat-suggestions[hidden] {
  display: none;
}

.chat-suggestions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(24, 76, 52, 0.3);
  border-radius: 999px;
  color: var(--forest);
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease;
}

.chat-suggestions button:hover {
  color: #ffffff;
  background: var(--forest);
}

.chat-composer {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 12px 14px 9px;
  background: #ffffff;
}

.chat-composer input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(109, 103, 94, 0.28);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.88rem;
}

.chat-composer input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(24, 76, 52, 0.12);
}

.chat-composer button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--burgundy);
}

.chat-contact-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px 14px 13px;
  color: var(--stone-dark);
  background: #ffffff;
  font-size: 0.73rem;
}

.chat-contact-row button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--burgundy);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.contact-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.contact-modal.is-open,
.lightbox.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.68);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  animation: modal-in 220ms ease forwards;
}

.modal-panel h2 {
  color: var(--ink);
  font-size: 2.4rem;
}

.modal-copy {
  margin: 18px 0 26px;
  color: var(--stone-dark);
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.modal-actions a {
  display: inline-flex;
  min-height: 94px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.modal-actions a:nth-child(2) {
  background: var(--forest);
}

.modal-actions a:nth-child(3) {
  background: var(--burgundy);
}

.modal-actions a:hover {
  transform: translateY(-2px);
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(23, 21, 20, 0.08);
}

.lightbox {
  background: rgba(10, 10, 10, 0.88);
}

.lightbox img {
  max-width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 132px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox p {
  margin: 18px 0 0;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.hero .reveal,
.hero-proof.reveal,
.intro-band .reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@keyframes modal-in {
  to {
    transform: translateY(0);
  }
}

@keyframes chat-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: 4.3rem;
  }

  .section-title {
    font-size: 2.72rem;
  }

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

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

  .review-card:last-child {
    grid-column: span 2;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    position: fixed;
    top: 13px;
    right: 18px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(22, 35, 52, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 14px;
  }

  .hero {
    min-height: 86vh;
    padding: 110px 24px 56px;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-proof {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 28px;
  }

  .hero-proof div {
    padding: 12px 16px;
  }

  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .intro-grid,
  .section-heading,
  .feature-split,
  .review-head {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    padding: 58px 0;
  }

  .services,
  .process,
  .reviews,
  .work {
    padding: 76px 0;
  }

  .feature-split {
    display: block;
    height: auto;
    min-height: 620px;
  }

  .feature-image {
    min-height: 380px;
  }

  .feature-copy {
    padding: 64px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }

  .gallery-card.large,
  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .review-head {
    display: grid;
    align-items: start;
  }

  .google-btn {
    width: max-content;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .footer-inner {
    width: min(100% - 32px, 1160px);
  }

  .nav-toggle {
    right: auto;
    left: min(calc(100% - 64px), 326px);
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .section-title,
  .modal-panel h2 {
    font-size: 2.12rem;
  }

  .hero-actions {
    display: grid;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .service-grid,
  .timeline,
  .review-grid,
  .gallery-grid,
  .modal-actions {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    width: calc(100% - 24px);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-content {
    margin-left: auto;
  }

  .modal-panel {
    padding: 28px;
  }

  .modal-actions a {
    min-height: 76px;
  }

  .chat-launcher {
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
  }

  .faq-chat {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
    height: min(610px, calc(100dvh - 166px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

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

.site-header,
.site-header.is-scrolled {
  color: var(--navy);
  background: rgba(255, 253, 248, 0.97);
  border-bottom: 1px solid rgba(109, 103, 94, 0.16);
  box-shadow: 0 4px 28px rgba(22, 35, 52, 0.1);
  backdrop-filter: blur(20px);
}

.brand strong {
  color: var(--navy);
}

.brand small {
  color: var(--stone-dark);
}

.footer-brand strong {
  color: #ffffff;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.74);
}

.main-nav {
  gap: 25px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  color: var(--navy);
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover {
  color: var(--burgundy);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--burgundy);
}

.nav-toggle {
  border-color: rgba(111, 31, 43, 0.2);
}

.hero {
  min-height: 100vh;
  padding: 138px 36px 182px;
}

.hero-bg {
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-bg:nth-child(2) {
  animation-delay: -4s;
}

.hero-bg:nth-child(3) {
  animation-delay: -8s;
}

.hero-bg:nth-child(4) {
  animation-delay: -12s;
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(22, 35, 52, 0.94), rgba(22, 35, 52, 0.74) 46%, rgba(111, 31, 43, 0.34)),
    linear-gradient(0deg, rgba(22, 35, 52, 0.74), rgba(22, 35, 52, 0.02) 56%);
}

.hero-content {
  width: min(920px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid rgba(197, 147, 82, 0.48);
  border-radius: 999px;
  background: rgba(197, 147, 82, 0.13);
  color: #f0c27f;
  font-size: 0.72rem;
}

.hero-title,
.section-title,
.modal-panel h2 {
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.02;
}

.hero-title {
  max-width: 880px;
  font-size: 5.7rem;
}

.hero-typewriter {
  min-height: 1.15em;
  margin: 10px 0 0;
  color: var(--gold);
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 3.45rem;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.typewriter-cursor {
  display: inline-block;
  width: 0.055em;
  height: 0.82em;
  margin-left: 0.08em;
  background: var(--gold);
  vertical-align: -0.05em;
  animation: cursor-blink 850ms steps(2, start) infinite;
}

.hero-copy {
  max-width: 680px;
  margin-top: 16px;
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  border-radius: 999px;
}

.hero-proof {
  left: max(56px, calc((100vw - 1160px) / 2 + 36px));
  bottom: 57px;
  width: min(900px, calc(100vw - 360px));
  transform: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  backdrop-filter: none;
}

.hero-proof div {
  padding: 16px 25px 0;
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-proof strong {
  color: var(--gold);
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
}

.hero-proof span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active {
  width: 25px;
  background: var(--gold);
}

.section-title {
  line-height: 1.08;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--burgundy);
  font-size: 0.74rem;
}

.section-kicker::before,
.section-kicker::after {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.feature-copy .section-kicker,
.contact-content .section-kicker {
  color: var(--gold);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.section-heading .section-title {
  max-width: 920px;
}

.section-heading .section-copy {
  max-width: 740px;
}

.service-card {
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.estimate-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -18px 0 28px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.estimate-section-link:hover {
  color: var(--burgundy);
  transform: translateY(2px);
}

.estimate-section-link svg {
  width: 18px;
  height: 18px;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 31, 43, 0.34);
  box-shadow: 0 18px 40px rgba(23, 21, 20, 0.15);
}

.service-card svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 6px;
  background: var(--cream);
}

.timeline-item span {
  background: var(--navy);
}

.google-btn {
  border-radius: 999px;
}

.chat-header {
  border-bottom: 3px solid var(--gold);
}

.chat-avatar {
  color: var(--navy);
  background: var(--gold);
}

.chat-heading span i {
  background: #78a789;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1%, -1%, 0); }
}

@keyframes cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: 4.8rem;
  }

  .hero-typewriter {
    font-size: 3rem;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header.is-scrolled {
    background: rgba(255, 253, 248, 0.98);
  }

  .main-nav {
    border-color: rgba(109, 103, 94, 0.2);
    background: rgba(255, 253, 248, 0.99);
  }

  .main-nav a {
    color: var(--navy);
  }

  .hero {
    min-height: 100vh;
    padding: 116px 24px 58px;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-proof {
    position: static;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    transform: none;
  }

  .hero-proof div {
    padding: 15px 12px 0;
  }

  .hero-proof div + div {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .hero {
    padding: 105px 18px 54px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-typewriter {
    min-height: 2.15em;
    font-size: 2.12rem;
  }

  .hero-proof div {
    padding: 13px 6px 0;
  }

  .hero-proof div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
  }

  .hero-proof strong {
    font-size: 1.8rem;
  }

  .hero-proof span {
    font-size: 0.58rem;
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }

  .hero-dots,
  .hero-dot,
  .service-card {
    transition: none;
  }
}

.about-section {
  padding: 112px 0 116px;
  background: var(--cream);
  border-bottom: 1px solid rgba(109, 103, 94, 0.18);
}

.about-layout {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.about-visual {
  position: relative;
  width: 100%;
  min-height: 515px;
  isolation: isolate;
}

.about-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 35, 52, 0.12);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.about-photo-main {
  top: 0;
  left: 0;
  z-index: 0;
  width: 84%;
  height: 81%;
}

.about-photo-detail {
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 64%;
  height: 57%;
  border: 8px solid var(--cream);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.about-photo:hover img {
  transform: scale(1.035);
}

.about-stamp {
  position: absolute;
  top: 38%;
  right: 3%;
  z-index: 2;
  width: 210px;
  min-height: 94px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  background: var(--burgundy);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(23, 21, 20, 0.24);
}

.about-stamp img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  padding: 3px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
}

.about-stamp strong,
.about-stamp small {
  display: block;
}

.about-stamp strong {
  font-size: 0.78rem;
  line-height: 1.25;
}

.about-stamp small {
  margin-top: 5px;
  color: #f1d8b8;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-copy .section-kicker {
  margin-bottom: 15px;
}

.about-copy .section-title {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 3.35rem;
}

.about-copy .section-copy {
  max-width: 620px;
  color: var(--stone-dark);
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-copy .section-copy + .section-copy {
  margin-top: 17px;
}

.about-points {
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
  list-style: none;
}

.about-points li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-points svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 11px;
  color: var(--burgundy);
  background: rgba(111, 31, 43, 0.09);
  border-radius: 6px;
  stroke-width: 2.5;
}

.about-offerings {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.about-offerings a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.about-offerings a:hover {
  transform: translateY(-2px);
  background: var(--burgundy);
}

.about-offerings svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

#about,
#service-patios,
#service-pool-decks,
#service-concrete {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (max-width: 1080px) {
  .about-layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
    gap: 42px;
  }

  .about-visual {
    min-height: 460px;
  }

  .about-copy .section-title {
    font-size: 2.8rem;
  }

  .about-points {
    column-gap: 12px;
  }
}

@media (max-width: 820px) {
  .about-section {
    padding: 84px 0 88px;
  }

  .about-layout {
    max-width: 700px;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .about-visual {
    min-height: 500px;
  }

  .about-copy .section-title {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .about-section {
    padding: 68px 0 76px;
  }

  .about-layout {
    width: min(100% - 32px, 1160px);
    gap: 34px;
  }

  .about-visual {
    min-height: 360px;
  }

  .about-photo-main {
    width: 84%;
    height: 78%;
  }

  .about-photo-detail {
    width: 64%;
    height: 54%;
    border-width: 6px;
  }

  .about-stamp {
    top: 38%;
    right: 0;
    width: 178px;
    min-height: 82px;
    padding: 10px;
    gap: 8px;
  }

  .about-stamp img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .about-stamp strong {
    font-size: 0.7rem;
  }

  .about-stamp small {
    font-size: 0.61rem;
  }

  .about-copy .section-title {
    font-size: 2.12rem;
  }

  .about-points {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .about-offerings {
    gap: 8px;
  }

  .about-offerings a {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo img,
  .about-offerings a {
    transition: none;
  }
}

.videos-section {
  padding: 104px 0 92px;
  overflow: hidden;
  background: #204f70;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.video-carousel-head {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.video-head-copy {
  max-width: 700px;
}

.video-head-copy .section-kicker {
  margin-bottom: 12px;
}

.video-head-copy .section-title {
  max-width: 680px;
  color: #ffffff;
  font-size: 3rem;
}

.video-head-copy .section-kicker {
  color: var(--cream);
}

.video-head-copy .section-copy {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.video-carousel-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.video-count {
  min-width: 78px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.video-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid rgba(22, 35, 52, 0.24);
  border-radius: 5px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.video-arrow:hover:not(:disabled) {
  color: #ffffff;
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.video-arrow:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.video-arrow svg {
  width: 19px;
  height: 19px;
}

.video-viewport {
  margin: 0 -4px;
  padding: 4px 4px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.video-viewport::-webkit-scrollbar {
  display: none;
}

.video-track {
  width: max-content;
  display: flex;
  gap: 20px;
  padding-right: 4px;
}

.reel-slide {
  width: 267px;
  flex: 0 0 267px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.reel-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #101114;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
}

.reel-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #101114;
}

.reel-meta {
  min-height: 42px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reel-index {
  color: #f0cf9d;
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.reel-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 160ms ease;
}

.reel-link:hover {
  color: #f0cf9d;
}

.reel-link svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.video-arrow:focus-visible,
.reel-link:focus-visible,
.video-viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

#videos {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (max-width: 1080px) {
  .video-head-copy .section-title {
    font-size: 2.72rem;
  }
}

@media (max-width: 820px) {
  .videos-section {
    padding: 78px 0 72px;
  }

  .video-carousel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .video-carousel-controls {
    align-self: flex-end;
  }

  .video-head-copy .section-title {
    font-size: 2.45rem;
  }
}

@media (max-width: 620px) {
  .videos-section {
    padding: 68px 0 62px;
  }

  .video-head-copy .section-title {
    font-size: 2.12rem;
  }

  .video-track {
    gap: 14px;
  }

  .reel-slide {
    width: min(82vw, 267px);
    flex-basis: min(82vw, 267px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-arrow,
  .reel-link,
  .video-viewport {
    scroll-behavior: auto;
    transition: none;
  }
}

.gallery-carousel-head {
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.gallery-head-copy {
  max-width: 800px;
}

.gallery-head-copy .section-kicker {
  margin-bottom: 12px;
}

.gallery-head-copy .section-title {
  max-width: 780px;
  color: var(--navy);
  font-size: 3rem;
}

.gallery-head-copy .section-copy {
  max-width: 660px;
  margin-top: 14px;
}

.gallery-carousel-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.gallery-count {
  min-width: 82px;
  color: var(--stone-dark);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid rgba(22, 35, 52, 0.24);
  border-radius: 5px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gallery-arrow:hover:not(:disabled) {
  color: #ffffff;
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.gallery-arrow:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.gallery-arrow svg {
  width: 19px;
  height: 19px;
}

.gallery-viewport {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  width: max-content;
  display: flex;
  gap: 18px;
  padding: 4px 2px 18px;
}

.gallery-track .gallery-card {
  width: 348px;
  height: auto;
  aspect-ratio: 4 / 3;
  flex: 0 0 348px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: zoom-in;
}

.gallery-track .gallery-card img {
  position: absolute;
  inset: 0;
}

.gallery-arrow:focus-visible,
.gallery-viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .gallery-head-copy .section-title {
    font-size: 2.72rem;
  }
}

@media (max-width: 820px) {
  .gallery-carousel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-carousel-controls {
    align-self: flex-end;
  }

  .gallery-head-copy .section-title {
    font-size: 2.45rem;
  }
}

@media (max-width: 620px) {
  .gallery-head-copy .section-title {
    font-size: 2.12rem;
  }

  .gallery-viewport {
    width: calc(100% - 32px);
  }

  .gallery-track {
    gap: 14px;
  }

  .gallery-track .gallery-card {
    width: min(82vw, 360px);
    flex-basis: min(82vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-arrow,
  .gallery-viewport {
    scroll-behavior: auto;
    transition: none;
  }
}

.review-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-carousel-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.review-count {
  min-width: 78px;
  color: var(--stone-dark);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.review-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid rgba(22, 35, 52, 0.24);
  border-radius: 5px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.review-arrow:hover:not(:disabled) {
  color: #ffffff;
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.review-arrow:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.review-arrow svg {
  width: 19px;
  height: 19px;
}

.review-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-viewport::-webkit-scrollbar {
  display: none;
}

.review-grid.review-track {
  width: max-content;
  display: flex;
  gap: 16px;
  padding: 4px 2px 18px;
}

.review-track .review-card {
  width: 348px;
  min-height: 264px;
  display: flex;
  flex: 0 0 348px;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.review-track .review-card footer {
  margin-top: auto;
  padding-top: 22px;
}

.review-arrow:focus-visible,
.review-viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .review-actions {
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .review-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-carousel-controls {
    align-self: flex-end;
  }

  .review-track .review-card {
    width: min(78vw, 300px);
    flex-basis: min(78vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-arrow,
  .review-viewport {
    scroll-behavior: auto;
    transition: none;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-learn-link {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-learn-link svg {
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--burgundy);
  transition: transform 180ms ease;
}

.service-learn-link:hover svg {
  transform: translate(2px, -2px);
}

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

.service-page-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.service-page-hero::before,
.service-page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.service-page-hero::before {
  z-index: -2;
  background-image: var(--service-page-image);
  background-position: center;
  background-size: cover;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.service-page-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 18, 24, 0.9), rgba(12, 18, 24, 0.58) 55%, rgba(12, 18, 24, 0.24)),
    linear-gradient(0deg, rgba(12, 18, 24, 0.46), rgba(12, 18, 24, 0.08) 50%);
}

.service-page-hero-inner {
  padding-top: 145px;
  padding-bottom: 66px;
}

.service-page-kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-page-kicker::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.service-page-title {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 4.6rem;
  font-weight: 600;
  line-height: 1.04;
}

.service-page-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.service-page-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-breadcrumb {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
}

.service-breadcrumb a:hover {
  color: #ffffff;
}

.service-proof-strip {
  border-bottom: 1px solid rgba(109, 103, 94, 0.16);
  background: var(--cream);
}

.service-proof-list {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.service-proof-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-proof-list svg {
  width: 19px;
  height: 19px;
  color: var(--forest);
}

.service-overview {
  padding-top: 104px;
  padding-bottom: 108px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.service-overview-copy .section-title {
  max-width: 600px;
  font-size: 2.9rem;
}

.service-overview-copy .section-copy {
  margin-top: 20px;
  line-height: 1.8;
}

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

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--charcoal);
  font-size: 0.91rem;
  font-weight: 700;
}

.service-feature-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  color: var(--forest);
}

.service-overview-copy .text-link {
  margin-top: 26px;
  padding: 0;
  color: var(--burgundy);
  background: transparent;
}

.service-overview-image {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--soft-shadow);
}

.service-overview-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.service-overview-image:hover img {
  transform: scale(1.035);
}

.service-method {
  padding: 96px 0 100px;
  color: #ffffff;
  background: var(--navy);
}

.service-method-heading {
  max-width: 750px;
  margin-bottom: 50px;
}

.service-method-heading .section-title {
  color: #ffffff;
  font-size: 2.9rem;
}

.service-method-heading .section-copy {
  max-width: 700px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.service-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.service-method-step {
  padding-top: 22px;
  border-top: 1px solid rgba(197, 147, 82, 0.58);
}

.service-method-step > span {
  color: var(--gold);
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 1.15rem;
}

.service-method-step h3 {
  margin: 16px 0 9px;
  color: #ffffff;
  font-size: 1.1rem;
}

.service-method-step p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.service-related {
  padding-top: 88px;
  padding-bottom: 96px;
}

.service-related-heading {
  margin-bottom: 34px;
}

.service-related-heading .section-title {
  font-size: 2.55rem;
}

.service-related-heading .section-copy {
  max-width: 680px;
  margin-top: 12px;
}

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

.service-related-link {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(109, 103, 94, 0.3);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-related-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--burgundy);
  transition: transform 180ms ease;
}

.service-related-link:hover svg {
  transform: translate(2px, -2px);
}

.service-planning {
  padding: 82px 0 88px;
  background: var(--cream);
}

.service-planning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 72px;
}

.service-planning-intro .section-title,
.service-faq-heading .section-title {
  margin: 0;
  color: var(--navy);
  font-size: 2.65rem;
}

.service-planning-intro .section-copy,
.service-faq-heading .section-copy {
  margin-top: 16px;
}

.service-planning-intro .text-link {
  margin-top: 22px;
  padding: 0;
  color: var(--burgundy);
  background: transparent;
}

.service-planning-list {
  border-top: 1px solid rgba(22, 35, 52, 0.2);
}

.service-planning-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 19px 0 21px;
  border-bottom: 1px solid rgba(22, 35, 52, 0.2);
}

.service-planning-item > span {
  padding-top: 2px;
  color: var(--burgundy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-planning-item h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 800;
}

.service-planning-item p {
  max-width: 600px;
  margin: 0;
  color: var(--stone-dark);
  font-size: 0.88rem;
  line-height: 1.7;
}

.service-faq-section {
  padding: 86px 0 92px;
  background: var(--cream);
}

.service-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 64px;
}

.service-faq-list {
  border-top: 1px solid rgba(22, 35, 52, 0.22);
}

.service-faq-item {
  border-bottom: 1px solid rgba(22, 35, 52, 0.22);
}

.service-faq-item summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.service-faq-item summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--burgundy);
  transition: transform 180ms ease;
}

.service-faq-item[open] summary svg {
  transform: rotate(45deg);
}

.service-faq-item > p {
  max-width: 680px;
  margin: -2px 32px 21px 0;
  color: var(--stone-dark);
  font-size: 0.9rem;
  line-height: 1.75;
}

.service-reviews {
  padding-top: 86px;
  padding-bottom: 94px;
}

@media (max-width: 820px) {
  .service-planning-layout,
  .service-faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-reviews .review-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .service-planning,
  .service-faq-section {
    padding: 64px 0 68px;
  }

  .service-planning-intro .section-title,
  .service-faq-heading .section-title {
    font-size: 2.25rem;
  }

  .service-planning-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .service-reviews {
    padding-top: 66px;
    padding-bottom: 72px;
  }
}

.service-page-contact {
  min-height: 500px;
}

.service-page-contact .contact-content {
  padding-top: 72px;
  padding-bottom: 72px;
}

.service-page-contact .section-title {
  max-width: 720px;
  font-size: 3.2rem;
}

.service-page-contact .primary-btn {
  margin-top: 4px;
}

@media (max-width: 820px) {
  .service-page-hero {
    min-height: 620px;
  }

  .service-page-title {
    font-size: 3.5rem;
  }

  .service-proof-list {
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 22px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 28px;
  }

  .service-overview {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-overview-image {
    min-height: 390px;
  }

  .service-method-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-method-step p {
    max-width: 600px;
  }

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

@media (max-width: 620px) {
  .service-page-hero {
    min-height: 640px;
  }

  .service-page-hero-inner {
    padding-top: 130px;
    padding-bottom: 42px;
  }

  .service-page-title {
    font-size: 2.65rem;
  }

  .service-page-lead {
    font-size: 0.98rem;
  }

  .service-page-actions {
    display: grid;
  }

  .service-page-actions .primary-btn,
  .service-page-actions .secondary-btn {
    width: 100%;
  }

  .service-breadcrumb {
    margin-top: 34px;
    gap: 7px;
    font-size: 0.69rem;
  }

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

  .service-overview {
    padding-top: 70px;
    padding-bottom: 72px;
    gap: 30px;
  }

  .service-overview-copy .section-title,
  .service-method-heading .section-title,
  .service-page-contact .section-title {
    font-size: 2.25rem;
  }

  .service-overview-image {
    min-height: 300px;
  }

  .service-method {
    padding: 70px 0 74px;
  }

  .service-method-heading {
    margin-bottom: 34px;
  }

  .service-related {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .service-related-heading .section-title {
    font-size: 2.25rem;
  }

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

  .service-page-contact .contact-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-page-hero::before,
  .service-overview-image img,
  .service-learn-link svg,
  .service-related-link svg {
    animation: none;
    transition: none;
  }
}

.before-after-section {
  width: min(1160px, calc(100% - 48px));
  margin: 92px auto 0;
}

.before-after-head {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.before-after-head .section-kicker {
  margin-bottom: 10px;
}

.before-after-head .section-title {
  color: var(--navy);
  font-size: 3rem;
}

.before-after-head .section-copy {
  max-width: 380px;
  margin-bottom: 4px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
}

.before-after-project {
  min-width: 0;
}

.comparison-frame {
  --compare-position: 50%;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--soft-shadow);
}

.comparison-frame-portrait {
  aspect-ratio: 3 / 4;
}

.comparison-frame-landscape {
  aspect-ratio: 4 / 3;
}

.comparison-after-image,
.comparison-before-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.comparison-before-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.comparison-label {
  position: absolute;
  top: 16px;
  z-index: 6;
  min-width: 76px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(22, 35, 52, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.comparison-label-before {
  left: 16px;
}

.comparison-label-after {
  right: 16px;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 4;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(22, 35, 52, 0.18), 0 0 20px rgba(22, 35, 52, 0.3);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-divider > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(10, 16, 22, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.comparison-frame.is-dragging .comparison-divider > span {
  box-shadow: 0 6px 20px rgba(10, 16, 22, 0.4);
  transform: translate(-50%, -50%) scale(1.08);
}

.comparison-divider svg {
  width: 21px;
  height: 21px;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  opacity: 0.001;
  cursor: ew-resize;
  touch-action: pan-y;
}

.comparison-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.comparison-range::-webkit-slider-thumb {
  width: 50px;
  height: 50px;
  appearance: none;
  border: 0;
  background: transparent;
}

.comparison-range::-moz-range-track {
  height: 100%;
  background: transparent;
}

.comparison-range::-moz-range-thumb {
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
}

.comparison-range:focus-visible {
  outline: none;
}

.comparison-frame.is-focused .comparison-divider > span {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.comparison-copy {
  padding: 18px 2px 0;
}

.comparison-title-row {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.comparison-title-row > span {
  color: var(--burgundy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.comparison-title-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.comparison-copy p {
  max-width: 470px;
  margin: 7px 0 0 32px;
  color: var(--stone-dark);
  font-size: 0.84rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .before-after-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .before-after-head .section-copy {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .before-after-section {
    width: calc(100% - 32px);
    margin-top: 66px;
  }

  .before-after-head .section-title {
    font-size: 2.25rem;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .comparison-frame-portrait {
    aspect-ratio: 3 / 4;
  }

  .comparison-frame-landscape {
    aspect-ratio: 4 / 3;
  }
}

.hero-title,
.section-title,
.modal-panel h2,
.service-page-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
}

.section-title {
  line-height: 1.08;
}

.hero-title,
.service-page-title {
  line-height: 1.02;
}

.hero-copy,
.section-copy,
.service-page-lead,
.service-overview-copy .section-copy {
  line-height: 1.76;
}

.service-card h3,
.timeline-item h3,
.service-method-step h3,
.review-card footer {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.26);
  background: var(--navy);
  color: #ffffff;
}

.service-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background-image: linear-gradient(112deg, rgba(16, 30, 44, 0.88), rgba(16, 30, 44, 0.7) 58%, rgba(16, 30, 44, 0.54)), var(--service-card-image);
  background-position: center;
  background-size: cover;
  transform: scale(1);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.52);
}

.service-card:hover::before {
  transform: scale(1.055);
}

.service-card svg {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold);
}

.service-card h3,
.service-card p,
.service-card .service-learn-link {
  color: #ffffff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.86);
}

.service-card .service-learn-link svg {
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .service-card::before {
    transition: none;
  }
}

.nav-icon,
.nav-chevron,
.nav-services-toggle,
.nav-service-submenu {
  display: none;
}

@media (max-width: 820px) {
  .main-nav {
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-nav > a,
  .main-nav > .nav-cta,
  .main-nav > .nav-services-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .main-nav > a,
  .main-nav > .nav-services-toggle {
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .main-nav > a::after {
    display: none;
  }

  .main-nav > .nav-services-link {
    display: none;
  }

  .main-nav .nav-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--burgundy);
  }

  .main-nav > .nav-services-toggle {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .nav-services-toggle .nav-chevron {
    display: block;
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform 180ms ease;
  }

  .nav-services-toggle[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-service-submenu {
    gap: 2px;
    padding: 0 0 8px 26px;
  }

  .nav-service-submenu:not([hidden]) {
    display: grid;
  }

  .nav-service-submenu[hidden] {
    display: none;
  }

  .nav-service-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border-left: 1px solid rgba(111, 31, 43, 0.2);
    color: var(--stone-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: none;
  }

  .nav-service-submenu a::after {
    display: none;
  }

  .nav-service-submenu a[aria-current="page"] {
    color: var(--burgundy);
    font-weight: 900;
  }

  .nav-cta .nav-icon {
    color: #ffffff;
  }
}

.mission-vision {
  padding: 88px 0;
  color: #ffffff;
  background: var(--navy);
}

.mission-vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 64px;
}

.mission-vision-heading .section-title {
  max-width: 460px;
  color: #ffffff;
  font-size: 3rem;
}

.mission-vision-intro {
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.mission-vision-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.mission-vision-value {
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}

.mission-vision-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mission-vision-value h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
}

.mission-vision-value > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.portfolio-featured {
  padding: 138px 0 88px;
  background: var(--cream);
}

.portfolio-intro {
  max-width: 790px;
  margin-bottom: 42px;
}

.portfolio-intro .section-kicker {
  margin-bottom: 10px;
}

.portfolio-intro .section-title {
  margin: 0;
  color: var(--navy);
  font-size: 3.7rem;
}

.portfolio-intro .section-copy {
  max-width: 700px;
  margin-top: 16px;
}

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

.featured-project {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 35, 52, 0.12);
  border-radius: 6px;
  background: var(--paper);
}

.featured-project-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.28 / 1;
  background: var(--navy);
}

.featured-project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 35, 52, 0.04), rgba(22, 35, 52, 0.36));
  content: "";
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.featured-project-image:hover img {
  transform: scale(1.04);
}

.featured-project-number {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.featured-project-copy {
  padding: 21px 22px 23px;
}

.featured-project-type {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-project-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.08;
}

.featured-project-copy > p:not(.featured-project-type) {
  min-height: 76px;
  margin: 10px 0 16px;
  color: var(--stone-dark);
  font-size: 0.88rem;
  line-height: 1.65;
}

.featured-project .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 900;
}

.featured-project .text-link svg {
  width: 16px;
  height: 16px;
  color: var(--burgundy);
}

.portfolio-before-after {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 86px 24px 94px;
  background: var(--paper);
}

.portfolio-before-after .before-after-head,
.portfolio-before-after .before-after-grid {
  width: min(1160px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.portfolio-before-after .before-after-head {
  margin-bottom: 30px;
}

.portfolio-reviews {
  padding: 88px 0 96px;
}

.portfolio-gallery {
  padding: 88px 0 96px;
}

@media (max-width: 1000px) {
  .featured-project-grid {
    gap: 15px;
  }

  .featured-project-copy {
    padding: 18px;
  }

  .featured-project-copy h2 {
    font-size: 1.65rem;
  }
}

@media (max-width: 820px) {
  .portfolio-featured {
    padding: 122px 0 72px;
  }

  .portfolio-intro .section-title {
    font-size: 3rem;
  }

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

  .portfolio-before-after {
    padding: 72px 24px 78px;
  }
}

@media (max-width: 620px) {
  .portfolio-featured {
    padding: 112px 0 58px;
  }

  .portfolio-intro {
    margin-bottom: 28px;
  }

  .portfolio-intro .section-title {
    font-size: 2.55rem;
  }

  .featured-project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-project-image {
    aspect-ratio: 1.5 / 1;
  }

  .featured-project-copy > p:not(.featured-project-type) {
    min-height: 0;
  }

  .portfolio-before-after {
    padding: 62px 16px 68px;
  }

  .portfolio-reviews,
  .portfolio-gallery {
    padding-top: 66px;
    padding-bottom: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-project-image img {
    transition: none;
  }
}

@media (max-width: 820px) {
  .mission-vision-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 620px) {
  .mission-vision {
    padding: 68px 0;
  }

  .mission-vision-values {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-vision-heading .section-title {
    font-size: 2.45rem;
  }

  .mission-vision-value h3 {
    font-size: 1.8rem;
  }
}

.estimator-section {
  padding: 96px 0;
  background: var(--cream);
  border-top: 1px solid rgba(109, 103, 94, 0.16);
  border-bottom: 1px solid rgba(109, 103, 94, 0.16);
}

#estimate {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.estimator-heading {
  max-width: 780px;
  margin: 0 0 34px;
}

.estimator-heading .section-title {
  margin-bottom: 14px;
}

.estimator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: stretch;
  gap: 20px;
}

.estimator-form {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(109, 103, 94, 0.2);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

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

.estimate-control-wide {
  grid-column: 1 / -1;
}

.estimate-control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.estimate-control input,
.estimate-control select,
.estimate-control textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(109, 103, 94, 0.32);
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.estimate-control textarea {
  min-height: 88px;
  resize: vertical;
}

.estimate-control input:focus,
.estimate-control select:focus,
.estimate-control textarea:focus {
  outline: 3px solid rgba(197, 147, 82, 0.3);
  border-color: var(--gold);
}

.estimate-optional {
  color: var(--stone-dark);
  font-size: 0.72rem;
  font-weight: 600;
}

.estimate-fields {
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(109, 103, 94, 0.22);
  border-radius: 6px;
}

.estimate-fields[hidden],
.estimate-ready[hidden],
.estimate-total-row[hidden] {
  display: none;
}

.estimate-fields legend,
.estimate-checks legend {
  padding: 0 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.estimate-field-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--stone-dark);
  font-size: 0.78rem;
  line-height: 1.5;
}

.estimate-checks {
  display: grid;
  grid-column: 1 / -1;
  gap: 11px;
  margin: 0;
  padding: 0;
  border: 0;
}

.estimate-checks label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--stone-dark);
  font-size: 0.82rem;
  line-height: 1.45;
}

.estimate-checks input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.estimator-submit {
  width: 100%;
  min-height: 52px;
}

.estimator-result {
  display: flex;
  min-width: 0;
  min-height: 100%;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
}

.estimate-empty {
  max-width: 390px;
}

.estimate-empty > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--gold);
}

.estimate-empty h3,
.estimate-ready h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
}

.estimate-empty p,
.estimate-result-summary,
.estimate-result-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.estimate-ready {
  width: 100%;
}

.estimate-result-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-total-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.estimate-total-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.estimate-total-row span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.estimate-total-row strong {
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.estimate-result-summary {
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 800;
}

.estimate-result-note {
  margin-bottom: 22px;
}

.estimate-whatsapp {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #ffffff;
  background: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.estimate-whatsapp:hover {
  transform: translateY(-2px);
  background: #216442;
}

.estimate-whatsapp svg {
  width: 18px;
  height: 18px;
}

.estimate-disclaimer {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--stone-dark);
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .estimator-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .estimator-result {
    min-height: 250px;
  }
}

@media (max-width: 620px) {
  .estimator-section {
    padding: 68px 0;
  }

  .estimator-form {
    padding: 16px;
  }

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

  .estimate-control-wide,
  .estimate-fields,
  .estimate-checks,
  .estimator-submit {
    grid-column: 1;
  }

  .estimate-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 10px;
  }

  .estimate-fields .estimate-control-wide {
    grid-column: 1 / -1;
  }

  .estimator-result {
    min-height: 220px;
    padding: 22px;
  }

  .estimate-total-row strong {
    font-size: 2rem;
  }

  .estimate-whatsapp {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .estimate-whatsapp {
    transition: none;
  }
}

/* ==========================================================================
   Portfolio, project photos, and photo viewer
   ========================================================================== */

/* Eight services: four across on wide screens */
@media (min-width: 1081px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-grid .service-card {
    padding: 26px 24px;
  }
}

/* ----- Home: portfolio preview ----- */

.portfolio-preview {
  padding: 104px 0 110px;
  color: var(--ink);
  background: var(--paper);
}

.portfolio-preview-head {
  margin-bottom: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.portfolio-preview-head .section-title {
  margin: 0;
  color: var(--navy);
}

.portfolio-preview-head .section-copy {
  max-width: 440px;
}

.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(236px, auto);
  gap: 14px;
}

.pp-tile {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  color: #ffffff;
  background: #0e1724;
}

.pp-tile.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.pp-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pp-tile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(10, 16, 24, 0) 32%, rgba(10, 16, 24, 0.5) 62%, rgba(10, 16, 24, 0.9));
}

.pp-tile:hover img,
.pp-tile:focus-visible img {
  transform: scale(1.05);
}

.pp-tile:focus-visible,
.pp-cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.pp-tile-body {
  position: absolute;
  right: 66px;
  bottom: 18px;
  left: 20px;
  display: grid;
  gap: 4px;
}

.pp-tile-count {
  color: #e8c38a;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pp-tile strong {
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.05;
}

.pp-tile.is-featured strong {
  font-size: 2.5rem;
}

.pp-tile-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.pp-tile-arrow svg {
  width: 18px;
  height: 18px;
}

.pp-tile:hover .pp-tile-arrow,
.pp-tile:focus-visible .pp-tile-arrow {
  color: var(--ink);
  background: var(--gold);
  transform: translate(2px, -2px);
}

.pp-cta {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 28px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--burgundy);
  transition: background 200ms ease;
}

.pp-cta:hover {
  background: var(--burgundy-dark);
}

.pp-cta-thumbs {
  flex: none;
  display: flex;
  padding: 0 6px;
}

.pp-cta-thumbs img {
  width: 76px;
  height: 100px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  transition: transform 300ms ease;
}

.pp-cta-thumbs img + img {
  margin-left: -28px;
}

.pp-cta-thumbs img:nth-child(1) {
  transform: rotate(-7deg);
}

.pp-cta-thumbs img:nth-child(2) {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
}

.pp-cta-thumbs img:nth-child(3) {
  transform: rotate(7deg);
}

.pp-cta:hover .pp-cta-thumbs img:nth-child(1) {
  transform: rotate(-11deg) translateX(-6px);
}

.pp-cta:hover .pp-cta-thumbs img:nth-child(3) {
  transform: rotate(11deg) translateX(6px);
}

.pp-cta-copy {
  display: grid;
  gap: 4px;
}

.pp-cta-kicker {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pp-cta strong {
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.05;
}

.pp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.pp-cta-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.pp-cta:hover .pp-cta-link svg {
  transform: translateX(3px);
}

/* ----- Portfolio page ----- */

.pf-hero .service-page-hero-inner {
  padding-bottom: 56px;
}

.pf-hero-stats {
  max-width: 620px;
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.pf-hero-stats div {
  flex: 1 1 150px;
  padding: 18px 22px 0 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.pf-hero-stats dt {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pf-hero-stats dd {
  margin: 0;
  color: var(--gold);
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
}

.pf-gallery {
  padding-bottom: 100px;
  background: var(--paper);
  scroll-margin-top: 72px;
}

.pf-filter {
  position: sticky;
  top: 72px;
  z-index: 40;
  border-bottom: 1px solid rgba(109, 103, 94, 0.16);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(16px);
  transition: box-shadow 200ms ease;
}

.pf-filter.is-stuck {
  box-shadow: 0 12px 26px rgba(22, 35, 52, 0.08);
}

.pf-filter-inner {
  display: flex;
  gap: 7px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pf-filter-inner::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1081px) {
  .pf-filter-inner {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (max-width: 1080px) {
  .pf-filter-inner {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
    scroll-padding-inline: 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
}

.pf-chip {
  flex: none;
  min-height: 42px;
  padding: 0 8px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(22, 35, 52, 0.16);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pf-chip:hover {
  border-color: var(--navy);
}

.pf-chip:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.pf-chip[aria-current="true"] {
  border-color: var(--navy);
  color: #ffffff;
  background: var(--navy);
}

.pf-chip-count {
  min-width: 28px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(22, 35, 52, 0.08);
  font-size: 0.72rem;
  text-align: center;
}

.pf-chip[aria-current="true"] .pf-chip-count {
  color: var(--ink);
  background: var(--gold);
}

.pf-groups {
  padding-top: 18px;
}

.pf-group {
  padding-top: 48px;
  scroll-margin-top: 150px;
}

.pf-group[hidden] {
  display: none;
}

.pf-group + .pf-group {
  margin-top: 34px;
  border-top: 1px solid rgba(109, 103, 94, 0.16);
}

.pf-groups[data-pf-mode="single"] .pf-group {
  margin-top: 0;
  border-top: 0;
}

.pf-group-head {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 22px;
}

.pf-group-number {
  color: var(--gold);
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 0.86;
}

.pf-group-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.02;
}

.pf-group-copy p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--stone-dark);
}

.pf-group-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.pf-group-count {
  color: var(--stone-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pf-group-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--burgundy);
  font-size: 0.9rem;
  font-weight: 800;
}

.pf-group-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.pf-group-link:hover svg {
  transform: translate(2px, -2px);
}

.pf-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
  list-style: none;
}

.pf-item {
  position: relative;
  aspect-ratio: 4 / 5;
}

.pf-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.pf-tile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--stone);
  cursor: zoom-in;
}

.pf-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pf-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 16, 24, 0) 52%, rgba(10, 16, 24, 0.74));
  opacity: 0;
  transition: opacity 250ms ease;
}

.pf-tile-caption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.pf-tile:hover img,
.pf-tile:focus-visible img {
  transform: scale(1.045);
}

.pf-tile:hover::after,
.pf-tile:focus-visible::after,
.pf-tile:hover .pf-tile-caption,
.pf-tile:focus-visible .pf-tile-caption {
  opacity: 1;
  transform: none;
}

.pf-tile:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.js .pf-groups[data-pf-mode="all"] .pf-item:nth-child(n + 10) {
  display: none;
}

.pf-group-more {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.pf-groups[data-pf-mode="single"] .pf-group-more,
html:not(.js) .pf-group-more {
  display: none;
}

.pf-more-btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.pf-more-btn:hover {
  color: #ffffff;
  background: var(--navy);
}

.pf-more-btn svg {
  width: 17px;
  height: 17px;
}

.portfolio-page .portfolio-before-after {
  background: var(--cream);
}

/* ----- Service pages: project photos ----- */

.service-gallery {
  padding: 96px 0;
  background: var(--cream);
}

.service-gallery-head {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.service-gallery-head .section-title {
  margin: 0;
}

.service-gallery-head .section-copy {
  margin-top: 12px;
}

.service-gallery-head .pf-more-btn {
  flex: none;
}

.service-gallery-grid .pf-item:nth-child(n + 10) {
  display: none;
}

.service-gallery-grid.is-compact {
  grid-template-columns: repeat(3, 1fr);
}

.service-gallery-grid.is-compact .pf-item {
  aspect-ratio: 4 / 3;
}

/* ----- Photo viewer ----- */

.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 84px;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  color: #ffffff;
  background: rgba(9, 13, 19, 0.95);
  opacity: 0;
  transition: opacity 200ms ease;
}

.pf-lightbox[hidden] {
  display: none;
}

.pf-lightbox.is-open {
  opacity: 1;
}

.pf-lightbox-bar {
  grid-column: 1 / -1;
  padding: 14px 18px 8px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pf-lightbox-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pf-lightbox-close,
.pf-lightbox-nav {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.pf-lightbox-close:hover,
.pf-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pf-lightbox-close:focus-visible,
.pf-lightbox-nav:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.pf-lightbox-nav {
  grid-row: 2;
  justify-self: center;
}

.pf-lightbox-nav[hidden] {
  display: none;
}

.pf-lightbox-nav.is-prev {
  grid-column: 1;
}

.pf-lightbox-nav.is-next {
  grid-column: 3;
}

.pf-lightbox-nav.is-prev:active {
  transform: translateX(-2px);
}

.pf-lightbox-nav.is-next:active {
  transform: translateX(2px);
}

.pf-lightbox-stage {
  grid-column: 2;
  grid-row: 2;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 0 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  touch-action: pan-y;
}

.pf-lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 180ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.pf-lightbox.is-loading .pf-lightbox-stage img {
  opacity: 0.4;
}

.pf-lightbox-stage figcaption {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  text-align: center;
}

/* ----- Responsive ----- */

@media (max-width: 1080px) {
  .portfolio-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(210px, auto);
  }

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

@media (max-width: 820px) {
  .portfolio-preview-head,
  .service-gallery-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .pf-group-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pf-group-number {
    font-size: 2.4rem;
  }

  .pf-group-meta {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 18px;
    text-align: left;
  }

  .service-gallery-grid.is-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .portfolio-preview {
    padding: 74px 0 80px;
  }

  .portfolio-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(172px, auto);
    gap: 10px;
  }

  .pp-tile-body {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .pp-tile strong {
    font-size: 1.22rem;
  }

  .pp-tile.is-featured strong {
    font-size: 1.9rem;
  }

  .pp-tile-arrow {
    display: none;
  }

  .pp-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
  }

  .pf-hero-stats dd {
    font-size: 2.2rem;
  }

  .pf-chip {
    min-height: 38px;
    font-size: 0.8rem;
  }

  .pf-group {
    padding-top: 36px;
  }

  .pf-group-copy h2 {
    font-size: 2.05rem;
  }

  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pf-item.is-featured {
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }

  .service-gallery {
    padding: 72px 0;
  }

  .pf-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .pf-lightbox-stage {
    grid-column: 1 / -1;
    padding: 0 10px 8px;
  }

  .pf-lightbox-stage img {
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
  }

  .pf-lightbox-nav {
    grid-row: 3;
    margin: 4px 10px 22px;
  }

  .pf-lightbox-nav.is-prev {
    justify-self: end;
  }

  .pf-lightbox-nav.is-next {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-tile img,
  .pf-tile img,
  .pp-cta-thumbs img,
  .pf-lightbox {
    transition: none;
  }
}

/* ----- Language switch (English / Español) ----- */

.site-header .main-nav {
  order: 1;
  margin-left: auto;
}

.lang-switch {
  order: 2;
  flex: none;
  min-height: 40px;
  margin-left: 18px;
  padding: 0 14px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(22, 35, 52, 0.2);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.lang-switch svg {
  width: 16px;
  height: 16px;
  color: var(--burgundy);
}

.lang-switch:hover {
  border-color: var(--navy);
  color: #ffffff;
  background: var(--navy);
}

.lang-switch:hover svg {
  color: var(--gold);
}

.lang-switch:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.site-header .nav-toggle {
  order: 3;
}

@media (max-width: 1180px) and (min-width: 821px) {
  .site-header .brand small {
    display: none;
  }

  .lang-switch {
    margin-left: 14px;
    padding: 0 11px;
  }
}

@media (max-width: 820px) {
  .lang-switch {
    position: fixed;
    top: 17px;
    right: 74px;
    z-index: 70;
    min-height: 38px;
    margin: 0;
    padding: 0 11px 0 10px;
    font-size: 0.74rem;
  }
}

@media (max-width: 620px) {
  .lang-switch {
    right: auto;
    left: calc(min(calc(100% - 64px), 326px) - 10px);
    transform: translateX(-100%);
  }
}

/* Chat and form fields on phones.
   iOS zooms into any field with text smaller than 16px, so fields use 16px on touch screens. */
@media (pointer: coarse), (max-width: 820px) {
  input,
  select,
  textarea,
  .chat-composer input,
  .estimate-control input,
  .estimate-control select,
  .estimate-control textarea {
    font-size: 16px;
  }
}

.chat-site-link {
  border-color: rgba(24, 76, 52, 0.28);
  color: var(--forest);
}

.chat-site-link:hover {
  color: #ffffff;
  background: var(--forest);
}

@media (max-width: 620px) {
  body.chat-open {
    overflow: hidden;
  }

  /* While the keyboard is open, the panel fills the visible area above it (set from script.js). */
  .faq-chat.is-keyboard {
    top: var(--chat-top, 8px);
    bottom: auto;
    height: var(--chat-height, 60dvh);
    animation: none;
  }

  .faq-chat.is-keyboard .chat-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .faq-chat.is-keyboard .chat-contact-row {
    display: none;
  }
}

/* ----- Blog: cards, lists, and articles ----- */

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

.blog-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(109, 103, 94, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 21, 20, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23, 21, 20, 0.12);
}

.blog-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--stone);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}

.blog-card-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  color: var(--stone-dark);
  font-size: 0.74rem;
  font-weight: 700;
}

.blog-card-meta span {
  color: var(--burgundy);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.62rem;
  font-weight: 600;
  line-height: 1.12;
}

/* The title link covers the whole card, so the card is one link for keyboards and screen readers. */
.blog-card h3 a::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

.blog-card h3 a:focus-visible {
  outline: none;
}

.blog-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.blog-card-summary {
  margin: 0;
  color: var(--stone-dark);
  font-size: 0.92rem;
  line-height: 1.62;
}

.blog-card-link {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 900;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.blog-card:hover .blog-card-link svg {
  transform: translateX(4px);
}

.blog-card.is-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.blog-card.is-featured .blog-card-media {
  aspect-ratio: auto;
  min-height: 420px;
}

.blog-card.is-featured .blog-card-body {
  justify-content: center;
  gap: 16px;
  padding: 44px 46px;
}

.blog-card.is-featured h3 {
  font-size: 2.5rem;
  line-height: 1.06;
}

.blog-card.is-featured .blog-card-summary {
  font-size: 1rem;
}

.blog-card.is-featured .blog-card-link {
  margin-top: 6px;
}

/* Blog index */

.blog-hero {
  min-height: 560px;
}

.blog-list {
  padding-top: 84px;
  padding-bottom: 104px;
}

.blog-list-title {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
}

.blog-list-head {
  margin-top: 72px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(109, 103, 94, 0.2);
  margin-bottom: 30px;
}

.blog-list-head .blog-list-title {
  margin-bottom: 14px;
}

.blog-list-head span {
  color: var(--stone-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

/* Recent posts on the home page, service pages, and under an article */

.blog-highlights {
  padding: 96px 0 104px;
}

.home-blog,
.post-related {
  background: var(--cream);
  border-top: 1px solid rgba(109, 103, 94, 0.14);
}

.service-posts {
  border-top: 1px solid rgba(109, 103, 94, 0.14);
}

.blog-highlights-head {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 56px;
}

.blog-highlights-head .section-title {
  margin: 0;
}

.blog-highlights-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Article page */

.post-hero {
  min-height: 600px;
}

.post-hero .service-page-kicker a {
  color: inherit;
}

.post-hero .service-page-kicker a:hover {
  color: #ffffff;
}

.post-title {
  max-width: 940px;
  font-size: 3.6rem;
}

.post-meta {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 700;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-meta svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.post-hero .service-breadcrumb {
  margin-top: 40px;
}

.post-layout {
  padding-top: 76px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 72px;
}

.post-body {
  max-width: 720px;
  color: var(--charcoal);
  font-size: 1.06rem;
  line-height: 1.8;
}

.post-body > :first-child {
  margin-top: 0;
}

.post-body p {
  margin: 0 0 22px;
}

.post-body h2 {
  margin: 52px 0 16px;
  scroll-margin-top: calc(var(--header-height) + 24px);
  color: var(--ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.1;
}

.post-body ul,
.post-body ol {
  margin: 0 0 26px;
  padding-left: 0;
  list-style: none;
}

.post-body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}

.post-body ul li::before {
  position: absolute;
  top: 0.72em;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  content: "";
}

.post-body ol {
  counter-reset: post-step;
}

.post-body ol li {
  counter-increment: post-step;
}

.post-body ol li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  content: counter(post-step);
}

.post-body strong {
  color: var(--ink);
  font-weight: 800;
}

.post-body a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(111, 31, 43, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}

.post-body a:hover {
  text-decoration-color: var(--burgundy);
}

.post-figure {
  margin: 38px 0 40px;
}

.post-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.post-figure.is-portrait img {
  max-height: 620px;
  object-fit: cover;
}

.post-figure figcaption {
  margin-top: 12px;
  color: var(--stone-dark);
  font-size: 0.84rem;
  font-weight: 600;
}

/* The aside runs the full height of the article, so the call to action can stay in view while reading. */
.post-aside {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-cta {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.post-toc {
  padding: 22px 22px 18px;
  border: 1px solid rgba(109, 103, 94, 0.18);
  border-radius: var(--radius);
  background: var(--cream);
}

.post-toc-title {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-toc-title svg {
  width: 16px;
  height: 16px;
  color: var(--burgundy);
}

.post-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.post-toc li {
  counter-increment: toc;
}

.post-toc a {
  padding: 7px 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  border-top: 1px solid rgba(109, 103, 94, 0.12);
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 160ms ease;
}

.post-toc a::before {
  color: var(--gold);
  font-weight: 900;
  content: counter(toc, decimal-leading-zero);
}

.post-toc li:first-child a {
  border-top: 0;
}

.post-toc a:hover {
  color: var(--burgundy);
}

.post-cta {
  padding: 26px 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--soft-shadow);
}

.post-cta-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-cta h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.08;
}

.post-cta > p:not(.post-cta-kicker) {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-cta .primary-btn {
  width: 100%;
  justify-content: center;
}

.post-cta-links {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.post-cta-links a {
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.post-cta-links a:hover {
  color: var(--gold);
}

.post-cta-links svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--gold);
}

@media (max-width: 1080px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 44px;
  }

  .blog-card.is-featured h3 {
    font-size: 2.1rem;
  }
}

@media (max-width: 820px) {
  .blog-card.is-featured {
    grid-template-columns: 1fr;
  }

  .blog-card.is-featured .blog-card-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .blog-card.is-featured .blog-card-body {
    padding: 26px 24px 28px;
  }

  .blog-highlights-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .post-title {
    font-size: 3rem;
  }

  .post-layout {
    padding-top: 52px;
    padding-bottom: 72px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-body {
    max-width: none;
  }

  /* On narrow screens the table of contents sits above the article and the call to action below it. */
  .post-aside {
    display: contents;
  }

  .post-cta {
    position: static;
  }

  .post-toc {
    order: -1;
  }
}

@media (max-width: 620px) {
  .blog-grid,
  .blog-grid.has-two {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-list {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .blog-list-head {
    margin-top: 52px;
  }

  .blog-highlights {
    padding: 68px 0 76px;
  }

  .blog-card.is-featured h3 {
    font-size: 1.85rem;
  }

  .blog-hero,
  .post-hero {
    min-height: 0;
  }

  .post-title {
    font-size: 2.3rem;
  }

  .post-meta {
    gap: 8px 18px;
    font-size: 0.8rem;
  }

  .post-body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .post-body h2 {
    margin-top: 42px;
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-media img,
  .blog-card-link svg {
    transition: none;
  }
}

/* Header between tablet and desktop widths: the menu has seven items, so it tightens up,
   and below 1000px only the logo is shown next to it. */
@media (max-width: 1120px) and (min-width: 821px) {
  .main-nav {
    gap: 17px;
    font-size: 0.74rem;
  }

  .nav-cta {
    padding: 0 15px;
  }
}

@media (max-width: 1000px) and (min-width: 821px) {
  .site-header .brand > span {
    display: none;
  }

  .main-nav {
    gap: 15px;
  }
}


/* ----- Home hero: the H1 names the business and what it does ----- */

.hero-title-kicker {
  margin-bottom: 14px;
  display: block;
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ----- Footer with service links ----- */

.site-footer {
  padding: 64px 0 0;
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-area {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
}

@media (max-width: 1080px) {
  .site-footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding-top: 48px;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 96px;
  }

  .hero-title-kicker {
    font-size: 0.74rem;
  }

  .footer-bottom {
    width: min(100% - 32px, 1160px);
  }
}

/* ----- 404 page ----- */

.not-found-page {
  min-height: 100vh;
  background: var(--cream);
}

.not-found {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 80px;
  display: grid;
  gap: 40px;
}

.not-found-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.not-found-brand img {
  border-radius: 6px;
}

.not-found .not-found-code {
  margin: 0;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.not-found h1,
.not-found h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.05;
}

.not-found h2 {
  font-size: 2rem;
}

.not-found p {
  margin: 0;
  color: var(--stone-dark);
  line-height: 1.7;
}

.not-found-links {
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.not-found-links a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 35, 52, 0.25);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.not-found-links a:hover {
  color: #ffffff;
  background: var(--navy);
}
