/* AME FX CAPITAL - the home page's methodology, membership and notice sections only. Loaded after
   portal.css on index.html alone; every rule is scoped to the .hm-* classes, so no other page and no
   other part of the home page changes.

   Owner 2026-10-06 night (the brief "Private Wealth / Luxury Trading Intelligence"): the new copy in
   English and Arabic (German and Russian kept, translated alike); quiet champagne gold #C9A75C for the
   headings and the figure, warm ivory #E7E0D0 for the text, smoke grey #A9A39A for the quiet lines;
   hairlines of transparent gold, no glow, no bright colour; wide white space, measured reading width,
   generous line height. The figure 16 sits in the middle between two fine gold rules, its label in
   small spaced capitals under it. Methodology and membership side by side on a wide screen, one
   column on a phone; the notice smaller and quieter under a transparent gold rule.
   Type (kept inside the site, assets/css/fonts.css): Cormorant Garamond for English headings and the
   figure, Inter for English text; Noto Naskh Arabic for Arabic headings, IBM Plex Sans Arabic for
   Arabic text - no Latin face ever sets Arabic. The page's black, stars and existing motion are untouched;
   it had no on-scroll entrance for these sections, so none is added.
   Owner 2026-10-07 (his brief, then the approved mockup tools/redesign_preview/option_home_cards_pictures.html):
   the figure 16 and its label give way to a lead (a gold title between the same two rules, one quiet line
   under it; the 16 stays in the text below), and the pair become two cards lying on their side, each with his
   own gold picture. The space round the cards is drawn in (no wide empty bands). */

.hm-intel, .hm-pair, .hm-notice {
  --hm-gold: #C9A75C;
  --hm-ivory: #E7E0D0;
  --hm-smoke: #A9A39A;
  --hm-line: rgba(201, 167, 92, .26);
  --hm-serif: "Cormorant Garamond", "Bodoni Moda", "Palatino Linotype", Georgia, serif;
  --hm-sans: "Inter", "Manrope", "Segoe UI", system-ui, sans-serif;
  --hm-ar-head: "Noto Naskh Arabic", "Sakkal Majalla", "Traditional Arabic", serif;
  --hm-ar-text: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  border-top-color: var(--hm-line);
}

/* ── the opening: headline, the lead, the three paragraphs ── */
.hm-intel { padding: clamp(84px, 9vw, 132px) 0 clamp(52px, 4vw, 76px); }
.hm-intel-inner { max-width: 940px; text-align: center; }
.hm-title, .hm-head { text-wrap: balance; }
.hm-title { margin: 0 auto clamp(40px, 4.5vw, 60px); max-width: 18em;
  font-family: var(--hm-serif); font-weight: 400; font-size: clamp(32px, 3.7vw, 50px); line-height: 1.14;
  letter-spacing: .005em; color: var(--hm-gold); }
.hm-lead { margin: 0 auto clamp(46px, 4.8vw, 66px); }
.hm-lead-row { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 30px); direction: ltr; }
.hm-rule { flex: 0 1 auto; width: clamp(40px, 7vw, 108px); min-width: 22px; height: 1px; }
.hm-rule:first-child { background: linear-gradient(90deg, transparent, rgba(201, 167, 92, .8)); }
.hm-rule:last-child { background: linear-gradient(90deg, rgba(201, 167, 92, .8), transparent); }
.hm-lead-title { margin: 0; text-wrap: balance;
  font-family: var(--hm-serif); font-weight: 500; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.2;
  letter-spacing: .005em; color: var(--hm-gold); }
[dir="rtl"] .hm-lead-title { direction: rtl; }
.hm-lead-sub { margin: clamp(10px, 1vw, 14px) 0 0; font-family: var(--hm-sans); font-weight: 400; font-size: 15px;
  line-height: 1.7; letter-spacing: .02em; color: var(--hm-smoke); }
/* owner (same night): "the gaps are wide - make the lines a little longer, and set a short, unfinished
   horizontal line between the ideas": a longer measure, a closer line height, and between paragraphs a
   short gold hairline that fades out at both ends */
.hm-copy { max-width: 80ch; margin: 0 auto; text-align: start; }
.hm-copy p { margin: 0; font-family: var(--hm-sans); font-weight: 400; font-size: 17px; line-height: 1.7;
  color: var(--hm-ivory); }
.hm-copy p + p::before { content: ""; display: block; width: 132px; height: 1px; margin: 1.7em auto;
  background: linear-gradient(90deg, transparent, rgba(201, 167, 92, .6) 30%, rgba(201, 167, 92, .6) 70%, transparent); }
.hm-copy p:last-child { color: var(--hm-smoke); }

/* ── methodology and membership: two cards lying on their side - dark glass the stars show through, a thin
   quiet gold edge with a fainter inner frame, rounded corners. At the start of each card (the right in Arabic)
   the owner's own gold picture - assets/img/hm_card_compass.webp and hm_card_layers.webp, his pictures A and AA
   framed square; their black melts into the card (screen blending, a soft round mask) - and beside it the
   title and the text, centred on the picture's height. Side by side on a wide screen in a wider row, one above
   the other below 1200px; on a phone the picture sits beside the title and the text runs under both. ── */
.hm-pair { padding: clamp(44px, 3.4vw, 64px) 0 clamp(52px, 4vw, 76px); }
.hm-grid { max-width: 1360px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 2.6vw, 40px); align-items: stretch; }
.hm-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "pic ." "pic head" "pic text" "pic .";
  column-gap: clamp(18px, 2vw, 30px); align-items: center;
  padding: clamp(20px, 1.8vw, 28px) clamp(24px, 2.4vw, 36px);
  border: 1px solid rgba(201, 167, 92, .30); border-radius: 18px;
  background: radial-gradient(62% 40% at 50% 24%, rgba(201, 167, 92, .07), transparent 72%),
    linear-gradient(160deg, rgba(24, 20, 13, .70) 0%, rgba(8, 8, 8, .56) 52%, rgba(16, 13, 8, .66) 100%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(231, 224, 208, .045); }
