/* KB#4052 «О нас» — the /about page in the heavy luxury (program KB#4045, item 2; Decision #481).
   One stylesheet, this page only; main.css and main.js are untouched. The page is one deep jade-black in both themes,
   like /how-it-works, /roles and /download; the header and the footer follow the site.
   - The first screen: a photograph generated in ChatGPT (landing-assets/about/hero.webp) — a jade globe with a copper
     network and phones linked to it.
   - Mission and technology: jade plates in a thin copper rim with cast copper tiles from the same shoot.
   - The six roles: the copper role tiles of the home page (KB#3939).
   - Contact: a jade plate with the address in copper.
   All copy, keys and links are unchanged. Text is solid copper or ivory (no gradient-clipped ink, KB#3895), nothing
   smaller than 16 px for the 60+ audience (KB#4024). */

body[data-page="about"] {
  --ab-bg: #04130f;
  --ab-ink: #f5ecdf;
  --ab-copy: #d9e3dd;
  --ab-muted: #bccbc4;
  --ab-copper: #e9b386;
  --ab-rule: rgb(214 152 101 / .5);
  --ab-rim: #b67c4e;
  --ab-gutter: clamp(16px, 2.6vw, 36px);
  --ab-col: 1240px;
  --ab-jade: url("/landing-assets/toc/jade-plate.webp");
  --ab-hero: url("/landing-assets/about/hero.webp");
}
body[data-page="about"] main.ab-page {
  padding-top: 0;
  background: var(--ab-bg);
  color: var(--ab-copy);
  overflow-x: clip;
}
body[data-page="about"] .ab-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--ab-col) + 2 * var(--ab-gutter));
  margin-inline: auto;
  padding-inline: var(--ab-gutter);
}

/* ── the first screen ── */
body[data-page="about"] .ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(400px, 32vw, 520px);
  padding-block: clamp(20px, 2.4vw, 32px) clamp(32px, 3.4vw, 48px);
  background: linear-gradient(180deg, #03120e 0%, #03120e 70%, var(--ab-bg) 100%);
}
body[data-page="about"] .ab-hero-copy { position: relative; z-index: 1; max-width: min(50%, 700px); min-width: 0; }
body[data-page="about"] .ab-hero .breadcrumb-nav { max-width: none; margin: 0 0 clamp(24px, 3.4vw, 48px); padding: 0; background: none; border: 0; box-shadow: none; }
body[data-page="about"] .ab-hero .breadcrumb { font: 400 1.125rem/1.4 var(--pn-font-ui); gap: .25rem .55rem; }
body[data-page="about"] .ab-hero .breadcrumb li,
body[data-page="about"] .ab-hero .breadcrumb li[aria-current="page"] { color: var(--ab-copy); }
body[data-page="about"] .ab-hero .breadcrumb li a { color: var(--ab-copper); text-decoration: underline; text-underline-offset: 3px; }
body[data-page="about"] .ab-hero .breadcrumb li a:hover { color: var(--ab-ink); }
body[data-page="about"] .ab-hero h1 {
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  color: var(--ab-copper);
  font: 600 clamp(2.75rem, 5vw, 4.75rem)/1.06 var(--pn-font-ui);
  letter-spacing: -0.015em;
  text-align: start;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-shadow: 0 2px 0 rgb(70 34 12 / .6), 0 8px 26px rgb(0 0 0 / .65);
}
body[data-page="about"] .ab-lead {
  max-width: 34rem;
  margin: 0;
  color: var(--ab-copy);
  font: 400 clamp(1.25rem, 1.75vw, 1.5rem)/1.45 var(--pn-font-ui);
  text-align: start;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgb(0 8 6 / .8);
}
body[data-page="about"] .ab-hero-art {
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(64%, 1150px);
  background: var(--ab-hero) 66% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .7) 14%, #000 32%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .7) 14%, #000 32%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
[dir="rtl"] body[data-page="about"] .ab-hero-art { transform: scaleX(-1); }

