/* =========================================================================
   City Seamless Rain Gutter — design system
   Aesthetic: Vegas tradesman editorial. Confident, photographic, restrained.
   Display: Barlow Condensed (muscular, sign-painter weight)
   Body:    Work Sans (clean, friendly trade-doc tone)
   Brand:   Navy #01417a + Orange #d37b25, warmed with sand and graphite
   ========================================================================= */

:root {
  --navy: #01417a;
  --navy-deep: #003566;
  --navy-mast: #2d508f;
  --orange: #d37b25;
  --orange-dark: #b15d11;
  --orange-soft: #f5e9d8;

  --ink: #333333;
  --ink-2: #5e5e5e;
  --heading: #5e5e5e;
  --muted: #6e6e6e;
  --line: #e6e6e6;
  --line-soft: #f0f0f0;

  --paper: #ffffff;
  --soft: #f5f5f5;
  --sand: #f5efe6;
  --graphite: #1a1a1a;

  --max: 1170px;
  --max-wide: 1280px;
  --radius: 0;
  --radius-card: 0;
  --shadow-card: 0 6px 24px -10px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 8px -4px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Typography =================================================== */

h1, h2, h3, h4 {
  font-family: "Work Sans", Arial, sans-serif;
  color: var(--heading);
  font-weight: 500;
  letter-spacing: -0.016em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(40px, 4.8vw, 64px); font-weight: 600; line-height: 0.95; letter-spacing: -0.016em; }
h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; letter-spacing: -0.012em; }
h4 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 18px; }

.eyebrow {
  margin: 0 0 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.eyebrow--navy { color: var(--navy); }

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

.rule {
  width: 72px;
  height: 3px;
  background: var(--orange);
  margin: 22px 0 26px;
}

.rule--center { margin-left: auto; margin-right: auto; }
.rule--light { background: rgba(255, 255, 255, 0.6); }

/* ===== Layout containers ============================================ */

.topbar-inner,
.nav-inner,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner { width: min(var(--max-wide), calc(100% - 40px)); }

section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--flush { padding-top: 0; }

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

.split--wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.split--lead { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }

.soft-section { background: var(--soft); }
.sand-section { background: var(--sand); }
.navy-section { background: var(--navy); color: #fff; }
.navy-section h1, .navy-section h2, .navy-section h3 { color: #fff; }
.navy-section p { color: rgba(255, 255, 255, 0.86); }
.dark-section { background: var(--navy-deep); color: #f1f6fc; }
.dark-section h1, .dark-section h2, .dark-section h3 { color: #fff; }

/* ===== Top bar ====================================================== */

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0;
}

.topbar-inner {
  min-height: 35px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}

.topbar-question { font-weight: 400; }

.topbar-marks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}

.topbar-marks span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-marks svg { width: 14px; height: 14px; color: var(--orange); }

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.topbar-phone a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0;
}

.topbar-phone svg { width: 14px; height: 14px; color: var(--orange); }

/* ===== Header / nav ================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(12, 22, 34, 0.04);
}

.nav-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; }
.logo img { width: 232px; height: auto; }

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: capitalize;
}

.menu a {
  text-decoration: none;
  color: #777;
  padding: 15px 24px;
  position: relative;
  transition: color 0.18s ease;
}

.menu a:not(.button):hover { color: var(--orange); }

.menu .button { margin-left: 8px; }
.menu .button { color: #fff; padding: 12px 24px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  min-height: 0;
  font-weight: 600;
}

.nav-toggle svg { width: 22px; height: 22px; display: block; }

.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }

/* ===== Buttons ====================================================== */

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
  box-shadow: none;
}

.button::after,
input[type="submit"].with-arrow::after {
  content: "→";
  margin-left: 6px;
  font-size: 17px;
  line-height: 1;
}

.button.no-arrow::after,
button::after,
input[type="submit"]::after { content: none; }

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--orange-dark);
  transform: none;
  box-shadow: none;
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px #fff;
}

.button.secondary:hover { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }

.button.ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}

.button.ghost:hover { background: var(--navy); color: #fff; }

.button.dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 24px -14px rgba(1, 65, 122, 0.65);
}

.button.dark:hover { background: var(--navy-deep); }

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 4px;
  width: fit-content;
}