.hm-card::before { content: ""; position: absolute; inset: 7px; z-index: -1; pointer-events: none;
  border: 1px solid rgba(201, 167, 92, .10); border-radius: 12px; }
.hm-card-pic { grid-area: pic; align-self: center; display: block; width: 100%; max-width: none; height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); }
.hm-head { grid-area: head; margin: 0 0 12px; max-width: none;
  font-family: var(--hm-serif); font-weight: 500; font-size: clamp(26px, 2.35vw, 34px); line-height: 1.2;
  letter-spacing: .005em; color: var(--hm-gold); }
.hm-text { grid-area: text; margin: 0; max-width: none; font-family: var(--hm-sans); font-weight: 400; font-size: 16.5px; line-height: 1.75;
  color: var(--hm-ivory); }

/* ── the notice: smaller and quieter ── */
.hm-notice { padding: clamp(56px, 6vw, 84px) 0 clamp(60px, 6vw, 88px); }
.hm-notice-inner { max-width: 820px; text-align: center; }
.hm-notice-head { margin: 0 0 16px; font-family: var(--hm-sans); font-weight: 500; font-size: 10.5px; line-height: 1.6;
  letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: rgba(201, 167, 92, .8); }
.hm-notice-text { margin: 0 auto; max-width: 74ch; font-family: var(--hm-sans); font-weight: 400; font-size: 13px; line-height: 1.85;
  letter-spacing: .01em; color: var(--hm-smoke); }

/* ── the longer languages: words may break inside the narrow headings ── */
[lang="de"] .hm-title, [lang="de"] .hm-head, [lang="ru"] .hm-title, [lang="ru"] .hm-head,
[lang="de"] .hm-lead-title, [lang="ru"] .hm-lead-title { overflow-wrap: break-word; hyphens: auto; }
[lang="de"] .hm-notice-head, [lang="ru"] .hm-notice-head { letter-spacing: .22em; text-indent: .22em; }

/* ── Arabic: right to left, right aligned, Arabic faces only ── */
[lang="ar"] .hm-title, [lang="ar"] .hm-head { font-family: var(--hm-ar-head); font-weight: 500; letter-spacing: 0; }
[lang="ar"] .hm-title { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.55; max-width: none; }
[lang="ar"] .hm-head { font-size: clamp(26px, 2.25vw, 32px); line-height: 1.6; max-width: none; }
[lang="ar"] .hm-notice-head { font-family: var(--hm-ar-text); font-weight: 500; letter-spacing: 0; text-indent: 0;
  text-transform: none; }
[lang="ar"] .hm-lead-title { font-family: var(--hm-ar-head); font-weight: 500; font-size: clamp(28px, 2.55vw, 38px);
  line-height: 1.6; letter-spacing: 0; }
[lang="ar"] .hm-lead-sub { font-family: var(--hm-ar-text); font-size: 17px; line-height: 1.8; letter-spacing: 0; }
[lang="ar"] .hm-notice-head { font-size: 15px; }
[lang="ar"] .hm-copy p, [lang="ar"] .hm-text { font-family: var(--hm-ar-text); font-weight: 400; font-size: 18px; line-height: 1.85; }
[lang="ar"] .hm-notice-text { font-family: var(--hm-ar-text); font-size: 15px; line-height: 2; letter-spacing: 0; }
[dir="rtl"] .hm-copy, [dir="rtl"] .hm-text { text-align: right; }

/* ── below 1200px the cards stand one above the other; a phone: everything a step smaller ── */
@media (max-width: 1199px) {
  .hm-grid { grid-template-columns: 1fr; max-width: 880px; }
}
@media (max-width: 760px) {
  .hm-grid { gap: 20px; }
}
@media (max-width: 600px) {
  .hm-intel { padding: 72px 0 44px; }
  .hm-title { font-size: 30px; line-height: 1.18; }
  /* the lead's title keeps one line: the side rules give way to one short fading rule under it */
  .hm-lead-row .hm-rule { display: none; }
  .hm-lead-title { font-size: 26px; }
  .hm-lead-sub { font-size: 14px; }
  .hm-lead-sub::before { content: ""; display: block; width: 96px; height: 1px; margin: 4px auto 12px;
    background: linear-gradient(90deg, transparent, rgba(201, 167, 92, .6) 30%, rgba(201, 167, 92, .6) 70%, transparent); }
  .hm-copy p { font-size: 16px; line-height: 1.7; }
  .hm-copy p + p::before { width: 96px; margin: 1.5em auto; }
  .hm-pair { padding: 40px 0 44px; }
  .hm-card { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); grid-template-rows: auto auto;
    grid-template-areas: "pic head" "text text"; column-gap: 14px; padding: 16px 18px 22px; border-radius: 16px; }
  .hm-card::before { inset: 6px; border-radius: 11px; }
  .hm-head { margin: 0; align-self: center; }
  .hm-text { margin-top: 10px; }
  .hm-head { font-size: 25px; }
  .hm-text { font-size: 16px; line-height: 1.7; }
  .hm-notice { padding: 52px 0 56px; }
  [lang="ar"] .hm-title { font-size: 30px; line-height: 1.6; }
  [lang="ar"] .hm-lead-title { font-size: 25px; line-height: 1.55; }
  [lang="ar"] .hm-lead-sub { font-size: 15.5px; }
  [lang="ar"] .hm-head { font-size: 25px; }
  [lang="ar"] .hm-copy p, [lang="ar"] .hm-text { font-size: 17px; line-height: 1.8; }
  [lang="ar"] .hm-notice-text { font-size: 14.5px; }
}

/* ── owner (same night): "raise the text so its beginning sits at the bottom edge of the page, without
   scrolling, so they know there is more". The first screen gives up its lowest 180px: the headline's
   first line shows whole just above the bottom edge (its top about 140px above it), over the dark
   foot of the earth. Where the hero's own content is taller than that (a short window), the hero keeps
   its height and the headline follows it. The earth stays where it was, at the foot of the screen. ── */
