:root {
  --navy: #15263a;
  --navy-mid: #1c3049;
  --navy-deep: #0f1c2b;
  --line: rgba(247, 235, 210, 0.16);
  --cream: #f7ebd2;
  --cream-dim: rgba(247, 235, 210, 0.72);
  --cream-faint: rgba(247, 235, 210, 0.5);
  --gold: #e0b871;
  --gold-btn: #8f6220;
  --gold-ink: #7c5418;
  --paper: #fcfaf6;
  --paper-warm: #f4eee2;
  --rule: #e3daca;
  --slate: #54606e;
  --display: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wrap: min(1100px, 100% - 2rem);
  --pad: clamp(2.25rem, 5vw, 4rem);
}

  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

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

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
  }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--navy);
    font-family: var(--sans);
    font-size: 1.02rem;
    line-height: 1.55;
    overflow-x: hidden;
    padding-bottom: 4.5rem;
  }

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

  a {
    color: inherit;
  }

  h1,
  h2,
  h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(1.65rem, 3.8vw, 2.2rem);
  }

  h3 {
    font-size: 1.08rem;
    font-weight: 600;
  }

  p {
    margin: 0;
    text-wrap: pretty;
  }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: var(--cream);
  padding: 0.8rem 1.2rem;
  z-index: 300;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  min-height: 50px;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.btn-gold {
  background: var(--gold-btn);
  color: #fff;
}
.btn-gold:hover {
  background: #a0702a;
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn-outline:hover {
  background: rgba(247, 235, 210, 0.09);
  border-color: var(--cream);
}
.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover {
  background: var(--navy-mid);
}
.btn-cream {
  background: var(--cream);
  color: var(--navy);
}
.btn-cream:hover {
  background: #fff;
}

.ulink {
  text-decoration: none;
  color: var(--gold-ink);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.ulink:hover {
  border-bottom-color: var(--gold-ink);
}

.header {
  background: var(--navy);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 120;
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
  margin-right: auto;
}
.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
  margin-top: 0.14rem;
}
.nav-desktop {
  display: none;
}
.header-phone {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 0.5rem 0.8rem;
  border-radius: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.header-phone:hover {
  border-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 400px) {
  .header-phone {
    display: none;
  }
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  flex: 0 0 auto;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  background: var(--navy-deep);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s var(--ease);
}
.nav-mobile[data-open="true"] {
  max-height: 30rem;
}
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.9rem;
}
.nav-mobile li {
  border-bottom: 1px solid var(--line);
}
.nav-mobile li:last-child {
  border: 0;
}
.nav-mobile a {
  display: block;
  padding: 0.9rem 0.1rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--cream-dim);
  min-height: 44px;
}
.nav-mobile a:hover,
.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--gold);
}

@media (min-width: 860px) {
  .burger,
  .nav-mobile {
    display: none;
  }
  .nav-desktop {
    display: flex;
    gap: 1.45rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 1.1rem;
  }
  .nav-desktop a {
    text-decoration: none;
    color: var(--cream-dim);
  }
  .nav-desktop a:hover {
    color: var(--gold);
  }
  .brand img {
    width: 50px;
    height: 50px;
  }
  body {
    padding-bottom: 0;
  }
}

.hero {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(1.75rem, 4.5vw, 3.25rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}
.hero h1 {
  font-size: clamp(2.35rem, 8.5vw, 4.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.7rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--cream-dim);
  max-width: 34ch;
  margin-bottom: 1.35rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.hero-actions .btn {
  flex: 1 1 9.5rem;
}
.hero-areas {
  margin: 1.4rem 0 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  list-style: none;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--cream-faint);
}
.hero-more {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}
.hero-more a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
}
.hero-more a:hover {
  text-decoration: underline;
}
.hero-photo {
  margin: 0;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 0.65rem;
  bottom: 0.85rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
}

.section {
  padding: var(--pad) 0;
}
.section-warm {
  background: var(--paper-warm);
}
.head {
  margin-bottom: 1.35rem;
}
.head p {
  margin-top: 0.45rem;
  color: var(--slate);
  font-size: 1rem;
  max-width: 42rem;
}