.text-link:hover { color: var(--orange-dark); }
.text-link::after { content: "→"; transition: transform 0.18s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ===== Forms ======================================================== */

label {
  display: block;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #333;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d6dbe1;
  border-radius: 0;
  padding: 9px 16px 11px;
  font: inherit;
  font-size: 16px;
  background: #f2f3f5;
  color: #495057;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1, 65, 122, 0.1);
}

input[type="checkbox"], input[type="radio"] { width: auto; min-height: auto; }

textarea { min-height: 140px; resize: vertical; }

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

.span-2, .span-3 { grid-column: 1 / -1; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-note {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  max-width: 56ch;
}

.notice {
  padding: 14px 18px;
  margin-top: 22px;
  background: #f0f8f2;
  border-left: 4px solid #4f9d61;
  color: #1c4126;
  display: none;
  font-size: 15px;
}

.notice.error { background: #fdf3ef; border-left-color: #c8492a; color: #6b1c0c; }
.notice.success { background: #f0f8f2; border-left-color: #4f9d61; color: #1c4126; }

/* ===== Masthead (home hero) ========================================= */

.home-masthead {
  position: relative;
  min-height: 0;
  display: block;
  color: #fff;
  overflow: hidden;
  padding: 100px 0 180px;
  background:
    linear-gradient(90deg, rgba(1, 65, 122, 0.78) 0%, rgba(1, 65, 122, 0.42) 55%, rgba(1, 65, 122, 0.15) 100%),
    var(--navy-mast) url("/assets/images/home-hero-family-roofing.jpg") center / cover no-repeat;
}

.home-masthead .section-inner { position: relative; z-index: 2; }

.masthead-content { max-width: 640px; padding: 0; }
.home-masthead .masthead-content { max-width: 1160px; }

.masthead-content h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.016em;
  margin: 0 0 25px;
}

.masthead-content hr {
  width: min(100%, 520px);
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  margin: 16px 0;
}

.masthead-content h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 25px;
  letter-spacing: 0;
  line-height: 1.3;
}

.masthead-content p {
  color: #e7e6e6;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 35px;
  line-height: 1.3;
  max-width: 560px;
  letter-spacing: -0.01em;
}

.masthead-content .button {
  margin-top: 0;
  font-size: 16px;
  padding: 15px 24px;
  min-height: 0;
}

/* ===== Estimate form (home + contact) =============================== */

.estimate-form-section {
  background: #fff;
  padding: 60px 0 45px;
  margin-top: -90px;
  position: relative;
  z-index: 3;
}

.estimate-form-section.standalone-estimate { margin-top: 0; padding: 40px 0 70px; }

.estimate-form-card {
  background: #fff;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0;
  box-shadow: none;
  border: 0;
}

.estimate-form h2 {
  text-align: center;
  color: #5e5e5e;
  font-size: 31px;
  font-weight: 700;
  margin: 0 0 30px;
  letter-spacing: -0.005em;
  line-height: 1.1;
}

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

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

.form-group label {
  display: block;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #333;
  margin: 0 0 6px;
}

.form-group .req { color: var(--orange); font-weight: 700; margin-right: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  min-height: 40px;
  border: 1px solid #d6dbe1;
  background: #f2f3f5;
  font-size: 16px;
  padding: 9px 16px 11px;
  color: #495057;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1, 65, 122, 0.1);
}

.estimate-form__footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.estimate-form__footer p {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.estimate-form__footer input[type="submit"] {
  justify-self: end;
  min-width: 140px;
  padding: 10px 35px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  min-height: 47px;
}

.turnstile-wrap {
  margin: 18px 0 6px;
}

/* Old estimate-band kept for contact page standalone use */

.estimate-band { background: var(--soft); padding: 60px 0 70px; }
.estimate-band.standalone-estimate { padding: 30px 0 70px; }
.estimate-card { background: #fff; max-width: 1000px; margin: 0 auto; padding: 36px 40px 28px; border: 1px solid var(--line); box-shadow: 0 10px 32px -12px rgba(0, 0, 0, 0.18); }
.estimate-card__lede { text-align: center; margin-bottom: 24px; }
.estimate-card__lede h2 { color: var(--navy); margin: 0 0 6px; font-size: 30px; font-weight: 500; }
.estimate-card__lede p { color: #666; margin: 0; font-size: 15px; }

/* ===== Learn more (Rain Gutter Installation Southern Nevada) ======= */

.learn-more {
  background: #f3f3f3 center / cover no-repeat;
  padding: 0;
  position: relative;
}

.learn-more__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  width: 100%;
}

.learn-more__photo { padding: 0; }
.learn-more__photo img { width: 100%; height: auto; display: block; }

.learn-more__content {
  padding: 80px 60px 80px 50px;
  max-width: 640px;
}

.learn-more__content h2 {
  color: var(--heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  margin: 0 0 20px;
  letter-spacing: -0.014em;
}

.learn-more__content p { color: var(--ink); font-size: 16px; line-height: 1.65; margin: 0 0 26px; }

/* ===== About blue section ========================================== */

.about-blue {
  background: var(--navy);
  color: #fff;
  padding: 135px 0 180px;
}

.about-blue__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-blue__text h2 {
  color: #fff;
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 45px;
}

.about-blue__text h2:not(:first-child) { margin-top: 45px; }

.about-blue__text p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 16px;
}

.about-blue__side {
  display: grid;
  gap: 28px;
  align-content: start;
}

.about-blue__rows {
  margin-top: 0;
  display: grid;
  gap: 18px;
}

.icon-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: center;
}

.icon-row img { width: 50px; height: 50px; object-fit: contain; }
.icon-row p { color: rgba(255, 255, 255, 0.92); font-size: 15px; line-height: 1.55; margin: 0; }

.about-blue__image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}

.about-blue__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 640px;
}

/* ===== Service Areas home block ==================================== */

.home-areas {
  background: #fff;
  padding: 50px 40px 70px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto -490px;
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.18);
}

.home-areas .section-inner { width: 100%; padding: 0; }

.home-areas__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-areas__map img { width: 100%; height: auto; border: 1px solid var(--line); display: block; }

.home-areas__list h2 {
  color: var(--heading);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 22px;
  letter-spacing: -0.014em;
}

.home-areas__list p { color: var(--ink); font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.home-areas__list p strong { color: var(--navy); }
.home-areas__list .button { margin-top: 18px; }

/* ===== Services Products section =================================== */

.services-products { background: #ededed; padding: 570px 0 130px; border-top: 0; }

.services-products__intro {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 48px;
}

.services-products__intro h2 {
  color: var(--heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: -0.014em;
}

.services-products__intro p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
  text-align: left;
}

.services-products__intro p strong { color: var(--navy); }

.services-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.services-products__grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover { box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.18); transform: translateY(-2px); }

.product-card__photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 380 / 220;
}

.product-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__photo img { transform: scale(1.04); }

.product-card__body {
  padding: 30px 24px 32px;
  display: grid;
  gap: 12px;
  align-content: start;
  text-align: left;
}