[data-page="landing"] .hero { min-height: calc(100vh - 80px - 180px); min-height: calc(100svh - 80px - 180px); }
.hm-intel { position: relative; z-index: 1; padding-top: 40px; border-top-color: transparent; }
.hm-title { text-shadow: 0 0 18px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .9); }
@media (max-width: 600px) {
  [data-page="landing"] .hero { min-height: calc(100vh - 124px - 180px); min-height: calc(100svh - 124px - 180px); }
  .hm-intel { padding-top: 40px; }
}

/* ── owner 2026-10-07 (later): "the two cards stay horizontal rectangles, soft, in Arabic, English, German and
   Russian, on a desktop and a phone - never a square or a tall card because of a long text"; then (22:50, with a
   picture of the Arabic cards): "the size of the two cards in every language exactly as their size in Arabic".
   The card is drawn like a picture: its shape is fixed at the Arabic card's own - 688 x 306 on a desktop, 350 x 212
   on a phone - and everything inside it (padding, gap, picture, type) is sized from the card's own width
   (container units: 1cqi = 1% of the card's inner width, 616px at 1920 and 322px on a 390px phone), so it is the
   same card at every width and in every language (the card's own padding and gap are percentages: on the card
   itself cqi would read the screen, not the card). The picture keeps one side (the start), the title and the text
   the other, centred on the card's height; the two cards share one width and one height. English, German and
   Russian say more words, so their type and picture are a little smaller to fit the Arabic card. Below 1280px
   the cards stand one above the other, each the desktop card (at most 688px wide). ── */
