/*
 * Drop by Drop – About page (templates/about.php)
 * Builds on dbd-home.css (typography, buttons, FAQ, CTA band).
 */

.page-id-19 .main-page-wrapper {
  padding-top: 0;
}

.page-id-19 .wd-content-layout {
  padding-bottom: 0;
}

/* ---------- Hero ---------- */
.dbd-ab-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100vw;
  min-height: clamp(520px, 78vh, 760px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.dbd-ab-hero-media,
.dbd-ab-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dbd-ab-hero-media {
  z-index: -1;
}

.dbd-ab-hero-media img {
  object-fit: cover;
  object-position: center 35%;
  animation: dbd-ab-zoom 18s ease-out both;
}

@keyframes dbd-ab-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.dbd-ab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.15) 0%, rgba(14, 12, 10, 0.25) 40%, rgba(14, 12, 10, 0.82) 100%);
}

.dbd-ab-hero-copy {
  width: 100%;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.dbd-ab-hero .dbd-eyebrow {
  color: #e7cfa5 !important;
}

.dbd-ab-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: var(--dbd-serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.98;
}

.dbd-ab-hero h1 em {
  color: #e7cfa5;
  font-weight: 500;
}

.dbd-ab-hero-copy > p:last-child {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

/* ---------- Stats ---------- */
.dbd-ab-stats {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--dbd-night);
  color: #fff;
}

.dbd-ab-stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 36px;
  padding-bottom: 36px;
}

.dbd-ab-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.dbd-ab-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.dbd-ab-stats b {
  color: var(--dbd-gold-soft);
  font-family: var(--dbd-serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
}

.dbd-ab-stats span {
  max-width: 200px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

/* ---------- Story ---------- */
.dbd-ab-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.dbd-ab-story-media {
  position: relative;
  padding: 0 14% 14% 0;
}

.dbd-ab-story-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--dbd-radius-lg);
}

.dbd-ab-story-media .dbd-ab-story-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 3 / 4;
  border: 8px solid #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(40, 25, 10, 0.5);
}

.dbd-ab-story-copy > p:not(.dbd-eyebrow) {
  margin-top: 20px;
  color: var(--dbd-muted);
}

.dbd-ab-story-copy .dbd-lead {
  margin-top: 24px !important;
  color: var(--dbd-ink) !important;
}

.dbd-ab-quote {
  margin: 34px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--dbd-accent);
}

.dbd-ab-quote p {
  color: var(--dbd-ink);
  font-family: var(--dbd-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-style: italic;
  line-height: 1.3;
}

.dbd-ab-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--dbd-muted);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Morocco ---------- */
.dbd-ab-morocco {
  background: var(--dbd-ivory);
}

.dbd-ab-scents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dbd-ab-scents li {
  display: flex;
  flex-direction: column;
}

.dbd-ab-scent-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #fff 0%, #f1e8da 70%);
  box-shadow: inset 0 0 0 1px rgba(180, 138, 62, 0.18);
}

.dbd-ab-scent-img img {
  position: absolute;
  inset: 19%;
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(40, 25, 10, 0.22));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dbd-ab-scents li:hover .dbd-ab-scent-img img {
  transform: scale(1.08) rotate(-4deg);
}

.dbd-ab-scents h3 {
  font-family: var(--dbd-serif);
  font-size: 28px;
  font-weight: 600;
}

.dbd-ab-scents p {
  margin-top: 8px;
  color: var(--dbd-muted);
  font-size: 15px;
}

/* ---------- Medina ---------- */
.dbd-ab-medina-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.dbd-ab-medina-copy > p:not(.dbd-eyebrow) {
  margin-top: 20px;
  color: var(--dbd-muted);
}

.dbd-ab-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dbd-ab-mosaic img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.dbd-ab-mosaic img:nth-child(2) {
  margin-top: 48px;
}

.dbd-ab-mosaic img:nth-child(3) {
  margin-top: -48px;
}

/* ---------- Values ---------- */
.dbd-ab-values {
  padding-top: 0;
}

.dbd-ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dbd-ab-values-grid li {
  padding: 30px 26px;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius-lg);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dbd-ab-values-grid li:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(40, 25, 10, 0.35);
}

.dbd-ab-values-grid .dbd-icon-lg {
  color: var(--dbd-accent);
}

.dbd-ab-values-grid h3 {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 750;
}

.dbd-ab-values-grid p {
  margin-top: 8px;
  color: var(--dbd-muted);
  font-size: 15px;
}

/* ---------- FAQ + CTA ---------- */
.dbd-ab-faq {
  background: var(--dbd-ivory);
}

.dbd-ab-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}

.dbd-ab-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 650;
}

.dbd-ab-insta .dbd-icon {
  width: 20px;
  height: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dbd-ab-scents,
  .dbd-ab-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dbd-ab-story-grid,
  .dbd-ab-medina-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dbd-ab-stats ul {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .dbd-ab-stats li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .dbd-ab-stats b {
    font-size: 42px;
  }

  .dbd-ab-scents {
    gap: 28px 16px;
  }

  .dbd-ab-scents h3 {
    font-size: 23px;
  }

  .dbd-ab-values-grid {
    grid-template-columns: 1fr;
  }

  .dbd-ab-mosaic img:nth-child(2),
  .dbd-ab-mosaic img:nth-child(3) {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dbd-ab-hero-media img {
    animation: none;
  }
}