.product-card__title {
  display: block;
  padding: 0;
  text-decoration: none;
  color: var(--orange);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.product-card__title:hover { color: var(--orange-dark); }

.product-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.services-products__cta { text-align: center; }

/* ===== See For Yourself (project preview blue band) ================ */

.see-for-yourself {
  background: var(--navy);
  color: #fff;
  padding: 140px 0 80px;
}

.see-for-yourself__heading { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.see-for-yourself__heading hr { width: 60px; height: 2px; background: rgba(255, 255, 255, 0.6); border: 0; margin: 0 auto 20px; }
.see-for-yourself__heading h2 { color: #fff; font-weight: 500; font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px; letter-spacing: -0.014em; }
.see-for-yourself__heading p { color: rgba(255, 255, 255, 0.86); font-size: 15px; line-height: 1.6; margin: 0; }

.projects-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.projects-strip__tile {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  transition: transform 0.25s ease;
}

.projects-strip__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s ease, transform 0.35s ease; }
.projects-strip__tile:hover img { transform: scale(1.05); }

.see-for-yourself__link { text-align: center; }
.see-for-yourself__link a { color: var(--orange); text-decoration: none; font-weight: 500; font-size: 16px; }
.see-for-yourself__link a:hover { color: var(--orange-soft); }
.see-for-yourself__link span { color: var(--orange); margin-left: 4px; }

/* ===== Single review section ======================================= */

.home-review {
  padding: 100px 0;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

.home-review .section-inner { width: min(var(--max), calc(100% - 40px)); }

.home-review__card {
  max-width: 640px;
  color: #fff;
}

.home-review__card h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.012em;
}

.home-review__quote {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.4;
  color: #fff;
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: -0.012em;
}

.home-review__sig { color: rgba(255, 255, 255, 0.86); font-size: 15px; margin: 0; }
.home-review__sig strong { color: #fff; }
.home-review__sig a { color: var(--orange); text-decoration: none; margin-left: 4px; font-weight: 500; }
.home-review__sig a:hover { color: var(--orange-soft); }

/* ===== Tips & Advice =============================================== */

.home-tips {
  background: #fff;
  padding: 50px 40px 70px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto -70px;
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.18);
}

.home-tips .section-inner { width: 100%; padding: 0; }

.home-tips__heading {
  text-align: center;
  color: var(--heading);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  margin: 0 0 40px;
  letter-spacing: -0.012em;
}

.home-tips__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.tip-card { text-align: center; }

.tip-card__photo {
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  aspect-ratio: 500 / 360;
  background: #f0f0f0;
}

.tip-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.tip-card:hover .tip-card__photo img { transform: scale(1.04); }

.tip-card__title {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: var(--orange);
  text-decoration: none;
  line-height: 1.35;
  letter-spacing: -0.006em;
}

.tip-card__title:hover { color: var(--orange-dark); }

/* ===== Page title (inner page hero) ================================ */

.page-title {
  background:
    linear-gradient(90deg, rgba(1, 65, 122, 0.85) 0%, rgba(45, 80, 143, 0.55) 60%, rgba(45, 80, 143, 0.25) 100%),
    var(--navy-mast) var(--page-hero-image, url("/assets/images/home-hero-family-roofing.jpg")) center / cover no-repeat;
  color: #fff;
  padding: 70px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-title .section-inner { position: relative; z-index: 2; }

.page-title h1 {
  color: #fff;
  margin: 0 0 12px;
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.016em;
  max-width: 22ch;
  line-height: 1.05;
}

.page-title p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.page-title .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* ===== Imported live-page content ================================= */

.service-index-intro,
.blog-intro,
.gallery-intro,
.areas-intro,
.reviews-intro {
  padding: 52px 0 24px;
  background: #fff;
}

.service-index-intro .content-rich,
.blog-intro .content-rich,
.gallery-intro .content-rich,
.areas-intro .content-rich,
.reviews-intro .content-rich {
  max-width: 960px;
}

.service-index-intro .content-rich section,
.blog-intro .content-rich section,
.gallery-intro .content-rich section,
.areas-intro .content-rich section,
.reviews-intro .content-rich section {
  padding: 0;
}

.service-index-intro .content-rich > section:first-child,
.blog-intro .content-rich > section:first-child,
.gallery-intro .content-rich > section:first-child,
.areas-intro .content-rich > section:first-child,
.reviews-intro .content-rich > section:first-child {
  display: none;
}

.content-rich nav[aria-label="breadcrumbs"],
.breadcrumb-wrap {
  margin: 0 0 30px;
  color: #7c7c7c;
  font-size: 13px;
}

.breadcrumb-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 18px auto 30px;
}

.content-rich nav[aria-label="breadcrumbs"] ol,
.breadcrumb-wrap ol,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-rich nav[aria-label="breadcrumbs"] li,
.breadcrumb-wrap li,
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.content-rich nav[aria-label="breadcrumbs"] li + li::before,
.breadcrumb-wrap li + li::before,
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #b3b3b3;
}

.content-rich nav[aria-label="breadcrumbs"] a,
.breadcrumb-wrap a,
.breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
}

.content-rich nav[aria-label="breadcrumbs"] i:empty,
.breadcrumb-wrap i:empty,
.breadcrumbs .bc-home-li:empty {
  display: none;
}

.content-rich img:not([src]),
.content-rich img[src=""] {
  display: none;
}

.service-index-intro .content-rich h1,
.blog-intro .content-rich h1,
.gallery-intro .content-rich h1,
.areas-intro .content-rich h1,
.reviews-intro .content-rich h1 {
  margin-top: 0;
}

