/* ==========================================================================
   مكتب المحامي سالم خلف الشمري للمحاماة والتوثيق — site stylesheet
   Palette: black · emerald · gold · ivory      Type: Thmanyah (three families)
   ========================================================================== */

/* ---------------------------------------------------------------- 0. fonts */
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyahserifdisplay-Medium.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Text"; src: url("../fonts/thmanyahseriftext-Regular.woff2") format("woff2"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Text"; src: url("../fonts/thmanyahseriftext-Medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Text"; src: url("../fonts/thmanyahseriftext-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- 1. tokens */
:root {
  --ink-950: #050807;
  --ink-900: #08100D;
  --ink-850: #0B1511;
  --emerald-950: #0A1A14;
  --emerald-900: #0D241B;
  --emerald-850: #102C21;
  --emerald-800: #123526;
  --emerald-700: #174530;
  --emerald-600: #1E5A41;
  --gold-200: #F0E1B9;
  --gold-300: #E6CF97;
  --gold-500: #C9A45C;
  --gold-600: #B08A45;
  --gold-700: #8E6A2E;
  --gold-800: #6E5122;
  --ivory-50: #FBF8F2;
  --ivory-100: #F4EEE3;
  --ivory-200: #E9DFCD;
  --ivory-300: #DDCFB6;
  --paper-ink: #17130F;
  --paper-ink-2: #3D352B;
  --paper-mute: #625849;

  --on-dark: #F4EEE3;
  --on-dark-2: rgba(244, 238, 227, .76);
  --on-dark-3: rgba(244, 238, 227, .58);
  --line-dark: rgba(201, 164, 92, .18);
  --line-dark-2: rgba(201, 164, 92, .32);
  --line-ivory: rgba(23, 19, 15, .12);
  --line-ivory-2: rgba(23, 19, 15, .22);

  --font-display: "Thmanyah Serif Display", serif;
  --font-text: "Thmanyah Serif Text", serif;
  --font-sans: "Thmanyah Sans", system-ui, sans-serif;

  --fs-hero: clamp(3rem, 1.25rem + 5.5vw, 6.5rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 3.4vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.45vw, 3.6rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .6vw, 1.7rem);
  --fs-lede: clamp(1.18rem, 1.05rem + .45vw, 1.45rem);
  --fs-body: clamp(1.125rem, 1.02rem + .3vw, 1.3125rem);
  --fs-ui: .9375rem;
  --fs-small: .84375rem;

  --lh-display: 1.3;
  --lh-body: 1.95;

  --wrap: 1312px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --hdr-h: 78px;
  --sec-pad: clamp(84px, 10.5vw, 168px);
  --dir: -1;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
}
:root[dir="ltr"] { --dir: 1; --lh-display: 1.14; --lh-body: 1.7; }

/* ---------------------------------------------------------------- 2. base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--ink-900); color: var(--on-dark);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: var(--lh-body);
  font-kerning: normal; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
.snav ul, .svc__more ul, .acc ul, .wiz__suggest ul, .yr ol, .flip ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
bdi { unicode-bidi: isolate; }
bdi[dir="ltr"], [dir="ltr"].nw { white-space: nowrap; }
kbd { font-family: var(--font-sans); }
::selection { background: rgba(201, 164, 92, .35); color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
.sec--ivory :focus-visible, .sec--paper :focus-visible, .ivory :focus-visible, .wiz :focus-visible { outline-color: var(--emerald-600); }
main:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; }
[dir="rtl"] .ic--dir { transform: scaleX(-1); }
[dir="rtl"] .ic--dir.ic--flip { transform: none; }
[dir="ltr"] .ic--flip { transform: scaleX(-1); }
[hidden] { display: none !important; }

.skip { position: fixed; z-index: 200; inset-inline-start: 16px; top: 12px; padding: 12px 18px; background: var(--gold-500); color: var(--ink-950); font-family: var(--font-sans); font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------------------------------------------------------------- 3. type */
.h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: var(--lh-display); text-wrap: balance; letter-spacing: 0; }
:root[dir="ltr"] .h2 { letter-spacing: -.012em; }
.lede { font-size: var(--fs-lede); line-height: 1.8; }
p, li { text-wrap: pretty; }

.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-small); line-height: 1; color: var(--gold-300); }
.kicker__n { font-family: var(--font-display); font-size: 1.05rem; }
.kicker__rule { display: block; width: 44px; height: 1px; background: currentColor; opacity: .7; transform-origin: var(--rule-origin, right); }
:root[dir="ltr"] .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; }
:root[dir="ltr"] { --rule-origin: left; }
.sec--ivory .kicker, .sec--paper .kicker, .ivory .kicker { color: var(--gold-700); }

/* links */
.link-u { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-sans); font-weight: 500; font-size: 1rem; line-height: 1.6; color: var(--emerald-600); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; padding-bottom: 3px; transition: color .3s; }
.link-u .ic { width: 1.1em; height: 1.1em; transition: translate .45s var(--ease-out); }
.link-u:hover .ic { translate: calc(var(--dir) * 5px) 0; }
.link-u:hover { color: var(--emerald-700); }
.link-u--light, .hero .link-u, .sec--ink .link-u, .sec--emerald .link-u, .phead .link-u { color: var(--gold-300); }
.link-u--light:hover, .hero .link-u:hover { color: var(--gold-200); }
.link-u--sm { font-size: .9375rem; }

/* buttons */
.btn { --bg: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px; background: var(--bg); font-family: var(--font-sans); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .45s var(--ease-out), color .45s, border-color .45s, box-shadow .45s, translate .6s var(--ease-out); }
.btn .ic { width: 1.2em; height: 1.2em; transition: translate .45s var(--ease-out); }
.btn:hover .ic--dir { translate: calc(var(--dir) * 4px) 0; }
.btn--gold { --bg: var(--gold-500); color: var(--ink-950); box-shadow: inset 0 1px 0 rgba(255, 248, 228, .45), inset 0 -1px 0 rgba(110, 81, 34, .35), 0 14px 34px -18px rgba(201, 164, 92, .7); }
.btn--gold:hover { --bg: var(--gold-300); }
.btn--ghost { color: var(--ivory-50); border-color: var(--line-dark-2); }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-200); }
.btn--line { color: var(--paper-ink); border-color: var(--line-ivory-2); background: transparent; }
.btn--line:hover { border-color: var(--paper-ink); }
.btn--light { color: var(--on-dark); border-color: var(--line-dark-2); }
.btn--light:hover { border-color: var(--gold-300); color: var(--gold-200); }
.btn--ink { --bg: var(--emerald-900); color: var(--ivory-50); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .35); }
.btn--ink:hover { --bg: var(--emerald-800); }
.btn--wa { --bg: var(--emerald-800); color: var(--ivory-50); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .3); }
.btn--wa .ic { color: var(--gold-300); }
.btn--wa:hover { --bg: var(--emerald-700); }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn[disabled] { opacity: .42; cursor: not-allowed; box-shadow: none; }

.chip { display: inline-flex; align-items: center; gap: .5em; min-height: 38px; padding: 0 16px; border: 1px solid var(--line-ivory-2); border-radius: 999px; background: transparent; color: var(--paper-ink-2); font-family: var(--font-sans); font-size: .9rem; line-height: 1.2; text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.chip:hover { border-color: var(--paper-ink); color: var(--paper-ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--emerald-900); border-color: var(--emerald-900); color: var(--ivory-50); }
.chip__n { font-size: .78rem; opacity: .7; }
.chip--src { min-height: 34px; font-size: .84rem; color: var(--emerald-600); border-color: rgba(30, 90, 65, .3); }
.chip--src .ic { width: 1em; height: 1em; }
.chip--src:hover { background: rgba(30, 90, 65, .06); border-color: var(--emerald-600); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(201, 164, 92, .16); color: var(--gold-800); font-family: var(--font-sans); font-size: .75rem; font-weight: 500; }

/* ---------------------------------------------------------------- 4. header */
.hdr { position: fixed; z-index: 50; top: 0; inset-inline: 0; height: var(--hdr-h); color: var(--ivory-50); transition: translate .55s var(--ease-out); }
.hdr::before { content: ""; position: absolute; inset: 0; background: rgba(7, 14, 11, .86); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); border-bottom: 1px solid var(--line-dark); opacity: 0; transition: opacity .5s; }
.hdr.is-solid::before { opacity: 1; }
.hdr.is-hidden { translate: 0 -100%; }
.hdr__in { position: relative; display: flex; align-items: center; gap: 28px; height: 100%; width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; flex: 0 1 auto; }
.brand__mark { width: 38px; height: auto; }
.brand__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand__name, .brand__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.15; color: var(--ivory-50); }
.brand__sub { font-family: var(--font-sans); font-size: .75rem; line-height: 1.2; color: var(--gold-300); opacity: .85; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 34px); }
.nav__a { position: relative; display: inline-block; padding: 8px 0; font-family: var(--font-sans); font-size: .96rem; color: rgba(244, 238, 227, .82); text-decoration: none; transition: color .3s; }
.nav__a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: var(--rule-origin, right); transition: transform .5s var(--ease-out); }
.nav__a:hover { color: var(--ivory-50); }
.nav__a:hover::after, .nav__a[aria-current="page"]::after { transform: scaleX(1); }
.nav__a[aria-current="page"] { color: var(--gold-300); }
.hdr__tools { flex: none; display: flex; align-items: center; gap: 6px; margin-inline-start: clamp(10px, 1.6vw, 28px); padding-inline-start: clamp(10px, 1.6vw, 24px); border-inline-start: 1px solid var(--line-dark); }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 10px; border: 0; border-radius: 2px; background: transparent; color: inherit; font-family: var(--font-sans); font-size: .9rem; text-decoration: none; transition: background-color .3s, color .3s; }
.tool:hover { background: rgba(201, 164, 92, .1); color: var(--gold-200); }
.tool .ic { width: 22px; height: 22px; }
.tool__kbd { display: inline-flex; gap: 3px; }
.tool__kbd kbd, .srch__x kbd { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 22px; height: 22px; padding: 0 6px; white-space: nowrap; direction: ltr; unicode-bidi: isolate; border: 1px solid var(--line-dark-2); border-radius: 3px; font-size: .7rem; line-height: 1; color: var(--on-dark-3); }
.tool--lang { font-family: var(--font-sans); font-weight: 500; }
.ic--kbd { width: 11px; height: 11px; }
.tool--menu { display: none; }

/* mobile menu */
.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--emerald-950); color: var(--on-dark); }
.menu::backdrop { background: rgba(5, 8, 7, .6); }
.menu__in { display: flex; flex-direction: column; min-height: 100%; padding: 18px var(--gutter) 32px; background: radial-gradient(120% 70% at 100% 0%, rgba(30, 90, 65, .45), transparent 60%); }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.menu__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.1rem; }
.menu__brand img { width: 32px; }
.menu__list { margin: 36px 0 auto; }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.35; text-decoration: none; }
.menu__list a[aria-current="page"] { color: var(--gold-300); }
.menu__n { font-family: var(--font-sans); font-size: .8rem; color: var(--gold-500); min-width: 1.8em; }
.menu__foot { display: grid; gap: 14px; margin-top: 36px; font-family: var(--font-sans); font-size: .95rem; color: var(--on-dark-2); }
.menu__wa { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-300); text-decoration: none; font-size: 1.05rem; }
.menu__lang { color: var(--ivory-50); }

/* ---------------------------------------------------------------- 5. sections */
.sec { position: relative; padding-block: var(--sec-pad); isolation: isolate; }
.sec--ivory { background: var(--ivory-50); color: var(--paper-ink); }
.sec--paper { background: linear-gradient(180deg, var(--ivory-100), #EFE7DA); color: var(--paper-ink); }
.sec--emerald { background: linear-gradient(180deg, var(--emerald-900) 0%, var(--emerald-950) 100%); color: var(--on-dark); }
.sec--ink { background: radial-gradient(80% 60% at 12% 100%, rgba(30, 90, 65, .22), transparent 62%), var(--ink-900); color: var(--on-dark); }
.sec--emerald::before, .sec--ink::before, .hero::before, .phead::before, .ftr::before, .cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/grain.webp") repeat; background-size: 180px; opacity: .085; mix-blend-mode: overlay; pointer-events: none; }
.sec--ink, .sec--emerald { border-top: 1px solid rgba(201, 164, 92, .1); }
.sec__glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(55% 60% at 88% 0%, rgba(30, 90, 65, .55), transparent 70%); pointer-events: none; }
.sec__glow--b { background: radial-gradient(50% 60% at 6% 100%, rgba(30, 90, 65, .5), transparent 70%); }
.sec__head { display: grid; gap: 24px; margin-bottom: clamp(44px, 5vw, 72px); }
.sec__head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; column-gap: clamp(32px, 6vw, 112px); }
.sec__head .h2 { max-width: 16ch; }
.sec__aside { font-family: var(--font-sans); font-size: 1.02rem; line-height: 1.85; color: var(--on-dark-2); padding-bottom: .5rem; }
.sec__aside--ink { color: var(--paper-mute); }
.sec__more { margin-top: clamp(40px, 4vw, 56px); }

/* ---------------------------------------------------------------- 6. hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(100svh, 700px); padding-top: calc(var(--hdr-h) + clamp(18px, 4.4vh, 60px)); padding-bottom: clamp(20px, 2.6vh, 32px); overflow: hidden; background: var(--ink-950); color: var(--on-dark); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__glow { position: absolute; inset: 0; background:
  radial-gradient(46% 62% at 24% 48%, rgba(30, 90, 65, .52) 0%, rgba(18, 53, 38, .2) 55%, transparent 78%),
  radial-gradient(60% 50% at 100% 0%, rgba(23, 69, 48, .55), transparent 70%),
  radial-gradient(70% 60% at 50% 120%, rgba(13, 36, 27, .9), transparent 70%),
  linear-gradient(180deg, #07120E 0%, #050807 100%); }
:root[dir="ltr"] .hero__glow { transform: scaleX(-1); }
.hero__rules { position: absolute; inset: var(--hdr-h) 0 0; background:
  linear-gradient(90deg, transparent calc(var(--gutter) - 1px), rgba(201, 164, 92, .08) calc(var(--gutter) - 1px), rgba(201, 164, 92, .08) var(--gutter), transparent var(--gutter)),
  linear-gradient(270deg, transparent calc(var(--gutter) - 1px), rgba(201, 164, 92, .08) calc(var(--gutter) - 1px), rgba(201, 164, 92, .08) var(--gutter), transparent var(--gutter)); }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 4vw, 72px); }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; font-family: var(--font-sans); font-weight: 500; font-size: 1rem; color: var(--gold-300); }
.hero__eyerule { display: block; width: 56px; height: 1px; background: var(--gold-500); transform-origin: var(--rule-origin, right); }
.hero__h { margin: clamp(14px, 2vh, 24px) 0 clamp(18px, 2.6vh, 30px); font-family: var(--font-display); font-weight: 500; font-size: var(--fs-hero); line-height: 1.15; color: var(--ivory-50); }
:root[dir="ltr"] .hero__h { line-height: 1.04; letter-spacing: -.02em; font-size: clamp(2.7rem, 1.1rem + 4.7vw, 5.9rem); }
.hero__line { text-wrap: balance; }
:root[dir="ltr"] .about__txt .h2 { max-width: 15ch; }
.hero__line { display: block; }
.hero__line--gold { color: var(--gold-300); }
.hero__lede { max-width: 34em; font-family: var(--font-text); font-size: var(--fs-lede); line-height: 1.85; color: var(--on-dark-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(22px, 3.4vh, 38px); }
.hero__art { position: relative; display: grid; place-items: center; min-height: clamp(420px, 58vh, 620px); }
.hero__lattice { position: absolute; left: 50%; top: 50%; width: clamp(680px, 70vw, 1180px); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .9) 38%, rgba(0, 0, 0, .35) 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .9) 38%, rgba(0, 0, 0, .35) 70%, transparent 100%); }
.lattice { width: 100%; height: 100%; overflow: visible; }
.lt { fill: none; stroke: var(--gold-500); stroke-width: 1; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.lt--g { stroke-width: .8; opacity: .17; }
.lt--c { opacity: .42; }
.lt--k { opacity: .5; }
.lt--r { opacity: .32; }
.hero__foot { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: clamp(18px, 3vh, 40px); padding-top: 22px; border-top: 1px solid var(--line-dark); }
.hero__creds { display: flex; flex-wrap: wrap; gap: 18px clamp(24px, 4vw, 64px); }
.hero__creds li { display: flex; flex-direction: column; gap: 6px; }
.hero__creds b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1rem + .7vw, 1.65rem); line-height: 1.1; color: var(--gold-300); }
.hero__creds span { font-family: var(--font-sans); font-size: .82rem; color: var(--on-dark-3); }
.hero__scope b { color: var(--ivory-50); }

/* plaque */
.plaque { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 28%; position: relative; z-index: 1; width: clamp(250px, 23vw, 360px); aspect-ratio: 4 / 5; perspective: 1200px; }
.plaque__body { position: absolute; inset: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 1.1s var(--ease-out); will-change: transform; }
.plaque.is-live .plaque__body { transition-duration: .35s; }
.plaque__edge { position: absolute; inset: 0; border-radius: 4px; background:
  linear-gradient(138deg, #6E5122 0%, #D9BC7E 16%, #A8833F 32%, #6E5122 50%, #B8944F 66%, #DCC28A 82%, #7A5A26 100%);
  box-shadow: 0 70px 90px -46px rgba(0, 0, 0, .95), 0 34px 60px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 246, 222, .55), inset 0 -1px 0 rgba(0, 0, 0, .45); }
