/* Hoosier Homes Renovations — white and navy. No framework. */

:root {
  --white: #ffffff;
  --navy: #203050;
  --navy-bright: #2a4a78;
  --navy-deep: #17263f;
  --ink: #1a2438;
  --muted: #3e4d68;
  --line: #d5dce6;
  --line-strong: #b8c4d6;
  --surface: #f7f9fc;
  --wash: #eef2f7;
  --slot: #e6edf6;
  --serif: "Source Serif 4", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.12;
}

a {
  color: inherit;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-bright);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  flex: 0 0 auto;
}

.wordmark img {
  height: 48px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.2rem 0;
}

.primary-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--navy-bright);
}

.primary-nav a:hover {
  color: var(--navy-bright);
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--navy);
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.text-link:hover {
  color: var(--navy-bright);
}

.header-cta {
  flex: 0 0 auto;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(32, 48, 80, 0.06), transparent 28%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 3.5rem;
  align-items: end;
}

h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.15rem);
  max-width: 14ch;
  font-weight: 600;
}

.lede {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 1.75rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem 1.2rem;
}

.hero-panel h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-bright);
  margin-bottom: 0.85rem;
}

.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.town-list li {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.town-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Sections */

.section {
  padding: 3.75rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-head h2,
.page-intro h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.section-note {
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line-strong);
  margin: 0;
}

/* Service cards */

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 1.2rem 1.15rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.service-card:hover {
  border-color: var(--navy-bright);
}

.service-card .index {
  font-family: var(--serif);
  color: var(--navy-bright);
  font-size: 0.95rem;
}

.service-card h3 {
  margin: 0.85rem 0 0.55rem;
  font-size: 1.55rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-card .more {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Process */

.process {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

.steps li {
  padding-top: 0.9rem;
  border-top: 2px solid var(--navy);
}

.steps .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--navy-bright);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.steps p {
  color: var(--muted);
  max-width: 32ch;
}

/* Close band */

.close-band {
  background: var(--navy);
  color: var(--white);
  padding: 3.6rem 0;
}

.close-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  max-width: 16ch;
}

.close-band p {
  margin: 0.85rem 0 1.4rem;
  max-width: 36rem;
  color: #e7edf6;
}

/* Interior pages */

.page-intro {
  padding: 3.4rem 0 1.5rem;
}

.page-intro .lede {
  font-size: 1.12rem;
  color: var(--muted);
}

.service-block {
  padding: 2.1rem 0;
  border-top: 1px solid var(--line-strong);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: start;
}

.service-grid h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.service-grid p {
  font-size: 1.08rem;
  max-width: 46rem;
}

.service-grid .text-link {
  display: inline-block;
  margin-top: 1rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}

form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem 1.4rem 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
  width: 100%;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--navy-bright);
  outline-offset: 1px;
  border-color: var(--navy-bright);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-aside {
  padding-top: 0.2rem;
}

.contact-aside h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.contact-line span:first-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.placeholder-value {
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  background: var(--slot);
  border: 1px dashed var(--navy-bright);
  padding: 0.1rem 0.45rem;
}

.contact-aside h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.25rem;
}

.aside-towns {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}

.aside-towns li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

/* Footer */

.site-footer {
  background: var(--white);
  color: var(--ink);
  padding: 2.2rem 0 1.4rem;
  border-top: 2px solid var(--navy);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.draft-note {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--navy-bright);
}

.footer-base {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.footer-base p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--navy-bright);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .service-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 0.7rem;
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-actions,
  .footer-grid,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Contact strip in the header */

.utility-bar {
  background: var(--navy);
  color: var(--white);
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
}

.utility-bar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.utility-bar a:hover {
  color: #d6e2f5;
}

.hero-reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin-top: 1.15rem;
  font-weight: 600;
}

.hero-reach a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy-bright);
}

.hero-reach a:hover {
  color: var(--navy-bright);
}

.reach-dot {
  color: var(--navy-bright);
}

.contact-line a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--navy-bright);
}

.contact-line a:hover {
  color: var(--navy-bright);
}

@media (max-width: 980px) {
  .utility-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0.4rem 0;
  }
}


/* Social links + Instagram section */

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.social-link:hover {
  color: var(--navy-bright);
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.instagram-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.instagram-section.contact-social {
  margin-top: 0;
  border-bottom: 0;
}

.instagram-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 1.5rem;
  align-items: start;
}

.instagram-cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.3rem;
}

.instagram-handle {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.instagram-copy {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1rem;
}

.instagram-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.facebook-embed-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.85rem 0.85rem 1rem;
}

.embed-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-bright);
}

.embed-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.facebook-embed-wrap iframe {
  width: 100%;
  max-width: 500px;
  display: block;
}