.hm-grid { max-width: 1480px; grid-auto-rows: 1fr; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-card { container-type: inline-size; aspect-ratio: 688 / 276; min-height: 0; --hm-pic: 34%;   /* owner 2026-10-20: 1 cm lower (was 688 / 306, padding 4.07%) */
  grid-template-columns: var(--hm-pic) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: "pic ." "pic head" "pic text" "pic .";
  padding: 1.6% 5.23%; column-gap: 4.87%; }
.hm-head { margin: 0 0 1.95cqi; font-size: 5.52cqi; }
.hm-text { font-size: 2.68cqi; }
[lang="ar"] .hm-head { font-size: 5.195cqi; line-height: 1.6; }
[lang="ar"] .hm-text { font-size: 2.922cqi; line-height: 1.85; }
[lang="en"] .hm-card, [lang="de"] .hm-card, [lang="ru"] .hm-card { --hm-pic: 27%; }
[lang="en"] .hm-head, [lang="de"] .hm-head, [lang="ru"] .hm-head { font-size: 4.38cqi; line-height: 1.15; }
[lang="en"] .hm-text, [lang="de"] .hm-text, [lang="ru"] .hm-text { font-size: 2.52cqi; line-height: 1.6; }
@media (max-width: 1279px) {
  .hm-grid { grid-template-columns: minmax(0, 1fr); max-width: calc(688px + 2 * var(--s4)); }
}
/* owner 2026-10-20 (later): «smaller symbols, three lines - do not cut the words»: the picture about half its size
   (34% -> 18% of the card, the same in every language) and a narrower gap, so the Arabic texts run in three lines */
.hm-card, [lang="en"] .hm-card, [lang="de"] .hm-card, [lang="ru"] .hm-card { --hm-pic: 18%; column-gap: 3%; }
@media (max-width: 600px) {
  .hm-card { --hm-pic: 19%; column-gap: 3.1%; }
  [lang="en"] .hm-card, [lang="de"] .hm-card, [lang="ru"] .hm-card { --hm-pic: 14%; }
}
/* owner 2026-10-20: «the lines of the left card exactly level with the right card's» - side by side, each title keeps
   the room of two lines and stands at its foot, so the two texts start on one line (the Arabic texts are four lines each) */
@media (min-width: 1280px) {
  .hm-head { min-height: 2lh; display: flex; flex-direction: column; justify-content: flex-end; }
}
/* owner 2026-10-20 (later): «the gold lines of the left card in one line» - the Arabic titles a little smaller
   (5.195cqi -> 4.85cqi, both cards alike) so the left one fits one line; one line each, so no room is kept for two */
[lang="ar"] .hm-head { font-size: 4.85cqi; white-space: nowrap; }
@media (min-width: 1280px) { [lang="ar"] .hm-head { min-height: 0; } }
@media (max-width: 600px) { [lang="ar"] .hm-head { font-size: 5.9cqi; white-space: normal; } }
@media (max-width: 600px) {
  .hm-card { aspect-ratio: 350 / 212; --hm-pic: 19%; padding: 3.71% 4%; column-gap: 3.1%; border-radius: 16px; }
  .hm-head { margin: 0 0 1.55cqi; align-self: auto; }
  .hm-text { margin-top: 0; }
  [lang="ar"] .hm-head { font-size: 5.9cqi; line-height: 1.45; }
  [lang="ar"] .hm-text { font-size: 4.66cqi; line-height: 1.65; }
  [lang="en"] .hm-card, [lang="de"] .hm-card, [lang="ru"] .hm-card { --hm-pic: 14%; }
  [lang="en"] .hm-head, [lang="de"] .hm-head, [lang="ru"] .hm-head { font-size: 4.81cqi; line-height: 1.15; }
  [lang="en"] .hm-text, [lang="de"] .hm-text, [lang="ru"] .hm-text { font-size: 3.88cqi; line-height: 1.45; }
}
@media (max-width: 380px) {
  .hm-pair .hm-grid { padding-left: 12px; padding-right: 12px; }
}

/* ══ owner 2026-10-10/11, the decor batch (each step shown to him on the page first, then approved; mockup
   tools/redesign_preview/option_home_earth_halo.html; record reports/DECOR_BATCH_20261010_AR.md). This file is
   index.html's alone, so the rules below touch the home page only. ══ */

/* the earth: "the arc and the earth stay at the same level at the edges, and you raise it gradually" (his picture),
   then "the earth in high resolution", then "the arc thin as in the original" and "cancel the arc's glow".
   assets/img/earth_curved_hd.webp (3344 x 580, tools/make_earth_curved_hd.py from earth_horizon.webp, twice the
   resolution, no sharpening): every column lifted by 39 * (1 - u^2) rows (0 at both edges) - the rim only moved, never
   stretched, so its line keeps the original's thinness; the light above the rim taken away; the foot fixed. The band's foot stays
   exactly where it was (the same rule as before: the screen's foot, never closer than 44px under the key), so only
   the middle of the rim climbs (about 31px on a 1646px screen). */
.earth { --earth-w: max(100vw, 1000px); --earth-h0: calc(var(--earth-w) * .1501); --earth-h: calc(var(--earth-w) * .17618);   /* owner 2026-10-21: his c.png earth, 4938 x 870 (3x), cut round the light; was .18519 */
  background-image: url("../img/earth_curved_hd.webp");
  top: calc(max(calc(100svh - var(--earth-h0)), calc(690px - .19 * var(--earth-h0))) + var(--earth-h0) - var(--earth-h)); }
@supports (anchor-name: --a) {
  .earth { top: calc(max(calc(100svh - var(--earth-h0)), calc(anchor(--hero-key bottom) + 44px - .19 * var(--earth-h0)))
    + var(--earth-h0) - var(--earth-h)); }
}

/* "a faint light behind the shield, as if it were a halo" - a soft round gold light under the words, centred on the
   crest by anchor positioning; not a shadow of the picture (that one read as a box round the shield, 2026-10-05) */
@supports (anchor-name: --a) {
  [data-page="landing"] .hero .crest { anchor-name: --hero-crest; }
  [data-page="landing"]::after { content: ""; position: absolute; z-index: 0; pointer-events: none;
    position-anchor: --hero-crest; left: anchor(center); top: anchor(center);
    width: min(440px, 100vw); height: min(440px, 100vw); translate: -50% -52%;   /* never wider than a phone */
    background: radial-gradient(closest-side, rgba(232, 200, 140, .17), rgba(214, 186, 128, .08) 42%,
      rgba(214, 186, 128, .025) 72%, transparent 100%); }
  /* owner 2026-10-11 (later): "make the shield's glow smaller, on both pages" - two thirds of the size, a touch fainter */
  [data-page="landing"]::after { width: min(300px, 100vw); height: min(300px, 100vw);
    background: radial-gradient(closest-side, rgba(232, 200, 140, .15), rgba(214, 186, 128, .07) 45%,
      rgba(214, 186, 128, .02) 74%, transparent 100%); }
}

/* owner 2026-10-11 (later, with a shot of his German home page where the key sat on the glowing rim): "raise everything
   a little so the key moves away from the glowing arc". On a short window the earth followed the key (its rim never
   closer than 44px under the old picture's rim line), and the new picture's rim stands higher in the middle, so the
   rim came within a few px of the key. Now the rule speaks of the new rim itself (16.01% down the new band, tools/make_earth_curved_hd.py): the
   middle of the glowing rim is never closer than 60px under the key, and the whole first screen stands 16px higher
   on a wide screen. */
.earth { top: calc(max(calc(100svh - var(--earth-h)), calc(706px - .1545 * var(--earth-h)))); }
@supports (anchor-name: --a) {
  .earth { top: calc(max(calc(100svh - var(--earth-h)), calc(anchor(--hero-key bottom) + 60px - .1545 * var(--earth-h)))); }
}
@media (min-width: 601px) {
  /* (16px taller as well, so the headline under it keeps its place at the screen's foot) */
  [data-page="landing"] .hero { margin-top: -16px;
    min-height: calc(100vh - 80px - 180px + 16px); min-height: calc(100svh - 80px - 180px + 16px); }
}

/* owner 2026-10-11 (later): "the three words that disappear and appear - make them the shield's colour": the crest's
   own gold, measured from ame_crest_xhd.webp (its face from bright #FADC99 through #E0B36C to deep #BD8E4D), laid on
   the letters top to bottom like the metal of the shield; the fade-in/out is untouched */
[data-page="landing"] .lockup-words .w { color: #E0B36C;
  background: linear-gradient(180deg, #FADC99 0%, #E0B36C 52%, #BD8E4D 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* "raise the key and the words above it 1 cm, so it stays above the glowing arc": on a wide screen the key 48px
   higher (1 cm on his screen) and the two lines 30px, keeping his picture's spacing; the crest, the name and the
   three words stay; a phone as it was */
@media (min-width: 601px) {
  [data-page="landing"] .hero .hero-line { margin-top: 42px; }                  /* 72 - 30 */
  [data-page="landing"] .hero .actions { margin-top: 50px; }                    /* 68 - 18 */
  [lang="ar"] [data-page="landing"] .hero .hero-line { margin-top: 22px; }      /* 52 - 30 */
  [lang="ar"] [data-page="landing"] .hero .actions { margin-top: 34px; }        /* 52 - 18 */
}

/* the explanation section "like this" (his picture): each paragraph under its own gold heading (the Arabic his
   words), centred, all three in the same ivory, a short fading gold rule between the three */
.hm-copy { max-width: 760px; text-align: center; }
[dir="rtl"] .hm-copy { text-align: center; }
.hm-point { margin: 0 0 .4em; text-wrap: balance; font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(24px, 2.1vw, 30px); line-height: 1.3; letter-spacing: .005em; color: var(--hm-gold); }
[lang="ar"] .hm-point { font-family: var(--hm-ar-head); font-size: clamp(24px, 2vw, 30px); line-height: 1.6; letter-spacing: 0; }
[lang="de"] .hm-point, [lang="ru"] .hm-point { overflow-wrap: break-word; hyphens: auto; }
.hm-copy .hm-block p { color: var(--hm-ivory); }
/* owner 2026-10-11 (later): "Developed and tested before launch." - "make its type like the explanation's": the line
   under the lead in the very type of the three paragraphs (face, weight, size, line height, ivory) */
.hm-lead-sub { font-family: var(--hm-sans); font-weight: 400; font-size: 17px; line-height: 1.7; letter-spacing: 0;
  color: var(--hm-ivory); }
[lang="ar"] .hm-lead-sub { font-family: var(--hm-ar-text); font-size: 18px; line-height: 1.85; }
@media (max-width: 600px) {
  .hm-lead-sub { font-size: 16px; }
  [lang="ar"] .hm-lead-sub { font-size: 17px; line-height: 1.8; }
}
.hm-copy p + p::before { content: none; }
.hm-block + .hm-block::before { content: ""; display: block; width: 190px; height: 1px; margin: 1.8em auto 1.6em;
  background: linear-gradient(90deg, transparent, rgba(201, 167, 92, .85) 30%, rgba(201, 167, 92, .85) 70%, transparent); }

/* "add the candles" - "exactly like the picture", "very light in the middle so the words show", "faint as in the
   original", "the colour of the gold in the earth": assets/img/hm_candles.webp is his own picture (Desktop
   XXXXة.png) with its words taken out (tools/redesign_preview/make_candles_from_ref.py), a fifth of its strength
   behind the text column, coloured with the earth's city lights. Across the section (::before is its gold hairline),
   over the page's own sky; not behind the headline lying on the earth. */
.hm-intel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/hm_candles.webp") center calc(50% + 70px) / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 12%, #000 28%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, transparent 12%, #000 28%, #000 88%, transparent 100%); }

/* the two cards: "transparent background and a thin champagne-gold frame", then "thinner": no glass, no glow, no
   shadow; a hairline (half a CSS pixel - one device pixel on his 175% screen) in a softened champagne. Their symbols
   (hm_card_compass.webp, hm_card_layers.webp) were recoloured in the candles' gold
   (tools/redesign_preview/recolor_cards_earth_gold.py). The faint inner frame stays. */
.hm-card { background: transparent; box-shadow: none; border: .5px solid rgba(214, 186, 128, .62); }
/* owner 2026-10-11 (later): "the two cards' frame - only the thin inner line, gold like the one in the earth": the
   outer line goes (its colour only - the card keeps its size); the inner line stays where it was, a hairline in the
   gold of the earth's city lights (rgb 235,200,152) */
.hm-card { border-color: transparent; }
.hm-card::before { border: .5px solid rgb(235, 200, 152); }
/* then "I want it as thin as the payment card's frame": the very line of the checkout's frame (and of the three facts'
   rules) - 1px in the site's hairline gold */
.hm-card::before { border: 1px solid var(--hairline); }

@media (max-width: 600px) {
  .hm-point, [lang="ar"] .hm-point { font-size: 22px; }
  .hm-block + .hm-block::before { width: 120px; margin: 1.5em auto 1.3em; }
  .hm-intel::after { background-position: center 56%; }
}

/* owner 2026-10-14 (his shot of the headline lying on the earth): "make this line's colour white only" - the
   headline "Market Intelligence, Built on Methodology." in every language; its colour alone, nothing else.
   Then "a creamy white, not glaring": a soft cream between white and the section's own ivory (#E7E0D0).
   Then "make it the shield's colour" (tried: the crest's gradient of the three words under the crest), then, with his
   shot of the line under the lead ("Developed and tested before launch."): "like this" - that line's own colour, the
   section's warm ivory; the headline keeps its face, size and dark halo. */
.hm-title { color: var(--hm-ivory); }

/* owner 2026-10-18 «(XAU/USD) ميّز الرمز باللون الذهبي»: the market's symbol in the indicators sentence, in the page's gold,
   kept whole and left-to-right inside the Arabic */
.hm-sym { color: var(--hm-gold); font-weight: 600; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }

/* owner 2026-10-18: «gold market» in the three sentences that name it - capitals, the page's gold; in Arabic «الذهب» */
.hm-gold { color: var(--hm-gold); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
[lang="ar"] .hm-gold { letter-spacing: 0; }

/* owner 2026-10-20: the arrow at the foot of the first screen (TradingView's), gently up and down - it says the page
   goes on. It sits on the page, not on the window: it scrolls away with the first screen. */
.hm-more { position: absolute; left: 50%; top: calc(100svh - 70px); z-index: 3; width: 48px; height: 40px; margin-left: -24px;
           display: flex; align-items: center; justify-content: center;
           filter: drop-shadow(0 0 6px rgba(214, 186, 128, .45)); animation: hm-more-bob 1.8s ease-in-out infinite; }
/* owner 2026-10-20 (later): «golden, and make it beautiful» - the page's gold in a light-to-deep sweep, then (owner: «three») two
   softer chevrons under the first, a faint glow */
.hm-more svg { width: 40px; height: 32px; fill: none; stroke: url(#hm-more-gold); stroke-linecap: round; stroke-linejoin: round; }
.hm-more .c1 { stroke-width: 2.2; }
.hm-more .c2 { stroke-width: 1.8; opacity: .7; }
.hm-more .c3 { stroke-width: 1.5; opacity: .45; }
/* owner 2026-10-20 (later): «the two small arrows inside the big one, moving like a spring» - nested in its V, they press
   down into it and spring back, one after the other, while the whole arrow moves up and down */
.hm-more .c2, .hm-more .c3 { transform-box: fill-box; animation: hm-more-spring 1.8s cubic-bezier(.45, 0, .2, 1.4) infinite; }
.hm-more .c3 { animation-delay: .12s; }
@keyframes hm-more-spring { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(4.5px); } 60% { transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .hm-more .c2, .hm-more .c3 { animation: none; } }
.hm-more:hover { filter: drop-shadow(0 0 10px rgba(214, 186, 128, .75)); }
@keyframes hm-more-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .hm-more { animation: none; } }
/* never on the headline: just under it when the headline comes down to the foot of the screen (Chrome, Edge);
   on a phone the headline fills the foot of the screen, so the arrow is not shown there */
@supports (anchor-name: --a) {
  #intel-title { anchor-name: --hm-title; }
  .hm-more { position-anchor: --hm-title; top: max(calc(100svh - 70px), calc(anchor(--hm-title bottom) + 8px)); }
}
@media (max-width: 640px) { .hm-more { display: none; } }

/* owner 2026-10-21: «the home page in one piece when we come back to it» - held unseen until its earth and crest are
   decoded (assets/js/hm-scene-gate.js), at most 2.5 s */
.hm-wait body { visibility: hidden; animation: hm-show 0s linear 2.5s forwards; }
@keyframes hm-show { to { visibility: visible; } }

/* owner 2026-10-21: the Arabic section title in the same face as the two hero lines (Arabic Typesetting).
   That face draws small, so the size is raised to keep the title the same visual size as before. */
[lang="ar"] .hm-title { font-family: "Arabic Typesetting", "Sakkal Majalla", "Traditional Arabic", serif; font-weight: 400;
  font-size: clamp(40px, 4.4vw, 60px); line-height: 1.35; }
@media (max-width: 640px) { [lang="ar"] .hm-title { font-size: 37px; line-height: 1.4; } }

/* owner 2026-10-22 «جملة ذكاء السوق اجعلها ذهبي مثل الدرع»: the section headline (every language) in the crest's own
   gold - the same gradient as the three words under the crest (#FADC99 > #E0B36C > #BD8E4D). The dark halo moves from
   text-shadow to a drop-shadow filter (a text-shadow would show through the clipped letters); face, size, place unchanged. */
/* then «I want it to stand apart from the line under it» (that line is the flat page gold #C9A75C): a brighter metal -
   a pale highlight on top, the crest's bright gold in the middle, a deep bronze at the foot - and a faint warm glow. */
/* then «a little darker, still standing apart»: every stop one step deeper, the same shape and glow. */
.hm-title { color: #E9C077; background: linear-gradient(180deg, #F6E0AA 0%, #ECC67A 38%, #D3A055 70%, #A47335 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 9px rgba(0, 0, 0, .85)) drop-shadow(0 0 1px rgba(0, 0, 0, .9)) drop-shadow(0 0 14px rgba(240, 200, 130, .24)); }

/* owner 2026-10-22 «a light white frame for the letters, the colour stays - only the Market Intelligence line»: a thin,
   soft white outline round each letter of this headline alone; the gold fill underneath is unchanged. */
.hm-title { -webkit-text-stroke: .35px rgba(255, 255, 255, .4); }

/* owner 2026-10-22 (his Russian shot: «it became two colours»): the gradient ran over the whole block, so a headline that
   wraps took the pale top on line 1 and the deep foot on line 2. Now the gradient repeats once per line (1lh), so every
   line carries the same gold top to bottom. */
.hm-title { background-size: 100% 1lh; background-repeat: repeat-y; }

/* owner 2026-10-22 (his shot of «Intelligenz  Präzision» under the crest): «like this font» - the headline takes the face of
   the three words under the crest, exactly as portal.css .lockup-words .w sets it: Perpetua italic with its small spacing
   (en/de/ru, the same fallbacks, so Russian looks like the Russian words), and in Arabic Sakkal Majalla bold (the Arabic
   words' face). Sizes kept (Arabic 1.2x the Latin size, the words' own ratio 30/25); gold, white frame, halo unchanged. */
.hm-title { font-family: "Perpetua", "Garamond", "Palatino Linotype", Georgia, serif; font-style: italic; font-weight: 400;
  letter-spacing: .06em; }
[lang="ar"] .hm-title { font-family: "Sakkal Majalla", "Traditional Arabic", "Segoe UI", serif; font-style: normal; font-weight: 700;
  letter-spacing: 0; font-size: clamp(38px, 4.44vw, 60px); line-height: 1.45; }
@media (max-width: 640px) { [lang="ar"] .hm-title { font-size: 36px; line-height: 1.5; } }

/* owner 2026-10-22 (his Russian shot on two lines): "it must stay ONE horizontal line in every language". The headline
   may now run wider than its 900px column, out to the page width less 16px a side (so on a computer it keeps its size:
   measured at 1440 the Russian line is 1039px, en/de ~810px, ar ~541px); only where even the page is too narrow (phones)
   does the size come down - just enough to fit (width per 1px of size: ru 20.8, en/de 16.2, ar 9.0, a little margin). */
.hm-title { white-space: nowrap; max-width: none; width: auto; margin-inline: calc(50% - 50vw + 16px);
  font-size: min(clamp(32px, 3.7vw, 50px), calc((100vw - 32px) / 16.6)); }
[lang="ru"] .hm-title { font-size: min(clamp(32px, 3.7vw, 50px), calc((100vw - 32px) / 21.3)); }
[lang="ar"] .hm-title { font-size: min(clamp(38px, 4.44vw, 60px), calc((100vw - 32px) / 9.3)); }

/* owner 2026-10-22 (after the candles from the membership picture): "delete them - I will give you a picture, wait": the
   section's candles are off until his picture comes (the file hm_candles.webp stays; its last state is in
   _backups/hm_candles_ms_20261022/) */
.hm-intel::after { background: none; }
/* then his picture: "use this background for the words instead of the candles, calm behind them, like a light mirage" -
   assets/img/hm_mirage.webp (tools/hm_mirage_20261022.py: his picture's sides, faint; its written middle melted away),
   across the section, centred on the text, the section's own top/bottom fade kept */
/* (2026-10-23: hm_mirage.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* owner 2026-10-22: the CSS light veil «from your imagination» was rejected («you make it children's work») and deleted;
   the section has no background now (his map/effects picture stays in assets/img/hm_mirage.webp, unused) */
.hm-intel::after { background: none; }

/* owner 2026-10-22: "use this one and make its colour champagne gold" - his picture 0000.png (rising candles, gold waves,
   rocks) in the site's champagne (tools/hm_bg0000_20261022.py -> assets/img/hm_bg0000.webp), covering the section
   behind the words; the section's own top/bottom fade kept */
/* (2026-10-23: hm_bg0000.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "use this one": his gold-orbits picture (exec-b219ad24, tools/hm_bg_orbits_20261022.py -> hm_bg_orbits.webp) in
   champagne, covering the section; held at its left edge, where the orbits' centre is (0000.png stays, unused) */
/* (2026-10-23: hm_bg_orbits.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "use space and stars": the nebula-and-stars part of his picture exec-66ac556a (tools/hm_bg_space_20261022.py ->
   hm_bg_space.webp), covering the section (the orbits picture stays, unused) */
/* (2026-10-23: hm_bg_space.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "remove the compass from the orbits picture and use the space exactly, in high resolution": its right part, space and
   stars only, pixel for pixel (tools/hm_bg_space_b219_20261022.py -> hm_bg_space2.webp, lossless), covering the section */
/* (2026-10-23: hm_bg_space2.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "you deleted everything - delete only the compass lines, leave the gold dust and the effects": the whole orbits
   picture with its compass lines taken out (tools/hm_space_no_compass_20261022.py -> hm_bg_space3.webp), held at its left */
/* (2026-10-23: hm_bg_space3.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "no - make the compass 50% smaller only, leave the rest": the orbits picture with its compass at half size round its
   centre star (tools/hm_space_compass_half_20261022.py -> hm_bg_space4.webp), held at its left */
/* (2026-10-23: hm_bg_space4.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "take the original as it is and make the compass smaller": his orbits picture untouched (hm_bg_orbits_orig.webp,
   lossless copy of exec-b219ad24); instead of being blown up to cover the tall section, it is shown at the page's width
   (so the compass is about half the size it was), at the left, in the middle of the section */
/* (the page's width alone left the compass about as big as before - so the picture is shown at 55% of the width: the
   compass about half; its black is transparent and its top, foot and right side melt away, so it shows no frame;
   inside, on black, it is the original pixel for pixel) */
/* (2026-10-23: hm_bg_orbits_orig.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "I will give you a space background - apply it": his picture exec-d1baae6e (gold dust and stars), exactly as it is
   (hm_bg_space5.webp, lossless copy), covering the section behind the words (the earlier ones stay, unused) */
/* (2026-10-23: hm_bg_space5.webp no longer used - moved to _backups/hm_unused_bg_20261023/) */

/* then "cancel": the space picture is off too - the section has no background (the picture files stay, unused) */
.hm-intel::after { background: none; }

/* owner 2026-10-23: "a geometric, artistic motion for the text - each paragraph rises in its own window when you reach it".
   With assets/js/hm-reveal.js (class hm-rv on the page, is-in on each part when it comes into view):
   - the lead line (A Select Collection...) rises in softly;
   - each of the three paragraphs stands in a window: a hairline champagne frame that draws itself - the top and bottom
     lines open from the middle, then the two sides grow, then four brighter corner marks light - a faint glass behind,
     then the heading and the words rise in - every time it comes into view. Without the script nothing is hidden. */
.hm-rv .hm-lead { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.hm-rv .hm-lead.is-in { opacity: 1; transform: none; }

.hm-rv .hm-block { position: relative; padding: clamp(26px, 3vw, 40px) clamp(22px, 3.4vw, 48px);
  background-color: rgba(255, 255, 255, 0);
  background-image:
    linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)), linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)),
    linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)), linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)),
    linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)), linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)),
    linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)), linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152));
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 0 1px, 1px 0, 0 1px, 1px 0, 0 1px, 1px 0, 0 1px, 1px 0;
  transition: background-color .6s ease .25s, background-size .3s ease .575s; }