.plaque__edge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.plaque__face { position: absolute; inset: 7px; border-radius: 2px; background:
  radial-gradient(130% 85% at 26% 12%, #1B4834 0%, #10301F 34%, #0A1D15 68%, #06110C 100%);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .75), inset 0 -1px 0 rgba(255, 238, 196, .16), inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 -40px 60px -30px rgba(0, 0, 0, .7); }
.plaque__face::after { content: ""; position: absolute; inset: 0; background: url("../img/grain.webp"); background-size: 140px; opacity: .14; mix-blend-mode: overlay; border-radius: 2px; }
.plaque__inner { position: absolute; inset: 21px; border: 1px solid rgba(201, 164, 92, .34); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .14), inset 0 0 0 5px rgba(201, 164, 92, .12); }
.plaque__corner { position: absolute; width: 18px; height: 18px; border-color: var(--gold-500); border-style: solid; border-width: 0; opacity: .9; }
.plaque__corner--a { top: 15px; left: 15px; border-top-width: 1px; border-left-width: 1px; }
.plaque__corner--b { top: 15px; right: 15px; border-top-width: 1px; border-right-width: 1px; }
.plaque__corner--c { bottom: 15px; left: 15px; border-bottom-width: 1px; border-left-width: 1px; }
.plaque__corner--d { bottom: 15px; right: 15px; border-bottom-width: 1px; border-right-width: 1px; }
.plaque__mark { position: absolute; left: 50%; top: 45%; width: 56%; translate: -50% -50%; transform: translateZ(46px); filter: drop-shadow(0 -1px 0 rgba(255, 238, 196, .32)) drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); }
.plaque__hall { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; align-items: center; gap: 10px; transform: translateZ(24px); font-family: var(--font-sans); font-size: .78rem; color: rgba(230, 207, 151, .78); text-shadow: 0 -1px 0 rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 238, 196, .14); }
.plaque__hall bdi { letter-spacing: .28em; font-size: .74rem; }
.plaque__hall::before, .plaque__hall::after { content: ""; width: 26px; height: 1px; background: rgba(201, 164, 92, .55); }
.plaque__sheen { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; mix-blend-mode: soft-light; pointer-events: none; }
.plaque__sheen::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 46%; left: -60%; background: linear-gradient(100deg, transparent 0%, rgba(255, 246, 222, .0) 20%, rgba(255, 246, 222, .85) 50%, rgba(255, 246, 222, 0) 80%, transparent 100%); transform: skewX(-12deg); }
.plaque__glare { position: absolute; inset: 0; border-radius: 2px; background: radial-gradient(42% 34% at var(--gx) var(--gy), rgba(255, 238, 200, .2), transparent 72%); mix-blend-mode: screen; opacity: 0; transition: opacity .7s; pointer-events: none; }
.plaque.is-live .plaque__glare { opacity: 1; }
.plaque__shadow { position: absolute; left: 10%; right: 10%; bottom: -9%; height: 10%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(10px); z-index: -1; }

/* ---------------------------------------------------------------- 7. about */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.about__txt { grid-column: 1 / span 6; grid-row: 1; }
.about__txt .h2 { max-width: 13ch; margin-bottom: clamp(26px, 3vw, 40px); }
.prose--lead p { font-size: clamp(1.15rem, 1.05rem + .3vw, 1.32rem); line-height: 1.95; color: var(--paper-ink-2); }
.prose--lead p + p { margin-top: 1em; }
.portrait { position: relative; margin: 0; }
.about__grid > .portrait { grid-column: 8 / span 5; grid-row: 1; }
.portrait__media { position: relative; }
.portrait picture { position: relative; z-index: 1; overflow: hidden; background: var(--ivory-200); }
.portrait img { width: 100%; aspect-ratio: 1120 / 1436; object-fit: cover; }
.portrait__frame { position: absolute; inset-block: 22px -22px; inset-inline: 22px -22px; border: 1px solid rgba(142, 106, 46, .45); pointer-events: none; }
.portrait__cap { display: flex; flex-direction: column; gap: 4px; margin-top: 46px; padding-inline-start: 18px; border-inline-start: 1px solid var(--gold-500); }
.portrait__cap b { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.portrait__cap span { font-family: var(--font-sans); font-size: .875rem; color: var(--paper-mute); }
.limits { margin-top: clamp(32px, 3.5vw, 48px); padding-top: 26px; border-top: 1px solid var(--line-ivory); }
.limits__k { font-family: var(--font-sans); font-weight: 500; font-size: .875rem; color: var(--gold-700); margin-bottom: 12px; }
.limits__list li { position: relative; padding-inline-start: 30px; font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.85; color: var(--paper-ink-2); }
.limits__list li + li { margin-top: 6px; }
.limits__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .95em; width: 16px; height: 1px; background: var(--gold-700); }
.about__txt > p:last-child { margin-top: 32px; }
.creed { grid-column: 1 / span 11; grid-row: 2; position: relative; margin-top: clamp(64px, 7vw, 112px); }
.creed::before { content: ""; display: block; width: 64px; height: 1px; margin-bottom: 34px; background: var(--gold-500); }
.creed p { max-width: 34ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.05rem + 2.9vw, 3.9rem); line-height: 1.5; color: var(--paper-ink); text-wrap: balance; }
.creed footer { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.creed__rule { width: 40px; height: 1px; background: var(--gold-700); }
.creed cite { font-style: normal; font-family: var(--font-sans); font-size: .95rem; color: var(--paper-mute); }

/* ---------------------------------------------------------------- 8. services */
.svc-grid { --sx: -999px; --sy: -999px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 1px; background: radial-gradient(360px circle at var(--sx) var(--sy), rgba(230, 207, 151, .62), transparent 62%), rgba(201, 164, 92, .15); }
.svc { --mx: 50%; --my: -40%; position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 330px; padding: 30px 28px 22px; background: linear-gradient(180deg, #0F2A1F 0%, #0B2018 100%); transition: background-color .5s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(201, 164, 92, .14), transparent 70%); opacity: 0; transition: opacity .6s; }
.svc:hover::before, .svc.is-open::before { opacity: 1; }
.svc__n { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-500); }
.svc__n::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.svc__t { margin: clamp(38px, 4vw, 60px) 0 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.32rem, 1.1rem + .5vw, 1.6rem); line-height: 1.45; color: var(--ivory-50); }
.svc__a { text-decoration: none; }
.svc__a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc__s { font-family: var(--font-sans); font-size: .95rem; line-height: 1.8; color: var(--on-dark-2); }
.svc__sub { margin-top: 10px; font-family: var(--font-sans); font-size: .85rem; line-height: 1.7; color: var(--gold-300); opacity: .9; }
.svc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.svc__more > ul { min-height: 0; overflow: hidden; }
.svc.is-open .svc__more { grid-template-rows: 1fr; }
.svc__more li { position: relative; padding-inline-start: 18px; font-family: var(--font-sans); font-size: .9rem; line-height: 1.7; color: var(--on-dark); }
.svc__more li:first-child { margin-top: 18px; }
.svc__more li + li { margin-top: 8px; }
.svc__more li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 6px; height: 6px; border: 1px solid var(--gold-500); transform: rotate(45deg); }
.svc__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.svc__more + .svc__foot { border-top: 0; }
.svc__tg { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; margin-inline-start: -12px; border: 0; background: transparent; color: var(--gold-300); font-family: var(--font-sans); font-size: .875rem; border-radius: 2px; }
.svc__tg .ic { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.svc__tg[aria-expanded="true"] .ic { transform: rotate(45deg); }
.svc__tg:hover { background: rgba(201, 164, 92, .1); }
.svc__go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: .875rem; color: var(--on-dark-3); transition: color .3s; }
.svc__go .ic { width: 16px; height: 16px; transition: translate .45s var(--ease-out); }
.svc:hover .svc__go { color: var(--gold-200); }
.svc:hover .svc__go .ic { translate: calc(var(--dir) * 4px) 0; }

/* ---------------------------------------------------------------- 9. method */
.steps { position: relative; }
.steps__track { position: absolute; top: 7px; inset-inline: 0; height: 1px; background: var(--line-ivory-2); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(var(--grad-dir, 270deg), var(--gold-700), var(--gold-500)); transform: scaleX(var(--p, 0)); transform-origin: var(--rule-origin, right); }
:root[dir="ltr"] .steps__fill { --grad-dir: 90deg; }
.steps__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.step { position: relative; }
.step__node { position: relative; z-index: 1; display: block; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-ivory-2); background: var(--ivory-100); transition: background-color .6s, border-color .6s, box-shadow .6s; }
.step.is-on .step__node { background: var(--gold-500); border-color: var(--gold-700); box-shadow: 0 0 0 6px rgba(201, 164, 92, .18); }
.step__n { display: block; margin: 30px 0 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 2.2rem + 2.2vw, 4.6rem); line-height: 1; color: rgba(142, 106, 46, .5); transition: color .8s; }
.step.is-on .step__n { color: var(--gold-700); }
.step__t { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.4; margin-bottom: 10px; }
.step__p { font-family: var(--font-text); font-size: 1.04rem; line-height: 1.85; color: var(--paper-mute); }
.pull { max-width: 30ch; margin: clamp(56px, 7vw, 104px) 0 0; margin-inline-start: auto; padding-inline-start: 30px; border-inline-start: 2px solid var(--gold-500); }
.pull p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.2rem); line-height: 1.6; color: var(--paper-ink); }

/* ---------------------------------------------------------------- 10. credentials */
.lics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line-dark); }
.lic { position: relative; padding: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 36px); }
.lic:first-child { padding-inline-start: 0; }
.lic + .lic { border-inline-start: 1px solid var(--line-dark); }
.lic__k { display: block; font-family: var(--font-sans); font-size: .82rem; color: var(--on-dark-3); }
.lic__v { display: block; margin: 10px 0 18px; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.5rem); line-height: 1.05; color: var(--gold-300); font-variant-numeric: lining-nums; }
.lic__b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.5; color: var(--ivory-50); }
.lic__m { display: block; margin-top: 8px; font-family: var(--font-sans); font-size: .875rem; line-height: 1.75; color: var(--on-dark-3); }
.lic-note { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-top: 22px; font-family: var(--font-sans); font-size: .9rem; color: var(--on-dark-3); }
.lic-note__v { font-family: var(--font-display); color: var(--gold-300); font-size: 1.05rem; }
.creds__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 24px clamp(28px, 4vw, 64px); }
.figures li { display: flex; align-items: baseline; gap: 14px; }
.figures__v { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.6rem); line-height: 1; color: var(--gold-300); }
.figures__k { max-width: 13ch; font-family: var(--font-sans); font-size: .95rem; line-height: 1.6; color: var(--on-dark-2); }
[data-count] { font-variant-numeric: tabular-nums; }
.creds__foot { flex-direction: column; align-items: flex-start; }
.creds__links { display: flex; flex-wrap: wrap; gap: 14px 32px; }

/* marquee */
.mq { position: relative; margin-top: clamp(48px, 5vw, 72px); }
.mq__vp { overflow: hidden; padding-block: 14px 8px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.mq__track { display: flex; gap: 24px; width: max-content; animation: mq-ltr var(--mq-dur, 90s) linear infinite; }
[dir="rtl"] .mq__track { animation-name: mq-rtl; }
.mq:hover .mq__track, .mq:focus-within .mq__track, .mq.is-paused .mq__track { animation-play-state: paused; }
@keyframes mq-ltr { to { transform: translateX(-50%); } }
@keyframes mq-rtl { to { transform: translateX(50%); } }
.mq.is-driven .mq__track { animation: none; will-change: transform; }
.mq__vp { touch-action: pan-y; }
.mq.is-driven .mq__vp { cursor: grab; }
.mq.is-dragging .mq__vp { cursor: grabbing; }
.mq.is-dragging .mq__track { user-select: none; -webkit-user-select: none; }
.mq__track img { -webkit-user-drag: none; user-select: none; }
.mq__i { position: relative; flex: none; }
.mq__card { display: block; width: clamp(230px, 22vw, 300px); padding: 0; border: 0; background: none; text-align: start; color: inherit; cursor: zoom-in; perspective: 1100px; }
.mq__flip { position: relative; display: grid; transform-style: preserve-3d; transition: transform .85s var(--ease-out); }
.mq__face { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mq__face--front { display: flex; flex-direction: column; gap: 14px; }
.mq__face--back { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 22px 22px 18px; transform: rotateY(180deg); background: radial-gradient(120% 90% at 20% 0%, #1B4834 0%, #0F2C20 45%, #091A13 100%); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .42), 0 24px 40px -24px rgba(0, 0, 0, .9); }
.mq__face--back::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 164, 92, .2); pointer-events: none; }
.mq__seal { position: absolute; top: 16px; inset-inline-end: 16px; width: 22px; height: 21px; background: url("../brand/mark-gold-160.png") center / contain no-repeat; opacity: .7; }
.mq__row { display: flex; flex-direction: column; gap: 1px; }
.mq__k { font-family: var(--font-sans); font-size: .7rem; line-height: 1.3; color: var(--gold-300); opacity: .8; }
:root[dir="ltr"] .mq__k { text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; }
.mq__v { font-family: var(--font-display); font-weight: 500; font-size: .98rem; line-height: 1.45; color: var(--ivory-50); }
.mq__row:nth-child(4) .mq__v { color: var(--gold-200); }
.mq__open { margin-top: 4px; font-family: var(--font-sans); font-size: .72rem; color: var(--on-dark-3); }
@media (hover: hover) and (pointer: fine) {
  .mq__card:hover .mq__flip, .mq__card:focus-visible .mq__flip { transform: rotateY(180deg); }
  .mq.is-dragging .mq__card:hover .mq__flip { transform: none; }
}
.mq__i.is-flipped .mq__flip { transform: rotateY(180deg); }
.mq__turn { position: absolute; z-index: 2; top: 8px; inset-inline-start: 8px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(8, 16, 13, .82); color: var(--gold-300); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mq__turn .ic { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.mq__turn[aria-pressed="true"] .ic { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .mq__turn { display: none; } }
.mq__shot { display: block; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 24px 40px -24px rgba(0, 0, 0, .9); transition: box-shadow .7s; }
.mq__shot img { width: 100%; height: auto; aspect-ratio: 560 / 396; object-fit: cover; object-position: top; }
.mq__cap { display: flex; flex-direction: column; gap: 2px; }
.mq__cap b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--gold-300); }
.mq__cap span { font-family: var(--font-sans); font-size: .84rem; line-height: 1.55; color: var(--on-dark-3); }
.mq__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.mq__hint { font-family: var(--font-sans); font-size: .82rem; color: var(--on-dark-3); }
.mq__pp .ic--play { display: none; }
.mq.is-paused .mq__pp .ic--play { display: block; }
.mq.is-paused .mq__pp .ic--pause { display: none; }

/* ---------------------------------------------------------------- 11. articles (cards) */
.journal__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 88px); align-items: start; }
.acard__a { display: block; color: inherit; text-decoration: none; }
.acard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--font-sans); font-size: .82rem; line-height: 1.5; color: var(--paper-mute); }
.acard__cat { color: var(--emerald-600); font-weight: 500; }
.acard__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.acard__t { margin: 12px 0 10px; font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; line-height: 1.55; color: var(--paper-ink); text-wrap: balance; transition: color .35s; }
.acard__d { font-family: var(--font-text); font-size: 1.04rem; line-height: 1.85; color: var(--paper-mute); }
.acard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--font-sans); font-weight: 500; font-size: .92rem; color: var(--emerald-600); }
.acard__go .ic { width: 1.1em; height: 1.1em; transition: translate .45s var(--ease-out); }
.acard__a:hover .acard__t { color: var(--emerald-600); }
.acard__a:hover .acard__go .ic { translate: calc(var(--dir) * 5px) 0; }
.acard--lead { padding-top: 30px; border-top: 2px solid var(--paper-ink); }
.acard--lead .acard__t { margin: 20px 0 18px; font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3rem); line-height: 1.42; }
.acard--lead .acard__d { font-size: var(--fs-lede); max-width: 36em; }
.journal__list { border-top: 2px solid var(--paper-ink); }
.acard--row { padding: 24px 0 26px; border-bottom: 1px solid var(--line-ivory); }
.acard--row .acard__t { font-size: 1.24rem; margin-bottom: 0; }
.acard--row .acard__d, .acard--row .acard__go { display: none; }