/* ── sections: a copper heading with a rule running to the edge ── */
body[data-page="about"] .ab-section { padding-block: clamp(32px, 3.6vw, 52px) 0; }
body[data-page="about"] .ab-section:last-child { padding-bottom: clamp(48px, 5vw, 72px); }
body[data-page="about"] .ab-h2 {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  color: var(--ab-copper);
  font: 600 clamp(1.875rem, 3vw, 2.625rem)/1.12 var(--pn-font-ui);
  letter-spacing: -0.005em;
  text-align: start;
  overflow-wrap: break-word;
  text-shadow: 0 2px 0 rgb(60 30 12 / .55), 0 6px 18px rgb(0 0 0 / .55);
}
body[data-page="about"] .ab-h2::after {
  content: "";
  flex: 1 1 48px;
  min-width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--ab-rule), rgb(214 152 101 / .18));
}
[dir="rtl"] body[data-page="about"] .ab-h2::after { background: linear-gradient(270deg, var(--ab-rule), rgb(214 152 101 / .18)); }
body[data-page="about"] .ab-sub {
  max-width: 46rem;
  margin: -4px 0 clamp(18px, 2vw, 26px);
  color: var(--ab-copy);
  font: 400 clamp(1.125rem, 1.4vw, 1.25rem)/1.5 var(--pn-font-ui);
  text-align: start;
  text-wrap: pretty;
}