#services,
#work,
#about,
#why,
#reviews,
#quote {
  scroll-margin-top: 4.75rem;
}

#about {
  padding-bottom: 1.5rem;
}
#why {
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}
#reviews {
  padding-top: 2.25rem;
}

.services {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
.svc {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  padding: 1.05rem 1.05rem 1.1rem;
}
.svc h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.svc p {
  color: var(--slate);
  font-size: 0.9rem;
}
.svc p + p {
  margin-top: 0.7rem;
}
.svc:last-child {
  grid-column: 1 / -1;
}
@media (min-width: 820px) {
  .services {
    grid-template-columns: repeat(6, 1fr);
  }
  .svc {
    grid-column: span 2;
  }
  .svc:nth-child(n + 4) {
    grid-column: span 3;
  }
}

.gallery {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 820px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .g-feature {
    grid-column: span 2;
  }
}
.g-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--navy);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  font: inherit;
  color: inherit;
}
/* display:block above beats the browser default for [hidden], so a tile the
   category filter hides would otherwise stay on screen. */
.g-item[hidden] {
  display: none;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s var(--ease);
}
.g-feature img {
  aspect-ratio: 16 / 10;
}
.g-item:hover img {
  transform: scale(1.04);
}
.g-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.75rem 0.7rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cream);
  background: linear-gradient(to top, rgba(15, 28, 43, 0.88), rgba(15, 28, 43, 0));
}

.work-cta {
  margin-top: 1.5rem;
}

.reasons {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .reasons {
    grid-template-columns: repeat(4, 1fr);
  }
}
.reason {
  border-top: 2px solid var(--gold);
  padding: 0.85rem 0.1rem 0.2rem;
}
.reason h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.reason p {
  color: var(--slate);
  font-size: 0.9rem;
}

.about p + p {
  margin-top: 0.7rem;
}
.about p {
  color: var(--slate);
  max-width: 54ch;
  font-size: 1.02rem;
}

.reviews {
  display: grid;
  gap: 0.7rem;
  align-items: start;
}
@media (min-width: 600px) {
  .reviews {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .reviews {
    grid-template-columns: repeat(4, 1fr);
  }
}
.review {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stars {
  color: var(--gold-ink);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1;
}
.review p {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.review-by {
  margin-top: auto;
  font-family: var(--sans) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--navy);
  padding-top: 0.25rem;
}

.quote {
  background: var(--paper-warm);
}
.quote-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .quote-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.quote-side p {
  color: var(--slate);
  margin-top: 0.55rem;
}
.quote-direct {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-top: 1rem;
}
.quote-direct:hover {
  color: var(--gold-ink);
}
.form {
  display: grid;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.2rem;
}
.field {
  display: grid;
  gap: 0.3rem;
}
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--navy);
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.8rem 0.85rem;
  width: 100%;
  min-height: 48px;
  caret-color: var(--navy);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 184, 113, 0.3);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .row {
    grid-template-columns: 1fr 1fr;
  }
}
.optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #8b94a0;
  font-size: 0.76rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--slate);
}
.form-status {
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 3px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  color: var(--slate);
}
.form-status.is-error {
  background: #fbede9;
  border-color: #e5c0b4;
  color: #8a2e1c;
}
.hp {
  position: absolute;
  left: -9999px;
}