/* ---------------------------------------------------------------- 12. accordion */
.acc__i { border-top: 1px solid var(--line-ivory); }
.acc__i:last-child { border-bottom: 1px solid var(--line-ivory); }
.acc__h { margin: 0; font: inherit; }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0; border: 0; background: none; color: inherit; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.12rem, 1rem + .4vw, 1.36rem); line-height: 1.6; text-align: start; }
.acc__qt { flex: 1; }
.acc__ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line-ivory-2); border-radius: 50%; color: var(--gold-700); transition: transform .55s var(--ease-out), background-color .4s, border-color .4s; }
.acc__ic .ic { width: 18px; height: 18px; }
.acc__q:hover .acc__ic { border-color: var(--gold-700); }
.acc__q[aria-expanded="true"] .acc__ic { transform: rotate(45deg); background: rgba(201, 164, 92, .14); border-color: var(--gold-700); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.acc__a.is-open { grid-template-rows: 1fr; }
.acc__aw { min-height: 0; overflow: hidden; }
.acc__aw > :last-child { margin-bottom: 28px; }
.acc__aw p { max-width: 66ch; font-family: var(--font-text); font-size: 1.06rem; line-height: 1.95; color: var(--paper-ink-2); }
.acc__aw p + p { margin-top: .8em; }
.acc__src, .acc__rel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; font-family: var(--font-sans); font-size: .875rem; }
.acc__k { color: var(--paper-mute); margin-inline-end: 4px; }
.acc__rel a { color: var(--emerald-600); }
.acc__ask { margin-top: 18px; }
.acc--dark .acc__i { border-color: var(--line-dark); }
.acc--dark .acc__q { color: var(--ivory-50); }
.acc--dark .acc__ic { border-color: var(--line-dark-2); color: var(--gold-300); }
.acc--dark .acc__q:hover .acc__ic, .acc--dark .acc__q[aria-expanded="true"] .acc__ic { border-color: var(--gold-300); }
.acc--dark .acc__aw p { color: var(--on-dark-2); }
mark { background: rgba(201, 164, 92, .32); color: inherit; border-radius: 2px; padding: 0 .08em; }

/* ---------------------------------------------------------------- 13. home faq */
.hfaq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 112px); align-items: start; }
.hfaq__head { position: sticky; top: calc(var(--hdr-h) + 40px); }
.hfaq__head .h2 { max-width: 11ch; }
.hfaq__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }

/* ---------------------------------------------------------------- 14. contact (home) */
.hcontact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "lead wiz" "info wiz"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 104px); align-items: start; }
.hcontact__lead { grid-area: lead; }
.hcontact__info { grid-area: info; }
.hcontact__wiz { grid-area: wiz; }
.hcontact__lead .h2 { max-width: 14ch; }
.hcontact__p { margin-top: 24px; font-family: var(--font-sans); font-size: 1.04rem; line-height: 1.9; color: var(--on-dark-2); max-width: 34em; }
.cl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.cl dt { font-family: var(--font-sans); font-size: .84rem; color: var(--on-dark-3); padding-top: .2em; }
.cl dd { margin: 0; font-family: var(--font-sans); font-size: 1rem; color: var(--on-dark); }
.cl a { text-decoration: none; }
.cl a:hover { color: var(--gold-200); }
.cl--big { margin-top: 36px; }
.cl--big dd { font-size: 1.08rem; }
.cl [dir="ltr"] { display: inline-block; }
:root[dir="rtl"] .cl dd a[dir="ltr"] { text-align: right; }
.qrc { display: flex; align-items: center; gap: 20px; }
.qrc__frame { flex: none; display: block; width: 132px; padding: 0; border-radius: 14px; box-shadow: 0 0 0 1px rgba(201, 164, 92, .3), 0 18px 40px -20px rgba(0, 0, 0, .8); }
.qrc__frame img { width: 100%; height: auto; border-radius: 12px; }
.qrc figcaption { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-sans); font-size: .875rem; line-height: 1.6; color: var(--on-dark-3); }
.qrc figcaption b { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ivory-50); }
.qrc figcaption a { color: var(--gold-300); }
.qrc--inline { margin-top: 36px; }

/* ---------------------------------------------------------------- 15. wizard */
.wiz { position: relative; padding: clamp(26px, 3.4vw, 48px); background: var(--ivory-50); color: var(--paper-ink); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 50px 90px -50px rgba(0, 0, 0, .9); }
.wiz::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(142, 106, 46, .22); pointer-events: none; }
.wiz__h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.35; }
.wiz__sub { margin-top: 10px; font-family: var(--font-sans); font-size: .95rem; line-height: 1.8; color: var(--paper-mute); }
.wiz__steps { display: flex; gap: 8px; margin: 28px 0 26px; }
.wiz__step { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 2px solid var(--line-ivory); font-family: var(--font-sans); font-size: .84rem; color: var(--paper-mute); transition: border-color .5s, color .5s; }
.wiz__step.is-on { border-color: var(--gold-500); color: var(--paper-ink); }
.wiz__step.is-done { border-color: var(--gold-700); }
.wiz__sn { font-family: var(--font-display); font-size: .95rem; color: var(--gold-700); }
.wiz__panel { margin: 0; padding: 0; border: 0; min-width: 0; }
.wiz__panel.is-on { animation: wiz-in .6s var(--ease-out); }
@keyframes wiz-in { from { opacity: 0; transform: translateY(10px); } }
.wiz__lab { display: block; margin-bottom: 16px; padding: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.5; color: var(--paper-ink); }
.wiz__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-ivory-2); border-radius: 999px; font-family: var(--font-sans); font-size: .95rem; line-height: 1.3; color: var(--paper-ink-2); background: #fff; transition: background-color .3s, border-color .3s, color .3s; }
.opt:hover span { border-color: var(--paper-ink); }
.opt input:checked + span { background: var(--emerald-900); border-color: var(--emerald-900); color: var(--ivory-50); }
.opt input:focus-visible + span { outline: 2px solid var(--emerald-600); outline-offset: 3px; }
.field { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-ivory-2); border-radius: 2px; background: #fff; color: var(--paper-ink); font-family: var(--font-text); font-size: 1.05rem; line-height: 1.8; transition: border-color .3s, box-shadow .3s; }
.field:focus { border-color: var(--emerald-600); box-shadow: 0 0 0 3px rgba(30, 90, 65, .15); outline: none; }
.field--area { min-height: 150px; resize: vertical; }
.wiz__other { margin-top: 14px; max-width: 340px; }
.wiz__count { margin-top: 6px; font-family: var(--font-sans); font-size: .8rem; color: var(--paper-mute); text-align: end; }
.wiz__suggest { margin-top: 16px; padding: 14px 16px; background: var(--ivory-100); border-inline-start: 2px solid var(--gold-500); }
.wiz__sk { font-family: var(--font-sans); font-size: .82rem; color: var(--paper-mute); margin-bottom: 6px; }
.wiz__suggest a { font-family: var(--font-sans); font-size: .92rem; line-height: 1.7; color: var(--emerald-600); }
.wiz__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.wiz__next, .wiz__send { margin-inline-start: auto; }
.wiz__hint { margin-top: 10px; font-family: var(--font-sans); font-size: .82rem; color: var(--paper-mute); text-align: end; }
.wiz__note, .wiz__num { margin-top: 18px; font-family: var(--font-sans); font-size: .84rem; line-height: 1.75; color: var(--paper-mute); }
.wiz__num { margin-top: 6px; }
.wiz__num a { color: var(--emerald-600); font-weight: 500; }

/* ---------------------------------------------------------------- 16. footer */
.ftr { position: relative; isolation: isolate; padding: clamp(72px, 8vw, 112px) 0 36px; background: var(--ink-950); color: var(--on-dark-2); }
.ftr__rule { position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .55), transparent); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 1.5fr) minmax(0, 2.5fr) minmax(0, 3.3fr) auto; gap: 40px clamp(24px, 3vw, 48px); }
.ftr__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.ftr__logo img { width: 52px; }
.ftr__logo b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.4; color: var(--ivory-50); }
.ftr__logo span span { font-family: var(--font-sans); font-size: .82rem; color: var(--gold-300); }
.ftr__tag { margin-top: 20px; max-width: 30ch; font-family: var(--font-sans); font-size: .92rem; line-height: 1.8; }
.ftr__lic { margin-top: 12px; font-family: var(--font-sans); font-size: .875rem; color: var(--gold-300); }
.ftr__h { margin-bottom: 16px; font-family: var(--font-sans); font-weight: 500; font-size: .82rem; color: var(--on-dark-3); }
:root[dir="ltr"] .ftr__h { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; }
.ftr__col li + li { margin-top: 8px; }
.ftr__col a { font-family: var(--font-sans); font-size: .95rem; color: var(--on-dark); text-decoration: none; transition: color .3s; }
.ftr__col a:hover { color: var(--gold-200); }
.ftr__contact .cl > div { grid-template-columns: 5.5em 1fr; padding: 8px 0; }
.ftr__contact .cl dd { font-size: .92rem; white-space: nowrap; }
.ftr__qr { width: 120px; }
.ftr__qr img { width: 120px; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(201, 164, 92, .25); }
.ftr__qr figcaption { margin-top: 10px; font-family: var(--font-sans); font-size: .76rem; color: var(--on-dark-3); text-align: center; }
.ftr__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line-dark); font-family: var(--font-sans); font-size: .82rem; color: var(--on-dark-3); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__legal a { color: var(--on-dark-2); text-decoration: none; }
.ftr__legal a:hover { color: var(--gold-200); }

/* ---------------------------------------------------------------- 17. floating whatsapp, toast, cursor, progress */
.wa-float { position: fixed; z-index: 40; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-end: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 16px; border-radius: 999px; background: rgba(10, 26, 20, .92); color: var(--ivory-50); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .45), 0 18px 40px -16px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: translate .5s var(--ease-out), background-color .4s, opacity .4s; }
.wa-float .ic { width: 22px; height: 22px; color: var(--gold-300); }
.wa-float__t { display: flex; flex-direction: column; line-height: 1.15; }
.wa-float__k { font-family: var(--font-sans); font-size: .7rem; color: var(--gold-300); }
.wa-float__n { font-family: var(--font-sans); font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.wa-float:hover { background: var(--emerald-800); }
.wa-float.is-tucked { translate: 0 140%; opacity: 0; }
.toast { position: fixed; z-index: 120; bottom: 24px; inset-inline-start: 24px; max-width: min(420px, calc(100vw - 48px)); padding: 14px 20px; background: var(--paper-ink); color: var(--ivory-50); font-family: var(--font-sans); font-size: .92rem; border-inline-start: 2px solid var(--gold-500); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity .4s, translate .5s var(--ease-out); }
.toast.is-on { opacity: 1; translate: 0 0; }
.cursor { position: fixed; z-index: 150; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; opacity: 0; transition: opacity .35s; }
.cursor span { display: block; width: 100%; height: 100%; border: 1px solid rgba(201, 164, 92, .8); border-radius: 50%; transition: transform .45s var(--ease-out), background-color .35s, border-color .35s; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link span { transform: scale(1.7); background: rgba(201, 164, 92, .1); }
.cursor.is-down span { transform: scale(.75); }
.cursor.is-off { opacity: 0 !important; }
.progress { position: fixed; z-index: 60; top: 0; inset-inline: 0; height: 2px; pointer-events: none; display: none; }
.pg-articles.is-article .progress { display: block; }
.progress__bar { display: block; height: 100%; background: linear-gradient(var(--grad-dir, 270deg), var(--gold-700), var(--gold-300)); transform: scaleX(0); transform-origin: var(--rule-origin, right); }

/* ---------------------------------------------------------------- 18. search dialog */
.srch { width: min(720px, calc(100vw - 32px)); max-height: min(78vh, 720px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 4px; background: var(--ivory-50); color: var(--paper-ink); box-shadow: 0 0 0 1px rgba(201, 164, 92, .4), 0 60px 120px -40px rgba(0, 0, 0, .9); overflow: hidden; }
.srch::backdrop { background: rgba(5, 8, 7, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.srch[open] { animation: dlg-in .45s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.srch__box { display: flex; flex-direction: column; max-height: inherit; }
.srch__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-ivory); }
.srch__bar > .ic { width: 24px; height: 24px; color: var(--gold-700); }
.srch__q { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-family: var(--font-text); font-size: 1.2rem; color: var(--paper-ink); outline: none; }
.srch__q::placeholder { color: rgba(98, 88, 73, .8); }
.srch__q::-webkit-search-cancel-button { display: none; }
.srch__x { color: var(--paper-mute); }
.srch__x kbd { color: var(--paper-mute); border-color: var(--line-ivory-2); }
.srch__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 10px 10px 16px; }
.srch__empty { padding: 14px 10px; }
.srch__k { font-family: var(--font-sans); font-size: .82rem; color: var(--paper-mute); margin-bottom: 12px; }
.srch__sugs { display: flex; flex-wrap: wrap; gap: 8px; }
.srch__grp { padding: 14px 10px 6px; font-family: var(--font-sans); font-size: .78rem; color: var(--gold-700); }
.srch__opt a { display: block; padding: 12px 14px; border-radius: 3px; text-decoration: none; color: inherit; }
.srch__opt[aria-selected="true"] a, .srch__opt a:hover { background: var(--ivory-100); box-shadow: inset 2px 0 0 var(--gold-500); }
[dir="rtl"] .srch__opt[aria-selected="true"] a, [dir="rtl"] .srch__opt a:hover { box-shadow: inset -2px 0 0 var(--gold-500); }
.srch__t { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; line-height: 1.55; }
.srch__s { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: .84rem; line-height: 1.6; color: var(--paper-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srch__none { padding: 24px 10px; font-family: var(--font-sans); color: var(--paper-mute); }
.srch__keys { padding: 10px 18px; border-top: 1px solid var(--line-ivory); font-family: var(--font-sans); font-size: .76rem; color: var(--paper-mute); }

/* ---------------------------------------------------------------- 19. lightbox */
.lbx { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 8, 7, .96); color: var(--on-dark); }
.lbx::backdrop { background: rgba(5, 8, 7, .9); }
.lbx[open] { display: flex; flex-direction: column; animation: fade-in .4s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; } }
.lbx__stage { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); cursor: zoom-in; touch-action: none; }
.lbx__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); transition: transform .5s var(--ease-out); transform-origin: center; user-select: none; -webkit-user-drag: none; }
.lbx.is-zoomed .lbx__stage { cursor: grab; }
.lbx.is-zoomed .lbx__img { transition: none; }
.lbx__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); background: var(--ink-900); }
.lbx__cap { flex: 1; min-width: 200px; font-family: var(--font-sans); font-size: .92rem; color: var(--on-dark); }
.lbx__count { font-family: var(--font-sans); font-size: .82rem; color: var(--on-dark-3); }
.lbx__tools { display: flex; gap: 4px; }
.lbx__tools .ic--zout { display: none; }
.lbx.is-zoomed .lbx__tools .ic--zin { display: none; }
.lbx.is-zoomed .lbx__tools .ic--zout { display: block; }