@media (max-width: 980px) {
  .instagram-panel {
    grid-template-columns: 1fr;
  }
}

/* Recent work (home) */

.section-note .text-link {
  display: inline-block;
  margin-top: 0.35rem;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.recent-card {
  display: block;
  text-decoration: none;
  color: var(--navy);
}

.recent-photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--slot);
}

.recent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-card:hover .recent-photo img,
.recent-card:focus-visible .recent-photo img {
  transform: scale(1.03);
}

.recent-card:focus-visible {
  outline: 3px solid var(--navy-bright);
  outline-offset: 3px;
}

.recent-caption {
  display: block;
  padding-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-bright);
}

/* Gallery */

.gallery-section {
  padding-top: 0.5rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

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

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

.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.chip-count {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.7;
}

.gallery-status {
  margin: 0.9rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Fallback layout without JS: an even grid. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.g-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--slot);
}

.gallery-grid:not(.is-masonry) .g-tile {
  aspect-ratio: 3 / 4;
}

.gallery-grid.is-masonry {
  display: block;
  position: relative;
}

.gallery-grid.is-masonry .g-tile {
  position: absolute;
  top: 0;
  left: 0;
}

.g-tile[hidden] {
  display: none;
}

.g-link {
  display: block;
  width: 100%;
  height: 100%;
}

.g-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.g-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
  box-shadow: inset 0 0 0 6px var(--navy);
}

.g-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.75rem 0.6rem;
  background: linear-gradient(to top, rgba(23, 38, 63, 0.85), rgba(23, 38, 63, 0));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.g-tile:hover figcaption,
.g-tile:focus-within figcaption {
  opacity: 1;
  transform: none;
}

.g-tile:hover .g-link img {
  transform: scale(1.03);
}

@media (hover: none) {
  .g-tile figcaption {
    opacity: 1;
    transform: none;
    font-size: 0.78rem;
    padding: 1.2rem 0.55rem 0.45rem;
  }
}

/* Lightbox */

.lb-open,
.lb-open body {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(13, 21, 36, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lb-figure {
  margin: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--navy-deep);
}

.lb-caption {
  color: #e3eaf5;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.lb-btn {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(32, 48, 80, 0.7);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
}

.lb-btn:hover {
  background: var(--navy-bright);
}

.lb-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

@media (max-width: 980px) {
  .gallery-grid,
  .recent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid,
  .recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 4rem 0.5rem 1rem;
  }

  .lb-figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lb-prev {
    grid-row: 2;
    justify-self: end;
  }

  .lb-next {
    grid-row: 2;
    justify-self: start;
  }
}


/* Multi-column footer + sister family cards (aligned with HHRG) */

.footer-grid.four {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 1.75rem 2rem;
  align-items: flex-start;
}

.footer-col h2 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--navy-bright);
}

.footer-base a {
  color: var(--muted);
}

.sister-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sister-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.3rem 1.3rem 1.2rem;
}

.sister-card h3 {
  font-size: 1.5rem;
  margin: 0.4rem 0 0.5rem;
}

.sister-card p {
  color: var(--muted);
}

.sister-card .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

@media (max-width: 980px) {
  .footer-grid.four {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .footer-grid.four,
  .sister-grid {
    grid-template-columns: 1fr;
  }
}

/* About page */
.about-banner { padding: 0.5rem 0 1.5rem; }
.about-banner img, .team-banner {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center 30%;
  border: 1px solid var(--line); background: var(--slot);
}
.team-banner { margin-top: 1.5rem; }
.about-intro > * { max-width: 46rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.2rem; }
.team-card { background: var(--surface); border: 1px solid var(--line); }
.team-card h3 { font-size: 1.3rem; margin: 0; padding: 0.8rem 1rem 1rem; }
.team-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--slot); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card h3:has(+ .role) { padding-bottom: 0.15rem; }
.team-card .role { margin: 0; padding: 0 1rem 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-bright); }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.3rem 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.review-stars { color: var(--navy); letter-spacing: 0.12em; font-size: 1rem; }
.review-card blockquote { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.review-card figcaption { color: var(--muted); font-size: 0.95rem; margin-top: auto; }
.review-card figcaption strong { color: var(--ink); font-weight: 600; }
.review-summary { color: var(--muted); margin-top: 0.6rem; }
@media (max-width: 720px) { .review-grid { grid-template-columns: 1fr; } }

/* Estimate form states */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--navy); background: var(--surface); line-height: 1.5; }
.form-status.ok { border-left-color: #2e7d4f; }
.form-status.err { border-left-color: #b3261e; }
.form-status:focus { outline: 2px solid var(--navy-bright); outline-offset: 2px; }
#estimate-form button[disabled] { opacity: .6; cursor: wait; }
#estimate-form[hidden] { display: none; }