.service-index-intro .content-rich h2,
.blog-intro .content-rich h2,
.gallery-intro .content-rich h2,
.areas-intro .content-rich h2,
.reviews-intro .content-rich h2 {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--graphite);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
}

.service-index-intro--live-copy .content-rich section:nth-of-type(3),
.service-index-intro--live-copy .content-rich section:nth-of-type(4) {
  display: none;
}

.gallery-intro .content-rich section:nth-of-type(2) {
  margin-top: 34px;
}

.service-index-intro .content-rich section:nth-of-type(3) > div,
.gallery-intro .content-rich section:nth-of-type(2) > div:last-child > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-index-intro .content-rich section:nth-of-type(3) > div > div,
.gallery-intro .content-rich section:nth-of-type(2) > div:last-child > div > div {
  min-height: 160px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px -24px rgba(0, 0, 0, 0.5);
}

.service-index-intro .content-rich section:nth-of-type(3) a,
.gallery-intro .content-rich section:nth-of-type(2) span {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.gallery-intro .content-rich section:first-of-type div > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 4px 4px 4px 0;
  padding: 7px 12px;
  border: 1px solid #d6dbe1;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.gallery-intro .content-rich section:first-of-type div > a:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.page-title--live-simple {
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 116px 0 132px;
  text-align: center;
  background-position: center;
}

.page-title--live-simple h1 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(42px, 4.7vw, 56px);
  font-weight: 500;
}

.page-title--live-service {
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 120px 0 150px;
  background-position: center;
}

.page-title--live-service .masthead-content {
  max-width: 610px;
}

.page-title--live-service h1 {
  color: #fff;
  margin: 0 0 18px;
  max-width: 760px;
  text-align: left;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600;
  line-height: 1;
}

.page-title--live-service h2 {
  color: #fff;
  margin: 0 0 18px;
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}

.page-title--live-service h5 {
  color: #e7e6e6;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.page-title--live-service hr {
  width: min(100%, 520px);
  height: 1px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
}

.page-title--live-service a {
  color: inherit;
}

.masthead-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.masthead-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.masthead-phone svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

/* Hero variant for gallery */
.album-title {
  background:
    linear-gradient(90deg, rgba(1, 65, 122, 0.85), rgba(45, 80, 143, 0.45)),
    var(--page-hero-image, url("/assets/images/home-hero-family-roofing.jpg")) center / cover no-repeat;
  padding: 70px 0 50px;
}

.album-title h1 { max-width: 22ch; }

.album-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.album-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.18s ease;
}

.album-nav a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ===== Content typography ========================================== */

.content {
  max-width: 760px;
  margin: 0 auto;
}

.content-rich > *:first-child { margin-top: 0; }
.content-rich p, .content-rich li { color: var(--ink); font-size: 17px; line-height: 1.65; font-weight: 400; }
.content-rich p { margin: 0 0 20px; }
.content-rich h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--heading);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.014em;
  line-height: 1.15;
}

.content-rich h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--heading);
  font-weight: 500;
  letter-spacing: -0.012em;
}

.content-rich a { color: var(--orange); font-weight: 500; text-decoration: none; }
.content-rich a:hover { color: var(--orange-dark); text-decoration: underline; }
.content-rich a.button {
  color: #fff;
  text-decoration: none;
}
.content-rich a.button:hover {
  color: #fff;
  text-decoration: none;
}

.content-rich ul, .content-rich ol { padding-left: 22px; margin: 0 0 22px; }
.content-rich li { margin-bottom: 8px; }

.content-rich blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 4px solid var(--orange);
  background: var(--sand);
  font-style: italic;
  color: var(--navy-deep);
  font-size: 18px;
}

.content-rich img { margin: 24px 0; }