/* ---------------------------------------------------------------- 19b. inner pages */
.phead { position: relative; isolation: isolate; padding: calc(var(--hdr-h) + clamp(44px, 7vw, 96px)) 0 clamp(52px, 6vw, 88px); background: var(--ink-950); color: var(--on-dark); overflow: hidden; }
.phead__bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 90% at 0% 0%, rgba(30, 90, 65, .42), transparent 70%),
  radial-gradient(50% 80% at 100% 100%, rgba(18, 53, 38, .55), transparent 70%),
  linear-gradient(180deg, #07120E, #050807); }
:root[dir="rtl"] .phead__bg { transform: scaleX(-1); }
.phead::after { content: ""; position: absolute; inset-inline: var(--gutter); bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .5), transparent); }
.phead__in { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 clamp(22px, 3vw, 34px); padding: 0; list-style: none; font-family: var(--font-sans); font-size: .84rem; color: var(--on-dark-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid var(--gold-500); border-inline-end: 1px solid var(--gold-500); transform: rotate(calc(var(--dir) * 45deg)); opacity: .8; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-200); }
.crumbs [aria-current] { color: var(--on-dark-3); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phead__h { max-width: 20ch; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h1); line-height: 1.25; color: var(--ivory-50); text-wrap: balance; }
:root[dir="ltr"] .phead__h { line-height: 1.08; letter-spacing: -.015em; }
.phead__lede { max-width: 40em; margin-top: clamp(16px, 2vw, 26px); font-family: var(--font-text); font-size: var(--fs-lede); line-height: 1.85; color: var(--on-dark-2); }
.phead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; font-family: var(--font-sans); font-size: .875rem; color: var(--on-dark-3); }
.phead__meta b { font-weight: 500; color: var(--on-dark); }
.phead__cat { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-sans); font-size: .9rem; color: var(--gold-300); text-decoration: none; }
.phead__cat::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.phead .tag { background: rgba(201, 164, 92, .18); color: var(--gold-200); }
.phead--split .phead__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.phead__photo { position: relative; margin: 0; }
.phead__photo .portrait__media { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.phead__photo .portrait__frame { border-color: rgba(201, 164, 92, .45); }
.phead__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.phead__photo figcaption { margin-top: 40px; font-family: var(--font-sans); font-size: .84rem; color: var(--on-dark-3); }
.phead__photo figcaption b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ivory-50); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 18px clamp(24px, 3.5vw, 56px); margin-top: clamp(32px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line-dark); }
.facts li { display: flex; flex-direction: column; gap: 6px; }
.facts b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); line-height: 1.15; color: var(--gold-300); }
.facts span { font-family: var(--font-sans); font-size: .8rem; line-height: 1.5; color: var(--on-dark-3); }
.phead__more { margin-top: 26px; }

.ivory { background: var(--ivory-50); color: var(--paper-ink); }
.page { padding-block: clamp(64px, 8vw, 128px); }
.page--tight { padding-top: clamp(48px, 6vw, 88px); }
.split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(36px, 6vw, 104px); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.aside-stick { position: sticky; top: calc(var(--hdr-h) + 28px); }
.block + .block { margin-top: clamp(56px, 6vw, 88px); }
.block__h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem); line-height: 1.35; color: var(--paper-ink); }
.block__n { font-size: 1rem; color: var(--gold-700); }
.intro p { font-family: var(--font-text); font-size: var(--fs-lede); line-height: 1.9; color: var(--paper-ink-2); }
.intro p + p { margin-top: 1em; }

/* prose (articles, about, legal) */
.prose { overflow-wrap: break-word; font-family: var(--font-text); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--paper-ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose p { hanging-punctuation: first; }
@media (min-width: 1024px) { :root[dir="rtl"] .prose--just p, :root[dir="rtl"] .prose--just li { text-align: justify; text-justify: inter-word; } }
.prose h2 { position: relative; margin-top: 2.3em; margin-bottom: .1em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 1.25rem + 1vw, 2.15rem); line-height: 1.45; color: var(--paper-ink); text-wrap: balance; }
.prose h3 { margin-top: 1.8em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.12rem + .45vw, 1.5rem); line-height: 1.5; color: var(--paper-ink); }
.prose h2 + p, .prose h3 + p { margin-top: .55em; }
.prose strong { font-weight: 700; color: var(--paper-ink); }
.prose a { color: var(--emerald-600); text-decoration: underline; text-decoration-color: rgba(30, 90, 65, .35); text-underline-offset: .3em; transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding: 0; margin-inline: 0; list-style: none; }
.prose li { position: relative; padding-inline-start: 1.6em; }
.prose li + li { margin-top: .5em; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: .25em; top: .9em; width: 6px; height: 6px; border: 1px solid var(--gold-700); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li, arabic-indic); position: absolute; inset-inline-start: 0; top: 0; font-family: var(--font-display); font-size: .95em; color: var(--gold-700); }
:root[dir="ltr"] .prose ol > li::before { content: counter(li) "."; }
.prose blockquote { margin-inline: 0; padding: 4px 26px; border-inline-start: 2px solid var(--gold-500); font-family: var(--font-display); font-size: 1.2em; line-height: 1.75; color: var(--paper-ink); }
.prose .tbl { position: relative; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-block: 1px solid var(--line-ivory-2); scrollbar-width: thin; scrollbar-color: var(--ivory-300) transparent;
  background:
    linear-gradient(90deg, var(--ivory-50) 35%, rgba(251, 248, 242, 0)) left center / 48px 100% no-repeat local,
    linear-gradient(270deg, var(--ivory-50) 35%, rgba(251, 248, 242, 0)) right center / 48px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(23, 19, 15, .16), transparent) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(23, 19, 15, .16), transparent) right center / 16px 100% no-repeat scroll; }
.prose .tbl:focus-visible { outline-offset: 4px; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: .93rem; line-height: 1.75; }
.prose th, .prose td { padding: 13px 16px; border-bottom: 1px solid var(--line-ivory); text-align: start; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-weight: 500; font-size: .86rem; color: var(--gold-800); background: var(--ivory-100); border-bottom-color: var(--line-ivory-2); white-space: nowrap; }
.prose td:first-child { font-weight: 500; color: var(--paper-ink); }
.prose tbody tr:hover td { background: rgba(244, 238, 227, .6); }
.tbl__hint { display: none; margin-top: 8px !important; font-family: var(--font-sans); font-size: .78rem; color: var(--paper-mute); }
.tbl__hint::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-inline-end: 8px; vertical-align: middle; background: var(--gold-700); }
.prose aside.note { position: relative; padding: 44px 24px 20px; background: var(--ivory-100); border-inline-start: 2px solid var(--emerald-600); font-size: .97em; line-height: 1.9; color: var(--paper-ink-2); }
.prose aside.note::before { content: "ملاحظة"; position: absolute; top: 16px; inset-inline-start: 24px; font-family: var(--font-sans); font-weight: 500; font-size: .76rem; color: var(--emerald-600); }
.prose aside.note--warn { border-inline-start-color: var(--gold-600); background: #F6EEDB; }
.prose aside.note--warn::before { content: "تنبيه"; color: var(--gold-800); }
:root[lang="en"] .prose aside.note::before { content: "Note"; text-transform: uppercase; letter-spacing: .14em; }
:root[lang="en"] .prose aside.note--warn::before { content: "Caution"; }
.prose aside.note > :first-child { margin-top: 0; }
.prose aside.note p + p { margin-top: .6em; }
.prose .ext::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-inline-start: .22em; border-top: 1px solid currentColor; border-inline-end: 1px solid currentColor; transform: translateY(-.32em) rotate(calc(var(--dir) * 0deg)); opacity: .6; }
.hlink { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-inline-start: 10px; vertical-align: middle; border: 0; border-radius: 50%; background: transparent; color: var(--gold-700); opacity: 0; transition: opacity .3s, background-color .3s; }
.hlink .ic { width: 17px; height: 17px; }
.prose h2:hover .hlink, .prose h3:hover .hlink, .hlink:focus-visible { opacity: 1; }
.hlink:hover { background: rgba(201, 164, 92, .14); }
@media (hover: none) { .hlink { opacity: .55; } }

/* article layout */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: clamp(40px, 6vw, 112px); align-items: start; }
.art__main { max-width: 46rem; }
:root[dir="ltr"] .art__main { max-width: 44rem; }
.art__aside { position: sticky; top: calc(var(--hdr-h) + 28px); max-height: calc(100vh - var(--hdr-h) - 128px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ivory-300) transparent; }
.toc__h { margin-bottom: 14px; font-family: var(--font-sans); font-weight: 500; font-size: .82rem; color: var(--gold-700); }
.toc__btn { display: none; }
.toc ol { counter-reset: t; list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line-ivory); }
.toc li { counter-increment: t; }
.toc a { position: relative; display: flex; gap: 10px; padding: 7px 0; padding-inline-start: 18px; margin-inline-start: -1px; border-inline-start: 1px solid transparent; font-family: var(--font-sans); font-size: .9rem; line-height: 1.6; color: var(--paper-mute); text-decoration: none; transition: color .3s, border-color .3s; }
.toc a::before { content: counter(t, arabic-indic); min-width: 1.4em; font-family: var(--font-display); color: var(--gold-700); opacity: .7; }
:root[dir="ltr"] .toc a::before { content: counter(t, decimal-leading-zero); font-size: .82rem; padding-top: .1em; }
.toc a:hover { color: var(--paper-ink); }
.toc a.is-active { color: var(--paper-ink); border-inline-start-color: var(--gold-500); }
.toc li.toc__sub a { padding-inline-start: 34px; font-size: .84rem; }
.toc li.toc__sub a::before { content: ""; min-width: 0; }
.keys { margin-bottom: clamp(36px, 4vw, 52px); padding: 26px 28px; background: var(--ivory-100); border-top: 2px solid var(--gold-500); }
.keys__h { margin-bottom: 14px; font-family: var(--font-sans); font-weight: 500; font-size: .84rem; color: var(--gold-700); }
.keys ul { list-style: none; margin: 0; padding: 0; }
.keys li { position: relative; padding-inline-start: 30px; font-family: var(--font-text); font-size: 1.06rem; line-height: 1.85; color: var(--paper-ink); }
.keys li + li { margin-top: 10px; }
.keys li::before { content: ""; position: absolute; inset-inline-start: 0; top: .95em; width: 16px; height: 1px; background: var(--gold-700); }
.srcs { margin-top: clamp(48px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-ivory); }
.srcs__h { font-family: var(--font-sans); font-weight: 500; font-size: .84rem; color: var(--gold-700); }
.srcs__note { margin: 4px 0 16px; font-family: var(--font-sans); font-size: .8rem; color: var(--paper-mute); }
.srcs__list { display: flex; flex-wrap: wrap; gap: 10px; }
.srcs__list .chip { min-height: 40px; }
.chip__host { font-size: .74rem; opacity: .65; }
.afaq { margin-top: clamp(48px, 5vw, 72px); }
.author { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; margin-top: clamp(48px, 5vw, 72px); padding: 24px 0; border-block: 1px solid var(--line-ivory); }
.author picture img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.author b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--paper-ink); }
.author p { font-family: var(--font-sans); font-size: .9rem; line-height: 1.7; color: var(--paper-mute); }
.disclaimer { margin-top: 18px; font-family: var(--font-sans); font-size: .84rem; line-height: 1.8; color: var(--paper-mute); }
.consult { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 28px; padding: 26px 28px; background: var(--emerald-900); color: var(--on-dark); }
.consult p { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.5; }
.consult small { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: .84rem; color: var(--on-dark-3); }
.consult small a { color: var(--gold-300); }
.related { padding-block: clamp(64px, 7vw, 104px); background: var(--ivory-100); color: var(--paper-ink); }
.related__h { margin-bottom: 30px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.cards3 .acard { padding-top: 22px; border-top: 1px solid var(--line-ivory-2); }

/* articles index */
.filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-bottom: 26px; margin-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line-ivory); }
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__side { display: flex; align-items: center; gap: 16px; }
.filter__count { font-family: var(--font-sans); font-size: .84rem; color: var(--paper-mute); white-space: nowrap; }
.sfield { position: relative; display: flex; align-items: center; min-width: min(320px, 100%); }
.sfield .ic { position: absolute; inset-inline-start: 14px; width: 20px; height: 20px; color: var(--gold-700); pointer-events: none; }
.sfield input { width: 100%; min-height: 46px; padding-inline: 44px 16px; border: 1px solid var(--line-ivory-2); border-radius: 999px; background: #fff; font-family: var(--font-sans); font-size: .95rem; color: var(--paper-ink); }
.sfield input:focus { outline: none; border-color: var(--emerald-600); box-shadow: 0 0 0 3px rgba(30, 90, 65, .14); }
.sfield input::-webkit-search-cancel-button, .sfield input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.alist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 88px); }
.alist .acard { padding: 30px 0 34px; border-top: 1px solid var(--line-ivory); }
.alist .acard__t { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); }
.alist .acard:first-child { grid-column: 1 / -1; padding-top: 0; border-top: 0; }
.alist .acard:first-child .acard__t { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.4; max-width: 24ch; }
.alist .acard:first-child .acard__d { font-size: var(--fs-lede); max-width: 44em; }
.empty { padding: 40px 0; font-family: var(--font-sans); color: var(--paper-mute); }

/* faq page */
.ftools { position: sticky; top: calc(var(--hdr-h) - 1px); z-index: 5; display: grid; gap: 16px; padding: 18px 0 20px; margin-bottom: 36px; background: rgba(251, 248, 242, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-ivory); }
.ftools__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.ftools .sfield { flex: 1; max-width: 560px; }
.ftools .sfield input { min-height: 52px; font-size: 1.02rem; }
.fchips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.fchips .chip { flex: none; }
.fgroup + .fgroup, .ffeat + .fgroup { margin-top: clamp(48px, 5vw, 72px); }
[data-faq] .acc__i { content-visibility: auto; contain-intrinsic-size: auto 84px; }
.fgroup__h, .ffeat__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.85rem); line-height: 1.4; color: var(--paper-ink); }
.fgroup__h span, .ffeat__h span { font-family: var(--font-sans); font-weight: 400; font-size: .82rem; color: var(--paper-mute); }
.ffeat { padding: clamp(24px, 3vw, 40px); background: var(--emerald-900); color: var(--on-dark); }
.ffeat__h { color: var(--ivory-50); }
.ffeat__h span { color: var(--on-dark-3); }
.ffeat .acc__i { border-color: var(--line-dark); }
.ffeat .acc__q { color: var(--ivory-50); }
.ffeat .acc__ic { border-color: var(--line-dark-2); color: var(--gold-300); }
.ffeat .acc__aw p { color: var(--on-dark-2); }
.ffeat .acc__k { color: var(--on-dark-3); }
.ffeat .acc__rel a { color: var(--gold-300); }
.ffeat .chip--src { color: var(--gold-300); border-color: var(--line-dark-2); }
.ffeat mark { background: rgba(201, 164, 92, .4); }
.faq-aside .block__h { font-size: 1.3rem; }
.faq-aside p { font-family: var(--font-sans); font-size: .95rem; line-height: 1.8; color: var(--paper-mute); }
.faq-aside .btn { margin-top: 18px; }

