/* =========================================================
   NAGHAM PERFUME — عن نغم
   Contact / brand page — clean white, centred, modern luxury.
   RTL-first, logical properties only (no left/right).
   Depends on tokens from style.css.

   >=1200px : locked to one viewport, no scroll (laptop/desktop)
   <1200px  : stacks and scrolls (phones, iPad, iPad Pro portrait)
   ========================================================= */

.about {
  /* .site-header is position:fixed and reserves no space of its own,
     so the page offsets itself. */
  --gap-top: clamp(0rem, 0.5vh, 0.4rem);
  --rule: color-mix(in oklch, var(--ink) 10%, transparent);
  --gold-hair: color-mix(in srgb, var(--gold) 26%, transparent);

  /* Pure white. No tints, no washes — nothing that can read pink. */
  background: #fff;
  padding-block-start: calc(var(--header-h) + var(--gap-top));
}

.about__split {
  inline-size: 100%;
  max-inline-size: 1500px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
  .about {
    block-size: 100svh;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .about__split {
    /* Content first in the DOM -> right in RTL. Artwork second -> left. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr);
    align-items: center;
    min-block-size: 0;
  }
}

/* ---------- Artwork ---------- */
.about__art {
  position: relative;
  display: grid;
  place-items: center;
  min-block-size: 0;
  /* inline-end is the outer edge in RTL — keeps the photo off the screen edge */
  padding-block: clamp(0.25rem, 1vw, 0.75rem);
  padding-inline: clamp(0.5rem, 1.5vw, 1.5rem) clamp(1rem, 3vw, 3rem);
}

.about__art img {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
  max-block-size: min(100%, 720px);
  object-fit: contain;
  /* The source art sits slightly low and slightly to the left —
     nudge it back to true centre. */
  translate: 2% -5.5%;
  /* Feathered edges so the photo's cream backdrop dissolves into the page */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- Content panel ---------- */
.about__panel {
  display: grid;
  place-items: center;
  min-block-size: 0;
  padding: clamp(1rem, 2.6vw, 1.75rem) var(--gutter);
}

.about__inner {
  inline-size: 100%;
  max-inline-size: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.9rem, 1.8vh, 1.4rem);
}

/* ---------- Eyebrow ---------- */
.about__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  inline-size: 100%;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
}

.about__eyebrow-mark {
  inline-size: 5px;
  block-size: 5px;
  flex: none;
  rotate: 45deg;
  background: var(--gold);
}

.about__eyebrow-rule {
  inline-size: clamp(34px, 6vw, 68px);
  block-size: 2px;
  flex: none;
  border-radius: 2px;
  background: linear-gradient(to left, var(--gold), color-mix(in srgb, var(--gold) 8%, transparent));
}

.about__eyebrow-rule:last-child {
  background: linear-gradient(to right, var(--gold), color-mix(in srgb, var(--gold) 8%, transparent));
}

.about__eyebrow--mobile { display: none; }

/* ---------- Headline ----------
   The one element allowed to be loud. */
.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  font-size: clamp(3.1rem, 1.4rem + 4.6vw, 5rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.about__title span { display: block; }
.about__title .t-gold { color: var(--gold); }

.about__lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-soft);
  max-inline-size: 40ch;
  text-wrap: pretty;
}

/* ---------- Location ----------
   Sits between the lead and the WhatsApp card: a quiet gold-pin line
   that tells the visitor where the shop actually is. */
.about__place {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-block-start: 1.15rem;
  font-size: clamp(.95rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 500;
  color: var(--ink-soft);
}

.about__place-ic {
  display: grid;
  place-items: center;
  inline-size: 26px;
  block-size: 26px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-hair);
  background: color-mix(in srgb, var(--gold) 9%, #fff);
}

.about__place-ic svg {
  inline-size: 15px;
  block-size: 15px;
  fill: var(--gold-deep);
}

/* ---------- Primary action ----------
   One card. Label and number sit together on the reading side,
   the gold pill closes it on the other — nothing floats loose. */
.about__contact {
  position: relative;
  overflow: hidden;
  inline-size: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.8rem 0.75rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--gold-hair);
  text-align: start;
  box-shadow: 0 16px 34px -26px rgba(23, 19, 16, 0.38);
  transition: transform 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo),
              border-color 0.45s var(--ease-luxe);
}

.about__contact:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 58%, transparent);
  box-shadow: 0 24px 44px -26px rgba(23, 19, 16, 0.45);
}

.about__contact-text { min-inline-size: 0; }

.about__contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.about__contact-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.62rem);
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: var(--ink);
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}

.about__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--gold-deep) 0%, var(--gold) 48%, var(--gold-light) 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 10px 22px -14px rgba(143, 106, 31, 0.85);
}

.about__contact-btn svg { inline-size: 18px; block-size: 18px; flex: none; fill: currentColor; }

.about__contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%,
    color-mix(in srgb, var(--gold) 12%, transparent) 50%, transparent 66%);
  translate: -120% 0;
  transition: translate 1.1s var(--ease-luxe);
  pointer-events: none;
}

.about__contact:hover::after { translate: 120% 0; }

/* ---------- Follow ----------
   One card per platform: the mark, the platform name, and that
   platform's own handle. Handles differ, so each is printed. */
