.group-header {
  position: relative;
  z-index: 10;
  color: #f2f7ff;
  background: #081321;
  border-bottom: 1px solid #273c54;
}
.group-bar {
  width: min(1320px, 100% - 64px);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.group-brand {
  display: inline-flex;
  justify-self: start;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.group-brand img { flex: none; object-fit: contain; }
.group-brand strong { display: block; font: 800 29px/.85 "Barlow Condensed", sans-serif; letter-spacing: .07em; }
.group-brand small { display: block; margin-top: 6px; color: #b9c8dc; font: 750 8px/1 Inter, sans-serif; letter-spacing: .17em; }
.group-nav, .group-tools { display: flex; align-items: center; }
.group-nav { gap: clamp(14px, 2.6vw, 34px); }
.group-tools { justify-self: end; gap: 10px; }
.group-disclosure { position: relative; }
.group-nav > a, .group-disclosure > summary {
  display: flex;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #dbe7f7;
  font: 700 14px/1.2 Inter, sans-serif;
  white-space: nowrap;
}
.group-disclosure > summary { list-style: none; cursor: pointer; }
.group-disclosure > summary::-webkit-details-marker { display: none; }
.group-nav > a:hover, .group-nav [aria-current], .group-disclosure > summary:hover,
.group-disclosure[open] > summary { color: #93c5ff; }
.group-chevron { width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.group-disclosure[open] .group-chevron { transform: translateY(2px) rotate(225deg); }
.group-menu-icon { display: block; width: 16px; height: 10px; border-block: 2px solid currentColor; }
.group-popover {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  width: min(232px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid #36506e;
  border-radius: 6px;
  background: #111f32;
  box-shadow: 0 12px 28px #01051099;
}
.utility-menu .group-popover { inset-inline: auto 0; }
.group-popover a { display: flex; align-items: center; min-height: 44px; padding: 7px 12px; border-radius: 4px; color: #e2edf9; text-decoration: none; font: 650 13px/1.3 Inter, sans-serif; }
.group-popover a:hover, .group-popover a:focus-visible { color: white; background: #253e5c; }
.group-header :focus-visible { outline: 2px solid #9accff; outline-offset: 3px; }
.mockup-note { background: #20354c; color: #e0ecfa; text-align: center; padding: 8px 16px; font: 600 12px/1.4 Inter, sans-serif; }

.renovation-hero-image {
  position: absolute;
  inset: 0 0 0 35%;
  background: url("assets/addition-completed.webp") center 53% / cover no-repeat;
}
.project-directory { padding-block: clamp(28px, 5vw, 54px); border-bottom: 1px solid var(--line); }
.project-directory h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.project-directory nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.project-directory a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); color: var(--blue); text-decoration: none; font-weight: 700; }
.project-directory a:hover { background: var(--navy); }
.renovation-project {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  padding-block: clamp(28px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.renovation-project-copy h2 { margin: 0 0 14px; font-size: clamp(2.1rem, 4vw, 3.65rem); }
.renovation-project-copy .inline { margin-top: 10px; }
.renovation-gallery { min-width: 0; border: 1px solid var(--line); background: var(--navy); }
.renovation-gallery-media { aspect-ratio: 3 / 2; background: #1a2a3e; }
.renovation-gallery-media img { display: none; width: 100%; height: 100%; object-fit: cover; }
.renovation-gallery-media img.is-current { display: block; }
.renovation-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px 7px 12px; }
.renovation-gallery button:disabled { opacity: .44; cursor: default; background: #16253a; }
.project-intake { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line); }
.project-intake h2 { margin: 8px 0 14px; }
.project-intake form, .project-intake label { display: grid; gap: 10px; }
.project-intake form { gap: 15px; }
.project-intake input, .project-intake select, .project-intake textarea { width: 100%; font: inherit; color: var(--ink); background: var(--navy); border: 1px solid var(--line); border-radius: 4px; padding: 10px; }
.project-intake button { justify-self: start; cursor: pointer; }
@media (max-width: 735px) {
  .group-bar { width: calc(100% - 32px); grid-template-columns: 1fr auto; gap: 2px 10px; min-height: 0; padding: 10px 0 4px; }
  .group-nav { grid-row: 2; grid-column: span 2; justify-content: center; gap: clamp(16px, 7vw, 32px); }
  .group-tools { grid-column: 2; grid-row: 1; }
  .group-nav > a, .group-disclosure > summary { font-size: 13px; }
  .group-nav > :last-child .group-popover { inset-inline: auto 0; }
  .renovation-project, .project-intake { grid-template-columns: 1fr; }
  .renovation-hero-image { position: static; aspect-ratio: 2.05; }
  .renovation-hero::after { display: none; }
}
.renovation-gallery-square { width: min(100%, 610px); justify-self: end; }
.renovation-gallery-square .renovation-gallery-media { aspect-ratio: 1; }

.inquiry-fields { display: grid; align-content: start; gap: 12px; min-width: 0; }
.inquiry-fields form { margin-top: 6px; }
.inquiry-fields [hidden], .inquiry-attachments [hidden] { display: none; }
#inspection-inquiry p { margin: 0 0 12px; }
.inquiry-attachments { display: grid; gap: 8px; min-width: 0; }
.inquiry-attachments input { max-width: 100%; }
.inquiry-attachments input::file-selector-button { margin-inline-end: 8px; }
.inquiry-attachments p, .inquiry-attachments ul { margin: 0; font-size: .875rem; overflow-wrap: anywhere; }
.inquiry-attachments ul { padding-inline-start: 1.3rem; }
.portal-page { min-height: 100vh; background: #0c1928; color: #ecf4ff; }
.portal-intro { width: min(720px, 100% - 40px); margin-inline: auto; padding-block: clamp(64px, 12vw, 144px); }
.portal-intro h1 { margin: .25em 0; font-size: clamp(3rem, 10vw, 6rem); }
.portal-intro p { max-width: 52ch; }
.portal-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.portal-access { padding: clamp(16px, 3vw, 24px); border: 1px solid #304b68; background: #13263c; }
.portal-access h2 { margin-bottom: 8px; font-size: clamp(1.85rem, 5vw, 2.4rem); }
.portal-access p { color: #d5e4f6; }
.portal-login { margin-top: 18px; }
.portal-sample { display: inline-block; margin-top: 14px; color: #a9d1ff; }
@media (max-width: 580px) {
  .portal-access-grid { grid-template-columns: 1fr; }
}
.portal-login summary { list-style: none; width: fit-content; cursor: pointer; }
.portal-login summary::-webkit-details-marker { display: none; }
.portal-login p { margin-top: 12px; }
.portal-back { display: inline-block; margin-top: 18px; color: inherit; }