/* ===== Service / area page layout ================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 64px;
  align-items: start;
}

.page-content { min-width: 0; }

.designed-page-section,
.article-shell,
.standard-page-section {
  padding: 48px 0 70px;
  background: #fff;
}

.service-main {
  padding: 42px 0 72px;
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 58px;
  align-items: start;
}

.article-layout > .content,
.article-layout > .page-content {
  max-width: none;
  margin: 0;
}

.article-lead {
  margin: 0 0 34px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--soft);
}

.article-lead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-photo-sidebar {
  gap: 18px;
}

.side-photo {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow-card);
}

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

.side-photo--2 img { aspect-ratio: 1 / 1; }
.side-photo--3 img { aspect-ratio: 16 / 10; }

.designed-index-section {
  padding: 54px 0 80px;
  background: #fff;
}

.areas-intro--simple {
  padding-bottom: 24px;
}

.areas-grid--simple {
  padding-top: 72px;
  padding-bottom: 42px;
}

.service-index-intro--below,
.areas-intro--below {
  padding: 0 0 68px;
  background: #fff;
}

.service-index-intro--below .content-rich,
.areas-intro--below .content-rich {
  max-width: 850px;
}

.simple-gallery-link {
  padding: 0 0 76px;
  background: #fff;
  text-align: center;
}

.simple-gallery-link .button {
  min-width: min(280px, 80vw);
}

.long-copy-flow {
  max-width: 900px;
  text-align: left;
}

.long-copy-flow > *:not(.inline-brand-mark):not(.inline-photo-break) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.inline-brand-mark {
  width: min(360px, 82vw);
  margin: 0 auto 54px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.inline-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.inline-photo-break {
  clear: both;
  width: min(820px, 100%);
  margin: 54px auto;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow-card);
}

.inline-photo-break img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.inline-photo-break--wide {
  max-width: 820px;
}

.area-contact-copy {
  clear: both;
  margin: 34px 0 12px;
}

.area-contact-copy p {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.area-review {
  padding: 38px 0 20px;
  background: #fff;
}

.area-review .section-inner {
  width: min(940px, calc(100% - 48px));
}

.area-review-card {
  position: relative;
  padding: 34px 40px 38px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.area-review-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 26px;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(216, 123, 31, 0.18);
}

.area-review-card h2 {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--graphite);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.area-review-card .stars {
  margin-bottom: 14px;
  color: var(--orange);
  letter-spacing: 0.18em;
}

.area-review-card .review-text {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}

.area-review-card .sig {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.area-services {
  padding: 42px 0 34px;
  background: #fff;
}

.heading-row--centered {
  justify-content: center;
  text-align: center;
}

.area-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}

.area-service-card {
  min-height: 86px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -28px rgba(0, 0, 0, 0.45);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.area-service-card span {
  font-weight: 700;
  line-height: 1.2;
}

.area-service-card:hover {
  border-color: rgba(216, 123, 31, 0.45);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.inline-photo-break--offset {
  max-width: 680px;
}

.round-brand-mark {
  width: min(230px, 68vw);
  margin: 0 auto 26px;
}

.round-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.page-content > .lead-image {
  margin: 0 0 32px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-content > .lead-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 124px;
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 26px 28px;
  position: relative;
}

.side-card--accent {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.side-card--accent h2,
.side-card--accent h3 { color: #fff; margin: 0 0 12px; font-weight: 500; }

.side-card--accent p { color: rgba(255, 255, 255, 0.92); font-weight: 300; }

.side-card__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}

.side-card .button { width: 100%; margin-top: 14px; }

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

.side-card .stat-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.side-card .stat-list svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }

.side-card--phone a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Work Sans", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.012em;
}

.side-card--phone a:hover { color: var(--orange); }

.side-card--phone svg { width: 22px; height: 22px; }

.answer-capsule {
  background: var(--sand);
  border-left: 4px solid var(--orange);
  padding: 26px 28px;
  margin-bottom: 28px;
}

.answer-capsule h2 { margin: 0 0 10px; color: var(--navy); font-size: 22px; }

/* ===== Section heading ============================================= */

.section-heading {
  color: var(--heading);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.014em;
  text-transform: none;
}

.section-heading + .section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 64ch;
  margin: 0 0 36px;
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.heading-row .text-link { margin-top: 0; }

/* ===== Service grid ================================================ */

.service-grid {
  background: #fff;
}

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

.service-grid .listing-grid .media-card.service-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--navy);
  color: #fff;
}

.service-grid .listing-grid .media-card.service-feature > a { display: block; height: 100%; }
.service-grid .listing-grid .media-card.service-feature > a img { aspect-ratio: 21 / 10; height: 100%; }
.service-grid .listing-grid .media-card.service-feature > div { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.service-grid .listing-grid .media-card.service-feature h3 { color: #fff; font-size: 28px; }
.service-grid .listing-grid .media-card.service-feature h3 a { color: #fff; }
.service-grid .listing-grid .media-card.service-feature p { color: rgba(255, 255, 255, 0.78); font-size: 16px; max-width: 50ch; }
.service-grid .listing-grid .media-card.service-feature .text-link { color: #fff; border-bottom-color: var(--orange); margin-top: 22px; }
.service-grid .listing-grid .media-card.service-feature .text-link:hover { color: var(--orange-soft); }

@media (max-width: 820px) {
  .service-grid .listing-grid .media-card.service-feature { grid-template-columns: 1fr; }
  .service-grid .listing-grid .media-card.service-feature > a img { aspect-ratio: 16 / 10; }
  .service-grid .listing-grid .media-card.service-feature > div { padding: 24px 22px 28px; }
}

/* ===== Cards ======================================================= */

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

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

.listing-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.listing-card:hover {
  border-color: rgba(1, 65, 122, 0.18);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.listing-card h2,
.listing-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.listing-card a { text-decoration: none; }
.listing-card p { margin: 0; color: var(--muted); font-size: 15px; }
.listing-card .text-link { margin-top: 14px; }

.media-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.media-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover > img { transform: scale(1.04); }

.media-card > div {
  padding: 24px 26px 28px;
}

.media-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 22px;
}

.media-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Area card variant — compact, photo strip top */
.area-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.area-card:hover {
  border-color: rgba(1, 65, 122, 0.2);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.area-card__photo {
  aspect-ratio: 16 / 10;
  background: var(--soft) center / cover no-repeat;
  position: relative;
}

.area-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 28, 50, 0.72));
}

.area-card__photo span {
  position: absolute;
  bottom: 14px;
  left: 18px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.area-card__body {
  padding: 20px 22px 24px;
}

.area-card__body p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

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

.area-index-card {
  min-height: 260px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}

.area-index-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.area-index-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 28, 50, 0.04) 20%, rgba(6, 28, 50, 0.82) 100%);
}

.area-index-card span {
  position: relative;
  z-index: 2;
  padding: 0 24px 24px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.area-index-card:hover img { transform: scale(1.04); opacity: 0.95; }

/* Reviews */
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  border-color: rgba(1, 65, 122, 0.2);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 70px;
  color: var(--sand-deep);
  line-height: 1;
}