.hm-rv .hm-block + .hm-block { margin-top: clamp(34px, 4vw, 56px); }
.hm-rv .hm-block + .hm-block::before { content: none; }          /* the windows part the paragraphs now */
.hm-rv .hm-block::before, .hm-rv .hm-block::after { content: ""; position: absolute; pointer-events: none; }
.hm-rv .hm-block::before { inset: 0; border-top: 1px solid rgba(214, 186, 128, .5); border-bottom: 1px solid rgba(214, 186, 128, .5);
  transform: scaleX(0); transition: transform .475s cubic-bezier(.65, 0, .35, 1); }
.hm-rv .hm-block::after { inset: 0; border-left: 1px solid rgba(214, 186, 128, .38); border-right: 1px solid rgba(214, 186, 128, .38);
  transform: scaleY(0); transition: transform .375s cubic-bezier(.65, 0, .35, 1) .275s; }
.hm-rv .hm-block > * { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.hm-rv .hm-block > .hm-point { transition-delay: .425s; }
.hm-rv .hm-block > p { transition-delay: .525s; }
.hm-rv .hm-block.is-in { background-color: rgba(255, 255, 255, .018);
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px; }
.hm-rv .hm-block.is-in::before { transform: scaleX(1); }
.hm-rv .hm-block.is-in::after { transform: scaleY(1); }
.hm-rv .hm-block.is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hm-rv .hm-lead, .hm-rv .hm-block, .hm-rv .hm-block::before, .hm-rv .hm-block::after, .hm-rv .hm-block > * { transition: none; }
}
/* (the reset, off screen, is instant - so coming back down quickly always finds the window closed and it draws again) */
.hm-rv .hm-lead:not(.is-in), .hm-rv .hm-block:not(.is-in), .hm-rv .hm-block:not(.is-in)::before,
.hm-rv .hm-block:not(.is-in)::after, .hm-rv .hm-block:not(.is-in) > * { transition-duration: 0s; transition-delay: 0s; }

