.inner-hero {
  position: relative;
  margin-top: 0;
}

.inner-hero.page-top-spacing {
  padding-top: 0;
  margin-top: 0;
}

.inner-hero__panel {
  min-height: clamp(160px, 24vw, 280px);
  border-radius: 0 0 34px 34px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 -32px 56px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   ABOUT HERO IMAGE FIX
   Requires PHP hero markup:
   <section class="inner-hero inner-hero--about page-top-spacing">
     <div class="inner-hero__panel inner-hero__panel--image">
       <img class="inner-hero__image" ...>
     </div>
   </section>
   ========================================================= */

.inner-hero--about,
.inner-hero--about.page-top-spacing {
  display: block !important;
  width: min(100% - 40px, 1480px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.inner-hero--about .inner-hero__panel,
.inner-hero--about .inner-hero__panel--image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 0 34px 34px !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12) !important;
}

.inner-hero--about .inner-hero__image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 0 0 34px 34px !important;
}

.about-section {
  margin-top: 28px;
}

.about-section--hero-copy {
  margin-top: 18px !important;
  position: relative;
  z-index: 2;
}

.about-hero-copy {
  padding: 34px;
  border-radius: 34px;
  background: rgba(244, 241, 234, 0.96);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.about-hero-copy h1 {
  margin: 0 0 12px;
  color: #24351d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 0.94;
}

.about-hero-copy p {
  margin: 0;
  max-width: 58ch;
  color: #4f5a53;
  font-size: 1.04rem;
  line-height: 1.7;
}

.about-section__content,
.about-copy-card {
  padding: 34px;
  border-radius: 28px;
  background: rgba(244, 241, 234, 0.96);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.about-section__content--logo-bg {
  position: relative;
  overflow: hidden;
}

.about-section__heading {
  margin-bottom: 18px;
}

.about-section__heading--tight {
  margin-bottom: 14px;
}

.about-section__heading h2 {
  margin: 0;
  color: #24351d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 700;
  line-height: 0.95;
}

.about-section__content p,
.about-copy-card p,
.about-feature__content p {
  margin: 0;
  color: #2d372f;
  font-size: 1rem;
  line-height: 1.8;
}

.about-section__content p + p,
.about-copy-card p + p,
.about-feature__content p + p {
  margin-top: 14px;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.about-feature__media,
.about-feature__content {
  margin: 0;
  border-radius: 28px;
  background: rgba(244, 241, 234, 0.96);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.about-feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-feature__media figcaption {
  padding: 14px 18px 18px;
  color: #59645d;
  font-size: 0.94rem;
  line-height: 1.5;
}

.about-feature__content {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.about-build-carousel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(244, 241, 234, 0.96);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.about-build-carousel__hero {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}

.about-build-carousel__hero-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.about-build-carousel__hero-button::after {
  content: "Click to enlarge";
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(18, 24, 20, 0.72);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  color: #f4f1ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.about-build-carousel__hero-button img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}

.about-build-carousel__hero:hover .about-build-carousel__hero-button img,
.about-build-carousel__hero:focus-within .about-build-carousel__hero-button img {
  transform: scale(1.02);
}

.about-build-carousel__rail-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.about-build-carousel__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(36, 53, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #24351d;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-build-carousel__nav:hover,
.about-build-carousel__nav:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.1);
}

.about-build-carousel__rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 53, 29, 0.35) rgba(36, 53, 29, 0.08);
}

.about-build-carousel__rail::-webkit-scrollbar {
  height: 10px;
}

.about-build-carousel__rail::-webkit-scrollbar-track {
  background: rgba(36, 53, 29, 0.08);
  border-radius: 999px;
}

.about-build-carousel__rail::-webkit-scrollbar-thumb {
  background: rgba(36, 53, 29, 0.35);
  border-radius: 999px;
}

.about-build-carousel__rail::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 53, 29, 0.5);
}

.about-build-carousel__thumb {
  position: relative;
  flex: 0 0 170px;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(36, 53, 29, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.about-build-carousel__thumb:hover,
.about-build-carousel__thumb:focus-visible,
.about-build-carousel__thumb.is-active {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.09);
  border-color: rgba(48, 71, 35, 0.28);
}

.about-build-carousel__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-build-lightbox[hidden] {
  display: none !important;
}

.about-build-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.about-build-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 14, 12, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.about-build-lightbox__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(92vw, 1100px);
  max-width: 92vw;
  max-height: 88vh;
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: rgba(244, 241, 234, 0.98);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.about-build-lightbox__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #24351d;
  color: #f4f1ea;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.about-build-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(88vh - 64px);
  object-fit: contain;
  border-radius: 16px;
  background: #e8e3da;
}

html.is-about-build-lightbox-open,
body.is-about-build-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .inner-hero--about,
  .inner-hero--about.page-top-spacing {
    width: min(100% - 28px, 980px) !important;
  }

  .inner-hero--about .inner-hero__panel,
  .inner-hero--about .inner-hero__panel--image,
  .inner-hero--about .inner-hero__image {
    border-radius: 0 0 28px 28px !important;
  }
}

@media (max-width: 980px) {
  .about-feature,
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-section--hero-copy {
    margin-top: 18px !important;
  }
}

@media (max-width: 768px) {
  .inner-hero__panel {
    min-height: clamp(130px, 38vw, 220px);
    border-radius: 0 0 26px 26px;
  }

  .inner-hero--about,
  .inner-hero--about.page-top-spacing {
    width: min(100% - 18px, 720px) !important;
  }

  .inner-hero--about .inner-hero__panel,
  .inner-hero--about .inner-hero__panel--image {
    min-height: 0 !important;
  }

  .inner-hero--about .inner-hero__panel,
  .inner-hero--about .inner-hero__panel--image,
  .inner-hero--about .inner-hero__image {
    border-radius: 0 0 24px 24px !important;
  }

  .about-section {
    margin-top: 22px;
  }

  .about-hero-copy,
  .about-section__content,
  .about-copy-card,
  .about-feature__content,
  .about-build-carousel {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .about-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .about-section__heading h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .about-feature {
    gap: 20px;
  }

  .about-feature__media,
  .about-feature__content {
    border-radius: 24px;
  }

  .about-build-carousel__rail-wrap {
    grid-template-columns: 1fr;
  }

  .about-build-carousel__nav {
    display: none;
  }

  .about-build-carousel__thumb {
    flex-basis: 132px;
  }

  .about-build-carousel__hero-button::after {
    right: 10px;
    bottom: 10px;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
  }

  .about-build-lightbox__dialog {
    width: min(94vw, 1100px);
    max-height: 86vh;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .inner-hero--about,
  .inner-hero--about.page-top-spacing {
    width: 100% !important;
  }

  .inner-hero--about .inner-hero__panel,
  .inner-hero--about .inner-hero__panel--image,
  .inner-hero--about .inner-hero__image {
    border-radius: 0 0 20px 20px !important;
  }

  .about-hero-copy,
  .about-section__content,
  .about-copy-card,
  .about-feature__content,
  .about-build-carousel {
    padding: 22px 18px;
  }

  .about-feature__media img {
    aspect-ratio: 4 / 3;
  }

  .about-build-carousel__hero-button img {
    aspect-ratio: 4 / 3;
  }

  .about-build-carousel__thumb {
    flex-basis: 116px;
  }
}