/* =============================================================
   Highland Cabinetry — About Us page
   Loaded only on template-about.php (is_page_template check in
   functions.php). Design tokens/typography/section spacing come from
   global.css; this file is the page-specific layout only.
   ============================================================= */

/* ─── Hero ─────────────────────────────────────────────────────
   Full-bleed background photo with a dark green overlay, text left.
   Same scrim/gradient approach as .hc-gallery-hero. */
.hc-about-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 130% at 12% 0%, color-mix(in srgb, var(--hc-dark) 80%, var(--hc-white)) 0%, var(--hc-dark) 52%, var(--hc-dark2) 100%);
  overflow: hidden;
}
.hc-about-hero--has-img {
  background-image: var(--hc-about-hero-img);
  background-size: cover;
  background-position: center;
}
.hc-about-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--hc-dark) 92%, transparent) 0%,
    color-mix(in srgb, var(--hc-dark) 72%, transparent) 45%,
    color-mix(in srgb, var(--hc-dark2) 30%, transparent) 100%);
}
.hc-about-hero__inner {
  position: relative;
  padding: 72px 0;
}
.hc-about-hero .sec-label {
  color: var(--hc-accent);
}
.hc-about-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3rem);
  font-weight: 500;
  color: var(--hc-white);
  line-height: 1.15;
  margin: 12px 0 18px;
}
.hc-about-hero__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-hero__lede {
  font-size: var(--hc-text-lg);
  line-height: 1.7;
  color: color-mix(in srgb, var(--hc-white) 80%, transparent);
  max-width: 46ch;
  margin: 0;
}

/* ─── Frosted stats overlaid on a photo ────────────────────────
   "Since 2004" gets one frosted panel with the stats side by side;
   "Why Highland" adds .hc-frost-stats--split for separate tiles.
   The photo goes in a .hc-frost-media__img child so the stats can
   be positioned absolute over its bottom edge. */
.hc-frost-media {
  position: relative;
  margin: 0;
}
.hc-frost-media__img {
  border-radius: var(--hc-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--hc-warm);
}
.hc-frost-media__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-frost-stats {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: 0;
  padding: 18px 8px;
  border-radius: var(--hc-r);
  background: color-mix(in srgb, var(--hc-dark2) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-white) 18%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--hc-white);
}
.hc-frost-stat {
  padding: 0 12px;
  text-align: center;
}
.hc-frost-stat + .hc-frost-stat {
  border-left: 1px solid color-mix(in srgb, var(--hc-white) 14%, transparent);
}

/* Split variant — each stat is its own frosted tile. */
.hc-frost-stats--split {
  background: none;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  gap: 10px;
}
.hc-frost-stats--split .hc-frost-stat {
  padding: 16px 12px;
  border-radius: var(--hc-r);
  background: color-mix(in srgb, var(--hc-dark2) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-white) 18%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hc-frost-stats--split .hc-frost-stat + .hc-frost-stat {
  border-left: 1px solid color-mix(in srgb, var(--hc-white) 18%, transparent);
}

.hc-frost-stat b {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.1;
}
.hc-frost-stat small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--hc-white) 74%, transparent);
}
@media (max-width: 575.98px) {
  .hc-frost-stats {
    position: static;
    margin-top: 12px;
    background: color-mix(in srgb, var(--hc-dark2) 88%, transparent);
  }
  .hc-frost-stats--split {
    background: none;
  }
  .hc-frost-stats--split .hc-frost-stat {
    background: color-mix(in srgb, var(--hc-dark2) 88%, transparent);
  }
}

/* ─── Company intro + milestones ───────────────────────────── */
.hc-about-intro__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, var(--hc-warm) 0%, var(--hc-border) 100%);
}
.hc-about-intro__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--hc-heading);
  line-height: 1.25;
  margin: 10px 0 20px;
}
.hc-about-intro__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-intro__body {
  font-size: var(--hc-text-md);
  line-height: 1.75;
  color: var(--hc-body);
  margin: 0 0 28px;
}
.hc-about-milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--hc-border);
}
.hc-about-milestones li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 0 20px 24px;
}
.hc-about-milestones li:last-child {
  padding-bottom: 0;
}
.hc-about-milestones li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-accent);
}
.hc-about-milestones__year {
  flex: 0 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--hc-text-md);
  font-weight: 600;
  color: var(--hc-heading);
  min-width: 3.5ch;
}
.hc-about-milestones__desc {
  font-size: var(--hc-text-sm);
  color: var(--hc-body);
}