/* owner 2026-10-23 (his shot of the three windows): "write the words one by one until it ends - a professional motion; and
   make the first frame like the second and the third". The words (spans from hm-reveal.js) come in one after another,
   each out of a soft blur, about 18 a second, after the heading; the first window loses its full top and bottom lines,
   so all three are the same: corner marks and the two sides. */
.hm-rv .hm-copy .hm-block::before { content: none; }
.hm-rv .hm-block > p.hm-split { opacity: 1; transform: none; transition: none; }
.hm-rv .hm-w { opacity: 0; filter: blur(5px); transition: opacity .45s ease, filter .6s ease; }
.hm-rv .hm-block.is-in .hm-w { opacity: 1; filter: blur(0); transition-delay: var(--d, 1s); }
.hm-rv .hm-block:not(.is-in) .hm-w { transition: none; }
@media (prefers-reduced-motion: reduce) { .hm-rv .hm-w { opacity: 1; filter: none; transition: none; } }

/* then «these two lines - make them grow from the top down; now they grow from the middle both ways»: the window's two
   side lines draw from the top to the bottom */
.hm-rv .hm-block::after { transform-origin: 50% 0; }

/* owner 2026-10-24 (iPad, Chrome): «the last two boxes do not show on the tablet». The new WebKit (Safari 26 engine;
   Chrome on iPhone/iPad is WebKit) no longer stretches a grid item that has an aspect-ratio: with container-type
   inline-size its own width is then 0 + padding (74 x 30 px on an iPad, an empty pill between the two gold lines).
   The card now takes its column's full width itself. Chrome/Edge unchanged (36 sizes x languages, at most 0.02px);
   WebKit 27.2 (tools/desk/webkit26_test/probe_cards.mjs): 688 x 276 on the iPad, 353 x 214 on a phone. */