.about__follow {
  inline-size: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.about__follow-label {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
}

.about__socials {
  inline-size: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.about__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--rule);
  background: #fff;
  text-align: start;
  min-inline-size: 0;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-luxe),
              box-shadow 0.4s var(--ease-luxe);
}

.about__social-ic {
  display: grid;
  place-items: center;
  inline-size: 36px;
  block-size: 36px;
  flex: none;
  border-radius: 11px;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  transition: background-color 0.4s var(--ease-luxe);
}

.about__social-ic svg {
  inline-size: 18px;
  block-size: 18px;
  fill: var(--brand);
  transition: fill 0.4s var(--ease-luxe);
}

.about__social-txt { min-inline-size: 0; }

.about__social-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.about__social-handle {
  display: block;
  font-family: var(--font-en);
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink);
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about__social:hover,
.about__social:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: 0 14px 26px -18px color-mix(in srgb, var(--brand) 80%, transparent);
}

.about__social:hover .about__social-ic {
  background: var(--brand);
}

.about__social:hover .about__social-ic svg { fill: #fff; }

/* Real brand colours — accents only, so the page stays white */
.about__social--ig { --brand: #D62976; }
.about__social--tt { --brand: #171310; }
.about__social--fb { --brand: #1877F2; }
.about__social--sc { --brand: #C9A400; }

/* Snapchat's yellow needs a dark glyph on hover */
.about__social--sc:hover .about__social-ic svg { fill: var(--ink); }

/* ---------- Stats ----------
   Full-width row under both columns. Compact on purpose: on desktop it
   shares the same 100svh, so the split above simply gives up the space. */
.about__assure {
  inline-size: 100%;
  max-inline-size: 1500px;
  margin-inline: auto;
  list-style: none;
  margin-block: 0;
  padding-inline: var(--gutter);
  padding-block: clamp(0.7rem, 1.5vh, 1.1rem) clamp(0.9rem, 2vh, 1.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.about__assure li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-inline-size: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  text-align: start;
  transition: border-color 0.4s var(--ease-luxe), box-shadow 0.4s var(--ease-luxe),
              transform 0.4s var(--ease-out-expo);
}

.about__assure li:hover {
  transform: translateY(-2px);
  border-color: var(--gold-hair);
  box-shadow: 0 14px 26px -20px rgba(143, 106, 31, 0.6);
}

.about__assure-ic {
  display: grid;
  place-items: center;
  inline-size: 36px;
  block-size: 36px;
  flex: none;
  border-radius: 11px;
  background: color-mix(in srgb, var(--gold) 9%, #fff);
}

.about__assure svg {
  inline-size: 19px;
  block-size: 19px;
  color: var(--gold-deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__assure b {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.about__assure em {
  display: block;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Phone / tablet / iPad Pro: stack and scroll ---------- */
@media (max-width: 1199px) {
  .about { padding-block-end: clamp(1.75rem, 5vw, 3rem); }

  .about__split { grid-template-rows: auto auto; }

  .about__eyebrow--mobile {
    display: flex;
    inline-size: min(560px, calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    margin-block-end: clamp(0.25rem, 1.5vw, 0.75rem);
  }

  .about__eyebrow--desk { display: none; }

  .about__art {
    grid-row: 1;
    aspect-ratio: 4 / 3;
    padding-inline: clamp(0.5rem, 2vw, 1.5rem);
    padding-block: 0;
  }

  .about__panel { grid-row: 2; padding-block-start: clamp(0.5rem, 2.5vw, 1.25rem); }

  .about__inner { max-inline-size: 560px; }
  .about__assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .about__socials { grid-template-columns: minmax(0, 1fr); }
  .about__art { aspect-ratio: 5 / 4; }
  .about__title { font-size: clamp(2.6rem, 2rem + 5vw, 3.4rem); }

  /* the card goes vertical so the number never gets squeezed */
  .about__contact {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }
  .about__contact-text { text-align: center; }
  .about__contact-num { text-align: center; }

  .about__assure li { padding: 0.55rem 0.6rem; gap: 0.5rem; }
  .about__assure-ic { inline-size: 32px; block-size: 32px; border-radius: 10px; }
  .about__assure b { font-size: 0.8rem; }
  .about__assure em { font-size: 0.68rem; }
}

/* ---------- Short laptops: keep it inside one screen ---------- */
@media (min-width: 1200px) and (max-height: 860px) {
  .about__inner { gap: 0.7rem; }
  .about__title { font-size: clamp(2.5rem, 3.4vw, 3.5rem); }
  .about__lead { font-size: 1rem; line-height: 1.7; }
  .about__contact-num { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
  .about__contact-btn { padding: 0.62rem 1.1rem; font-size: 0.86rem; }
  .about__assure li { padding: 0.5rem 0.7rem; }
  .about__assure-ic { inline-size: 32px; block-size: 32px; border-radius: 10px; }
  .about__social { padding: 0.45rem 0.6rem; }
  .about__social-ic { inline-size: 32px; block-size: 32px; border-radius: 10px; }
  .about__follow-label { font-size: 0.85rem; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  .about__contact,
  .about__contact::after,
  .about__assure li,
  .about__social { transition-duration: 0.01ms; }
  .about__contact:hover,
  .about__assure li:hover,
  .about__social:hover { transform: none; }
}

/* ---------- Focus ---------- */
.about__contact:focus-visible,
.about__social:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
