/* Dedicated About page styles */
body.about-page {
  --bg-page: #252520;
  --bg-page-deep: #181511;
  --section-bridge: #252520;
  --section-warm-1: #2a2620;
  --section-warm-2: #322d25;
  --surface-card: #e9dfcf;
  --text-light: var(--brand-cream);
  --accent-warm: #b88245;
  --accent-warm-hover: #c89458;
  --accent-nav: var(--brand-gold);
  --glow-warm: rgba(184, 130, 69, 0.2);
  color: var(--text-light);
  background:
    radial-gradient(circle at 30% 18%, rgba(200, 164, 107, 0.12), transparent 58%),
    radial-gradient(circle at 76% 12%, rgba(79, 125, 122, 0.06), transparent 42%),
    linear-gradient(180deg, var(--bg-page), var(--bg-page-deep));
}

.about-page-hero {
  min-height: clamp(390px, 48vh, 500px);
  display: grid;
  align-items: end;
  padding-top: clamp(4.8rem, 7vw, 6.4rem);
  padding-bottom: clamp(2rem, 4vw, 3.4rem);
  color: var(--text-light);
  background:
    radial-gradient(circle at 78% 18%, rgba(200, 164, 107, 0.15), transparent 34%),
    radial-gradient(circle at 58% 12%, rgba(143, 168, 155, 0.05), transparent 32%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.94) 0%, rgba(20, 18, 16, 0.82) 44%, rgba(18, 16, 14, 0.5) 72%, rgba(18, 15, 13, 0.34) 100%),
    var(--cms-about-hero-bg, url("../web/qcabouthero.webp")) 50% 50% / cover no-repeat;
}

.about-page-hero-copy {
  width: min(100%, 760px);
}

.about-page-hero-copy h1 {
  max-width: 13ch;
  color: var(--text-light);
  text-shadow: 0 8px 26px rgba(10, 9, 8, 0.42);
}

.about-page-hero-copy p:not(.eyebrow) {
  max-width: 43ch;
  color: #cbbfae;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.6;
}

.about-page-hero .eyebrow,
.about-page .eyebrow {
  color: var(--accent-nav);
}

.about-page-story,
.about-page-artwork,
.about-page-socials,
.about-page-cta {
  color: var(--text-light);
  box-shadow: inset 0 1px 0 rgba(243, 235, 221, 0.05);
}

.about-page-story {
  display: grid;
  width: min(100%, 1240px);
  margin-inline: auto;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3.2vw, 2.8rem);
  align-items: start;
  padding-top: clamp(2.7rem, 5vw, 4.7rem);
  padding-bottom: clamp(2.7rem, 5vw, 4.7rem);
  background: var(--section-bridge);
  box-shadow:
    inset 0 1px 0 rgba(243, 235, 221, 0.05),
    0 0 0 100vmax var(--section-bridge);
  clip-path: inset(0 -100vmax);
}

.about-page-visual {
  display: flex;
  align-self: start;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(3.4rem, 6vw, 4.8rem);
}