.footer {
  background: var(--navy-deep);
  color: var(--cream-dim);
  padding: 2.25rem 0 1.6rem;
  font-size: 0.92rem;
}
.footer-in {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .footer-in {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer img {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.footer h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
  margin: 0 0 0.65rem;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li {
  margin-bottom: 0.35rem;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--gold);
}
.footer-base {
  border-top: 1px solid var(--line);
  margin-top: 1.6rem;
  padding-top: 1.05rem;
  font-size: 0.78rem;
  color: rgba(247, 235, 210, 0.42);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: space-between;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -2px 18px rgba(21, 38, 58, 0.24);
}
.sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.95rem 0.5rem;
  min-height: 56px;
}
.sticky-call {
  background: var(--navy);
  color: var(--cream);
}
.sticky-quote {
  background: var(--gold-btn);
  color: #fff;
}
@media (min-width: 860px) {
  .sticky {
    display: none;
  }
}

dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: visible;
}
dialog.lightbox::backdrop {
  background: rgba(15, 28, 43, 0.94);
}
.lb-fig {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4rem 1rem 3.25rem;
}
.lb-fig img {
  max-width: min(94vw, 1100px);
  max-height: 76dvh;
  width: auto;
  height: auto;
  border-radius: 3px;
  aspect-ratio: auto;
}
.lb-cap {
  color: var(--cream);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.lb-count {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1rem;
  margin: 0;
  text-align: center;
  color: rgba(247, 235, 210, 0.5);
  font-size: 0.76rem;
}
.lb-close,
.lb-nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(247, 235, 210, 0.14);
  border: 1px solid var(--line);
  color: var(--cream);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.9rem;
  padding-bottom: 0.22em;
}
.lb-prev {
  left: 1rem;
}
.lb-next {
  right: 1rem;
}
@media (max-width: 640px) {
  .lb-nav {
    top: auto;
    bottom: 3.2rem;
    transform: none;
  }
  .lb-fig {
    padding: 3.5rem 0.75rem 6rem;
  }
  .lb-fig img {
    max-height: 66dvh;
  }
}

.intro {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.75rem, 5vw, 3rem) 0 1.5rem;
}
.gallery-sec {
  padding-top: 1.5rem;
}
.intro h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
}
.intro p {
  margin: 0.6rem 0 0;
  color: var(--slate);
  max-width: 40rem;
}
.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1.25rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.filters button {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--rule);
  min-height: 40px;
}
.filters button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.filter-count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate);
}

.portfolio {
  columns: 1;
  column-gap: 0.7rem;
  margin: 0;
}
@media (min-width: 620px) {
  .portfolio {
    columns: 2;
  }
}
@media (min-width: 1000px) {
  .portfolio {
    columns: 3;
  }
}
.portfolio .g-item {
  break-inside: avoid;
  margin: 0 0 0.7rem;
}
.portfolio .g-item img {
  aspect-ratio: auto;
  height: auto;
}

.cta-block {
  text-align: center;
}
.cta-block p {
  color: var(--slate);
  margin: 0.55rem auto 1.2rem;
  max-width: 36ch;
}
.cta-block .hero-actions {
  justify-content: center;
}
.cta-block .ulink {
  display: inline-block;
  margin-top: 0.9rem;
}

.prose {
  max-width: 42rem;
}
.prose h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin-bottom: 0.35rem;
}
.prose .updated {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.prose h2 {
  font-size: 1.2rem;
  margin: 1.6rem 0 0.45rem;
}
.prose p,
.prose li {
  color: var(--slate);
}
.prose p {
  margin: 0 0 0.85rem;
}
.prose ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}
.prose li {
  margin-bottom: 0.3rem;
}

.thanks {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}
.thanks-box {
  max-width: 32rem;
}
.thanks img {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.4rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.thanks .eyebrow {
  justify-content: center;
  color: var(--gold);
}
.thanks h1 {
  margin-bottom: 0.7rem;
}
.thanks p {
  color: var(--cream-dim);
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------------------------------------------------------------
   HERO WITHOUT A PHOTOGRAPH
   The hero image was removed, so the two-column grid had nothing to
   balance against. The hero now centres on its own measure.
   --------------------------------------------------------------- */
.hero-in {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.hero-in .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hero-in .hero-actions {
  justify-content: center;
}
.hero-in .hero-areas {
  justify-content: center;
}
/* Two buttons sharing a narrow row wrap their labels, so on the smallest
   screens each takes a full line instead. */
@media (max-width: 430px) {
  .hero-in .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* A ninth card leaves 10 cells, which divides into neither 3 columns nor 2,
   so the last one would sit alone beside empty cells. Letting it run the full
   width closes the row at both breakpoints. Everything else about the card --
   styling, caption, lightbox -- is unchanged. */
.g-wide {
  grid-column: 1 / -1;
}
.g-wide img {
  aspect-ratio: 2 / 1;
}
@media (min-width: 820px) {
  .g-wide img {
    aspect-ratio: 3 / 1;
  }
}
