/* ============================================================================
   "من نحن" — brand story page. Same black + gold as the shop; headings in
   Amiri (classical Naskh) for a printed-label feel. The recurring shape is the
   hexagon from the logo, filled with real photos of Maria's jars.
   ============================================================================ */

.about-page {
  --honey: #c98a1c;
  --line: rgba(212, 169, 58, 0.28);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.ab {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.ab h1,
.ab h2 {
  font-family: 'Amiri', 'Cairo', serif;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 14px;
  line-height: 1.35;
}
.ab h1 { font-size: clamp(38px, 6.4vw, 66px); line-height: 1.25; }
.ab h2 { font-size: clamp(27px, 3.6vw, 38px); }
.ab p {
  margin: 0;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.95;
  max-width: 34em;
}

.ab-hex {
  clip-path: var(--hex);
  margin: 0;
  overflow: hidden;
  background: var(--black-card);
}
.ab-hex img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Hero: title + honeycomb of real jars --------------------------------- */

.ab-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 72px;
}
.ab-lead { font-size: 19px; color: var(--text); opacity: .86; }

/* Pointy-top hexagons in rows of 2 / 3 / 2. */
.ab-comb {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  aspect-ratio: 3 / 2.887;
}
.ab-comb .ab-hex {
  position: absolute;
  width: calc(100% / 3);
  height: 40%;
  transform: scale(.955);
}
.ab-comb .p1 { inset-inline-start: 16.667%; top: 0; }
.ab-comb .p2 { inset-inline-start: 50%;     top: 0; }
.ab-comb .p3 { inset-inline-start: 0;       top: 30%; }
.ab-comb .p4 { inset-inline-start: 33.333%; top: 30%; }
.ab-comb .p5 { inset-inline-start: 66.667%; top: 30%; }
.ab-comb .p6 { inset-inline-start: 16.667%; top: 60%; }
.ab-comb .p7 { inset-inline-start: 50%;     top: 60%; }
/* The centre cell carries the gold frame from the logo's hexagon. */
.ab-comb .core {
  background: var(--gold);
  padding: 4px;
  z-index: 1;
}
.ab-comb .core img { clip-path: var(--hex); }

/* One moment on load: the comb fills in, cell by cell, from the centre. */
@media (prefers-reduced-motion: no-preference) {
  .ab-comb .ab-hex { animation: ab-cell .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ab-comb .p4 { animation-delay: .05s; }
  .ab-comb .p1 { animation-delay: .2s; }
  .ab-comb .p2 { animation-delay: .3s; }
  .ab-comb .p5 { animation-delay: .4s; }
  .ab-comb .p7 { animation-delay: .5s; }
  .ab-comb .p6 { animation-delay: .6s; }
  .ab-comb .p3 { animation-delay: .7s; }
  @keyframes ab-cell {
    from { opacity: 0; transform: scale(.82); }
    to   { opacity: 1; transform: scale(.955); }
  }
}

/* ---- اختيار بعناية -------------------------------------------------------- */

.ab-care {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.ab-care-photo {
  margin: 0;
  position: relative;
  max-width: 440px;
  justify-self: center;
}
.ab-care-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
}
/* A thin gold frame offset behind the photo, like a label border. */
.ab-care-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
}

/* ---- Rare honeys: real jars from lightest to darkest ---------------------- */

.ab-range {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.ab-range-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
  margin-bottom: 40px;
}
.ab-spectrum { margin: 0; }
.ab-spectrum ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.ab-spectrum li { margin: 0; }
.ab-spectrum img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  border-radius: 3px;
}
.ab-spectrum li span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
/* The bar under the jars is the colour of the honeys themselves. */
.ab-spectrum figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}
.ab-spectrum figcaption i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to left, #f3e2bd, #e9b54a 30%, #c3741a 58%, #7a3410 82%, #2b1408);
}

/* ---- ثقة: real customer photos --------------------------------------------- */

.ab-trust {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.ab-trust .btn { margin-top: 24px; }
.ab-wall {
  /* Flat-top cells that interlock: each overlaps the previous by a quarter. */
  --n: var(--all, 7);
  --w: calc(100% / (var(--n) * .75 + .25));
  display: flex;
  padding-bottom: calc(var(--w) * .433);
}
.ab-wall-hex {
  flex: 0 0 var(--w);
  aspect-ratio: 1.1547 / 1;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  border: 0;
  padding: 0;
  cursor: pointer;
  transform: scale(.95);
  transition: transform .2s, filter .2s;
}
.ab-wall-hex + .ab-wall-hex { margin-inline-start: calc(var(--w) * -.25); }
.ab-wall-hex:nth-child(even) { translate: 0 50%; }
.ab-wall-hex:hover,
.ab-wall-hex:focus-visible { outline: none; filter: brightness(1.12); transform: scale(.99); }

/* ---- Closing ------------------------------------------------------------------ */

.ab-close {
  text-align: center;
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}
.ab-close p { margin: 0 auto 28px; }
.ab-close-mark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
}
.ab-close .btn { padding: 14px 34px; font-size: 16px; }

/* ---- Phones / tablets -------------------------------------------------------- */

@media (max-width: 860px) {
  .ab-hero,
  .ab-care,
  .ab-trust { grid-template-columns: 1fr; gap: 36px; }
  .ab-hero { padding: 36px 0 56px; }
  .ab-comb { order: -1; max-width: 400px; }
  .ab-care-photo { max-width: 360px; justify-self: center; margin-inline-end: 18px; }
  .ab-range-text { grid-template-columns: 1fr; }
  .ab-care, .ab-range, .ab-trust { padding: 56px 0; }
}

@media (max-width: 640px) {
  .ab p { font-size: 16px; }
  .ab-lead { font-size: 17px; }
  /* Jars become a sideways scroll, still lightest → darkest. */
  .ab-spectrum ol {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  .ab-spectrum ol::-webkit-scrollbar { display: none; }
  .ab-spectrum li { flex: 0 0 34%; scroll-snap-align: start; }
  .ab-wall { --n: min(var(--all, 5), 5); }
  .ab-wall-hex:nth-child(n + 6) { display: none; }
  .ab-care-photo { max-width: 300px; }
  .ab-spectrum li { flex-basis: 30%; }
}
