/* ===== ABOUT PAGE STYLES ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Sora", sans-serif;
  color: #22191a;
  background: #ffffff;
}

.about-container {
  width: 100%;
  background: #ffffff;
}

.about-content {
  padding-top: var(--nav-height);
  max-width: none;
  width: 100%;
  background:
    linear-gradient(180deg, #fff 0%, #fff 58%, #faf7f7 100%);
}

.about-hero-section,
.about-section,
.footer-content,
.footer-bottom {
  width: min(100% - 84px, 1320px);
  margin-inline: auto;
}

.about-hero-section {
  width: 100%;
  padding: 0;
  display: block;
}

.hero-left {
  max-width: 860px;
}

.hero-eyebrow {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  max-width: 620px;
}

.hero-title::after {
  display: none;
}

.hero-title span {
  color: #d62828;
}

.hero-description {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.72;
}

.about-hero-carousel {
  position: relative;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #210506;
  box-shadow: none;
}

.hero-carousel-copy {
  position: absolute;
  left: max(42px, calc((100vw - 1320px) / 2 + 42px));
  top: 50%;
  z-index: 5;
  width: min(52vw, 640px);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease 0.18s, transform 0.5s ease 0.18s;
  transform: translateY(-50%);
}

.about-carousel-slide.is-active .hero-carousel-copy {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.about-carousel-slide:not(.is-active) .hero-carousel-copy {
  transform: translateY(calc(-50% + 18px));
}

.about-carousel-viewport {
  position: relative;
  overflow: hidden;
  height: clamp(390px, 44vw, 560px);
  border: 0;
  border-radius: 0;
  background: #210506;
  box-shadow: none;
}

.about-carousel-track {
  height: 100%;
  display: flex;
  transition: transform 0.76s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.about-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  background: #2a0b0d;
}

.about-carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 0.72;
  transition: transform 1.1s ease, opacity 0.62s ease;
}

.about-carousel-slide.is-active img {
  transform: scale(1);
  opacity: 1;
}

.about-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 5, 6, 0.94) 0%, rgba(15, 6, 7, 0.74) 28%, rgba(15, 6, 7, 0.18) 58%, rgba(15, 6, 7, 0.06) 100%),
    linear-gradient(180deg, rgba(15, 6, 7, 0.16), rgba(15, 6, 7, 0.22));
  pointer-events: none;
}

.about-carousel-slide figcaption {
  display: none;
}

.about-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-carousel-btn:hover {
  background: #8f1118;
  border-color: rgba(255, 255, 255, 0.72);
}

.about-carousel-btn.prev {
  left: 18px;
}

.about-carousel-btn.next {
  right: 18px;
}

.about-carousel-btn.prev:hover {
  transform: translate(-3px, -50%);
}

.about-carousel-btn.next:hover {
  transform: translate(3px, -50%);
}

.about-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  padding: 0;
  display: flex;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  transform: translateX(-50%);
}

.about-carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.about-carousel-dots button.is-active {
  width: 28px;
  background: #ffffff;
}

.about-section {
  padding: 46px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.col-left,
.col-right {
  min-height: 420px;
  padding: 44px 46px;
  border: 1px solid #ddd7d7;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(45, 10, 10, 0.06);
}

.section-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #97151b;
  color: #ffffff;
  font-size: 30px;
}

.about-section h2 {
  display: inline-flex;
  vertical-align: top;
  margin: 14px 0 32px 22px;
  color: #761015;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.2;
}

.checklist {
  clear: both;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 18px;
  margin-bottom: 28px;
  color: #332b2c;
  font-size: 15px;
  line-height: 1.65;
}

.checklist i {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #97151b;
  font-size: 18px;
}

.serves-list {
  clear: both;
  display: flex;
  flex-direction: column;
}

.serve-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
}

.serve-item + .serve-item {
  border-top: 1px solid #ded8d8;
}

.serve-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2e6e6;
  color: #97151b;
  font-size: 25px;
}

.serve-text h4 {
  margin-bottom: 6px;
  color: #171313;
  font-size: 16px;
  font-weight: 900;
}

.serve-text p {
  max-width: 460px;
  margin: 0;
  color: #342d2d;
  font-size: 14px;
  line-height: 1.55;
}

.access-section {
  width: 100%;
  max-width: none;
  margin-top: 20px;
  padding: 58px 42px 70px;
  background: #f5f6f7;
}

.access-section .section-header,
.access-section .access-grid {
  width: min(100%, 1320px);
  margin-inline: auto;
}

.section-header {
  margin-bottom: 38px;
  text-align: center;
}

.section-header .section-icon {
  display: none;
}

.section-header h2,
.mission-section h2 {
  display: block;
  margin: 0;
  color: #761015;
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.section-header h2::after,
.mission-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  background: #8f1118;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.access-item {
  min-height: 184px;
  padding: 30px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #e2dddd;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(30, 14, 14, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.access-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(30, 14, 14, 0.12);
}

.access-item i {
  width: auto;
  height: auto;
  margin-bottom: 18px;
  display: block;
  border-radius: 0;
  background: transparent;
  color: #97151b;
  font-size: 38px;
}

.access-item p {
  margin: 0 0 10px;
  color: #171313;
  font-size: 15px;
  font-weight: 900;
}

.access-item span {
  max-width: 210px;
  color: #3d3535;
  font-size: 13px;
  line-height: 1.55;
}

.mission-section {
  width: 100%;
  max-width: none;
  padding: 54px 42px 76px;
  background: #ffffff;
  border-top: 1px solid #f0e8e8;
}

.mission-section > .section-icon {
  display: none;
}

.mission-points {
  width: min(100%, 1120px);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mission-intro {
  max-width: 720px;
  margin: 16px auto 0;
  color: #3a3030;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.point {
  min-height: 122px;
  display: block;
  padding: 8px 42px 0;
  color: #2b2424;
  text-align: center;
}

.point + .point {
  border-left: 1px solid #cfc8c8;
}

.point i {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff1ee;
  color: #8f1118;
  font-size: 19px;
}

.point h3 {
  margin: 0 0 10px;
  color: #8f1118;
  font-size: 14px;
  font-weight: 900;
}

.point p {
  max-width: 280px;
  margin: 0 auto;
  color: #3d3535;
  font-size: 13px;
  line-height: 1.65;
}

.about-cta-modal[hidden] {
  display: none;
}

.about-cta-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.about-cta-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.about-cta-dialog {
  position: relative;
  width: min(100%, 1120px);
  min-height: 128px;
  padding: 26px 72px 26px 34px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(113, 13, 18, 0.96), rgba(143, 17, 24, 0.92)),
    url("../img/lanhs-library.png") center / cover no-repeat;
  color: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 3, 4, 0.28);
}

.about-cta-modal.is-visible .about-cta-dialog {
  animation: aboutCtaEnter 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-cta-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.about-cta-icon {
  color: #ffffff;
  font-size: 56px;
}

.about-cta-copy h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.2;
}

.about-cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-btn.primary {
  background: #ffffff;
  color: #8f1118;
}

.cta-btn.secondary {
  background: transparent;
  color: #ffffff;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.about-footer {
  background: #7f1117;
  color: #ffffff;
  padding: 46px 42px 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 54px;
  padding-bottom: 34px;
}

.footer-logo {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo h4,
.footer-col h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.footer-logo p {
  max-width: 250px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.65;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-col i {
  width: 17px;
  margin-right: 8px;
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

@keyframes aboutCtaEnter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  .about-hero-section {
    gap: 30px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .col-left,
  .col-right {
    min-height: 0;
  }

  .about-cta-dialog {
    grid-template-columns: 72px 1fr;
  }

  .about-cta-dialog .cta-buttons {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .about-hero-section,
  .about-section,
  .footer-content,
  .footer-bottom {
    width: min(100% - 40px, 1320px);
  }

  .about-hero-section {
    width: 100%;
  }

  .hero-carousel-copy {
    left: 34px;
    width: min(72vw, 560px);
  }

  .access-grid,
  .mission-points,
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .point + .point {
    border-left: 0;
    border-top: 1px solid #eadfdf;
  }

  .point {
    padding: 24px 16px;
  }
}

@media (max-width: 640px) {
  .about-hero-section {
    padding-top: 0;
  }

  .about-hero-carousel,
  .access-grid,
  .mission-points,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .about-carousel-viewport {
    height: 470px;
  }

  .hero-carousel-copy {
    left: 22px;
    right: 22px;
    width: auto;
  }

  .hero-title {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.6;
  }

  .about-carousel-slide figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
    padding: 14px 15px;
  }

  .about-carousel-slide figcaption strong {
    font-size: 19px;
  }

  .about-carousel-btn {
    width: 38px;
    height: 38px;
  }

  .about-carousel-btn.prev {
    left: 18px;
  }

  .about-carousel-btn.next {
    right: 18px;
  }

  .about-carousel-dots {
    bottom: 16px;
  }

  .col-left,
  .col-right {
    padding: 28px 24px;
  }

  .about-section h2 {
    display: block;
    margin: 0 0 24px;
  }

  .section-icon {
    margin-bottom: 16px;
  }

  .access-section {
    padding-inline: 20px;
  }

  .mission-section {
    padding: 44px 20px 58px;
  }

  .about-cta-dialog {
    grid-template-columns: 1fr;
    padding: 36px 24px 24px;
  }

  .about-cta-icon {
    font-size: 46px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }
}