.review-card .stars { color: var(--orange); font-size: 16px; letter-spacing: 0.2em; }
.review-card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0; }
.review-card h3 { margin: 0; font-size: 17px; }
.review-card h3 a { color: var(--navy); text-decoration: none; }
.review-card h3 a:hover { color: var(--orange-dark); }
.review-card .review-meta {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.review-pull {
  padding: 20px 0 76px;
  background: #fff;
}

.review-pull .section-inner {
  width: min(1040px, calc(100% - 40px));
}

.review-pull-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 42px 36px;
  background:
    linear-gradient(135deg, rgba(1, 65, 122, 0.045), rgba(255, 255, 255, 0) 44%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.review-pull-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 30px;
  font-family: Georgia, serif;
  font-size: 88px;
  color: rgba(216, 121, 29, 0.18);
  line-height: 1;
  pointer-events: none;
}

.review-pull-card__stars {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.review-pull-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-style: normal;
}

.review-pull-card p {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.65;
}

.review-pull-card p:last-child {
  margin-bottom: 0;
}

.review-pull-card__headline {
  margin: 0 0 18px;
  color: var(--navy) !important;
  font-size: clamp(20px, 2vw, 27px) !important;
  font-weight: 600;
  line-height: 1.25 !important;
}

.review-pull-card__sig {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review-pull-card__sig h5 {
  margin: 0;
  color: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.review-pull-card__sig a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Single review page quote */
.review-quote {
  background: #fff;
  border-left: 4px solid var(--orange);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}

.review-quote .stars { color: var(--orange); font-size: 18px; letter-spacing: 0.2em; margin-bottom: 18px; }

.review-quote p strong { color: var(--navy); font-size: 16px; letter-spacing: 0.06em; }

/* ===== FAQ list ==================================================== */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] { border-color: rgba(1, 65, 122, 0.32); box-shadow: var(--shadow-sm); }

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 500;
  padding: 20px 56px 20px 22px;
  font-size: 17px;
  position: relative;
  list-style: none;
  letter-spacing: -0.005em;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  color: var(--orange);
  transition: transform 0.18s ease;
  line-height: 1;
  font-weight: 300;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details > div {
  padding: 4px 22px 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.faq-list details > div p:last-child { margin-bottom: 0; }

/* ===== Gallery ===================================================== */

.media-section { background: #fff; }
.media-section .media-heading { margin-bottom: 36px; }

.media-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.media-heading h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.media-heading p { margin: 0; color: var(--muted); font-size: 16px; }

.album-overview {
  padding: 80px 0 56px;
  background: #fff;
}

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

.album-card {
  display: grid;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--graphite);
  transition: transform 0.25s ease;
}

.album-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.4s ease, opacity 0.25s ease;
}

.album-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0) 100%);
}

.album-card span,
.album-card strong {
  position: relative;
  z-index: 2;
  margin: 0 24px;
}

.album-card span {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange-soft);
}

.album-card strong {
  display: block;
  margin-top: 6px;
  margin-bottom: 26px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.04;
}

.album-card:hover { transform: translateY(-2px); }
.album-card:hover img { opacity: 0.95; transform: scale(1.04); }

.index-callout {
  max-width: 760px;
  margin: 46px auto 0;
  padding: 34px 38px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.index-callout h2 {
  margin-bottom: 12px;
  color: var(--navy);
}

.index-callout p {
  margin: 0 auto 18px;
  max-width: 620px;
  color: var(--ink-2);
}

.album-section { scroll-margin-top: 130px; padding: 80px 0; }
.album-section.soft-section { background: var(--soft); }

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

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

/* Album galleries preserve each photo's real aspect ratio. Do not crop project photos. */
.album-section .gallery-grid,
.album-section .gallery-grid-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: auto;
  align-items: start;
  gap: 34px;
}

.album-section .gallery-grid-feature .gallery-tile,
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+1),
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+2),
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+3),
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+4),
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+5),
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+6),
.album-section .gallery-grid-feature .gallery-tile:nth-child(7n+7) {
  grid-column: auto;
  grid-row: auto;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  min-height: 240px;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-tile:hover img { transform: scale(1.05); }

.album-section .gallery-tile {
  overflow: visible;
  background: transparent;
  min-height: 0;
}

.album-section .gallery-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition: none;
}

.album-section .gallery-tile:hover img { transform: none; }

.album-section .gallery-caption {
  position: static;
  opacity: 1;
  transform: none;
  background: transparent;
  color: var(--ink);
  padding: 10px 0 0;
}

.album-section .gallery-caption strong { color: var(--navy); }
.album-section .gallery-caption span { color: var(--muted); }

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 18px 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 100%);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-tile:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-caption strong, .gallery-caption span { display: block; }
.gallery-caption strong { font-family: "Barlow Condensed", sans-serif; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.gallery-caption span { margin-top: 3px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.86); }

