/* ============================================
   STYLES.CSS
   Project:  Chabad Mizzou
   ============================================

  TABLE OF CONTENTS
   -----------------
   01. Variables (Root Tokens)
   02. Base & Typography
   03. Layout & Container
   04. Buttons
   05. Header
   06. Hero
   07. vision
   08. Gallery
   09. Progress
   10. Spaces
   11. Mikvah
   12. Why
   13. Dedication
   14. Campaign
   15. Footer

/* ============================================
   01. VARIABLES
============================================ */

:root {
  --clr-gold: #ffd200;
  --clr-dark: #1a1a1a;
  --clr-white: #ffffff;
  --clr-light: #f4f4f4;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

/* ============================================
   02. BASE & TYPOGRAPHY
============================================ */

body {
  color: var(--clr-dark);
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

/* ============================================
   03. LAYOUT & CONTAINER
=========================================== */

.container {
  width: 100%;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1384px;
    margin: 0 auto;
  }
}

@media (min-width: 1720px) {
  .container {
    max-width: 1584px;
  }
}

/* ============================================
   04. BUTTONS
============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  text-decoration: none;
  padding: 13px 15px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.btn:hover {
  transform: scale(1.04);
}

.btn:hover .btn__cta-arrow {
  transform: rotate(-45deg);
}

.btn--hero-solid {
  background: var(--clr-white);
  color: var(--clr-dark);
  border-color: var(--clr-white);
}

.btn--hero-ghost {
  background: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}

.btn--gold {
  background: var(--clr-gold);
  color: var(--clr-dark);
  border-color: var(--clr-gold);
}

.btn--outline {
  background: transparent;
  color: var(--clr-dark);
  border-color: var(--clr-dark);
}

.btn__cta-arrow {
  max-width: 21px;
  transition: 0.1s;
}

@media (min-width: 1024px) {
  .btn {
    font-size: 20px;
    line-height: 27px;
  }
}

/* ============================================
   05. HEADER
============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-white);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 61px;
  width: auto;
}

.header__nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--clr-white);
  padding: 20px;
  z-index: 99;
}

.header__nav.is-open {
  display: flex;
}

.header__nav a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-dark);
  padding: 20px 0;
  border-bottom: 1px solid var(--clr-dark);
  transition: color 0.2s;
}

.header__nav a:last-of-type {
  border-bottom: none;
}

.header__btn {
  display: none;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.header__hamburger span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform 0.2s;
}

.header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.header__hamburger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .header__btn {
    display: inline-flex;
    padding-block: 11px;
    line-height: 22px;
  }

  .header__hamburger,
  .header__mobile-menu {
    display: none !important;
  }

  .header__nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    position: static;
    padding: 0;
    border-bottom: 0;
    gap: 28px;
  }

  .header__nav a {
    font-size: 16px;
    color: var(--clr-dark);
    white-space: nowrap;
    position: relative;
    padding: 0;
    border-bottom: 0;
  }

  .header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--clr-dark);
    opacity: 0;
    transition: 0.3s;
  }

  .header__nav a:hover:after {
    width: 100%;
    opacity: 1;
  }

  .header__inner > .btn {
    font-size: 16px;
    font-weight: 400;
  }

  .btn__cta-arrow {
    max-width: 18px;
  }
}

@media (min-width: 1280px) {
  .header__nav {
    gap: 40px;
  }
}

/* ============================================
   06. HERO
============================================ */

.hero {
  padding-block: 60px 30px;
  background-color: var(--clr-gold);
}

.hero__layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero__tagline {
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__tagline-icon {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background-color: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__tagline-icon img {
  max-width: 20px;
}

.hero__title {
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  text-transform: capitalize;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
  position: relative;
}

.hero__title span {
  font-weight: 600;
}

@media (min-width: 768px) {
  .hero__text {
    max-width: 70%;
  }

  .hero__tagline {
    max-width: 350px;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    position: relative;
    padding-block: 60px;
  }

  .hero__layout {
    flex-direction: row;
  }

  .hero__text {
    max-width: 55%;
  }

  .hero__tagline {
    max-width: 380px;
    flex-direction: row;
    margin-bottom: 30px;
    gap: 20px;
  }

  .hero__tagline-icon {
    width: 50px;
    height: 50px;
  }

  .hero__tagline-icon img {
    max-width: 24px;
  }

  .hero__title {
    font-size: 60px;
    margin-bottom: 60px;
    z-index: 99;
  }

  .hero__image {
    position: absolute;
    max-height: 90%;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    padding: 20px;
  }

  .hero__image img {
    height: 100%;
  }
}

@media (min-width: 1280px) {
  .hero {
    min-height: 720px;
  }

  .hero__text {
    max-width: 704px;
  }

  .hero__title {
    font-size: 80px;
  }

  .hero__image {
    max-height: 100%;
  }
}

/* ============================================
   07. VISION
============================================ */

.vision {
  position: relative;
  overflow: hidden;
}

.vision__intro {
  padding-block: 80px 60px;
  background-color: var(--clr-light);
  position: relative;
  z-index: 2;
}

.vision__intro-text {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.vision__campaign {
  padding-block: 60px;
  background-color: var(--clr-dark);
}

.vision__heading {
  color: var(--clr-gold);
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.vision__heading span {
  font-weight: 600;
}

.vision__body {
  color: var(--clr-white);
  font-size: 16px;
  letter-spacing: -0.03em;
  margin-top: 30px;
}

.vision__campaign::before,
.vision__intro::before {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  left: 50%;
  top: 0;
  bottom: 0;
  margin-left: -50vw;
  z-index: -2;
}

.vision__campaign::before {
  background-color: var(--clr-dark);
}

.vision__intro::before {
  background-color: var(--clr-light);
}

@media (min-width: 1024px) {
  .vision {
    background: #f4f4f4;
    background: linear-gradient(
      90deg,
      rgba(244, 244, 244, 1) 50%,
      rgba(26, 26, 26, 1) 0%
    );
  }

  .vision__layout {
    display: flex;
    align-items: center;
  }

  .vision__intro {
    max-width: 340px;
    padding-block: 20px;
    padding-inline: 20px 60px;
    background-color: transparent;
  }

  .vision__intro-text {
    font-size: 18px;
  }

  .vision__campaign {
    padding-block: 120px;
    padding-inline-start: 60px;
  }

  .vision__campaign::before,
  .vision__intro::before {
    display: none;
  }
}

@media (min-width: 1280px) {
  .vision__intro {
    padding-inline-start: 0;
  }

  .vision__campaign {
    display: flex;
    align-items: center;
    gap: 100px;
  }

  .vision__heading {
    font-size: 50px;
  }

  .vision__body {
    max-width: 390px;
    font-size: 18px;
  }
}

/* ============================================
   09. GALLERY
============================================ */

.gallery {
  padding-block: 100px;
}

.gallery__items {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1023px) {
  .gallery {
    display: none;
  }
}

/* ============================================
   10. PROGRESS
============================================ */

.progress-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-block: 80px;
}

.progress-section__layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.progress-card {
  background: var(--clr-light);
  padding: 50px 20px;
}

.progress-card__label {
  font-size: 20px;
  font-weight: 500;
  color: #8d8d8d;
  margin-bottom: 10px;
}

.progress-card__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.progress-card__percent {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.progress-card__percent span {
  font-weight: 600;
}

.progress-card__goal {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: bold;
  color: #373737;
}

.progress-card__goal span {
  font-weight: 400;
  margin-left: 6px;
}

.progress-track {
  position: relative;
}

.progress-track__bar-wrap {
  position: relative;
  height: 40px;
  background: var(--clr-white);
  border-radius: 16px;
}

/* Yellow fill */
.progress-track__fill {
  height: 100%;
  width: 30%;
  background: var(--clr-gold);
  position: relative;
  border-radius: 16px;
}

.progress-track__dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  pointer-events: none;
}

.progress-track__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clr-gold);
  z-index: 2;
  transition: 0.3s;
}

.progress-track__dot:last-of-type {
  display: none;
}

.progress-track__dot--on-fill {
  background: var(--clr-dark);
}

.progress-track__tooltip-anchor {
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.progress-track__bar-wrap:hover .progress-track__tooltip-anchor {
  opacity: 1;
  visibility: visible;
}

.progress-track__tooltip-arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 10px solid var(--clr-dark);
  margin-bottom: 0;
  /* arrow sits flush on top of box */
}

/* The dark box */
.progress-track__tooltip {
  background: var(--clr-dark);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: 10px;
}

.progress-cta {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.progress-cta__icon {
  max-width: 38px;
  display: block;
}

.progress-cta__text {
  font-size: 16px;
  letter-spacing: -0.03em;
  color: #373737;
}

.progress-cta__btn {
  max-width: max-content;
}

@media (min-width: 768px) {
  .progress-section__layout {
    flex-direction: row;
    align-items: center;
  }

  .progress-card {
    flex: 1;
  }

  .progress-cta {
    max-width: 304px;
  }
}

@media (min-width: 1024px) {
  .progress-section {
    padding-block: 0 100px;
  }

  .progress-card {
    padding: 50px;
  }

  .progress-track__dot:last-of-type {
    display: block;
  }

  .progress-cta__icon {
    max-width: 50px;
  }

  .progress-cta__text {
    font-size: 18px;
  }
}

@media (min-width: 1280px) {
  .progress-card__label {
    font-size: 30px;
    margin-bottom: 13px;
  }

  .progress-card__percent {
    font-size: 50px;
  }

  .progress-card__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .progress-card__goal {
    font-size: 25px;
  }

  .progress-section__layout {
    gap: 90px;
  }
}

/* ============================================
   11. SPACES
============================================ */

.spaces {
  overflow: hidden;
  background-color: var(--clr-light);
}

.spaces__container {
  position: relative;
  padding-block: 0 80px;
}

.spaces__yellow-box {
  position: relative;
  width: 100%;
  height: 80px;
  background-color: var(--clr-gold);
}

.spaces__header {
  margin-top: 30px;
  margin-bottom: 60px;
}

.spaces__header-title {
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #373737;
  max-width: 432px;
}

.spaces__header-title span {
  color: var(--clr-dark);
  font-weight: 600;
}

.spaces__card {
  height: 450px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.spaces__card-image {
  transition: 0.3s;
  height: 100%;
  max-height: 100%;
}

.spaces__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: 0.3s;
}

/* 
.spaces__card:hover .spaces__card-image {
  max-height: 116px;
} */

.spaces__card-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.spaces__card-text h3 {
  color: var(--clr-white);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
  background-color: var(--clr-dark);
  padding: 15px 30px;
  transition: 0.4s;
}

.spaces__card:hover .spaces__card-text h3 {
  color: var(--clr-dark);
  background-color: var(--clr-gold);
}

.spaces__card-text p {
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--clr-dark);
  background-color: var(--clr-white);
  padding: 0 20px;
  height: 100%;
  max-height: 0;
  transition: 0.4s;
}

.spaces__card:hover .spaces__card-text p {
  max-height: 400px;
  padding: 30px 20px;
  opacity: 1;
}

.spaces__cards-swiper {
  margin-bottom: 60px;
  overflow: visible;
}

.spaces .swiper-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spaces .swiper-navigation .swiper-prev-button,
.spaces .swiper-navigation .swiper-next-button {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spaces .swiper-navigation .swiper-prev-button {
  color: var(--clr-white);
  background-color: #373737;
}

.spaces .swiper-navigation .swiper-next-button {
  color: var(--clr-dark);
  background-color: var(--clr-gold);
}

.swiper-button-disabled {
  cursor: not-allowed;
}

@media (min-width: 1024px) {
  .spaces__container {
    padding-block: 80px;
  }

  .spaces__yellow-box {
    position: absolute;
    width: 100%;
    height: 80px;
    right: 0;
    top: 0;
    max-width: 50%;
    background-color: var(--clr-gold);
  }

  .spaces__header {
    margin-top: 0;
  }
}

@media (min-width: 1280px) {
  .spaces__container {
    padding-block: 100px;
  }

  .spaces__header {
    margin-bottom: 80px;
  }

  .spaces__header-title {
    font-size: 50px;
  }

  .spaces__yellow-box {
    height: 200px;
    max-width: 70%;
  }

  .spaces__card {
    height: 350px;
  }
}

/* ============================================
   12. MIKVAH
============================================ */

.mikvah {
  background-image: url(../images/mikvah-section-bg.jpg);
  background-position: center;
  background-size: cover;
  min-height: 660px;
  padding-top: 80px;
  position: relative;
}

.mikvah__content {
  max-width: 432px;
}

.mikvah__heading {
  font-size: 35px;
  font-weight: 500;
  color: var(--clr-white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}

.mikvah__heading span {
  font-weight: 600;
}

.mikvah__panel {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  position: absolute;
  padding: 30px;
  background-color: var(--clr-dark);
}

.mikvah__panel p {
  color: var(--clr-white);
  font-size: 16px;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .mikvah__panel {
    max-width: 436px;
    left: auto;
  }
}

@media (min-width: 1024px) {
  .mikvah {
    min-height: 500px;
  }
}

@media (min-width: 1280px) {
  .mikvah__heading {
    font-size: 50px;
  }

  .mikvah__panel p {
    font-size: 18px;
  }
}

/* ============================================
   13. WHY
============================================ */

.why {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background-color: var(--clr-gold);
}

.why__media {
  position: relative;
  overflow: hidden;
  order: 2;
}

.why__img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.why__content {
  padding: 80px 20px 30px;
}

.why__heading {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #373737;
  line-height: 1;
  margin-bottom: 20px;
}

.why__heading span {
  font-weight: 600;
  color: var(--clr-dark);
}

.why__body {
  font-size: 16px;
  color: #373737;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .why__content {
    padding-inline: 32px;
  }

  .why__img {
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .why {
    min-height: 515px;
    grid-template-columns: 1fr 1fr;
  }

  .why__media {
    order: 1;
    max-height: 515px;
  }

  .why__content {
    order: 2;
    margin: auto;
    padding: 60px;
  }
}

@media (min-width: 1280px) {
  .why__content {
    padding: 80px 80px 60px;
  }

  .why__heading {
    font-size: 50px;
  }

  .why__body {
    font-size: 18px;
  }
}

/* ============================================
   14. DEDICATION
============================================ */

.dedication {
  padding-block: 80px;
  background-color: var(--clr-light);
}

.dedication__header {
  margin-bottom: 30px;
}

.dedication__header-title {
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.dedication__header-title span {
  font-weight: 600;
}

.dedication__header-subtitle {
  color: #373737;
  font-size: 16px;
  letter-spacing: -0.03em;
  margin-top: 20px;
}

.dedication__panel {
  padding: 30px 20px;
  background-color: var(--clr-white);
}

/* ── Panel wrapper ── */
.dedication__panel {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.dedication__group {
  display: flex;
  flex-wrap: wrap;
  row-gap: 24px;
  column-gap: 16px;
  align-items: flex-start;
}

/* Individual chip wrapper (chip + price stacked) */
.dedication__chip-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* The chip button */
.dedication__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(233, 231, 218, 0.5);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: #373737;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
  line-height: 1.35;
  text-align: left;
}

.dedication__chip.is-selected {
  color: var(--clr-dark);
  background-color: var(--clr-gold);
}

.dedication__chip:disabled,
.dedication__chip.is-reserved {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Checkbox icon inside chip */
.dedication__chip-check {
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1.5px solid #6c6c6c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.dedication__chip.is-selected .dedication__chip-check {
  background: #000000;
  border-color: #000000;
}

.dedication__chip-check svg {
  display: none;
}

.dedication__chip.is-selected .dedication__chip-check svg {
  display: block;
}

/* "Reserved" badge text inside chip */
.dedication__chip-badge {
  font-family: var(--font-body);
  font-size: 13px;
  color: #373737;
  padding: 6px 12px;
  border: 1px solid rgba(18, 0, 41, 0.08);
  border-radius: 100px;
}

/* Price label below chip */
.dedication__chip-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: bold;
  color: var(--clr-dark);
}

.dedication__chip-price--reserved {
  color: #888;
}

.dedication__accordion {
  background: #f5f5f5;
  overflow: hidden;
}

.dedication__accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 20px 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
}

.dedication__accordion-trigger:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: -2px;
  border-radius: 12px;
}

.dedication__accordion-trigger-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dedication__accordion-star {
  display: block;
  max-width: 24px;
}

.dedication__accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.dedication__accordion.is-open .dedication__accordion-chevron {
  transform: rotate(180deg);
}

.dedication__accordion-body {
  display: none;
  padding: 0 15px 20px;
  margin-top: 10px;
}

.dedication__accordion.is-open .dedication__accordion-body {
  display: block;
}

.dedication__gift-panel {
  border: 1px solid #e9e7da;
}

.dedication__gift-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--clr-dark);
  text-align: left;
}

.dedication__gift-trigger:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: -2px;
  border-radius: 12px;
}