/* services index + service page */
.svl { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-ivory-2); }
.svl__i { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 5fr) auto; gap: 14px clamp(20px, 3vw, 48px); align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line-ivory); }
.svl__n { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.3; color: var(--gold-700); }
.svl__t { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + .8vw, 2rem); line-height: 1.4; }
.svl__t a { text-decoration: none; }
.svl__t a:hover { color: var(--emerald-600); }
.svl__s { margin-top: 10px; font-family: var(--font-text); font-size: 1.05rem; line-height: 1.85; color: var(--paper-mute); }
.svl__sub { margin-top: 8px; font-family: var(--font-sans); font-size: .88rem; color: var(--gold-700); }
.svl__more li { position: relative; padding-inline-start: 22px; font-family: var(--font-sans); font-size: .95rem; line-height: 1.75; color: var(--paper-ink-2); }
.svl__more li + li { margin-top: 6px; }
.svl__more li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 6px; height: 6px; border: 1px solid var(--gold-700); transform: rotate(45deg); }
.svl__go { align-self: center; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: f; border-top: 1px solid var(--line-ivory-2); }
.flow li { counter-increment: f; position: relative; padding: 22px 20px 0 0; font-family: var(--font-sans); font-size: .98rem; line-height: 1.7; color: var(--paper-ink-2); }
:root[dir="rtl"] .flow li { padding: 22px 0 0 20px; }
.flow li::before { content: counter(f, arabic-indic); display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold-700); }
:root[dir="ltr"] .flow li::before { content: counter(f, decimal-leading-zero); }
.flow li::after { content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.flow--dark { border-color: var(--line-dark); }
.flow--dark li { color: var(--on-dark-2); }
.flow--dark li::before { color: var(--gold-300); }
.panels { display: grid; gap: clamp(36px, 4vw, 56px); margin-top: clamp(44px, 5vw, 64px); }
.plist li { position: relative; padding: 14px 0; padding-inline-start: 34px; border-bottom: 1px solid var(--line-ivory); font-family: var(--font-text); font-size: 1.08rem; line-height: 1.8; color: var(--paper-ink-2); }
.plist li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 1.45em; width: 8px; height: 8px; border: 1px solid var(--gold-700); transform: rotate(45deg); }
.plist--limits li::before { width: 12px; height: 1px; border: 0; background: var(--gold-700); transform: none; top: 1.55em; }
.plist--prep { counter-reset: p; }
.plist--prep li { counter-increment: p; }
.plist--prep li::before { content: counter(p, arabic-indic); width: auto; height: auto; border: 0; transform: none; top: 14px; font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-700); }
:root[dir="ltr"] .plist--prep li::before { content: counter(p); }
.limits-box { padding: 26px 28px; background: #F6EFE1; border-inline-start: 2px solid var(--gold-600); }
.limits-box .block__h { font-size: 1.3rem; margin-bottom: 8px; }
.limits-box .plist li { border-bottom-color: rgba(142, 106, 46, .16); }
.limits-box .plist li:last-child { border-bottom: 0; }
.scard { padding: 28px; background: var(--emerald-900); color: var(--on-dark); box-shadow: 0 30px 60px -40px rgba(5, 8, 7, .7); }
.scard__h { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.4; color: var(--ivory-50); }
.scard p { margin-top: 10px; font-family: var(--font-sans); font-size: .95rem; line-height: 1.8; color: var(--on-dark-2); }
.scard .btn { width: 100%; margin-top: 18px; }
.scard .link-u { margin-top: 16px; }
.scard__num { margin-top: 14px; font-family: var(--font-sans); font-size: .84rem; color: var(--on-dark-3); }
.scard__num a { color: var(--gold-300); }
.snav { margin-top: 34px; }
.snav__h { margin-bottom: 10px; font-family: var(--font-sans); font-weight: 500; font-size: .82rem; color: var(--gold-700); }
.snav li a, .snav li span { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-ivory); font-family: var(--font-sans); font-size: .95rem; line-height: 1.5; color: var(--paper-ink-2); text-decoration: none; }
.snav li a:hover { color: var(--emerald-600); }
.snav li span { color: var(--gold-700); }
.snav li span::before { content: ""; display: inline-block; width: 14px; height: 1px; margin-inline-end: 10px; vertical-align: middle; background: currentColor; }

/* credentials page */
.plaques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: clamp(36px, 4vw, 56px); background: var(--line-ivory); border: 1px solid var(--line-ivory); }
.plq { padding: clamp(26px, 3vw, 44px); background: var(--ivory-50); }
.plq__k { font-family: var(--font-sans); font-size: .82rem; color: var(--paper-mute); }
.plq__v { display: block; margin: 6px 0 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.8rem); line-height: 1.1; color: var(--gold-700); }
.plq__b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.5; color: var(--paper-ink); }
.plq__m { display: block; margin-top: 8px; font-family: var(--font-sans); font-size: .9rem; line-height: 1.75; color: var(--paper-mute); }
.creds-band { padding-block: clamp(56px, 6vw, 88px); }
.creds-band .mq { margin-top: 0; }
.trn { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 6vw, 104px); align-items: start; }
.trn__fig { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 30px; }
.trn__fig li { display: flex; flex-direction: column; gap: 6px; }
.trn__fig b { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.6rem); line-height: 1; color: var(--gold-700); }
.trn__fig span { max-width: 14ch; font-family: var(--font-sans); font-size: .9rem; line-height: 1.6; color: var(--paper-mute); }
.yr + .yr { margin-top: 34px; }
.yr__h { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-700); }
.yr__h::after { content: ""; flex: 1; height: 1px; background: var(--line-ivory-2); }
.course { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) 132px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-ivory); }
.course__n { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-700); }
.course__t { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.5; color: var(--paper-ink); }
.course__m { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: .84rem; line-height: 1.6; color: var(--paper-mute); }
.course__doc { padding: 0; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line-ivory), 0 10px 20px -14px rgba(0, 0, 0, .5); cursor: zoom-in; transition: transform .5s var(--ease-out), box-shadow .5s; }
.course__doc:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--gold-500), 0 16px 26px -16px rgba(0, 0, 0, .5); }
.course__doc img { width: 132px; height: auto; aspect-ratio: 560 / 396; object-fit: cover; }
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.gal__card { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 0; border: 0; background: none; text-align: start; color: inherit; cursor: zoom-in; }
.gal__shot { display: block; background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 30px 50px -30px rgba(0, 0, 0, .95); transition: transform .6s var(--ease-out), box-shadow .6s; }
.gal__shot img { width: 100%; aspect-ratio: 560 / 396; object-fit: cover; object-position: top; }
.gal__card:hover .gal__shot { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(201, 164, 92, .55), 0 40px 60px -30px rgba(0, 0, 0, .95); }
.gal__k { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-300); }
.gal__t { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.5; color: var(--ivory-50); }
.gal__m { font-family: var(--font-sans); font-size: .82rem; line-height: 1.6; color: var(--on-dark-3); }
.gal-note { max-width: 62ch; margin-top: 30px; font-family: var(--font-sans); font-size: .9rem; line-height: 1.85; color: var(--on-dark-3); }
.nots li { position: relative; padding: 14px 0; padding-inline-start: 30px; border-bottom: 1px solid var(--line-ivory); font-family: var(--font-text); font-size: 1.04rem; line-height: 1.8; color: var(--paper-ink-2); }
.nots li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.55em; width: 14px; height: 1px; background: var(--gold-700); }

/* flip-book */
.flip { position: relative; }
.flip__book { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 980px; margin-inline: auto; perspective: 2200px; outline: none; }
.flip__page { position: relative; margin: 0; background: #fff; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(23, 19, 15, .08); transition: transform .38s var(--ease-in, ease-in), opacity .38s; transform-style: preserve-3d; }
.flip__page button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.flip__page img { width: 100%; height: auto; aspect-ratio: 520 / 735; }
.flip__page figcaption { position: absolute; bottom: -34px; inset-inline-start: 0; font-family: var(--font-sans); font-size: .82rem; color: var(--paper-mute); }
.flip__page.is-first { transform-origin: var(--spine-a, left) center; }
.flip__page.is-second { transform-origin: var(--spine-b, right) center; }
:root[dir="rtl"] .flip__page.is-first { --spine-a: left; }
:root[dir="rtl"] .flip__page.is-second { --spine-b: right; }
:root[dir="ltr"] .flip__page.is-first { --spine-a: right; }
:root[dir="ltr"] .flip__page.is-second { --spine-b: left; }
.flip__book::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, .12) 55%, transparent); pointer-events: none; }
.flip__book.turn-next .flip__page.is-second, .flip__book.turn-prev .flip__page.is-first { transform: rotateY(calc(var(--dir) * -88deg)); opacity: .4; }
.flip__book.turn-prev .flip__page.is-first { transform: rotateY(calc(var(--dir) * 88deg)); }
.flip__book.land-next .flip__page.is-first { animation: land-a .42s var(--ease-out); }
.flip__book.land-prev .flip__page.is-second { animation: land-b .42s var(--ease-out); }
@keyframes land-a { from { transform: rotateY(calc(var(--dir) * 70deg)); opacity: .5; } }
@keyframes land-b { from { transform: rotateY(calc(var(--dir) * -70deg)); opacity: .5; } }
.flip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; max-width: 980px; margin: 56px auto 0; }
.flip__nav { display: flex; align-items: center; gap: 10px; }
.flip__nav .tool { width: 46px; height: 46px; border: 1px solid var(--line-ivory-2); border-radius: 50%; color: var(--paper-ink); }
.flip__nav .tool:hover { background: var(--ivory-100); color: var(--paper-ink); }
.flip__nav .tool[disabled] { opacity: .35; cursor: not-allowed; }
.flip__count { min-width: 5em; text-align: center; font-family: var(--font-sans); font-size: .9rem; color: var(--paper-mute); }
.flip__dl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.flip__dl small { font-family: var(--font-sans); font-size: .84rem; color: var(--paper-mute); }

/* contact page */
.cgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(36px, 6vw, 104px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.cgrid aside .block { margin-top: 44px; }
.cgrid aside .block__h { margin-top: 0; }
.cgrid .disclaimer:first-child { margin: 0 0 16px; }
.cgrid .wiz { box-shadow: 0 0 0 1px rgba(142, 106, 46, .3), 0 40px 80px -50px rgba(5, 8, 7, .55); }
.vcard { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line-ivory); }
.vcard img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; box-shadow: 0 0 0 1px rgba(142, 106, 46, .4), 0 0 0 5px var(--ivory-50), 0 0 0 6px rgba(142, 106, 46, .25); }
.vcard b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--paper-ink); }
.vcard span { display: block; font-family: var(--font-sans); font-size: .88rem; line-height: 1.7; color: var(--paper-mute); }
.cl--ivory > div { border-bottom-color: var(--line-ivory); }
.cl--ivory dt { color: var(--paper-mute); }
.cl--ivory dd { color: var(--paper-ink); }
.cl--ivory a:hover { color: var(--emerald-600); }
.cl--ivory a { color: var(--paper-ink); }
.qrc--ivory figcaption b { color: var(--paper-ink); }
.qrc--ivory figcaption { color: var(--paper-mute); }
.qrc--ivory figcaption a { color: var(--emerald-600); }
.qrc--ivory .qrc__frame { box-shadow: 0 0 0 1px rgba(142, 106, 46, .3), 0 16px 30px -18px rgba(0, 0, 0, .4); }
.scope2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 18px 0 14px; }
.scope2 b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.2; color: var(--paper-ink); }
.scope2 b:last-child { text-align: end; }
.scope2 i { display: block; width: 72px; height: 1px; background: var(--gold-500); position: relative; }
.scope2 i::before, .scope2 i::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.scope2 i::before { left: -3px; } .scope2 i::after { right: -3px; }
.fmt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.fmt__i { padding: 34px clamp(18px, 2.4vw, 36px) 10px; }
.fmt__i:first-child { padding-inline-start: 0; }
.fmt__i + .fmt__i { border-inline-start: 1px solid var(--line-dark); }
.fmt__k { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-sans); font-size: .84rem; color: var(--on-dark-3); }
.fmt__k b { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-300); }
.fmt__t { margin: 18px 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.4; color: var(--ivory-50); }
.fmt__p { font-family: var(--font-text); font-size: 1.04rem; line-height: 1.85; color: var(--on-dark-2); }
.fmt__f { margin-top: 14px; font-family: var(--font-sans); font-size: .9rem; color: var(--gold-300); }
.fmt-note { margin-top: 36px; font-family: var(--font-sans); font-size: .95rem; color: var(--on-dark-2); }

/* about page */
.beliefs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.belief { padding: 30px clamp(14px, 1.6vw, 26px) 0; }
.belief:first-child { padding-inline-start: 0; }
.belief + .belief { border-inline-start: 1px solid var(--line-dark); }
.belief__n { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-300); }
.belief__t { margin: 24px 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; line-height: 1.45; color: var(--ivory-50); }
.belief__p { font-family: var(--font-text); font-size: 1.02rem; line-height: 1.85; color: var(--on-dark-2); }
.quote-band { margin-top: clamp(56px, 6vw, 88px); }
.quote-band p { max-width: 30ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 1.1rem + 2vw, 3rem); line-height: 1.55; color: var(--ivory-50); text-wrap: balance; }
.quote-band::before { content: ""; display: block; width: 64px; height: 1px; margin-bottom: 30px; background: var(--gold-500); }

/* CTA band */
.cta { position: relative; isolation: isolate; padding-block: clamp(72px, 8vw, 128px); background: radial-gradient(60% 90% at 100% 0%, rgba(30, 90, 65, .45), transparent 70%), var(--ink-900); color: var(--on-dark); border-top: 1px solid rgba(201, 164, 92, .1); }
.cta__in { display: grid; grid-template-columns: minmax(0, 8fr) auto; gap: clamp(32px, 6vw, 112px); align-items: center; }
.cta__k { font-family: var(--font-sans); font-size: .875rem; color: var(--gold-300); margin-bottom: 16px; }
.cta__h { max-width: 18ch; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.3; color: var(--ivory-50); text-wrap: balance; }
.cta__p { max-width: 40em; margin-top: 20px; font-family: var(--font-sans); font-size: 1.04rem; line-height: 1.85; color: var(--on-dark-2); }
.cta__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta__num { margin-top: 18px; font-family: var(--font-sans); font-size: .9rem; color: var(--on-dark-3); }
.cta__num a { color: var(--gold-300); font-weight: 500; }
.cta .qrc { flex-direction: column; align-items: flex-start; }
.cta .qrc__frame { width: 168px; }