.inline-cta {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* ===== CTA bands ==================================================== */

.album-cta,
.cta-band {
  background:
    linear-gradient(98deg, rgba(6, 28, 50, 0.94) 0%, rgba(6, 28, 50, 0.72) 60%, rgba(6, 28, 50, 0.4) 100%),
    var(--navy-deep);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-band--photo {
  background:
    linear-gradient(98deg, rgba(6, 28, 50, 0.92) 0%, rgba(6, 28, 50, 0.62) 60%, rgba(6, 28, 50, 0.32) 100%),
    var(--cta-image, var(--navy-deep)) center / cover no-repeat;
}

.album-cta .section-inner,
.cta-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.album-cta h2, .cta-band h2 { color: #fff; margin: 0 0 8px; text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.album-cta p, .cta-band p { color: rgba(241, 246, 252, 0.88); margin: 0; max-width: 64ch; }
.album-cta .eyebrow, .cta-band .eyebrow { color: var(--orange-soft); }

/* ===== Agent panel ================================================= */

.agent-panel {
  background: var(--navy-deep);
  color: #fff;
  padding: 80px 0;
}

.agent-panel h2 { color: #fff; }

.agent-panel .split { gap: 48px; align-items: center; }

.agent-console {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: #d8e7f8;
  line-height: 1.6;
}

.agent-console pre { margin: 0; white-space: pre-wrap; }

.agent-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
}

.agent-intake-copy { border-left: 4px solid var(--orange); padding-left: 24px; }
.agent-intake-copy h2 { color: var(--navy); margin-top: 0; }
.agent-intake-copy p { color: var(--ink-2); }

.check-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; padding-left: 28px; position: relative; color: var(--ink-2); font-size: 15px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-weight: 700;
}

.agent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.agent-links a {
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.18s ease;
}

.agent-links a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.agent-intake-card { max-width: none; margin: 0; }

.agent-attestation {
  border: 1px solid var(--line);
  background: var(--sand);
  padding: 18px 20px;
}

.agent-attestation label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.agent-attestation label:last-child { margin-bottom: 0; }

.agent-attestation input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

/* ===== Blog/listing ================================================ */

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

.blog-index-section {
  padding-top: 28px;
}

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

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-card:hover { border-color: rgba(1, 65, 122, 0.24); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.blog-card h2 { color: var(--navy); margin: 0 0 12px; font-size: 26px; }
.blog-card h2 a { text-decoration: none; }
.blog-card p { color: var(--muted); margin: 0 0 18px; }
.blog-card .text-link { margin-top: auto; }

.blog-card--photo {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}

.blog-card__photo {
  display: block;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 4 / 3;
}

.blog-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.blog-card--photo:hover .blog-card__photo img {
  transform: scale(1.03);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.blog-card--photo h2 {
  margin-bottom: 14px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.08;
}

/* ===== Service catalog (commerce-style) ============================ */

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

/* ===== Footer (matches live cityseamless.com) ======================= */

.page-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 0;
  font-size: 15px;
}

.page-footer .section-inner { padding: 155px 0 24px; }

.footer-cta {
  text-align: center;
  padding-bottom: 48px;
}

.footer-cta h2 {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 22px;
}

.page-footer hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin: 0 0 40px;
}

.footer-menus {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-address { grid-column: span 1; }
.footer-address p { color: rgba(255, 255, 255, 0.92); font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.footer-address strong { color: #fff; font-size: 16px; }
.footer-address a { color: var(--orange); text-decoration: none; font-weight: 500; }
.footer-address a:hover { color: var(--orange-soft); }

.footer-menu { grid-column: span 1; }
.footer-menu .nav-head { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; margin: 0 0 14px; text-transform: uppercase; }
.footer-menu .sub-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-menu .sub-nav a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 14px; transition: color 0.15s ease; }
.footer-menu .sub-nav a:hover { color: var(--orange-soft); }

.footer-license { grid-column: span 1; }
.footer-license p { color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.55; margin: 0; }

.alliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.alliance-badge:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.alliance-badge__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 26px;
  background: var(--orange);
  color: #fff;
  letter-spacing: 0;
  font-size: 14px;
}

.alliance-badge__text { color: rgba(255, 255, 255, 0.9); }

.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.footer-copyright a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-copyright a:hover { color: #fff; }

.footer-built-by {
  margin-top: 8px;
}

/* ===== Utilities =================================================== */

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.92em;
  color: var(--navy);
}

.route-alert {
  border-left: 4px solid var(--orange);
  background: var(--sand);
  padding: 16px 20px;
  margin-bottom: 24px;
  color: var(--ink-2);
}

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { border: 1px solid var(--line); background: #fff; }
.video-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
}
.video-thumb--photo {
  display: block;
  background: #111;
  overflow: hidden;
}
.video-thumb--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card div:last-child { padding: 22px; }
.video-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; }

/* ===== Lower contextual links ===================================== */

.service-tabs {
  background: #f4f4f2;
  padding: 70px 0;
}

.service-tabs .section-inner {
  display: grid;
  gap: 24px;
}

.tab-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.tab-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tab-nav a:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.tab-content {
  display: grid;
  gap: 24px;
}

.tab-pane {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  box-shadow: 0 18px 42px -32px rgba(0, 0, 0, 0.32);
}

.tab-pane .standalone-estimate {
  margin-top: 28px;
  padding: 0;
  background: transparent;
}

.tab-pane .standalone-estimate .section-inner {
  width: 100%;
  padding: 0;
}

.tab-pane .round-brand-mark {
  display: none;
}

.tab-pane .estimate-form-card {
  box-shadow: none;
  border-color: var(--line);
}

.tab-pane .service-area-image {
  margin-top: 24px;
}

.tab-pane .service-area-image img {
  width: min(520px, 100%);
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

.reviews-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

.reviews-info {
  border-left: 3px solid var(--orange);
  padding-left: 22px;
}

.reviews-info .stars {
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.reviews-info .sig {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
}

.area-sub-menu {
  background: #f4f4f2;
  padding: 52px 0;
}

.area-sub-menu .section-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
}

.area-sub-menu__intro .eyebrow {
  margin-bottom: 10px;
}

.area-sub-menu__intro h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: 0;
}

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

.sub-menu-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 14px 32px -26px rgba(0, 0, 0, 0.3);
}

.sub-menu-grid a:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-1px);
}

/* ===== Responsive ================================================== */