.dedication__gift-trigger-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Square checkbox in gift trigger */
.dedication__gift-check {
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1.5px solid var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.dedication__gift-panel.is-open .dedication__gift-check {
  background: var(--clr-dark);
}

/* Show checkmark only when panel is open */
.dedication__gift-check svg {
  display: none;
}

.dedication__gift-panel.is-open .dedication__gift-check svg {
  display: block;
}

.dedication__gift-panel.is-open .dedication__accordion-chevron {
  transform: rotate(180deg);
}

.dedication__gift-body {
  display: none;
  margin-top: 10px;
  padding: 0 15px 20px;
}

.dedication__gift-panel.is-open .dedication__gift-body {
  display: block;
}

.dedication__gift-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: #373737;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  max-width: 504px;
}

/* Amount pill row */
.dedication__amounts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.dedication__amount-btn {
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid rgba(55, 55, 55, 0.5);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: #373737;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.dedication__amount-btn.is-selected {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
}

.dedication__amount-custom {
  outline: none;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: #373737;
  background: transparent;
  margin: 0;
  border: 1px solid #373737;
  width: 100%;
  flex: 100%;
  margin-top: 8px;
  padding: 13px 15px;
}

.dedication__amount-custom::placeholder {
  color: rgba(26, 26, 26, 0.5);
}

