/* Nseem El Khair — About page (redesign 15 Nov).
   Builds on home-v4.css (tokens, header, footer, reveals) and products.css (crumbs, sr-only).
   Language: quiet bento cards, hairlines, pill labels, line icons in soft tiles,
   big display statements, one red card for emphasis, photos in soft 3:2 frames. */

.ab { --ab-r: clamp(20px, 2vw, 28px); --ab-gap: clamp(12px, 1.4vw, 20px); --ice: #8fd3ff; }
.ab-wrap { width: min(1280px, 100% - 2 * clamp(16px, 5vw, 64px)); margin-inline: auto; }
.ab-ico { width: 20px; height: 20px; flex: none; display: block; }

/* ── shared bits ── */
.ab-tag {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: .42rem .95rem .42rem .7rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  background: #fff;
}
.ab-tag .ab-ico { width: 16px; height: 16px; color: var(--red); }
.ab-tag--dark { border-color: #ffffff1f; background: #ffffff0d; color: #e9e2de; }
.ab-tag--dark .ab-ico { color: var(--salmon); }

.ab-head { display: grid; gap: clamp(14px, 1.6vw, 20px); margin-bottom: clamp(32px, 4vw, 56px); }
.ab-head > div { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.ab-head h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: .96; max-width: 16ch; }
.ab-head--light h2 { color: #fff; }

/* icon tile used on cards */
.ab-badge {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px;
  background: #ad203112; color: var(--red);
}
.ab-badge .ab-ico { width: 24px; height: 24px; }
.ab-badge--light { background: #ffffff24; color: #fff; }

.ab-frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--ab-r); background: var(--paper-2); isolation: isolate; margin: 0; }
.ab-frame img, .ab-card--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

.ab-sheet {
  position: relative; z-index: 2; margin-top: calc(-1 * var(--R)); border-radius: var(--R) var(--R) 0 0;
  background: var(--paper); color: var(--ink); padding: clamp(72px, 9vw, 128px) 0 calc(clamp(72px, 9vw, 128px) + var(--R));
}
.ab-dark {
  position: relative; z-index: 3; margin-top: calc(-1 * var(--R)); border-radius: var(--R) var(--R) 0 0;
  background: var(--night); color: #fff; padding: clamp(72px, 9vw, 128px) 0 calc(clamp(72px, 9vw, 128px) + var(--R));
}

/* glass chip over photos */
.ab-chip {
  position: absolute; left: clamp(14px, 2vw, 22px); bottom: clamp(14px, 2vw, 22px);
  display: inline-flex; align-items: center; gap: 10px; padding: .45rem 1rem .45rem .45rem; border-radius: 999px;
  background: #181514b8; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid #ffffff26; color: #fff; font-size: .85rem; font-weight: 600;
}
.ab-chip__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #8fd3ff2e; color: var(--ice); }
.ab-chip__ico .ab-ico { width: 17px; height: 17px; }
.ab-chip--light { background: #ffffffd9; color: var(--ink); border-color: #ffffff; }
.ab-chip--light .ab-chip__ico { background: #ad203114; color: var(--red); }

/* ═════════ Hero ═════════ */
.ab-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff;
  padding: clamp(112px, 12vw, 150px) 0 calc(clamp(48px, 6vw, 80px) + var(--R));
}
.ab-hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, #ad20314d, transparent 70%),
    radial-gradient(40% 50% at 0% 100%, #ff827d1a, transparent 70%);
}
.ab-hero__glow::after {      /* faint dot grid */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(#ffffff14 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.ab-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ab-hero__copy { display: grid; justify-items: start; gap: clamp(16px, 1.8vw, 24px); }
.ab-hero__title { font-size: clamp(3.4rem, 8.4vw, 8.2rem); line-height: .86; letter-spacing: -.045em; }
.ab-hero__lead { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.55; color: #f3eeea; max-width: 46ch; }
.ab-hero__text {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; max-width: 52ch;
  padding: 16px 18px; border-radius: 18px; background: #ffffff0a; border: 1px solid #ffffff14;
  font-size: clamp(.95rem, 1.05vw, 1.02rem); line-height: 1.65; color: var(--muted);
}
.ab-hero__text .ab-ico { width: 24px; height: 24px; color: var(--salmon); margin-top: 2px; }
.ab-hero__media { position: relative; margin: 0; }
.ab-hero__media .ab-frame { box-shadow: 0 50px 90px -50px #000, 0 0 0 1px #ffffff14; }

.ab-steps {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
  margin-top: clamp(40px, 5vw, 72px); padding-top: 26px;
}
.ab-steps::before {            /* the line the steps sit on */
  content: ""; position: absolute; left: 24px; right: 24px; top: 50px; height: 1px;
  background: linear-gradient(90deg, #ff827d80, #ffffff1f 60%, #8fd3ff66);
}
.ab-steps li { position: relative; display: flex; align-items: center; gap: 14px; }
.ab-steps__ico {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: var(--charcoal-2, #201b1a); border: 1px solid #ffffff1f; color: var(--salmon);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.ab-steps li:nth-child(3) .ab-steps__ico { color: var(--ice); }
.ab-steps li:hover .ab-steps__ico { background: var(--red); color: #fff; transform: translateY(-3px); }
.ab-steps__txt { display: grid; font-weight: 600; font-size: clamp(.92rem, 1.05vw, 1rem); color: #f0ebe7; line-height: 1.2; }
.ab-steps__txt small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }

/* ═════════ Vision · Mission · Goals ═════════ */
.ab-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--ab-gap); }
.ab-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px);
  padding: clamp(22px, 2.6vw, 36px); border-radius: var(--ab-r);
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -36px #3a1a1466;
  transition: transform .5s var(--ease), box-shadow .4s;
}
.ab-card:not(.ab-card--photo):hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #ad203133, 0 34px 50px -36px #3a1a1480; }
.ab-card--vision  { grid-column: span 6; }
.ab-card--mission { grid-column: span 6; background: var(--red); color: #fff;
  background-image: radial-gradient(90% 120% at 100% 0%, #d03045 0%, #ad203100 60%); box-shadow: none; }
.ab-card--mission:hover { box-shadow: 0 34px 50px -30px #ad2031a6 !important; }
.ab-card--goals   { grid-column: span 7; }
.ab-card--photo   { grid-column: span 5; padding: 0; margin: 0; min-height: 320px; background: var(--paper-2); }
.ab-card--photo:hover img { transform: scale(1.04); }

/* big faint icon in the corner of Vision / Mission */
.ab-card__mark { position: absolute; right: -18px; bottom: -22px; color: var(--red); opacity: .06; pointer-events: none; }
.ab-card__mark .ab-ico { width: 190px; height: 190px; stroke-width: 1; }
.ab-card--mission .ab-card__mark { color: #fff; opacity: .1; }

.ab-card__top { display: flex; align-items: center; gap: 14px; }
.ab-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ab-card--mission .ab-card__label { color: #ffe1dd; }
.ab-card__title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.ab-statement {
  position: relative; margin-top: auto; max-width: 30ch;
  max-width: 46ch;
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.65; text-wrap: pretty;
}
.ab-card--vision .ab-statement { color: var(--ink-soft); }

.ab-goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ab-goals li {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  transition: border-color .3s, background-color .3s;
}
.ab-goals li:hover { border-color: #ad203159; background: #fff; }
.ab-goals__ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: #fff; color: var(--red); box-shadow: 0 0 0 1px var(--line); transition: background-color .3s, color .3s;
}
.ab-goals li:hover .ab-goals__ico { background: var(--red); color: #fff; box-shadow: none; }
.ab-goals p { padding-top: 2px; padding-right: 18px; font-size: .97rem; font-weight: 500; line-height: 1.45; color: var(--ink); }
.ab-goals small { position: absolute; top: 12px; right: 14px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; color: #b9aea6; }

/* ═════════ Product categories ═════════ */
.ab-cats__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: var(--ab-gap); }
.ab-cats__top .ab-head { margin-bottom: 0; }
.ab-cats__intro { color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1rem); max-width: 36ch; }
.ab-cats__media { box-shadow: 0 0 0 1px #ffffff14; }

.ab-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ab-gap); }
.ab-cat {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 2.2vw, 28px); border-radius: var(--ab-r);
  background: linear-gradient(180deg, #ffffff0f, #ffffff05); box-shadow: inset 0 0 0 1px #ffffff17;
  transition: box-shadow .35s, transform .5s var(--ease);
}
.ab-cat:hover, .ab-cat:focus-within { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #ff827d73, 0 30px 50px -30px #000; }
.ab-cat__top { display: flex; align-items: center; justify-content: space-between; }
.ab-cat__ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: #ff827d1f; color: var(--salmon); transition: background-color .3s, color .3s;
}
.ab-cat__ico .ab-ico { width: 26px; height: 26px; }
.ab-cat:hover .ab-cat__ico { background: var(--red); color: #fff; }
.ab-cat__no { font-family: var(--font-accent); font-style: italic; font-size: 1.7rem; line-height: 1; color: #ffffff59; }
.ab-cat__title { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.04; margin-top: 6px; }
.ab-cat__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole card is the link */
.ab-cat__title a:focus-visible { outline: none; }
.ab-cat:has(a:focus-visible) { outline: 2px solid var(--salmon); outline-offset: 3px; }
.ab-cat p { color: var(--muted); line-height: 1.6; font-size: .97rem; }
.ab-cat__media { margin-top: auto; border-radius: 16px; }
.ab-cat:hover .ab-cat__media img { transform: scale(1.05); }

.ab-cat__mosaic { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; }
.ab-cat__mosaic li { position: relative; overflow: hidden; background: #ffffff0d; }
.ab-cat__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ab-cat__mosaic span {
  position: absolute; left: 8px; bottom: 8px; padding: .2rem .55rem; border-radius: 999px;
  background: #181514b8; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 600; color: #fff;
}
.ab-cat:hover .ab-cat__mosaic img { transform: scale(1.06); }

.ab-cat__go { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; font-size: .92rem; font-weight: 600; color: #fff; }
.ab-cat__go i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); transition: transform .4s var(--ease), background-color .25s; }
.ab-cat__go .ab-ico { width: 18px; height: 18px; stroke-width: 2; }
.ab-cat:hover .ab-cat__go i { transform: rotate(45deg); background: var(--red-bright); }

/* ═════════ Why Nseem El Khair — circle of care ═════════ */
.ab-why { z-index: 4; border-radius: var(--R); padding-bottom: clamp(72px, 9vw, 128px); overflow: clip; }
.ab-why__head { justify-items: center; text-align: center; }
.ab-why__head h2 { margin-inline: auto; }

/* pentagon around the hub: 1 top · 2 upper-right · 3 lower-right · 4 lower-left · 5 upper-left */
.ab-wheel {
  --hub: clamp(320px, 30vw, 440px);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--hub) minmax(0, 1fr); column-gap: clamp(64px, 6.5vw, 112px);
  grid-template-areas:
    ".   p1  .  "
    "p5  hub p2 "
    "p4  hub p3 ";
  align-items: center;
}
.ab-hub { grid-area: hub; }
.ab-point--1 { grid-area: p1; justify-self: center; text-align: center; margin-bottom: clamp(64px, 6vw, 84px); }
.ab-point--2 { grid-area: p2; align-self: end; margin-bottom: 18px; }
.ab-point--3 { grid-area: p3; align-self: start; margin-top: 18px; padding-left: 7%; }
.ab-point--4 { grid-area: p4; align-self: start; margin-top: 18px; text-align: right; justify-self: end; padding-right: 7%; }
.ab-point--5 { grid-area: p5; align-self: end; margin-bottom: 18px; text-align: right; justify-self: end; }

/* the hub */
.ab-hub { position: relative; width: var(--hub); aspect-ratio: 1; }
.ab-hub__orbit { position: absolute; inset: -6%; width: 112%; height: 112%; color: #c9bdb3; animation: spin 60s linear infinite; }
.ab-hub__words { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite reverse; }
.ab-hub__words text { font: 700 11.5px var(--font-body); letter-spacing: .2em; text-transform: uppercase; fill: var(--red); opacity: .75; }
.ab-hub__photo {
  position: absolute; inset: 9%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 40px 70px -30px #3a1a14b3;
}
/* a square image already cut to a circle; scaled a touch so its own thin margin sits outside the clip */
.ab-hub__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.ab-wheel.has-hot .ab-hub__photo img { transform: scale(1.09); }

/* icon nodes sit on the orbit at the pentagon angles */
.ab-node {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: #fff; color: var(--red); box-shadow: 0 0 0 1px var(--line), 0 14px 24px -14px #3a1a1499;
  transform: rotate(var(--a)) translateX(calc(var(--hub) * .56)) rotate(calc(-1 * var(--a)));
  transition: background-color .35s, color .35s, box-shadow .35s, scale .45s var(--ease);
}
.ab-node .ab-ico { width: 25px; height: 25px; }
.ab-node.is-hot { background: var(--red); color: #fff; scale: 1.18; box-shadow: 0 0 0 8px #ad20311f, 0 18px 30px -14px #ad2031; }

/* the points */
.ab-point { max-width: 330px; padding: 6px 0; outline: none; cursor: default; }
.ab-point__no {
  display: block; font-family: var(--font-accent); font-style: italic; line-height: .8; letter-spacing: -.04em;
  font-size: clamp(2.6rem, 3.6vw, 3.4rem); color: #d9cfc7; transition: color .35s;
}
.ab-point__title {
  display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 6px; color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 92, "opsz" 32;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.1; letter-spacing: -.02em;
}
.ab-point--4 .ab-point__title, .ab-point--5 .ab-point__title { flex-direction: row-reverse; }
.ab-point__ico { display: none; }
.ab-point p { color: var(--ink-soft); line-height: 1.55; font-size: clamp(.95rem, 1.05vw, 1.02rem); }
.ab-point.is-hot .ab-point__no { color: var(--red); }
.ab-point:focus-visible { outline: 2px solid var(--salmon); outline-offset: 6px; border-radius: 8px; }

/* ═════════ Responsive ═════════ */
@media (max-width: 1100px) {
  /* wheel → circle on top, then the five points in a two-column list */
  .ab-wheel { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "hub hub" "p1 p2" "p3 p4" "p5 ."; gap: 28px 32px; }
  .ab-hub { justify-self: center; margin-bottom: 40px; --hub: min(440px, 80vw); }
  .ab-point, .ab-point--1, .ab-point--2, .ab-point--3, .ab-point--4, .ab-point--5 {
    justify-self: stretch; align-self: start; text-align: left; margin: 0; padding: 0 0 0 0; max-width: none;
  }
  .ab-point--4 .ab-point__title, .ab-point--5 .ab-point__title { flex-direction: row; }
  .ab-point { border-top: 1px solid var(--line); padding-top: 18px; }
}
@media (max-width: 1080px) {
  .ab-card--goals, .ab-card--photo { grid-column: span 12; }
  .ab-card--photo { aspect-ratio: 3 / 2; min-height: 0; }
  .ab-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .ab-steps::before { display: none; }
}
@media (max-width: 899px) {
  /* text above images; Vision → Mission → Goals → image */
  .ab-hero__grid, .ab-cats__top { grid-template-columns: 1fr; }
  .ab-card--vision, .ab-card--mission { grid-column: span 12; }
  .ab-cats__grid { grid-template-columns: 1fr; }
  .ab-statement { margin-top: 0; }
}
@media (max-width: 560px) {
  .ab-wheel { grid-template-columns: 1fr; grid-template-areas: "hub" "p1" "p2" "p3" "p4" "p5"; }
  .ab-node { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ab-node .ab-ico { width: 20px; height: 20px; }
  .ab-goals { grid-template-columns: 1fr; }
  .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-hero__text { grid-template-columns: 1fr; }
  .ab-chip { font-size: .78rem; }
  .ab-card__mark .ab-ico { width: 140px; height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-card:hover, .ab-cat:hover { transform: none; }
  .ab-hub__orbit, .ab-hub__words { animation: none; }
}
