/* Mizwala system layer (2026-11-16). Loaded last on every page.
   One type scale, one button geometry, one icon set. Colours stay with the existing tokens.
   shortcut: overrides the five older sheets instead of replacing them; fold these rules in and
   delete the superseded ones when the stylesheets are consolidated. */
:root {
  --fs-xs: 13px; --fs-s: 15px; --fs-m: 17px; --fs-l: 22px; --fs-xl: 30px; --fs-2xl: 44px; --fs-3xl: 72px; --fs-display: 96px;
  --control-h: 52px; --control-h-sm: 44px; --icon: 18px;
}

/* Type: headings */
body.omani #main h1 {font-size: clamp(44px, 3.4vw + 1.6rem, var(--fs-3xl)); line-height: 1.04;}
body.omani #main .om-hero h1 {font-size: clamp(52px, 5vw + 1.5rem, var(--fs-display));}
body.omani #main h2 {font-size: clamp(32px, 1.5vw + 1.5rem, var(--fs-2xl)); line-height: 1.12;}
body.omani #main h3 {font-size: clamp(22px, .8vw + 1.1rem, var(--fs-xl)); line-height: 1.2;}
body.omani #main h4 {font-size: var(--fs-l); line-height: 1.3;}

/* Type: copy */
body.omani #main p {font-size: var(--fs-m);}
body.omani #main li {font-size: var(--fs-m);}
body.omani #main :is(.om-brief dd, .om-pillar small, .om-tab small, .om-role-note) {font-size: var(--fs-s);}
body.omani #main .lead {font-size: var(--fs-l);}
body.omani #main :is(input, select, textarea) {font-size: var(--fs-m);}
body.omani #main .om-metrics dd {font-size: var(--fs-l);}
body.omani #main :is(.om-tab, .om-tool-links a) {font-size: var(--fs-s); font-weight: 600;}
body.omani #main :is(.small, small, figcaption, dt, label) {font-size: var(--fs-s);}

/* Leftover off-scale sizes from the older sheets */
body.omani #main dd {font-size: var(--fs-m);}
body.omani #main .large-copy {font-size: var(--fs-l) !important;} /* style.css sets 20px !important */
body.omani #main :is(.scope-title, .email-brief-address a) {font-size: var(--fs-l);}
body.omani #main .phase-number {font-size: var(--fs-2xl);}
body.omani #main :is(summary, legend, .library-clear, .email-brief-address span) {font-size: var(--fs-s);}
body.omani #main .email-brief-next strong {font-size: var(--fs-m);}

/* Labels above headings: one size everywhere (was 11px on redesigned pages, 15-17px on inner pages) */
body.omani :is(#main, .site-header, .site-footer) :is(.eyebrow, .om-kicker) {font-size: var(--fs-xs); font-weight: 650; letter-spacing: .14em; line-height: 1.45;}
html[dir=rtl] body.omani :is(#main, .site-header, .site-footer) :is(.eyebrow, .om-kicker) {font-size: var(--fs-s); letter-spacing: 0;}

/* Nothing under 13px (these were 10-12px in omani.css) */
body.omani #main :is(.om-tool label, .om-wallet label, .om-chart figcaption, .om-metrics dt,
  .om-status, .om-portrait span, .om-brief dt, .om-photo-slot figcaption) {font-size: var(--fs-xs);}
body.omani .site-header .header-inner > nav {font-size: 14px;}
body.omani .topline > .container {font-size: var(--fs-xs);}

/* Buttons: one geometry. Colours keep each context's existing pairing (dark, inverse, WhatsApp). */
body.omani :is(#main, .site-header, .site-footer) :is(.button, .om-button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--control-h); padding: 0 24px; border-radius: 0; border-width: 1px;
  font-family: var(--sans); font-size: var(--fs-s); font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
}
body.omani .site-header .nav-cta {min-height: var(--control-h-sm); padding: 0 18px !important; gap: 12px; font-size: 14px; font-weight: 600;}

/* Text links: one style (was border-bottom on inner pages, underline on redesigned pages) */
body.omani :is(#main, .site-header, .site-footer) :is(.text-link, .om-link) {
  display: inline-flex; align-items: center; gap: 10px; min-height: 0; padding-bottom: 0; border-bottom: 0;
  font-size: var(--fs-s); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .35em;
}
body.omani :is(#main, .site-header, .site-footer) :is(.text-link, .om-link):hover {text-decoration-thickness: 2px;}

/* Icons: the drawn line set only, one size, one stroke */
body.omani :is(#main, .site-header, .site-footer) .link-icon {width: var(--icon); height: var(--icon); stroke-width: 1.75; flex: none;}
body.omani :is(#main, .site-header, .site-footer) .arrow {display: inline-flex; font-size: inherit; line-height: 1;}

/* Template tells removed (2026-11-16b) */
/* Remaining labels carry real information (scenario, fictional, role, source): plain metadata, not tracked caps */
body.omani :is(#main, .site-header, .site-footer) :is(.eyebrow, .om-kicker) {text-transform: none; letter-spacing: 0; font-size: var(--fs-s); font-weight: 600;}
/* Headlines stay roman; the second line keeps its colour without the italic */
body.omani #main :is(h1, h2) em {font-style: normal;}
/* Numbers deleted from pillars and tabs; portrait placeholder deleted */
body.omani #main .om-tab {grid-template-columns: minmax(0,1fr) 18px;}
body.omani #main .om-profile {grid-template-columns: minmax(0,1fr) minmax(0,1.55fr);}
body.omani #main .om-profile > div:first-child {display: flex; flex-direction: column; gap: 4px;}
body.omani #main .om-profile .om-kicker {order: 2;}
body.omani #main .om-profile .om-role-note {order: 3;}
body.omani #main .om-founder-note {font-size: var(--fs-s);}
@media (max-width: 760px) {
  body.omani #main .om-profile {grid-template-columns: minmax(0,1fr);}
  body.omani #main :is(.om-pillar, .om-pillar:first-child) {grid-template-columns: minmax(0,1fr);}
  body.omani #main .om-pillar p {grid-column: auto;}
}
/* Contrast: dark CTA band and gold labels on cream (were 2.2-2.9:1) */
body.omani #main .cta h2 em {color: #e5bd85;}
body.omani #main .cta p {color: #d1d8d8;}
body.omani #main :is(.contact-notes span, .phase-output b, .phase-number) {color: var(--gold-text);}

/* Sitewide leftovers (2026-11-16c) */
body.omani #main :is(th, td, caption) {font-size: var(--fs-s);}
body.omani :is(#main, .site-header) .breadcrumb span {color: var(--muted, #4d5b60);}
body.omani #main :is(.gcc-country-title > span, .gcc-steps > article > span, .case-steps > article > span, .case-aside > span) {color: var(--gold-text);}
body.omani #main summary > span {color: var(--gold-text);}