/* ─── Our beliefs (dark band) ──────────────────────────────── */
.hc-about-beliefs {
  background: linear-gradient(160deg, var(--hc-dark) 0%, var(--hc-dark2) 100%);
}
.hc-about-beliefs__label {
  color: var(--hc-accent);
}
.hc-about-beliefs__title {
  color: var(--hc-white);
}
.hc-about-beliefs__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-belief {
  height: 100%;
  padding: 24px;
  border-radius: var(--hc-r-lg);
  background: color-mix(in srgb, var(--hc-white) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-white) 12%, transparent);
}
.hc-about-belief__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--hc-r);
  background: color-mix(in srgb, var(--hc-white) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-white) 14%, transparent);
  color: var(--hc-accent);
  margin-bottom: 18px;
}
.hc-about-belief__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--hc-white);
  margin: 0 0 10px;
}
.hc-about-belief__desc {
  font-size: var(--hc-text-sm);
  line-height: 1.6;
  color: color-mix(in srgb, var(--hc-white) 78%, transparent);
  margin: 0;
}

/* ─── Manufacturing ─────────────────────────────────────────── */
.hc-about-mfg__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, var(--hc-border) 0%, var(--hc-warm) 100%);
}
.hc-about-mfg__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--hc-heading);
  margin: 10px 0 28px;
}
.hc-about-mfg__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-mfg__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hc-about-mfg__list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--hc-border);
}
.hc-about-mfg__list li:first-child {
  padding-top: 0;
  border-top: none;
}
.hc-about-mfg__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--hc-r);
  background: var(--hc-warm);
  border: 1px solid var(--hc-border);
  color: var(--hc-accent);
}
.hc-about-mfg__list h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--hc-heading);
  margin: 0 0 6px;
}
.hc-about-mfg__list p {
  font-size: var(--hc-text-sm);
  line-height: 1.6;
  color: var(--hc-muted);
  margin: 0;
}

/* ─── Process (dark band) ──────────────────────────────────── */
.hc-about-process {
  background: linear-gradient(160deg, var(--hc-dark) 0%, var(--hc-dark2) 100%);
}
.hc-about-process__label {
  color: var(--hc-accent);
}
.hc-about-process__title {
  color: var(--hc-white);
}
.hc-about-process__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-process__tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0 0 40px;
  padding: 0 0 16px;
  list-style: none;
  border-bottom: 1px solid color-mix(in srgb, var(--hc-white) 15%, transparent);
  flex-wrap: wrap;
}
.hc-about-process__tab {
  position: relative;
  padding-bottom: 16px;
  font-size: var(--hc-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--hc-white) 45%, transparent);
}
.hc-about-process__tab--active {
  color: var(--hc-accent);
}
.hc-about-process__tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: var(--hc-accent);
}
.hc-about-process__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.hc-about-process__item {
  padding: 0 8px;
}
.hc-about-process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--hc-white) 22%, transparent);
  color: color-mix(in srgb, var(--hc-white) 82%, transparent);
  margin: 0 0 18px;
}
.hc-about-process__item--active .hc-about-process__icon {
  border-color: var(--hc-accent);
  color: var(--hc-accent);
}
.hc-about-process__item--active h3 {
  color: var(--hc-accent);
}
.hc-about-process__item h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--hc-white);
  margin: 0 0 8px;
}
.hc-about-process__item p {
  font-size: var(--hc-text-xs);
  line-height: 1.6;
  color: color-mix(in srgb, var(--hc-white) 72%, transparent);
  margin: 0;
}

/* ─── Meet the experts ─────────────────────────────────────── */
.hc-about-team__card {
  text-align: left;
}
.hc-about-team__photo {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--hc-r-lg);
  overflow: hidden;
  background: var(--hc-warm);
  margin: 0 0 16px;
}
.hc-about-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-about-team__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hc-heading);
  margin: 0 0 2px;
}
.hc-about-team__role {
  font-size: var(--hc-text-xs);
  font-weight: 600;
  color: var(--hc-accent-text);
  margin: 0;
}
.hc-about-team__meta {
  font-size: var(--hc-text-xs);
  color: var(--hc-muted);
  margin: 4px 0 0;
}