.hm-card { width: 100%; }

/* owner 2026-10-24: «this notice - its font one step larger, in every language» (title and text, +1px each) */
.hm-notice-head { font-size: 11.5px; }
.hm-notice-text { font-size: 14px; }
[lang="ar"] .hm-notice-head { font-size: 16px; }
[lang="ar"] .hm-notice-text { font-size: 16px; }
@media (max-width: 600px) { [lang="ar"] .hm-notice-text { font-size: 15.5px; } }

/* owner 2026-10-24 (later): «the notice's font a little wider» - its text one step heavier (400 -> 500) in every language;
   Inter (variable) and IBM Plex Sans Arabic 500 are both in fonts.css, so it is a real face, not a synthesized bold */
.hm-notice-text, [lang="ar"] .hm-notice-text { font-weight: 500; }

/* owner 2026-10-24: the refined stars (glow, colours, glint) rejected - «put them back, and make the dots smaller than
   they were». Home page only: the same stars (places, beats, colour) from portal.js, each drawn at 60% of its size */
/* then «half a step larger»: 60% -> 80% (half of the 40% it was made smaller) */
[data-page="landing"] .sky .star { transform: scale(.8); }

/* owner 2026-10-24 (his shot of Methodik statt Laerm / Mehr Klarheit): «the effect of the earlier explanation cards - apply
   it to these two as well», then «remove the frame - a transparent background like the cards before them», then «do not
   make the new frames an exact copy of the previous three» - of three variants shown he chose C: no rounded border, no inner
   frame, no dark fill or shadow, no corner marks - a faint glass, a very faint full outline, and a short gold mark at the
   middle of each side. They come in like the windows above (hm-reveal.js marks each card is-in when it comes into view,
   every time): the glass and the outline come, the two side marks open from their middle, then the picture, the title and
   the text rise in. Without the script the card simply stands drawn. Shots: tools/desk/hm_cards_reveal_20261024/varC_*.png */