/* Remove number input spinners */
.dedication__amount-custom::-webkit-outer-spin-button,
.dedication__amount-custom::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dedication__amount-custom[type="number"] {
  -moz-appearance: textfield;
}

.dedication__footer {
  display: flex;
  align-items: start;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.dedication__continue-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dedication__continue-btn:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

/* Selected tags */
.dedication__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.dedication__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid #373737;
  background: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-dark);
}

.dedication__tag span {
  order: 2;
}

.dedication__tag-remove {
  order: 1;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #373737;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.dedication__tag-remove:hover {
  transform: scale(1.15);
}

@media (min-width: 1024px) {
  .dedication {
    padding-block: 100px;
  }

  .dedication__header {
    max-width: 660px;
    margin-bottom: 80px;
  }

  .dedication__header-title {
    font-size: 40px;
  }

  .dedication__header-subtitle {
    max-width: 570px;
  }

  .dedication__amounts {
    border: 1px solid #373737;
    padding: 20px;
  }

  .dedication__amount-custom {
    border: 0;
    padding: 0;
    flex: auto;
    width: auto;
    margin-left: 20px;
    margin-top: 0;
  }

  .dedication__footer {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .dedication__tags {
    justify-content: end;
  }

  .dedication__continue-btn {
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  .dedication__panel {
    padding: 30px;
  }

  .dedication__header-title {
    font-size: 50px;
  }

  .dedication__header-subtitle,
  .dedication__tag,
  .dedication__chip,
  .dedication__amount-btn,
  .dedication__gift-trigger,
  .dedication__accordion-trigger {
    font-size: 18px;
  }

  .dedication__accordion-trigger {
    padding: 20px;
  }

  .dedication__accordion-body {
    padding: 0 20px 20px;
  }

  .dedication__chip-price,
  .dedication__amount-custom {
    font-size: 20px;
  }
}

/* ============================================
   15. CAMPAIGN
============================================ */

.campaign {
  background-color: var(--clr-light);
  padding-block-end: 80px;
}

.campaign__top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.campaign__top-box {
  width: 100%;
  height: 120px;
  background-color: var(--clr-gold);
}

.campaign__top-desc {
  font-size: 25px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: #373737;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.campaign__top-desc span {
  font-weight: 600;
  color: var(--clr-dark);
}

.campaign__bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
}

.campaign__bottom-icon {
  width: 100%;
  max-width: 28px;
  margin-bottom: 30px;
}

.campaign__bottom-desc {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: #373737;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .campaign__top,
  .campaign__bottom {
    flex-direction: row;
    align-items: end;
  }

  .campaign__top-desc {
    max-width: 60%;
  }

  .campaign__bottom-text {
    max-width: 500px;
  }

  .campaign__bottom-icon {
    max-width: 40px;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  .campaign {
    padding-block-end: 100px;
  }

  .campaign__top-box {
    height: 220px;
    max-width: 60%;
  }

  .campaign__top-desc {
    font-size: 35px;
    max-width: 590px;
  }

  .campaign__bottom {
    margin-top: 80px;
  }

  .campaign__bottom-text {
    display: flex;
    align-items: start;
    max-width: 100%;
    gap: 60px;
  }

  .campaign__bottom-icon {
    max-width: 50px;
  }

  .campaign__bottom-desc {
    font-size: 25px;
    max-width: 444px;
  }
}

/* ============================================
   16. FOOTER
============================================ */

.footer {
  border-top: 1px solid rgba(55, 55, 55, 0.2);
  background-color: var(--clr-light);
  padding-block: 30px;
}

.footer__layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  width: 100%;
  max-width: 75px;
}

.footer__copy {
  display: flex;
  flex-direction: column;
}

.footer__org {
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-dark);
}

.footer__rights {
  font-size: 16px;
  color: #373737;
}

.footer__nav {
  display: flex;
  gap: 40px;
}

.footer__nav-link {
  font-size: 16px;
  color: #373737;
  text-underline-offset: 3px;
}

.footer__nav-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer__layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer__brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .footer__copy {
    flex-direction: row;
    gap: 8px;
  }
}
