/* =========================================================
   AAC shared inner-page styles: page hero banner, eyebrow tag, button
   (used by About, Gallery and later pages)
   ========================================================= */
:root {
  --ab-green: #007d45;
  --ab-deep: #063a33;
  --ab-deeper: #04291f;
  --ab-gold: #ffcd00;
  --ab-ink: #10210f;
  --ab-muted: #4a5a48;
  --ab-ease: cubic-bezier(.22, 1, .36, 1);
  --ab-font: var(--font-secondary, "Poppins", sans-serif);
}

/* ---------- Shared bits ---------- */
.aac-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 125, 69, .1);
  color: var(--ab-green);
  font-family: var(--ab-font);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.aac-eyebrow span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: aacAbPulse 2s ease-out infinite;
}
@keyframes aacAbPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 125, 69, .5); }
  100% { box-shadow: 0 0 0 12px rgba(0, 125, 69, 0); }
}

.aac-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--ab-green);
  color: #fff !important;
  font-family: var(--ab-font);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px -16px rgba(0, 125, 69, .8);
  transition: transform .45s var(--ab-ease), background-color .45s, color .45s, box-shadow .45s, gap .45s var(--ab-ease), opacity .9s var(--ab-ease);
}
.aac-btn i { transition: transform .45s var(--ab-ease); }
.aac-btn:hover { transform: translateY(-3px); background: var(--ab-gold); color: var(--ab-ink) !important; gap: 16px; box-shadow: 0 18px 36px -16px rgba(255, 205, 0, .85); }
.aac-btn:hover i { transform: rotate(45deg); }

/* ---------- Page hero ---------- */
.aac-phero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 46vh, 460px);
  padding: calc(70px + clamp(40px, 6vw, 70px)) 0 clamp(60px, 7vw, 90px);
  color: #fff;
  background: var(--ab-deep);
}
.aac-phero__bg {
  position: absolute;
  inset: -20px;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: aacAbKen 22s ease-in-out infinite alternate;
  transform: translate3d(0, calc(var(--ab-scroll, 0) * 80px), 0) scale(1.08);
}
@keyframes aacAbKen {
  from { scale: 1; }
  to   { scale: 1.08; }
}
.aac-phero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(255, 196, 0, .28), transparent 70%),
    linear-gradient(100deg, rgba(4, 41, 31, .94) 0%, rgba(0, 125, 69, .72) 55%, rgba(4, 41, 31, .45) 100%);
}

.aac-phero__inner { position: relative; }

.aac-phero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  font-family: var(--ab-font);
  font-size: .85rem;
}
.aac-phero__crumbs a { color: rgba(255, 255, 255, .8) !important; text-decoration: none; transition: color .3s; }
.aac-phero__crumbs a:hover { color: var(--ab-gold) !important; }
.aac-phero__crumbs span { color: var(--ab-gold); font-weight: 600; }

.aac-phero__title {
  margin: 0 0 14px;
  font-family: var(--ab-font);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #fff;
}
.aac-phero__title span { color: var(--ab-gold); }

.aac-phero__text {
  max-width: 560px;
  margin: 0;
  font-family: var(--ab-font);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}

.aac-phero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 24px; height: 38px;
  margin-left: -12px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
}
.aac-phero__scroll span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--ab-gold);
  animation: aacAbWheel 1.8s ease-in-out infinite;
}
@keyframes aacAbWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { opacity: 0; }
}


/* Shared "Famous Quotes" block */
.aac-quotes {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 120px) 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 84, 0, .09) 1px, transparent 0) 0 0 / 26px 26px,
    #f6f6f2;
}
.aac-quotes__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.aac-quotes__heading {
  margin: 0 0 18px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #10210f;
}
.aac-quotes__heading em { font-style: normal; color: #007d45; }
.aac-quotes__text {
  margin: 0 0 28px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: #4a5a48;
}

.aac-quotes__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;            /* all three level and the same height */
}
.aac-quote {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 26px 22px 24px;
  border-radius: 24px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s cubic-bezier(.22, 1, .36, 1), opacity .9s ease;
}
.aac-quote--gold { background: #ffcd00; color: #10210f; box-shadow: 0 26px 50px -32px rgba(176, 130, 0, .9); }
.aac-quote--mint { background: #063a33; color: #fff; box-shadow: 0 26px 50px -32px rgba(4, 41, 31, .9); }   /* same green as the third card */
.aac-quote--deep { background: #063a33; color: #fff; box-shadow: 0 26px 50px -32px rgba(4, 41, 31, .9); }
.aac-quote:hover { transform: translateY(-8px) rotate(-1deg); }

.aac-quote__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  opacity: .9;
}
.aac-quote__mark {
  position: absolute;
  right: -6px;
  top: -14px;
  font-size: 6rem;
  line-height: 1;
  opacity: .12;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.aac-quote:hover .aac-quote__mark { transform: rotate(-12deg) scale(1.1); }
.aac-quote p {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
.aac-quote { display: flex; flex-direction: column; }
.aac-quote footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 20%, transparent);
  font-size: .82rem;
  font-weight: 600;
  opacity: .8;
}

@media (max-width: 991.98px) {
  .aac-quotes__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .aac-quotes__cards { grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  .aac-quotes *,
  .aac-phero *, .aac-phero__bg { animation: none !important; transition-duration: .01ms !important; }
}