.about-page-photo {
  position: relative;
  align-self: center;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(143, 168, 155, 0.18);
  border-radius: 16px;
  background: rgba(243, 235, 221, 0.08);
  box-shadow:
    0 0 0 1px rgba(79, 125, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(10, 9, 8, 0.3);
}

.about-photo-badge {
  position: absolute;
  top: clamp(0.72rem, 1.6vw, 1rem);
  left: clamp(0.72rem, 1.6vw, 1rem);
  width: min(76%, 280px);
  display: grid;
  gap: 0.12rem;
  margin: 0;
  padding: 0.58rem 0.72rem 0.66rem;
  color: #efe2ce;
  background:
    linear-gradient(135deg, rgba(216, 170, 97, 0.08), rgba(143, 168, 155, 0.045)),
    rgba(32, 28, 23, 0.74);
  border: 1px solid rgba(216, 170, 97, 0.22);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(10, 9, 8, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-photo-badge span {
  color: #d8aa61;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.about-photo-badge strong {
  color: #f3ebdd;
  font-size: 0.88rem;
  line-height: 1.2;
}

.about-photo-badge small {
  color: #d8ccb8;
  font-size: 0.76rem;
  line-height: 1.28;
}

.about-page-photo img {
  display: block;
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(0.96) saturate(0.85) sepia(0.08);
}

.about-page-copy {
  max-width: 820px;
}

.about-page-copy > p {
  max-width: 74ch;
  line-height: 1.7;
}

.about-page-copy h2,
.about-page-artwork h2,
.about-page-socials h2,
.about-page-cta h2 {
  color: #f1e6d6;
}

.about-page-copy p,
.about-page-artwork p,
.about-page-socials p,
.about-page-cta p {
  color: #d2c4b2;
}

body.about-page .about-signoff {
  max-width: 74ch;
  margin-top: clamp(1.15rem, 2.3vw, 1.7rem);
  padding-top: clamp(0.9rem, 1.8vw, 1.2rem);
  border-top: 1px solid rgba(243, 235, 221, 0.14);
}

body.about-page .about-signoff p {
  margin: 0 0 0.35rem;
  color: #f3ebdd;
}

body.about-page .annie-signature {
  display: block;
  width: min(180px, 42vw);
  height: auto;
  margin-top: 0.2rem;
  filter: drop-shadow(0 10px 20px rgba(10, 9, 8, 0.24));
}

.about-page-artwork {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(360px, 670px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  justify-content: center;
  padding-top: clamp(3rem, 5vw, 4.8rem);
  padding-bottom: clamp(3rem, 5vw, 4.8rem);
  background: var(--section-warm-2);
}

.about-page-socials {
  padding-top: clamp(2rem, 3vw, 2.6rem);
  padding-bottom: clamp(2rem, 3vw, 2.6rem);
  background: var(--section-warm-1);
}

body.about-page .social-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  gap: clamp(1.1rem, 2.4vw, 1.55rem);
  align-items: center;
}

body.about-page .social-panel {
  display: grid;
  gap: clamp(0.95rem, 1.8vw, 1.3rem);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.about-page-socials .social-panel-heading {
  max-width: 720px;
}

.about-page-socials .social-panel-heading h2 {
  color: #f1e6d6;
  font-size: clamp(1.85rem, 2.35vw, 2.45rem);
  line-height: 1.05;
  text-shadow: 0 8px 22px rgba(10, 9, 8, 0.24);
}

.about-page-socials .social-panel-heading p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0.55rem auto 0;
  color: #d2c4b2;
}

body.about-page .social-logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 1.3vw, 0.8rem);
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.15rem;
}

.about-page-socials .social-logo-link,
body.about-page .credit-links a {
  color: #f3ebdd;
  border-color: rgba(243, 235, 221, 0.24);
  background: rgba(243, 235, 221, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 20px rgba(10, 9, 8, 0.16);
  backdrop-filter: blur(8px);
}

body.about-page .social-logo-link {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body.about-page .social-logo-link-primary {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
}

body.about-page .social-logo-link img {
  display: block;
  width: 32px;
  max-width: 32px;
  height: 32px;
  max-height: 32px;
  object-fit: contain;
}

body.about-page .social-logo-link-primary img {
  width: 44px;
  max-width: 44px;
  height: 44px;
  max-height: 44px;
}

body.about-page .social-logo-link[aria-label="YouTube"] img {
  width: 36px;
  max-width: 36px;
  height: 31px;
  max-height: 31px;
}

.about-page-socials .social-logo-link:hover,
.about-page-socials .social-logo-link:focus-visible,
body.about-page .credit-links a:hover,
body.about-page .credit-links a:focus-visible {
  color: #fffdf8;
  border-color: rgba(208, 165, 107, 0.45);
  background: rgba(243, 235, 221, 0.12);
}

body.about-page .artwork-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(110px, 9vw, 160px) clamp(140px, 12vw, 210px);
  gap: 0;
  align-self: center;
  width: min(100%, 650px);
  min-height: clamp(280px, 24vw, 380px);
  padding: 0.45rem 0.2rem;
  isolation: isolate;
}

body.about-page .credits-copy {
  max-width: 56ch;
}

body.about-page .credits-copy p {
  max-width: 52ch;
}

body.about-page .about-page-artwork .artwork-piece {
  display: block;
  min-width: 0;
  max-width: none;
  height: 100%;
  object-fit: contain;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

body.about-page .artwork-feature {
  grid-column: 1 / 7;
  grid-row: 1;
  z-index: 5;
  width: 110%;
  max-width: 110%;
  height: 96%;
  justify-self: center;
  align-self: end;
  transform: rotate(-1.4deg) translate(0.75rem, 0.35rem);
  object-position: center;
}

body.about-page .artwork-top-card {
  grid-column: 5 / 13;
  grid-row: 1;
  z-index: 4;
  width: 106%;
  max-width: 106%;
  height: 94%;
  justify-self: end;
  align-self: start;
  padding: 0.18rem;
  transform: rotate(1.8deg) translate(-1.35rem, 0.18rem);
  object-position: center;
}

body.about-page .artwork-bottom-left,
body.about-page .artwork-bottom-center,
body.about-page .artwork-bottom-right {
  grid-row: 2;
  width: 104%;
  height: 100%;
  align-self: start;
}

body.about-page .artwork-bottom-left {
  grid-column: 1 / 6;
  z-index: 5;
  justify-self: end;
  width: 122%;
  transform: rotate(-2.4deg) translate(0.95rem, -0.85rem);
  object-position: center;
}

body.about-page .artwork-bottom-center {
  grid-column: 4 / 10;
  z-index: 3;
  justify-self: center;
  width: 112%;
  transform: rotate(1.2deg) translate(0.1rem, -0.45rem);
  object-position: center;
}

body.about-page .artwork-bottom-right {
  grid-column: 7 / 13;
  z-index: 2;
  justify-self: start;
  width: 112%;
  transform: rotate(2.2deg) translate(-1.65rem, -0.62rem);
  object-position: center;
}

body.about-page .credit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

body.about-page .credit-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 800;
}

.about-page-cta {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  background: var(--section-warm-2);
}

.about-page-cta-card {
  width: min(100%, 840px);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
  border: 1px solid rgba(243, 235, 221, 0.14);
  border-radius: 18px;
  background: rgba(243, 235, 221, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 34px rgba(10, 9, 8, 0.18);
  backdrop-filter: blur(8px);
}

body.about-page .button.primary {
  color: var(--button-filled-text);
  border-color: transparent;
  background: var(--button-filled-bg);
}

body.about-page .button.primary:hover,
body.about-page .button.primary:focus-visible {
  background: var(--button-filled-bg-hover);
  box-shadow: 0 0 0 3px rgba(208, 165, 107, 0.24);
}

@media (max-width: 760px) {
  body.about-page {
    background: linear-gradient(180deg, var(--bg-page), var(--bg-page-deep));
  }

  .about-page-hero {
    background:
      linear-gradient(90deg, rgba(12, 11, 10, 0.94) 0%, rgba(20, 18, 16, 0.82) 44%, rgba(18, 16, 14, 0.5) 72%, rgba(18, 15, 13, 0.34) 100%),
      var(--cms-about-hero-bg, url("../web/qcabouthero.webp")) 50% 50% / cover no-repeat;
  }

  .about-page-story {
    grid-template-columns: 1fr;
  }

  .about-page-artwork {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  body.about-page .credits-copy,
  body.about-page .credits-copy p {
    max-width: none;
  }

  .about-page-copy {
    display: contents;
  }

  .about-page-visual {
    display: contents;
  }

  .about-page-photo {
    order: 7;
    width: min(100%, 280px);
    margin: 0.35rem auto 0;
  }

  .about-page-photo img {
    min-height: 0;
    aspect-ratio: 1;
  }

  .about-page-copy > .eyebrow {
    order: 2;
  }

  .about-page-copy > h2 {
    order: 3;
  }

  .about-page-copy > p,
  .about-signoff {
    width: 100%;
  }

  .about-page-copy > p {
    order: 4;
  }

  .about-signoff {
    order: 5;
  }

  body.about-page .artwork-strip {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: clamp(112px, 29vw, 150px) clamp(150px, 39vw, 205px);
    min-height: clamp(275px, 74vw, 370px);
    padding-inline: 0;
  }

  body.about-page .about-page-artwork .artwork-piece {
    max-width: 100%;
    height: 100%;
  }

  body.about-page .artwork-feature {
    grid-column: 1 / 7;
    grid-row: 1;
    height: 96%;
  }

  body.about-page .artwork-bottom-center {
    display: none !important;
  }

  body.about-page .artwork-bottom-left,
  body.about-page .artwork-bottom-right {
    aspect-ratio: auto;
  }

  body.about-page .artwork-bottom-left {
    grid-column: 1 / 7;
    width: 112%;
    transform: rotate(-2.4deg) translate(0.55rem, -0.5rem);
  }

  body.about-page .artwork-bottom-right {
    grid-column: 6 / 13;
    width: 104%;
    transform: rotate(2.2deg) translate(-0.75rem, -0.42rem);
  }
}

@media (max-width: 900px) {
  body.about-page img.artwork-piece.artwork-bottom-center {
    display: none !important;
  }
}

.about-letter-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-top: 1.25rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(208, 165, 107, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(216, 170, 97, 0.065), rgba(143, 168, 155, 0.045)),
    rgba(243, 235, 221, 0.028);
}

.about-letter-note .eyebrow {
  flex: 0 0 100%;
  margin: 0 0 -0.18rem;
}

.about-letter-note h3 {
  flex: 1 1 250px;
  margin: 0;
  color: #f3ebdd;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.12;
}

.about-letter-note p:not(.eyebrow) {
  flex: 1 1 280px;
  margin: 0;
  color: #d8ccb8;
  font-size: 0.94rem;
  line-height: 1.45;
}

.about-letter-note .button {
  flex: 0 0 auto;
  padding-block: 0.62rem;
  color: var(--button-filled-text);
  background: var(--button-filled-bg);
  border-color: transparent;
}

.about-letter-note .button:hover,
.about-letter-note .button:focus-visible {
  color: var(--button-filled-text);
  background: var(--button-filled-bg-hover);
}

.about-page-visual .about-letter-note {
  width: min(100%, 520px);
  margin-top: 1.25rem;
}

@media (max-width: 680px) {
  .about-photo-badge {
    position: static;
    width: auto;
    margin: 0;
    padding-inline: 0.7rem;
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .about-letter-note {
    order: 1;
    width: 100%;
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .about-page-copy > p {
    order: 4;
  }

  .about-signoff {
    order: 5;
  }

  .about-letter-note .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .about-page-artwork {
    gap: 1rem;
    padding-top: 2.2rem;
    padding-bottom: 2.25rem;
  }

  body.about-page .artwork-strip {
    width: min(100%, 320px);
    grid-template-rows: clamp(96px, 27vw, 118px) clamp(124px, 35vw, 165px);
    min-height: clamp(230px, 68vw, 292px);
    margin-inline: auto;
  }

  body.about-page .artwork-feature {
    height: 94%;
    transform: rotate(-1.4deg) translate(0.42rem, 0.22rem);
  }

  body.about-page .artwork-top-card {
    height: 92%;
    transform: rotate(1.8deg) translate(-0.58rem, 0.12rem);
  }

  body.about-page .artwork-bottom-left {
    width: 110%;
    transform: rotate(-2.4deg) translate(0.42rem, -0.42rem);
  }

  body.about-page .artwork-bottom-right {
    width: 102%;
    transform: rotate(2.2deg) translate(-0.58rem, -0.34rem);
  }

  .about-page-socials {
    padding-top: 1.75rem;
    padding-bottom: 1.85rem;
  }

  body.about-page .social-logo-cloud {
    gap: 0.48rem;
  }

  body.about-page .social-logo-link {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  body.about-page .social-logo-link-primary {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  body.about-page .social-logo-link img {
    width: 28px;
    max-width: 28px;
    height: 28px;
    max-height: 28px;
  }

  body.about-page .social-logo-link-primary img {
    width: 38px;
    max-width: 38px;
    height: 38px;
    max-height: 38px;
  }

  body.about-page .social-logo-link[aria-label="YouTube"] img {
    width: 32px;
    max-width: 32px;
    height: 27px;
    max-height: 27px;
  }
}