@media (max-width: 1024px) {
  .agent-form-layout { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; gap: 40px; }
  .page-sidebar { position: static; }
  .inline-brand-mark {
    float: none;
    width: min(300px, 80vw);
    margin: 0 auto 34px;
  }
  .long-copy-flow > *:not(.inline-brand-mark):not(.inline-photo-break) {
    max-width: none;
  }
  .inline-photo-break,
  .inline-photo-break--offset {
    max-width: none;
    margin-left: 0;
  }
  .footer-menus { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-address, .footer-license { grid-column: span 3; }
  .home-areas__layout, .learn-more__inner, .about-blue__layout { grid-template-columns: 1fr; gap: 32px; }
  .learn-more__content { padding: 40px 28px; max-width: none; }
  .learn-more__photo { display: none; }
  .projects-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area-sub-menu .section-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sub-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-row { grid-template-columns: 1fr; }
  .reviews-info {
    border-left: 0;
    border-top: 3px solid var(--orange);
    padding-left: 0;
    padding-top: 18px;
  }
  .gallery-grid-feature { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gallery-grid-feature .gallery-tile:nth-child(7n+1) { grid-column: span 4; grid-row: span 2; }
  .gallery-grid-feature .gallery-tile:nth-child(7n+2),
  .gallery-grid-feature .gallery-tile:nth-child(7n+3) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid-feature .gallery-tile:nth-child(7n+4),
  .gallery-grid-feature .gallery-tile:nth-child(7n+5),
  .gallery-grid-feature .gallery-tile:nth-child(7n+6) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid-feature .gallery-tile:nth-child(7n+7) { grid-column: span 4; grid-row: span 1; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }

  section { padding: 64px 0; }
  .service-main,
  .designed-page-section {
    padding: 44px 0 60px;
  }

  .topbar-marks { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .topbar-question { display: none; }

  .nav-inner { min-height: 76px; }
  .logo img { width: 178px; }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
  }

  .menu a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .menu a:not(.button)::after { display: none; }
  .menu a.button { margin-top: 14px; justify-content: center; }

  .menu.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav { position: relative; }

  .home-masthead { min-height: 460px; }
  .masthead-content { padding: 60px 0 80px; }
  .masthead-content h1 { font-size: 38px; }
  .masthead-content h2 { font-size: 18px; }

  .estimate-form-section { margin-top: 0; padding: 36px 0 32px; }
  .estimate-form-card { padding: 28px 22px; }
  .estimate-form h2 { font-size: 24px; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .form-grid-human { grid-template-columns: 1fr; }
  .estimate-form__footer { grid-template-columns: 1fr; }
  .estimate-form__footer input[type="submit"] { width: 100%; }

  .home-areas, .about-blue, .services-products, .see-for-yourself, .home-tips { padding: 50px 0; }
  .about-blue__image { display: none; }
  .services-products__intro p { font-size: 14px; }
  .services-products__grid { grid-template-columns: 1fr; gap: 16px; }
  .home-tips__grid { grid-template-columns: 1fr; gap: 32px; }
  .projects-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-review { padding: 60px 0; }
  .home-review__quote { font-size: 22px; }

  .footer-menus { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-address, .footer-license { grid-column: span 2; }
  .page-footer .section-inner { padding: 48px 0 22px; }

  .estimate-card { padding: 32px 22px; }

  .split, .split--wide, .split--lead { grid-template-columns: 1fr; gap: 36px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .button, .form-footer input[type="submit"] { width: 100%; }

  .album-feature-grid,
  .album-cta .section-inner,
  .area-index-grid,
  .cta-band .section-inner,
  .gallery-grid,
  .gallery-grid-wide,
  .video-grid,
  .blog-grid,
  .area-service-grid,
  .project-tile-grid,
  .service-grid .listing-grid,
  .listing-grid,
  .listing-grid.compact-grid,
  .listing-grid.compact-grid--3,
  .footer-top,
  .media-heading,
  .heading-row {
    grid-template-columns: 1fr;
  }

  .album-cta .section-inner,
  .cta-band .section-inner,
  .heading-row { gap: 22px; align-items: flex-start; }

  .footer-brand { grid-column: auto; }

  .page-title { padding: 70px 0 64px; }
  .page-title h1 { font-size: 38px; }

  .gallery-grid-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }
  .gallery-grid-feature .gallery-tile,
  .gallery-grid-feature .gallery-tile:nth-child(7n+1),
  .gallery-grid-feature .gallery-tile:nth-child(7n+2),
  .gallery-grid-feature .gallery-tile:nth-child(7n+3),
  .gallery-grid-feature .gallery-tile:nth-child(7n+4),
  .gallery-grid-feature .gallery-tile:nth-child(7n+5),
  .gallery-grid-feature .gallery-tile:nth-child(7n+6),
  .gallery-grid-feature .gallery-tile:nth-child(7n+7) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-caption { opacity: 1; transform: none; }
  .area-review-card { padding: 28px 24px 30px; }
  .area-review-card .review-text { font-size: 16px; }
  .tab-pane { padding: 26px 20px; }
  .tab-nav { justify-content: stretch; }
  .tab-nav li { flex: 1 1 100%; }
  .tab-nav a { justify-content: center; width: 100%; }
}

@media (max-width: 540px) {
  .masthead-content h1 { font-size: 32px; }
  .masthead-content h2 { font-size: 16px; }
  .estimate-card { padding: 26px 18px; }
  .estimate-card__lede h2 { font-size: 26px; }
  .review-quote { padding: 26px 22px; font-size: 17px; }
  .page-title { padding: 56px 0 48px; }
  .page-title h1 { font-size: 32px; }
  .album-card { min-height: 260px; }
  .album-card strong { font-size: 22px; }
  .index-callout { padding: 28px 22px; }
  .side-card { padding: 24px 22px; }
  .side-card--phone a { font-size: 26px; }
  .sub-menu-grid { grid-template-columns: 1fr; }
}
