/*
 * call, "Contact" (Home Reframe, chapter 10): the call band in the template's type, centred. The chapter intro, the
 * work-email field (page.css §11), the address, then the short "On the call" agenda: five columns from 1,024 px, a list
 * below. Around the edge, a faint field of the hero's dots that brightens under a fine pointer (section.js).
 * Every rule is scoped to [data-section="call"].
 */

/* NEW TOKENS */
[data-section="call"] {
  --call-dot: rgb(11 13 16 / 0.11);
  --call-dot-hi: rgb(0 103 118 / 0.6);
  position: relative; isolation: isolate; overflow: clip;
}

[data-section="call"] .hf-chapter { position: relative; z-index: 1; }

/* The edge dots: faint, only around the edge; a brighter patch follows the pointer */
[data-section="call"] .call-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--call-dot) 1px, transparent 1.5px);
  background-size: 14px 14px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 64% 62% at 50% 48%, transparent 50%, #000 96%);
          mask-image: radial-gradient(ellipse 64% 62% at 50% 48%, transparent 50%, #000 96%);
}
[data-section="call"] .call-dots::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--call-dot-hi) 1.15px, transparent 1.7px);
  background-size: 14px 14px; background-position: center;
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
          mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
  opacity: var(--mo, 0); transition: opacity var(--hf-dur-4) var(--hf-ease-out);
}

/* The body: centred under the intro */
[data-section="call"] .call-body {
  position: relative; z-index: 1;
  display: grid; justify-items: center; text-align: center;
  max-inline-size: calc(var(--hf-story-max) + 2 * var(--hf-story-pad-x));
  margin-inline: auto;
  padding: 40px var(--hf-story-pad-x) calc(var(--hf-row-pad-y) + 16px);
}
[data-section="call"] .call-form { margin-inline: auto; }
[data-section="call"] .call-note { min-block-size: 0; margin: 8px 0 0; font-size: 14px; color: var(--hf-color-text-2); }
[data-section="call"] .call-note:empty { display: none; }
[data-section="call"] .call-note[data-tone="wait"] { color: var(--hf-color-text-1); }
[data-section="call"] .call-address { margin: 14px 0 0; font-size: 15px; color: var(--hf-color-text-2); }
[data-section="call"] .call-address a { display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; font-weight: 500; }
[data-section="call"] .call-address .hf-icon { font-size: 18px; color: var(--hf-color-sea-600); }

/* "On the call": five short points */
[data-section="call"] .call-agenda {
  inline-size: 100%; margin-block-start: 56px; padding-block-start: 28px;
  border-block-start: 1px solid rgb(11 13 16 / 0.1);
}
[data-section="call"] .call-agenda__k { margin: 0 0 22px; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--hf-color-text-2); }
[data-section="call"] .call-agenda__list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
  margin: 0; padding: 0; list-style: none; text-align: start;
}
[data-section="call"] .call-agenda__list li { display: grid; align-content: start; gap: 6px; }
[data-section="call"] .call-agenda__t { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--hf-color-text-1); }
[data-section="call"] .call-agenda__l { font-size: 14.5px; line-height: 1.5; color: var(--hf-color-text-2); text-wrap: pretty; }

/* Arabic */
[data-section="call"]:lang(ar) .call-agenda__k { letter-spacing: 0; }
[data-section="call"]:lang(ar) .call-agenda__t { font-size: 16px; line-height: 1.5; }
[data-section="call"]:lang(ar) .call-agenda__l { font-size: 15px; line-height: 1.7; }

/* Tablets: three, then two */
@media (max-width: 63.99rem) {
  [data-section="call"] .call-body { padding-block-start: 32px; }
  [data-section="call"] .call-agenda { margin-block-start: 44px; max-inline-size: 640px; }
  [data-section="call"] .call-agenda__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  [data-section="call"] .call-agenda__list li {
    grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 16px;
    padding-block: 12px; border-block-start: 1px solid rgb(11 13 16 / 0.07);
  }
  [data-section="call"] .call-agenda__list li:first-child { border-block-start: 0; padding-block-start: 0; }
  [data-section="call"] .call-agenda__k { text-align: start; margin-block-end: 14px; }
}
@media (max-width: 47.99rem) {
  [data-section="call"] .call-agenda__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  [data-section="call"] .call-dots { -webkit-mask-image: linear-gradient(#000, transparent 18%, transparent 82%, #000); mask-image: linear-gradient(#000, transparent 18%, transparent 82%, #000); }
}
@media (prefers-reduced-motion: reduce) {
  [data-section="call"] .call-dots::after { display: none; }
}
