/*
 * About page (resources/views/pages/about.blade.php).
 * Scoped to .about so the site-wide li / a / p rules in style.css don't leak in.
 * Colours match the home page.
 */
body {
  background: #faf6f0;
}

.about {
  --ab-maroon: #470000;
  --ab-maroon-2: #5a0d0d;
  --ab-deep: #2c0000;
  --ab-gold: #e0a526;
  --ab-gold-soft: #fbf0d6;
  --ab-gold-ink: #2e1d00;
  --ab-ink: #2b1a1c;
  --ab-muted: #6a5b5e;
  --ab-card: #ffffff;
  --ab-line: #eadfe0;
  --ab-radius: 18px;

  color: var(--ab-ink);
  font-size: 16px;
  line-height: 1.6;
}
.about *,
.about *::before,
.about *::after {
  box-sizing: border-box;
}
.about h1,
.about h2,
.about h3 {
  color: inherit;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.about p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}
.about ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about li {
  width: auto;
  margin: 0;
  font-size: inherit;
  color: inherit;
}
.about a {
  color: inherit;
}
.about svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.about-kicker {
  color: var(--ab-gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Buttons */
.about .about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.about .about-btn--gold { background: var(--ab-gold); color: var(--ab-gold-ink); }
.about .about-btn--gold:hover { background: #edb740; }
.about .about-btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #ffffff; }
.about .about-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.about .about-btn--maroon { background: var(--ab-maroon); color: #ffffff; }
.about .about-btn--maroon:hover { background: var(--ab-maroon-2); }
.about .about-btn--outline { border-color: var(--ab-maroon); color: var(--ab-maroon); }
.about .about-btn--outline:hover { background: var(--ab-maroon); color: #ffffff; }
.about a:focus-visible {
  outline: 3px solid var(--ab-gold);
  outline-offset: 2px;
}

/* Hero: the press building under a maroon wash, like the home page. */
.about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ab-deep);
  color: #ffffff;
  padding: 4rem 0 6.5rem;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/press.jpg") center 40% / cover no-repeat;
  background-image: image-set(url("../images/press.webp") type("image/webp"), url("../images/press.jpg") type("image/jpeg"));
  animation: about-zoom 20s ease-in-out infinite alternate;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(224, 165, 38, 0.18), transparent 55%),
    linear-gradient(90deg, rgba(44, 0, 0, 0.95) 0%, rgba(58, 4, 8, 0.86) 50%, rgba(58, 4, 8, 0.6) 100%);
}
@keyframes about-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.about-hero__inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.about-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 18ch;
  letter-spacing: -0.01em;
}
.about-lead {
  font-size: 1.08rem;
  color: #f1dede;
  max-width: 40rem;
}
.about-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* Sections */
.about-section {
  padding: 4.5rem 0 0;
}
.about-section--tight {
  padding-top: 0;
  margin-top: -3.5rem;
  position: relative;
}
.about-section--last {
  padding-bottom: 4.5rem;
}
.about-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.about-head h2,
.about-cta h2,
.about-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}
.about-head p {
  color: var(--ab-muted);
}

/* Mission and vision: two cards overlapping the hero. */
.about-mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.about-mv__card {
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  padding: 1.75rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  box-shadow: 0 24px 40px -30px rgba(44, 0, 0, 0.45);
}
.about-mv__card .about-kicker {
  color: var(--ab-maroon-2);
}
.about-mv__text {
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 600;
}
.about-mv__card--dark {
  background: var(--ab-maroon);
  border-color: var(--ab-maroon);
  color: #ffffff;
}
.about-mv__card--dark .about-kicker {
  color: var(--ab-gold);
}

/* Services */
.about-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.about .about-service {
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.about .about-service:hover {
  border-color: #d9c3c6;
  transform: translateY(-2px);
}
.about-service__icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--ab-gold-soft);
  color: var(--ab-maroon);
  margin-bottom: 0.4rem;
}
.about-service h3 {
  font-size: 1.05rem;
}
.about-service p {
  color: var(--ab-muted);
  font-size: 0.92rem;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.6rem;
}
.about .about-chips li {
  font-size: 0.78rem;
  background: #f6eeee;
  color: var(--ab-maroon-2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

/* Why us */
.about-why {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}
.about-reasons {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ab-line);
}
.about .about-reasons li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ab-line);
}
.about-reasons__tick {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: #e4f3e9;
  color: #1f6a3a;
}
.about-reasons b {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}
.about-reasons li > span:last-child {
  color: var(--ab-muted);
}

/* Community band */
.about-band {
  background: var(--ab-deep);
  background-image: radial-gradient(ellipse at 100% 0%, rgba(224, 165, 38, 0.2), transparent 60%);
  color: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}
.about-band > div:first-child {
  display: grid;
  gap: 0.5rem;
}
.about-band__text {
  display: grid;
  gap: 1rem;
  color: #f1dede;
  font-size: 1.05rem;
}
.about-band__note b {
  color: var(--ab-gold);
}

/* Closing call to action */
.about-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
}
.about-cta > div:first-child {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  max-width: 40rem;
}
.about-cta p {
  color: var(--ab-muted);
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-contact {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.92rem;
}
.about-contact dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ab-muted);
}
.about-contact dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 1024px) {
  .about-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-why,
  .about-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

/* Phone */
@media (max-width: 640px) {
  .about-hero {
    padding: 2.75rem 0 5.5rem;
  }
  .about-hero::after {
    background: linear-gradient(180deg, rgba(44, 0, 0, 0.9) 0%, rgba(58, 4, 8, 0.92) 100%);
  }
  .about-mv,
  .about-services {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-section {
    padding-top: 3.25rem;
  }
  .about-section--tight {
    padding-top: 0;
  }
  .about-band,
  .about-cta {
    padding: 1.6rem;
  }
  .about-ctas .about-btn,
  .about-cta__actions .about-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero::before {
    animation: none;
  }
  .about .about-service {
    transition: none;
  }
}