.hm-pair .hm-card { border: 0; border-radius: 0; box-shadow: none; background-image: none;
  background-color: rgba(255, 255, 255, .018); outline: 1px solid rgba(214, 186, 128, .14); outline-offset: 0; }
.hm-pair .hm-card::before { content: none; }
.hm-pair .hm-card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)) 0 50% / 1px 44px no-repeat, linear-gradient(rgb(235, 200, 152), rgb(235, 200, 152)) 100% 50% / 1px 44px no-repeat; }
.hm-rv .hm-pair .hm-card { background-color: rgba(255, 255, 255, 0); outline-color: rgba(214, 186, 128, 0);
  transition: background-color .6s ease .1s, outline-color .5s ease .1s; }
.hm-rv .hm-pair .hm-card::after { background-size: 1px 0, 1px 0; transition: background-size .35s cubic-bezier(.65, 0, .35, 1) .275s; }
/* then «make the text come in smoothly with the motion»: the words no longer wait for the frame - they start while the
   side marks open, rise less (8px) and out of a soft blur, over a longer, gently slowing curve, one after another */
.hm-rv .hm-pair .hm-card > * { opacity: 0; transform: translateY(8px); filter: blur(4px);
  transition: opacity .75s cubic-bezier(.25, .1, .25, 1), transform .85s cubic-bezier(.16, 1, .3, 1),
    filter .65s cubic-bezier(.25, .1, .25, 1); }
.hm-rv .hm-pair .hm-card > .hm-card-pic { transition-delay: .15s; }
.hm-rv .hm-pair .hm-card > .hm-head { transition-delay: .225s; }
.hm-rv .hm-pair .hm-card > .hm-text { transition-delay: .325s; }
.hm-rv .hm-pair .hm-card.is-in { background-color: rgba(255, 255, 255, .018); outline-color: rgba(214, 186, 128, .5); }
.hm-rv .hm-pair .hm-card.is-in::after { background-size: 1px 44px, 1px 44px; }
.hm-rv .hm-pair .hm-card.is-in > * { opacity: 1; transform: none; filter: none; }
.hm-rv .hm-pair .hm-card:not(.is-in), .hm-rv .hm-pair .hm-card:not(.is-in)::after,
.hm-rv .hm-pair .hm-card:not(.is-in) > * { transition-duration: 0s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .hm-rv .hm-pair .hm-card, .hm-rv .hm-pair .hm-card::after, .hm-rv .hm-pair .hm-card > * { transition: none; } }

/* owner 2026-10-24: «yes - I want everything perfect» (the Arabic second card's last line ran ~23px under its edge on a
   phone). On a phone the card keeps its shape (350 x 212) as its least height but may grow with its own text
   (min-height: auto lets the aspect-ratio box take its content's height); both cards stay one height (grid rows 1fr). */
@media (max-width: 600px) { .hm-pair .hm-card { min-height: auto; } }

/* owner 2026-11-09: the Important Notice heading a little more luminous, in its gold */
.hm-notice .hm-notice-head { color: #E6C47C; text-shadow: 0 0 14px rgba(230, 196, 124, .38); }

/* owner 2026-11-15: his space picture behind the home page from the windows to its foot (hm-space-bg.js places it);
   inside every window the old black */
main { position: relative; isolation: isolate; }
.hm-space-bg { position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; bottom: 0; top: 0;
  background: url(../img/hm_space_bg_4k.webp) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent var(--hm-space-fade, 0px), #000 calc(var(--hm-space-fade, 0px) + 420px));
  mask-image: linear-gradient(180deg, transparent 0, transparent var(--hm-space-fade, 0px), #000 calc(var(--hm-space-fade, 0px) + 420px)); }