/* ─── Precision & care ─────────────────────────────────────── */
.hc-about-precision {
  background: var(--hc-warm);
}
.hc-about-precision__frame {
  margin: 0;
  border-radius: var(--hc-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--hc-surface);
}
.hc-about-precision__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-about-precision__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, var(--hc-surface) 0%, var(--hc-border) 100%);
}
.hc-about-precision__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--hc-heading);
  margin: 10px 0 28px;
}
.hc-about-precision__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-precision__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hc-about-precision__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--hc-text-md);
  color: var(--hc-heading);
}
.hc-about-precision__list svg {
  flex-shrink: 0;
  color: var(--hc-accent);
  margin-top: 3px;
}
.hc-about-precision__list strong {
  display: block;
  font-weight: 600;
}
.hc-about-precision__desc {
  display: block;
  font-size: var(--hc-text-sm);
  font-weight: 400;
  color: var(--hc-muted);
  margin-top: 2px;
}

/* ─── Commitments ───────────────────────────────────────────── */
.hc-about-commit__card {
  height: 100%;
  padding: 28px 22px;
  border-radius: var(--hc-r-lg);
  border: 1px solid var(--hc-border);
  background: var(--hc-surface);
  text-align: center;
}
.hc-about-commit__icon {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 16px;
}
.hc-about-commit__card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--hc-heading);
  margin: 0 0 8px;
}
.hc-about-commit__card p {
  font-size: var(--hc-text-sm);
  line-height: 1.6;
  color: var(--hc-muted);
  margin: 0;
}

/* ─── Sustainability (dark band) ───────────────────────────── */
.hc-about-sustain {
  background: linear-gradient(160deg, var(--hc-dark) 0%, var(--hc-dark2) 100%);
}
.hc-about-sustain__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hc-accent);
}
.hc-about-sustain__label svg {
  width: 15px;
  height: 15px;
}
.hc-about-sustain__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--hc-white);
  margin: 12px 0 20px;
}
.hc-about-sustain__title em {
  color: var(--hc-accent);
  font-style: italic;
}
.hc-about-sustain__body {
  font-size: var(--hc-text-md);
  line-height: 1.7;
  color: color-mix(in srgb, var(--hc-white) 78%, transparent);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hc-about-sustain__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
}
.hc-about-sustain__stat {
  padding: 20px;
  border-radius: var(--hc-r-lg);
  background: color-mix(in srgb, var(--hc-white) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-white) 12%, transparent);
}
.hc-about-sustain__stat dt {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  color: var(--hc-white);
  margin: 0 0 6px;
}
.hc-about-sustain__stat dd {
  font-size: var(--hc-text-xs);
  line-height: 1.5;
  color: color-mix(in srgb, var(--hc-white) 70%, transparent);
  margin: 0;
}
.hc-about-sustain__frame {
  margin: 0;
  border-radius: var(--hc-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--hc-white) 8%, transparent);
}
.hc-about-sustain__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-about-sustain__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--hc-white) 8%, transparent);
}

/* Testimonials ("Loved by Homeowners & Professionals") use the shared
   .hc-stories / .hc-story markup and styles from global.css. */

/* ─── Awards & certifications ───────────────────────────────── */
.hc-about-trust {
  background: var(--hc-warm);
}
.hc-about-trust__label {
  display: block;
  text-align: center;
  font-size: var(--hc-text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-muted);
  margin-bottom: 22px;
}
.hc-about-trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hc-about-trust__chip {
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  box-shadow: var(--hc-sh);
  font-size: var(--hc-text-sm);
  font-weight: 600;
  color: var(--hc-heading);
  white-space: nowrap;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.hc-about-faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.hc-about-faq__item {
  border-bottom: 1px solid var(--hc-border);
}
.hc-about-faq__state {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hc-about-faq__q {
  margin: 0;
  font-family: inherit;
  font-size: var(--hc-text-md);
  font-weight: 500;
}
.hc-about-faq__q label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  color: var(--hc-heading);
  cursor: pointer;
}
.hc-about-faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--hc-muted);
  border-bottom: 1.5px solid var(--hc-muted);
  transform: rotate(45deg);
  transition: transform 0.18s;
}
.hc-about-faq__state:checked ~ .hc-about-faq__q .hc-about-faq__chevron {
  transform: rotate(-135deg);
}
.hc-about-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}
.hc-about-faq__a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 4px;
  font-size: var(--hc-text-sm);
  line-height: 1.7;
  color: var(--hc-muted);
}
.hc-about-faq__state:checked ~ .hc-about-faq__a {
  grid-template-rows: 1fr;
}
.hc-about-faq__state:checked ~ .hc-about-faq__a > p {
  padding-bottom: 20px;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hc-about-process__list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }
}

@media (max-width: 767.98px) {
  .hc-about-hero {
    min-height: 340px;
  }
  .hc-about-hero__inner {
    padding: 52px 0;
  }
  .hc-about-process__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-about-sustain__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .hc-about-process__list {
    grid-template-columns: 1fr;
  }
}