/* 404 */
.nf { min-height: 100svh; display: grid; align-items: center; }
.nf__n { font-family: var(--font-display); font-weight: 500; font-size: clamp(6rem, 3rem + 14vw, 16rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .55); }
.nf__acts { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 34px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* ---------------------------------------------------------------- 20. reveal & motion */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .w { display: inline-block; opacity: 0; transform: translateY(.42em); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0s)); }
.js .is-in .w, .js .is-in.w { opacity: 1; transform: none; }
.js .hero__line { opacity: 0; transform: translateY(.3em); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.js .is-ready .hero__line { opacity: 1; transform: none; }
.js .is-ready .hero__line:nth-child(2) { transition-delay: .12s; }
.js .is-ready .hero__line:nth-child(3) { transition-delay: .24s; }
.js .kicker[data-reveal] .kicker__rule, .js .hero__eyerule { transform: scaleX(0); transition: transform 1.2s var(--ease-io) .2s; }
.js .kicker.is-in .kicker__rule, .js .is-ready .hero__eyerule { transform: scaleX(1); }
.js [data-mask] picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-io); }
.js [data-mask] picture img { transform: scale(1.14); transition: transform 2.2s var(--ease-out); }
.js [data-mask].is-in picture { clip-path: inset(0 0 0 0); }
.js [data-mask].is-in picture img { transform: none; }
.js [data-mask] .portrait__frame { opacity: 0; transform: translate(calc(var(--dir) * -10px), -10px); transition: opacity 1.2s .5s, transform 1.6s var(--ease-out) .5s; }
.js [data-mask].is-in .portrait__frame { opacity: 1; transform: none; }
.js .plaque { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity 1.4s var(--ease-out) .25s, transform 1.8s var(--ease-out) .25s; }
.js .is-ready .plaque { opacity: 1; transform: none; }
.js .is-ready .lt { animation: lt-draw 2.6s var(--ease-io) forwards; }
.js .is-ready .lt--g { animation-duration: 2.2s; }
.js .is-ready .d1 { animation-delay: .05s; } .js .is-ready .d2 { animation-delay: .12s; } .js .is-ready .d3 { animation-delay: .19s; }
.js .is-ready .d4 { animation-delay: .26s; } .js .is-ready .d5 { animation-delay: .33s; } .js .is-ready .d6 { animation-delay: .4s; }
.js .is-ready .d7 { animation-delay: .47s; } .js .is-ready .d8 { animation-delay: .54s; } .js .is-ready .d0 { animation-delay: .6s; }
.js .is-ready .c0 { animation-delay: .5s; } .js .is-ready .c1 { animation-delay: .7s; } .js .is-ready .c2 { animation-delay: .9s; }
.js .is-ready .k0 { animation-delay: 1s; animation-duration: 3s; } .js .is-ready .k1 { animation-delay: 1.2s; animation-duration: 3s; }
.js .is-ready .lt--r { animation-delay: 1.5s; animation-duration: 1.6s; }
@keyframes lt-draw { to { stroke-dashoffset: 0; } }
.no-js .lt, .reveal-all .lt { stroke-dashoffset: 0; }
.js .is-ready .plaque__sheen::before { animation: sheen 10s 2.4s var(--ease-io) infinite; }
@keyframes sheen { 0% { left: -60%; } 28% { left: 120%; } 100% { left: 120%; } }
.reveal-all [data-reveal], .reveal-all .w, .reveal-all .hero__line, .reveal-all .plaque { opacity: 1 !important; transform: none !important; }
.reveal-all [data-mask] picture { clip-path: none !important; }
.reveal-all [data-mask] picture img, .reveal-all .portrait__frame { transform: none !important; opacity: 1 !important; }
.reveal-all .kicker__rule, .reveal-all .hero__eyerule { transform: none !important; }

html { background: var(--ink-900); }