/* ── jade plates in a thin copper rim ── */
body[data-page="about"] .ab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 26px); margin: 0; padding: 0; list-style: none; }
body[data-page="about"] .ab-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  border: 1.5px solid var(--ab-rim);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 236 210 / .08), transparent 38%),
    radial-gradient(120% 140% at 30% 20%, rgb(60 130 96 / .14), rgb(2 18 13 / .26)),
    var(--ab-jade) 50% 50% / 640px auto;
  box-shadow:
    inset 0 1px 0 rgb(255 220 180 / .3),
    inset 0 0 0 1px rgb(20 10 4 / .5),
    0 12px 26px rgb(0 0 0 / .45);
}
body[data-page="about"] .ab-plate-head { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 18px); min-width: 0; }
body[data-page="about"] .ab-tile {
  flex: 0 0 auto;
  width: clamp(60px, 5.2vw, 72px);
  aspect-ratio: 1;
  background: var(--ab-tile) center / contain no-repeat;
  filter: drop-shadow(0 8px 12px rgb(0 0 0 / .45));
}
body[data-page="about"] .ab-plate h3 {
  margin: 0;
  min-width: 0;
  color: var(--ab-copper);
  font: 600 clamp(1.3125rem, 1.6vw, 1.5625rem)/1.22 var(--pn-font-ui);
  text-align: start;
  overflow-wrap: break-word;
  text-shadow: 0 2px 0 rgb(60 30 12 / .5), 0 4px 14px rgb(0 0 0 / .5);
}
body[data-page="about"] .ab-plate p {
  margin: 0;
  color: var(--ab-copy);
  font: 400 clamp(1.0625rem, 1.3vw, 1.1875rem)/1.55 var(--pn-font-ui);
  text-align: start;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
body[data-page="about"] .ab-m1 { --ab-tile: url("/landing-assets/about/mission-network.webp"); }
body[data-page="about"] .ab-m2 { --ab-tile: url("/landing-assets/about/mission-phones.webp"); }
body[data-page="about"] .ab-m3 { --ab-tile: url("/landing-assets/about/mission-fair.webp"); }
body[data-page="about"] .ab-t1 { --ab-tile: url("/landing-assets/about/tech-app.webp"); }
body[data-page="about"] .ab-t2 { --ab-tile: url("/landing-assets/about/tech-token.webp"); }
body[data-page="about"] .ab-t3 { --ab-tile: url("/landing-assets/about/tech-p2p.webp"); }
body[data-page="about"] .ab-r-provider { --ab-tile: url("/landing-assets/roles/icon-provider.webp"); }
body[data-page="about"] .ab-r-investor { --ab-tile: url("/landing-assets/roles/icon-investor.webp"); }
body[data-page="about"] .ab-r-customer { --ab-tile: url("/landing-assets/roles/icon-customer.webp"); }
body[data-page="about"] .ab-r-advertiser { --ab-tile: url("/landing-assets/roles/icon-advertiser.webp"); }
body[data-page="about"] .ab-r-validator { --ab-tile: url("/landing-assets/roles/icon-validator.webp"); }
body[data-page="about"] .ab-r-builder { --ab-tile: url("/landing-assets/roles/icon-builder.webp"); }
/* the customer's tile faces the text: a mirrored render, not a CSS flip (the light stays top-left) */
html[dir="rtl"] body[data-page="about"] .ab-r-customer { --ab-tile: url("/landing-assets/roles/icon-customer-rtl.webp"); }
body[data-page="about"] .ab-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 44px;
  margin-top: auto;
  color: var(--ab-copper);
  font: 600 1.125rem/1.35 var(--pn-font-ui);
  text-align: start;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
body[data-page="about"] .ab-link:hover { color: var(--ab-ink); }
body[data-page="about"] .ab-link:focus-visible { outline: 3px solid #f5ecdf; outline-offset: 3px; border-radius: 2px; }

/* ── contact ── */
body[data-page="about"] .ab-contact { max-width: 720px; }
body[data-page="about"] .ab-contact p { font-size: 1.1875rem; }
body[data-page="about"] .ab-contact a { color: var(--ab-copper); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
body[data-page="about"] .ab-contact a:hover { color: var(--ab-ink); }
body[data-page="about"] .ab-contact a:focus-visible { outline: 3px solid #f5ecdf; outline-offset: 3px; border-radius: 2px; }
body[data-page="about"] .ab-contact .ab-note { color: var(--ab-muted); font-size: 1.0625rem; }

/* the jade runs to the footer */
body[data-page="about"] .footer { margin-top: 0; }

/* ── tablet ── */
@media (max-width: 1199px) {
  body[data-page="about"] .ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  body[data-page="about"] .ab-hero-copy { max-width: min(56%, 540px); }
  body[data-page="about"] .ab-hero-art { width: 66%; }
}

/* ── phone ── */
@media (max-width: 767px) {
  body[data-page="about"] .ab-hero { display: block; min-height: 0; padding-block: 16px 0; }
  body[data-page="about"] .ab-hero-copy { max-width: none; }
  body[data-page="about"] .ab-hero .breadcrumb-nav { margin-bottom: 18px; }
  body[data-page="about"] .ab-hero h1 { font-size: clamp(2.375rem, 11vw, 3rem); }
  body[data-page="about"] .ab-hero-art {
    position: relative;
    inset: auto;
    z-index: 0;
    display: block;
    width: auto;
    aspect-ratio: 16 / 10;
    margin: 14px calc(-1 * var(--ab-gutter)) 0;
    background-position: 70% 50%;
    background-size: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 80%, transparent 100%);
  }
  body[data-page="about"] .ab-section { padding-top: 26px; }
  body[data-page="about"] .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body[data-page="about"] .ab-plate { padding: 18px 16px 16px; }
  body[data-page="about"] .ab-tile { width: 56px; }
  body[data-page="about"] .ab-plate h3 { font-size: 1.3125rem; }
  body[data-page="about"] .ab-plate p { font-size: 1rem; }
}

/* ===================== REAL METAL · KB#4083 S3a =====================
   Decision #502 (Commander, 12.10.2026): metal is real copper poured into the jade, never drawn. The thin copper
   rim of the plates, the copper rim of the buttons, the copper rules and beads were colours; now they are the
   photographed element base (/shared/luxury-elements/, KB#4079): the cast plate rim laid over the edge of the
   plate (an overlay, so nothing moves), the cast copper and dark steel buttons, the cast octagon frame. Hairlines
   are grooves cut into the stone. Composition, copy and photographs stay as they are. */
body[data-page="about"] { --s3-groove: rgb(0 0 0 / .55); --s3-lip: rgb(150 200 170 / .12); }
body[data-page="about"] :is(.ab-plate) {
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: 0 12px 26px rgb(0 0 0 / .45) !important;
}
body[data-page="about"] :is(.ab-plate)::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: 1;
  border: 12px solid transparent;
  border-image: url(/shared/luxury-elements/plate-rim.webp) 130 / 12px stretch;
  pointer-events: none;
}
@media (max-width: 767px) { body[data-page="about"] :is(.ab-plate)::after { border-width: 10px; border-image-width: 10px; } }
body[data-page="about"] .ab-h2::after, [dir="rtl"] body[data-page="about"] .ab-h2::after { background: var(--s3-groove) !important; box-shadow: 0 1px 0 var(--s3-lip); }