/* page transition: an ink veil with a gold hairline, carrying the mark (≤ 500 ms in all) */
@media (prefers-reduced-motion: no-preference) {
  .js body::after, .js body::before { content: ""; position: fixed; z-index: 400; pointer-events: none; opacity: 0; visibility: hidden; }
  .js body::after { inset: 0; background:
      url("../brand/mark-gold-160.png") center calc(50% - 14px) / 46px auto no-repeat,
      radial-gradient(42% 46% at 50% 50%, rgba(30, 90, 65, .38), transparent 72%),
      #06100C; }
  .js body::before { z-index: 401; left: 50%; top: calc(50% + 26px); width: 132px; height: 1px; margin-left: -66px; background: linear-gradient(90deg, transparent, var(--gold-300), transparent); transform: scaleX(0); }
  .js.is-leaving body::after { visibility: visible; opacity: 1; transition: opacity .17s var(--ease-io); }
  .js.is-leaving body::before { visibility: visible; opacity: 1; transform: scaleX(1); transition: transform .32s var(--ease-out), opacity .1s; }
  .js.is-entering body::after { visibility: visible; animation: veil-out .3s .05s var(--ease-io) both; }
  .js.is-entering body::before { visibility: visible; animation: veil-line .3s var(--ease-io) both; }
}
@keyframes veil-out { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes veil-line { from { opacity: 1; transform: scaleX(1); } to { opacity: 0; transform: scaleX(1.25); visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .w, .js .hero__line, .js .plaque { opacity: 1; transform: none; }
  .js [data-mask] picture { clip-path: none; }
  .js [data-mask] picture img { transform: none; }
  .lt { stroke-dashoffset: 0; }
  .mq__vp { overflow-x: auto; }
  .mq__track { animation: none !important; transform: none !important; }
  .plaque__sheen { display: none; }
}

/* ---------------------------------------------------------------- 21. responsive */
@media (max-width: 1180px) {
  .nav__list { gap: 18px; }
  .tool__kbd { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  :root { --hdr-h: 66px; }
  .nav, .hdr__tools .tool--lang { display: none; }
  .tool--menu { display: inline-flex; }
  .hdr__tools { margin-inline-start: auto; border: 0; padding: 0; }
  .brand__lic { display: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 0; padding: 36px 0 24px; }
  .plaque { width: min(62vw, 300px); }
  .hero__lattice { width: 150vw; }
  .sec__head--split, .journal__grid, .hfaq__grid, .hcontact__grid { grid-template-columns: 1fr; }
  .sec__head .h2 { max-width: 18ch; }
  .about__grid { grid-template-columns: 1fr; }
  .about__txt, .about__grid > .portrait, .creed { grid-column: 1; grid-row: auto; }
  .about__grid > .portrait { margin-top: 56px; max-width: 520px; }
  .portrait__frame { inset-block: 14px -14px; inset-inline: 14px -14px; }
  .creed { margin-top: 64px; }
  .steps__list { grid-template-columns: 1fr; gap: 34px; }
  .steps__track { top: 0; bottom: 0; inset-inline-start: 7px; inset-inline-end: auto; width: 1px; height: auto; }
  .steps__fill { transform: scaleY(var(--p, 0)); transform-origin: top; background: linear-gradient(180deg, var(--gold-700), var(--gold-500)); }
  .step { padding-inline-start: 46px; }
  .step__node { position: absolute; inset-inline-start: 0; top: 6px; }
  .step__n { margin-top: 0; font-size: 2.6rem; }
  .lics { grid-template-columns: 1fr; }
  .lic, .lic:first-child { padding-inline: 0; }
  .lic + .lic { border-inline-start: 0; border-top: 1px solid var(--line-dark); }
  .hfaq__head { position: static; margin-bottom: 32px; }
  .journal__list { margin-top: 48px; }
  .hcontact__grid { grid-template-areas: "lead" "wiz" "info"; grid-template-rows: auto; }
  .hcontact__wiz { margin-top: 40px; }
  .hcontact__info { margin-top: 16px; }
}
@media (max-width: 980px) {
  .phead--split .phead__in, .split, .split--rev, .art, .cgrid, .trn { grid-template-columns: minmax(0, 1fr); }
  .phead__photo { max-width: 360px; }
  .art__aside { position: static; order: -1; margin-bottom: 36px; }
  .toc__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid var(--line-ivory-2); background: #fff; font-family: var(--font-sans); font-weight: 500; font-size: .95rem; color: var(--paper-ink); }
  .toc__btn .ic { transition: transform .4s var(--ease-out); }
  .toc__btn[aria-expanded="true"] .ic { transform: rotate(90deg); }
  .toc__h { display: none; }
  .toc__panel { display: none; padding: 12px 18px 6px; border: 1px solid var(--line-ivory-2); border-top: 0; background: #fff; }
  .toc__panel.is-open { display: block; }
  .aside-stick { position: static; margin-top: 48px; }
  .cards3 { grid-template-columns: 1fr; }
  .alist { grid-template-columns: 1fr; }
  .svl__i { grid-template-columns: 48px minmax(0, 1fr); }
  .svl__more, .svl__go { grid-column: 2; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beliefs { grid-template-columns: 1fr 1fr; }
  .belief, .belief:first-child { padding-inline: 0; }
  .belief + .belief { border-inline-start: 0; }
  .beliefs { gap: 0 32px; }
  .belief { border-bottom: 1px solid var(--line-dark); padding-bottom: 26px; }
  .fmt { grid-template-columns: 1fr; }
  .fmt__i, .fmt__i:first-child { padding-inline: 0; }
  .fmt__i + .fmt__i { border-inline-start: 0; border-top: 1px solid var(--line-dark); }
  .cta__in { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .cgrid aside { margin-top: 56px; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .plaques { grid-template-columns: 1fr; }
  .course { grid-template-columns: 2.2em minmax(0, 1fr); }
  .course__doc { grid-column: 2; justify-self: start; }
  .flip__book { grid-template-columns: 1fr; max-width: 420px; }
  .flip__book::after { display: none; }
  .flip__bar { flex-direction: column; align-items: flex-start; }
  .filter { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filter__side { flex-direction: column; align-items: stretch; }
  .filter__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter__chips .chip { flex: none; }
  .beliefs { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .consult { padding: 22px; }
  .keys { padding: 22px 20px; }
  .prose .tbl { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .prose .tbl--c3 table { min-width: 31rem; }
  .prose .tbl--c4 table, .prose .tbl--c5 table { min-width: 38rem; }
  .prose th, .prose td { padding: 12px 14px; }
  .tbl__hint { display: block; }
  .author { grid-template-columns: 60px 1fr; }
  .author picture img { width: 60px; height: 60px; }
  .scope2 b { font-size: 1.7rem; }
  .nf__n { font-size: 7rem; }

  :root { --fs-body: 1.125rem; }
  .brand__mark { width: 32px; }
  :root[dir="ltr"] .brand__name { font-size: .84rem; }
  :root[dir="ltr"] .brand__sub { font-size: .66rem; }
  .brand__name { font-size: 1.02rem; }
  .brand__sub { font-size: .7rem; }
  .hero { padding-top: calc(var(--hdr-h) + 28px); }
  .hero__h { margin-top: 14px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .link-u { align-self: flex-start; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__creds { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc__t { margin-top: 24px; }
  .figures { flex-direction: column; gap: 18px; }
  .creds__foot { flex-direction: column; align-items: flex-start; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__contact { grid-column: 1 / -1; }
  .wa-float { padding: 0 14px 0 12px; min-height: 48px; inset-inline-end: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .wa-float__k { display: none; }
  .qrc { flex-direction: column; align-items: flex-start; }
  .wiz__opts .opt span { min-height: 42px; padding: 0 14px; font-size: .9rem; }
  .wiz__acts .btn { flex: 1; }
  .cl > div { grid-template-columns: 6em 1fr; }
}

/* ---------------------------------------------------------------- 22. print */
@media print {
  .hdr, .ftr, .wa-float, .cursor, .progress, .toast, .hero__art, .mq, .wiz, .cta, .menu, .srch { display: none !important; }
  body, .sec, .hero, .phead { background: #fff !important; color: #000 !important; }
  .js [data-reveal], .js .w, .js .hero__line { opacity: 1 !important; transform: none !important; }
}
.prof-note { max-width: 66ch; margin-top: 64px; font-family: var(--font-sans); font-size: .9rem; line-height: 1.85; color: var(--paper-mute); }
.toc--plain a::before { display: none; }
.toc--plain a { padding-inline-start: 16px; }

/* ==========================================================================
   23. round 2 — interaction layer
   ========================================================================== */

/* ---------------------------------------------------------------- 23a. home section rail */
.rail { position: fixed; z-index: 45; inset-inline-end: clamp(12px, 1.3vw, 24px); top: 50%; translate: 0 -50%; display: none; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s; --rail-c: rgba(244, 238, 227, .46); --rail-bg: rgba(8, 16, 13, .92); --rail-t: var(--ivory-50); }
@media (min-width: 1240px) and (hover: hover) and (pointer: fine) { .js .rail { display: block; } }
.rail.is-shown { opacity: 1; visibility: visible; }
.rail.is-light { --rail-c: rgba(23, 19, 15, .4); --rail-bg: rgba(251, 248, 242, .96); --rail-t: var(--paper-ink); }
.rail ol { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 30px; padding-inline: 4px; color: var(--rail-c); text-decoration: none; transition: color .4s; }
.rail a::after { content: ""; width: 8px; height: 1px; background: currentColor; transition: width .55s var(--ease-out), background-color .4s; }
.rail__n { font-family: var(--font-display); font-size: .8rem; line-height: 1; }
.rail__t { position: absolute; inset-inline-end: calc(100% + 6px); top: 50%; padding: 6px 12px; white-space: nowrap; background: var(--rail-bg); color: var(--rail-t); font-family: var(--font-sans); font-size: .8rem; line-height: 1.2; box-shadow: 0 0 0 1px rgba(201, 164, 92, .3), 0 12px 24px -12px rgba(0, 0, 0, .5); opacity: 0; translate: calc(var(--dir) * 6px) -50%; transition: opacity .3s, translate .45s var(--ease-out); pointer-events: none; }
.rail a:hover, .rail a:focus-visible { color: var(--gold-500); }
.rail a:hover .rail__t, .rail a:focus-visible .rail__t { opacity: 1; translate: 0 -50%; }
.rail a[aria-current] { color: var(--gold-500); }
.rail a[aria-current]::after { width: 22px; background: var(--gold-500); }
.rail.is-light a[aria-current] { color: var(--gold-700); }
.rail.is-light a[aria-current]::after { background: var(--gold-700); }

/* ---------------------------------------------------------------- 23b. scenario guide */
.guide .sec__head { margin-bottom: clamp(36px, 4vw, 60px); }
.guide__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.6vw, 84px); align-items: start; }
.guide__pick { min-width: 0; margin: 0; padding: 0; border: 0; }
.guide__legend { padding: 0; margin-bottom: 14px; font-family: var(--font-sans); font-size: .875rem; color: var(--on-dark-3); }
.guide__opts { border-top: 1px solid var(--line-dark); }
.gopt { position: relative; display: grid; grid-template-columns: 2.1em minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-height: 52px; padding: 11px 12px; padding-inline-start: 10px; border-bottom: 1px solid var(--line-dark); cursor: pointer; transition: background-color .4s; }
.gopt input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gopt::before { content: ""; position: absolute; inset-block: 9px; inset-inline-start: -1px; width: 2px; background: var(--gold-500); transform: scaleY(0); transition: transform .5s var(--ease-out); }
.gopt__n { font-family: var(--font-display); font-size: .92rem; color: var(--gold-500); opacity: .62; transition: opacity .4s, color .4s; }
.gopt__t { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.02rem, .95rem + .28vw, 1.17rem); line-height: 1.5; color: var(--on-dark-2); transition: color .4s, translate .5s var(--ease-out); }
.gopt__ic { width: 18px; height: 18px; color: var(--gold-300); opacity: 0; translate: calc(var(--dir) * -8px) 0; transition: opacity .4s, translate .5s var(--ease-out); }
.gopt:hover { background: rgba(201, 164, 92, .045); }
.gopt:hover .gopt__t { color: var(--ivory-50); }
.gopt:hover .gopt__ic { opacity: .45; translate: 0 0; }
.gopt.is-on { background: linear-gradient(var(--grad-dir, 270deg), rgba(201, 164, 92, .13), rgba(201, 164, 92, .02)); }
:root[dir="ltr"] .gopt.is-on { --grad-dir: 90deg; }
.gopt.is-on::before { transform: scaleY(1); }
.gopt.is-on .gopt__n { opacity: 1; color: var(--gold-300); }
.gopt.is-on .gopt__t { color: var(--ivory-50); translate: calc(var(--dir) * 4px) 0; }
.gopt.is-on .gopt__ic { opacity: 1; translate: calc(var(--dir) * 4px) 0; }
.gopt:has(input:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: -2px; }
.guide__stage { position: sticky; top: calc(var(--hdr-h) + 24px); }
.guide__stage.is-sizing { overflow: hidden; transition: height .5s var(--ease-out); }
.gcard { position: relative; padding: clamp(24px, 2.8vw, 40px); background: var(--ivory-50); color: var(--paper-ink); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 50px 90px -50px rgba(0, 0, 0, .9); }
.gcard::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(142, 106, 46, .2); pointer-events: none; }
.js .gcard:not(.is-on) { display: none; }
.no-js .gcard--empty, .no-js .guide__pick { display: none; }
.no-js .gcard + .gcard { margin-top: 24px; }
.gcard__k { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--font-sans); font-weight: 500; font-size: .82rem; color: var(--gold-700); }
.gcard__k span { font-family: var(--font-display); font-size: 1rem; }
.gcard__situ { margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1.15rem + 1vw, 2.05rem); line-height: 1.38; text-wrap: balance; }
.gcard__head { margin-bottom: 18px; }
.gcard .link-u { color: var(--emerald-600); }
.gcard .link-u:hover { color: var(--emerald-700); }
.gcard__row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 6px 22px; padding: 15px 0; border-top: 1px solid var(--line-ivory); }
.gcard__lab { display: flex; align-items: baseline; gap: 10px; margin: 0; padding-top: .2em; font-family: var(--font-sans); font-weight: 500; font-size: .84rem; line-height: 1.5; color: var(--paper-mute); }
.gcard__lab span { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--gold-700); }
.gcard__val { min-width: 0; }
.gcard__svc a { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; line-height: 1.45; color: var(--emerald-600); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .5s var(--ease-out); }
.gcard__svc a:hover { background-size: 100% 1px; }
.gcard__sum { margin-top: 6px; font-family: var(--font-sans); font-size: .95rem; line-height: 1.8; color: var(--paper-ink-2); }
.gcard__prep li { position: relative; padding-inline-start: 20px; font-family: var(--font-sans); font-size: .94rem; line-height: 1.7; color: var(--paper-ink-2); }
.gcard__prep li + li { margin-top: 3px; }
.gcard__prep li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .78em; width: 6px; height: 6px; border: 1px solid var(--gold-700); transform: rotate(45deg); }
.gcard__reads li + li { border-top: 1px dashed var(--line-ivory); }
.gcard__reads a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0; color: var(--paper-ink); text-decoration: none; }
.gcard__reads li:first-child a { padding-top: 0; }
.gcard__rt { font-family: var(--font-display); font-weight: 500; font-size: 1.04rem; line-height: 1.55; transition: color .3s; }
.gcard__rm { flex: none; font-family: var(--font-sans); font-size: .78rem; color: var(--paper-mute); white-space: nowrap; }
.gcard__reads a:hover .gcard__rt { color: var(--emerald-600); }
.gcard__faq { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--font-sans); font-weight: 500; font-size: .98rem; color: var(--emerald-600); text-decoration: none; }
.gcard__faq .ic { width: 1.05em; height: 1.05em; align-self: center; transition: translate .45s var(--ease-out); }
.gcard__faq:hover .ic { translate: calc(var(--dir) * 4px) 0; }
.gcard__fc { font-weight: 400; font-size: .84rem; color: var(--paper-mute); }
.gcard__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-top: 20px; border-top: 1px solid var(--line-ivory); }
.gcard--empty { background: rgba(8, 16, 13, .35); color: var(--on-dark); box-shadow: 0 0 0 1px var(--line-dark-2); }
.gcard--empty::before { border-color: rgba(201, 164, 92, .12); }
.gcard--empty .gcard__k { color: var(--gold-300); }
.gcard__hint { max-width: 24ch; margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.5; color: var(--ivory-50); }
.gcard__ghost { margin-top: 26px; }
.gcard__ghost li { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-dark); font-family: var(--font-sans); font-size: .92rem; color: var(--on-dark-3); }
.gcard__ghost span { min-width: 1em; font-family: var(--font-display); color: var(--gold-500); }
.gcard__ghost li::after { content: ""; flex: 1; height: 1px; margin-inline-start: 6px; align-self: center; background: repeating-linear-gradient(90deg, rgba(201, 164, 92, .22) 0 3px, transparent 3px 8px); }
.guide__note { margin-top: 14px; font-family: var(--font-sans); font-size: .8rem; line-height: 1.7; color: var(--on-dark-3); }
.gcard.is-enter { animation: g-card .62s var(--ease-out) both; }
.gcard.is-enter > * { animation: g-row .7s var(--ease-out) both; }
.gcard.is-enter > :nth-child(2) { animation-delay: .06s; } .gcard.is-enter > :nth-child(3) { animation-delay: .12s; }
.gcard.is-enter > :nth-child(4) { animation-delay: .18s; } .gcard.is-enter > :nth-child(5) { animation-delay: .24s; }
.gcard.is-enter > :nth-child(6) { animation-delay: .3s; }
.gcard.is-leave { animation: g-out .16s ease-in both; }
@keyframes g-card { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes g-row { from { opacity: 0; transform: translateY(10px); } }
@keyframes g-out { to { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- 23c. wizard: live chat preview */
.wiz__meter { height: 2px; margin-top: 8px; background: var(--line-ivory); overflow: hidden; }
.wiz__meter span { display: block; height: 100%; background: linear-gradient(var(--grad-dir, 270deg), var(--gold-700), var(--gold-500)); transform: scaleX(0); transform-origin: var(--rule-origin, right); transition: transform .3s var(--ease-out); }
:root[dir="ltr"] .wiz__meter span { --grad-dir: 90deg; }
.wiz__meter.is-near span { background: var(--emerald-600); }
.wiz__count.is-near { color: var(--emerald-700); font-weight: 500; }
.chat { margin: 18px 0 0; overflow: hidden; border-radius: 14px; background: #F2ECE1; box-shadow: 0 0 0 1px var(--line-ivory-2), 0 26px 44px -32px rgba(5, 8, 7, .55); }
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(180deg, var(--emerald-850), var(--emerald-900)); color: var(--ivory-50); }
.chat__av { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--ink-900); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .45); object-fit: contain; }
.chat__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.chat__who b { overflow: hidden; font-family: var(--font-display); font-weight: 500; font-size: .95rem; white-space: nowrap; text-overflow: ellipsis; }
.chat__who span { font-family: var(--font-sans); font-size: .72rem; color: var(--on-dark-3); }
.chat__no { flex: none; margin-inline-start: auto; font-family: var(--font-sans); font-size: .78rem; color: var(--gold-300); }
.chat__body { display: flex; flex-direction: column; min-height: 132px; padding: 18px 16px 14px; background:
  repeating-linear-gradient(45deg, rgba(142, 106, 46, .055) 0 1px, transparent 1px 16px),
  repeating-linear-gradient(-45deg, rgba(142, 106, 46, .055) 0 1px, transparent 1px 16px), #F2ECE1; }
.chat__msg { position: relative; align-self: flex-end; max-width: 88%; padding: 10px 13px 7px; border-radius: 10px; border-start-end-radius: 2px; background: #DEEBDF; box-shadow: 0 1px 0 rgba(23, 19, 15, .1); }
.chat__msg::after { content: ""; position: absolute; top: 0; inset-inline-end: -7px; width: 8px; height: 11px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
:root[dir="rtl"] .chat__msg::after { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.chat.is-new .chat__msg { animation: bubble-in .55s var(--ease-out) both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.chat__txt { margin: 0; font-family: var(--font-sans); font-size: .9rem; line-height: 1.75; color: var(--paper-ink); white-space: pre-line; overflow-wrap: anywhere; }
.chat__meta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; height: 14px; margin-top: 4px; color: var(--emerald-600); }
.chat__ticks { width: 17px; height: 11px; }
.chat__dots { display: none; gap: 3px; }
.chat__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .25; animation: dot 1.1s infinite; }
.chat__dots i:nth-child(2) { animation-delay: .18s; } .chat__dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 30% { opacity: .9; transform: translateY(-2px); } 60% { opacity: .25; transform: none; } }
.chat.is-typing .chat__dots { display: inline-flex; }
.chat.is-typing .chat__ticks { display: none; }
.chat__compose { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #EAE2D4; border-top: 1px solid var(--line-ivory); }
.chat__field { flex: 1; min-width: 0; padding: 8px 14px; overflow: hidden; border-radius: 999px; background: #fff; font-family: var(--font-sans); font-size: .82rem; color: var(--paper-mute); white-space: nowrap; text-overflow: ellipsis; transition: color .3s; }
.chat.is-typing .chat__field { color: var(--emerald-600); }
.chat__send { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--emerald-800); color: var(--gold-300); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .4); transition: background-color .3s, transform .4s var(--ease-out); }
.chat__send .ic { width: 19px; height: 19px; }
.chat__send:hover { background: var(--emerald-700); transform: scale(1.06); }

/* ---------------------------------------------------------------- 23d. method timeline: pinned, scroll-driven */
.step__t, .step__p { transition: opacity .7s var(--ease-out), color .6s; }
.steps.is-seq .step:not(.is-on) .step__t, .steps.is-seq .step:not(.is-on) .step__p { opacity: .38; }
.steps.is-seq .step:not(.is-on) .step__n { color: rgba(142, 106, 46, .3); }
.step.is-current .step__node { box-shadow: 0 0 0 6px rgba(201, 164, 92, .2), 0 0 0 14px rgba(201, 164, 92, .08); }
.step.is-current .step__n { color: var(--gold-600); }
@media (min-width: 981px) and (min-height: 660px) and (prefers-reduced-motion: no-preference) {
  .js .method { padding-top: 0; }
  .js .method__pin { height: 240vh; }
  .js .method__stage { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-top: calc(var(--hdr-h) * .6); }
  .js .method .pull { margin-top: clamp(24px, 3vw, 48px); }
}

/* ---------------------------------------------------------------- 23e. hero: lit lattice + touch parallax */
.lattice--lit { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease-out);
  -webkit-mask-image: radial-gradient(var(--lr, 290px) circle at var(--lx, 50%) var(--ly, 50%), #000 0%, rgba(0, 0, 0, .55) 42%, transparent 76%);
  mask-image: radial-gradient(var(--lr, 290px) circle at var(--lx, 50%) var(--ly, 50%), #000 0%, rgba(0, 0, 0, .55) 42%, transparent 76%); }
.hero.is-lit .lattice--lit { opacity: 1; }
.js .is-ready .lattice--lit .lt, .lattice--lit .lt { stroke: var(--gold-300); stroke-dashoffset: 0; animation: none; }
.lattice--lit .lt--g { opacity: .74; stroke-width: 1.1; }
.lattice--lit .lt--c, .lattice--lit .lt--k { opacity: .95; stroke-width: 1.25; }
.lattice--lit .lt--r { opacity: .8; }

/* ---------------------------------------------------------------- 23f. cards: spotlight, tilt, press */
.acard { position: relative; }
.acard::before { content: ""; position: absolute; z-index: -1; inset: -12px -18px; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, .14), transparent 66%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.acard.is-lit::before { opacity: 1; }
.is-tilt { transition: transform .9s var(--ease-out); }
.is-tilt.is-tracking { transition: transform .18s linear; }
.is-press { transform: scale(.985) !important; transition: transform .2s var(--ease-out) !important; }
.svc.is-press { background: linear-gradient(180deg, #12301F 0%, #0D2419 100%); }

/* ---------------------------------------------------------------- 23g. copy buttons */
.copyb { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-inline-start: 6px; padding: 0; vertical-align: middle; border: 0; border-radius: 50%; background: transparent; color: var(--gold-300); opacity: .72; transition: opacity .3s, background-color .3s, color .3s; }
.copyb:hover, .copyb:focus-visible { opacity: 1; background: rgba(201, 164, 92, .12); }
.copyb .ic { width: 16px; height: 16px; }
.copyb .ic--ok { display: none; }
.copyb.is-done .ic--cp { display: none; }
.copyb.is-done .ic--ok { display: block; }
.copyb.is-done { opacity: 1; color: var(--gold-200); }
.cl--ivory .copyb { color: var(--gold-700); }
.cl--ivory .copyb.is-done { color: var(--emerald-600); }
.ftr__contact .copyb { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- 23h. FAQ: deep links, rotating examples */
.acc__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 0; border: 0; background: none; font-family: var(--font-sans); font-size: .84rem; color: var(--paper-mute); transition: color .3s; }
.acc__link .ic { width: 16px; height: 16px; color: var(--gold-700); }
.acc__link:hover { color: var(--emerald-600); }
.ffeat .acc__link { color: var(--on-dark-3); }
.ffeat .acc__link .ic { color: var(--gold-300); }
.ffeat .acc__link:hover { color: var(--gold-200); }
.acc__i.is-target > .acc__h .acc__qt { background: linear-gradient(rgba(201, 164, 92, .28), rgba(201, 164, 92, .28)) no-repeat 0 100% / 100% 30%; animation: q-flash 2.4s var(--ease-out) both; }
@keyframes q-flash { 0%, 55% { background-size: 100% 30%; } 100% { background-size: 100% 0%; } }
.sfield__ph { position: absolute; inset-inline: 46px 18px; top: 50%; overflow: hidden; font-family: var(--font-sans); font-size: 1.02rem; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; color: rgba(98, 88, 73, .85); translate: 0 -50%; transition: opacity .35s, translate .55s var(--ease-out); pointer-events: none; }
.sfield__ph:empty { display: none; }
.sfield__ph.is-out { opacity: 0; translate: 0 calc(-50% - 8px); }
.sfield__ph.is-in { opacity: 0; translate: 0 calc(-50% + 8px); transition: none; }
.sfield.has-ph input::placeholder { color: transparent; }
.sfield.is-filled .sfield__ph { opacity: 0; }

/* ---------------------------------------------------------------- 23i. article: ring, key points, share, previews */
.ring { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line-ivory); }
.ring__svg { flex: none; width: 46px; height: 46px; transform: rotate(-90deg); }
.ring__track, .ring__fill { fill: none; stroke-width: 2; }
.ring__track { stroke: var(--line-ivory-2); }
.ring__fill { stroke: var(--gold-600); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .2s linear; }
.ring.is-done .ring__fill { stroke: var(--emerald-600); }
.ring__txt { display: flex; flex-direction: column; gap: 1px; font-family: var(--font-sans); line-height: 1.35; }
.ring__k { font-size: .76rem; color: var(--paper-mute); }
.ring__txt b { font-weight: 500; font-size: 1rem; color: var(--paper-ink); }
.keys a { color: var(--paper-ink); text-decoration: underline; text-decoration-color: rgba(142, 106, 46, .3); text-decoration-thickness: 1px; text-underline-offset: .34em; transition: color .3s, text-decoration-color .3s; }
.keys a:hover, .keys a:focus-visible { color: var(--emerald-600); text-decoration-color: currentColor; }
.keys__go { display: inline-block; width: .95em; height: .95em; margin-inline-start: .35em; vertical-align: -.12em; color: var(--gold-700); opacity: .45; transition: opacity .3s, translate .45s var(--ease-out); }
.keys a:hover .keys__go, .keys a:focus-visible .keys__go { opacity: 1; translate: calc(var(--dir) * 4px) 0; }
.prose .is-target { animation: h-target 2.2s var(--ease-out) both; }
@keyframes h-target { 0%, 50% { background: linear-gradient(rgba(201, 164, 92, .26), rgba(201, 164, 92, .26)) no-repeat 0 92% / 100% .32em; } 100% { background: linear-gradient(rgba(201, 164, 92, 0), rgba(201, 164, 92, 0)) no-repeat 0 92% / 100% .32em; } }
.qshare { position: fixed; z-index: 70; top: 0; left: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper-ink); color: var(--ivory-50); font-family: var(--font-sans); font-size: .86rem; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .4), 0 16px 34px -14px rgba(5, 8, 7, .6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, translate .35s var(--ease-out); translate: 0 6px; }
.qshare.is-on { opacity: 1; visibility: visible; translate: 0 0; }
.qshare .ic { width: 18px; height: 18px; color: var(--gold-300); }
.qshare:hover { background: #241D16; }
.lpv { position: fixed; z-index: 80; top: 0; left: 0; width: min(360px, calc(100vw - 32px)); padding: 18px 20px 20px; background: var(--ivory-50); color: var(--paper-ink); border-top: 2px solid var(--gold-500); box-shadow: 0 0 0 1px rgba(142, 106, 46, .25), 0 34px 64px -30px rgba(5, 8, 7, .6); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .22s, visibility .22s, translate .35s var(--ease-out); pointer-events: none; }
.lpv.is-on { opacity: 1; visibility: visible; translate: 0 0; }
.lpv__m { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--font-sans); font-size: .78rem; color: var(--paper-mute); }
.lpv__m b { font-weight: 500; color: var(--emerald-600); }
.lpv__t { margin: 8px 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.5; color: var(--paper-ink); }
.lpv__d { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-family: var(--font-text); font-size: .95rem; line-height: 1.75; color: var(--paper-mute); }

/* ---------------------------------------------------------------- 23j. cursor labels */
.cursor__l { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-sans); font-weight: 500; font-size: .72rem; line-height: 1; color: var(--ivory-50); white-space: nowrap; opacity: 0; transition: opacity .25s; }
.cursor.has-label span { transform: scale(2.05); background: rgba(13, 36, 27, .9); border-color: var(--gold-500); }
.cursor.has-label .cursor__l { opacity: 1; transition-delay: .08s; }
.has-cursor .acard__a, .has-cursor .mq__card, .has-cursor .gal__card, .has-cursor .course__doc, .has-cursor .flip__page button { cursor: none; }

/* ---------------------------------------------------------------- 23k. round 2 responsive + reduced motion */
@media (max-width: 1180px) {
  .figures { grid-template-columns: repeat(2, minmax(0, auto)); }
}
@media (max-width: 980px) {
  .guide__body { grid-template-columns: minmax(0, 1fr); }
  .guide__stage { position: static; }
  .guide__opts > .guide__stage { margin: 4px 0 18px; }
  .guide__opts > .guide__stage .guide__note { margin-bottom: 4px; }
  .ring { position: fixed; z-index: 41; bottom: max(14px, env(safe-area-inset-bottom)); inset-inline-start: 12px; margin: 0; padding: 5px; padding-inline-end: 16px; border: 0; border-radius: 999px; background: rgba(251, 248, 242, .95); box-shadow: 0 0 0 1px var(--line-ivory-2), 0 16px 30px -14px rgba(5, 8, 7, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .4s, visibility .4s, translate .5s var(--ease-out); }
  .ring.is-shown { opacity: 1; visibility: visible; translate: 0 0; }
  .ring__svg { width: 36px; height: 36px; }
  .ring__k { font-size: .68rem; }
  .ring__txt b { font-size: .88rem; }
  .has-ring .toast { bottom: 80px; }
}
@media (max-width: 640px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .figures li { flex-direction: column; gap: 6px; }
  .gcard { padding: 22px 18px; }
  .gcard::before { inset: 6px; }
  .gcard__row { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
  .gcard__acts .btn { width: 100%; }
  .gopt { padding-inline-end: 8px; }
  .chat__no { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mq__flip { transform: none !important; }
  .mq__face--back { transform: none; opacity: 0; }
  .mq__card:hover .mq__face--back, .mq__card:focus-visible .mq__face--back, .mq__i.is-flipped .mq__face--back { opacity: 1; }
  .mq__card:hover .mq__face--front, .mq__card:focus-visible .mq__face--front, .mq__i.is-flipped .mq__face--front { opacity: 0; }
  .gcard.is-enter, .gcard.is-enter > *, .gcard.is-leave, .chat.is-new .chat__msg { animation: none; }
  .chat__dots i { animation: none; opacity: .6; }
  .is-tilt { transform: none !important; }
}

/* ==========================================================================
   24. round 2 — FAQ hub, topic pages, language switch, zh / es
   ========================================================================== */

/* ---------------------------------------------------------------- 24a. FAQ hub */
.fhub .ftools { margin-bottom: clamp(28px, 3vw, 40px); }
.fsec__head { display: grid; gap: 8px; margin-bottom: clamp(22px, 2.6vw, 34px); }
.fsec__head .block__h { margin-bottom: 0; }
.fsec__lede { max-width: 52ch; font-family: var(--font-sans); font-size: .98rem; line-height: 1.85; color: var(--paper-mute); }
.fareas, .fall { margin-top: clamp(56px, 6.5vw, 96px); }
.fareas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--line-ivory-2); }
.farea { padding: 26px 0 30px; border-bottom: 1px solid var(--line-ivory); }
.farea__h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; color: var(--paper-ink); }
.farea__n { flex: none; min-width: 1.6em; font-size: .95rem; color: var(--gold-700); }
.farea__list a, .fmore__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: baseline; gap: 12px; padding: 9px 0; padding-inline-start: calc(1.6em + 14px); color: var(--paper-ink-2); text-decoration: none; transition: color .3s; }
.farea__list li + li a { border-top: 1px dashed var(--line-ivory); }
.farea__t { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; line-height: 1.55; }
.farea__c { font-family: var(--font-sans); font-size: .8rem; color: var(--paper-mute); white-space: nowrap; }
.farea__list .ic, .fmore__list .ic { width: 16px; height: 16px; align-self: center; color: var(--gold-700); opacity: 0; translate: calc(var(--dir) * -6px) 0; transition: opacity .3s, translate .45s var(--ease-out); }
.farea__list a:hover, .farea__list a:focus-visible, .fmore__list a:hover, .fmore__list a:focus-visible { color: var(--emerald-600); }
.farea__list a:hover .ic, .farea__list a:focus-visible .ic, .fmore__list a:hover .ic, .fmore__list a:focus-visible .ic { opacity: 1; translate: 0 0; }
.fall__area + .fall__area { margin-top: 30px; }
.fall__ah { margin-bottom: 8px; font-family: var(--font-sans); font-weight: 500; font-size: .84rem; color: var(--gold-700); }
:root[dir="ltr"] .fall__ah { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.fdir { border-top: 1px solid var(--line-ivory); }
.fall__area .fdir:last-child { border-bottom: 1px solid var(--line-ivory); }
.fdir__s { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 14px; padding: 15px 0; cursor: pointer; list-style: none; }
.fdir__s::-webkit-details-marker { display: none; }
.fdir__t { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.5; color: var(--paper-ink); transition: color .3s; }
.fdir__c { font-family: var(--font-sans); font-size: .8rem; color: var(--paper-mute); white-space: nowrap; }
.fdir__ic { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-ivory-2); border-radius: 50%; color: var(--gold-700); transition: transform .5s var(--ease-out), background-color .3s, border-color .3s; }
.fdir__ic .ic { width: 16px; height: 16px; }
.fdir__s:hover .fdir__t { color: var(--emerald-600); }
.fdir__s:hover .fdir__ic { border-color: var(--gold-700); }
.fdir[open] > .fdir__s .fdir__ic { transform: rotate(45deg); background: rgba(201, 164, 92, .14); border-color: var(--gold-700); }
.fdir__s:focus-visible { outline-offset: -2px; }
.fdir__list { counter-reset: fq; margin: 0 0 6px; padding: 0; list-style: none; }
.fdir__list li { counter-increment: fq; }
.fdir__list a { position: relative; display: block; padding: 9px 0; padding-inline-start: 2.6em; font-family: var(--font-text); font-size: 1.02rem; line-height: 1.7; color: var(--paper-ink-2); text-decoration: none; transition: color .3s; }
.fdir__list a::before { content: counter(fq, arabic-indic); position: absolute; inset-inline-start: 0; top: 9px; min-width: 1.8em; font-family: var(--font-display); font-size: .9rem; color: var(--gold-700); opacity: .75; }
:root[dir="ltr"] .fdir__list a::before { content: counter(fq, decimal-leading-zero); font-family: var(--font-sans); font-size: .76rem; padding-top: .25em; }
.fdir__list a:hover, .fdir__list a:focus-visible { color: var(--emerald-600); }
.fdir__q { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; text-decoration-thickness: 1px; transition: text-decoration-color .3s; }
.fdir__list a:hover .fdir__q { text-decoration-color: rgba(30, 90, 65, .4); }
.fdir__x { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: .86rem; line-height: 1.75; color: var(--paper-mute); }
.fdir__go { margin: 4px 0 18px; padding-inline-start: 2.6em; }
.fdir__go .link-u { font-size: .92rem; }
.js .fdir[open] .fdir__list { animation: fdir-in .5s var(--ease-out); }
@keyframes fdir-in { from { opacity: 0; transform: translateY(-6px); } }
.fhub.is-searching .ffeat, .fhub.is-searching .fareas, .fhub.is-searching [data-hall-lede], .fhub.is-searching .fdir__go { display: none; }
.fhub.is-searching .fall { margin-top: 0; }
.fhub.is-searching .fdir__list a::before { display: none; }
.fhub.is-searching .fdir__list a { padding-inline-start: 0; }
.snav__c { margin-inline-start: 8px; font-size: .78rem; color: var(--paper-mute); }
.acc__cat a { color: var(--emerald-600); }
.ffeat .acc__cat a { color: var(--gold-300); }

/* ---------------------------------------------------------------- 24b. FAQ topic pages */
.phead--faq .phead__h { max-width: 22ch; }
.fqas { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--paper-ink); }
.fqa { padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-ivory); }
.fqa__q { display: flex; align-items: baseline; gap: 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.28rem, 1.1rem + .65vw, 1.68rem); line-height: 1.55; color: var(--paper-ink); text-wrap: balance; }
:root[dir="ltr"] .fqa__q { line-height: 1.3; letter-spacing: -.005em; }
.fqa__n { flex: none; min-width: 1.7em; font-size: .62em; color: var(--gold-700); }
.fqa__a, .fqa .acc__src, .fqa .acc__rel, .fqa__acts { margin-inline-start: calc(1.7em * .62 * 1.6 + 16px); }
.fqa__a { margin-top: 14px; }
.fqa__a p { max-width: 64ch; font-family: var(--font-text); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--paper-ink-2); }
.fqa__a p + p { margin-top: .75em; }
.fqa .acc__src, .fqa .acc__rel { margin-top: 18px; }
.fqa .acc__rel a { color: var(--emerald-600); }
.fqa__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.fqa__acts:empty { display: none; }
.qlink { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 2px; border: 0; background: none; font-family: var(--font-sans); font-size: .86rem; color: var(--paper-mute); transition: color .3s; }
.qlink .ic { width: 17px; height: 17px; color: var(--gold-700); }
.qlink:hover { color: var(--emerald-600); }
.qlink.is-done .ic { color: var(--emerald-600); }
.fqa.is-target { animation: fqa-mark 2.6s var(--ease-out) both; }
@keyframes fqa-mark { 0%, 45% { background: linear-gradient(var(--grad-dir, 270deg), rgba(201, 164, 92, .16), rgba(201, 164, 92, 0) 70%); box-shadow: inset calc(var(--dir) * -2px) 0 0 var(--gold-500); } 100% { background: transparent; box-shadow: inset 0 0 0 transparent; } }
:root[dir="ltr"] .fqa.is-target { --grad-dir: 90deg; }
.toc--q a { font-size: .86rem; line-height: 1.55; }
.is-faqcat .disclaimer { margin-top: 28px; }
.fmore { padding-block: clamp(52px, 6vw, 88px); background: var(--ivory-100); color: var(--paper-ink); border-top: 1px solid var(--line-ivory); }
.fmore__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.fmore__h { margin-bottom: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.9rem); line-height: 1.4; }
.fmore__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line-ivory-2); }
.fmore__list a { padding-inline-start: 0; border-bottom: 1px solid var(--line-ivory); }
.fmore__list span:first-child { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; line-height: 1.55; }

/* ---------------------------------------------------------------- 24c. language switch */
.lsw { position: relative; }
.lsw__btn { gap: 6px; padding: 0 10px; }
.lsw__btn .ic { width: 20px; height: 20px; }
.lsw__cur { font-family: var(--font-sans); font-weight: 500; font-size: .86rem; line-height: 1; }
.lsw .lsw__chev { width: 14px; height: 14px; opacity: .7; transform: rotate(90deg); transition: transform .4s var(--ease-out); }
.lsw__btn[aria-expanded="true"] .lsw__chev { transform: rotate(-90deg); }
.lsw__list { position: absolute; z-index: 60; top: calc(100% + 12px); inset-inline-end: 0; display: none; min-width: 196px; margin: 0; padding: 8px; list-style: none; background: rgba(8, 16, 13, .97); box-shadow: 0 0 0 1px rgba(201, 164, 92, .32), 0 30px 60px -24px rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lsw.is-open .lsw__list { display: block; animation: lsw-in .32s var(--ease-out); }
@keyframes lsw-in { from { opacity: 0; transform: translateY(-6px); } }
.lsw__list a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; font-family: var(--font-sans); font-size: .95rem; color: var(--on-dark-2); text-decoration: none; transition: background-color .25s, color .25s; }
.lsw__list a:hover, .lsw__list a:focus-visible { background: rgba(201, 164, 92, .1); color: var(--ivory-50); outline-offset: -2px; }
.lsw__list a[aria-current] { color: var(--gold-300); }
.lsw__list a[aria-current]::after { content: ""; width: 6px; height: 6px; margin-inline-start: auto; border-radius: 50%; background: var(--gold-500); }
.lsw__code { min-width: 2.6em; font-size: .72rem; letter-spacing: .06em; color: var(--gold-500); opacity: .85; }
.menu__langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.menu__langs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-dark-2); border-radius: 999px; color: var(--on-dark); text-decoration: none; font-size: .92rem; }
.menu__langs a[aria-current] { border-color: var(--gold-500); color: var(--gold-300); }
.ftr__langs { display: flex; flex-wrap: wrap; gap: 6px 20px; width: 100%; margin: 0; padding: 0; list-style: none; }
.ftr__langs a { color: var(--on-dark-2); text-decoration: none; }
.ftr__langs a:hover { color: var(--gold-200); }
.ftr__langs a[aria-current] { color: var(--gold-300); }

/* ---------------------------------------------------------------- 24d. zh / es landing pages */
.xl-hint { font-family: var(--font-sans); font-weight: 400; font-size: .74em; letter-spacing: 0; text-transform: none; opacity: .66; white-space: nowrap; }
.nav__a .xl-hint, .ftr__col .xl-hint, .ftr__legal .xl-hint { font-size: .7em; }
:root[lang|="zh"] {
  --font-display: "Thmanyah Serif Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-text: "Thmanyah Serif Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-sans: "Thmanyah Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --lh-display: 1.34; --lh-body: 1.9;
}
:root[lang|="zh"] body { line-break: strict; word-break: normal; overflow-wrap: break-word; font-feature-settings: "palt" 0; }
:root[lang|="zh"] .hero__h { line-height: 1.24; letter-spacing: .01em; font-size: clamp(2.5rem, 1.1rem + 4.2vw, 5.2rem); }
:root[lang|="zh"] .h2, :root[lang|="zh"] .phead__h, :root[lang|="zh"] .fqa__q { letter-spacing: .01em; line-height: 1.36; }
:root[lang|="zh"] .kicker, :root[lang|="zh"] .ftr__h, :root[lang|="zh"] .mq__k, :root[lang|="zh"] .fall__ah { letter-spacing: .08em; text-transform: none; }
:root[lang|="zh"] .hero__lede, :root[lang|="zh"] .intro p, :root[lang|="zh"] .prose, :root[lang|="zh"] .phead__lede { line-height: 1.95; }
:root[lang|="zh"] .btn, :root[lang|="zh"] .nav__a { letter-spacing: .02em; }
:root[lang="es"] .hero__h { font-size: clamp(2.5rem, 1.05rem + 4.3vw, 5.4rem); }
.snav li a .snav__c { display: inline; padding: 0; border: 0; color: var(--paper-mute); }
.snav li a .snav__c::before { content: none; }
.fhub .ftools { background: rgba(251, 248, 242, .97); }
.fqa .chip--src { border-radius: 16px; line-height: 1.5; padding-block: 6px; text-align: start; }
@media (max-width: 980px) {
  .fmore__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 640px) {
  .fareas__grid, .fmore__list { grid-template-columns: minmax(0, 1fr); }
  .fhub .ftools { position: static; padding-top: 0; }
  .fqa__a, .fqa .acc__src, .fqa .acc__rel, .fqa__acts { margin-inline-start: 0; }
  .fqa__q { gap: 12px; }
  .fdir__list a, .fdir__go { padding-inline-start: 2.2em; }
  .farea__list a { padding-inline-start: 0; }
  .lsw__list { inset-inline-end: -8px; }
}
.rail.is-shown.is-over { opacity: 0; visibility: hidden; }
.phead--faq .phead__h { max-width: 24ch; font-size: clamp(2.15rem, 1.35rem + 2.5vw, 3.85rem); }
