/* ==========================================================================
   Asia Gate Properties, website version 2: shared stylesheet (English and Arabic)
   Light ivory pages, deep slate type, champagne-gold lines and icons.
   Logical properties throughout, so one set of rules serves both directions.
   ========================================================================== */

/* ---------- 1. Fonts ----------
   Self-hosted from assets/fonts (SIL Open Font License; subsets built from the Google Fonts releases). */
@font-face { font-family: "Italiana"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/italiana-400.woff") format("woff"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/bodoni-moda-400-500.woff") format("woff"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/bodoni-moda-italic-400.woff") format("woff"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/newsreader-600.woff") format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/manrope-400-600.woff") format("woff"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/cairo-400-700.woff") format("woff"); }

/* ---------- 2. Tokens ---------- */
:root {
  --ivory: #FBF8F2;
  --ivory-deep: #F4EDE1;
  --white: #FFFFFF;
  --slate: #0F2F38;            /* headings, dark bands, primary buttons */
  --slate-2: #173B45;
  --teal: #0E6B85;             /* hover and focus accent */
  --text: #33484F;             /* body text: 9.1:1 on ivory */
  --muted: #4E636A;            /* secondary text: 6.0:1 on ivory, 6.3:1 on white */
  --gold: #C9A15F;             /* lines and icons only (decorative) */
  --gold-line: #E4D3B4;
  --gold-text: #7D5A20;        /* gold for small text: 5.9:1 on ivory */
  --gold-on-dark: #D6A863;     /* 6.5:1 on slate */
  --on-dark: #FFFFFF;
  --on-dark-2: #C9D6D9;        /* 9.5:1 on slate */
  --line: #DDD6CA;
  --control: #6E7F85;          /* form control borders: 4.2:1 on white */
  --error: #B0352D;
  --error-bg: #F9E7E4;
  --success: #256F4A;
  --success-bg: #E5F1EA;
  --info-bg: #DCEBF0;

  /* Typography: Italiana for hero headings, Bodoni Moda for headings and titles, Manrope for text; Cairo for Arabic. */
  --display: "Italiana", "Bodoni Moda", Didot, "Times New Roman", serif;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  --serif-small: var(--serif);
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --arabic: "Cairo", "Segoe UI", Tahoma, sans-serif;

  --header-h: 5.5rem;
  --wrap: 77.5rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
:lang(ar) body, body:lang(ar) { font-family: var(--arabic); line-height: 1.85; }
img { display: block; max-inline-size: 100%; block-size: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.icon { inline-size: 1.25rem; block-size: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--gold { color: var(--gold); stroke-width: 1.25; inline-size: 2.25rem; block-size: 2.25rem; }
.icon--lg { inline-size: 2.75rem; block-size: 2.75rem; }
.icon--arrow { inline-size: 1rem; block-size: 1rem; transition: transform .35s var(--ease-out); }
[dir="rtl"] .icon--arrow { transform: scaleX(-1); }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; inset-block-start: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--slate); color: var(--white); }
.skip-link:focus { inset-block-start: 1rem; }
.container { inline-size: 100%; max-inline-size: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-inline-size: calc(52rem + 2 * var(--gutter)); }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ---------- 4. Type ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 500; color: var(--slate); letter-spacing: -.005em; }
.display { font-size: clamp(2.75rem, 1.8rem + 3.9vw, 5.25rem); line-height: 1.02; }
.h1 { font-size: clamp(2.5rem, 1.85rem + 2.6vw, 4.25rem); line-height: 1.06; }
.h2 { font-size: clamp(2.125rem, 1.7rem + 1.6vw, 3.25rem); line-height: 1.1; }
.h3 { font-size: clamp(1.625rem, 1.5rem + .5vw, 2rem); line-height: 1.2; }
.h4 { font-size: 1.5rem; line-height: 1.25; font-weight: 600; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.65; color: var(--text); }
.small { font-size: .875rem; line-height: 1.6; color: var(--muted); }
:lang(ar) .display, :lang(ar) .h1, :lang(ar) .h2, :lang(ar) .h3, :lang(ar) .h4 { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; }
:lang(ar) .display { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1.3; }
:lang(ar) .h1 { font-size: clamp(2rem, 1.55rem + 1.8vw, 3.125rem); line-height: 1.3; }
:lang(ar) .h2 { font-size: clamp(1.75rem, 1.45rem + 1.2vw, 2.5rem); line-height: 1.35; }
:lang(ar) .h3 { font-size: 1.5rem; line-height: 1.45; }
:lang(ar) .h4 { font-size: 1.1875rem; line-height: 1.5; }

.kicker { display: flex; align-items: center; gap: .875rem; flex-wrap: wrap; margin-block-end: 1.25rem; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); line-height: 1.5; }
.kicker__line { inline-size: 3rem; block-size: 1px; background: var(--gold); flex: none; transform-origin: 0 50%; }
[dir="rtl"] .kicker__line { transform-origin: 100% 50%; }
.kicker--center { justify-content: center; }
:lang(ar) .kicker { font-size: .9375rem; letter-spacing: 0; text-transform: none; }

.text-link { display: inline-flex; align-items: center; gap: .625rem; padding-block: .375rem; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); text-decoration: none; border-block-end: 1px solid var(--gold); }
:lang(ar) .text-link { font-size: .9375rem; letter-spacing: 0; }
.text-link:hover { color: var(--teal); }
@media (hover: hover) { .text-link:hover .icon--arrow, .btn:hover .icon--arrow, .tile:hover .icon--arrow { transform: translateX(.3rem); } [dir="rtl"] .text-link:hover .icon--arrow, [dir="rtl"] .btn:hover .icon--arrow, [dir="rtl"] .tile:hover .icon--arrow { transform: scaleX(-1) translateX(.3rem); } }

/* ---------- 5. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-block-size: 3.25rem; padding: .75rem 1.75rem; border: 1px solid transparent; border-radius: 0; font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
:lang(ar) .btn { font-size: .9375rem; letter-spacing: 0; }
.btn--solid { background: var(--slate); color: var(--white); }
.btn--solid:hover { background: var(--teal); color: var(--white); }
.btn--outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.btn--pill { min-block-size: 2.75rem; padding: .5rem 1.25rem; border-radius: 999px; background: var(--slate); color: var(--white); font-size: .75rem; }
.btn--pill:hover { background: var(--teal); color: var(--white); }
.btn--pill-gold { background: transparent; border-color: var(--gold-on-dark); color: var(--gold-on-dark); }
.btn--pill-gold:hover { background: var(--gold-on-dark); color: var(--slate); }
.btn--block { inline-size: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.spinner { inline-size: 1rem; block-size: 1rem; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- 6. Header ---------- */
.site-header { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50; background: linear-gradient(180deg, rgba(251, 248, 242, .92) 0%, rgba(251, 248, 242, .6) 60%, rgba(251, 248, 242, 0) 100%); transition: background-color .35s, box-shadow .35s; }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; block-size: var(--header-h); max-inline-size: calc(90rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); transition: block-size .35s var(--ease-out); }
.site-header.is-scrolled, .site-header.is-menu-open { background: rgba(251, 248, 242, .97); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(15, 47, 56, .35); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-scrolled { background: rgba(251, 248, 242, .88); backdrop-filter: blur(12px); } }
.site-header.is-scrolled .site-header__bar { block-size: 4.5rem; }
.brand { flex: none; display: block; }
.brand img { block-size: 2.75rem; inline-size: auto; }
.site-nav { margin-inline-start: auto; }
.site-nav__list { display: flex; gap: clamp(1rem, 1.8vw, 2rem); }
.site-nav__list a { position: relative; display: block; padding-block: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); text-decoration: none; white-space: nowrap; }
:lang(ar) .site-nav__list a { font-size: .9375rem; letter-spacing: 0; }
.site-nav__list a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
[dir="rtl"] .site-nav__list a::after { transform-origin: 100% 50%; }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { color: var(--gold-text); }
.site-nav__extra { display: none; }
.site-header__tools { display: flex; align-items: center; gap: 1.25rem; }
/* language menu (flag, current language, panel with both) */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .5rem; min-block-size: 2.75rem; padding: .375rem .75rem; border: 1px solid var(--line); border-radius: .625rem; background: var(--white); color: var(--slate); font-size: .875rem; font-weight: 700; cursor: pointer; list-style: none; box-shadow: 0 1px 2px rgba(15, 47, 56, .06); transition: border-color .2s, box-shadow .2s; }
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn:hover { border-color: var(--gold); }
.lang[open] .lang__btn { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(201, 161, 95, .3); }
.flag { inline-size: 1.75rem; block-size: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lang__chev { inline-size: 1rem; block-size: 1rem; stroke-width: 2.25; transition: transform .25s var(--ease-out); }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__panel { position: absolute; inset-block-start: calc(100% + .625rem); inset-inline-end: 0; z-index: 60; inline-size: 15rem; padding: 1rem .5rem .5rem; background: var(--white); border: 1px solid var(--line); border-radius: .875rem; box-shadow: 0 18px 40px -16px rgba(15, 47, 56, .35); }
.lang__title { padding-inline: .75rem; margin-block-end: .5rem; font-size: .9375rem; font-weight: 700; color: var(--slate); }
.lang__panel li + li { border-block-start: 1px solid var(--line); }
.lang__opt { display: flex; align-items: center; gap: .75rem; min-block-size: 3rem; padding: .5rem .75rem; border-radius: .5rem; color: var(--slate); text-decoration: none; font-size: .9375rem; }
.lang__opt:hover { background: var(--ivory); color: var(--slate); }
.lang__opt:lang(ar) { font-family: var(--arabic); }
.lang__opt:lang(en) { font-family: var(--sans); }
.lang__radio { flex: none; inline-size: 1.25rem; block-size: 1.25rem; border: 1.5px solid var(--control); border-radius: 50%; display: grid; place-items: center; }
.lang__opt[aria-current] .lang__radio { border-color: var(--slate); }
.lang__opt[aria-current] .lang__radio::after { content: ""; inline-size: .625rem; block-size: .625rem; border-radius: 50%; background: var(--slate); }
.lang__opt[aria-current] { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .lang[open] .lang__panel { animation: drop .3s var(--ease-out) both; } }
.site-nav__extra .lang__panel { position: static; margin-block-start: .625rem; inline-size: 100%; max-inline-size: 20rem; box-shadow: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; inline-size: 3rem; block-size: 3rem; margin-inline-start: auto; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--slate); cursor: pointer; }
.nav-toggle .icon--close, .nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 74.99em) {
  .site-header { background: rgba(251, 248, 242, .97); box-shadow: 0 1px 0 var(--line); }
  :root { --header-h: 4.5rem; }
  .brand img { block-size: 2.25rem; }
  .nav-toggle { display: inline-flex; margin-inline-start: 0; }
  .site-header__tools { margin-inline-start: auto; }
  .site-header__tools .lang { display: none; }
  .site-nav { position: absolute; inset-block-start: 100%; inset-inline: 0; margin: 0; padding: 1rem var(--gutter) 2rem; background: var(--ivory); border-block-start: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(15, 47, 56, .4); display: none; max-block-size: calc(100svh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: block; animation: drop .45s var(--ease-out) both; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding-block: 1rem; font-family: var(--serif); font-size: 1.625rem; font-weight: 500; letter-spacing: 0; text-transform: none; border-block-end: 1px solid var(--line); }
  :lang(ar) .site-nav__list a { font-family: var(--arabic); font-size: 1.25rem; font-weight: 600; }
  .site-nav__list a::after { display: none; }
  .site-nav__extra { display: block; padding-block-start: 1.25rem; }
  .site-nav__extra .lang { font-size: 1rem; }
}
@media (max-width: 39.99em) { .site-header__tools .btn--pill { display: none; } .nav-toggle { margin-inline-start: auto; } }
/* Without JavaScript the menu is always open, under the bar. */
/* The no-JavaScript menu fallback is a <noscript> style in each page's <head>, so pages never jump while the script loads. */

.scroll-progress { position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-block-size: min(80svh, 52rem); padding-block: calc(var(--header-h) + 3rem) 4.5rem; background: var(--ivory); overflow: hidden; }
.hero--home { min-block-size: 100svh; }
.hero__media { position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 62%; z-index: -1; }
.hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ivory) 0%, rgba(251, 248, 242, .94) 22%, rgba(251, 248, 242, .55) 48%, rgba(251, 248, 242, 0) 78%); }
[dir="rtl"] .hero__media::after { background: linear-gradient(270deg, var(--ivory) 0%, rgba(251, 248, 242, .94) 22%, rgba(251, 248, 242, .55) 48%, rgba(251, 248, 242, 0) 78%); }
.hero__inner { position: relative; }
.hero__content { max-inline-size: 36rem; }
.hero--home .hero__content { max-inline-size: 40rem; }
.hero .lead { margin-block-start: 1.5rem; max-inline-size: 32rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-block-start: 2.5rem; }
.hero__tag, .media__tag { position: absolute; z-index: 2; padding: .25rem .5rem; background: rgba(15, 47, 56, .78); color: var(--white); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; pointer-events: none; }
:lang(ar) .hero__tag, :lang(ar) .media__tag { letter-spacing: 0; font-size: .75rem; }
.hero__tag { inset-block-end: 1rem; inset-inline-end: 1rem; }
.hero__scroll { display: none; }
@media (min-width: 64em) {
  .hero--home::after { content: ""; position: absolute; inset-block-end: 2.5rem; inset-inline-start: 50%; inline-size: 1px; block-size: 3.5rem; background: linear-gradient(var(--gold), transparent); }
}
@media (max-width: 63.99em) {
  .hero, .hero--home { display: block; min-block-size: 0; padding-block: var(--header-h) 3.5rem; }
  .hero__media { position: relative; inline-size: 100%; block-size: clamp(16rem, 48svh, 30rem); z-index: 0; }
  .hero__media::after, [dir="rtl"] .hero__media::after { background: linear-gradient(180deg, rgba(251, 248, 242, 0) 55%, var(--ivory) 100%); }
  .hero__inner { margin-block-start: -2.5rem; }
  .hero__tag { inset-block-end: auto; inset-block-start: calc(var(--header-h) + .75rem); }
  .hero__actions .btn { flex: 1 1 14rem; }
}

/* ---------- 8. Sections ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section-head { max-inline-size: 46rem; margin-block-end: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-block-start: 1.25rem; color: var(--muted); }
.page-intro { padding-block: calc(var(--header-h) + 4rem) 3.5rem; }
.page-intro--tall { min-block-size: 70svh; display: flex; align-items: center; }
.page-intro .lead { margin-block-start: 1.25rem; }
.page-intro .cluster { margin-block: 2rem 1.5rem; }
.prose > * + * { margin-block-start: 1.1em; }
.prose h2 { margin-block-start: 2em; }
.prose a { color: var(--teal); }

/* checklist */
.list { display: grid; gap: .75rem; }
.list li { display: flex; gap: .75rem; align-items: flex-start; }
.list .icon { color: var(--gold-text); margin-block-start: .2em; stroke-width: 2; }

/* features: columns divided by gold rules */
.features { display: grid; grid-template-columns: minmax(0, 1fr); }
.features > li { display: flex; flex-direction: column; gap: .875rem; padding-block: 2rem; border-block-start: 1px solid var(--gold-line); }
.features > li:first-child { border-block-start: 0; padding-block-start: 0; }
.features p { color: var(--muted); }
.features .text-link { align-self: flex-start; margin-block-start: auto; }
@media (min-width: 40em) and (max-width: 63.99em) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .features > li:nth-child(2) { border-block-start: 0; padding-block-start: 0; }
}
@media (min-width: 64em) {
  .features--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }
  .features > li { padding-block: .5rem; padding-inline: 1.75rem; border-block-start: 0; border-inline-start: 1px solid var(--gold-line); }
  .features > li:first-child, .features--3 > li:nth-child(3n + 1), .features--4 > li:nth-child(4n + 1) { border-inline-start: 0; padding-inline-start: 0; }
  .features--compact > li { align-items: center; text-align: center; padding-inline: 1rem; }
  .features--compact > li:first-child { padding-inline-start: 1rem; }
}
@media (hover: hover) { .features > li > .icon--gold { transition: transform .5s var(--ease-out); } .features > li:hover > .icon--gold { transform: translateY(-.35rem); } }

/* values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 0; background: var(--white); border: 1px solid var(--gold-line); }
.values li { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 2.5rem 1.25rem; text-align: center; border-inline-start: 1px solid var(--gold-line); margin-inline-start: -1px; border-block-end: 1px solid var(--gold-line); margin-block-end: -1px; }
.values .icon--gold { inline-size: 2.5rem; block-size: 2.5rem; margin-block-end: .75rem; }
.values p { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
:lang(ar) .values p { font-size: .9375rem; letter-spacing: 0; }
.section--white .values { background: var(--ivory); }

/* dark band and process steps */
.band { position: relative; background: var(--slate); color: var(--on-dark-2); overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 30rem at 85% -10%, rgba(14, 107, 133, .45), transparent 60%), radial-gradient(40rem 24rem at 0% 110%, rgba(214, 168, 99, .12), transparent 60%); pointer-events: none; }
.band > .container { position: relative; }
.band .h2, .band .h3, .band .h4 { color: var(--on-dark); }
.band .kicker { color: var(--gold-on-dark); }
.band .kicker__line { background: var(--gold-on-dark); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; counter-reset: step; }
.steps li { position: relative; padding-block-start: 1.75rem; border-block-start: 1px solid rgba(214, 168, 99, .35); }
.steps li::before { content: ""; position: absolute; inset-block-start: -5px; inset-inline-start: 0; inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--gold-on-dark); box-shadow: 0 0 0 5px rgba(214, 168, 99, .15); }
[dir="rtl"] .steps__n { text-align: right; }
.steps__n { display: block; margin-block-end: .5rem; font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: var(--gold-on-dark); }
.steps h3 { margin-block-end: .5rem; }
.steps p { font-size: .9375rem; }
@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; } .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band__note { display: flex; gap: .625rem; justify-content: center; align-items: center; margin-block-start: 3.5rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--on-dark); }
:lang(ar) .band__note { font-family: var(--arabic); font-style: normal; font-size: 1rem; }
.band__note .icon { color: var(--gold-on-dark); }

/* split: image beside text */
.split { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
@media (min-width: 64em) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split__body { max-inline-size: 34rem; }
.split__body > * + * { margin-block-start: 1.25rem; }
.split__body .kicker { margin-block-end: 0; }
.split__body .list { margin-block-start: 1.75rem; }

/* photographs */
.media { position: relative; }
.media__frame { position: relative; overflow: hidden; background: var(--ivory-deep); }
.media__frame img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media__tag { inset-block-end: .75rem; inset-inline-start: .75rem; }
.media--tall .media__frame img { aspect-ratio: 4 / 5; }
.media--framed { isolation: isolate; margin-inline-end: 1.25rem; margin-block-end: 1.25rem; }
.media--framed::before { content: ""; position: absolute; inset-block: 1.25rem -1.25rem; inset-inline: 1.25rem -1.25rem; border: 1px solid var(--gold); z-index: -1; }
@media (hover: hover) { .media__frame img, .tile img { transition: transform 1.2s var(--ease-out); } .media:hover .media__frame img, .tile:hover img { transform: scale(1.04); } }

/* audience tiles */
.duo, .pair { display: grid; gap: 1.5rem; }
@media (min-width: 48em) { .duo, .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; display: block; overflow: hidden; color: var(--white); text-decoration: none; background: var(--slate); }
.tile img { inline-size: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.tile__body { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: .5rem; padding: 7rem clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); background: linear-gradient(180deg, rgba(15, 47, 56, 0) 0%, rgba(15, 47, 56, .82) 45%, rgba(15, 47, 56, .95) 100%); }
.tile__who { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-dark); }
.tile__title { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1.1; }
.tile__text { color: #E3EBED; max-inline-size: 26rem; }
.tile__cta { display: inline-flex; align-items: center; gap: .625rem; margin-block-start: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .tile__who, :lang(ar) .tile__cta { letter-spacing: 0; font-size: .9375rem; }
:lang(ar) .tile__title { font-family: var(--arabic); font-weight: 700; font-size: 1.875rem; line-height: 1.4; }
.tile .media__tag { inset-block-start: .75rem; inset-block-end: auto; }
.tile:hover { color: var(--white); }

/* contact block */
.talk { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
@media (min-width: 64em) { .talk { grid-template-columns: 5fr 6fr; } }
.talk__body > * + * { margin-block-start: 1.5rem; }
.talk__body .kicker { margin-block-end: 0; }
.talk__body .lead { color: var(--muted); }
.talk__body .cluster { margin-block-start: 2.25rem; }
.details { display: grid; gap: 1.25rem; }
.details li { display: flex; gap: 1rem; align-items: flex-start; }
.details__icon { display: grid; place-items: center; flex: none; inline-size: 2.75rem; block-size: 2.75rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-text); }
.details strong { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
:lang(ar) .details strong { font-size: .875rem; letter-spacing: 0; }
.details a { color: var(--slate); }
.details a:hover { color: var(--teal); }

/* services page */
.jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-block-end: clamp(2rem, 1rem + 3vw, 4rem); }
.jump a { display: inline-flex; align-items: center; min-block-size: 2.75rem; padding: .5rem 1.125rem; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--slate); }
:lang(ar) .jump a { font-size: .9375rem; letter-spacing: 0; }
.jump a:hover { border-color: var(--gold); color: var(--gold-text); }
.svc { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-block-start: 1px solid var(--gold-line); scroll-margin-block-start: var(--header-h); }
.svc:first-of-type { border-block-start: 0; padding-block-start: 0; }
@media (min-width: 64em) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6rem; } .svc--flip .media { order: 2; } }
.svc__body { max-inline-size: 34rem; }
.svc__body > * + * { margin-block-start: 1.25rem; }
.svc__body .list { margin-block-start: 1.75rem; }
.svc__n { display: flex; align-items: center; gap: 1rem; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-text); }
[dir="rtl"] .svc__n { justify-content: flex-end; flex-direction: row-reverse; }

/* panels, plans, notes */
.panel { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); background: var(--white); border: 1px solid var(--gold-line); }
.section--white .panel { background: var(--ivory); }
.panel .text-link { align-self: flex-start; margin-block-start: auto; }
.caption-card figcaption { padding-block-start: 1.25rem; }
.caption-card figcaption p { color: var(--muted); margin-block-start: .25rem; }
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 64em) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: 1.25rem; padding: 2.25rem; background: var(--white); border: 1px solid var(--gold-line); }
.plan .list { flex: 1; }
.plan--featured { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold), 0 24px 40px -30px rgba(15, 47, 56, .45); }
.plan__who { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
:lang(ar) .plan__who { font-size: .9375rem; letter-spacing: 0; }
.note { display: flex; gap: .875rem; align-items: flex-start; padding: 1rem 1.25rem; background: var(--ivory); border-inline-start: 3px solid var(--gold); }
.note .icon { color: var(--gold-text); margin-block-start: .2em; }
.note strong { display: block; color: var(--slate); }
.note span { color: var(--muted); font-size: .9375rem; }

/* FAQ */
.faq { border-block-start: 1px solid var(--gold-line); }
.faq details { border-block-end: 1px solid var(--gold-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.5rem; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.3; color: var(--slate); }
:lang(ar) .faq summary { font-family: var(--arabic); font-size: 1.125rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold-text); transition: transform .35s var(--ease-out); }
.faq details[open]:not(.is-closing) summary .icon { transform: rotate(180deg); }
.faq__answer { padding-block-end: 1.5rem; max-inline-size: 44rem; }
.faq__answer a { color: var(--teal); }

/* contact page */
.contact { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64em) { .contact { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.contact__info > * + * { margin-block-start: 1.5rem; }
.contact__info .kicker { margin-block-end: 0; }
.next { padding-block-start: 1.5rem; border-block-start: 1px solid var(--gold-line); }
.next ol { display: grid; gap: 1rem; margin-block-start: 1rem; counter-reset: n; }
.next li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .75rem; counter-increment: n; }
.next li::before { content: counter(n); grid-row: span 2; display: grid; place-items: center; inline-size: 2rem; block-size: 2rem; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 1.125rem; color: var(--gold-text); }
.next strong { color: var(--slate); }
.next span { color: var(--muted); font-size: .9375rem; }

/* ---------- 9. Forms ---------- */
.form { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); background: var(--ivory); border: 1px solid var(--gold-line); scroll-margin-block-start: calc(var(--header-h) + 1rem); }
.form__head > * + * { margin-block-start: .5rem; }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: .5rem; align-content: start; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--slate); }
.field__optional { font-weight: 400; color: var(--muted); }
.field__hint { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.field__error { display: flex; gap: .375rem; align-items: flex-start; font-size: .875rem; line-height: 1.5; font-weight: 500; color: var(--error); }
.field__error .icon { inline-size: 1.125rem; block-size: 1.125rem; margin-block-start: .15em; stroke-width: 2; }
.input, .textarea, .select select { inline-size: 100%; min-block-size: 3.25rem; padding: .75rem 1rem; border: 1px solid var(--control); border-radius: 0; background: var(--white); color: var(--slate); font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.textarea { min-block-size: 8rem; resize: vertical; }
.input:focus-visible, .textarea:focus-visible, .select select:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.select { position: relative; display: block; }
.select select { padding-inline-end: 3rem; cursor: pointer; }
.select .icon { position: absolute; inset-inline-end: .875rem; inset-block-start: 50%; margin-block-start: -.625rem; pointer-events: none; color: var(--muted); }
[aria-invalid="true"].input, [aria-invalid="true"].textarea, .select select[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: .5rem; }
.choices { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.choice { display: flex; align-items: center; gap: .625rem; min-block-size: 3.25rem; padding: .5rem 1rem; border: 1px solid var(--control); background: var(--white); cursor: pointer; font-weight: 500; color: var(--slate); }
.choice input { -webkit-appearance: none; appearance: none; flex: none; inline-size: 1.375rem; block-size: 1.375rem; margin: 0; border: 1px solid var(--control); border-radius: 50%; background: var(--white); display: grid; place-content: center; cursor: pointer; }
.choice input::after { content: ""; inline-size: .5rem; block-size: .5rem; border-radius: 50%; background: var(--white); transform: scale(0); }
.choice input:checked { background: var(--slate); border-color: var(--slate); }
.choice input:checked::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); }
.choice:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.choice .icon { color: var(--gold-text); }
.form__foot { display: grid; gap: .75rem; justify-items: start; }
.form__foot a { color: var(--teal); }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--gold-text); background: #FAEFD8; color: var(--slate); font-size: .9375rem; line-height: 1.55; }
.notice strong { display: block; font-weight: 600; }
.notice--info { border-color: var(--teal); background: var(--info-bg); } .notice--info > .icon { color: var(--teal); }
.notice--error { border-color: var(--error); background: var(--error-bg); } .notice--error > .icon { color: var(--error); }
.notice--success { border-color: var(--success); background: var(--success-bg); } .notice--success > .icon { color: var(--success); }
.notice ul { margin-block-start: .5rem; padding-inline-start: 1.25rem; list-style: disc; }
.notice a { color: inherit; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--slate); color: var(--on-dark-2); padding-block: clamp(4rem, 3rem + 4vw, 6rem) 2rem; font-size: .9375rem; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--gold-on-dark); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 3rem; } }
.site-footer__brand img { block-size: 3rem; inline-size: auto; }
.site-footer__brand > * + * { margin-block-start: 1.5rem; }
.site-footer__tagline { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-dark); max-inline-size: 18rem; line-height: 1.7; }
.site-footer__title { margin-block-end: 1.25rem; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
:lang(ar) .site-footer__tagline, :lang(ar) .site-footer__title, :lang(ar) .site-footer__motto { letter-spacing: 0; font-size: .9375rem; }
.site-footer ul { display: grid; gap: .25rem; }
.site-footer ul a { display: inline-block; padding-block: .3rem; }
.site-footer .btn--pill-gold { color: var(--gold-on-dark); }
.site-footer .btn--pill-gold:hover { color: var(--slate); text-decoration: none; }
.site-footer__contact { gap: 1rem !important; }
.site-footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold-on-dark); margin-block-start: .3em; }
.site-footer__contact a { padding-block: 0 !important; }
.site-footer__motto { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-block-start: 4rem; padding-block: 1.5rem; border-block: 1px solid rgba(214, 168, 99, .3); font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-on-dark); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block-start: 1.5rem; font-size: .8125rem; color: #A9BCC1; }
.site-footer__legal a { color: #A9BCC1; text-decoration: underline; }

/* phone action bar */
.action-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom, 0px)); background: rgba(251, 248, 242, .97); box-shadow: 0 -1px 0 var(--line), 0 -12px 24px -18px rgba(15, 47, 56, .4); }
.action-bar[hidden] { display: none; }
.action-bar .btn { min-block-size: 3rem; padding-inline: 1rem; }
@media (min-width: 48em) { .action-bar { display: none !important; } }
.has-action-bar body { padding-block-end: 4.5rem; }

/* ---------- 11. Motion ----------
   Entrances run once, as each part reaches the screen (main.js). Hover is for devices that hover.
   Everything here is switched off for people who ask for reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(2.25rem); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drop { from { opacity: 0; transform: translateY(-1rem); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(-3rem); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(1.5rem) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(var(--slide-from, -2.5rem)); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes wipe-rtl { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes hero-zoom { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (prefers-reduced-motion: no-preference) {
  [dir="rtl"] { --slide-from: 2.5rem; }
  .reveal-pending { opacity: 0; }
  .reveal-run { animation: rise 1s var(--ease-out) var(--reveal-delay, 0ms) both; }
  .reveal-run.anim-media { animation: unveil 1.2s var(--ease-in-out) var(--reveal-delay, 0ms) both; }
  .reveal-run.anim-media img { animation: settle 1.8s var(--ease-out) var(--reveal-delay, 0ms) both; }
  .reveal-run.anim-pop { animation: pop 1s var(--ease-out) var(--reveal-delay, 0ms) both; }
  .reveal-run.anim-slide { animation: slide-in .9s var(--ease-out) var(--reveal-delay, 0ms) both; }
  .reveal-run .kicker__line, .reveal-run.kicker .kicker__line { animation: grow 1s var(--ease-out) calc(var(--reveal-delay, 0ms) + 200ms) both; }
  .band .reveal-run.steps__item::before, .steps .reveal-run::before { animation: pop .8s var(--ease-out) calc(var(--reveal-delay, 0ms) + 300ms) both; }

  /* first screen */
  .site-header { animation: drop .9s var(--ease-out) both; }
  .hero__content > * { animation: rise 1.1s var(--ease-out) both; }
  .hero__content > :nth-child(1) { animation-delay: .25s; }
  .hero__content > :nth-child(2) { animation-delay: .4s; }
  .hero__content > :nth-child(3) { animation-delay: .6s; }
  .hero__content > :nth-child(4) { animation-delay: .8s; }
  .hero .kicker__line { animation: grow 1.2s var(--ease-out) .7s both; }
  .hero__media { animation: wipe 1.5s var(--ease-in-out) both; }
  [dir="rtl"] .hero__media { animation-name: wipe-rtl; }
  .hero__media img { animation: hero-zoom 2.6s var(--ease-out) both; }
  .hero__tag { animation: fade 1s 1.4s both; }
  .hero--home::after { animation: cue 2.4s var(--ease-in-out) 2s infinite; }
  .hero-reset .site-header, .hero-reset .hero *, .hero-reset .hero__media { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 63.99em) and (prefers-reduced-motion: no-preference) {
  .hero__media { animation-name: fade; }
  [dir="rtl"] .hero__media { animation-name: fade; }
}

@media print {
  .site-header, .action-bar, .nav-toggle, .hero__media, .site-footer__motto { display: none !important; }
  .hero { min-block-size: 0; padding-block: 1rem; }
  .band { background: none; color: inherit; }
  .band .h2, .band .h4 { color: var(--slate); }
}

/* ---------- 12. Additions: keyword introductions; fewer decorative lines ---------- */
.overview { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 64em) { .overview { grid-template-columns: 4fr 7fr; } }
.overview .prose { color: var(--muted); }
.features > li, .features > li:first-child { border: 0 !important; }
@media (max-width: 63.99em) { .features { row-gap: 2.5rem; } .features > li { padding-block: 0; } }
.values, .values li { border: 0 !important; background: none !important; }
.values li { padding-block: 1.5rem; }
.steps li { border-block-start: 0; }
.media--framed::before { display: none; }
.media--framed { margin: 0; }
.site-footer__motto { border-block: 0; padding-block: 1rem 0; }
.faq, .faq details { border-color: var(--line); }
.svc { border-block-start: 0; }
.next { border-block-start: 0; }

/* ---------- 13. Phone refinements ---------- */
@media (max-width: 74.99em) {
  .site-header__tools .lang { display: block; }
  .site-nav__extra { display: none !important; }
  .site-header__tools { gap: .625rem; }
}
@media (max-width: 47.99em) {
  :root { --section: 3.5rem; }
  .lang__btn { min-block-size: 2.75rem; padding-inline: .625rem; gap: .375rem; }
  .flag { inline-size: 1.5rem; }
  .lang__panel { inline-size: min(15rem, calc(100vw - 2rem)); }
  .hero__media { block-size: clamp(13rem, 32svh, 20rem); }
  .hero__inner { margin-block-start: -1.5rem; }
  .hero .kicker .kicker__line, .hero .kicker > span:last-child:not(:first-child) { display: none; }
  .hero .kicker { margin-block-end: .875rem; }
  .hero .lead { margin-block-start: 1rem; }
  .hero__actions { margin-block-start: 1.5rem; gap: .75rem; }
  .section-head { margin-block-end: 2rem; }
  .jump ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-block-end: .5rem; scrollbar-width: none; }
  .jump ul::-webkit-scrollbar { display: none; }
  .jump li { flex: none; }
  .jump a { white-space: nowrap; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:last-child { grid-column: 1 / -1; }
  .values .h4 { font-size: 1.25rem; }
  .steps { gap: 1.75rem; }
  .band__note { margin-block-start: 2rem; font-size: 1.125rem; }
  .talk__body .cluster .btn, .split__body .btn { flex: 1 1 100%; }
  .page-intro { padding-block: calc(var(--header-h) + 2.5rem) 2rem; }
}
@media (max-width: 22.5em) { .brand img { block-size: 2rem; } }
@media (max-width: 47.99em) { .action-bar .btn { font-size: .75rem; letter-spacing: .08em; padding-inline: .875rem; white-space: nowrap; } :lang(ar) .action-bar .btn { font-size: .9375rem; letter-spacing: 0; } }

/* ---------- 14. Compact contact block ---------- */
.talk { gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 64em) { .talk { grid-template-columns: 4fr 6fr; } }
.talk .media--tall .media__frame img { aspect-ratio: 4 / 3; }
.talk__body > * + * { margin-block-start: 1rem; }
.talk__body .h2 { font-size: clamp(1.75rem, 1.5rem + .9vw, 2.25rem); }
:lang(ar) .talk__body .h2 { font-size: clamp(1.5rem, 1.35rem + .6vw, 1.875rem); }
.talk__body .lead { font-size: 1rem; }
.talk__body .details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem 1.5rem; font-size: .9375rem; line-height: 1.55; }
.talk__body .details__icon { inline-size: 2.25rem; block-size: 2.25rem; }
.talk__body .details__icon .icon { inline-size: 1rem; block-size: 1rem; }
.talk__body .details strong { font-size: .6875rem; }
.talk__body .cluster { margin-block-start: 1.5rem; }
.talk__body .cluster .btn { min-block-size: 2.75rem; padding-inline: 1.25rem; font-size: .75rem; }
@media (max-width: 29.99em) { .talk__body .details { grid-template-columns: minmax(0, 1fr); } }
.talk__body .lead strong { color: var(--slate); font-weight: 600; }
.talk__body .details a, .talk__body .details span:not(.details__icon) > span { font-weight: 600; color: var(--slate); }
.talk__body .details strong { color: var(--gold-text); }

/* ---------- 15. Ivar Headline for smaller titles ---------- */
.h3, .h4, .faq summary, .tile__title, .steps__n { font-family: var(--serif-small); }
:lang(ar) .h3, :lang(ar) .h4, :lang(ar) .faq summary, :lang(ar) .tile__title { font-family: var(--arabic); }

/* ---------- 16. Circular icon badges and rounded boxes ---------- */
.features > li > .icon--gold, .values .icon--gold, .panel > .icon--gold {
  box-sizing: content-box; inline-size: 1.75rem; block-size: 1.75rem; padding: 1rem;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--white); color: var(--gold-text); stroke-width: 1.4;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.section--white .features > li > .icon--gold, .section--white .values .icon--gold { background: var(--ivory); }
@media (hover: hover) { .features > li:hover > .icon--gold, .values li:hover .icon--gold { background: var(--slate); color: var(--gold-on-dark); border-color: var(--slate); } }
.values .icon--gold { margin-block-end: .5rem; }
:root { --radius: 1rem; }
.tile, .media__frame, .panel, .plan, .form, .values, .note, .notice, .duo2__item { border-radius: var(--radius); }
.tile, .media__frame { overflow: hidden; isolation: isolate; }
.media__tag, .hero__tag { border-radius: .375rem; }
.tile .media__tag { inset-inline-start: .75rem; }
.talk .media__frame, .split .media__frame, .svc .media__frame { border-radius: calc(var(--radius) * 1.25); }
.plan--featured { box-shadow: 0 0 0 1px var(--gold), 0 24px 40px -30px rgba(15, 47, 56, .45); }
/* every photograph sits in a rounded box; on phones the top photo too */
img { border-radius: inherit; }
@media (max-width: 63.99em) { .hero__media { margin: .75rem var(--gutter) 0; inline-size: auto; border-radius: var(--radius); overflow: hidden; } .hero__tag { inset-inline-end: calc(var(--gutter) + .75rem); } }

/* ---------- 17. Each feature in its own rounded card ---------- */
.features { gap: 1rem; }
.features > li, .features > li:first-child {
  padding: 1.75rem 1.5rem !important; background: var(--white); border: 1px solid var(--gold-line) !important;
  border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 47, 56, .04);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.section--white .features > li { background: var(--ivory); }
.features > li > .icon--gold { background: var(--ivory); margin-block-end: .25rem; }
.section--white .features > li > .icon--gold { background: var(--white); }
@media (min-width: 64em) { .features--5 .h4 { min-block-size: 2.5em; } :lang(ar) .features--5 .h4 { min-block-size: 0; } }
@media (hover: hover) { .features > li:hover { transform: translateY(-.35rem); border-color: var(--gold) !important; box-shadow: 0 22px 40px -26px rgba(15, 47, 56, .4); } .features > li:hover > .icon--gold { transform: none; } }
@media (min-width: 64em) { .features--5 { gap: 1rem; } }
@media (max-width: 63.99em) { .features { row-gap: 1rem; } }

/* ---------- 18. Closing strip on inner pages ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem) clamp(1.25rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius); }
.section--white .strip { background: var(--ivory); }
.strip__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 500; line-height: 1.25; color: var(--slate); max-inline-size: 34rem; }
:lang(ar) .strip__title { font-family: var(--arabic); font-weight: 700; font-size: 1.375rem; line-height: 1.5; }
.strip .btn { min-block-size: 2.875rem; }
@media (max-width: 47.99em) { .strip .cluster, .strip .btn { inline-size: 100%; } }

/* ---------- 19. Rounded (pill) buttons, matching the header button ---------- */
.btn { border-radius: 999px; padding-inline: 1.75rem; }
.choice, .input, .textarea, .select select { border-radius: .625rem; }
.jump a { border-radius: 999px; }

/* ---------- 20. Process steps as light cards on the dark band ---------- */
.band .steps { gap: 1rem; }
.band .steps li { padding: 1.75rem 1.5rem; background: var(--ivory); border: 0; border-radius: var(--radius); color: var(--text); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .45); transition: transform .5s var(--ease-out); }
.band .steps li::before { display: none; }
.band .steps__n { color: var(--gold-text); font-size: 2.25rem; }
.band .steps .h4 { color: var(--slate); }
.band .steps p { color: var(--muted); }
@media (hover: hover) { .band .steps li:hover { transform: translateY(-.35rem); } }

/* ---------- 21. Thick gold ring on the owner/tenant cards when pointed at or focused ---------- */
.tile { position: relative; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--gold); pointer-events: none; transition: box-shadow .35s var(--ease-out); }
.tile:focus-visible { outline: none; }
.tile:focus-visible::after { box-shadow: inset 0 0 0 5px var(--gold); }
@media (hover: hover) { .tile:hover::after { box-shadow: inset 0 0 0 5px var(--gold); } }
/* hover ring in the site's dark green, drawn just outside the card; a thin ivory gap keeps it distinct from the dark photo edge */
.tile::after { display: none; }
.tile { transition: box-shadow .35s var(--ease-out); }
.tile:focus-visible { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 8px var(--slate); }
@media (hover: hover) { .tile:hover { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 8px var(--slate); } }


/* ==========================================================================
   22. Typography: Italiana (hero headings), Bodoni Moda (headings), Manrope (text)
   Only type is set here: fonts, sizes, weights, spacing and line height.
   ========================================================================== */
body { font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.75; }
.lead { font-size: clamp(1.0625rem, 1rem + .25vw, 1.125rem); line-height: 1.7; }

/* Hero headings: Italiana in capitals, lightly tracked */
.display, .hero .h1, .page-intro .h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .045em; line-height: 1.08; font-kerning: normal;
}
.display { font-size: clamp(2.5rem, 1.45rem + 4.3vw, 5.5rem); }                 /* 40 → 88 */
.hero .h1, .page-intro .h1 { font-size: clamp(2.25rem, 1.45rem + 3.2vw, 4.25rem); } /* 36 → 68 */
@media (min-width: 64em) { .display { font-size: clamp(4.25rem, 2.2rem + 3.3vw, 5.5rem); } }

/* Section headings and titles: Bodoni Moda 400 */
.h2, .h3, .h4, .faq summary, .tile__title, .steps__n, .strip__title, .svc__n, .band__note, .next li::before {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
}
.h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); line-height: 1.14; letter-spacing: -.01em; }  /* 32 → 52 */
.h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.22; letter-spacing: -.005em; }   /* 24 → 32 */
.h4 { font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); line-height: 1.25; }                       /* 22 → 26 */
.svc .h2 { font-size: clamp(1.75rem, 1.55rem + .8vw, 2.25rem); }
.tile__title { font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.625rem); line-height: 1.12; }
.faq summary { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.35; }
.strip__title { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.875rem); }
.steps__n, .band .steps__n { font-size: 2.125rem; font-weight: 400; }
.band__note { font-style: italic; font-size: 1.125rem; }
.site-nav__list a { font-family: var(--sans); }
@media (max-width: 74.99em) { .site-nav__list a { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; } }

/* Manrope: navigation, buttons, labels */
.site-nav__list a { font-size: .875rem; font-weight: 500; letter-spacing: .01em; }
.btn, .btn--pill { font-weight: 500; font-size: .8125rem; letter-spacing: .12em; }
.kicker, .text-link, .tile__who, .tile__cta, .plan__who, .details strong, .site-footer__title, .site-footer__tagline, .site-footer__motto, .jump a, .media__tag, .hero__tag { font-weight: 500; }
.kicker, .tile__who, .plan__who, .site-footer__title { font-size: .75rem; letter-spacing: .2em; }
.field__label, .lang__btn, .lang__title { font-weight: 600; }
strong, b { font-weight: 600; }

/* Arabic: Cairo throughout, no capitals or tracking */
:lang(ar) body { font-family: var(--arabic); }
:lang(ar) .display, :lang(ar) .hero .h1, :lang(ar) .page-intro .h1 { font-family: var(--arabic); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.35; }
:lang(ar) .display { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); }
:lang(ar) .hero .h1, :lang(ar) .page-intro .h1 { font-size: clamp(1.875rem, 1.45rem + 1.8vw, 3rem); }
:lang(ar) .h2, :lang(ar) .h3, :lang(ar) .h4, :lang(ar) .faq summary, :lang(ar) .tile__title, :lang(ar) .strip__title, :lang(ar) .band__note { font-family: var(--arabic); font-style: normal; letter-spacing: 0; }
:lang(ar) .h2 { font-weight: 700; } :lang(ar) .h3, :lang(ar) .h4, :lang(ar) .tile__title, :lang(ar) .strip__title { font-weight: 600; }
:lang(ar) .btn, :lang(ar) .kicker, :lang(ar) .site-nav__list a { letter-spacing: 0; }
:lang(ar) .site-nav__list a { font-family: var(--arabic); }
:lang(ar) .site-nav__list a { font-size: .9375rem; }
@media (min-width: 64em) { .hero--home .hero__content { max-inline-size: 46rem; } }


/* ---------- 23. Service card headings: Newsreader SemiBold for clear, sturdy serif letterforms ---------- */
:root { --card-serif: "Newsreader", Georgia, "Times New Roman", serif; }
.features .h4 {
  font-family: var(--card-serif); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(1.375rem, 1.3rem + .3vw, 1.625rem);   /* 22 on phones → 26 on desktop */
  line-height: 1.18; letter-spacing: -.01em; color: #0F2F38;
  text-transform: none; text-wrap: balance; overflow-wrap: normal; hyphens: manual;
  margin-block: .25rem .125rem;
}
.features > li { gap: 1rem; }
.features p { line-height: 1.65; }
.features .text-link { margin-block-start: auto; padding-block-start: .75rem; }
:lang(ar) .features .h4 { font-family: var(--arabic); font-weight: 600; letter-spacing: 0; line-height: 1.5; }
/* Section headings in Bodoni Moda Medium */
.h2 { font-weight: 500; }

/* ---------- 24. Less white: fuller hero photograph, warm sand for alternate sections ---------- */
:root { --sand: #F1E9DC; }            /* slate text on sand 12.0:1; muted text 5.4:1 */
@media (min-width: 64em) {
  .hero__media { inline-size: 100%; }
  .hero__media::after { background: linear-gradient(90deg, rgba(251, 248, 242, .94) 0%, rgba(251, 248, 242, .86) 34%, rgba(251, 248, 242, .5) 54%, rgba(251, 248, 242, 0) 72%); }
  [dir="rtl"] .hero__media::after { background: linear-gradient(270deg, rgba(251, 248, 242, .94) 0%, rgba(251, 248, 242, .86) 34%, rgba(251, 248, 242, .5) 54%, rgba(251, 248, 242, 0) 72%); }
}
.section--white { background: var(--sand); }
.section--white .features > li, .section--white .panel, .section--white .plan, .section--white .strip, .section--white .form { background: var(--white); }
.section--white .values .icon--gold, .section--white .features > li > .icon--gold { background: var(--ivory); }
.page-intro { background: var(--sand); }

/* ==========================================================================
   25. Colour roles, from the brand identity board
   Deep Teal #0E6B85 = every action (buttons, links, active menu, icons).
   Deep Slate #0F2F38 = text and dark bands. Champagne #D6A863 = thin lines and accents on dark.
   Warm Ivory #FBF5EC = page; white = cards. Nothing else.
   ========================================================================== */
:root {
  --ivory: #FBF5EC;
  --teal: #0E6B85;          /* white on teal 6.1:1; teal on ivory 5.6:1 */
  --teal-dark: #0B566B;     /* hover: white 8.2:1 */
  --slate: #0F2F38;
  --champagne: #D6A863;     /* on slate 6.5:1 */
  --gold: #D6A863;
  --gold-line: #E9DCC4;
  --gold-text: #0E6B85;     /* small labels on light backgrounds are now teal */
  --sand: #FBF5EC;
}
body { background: var(--ivory); }
.section--white, .page-intro { background: var(--ivory); }
.section--white .features > li, .section--white .panel, .section--white .plan, .section--white .strip, .section--white .form { background: var(--white); }

/* actions: Deep Teal */
.btn--solid, .btn--pill { background: var(--teal); color: var(--white); }
.btn--solid:hover, .btn--pill:hover { background: var(--teal-dark); color: var(--white); }
.btn--outline { border-color: var(--teal); color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.text-link { color: var(--teal); border-block-end-color: var(--teal); }
.text-link:hover { color: var(--teal-dark); }
.site-nav__list a[aria-current="page"] { color: var(--teal); }
.site-nav__list a::after { background: var(--teal); }
.icon--gold, .list .icon, .details li > .icon, .details__icon, .note .icon, .choice .icon, .lang .icon { color: var(--teal); }
.features > li > .icon--gold, .values .icon--gold, .panel > .icon--gold { border-color: rgba(14, 107, 133, .35); color: var(--teal); }
.kicker__line, .rowhead__line { background: var(--champagne); }
.features > li, .panel, .plan, .strip, .form { border-color: var(--gold-line) !important; }
.action-bar .btn--solid { background: var(--teal); }
.faq summary .icon { color: var(--teal); }
.prose a, .faq__answer a, .form__foot a { color: var(--teal); }

/* dark sections: Deep Slate with a teal glow; Champagne accents */
.band { background: var(--slate); color: var(--on-dark-2); }
.band::before { background: radial-gradient(60rem 30rem at 85% -10%, rgba(14, 107, 133, .55), transparent 60%), radial-gradient(40rem 24rem at 0% 110%, rgba(214, 168, 99, .10), transparent 60%); }
.band .kicker, .band .rowhead__label { color: var(--champagne); }
.band .h2, .band .h3 { color: var(--white); }
.band .steps__n { color: var(--teal); }
.band .tile { box-shadow: none; }
@media (hover: hover) { .band .tile:hover { box-shadow: 0 0 0 3px var(--slate), 0 0 0 8px var(--champagne); } }
.site-footer { background: var(--slate); }
.site-footer .btn--pill-gold { border-color: var(--champagne); color: var(--champagne); background: transparent; }
.site-footer .btn--pill-gold:hover { background: var(--champagne); color: var(--slate); }

/* closing strip on inner pages: Deep Teal */
.strip { background: var(--teal) !important; border: 0 !important; }
.strip__title { color: var(--white); }
.strip .btn--solid { background: var(--champagne); color: var(--slate); }
.strip .btn--solid:hover { background: var(--white); color: var(--slate); }
.strip .btn--outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.strip .btn--outline:hover { background: var(--white); color: var(--teal); }
.strip .btn--outline .icon { color: currentColor; }

/* hero: the photograph under a Deep Slate → Deep Teal wash, white headline, champagne accents */
.hero { background: var(--slate); color: var(--white); }
.hero__media::after, [dir="rtl"] .hero__media::after {
  background: linear-gradient(90deg, rgba(15, 47, 56, .94) 0%, rgba(15, 47, 56, .86) 32%, rgba(14, 107, 133, .55) 58%, rgba(14, 107, 133, .2) 80%, rgba(15, 47, 56, .25) 100%);
}
[dir="rtl"] .hero__media::after { background: linear-gradient(270deg, rgba(15, 47, 56, .94) 0%, rgba(15, 47, 56, .86) 32%, rgba(14, 107, 133, .55) 58%, rgba(14, 107, 133, .2) 80%, rgba(15, 47, 56, .25) 100%); }
.hero .display, .hero .h1 { color: var(--white); }
.hero .lead { color: #E3ECEE; }
.hero .kicker { color: var(--champagne); }
.hero .btn--solid { background: var(--champagne); color: var(--slate); }
.hero .btn--solid:hover { background: var(--white); color: var(--slate); }
.hero .btn--outline { border-color: rgba(255, 255, 255, .75); color: var(--white); background: transparent; }
.hero .btn--outline:hover { background: var(--white); color: var(--slate); }
.hero .text-link { color: var(--white); border-block-end-color: var(--champagne); }
.hero--home::after { background: linear-gradient(var(--champagne), transparent); }
@media (max-width: 63.99em) {
  .hero__media::after, [dir="rtl"] .hero__media::after { background: linear-gradient(180deg, rgba(15, 47, 56, .15) 40%, var(--slate) 100%); }
}

/* header: transparent over the dark hero (white logo and menu), solid white once the page scrolls */
.brand__light { display: none; }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) { background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .brand__dark { display: none; }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .brand__light { display: block; }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-nav__list a { color: var(--white); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-nav__list a[aria-current="page"] { color: var(--champagne); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-nav__list a::after { background: var(--champagne); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .btn--pill { background: var(--champagne); color: var(--slate); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .nav-toggle { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: var(--white); }
.site-header.is-scrolled, .site-header.is-menu-open, .site-header:not(.site-header--over-hero) { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--gold-line), 0 10px 30px -18px rgba(15, 47, 56, .3); }
.site-header.is-scrolled, .site-header.is-menu-open { background: #FFFFFF !important; backdrop-filter: none !important; }
.site-header { transition: background-color .35s, box-shadow .35s; }

/* ---------- 26. Language switch without a box: flag, code and arrow only ---------- */
.lang__btn { background: transparent; border: 0; box-shadow: none; padding-inline: .375rem; min-block-size: 2.75rem; border-radius: .5rem; color: var(--slate); }
.lang__btn:hover { background: transparent; border: 0; color: var(--teal); }
.lang[open] .lang__btn { border: 0; box-shadow: none; }
.lang__btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .lang__btn { color: var(--white); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .lang__btn:hover { color: var(--champagne); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .lang__btn:focus-visible { outline-color: var(--champagne); }
.lang__chev { inline-size: 1rem; block-size: 1rem; }

/* ---------- 27. Footer: the same Deep Slate → Deep Teal glow as the hero and dark bands ---------- */
.site-footer {
  position: relative; isolation: isolate;
  background:
    radial-gradient(55rem 26rem at 88% 0%, rgba(14, 107, 133, .42), transparent 62%),
    radial-gradient(36rem 20rem at 0% 100%, rgba(214, 168, 99, .08), transparent 60%),
    linear-gradient(180deg, #0F2F38 0%, #0C3540 100%);
}

/* ---------- 28. Scrolled header: frosted, partly see-through white ---------- */
.site-header.is-scrolled { background: rgba(255, 255, 255, .80) !important; box-shadow: 0 1px 0 rgba(15, 47, 56, .08), 0 10px 30px -18px rgba(15, 47, 56, .3); }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header.is-scrolled { -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%) !important; }
}
@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header.is-scrolled { background: rgba(255, 255, 255, .95) !important; }
}
.site-header.is-menu-open { background: #FFFFFF !important; }

/* ==========================================================================
   29. Critique fixes
   ========================================================================== */
/* 1. A dark band across the top of every top photograph, so the white menu is always readable */
.hero__media::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 11rem; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 47, 56, .78) 0%, rgba(15, 47, 56, .45) 55%, rgba(15, 47, 56, 0) 100%); }
@media (max-width: 63.99em) { .hero__media::before { display: none; } }

/* 2. Calmer headlines: about 72px on Home (4 lines), up to 56px on other pages (3 lines) */
.display { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); }
@media (min-width: 64em) { .display { font-size: clamp(3.75rem, 2rem + 2.6vw, 4.5rem); } }
.hero .h1, .page-intro .h1 { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.5rem); }
.hero .h1 + .lead, .hero .display + .lead { margin-block-start: 1.25rem; }
.hero__content { max-inline-size: 44rem; }

/* Two serifs for titles: Bodoni Moda for section headings, Newsreader for every card and step title */
.h4, .steps .h4, .band .steps .h4, .values .h4, .panel .h3, .plan .h3, .caption-card .h4 {
  font-family: var(--card-serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
}
.steps .h4 { font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem); }
.values .h4 { font-size: 1.25rem; }
.steps__n, .band .steps__n { font-family: var(--card-serif); font-weight: 600; }
:lang(ar) .h4, :lang(ar) .steps .h4, :lang(ar) .values .h4, :lang(ar) .panel .h3, :lang(ar) .plan .h3 { font-family: var(--arabic); }

/* Bigger "Learn more" links and tap areas */
.text-link { font-size: .8125rem; min-block-size: 2.75rem; }
.details a, .site-footer__contact a { display: inline-block; padding-block: .5rem; margin-block: -.5rem; }

/* Shorter service rows on phones: the paragraph and link stay, the bullet list is hidden */
@media (max-width: 47.99em) { .svc .list { display: none; } .svc { padding-block: 2.25rem; gap: 1.5rem; } }

/* ---------- 30. Softer, less bright light areas ----------
   Page: warm stone #EEE7DB (slate text 11.5:1, body 7.8:1, grey 5.2:1, teal links 4.9:1).
   Cards and form: soft ivory #F7F2EA instead of pure white. */
:root { --ivory: #EEE7DB; --card: #F7F2EA; --white-soft: #F7F2EA; --gold-line: #DED2BE; }
body, .section, .section--white, .page-intro { background-color: var(--ivory); }
.band { background-color: var(--slate); }
.features > li, .features > li:first-child, .panel, .plan, .form, .section--white .features > li, .section--white .panel, .section--white .plan, .section--white .form,
.duo2__item, .caption-card, .lang__panel, .input, .textarea, .select select, .choice { background: var(--card) !important; }
.band .steps li { background: var(--card); }
.features > li > .icon--gold, .values .icon--gold, .panel > .icon--gold, .section--white .values .icon--gold, .section--white .features > li > .icon--gold { background: var(--ivory); }
.site-header:not(.site-header--over-hero), .site-header.is-scrolled { background: rgba(238, 231, 219, .84) !important; }
.site-header.is-menu-open { background: var(--ivory); }
@media (max-width: 74.99em) { .site-nav { background: var(--ivory); } }
@media (min-width: 75em) { .site-nav { background: transparent !important; } }
.action-bar { background: rgba(238, 231, 219, .97); }
@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) { .site-header.is-scrolled { background: rgba(238, 231, 219, .97) !important; } }
.nav-toggle { background: var(--card); border-color: var(--gold-line); }
.input, .textarea, .select select, .choice { background: #FBF8F3 !important; }

/* ---------- 31. Clear separation between light sections ----------
   Light sections alternate: warm stone #EEE7DB and soft ivory #F7F2EA (assigned automatically at build time). */
.section--alt { background-color: #F7F2EA !important; }
.section--alt .features > li, .section--alt .panel, .section--alt .plan, .section--alt .form, .section--alt .duo2__item { background: #EEE7DB !important; }
.section--alt .features > li > .icon--gold, .section--alt .values .icon--gold { background: #F7F2EA; }
.section--alt .input, .section--alt .textarea, .section--alt .select select, .section--alt .choice { background: #F7F2EA !important; }
.section:not(.band) + .section:not(.band) { box-shadow: inset 0 1px 0 rgba(14, 107, 133, .10); }

/* ---------- 31. Neighbouring sections in two tones ----------
   tone-a: warm stone #EEE7DB. tone-b: lighter ivory #F6F1E8 (teal 5.3:1, grey 5.6:1). Hairline between them. */
.section.tone-a { background-color: #EEE7DB !important; }
.section.tone-b { background-color: #F6F1E8 !important; }
.section.tone-a + .section.tone-b, .section.tone-b + .section.tone-a { border-block-start: 1px solid var(--gold-line); }
.tone-b .features > li, .tone-b .panel, .tone-b .plan, .tone-b .form, .tone-b .duo2__item { background: #FCFAF6 !important; }
.tone-b .features > li > .icon--gold, .tone-b .values .icon--gold { background: #F6F1E8; }

/* ---------- 32. Card hover: a clear brand colour change ----------
   The icon circle fills with Deep Teal and the icon turns white; the card lifts with a champagne border;
   the title and "Learn more" turn teal. The same change applies to the values row. */
.features > li, .values li { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s, background-color .3s; }
.features > li > .icon--gold, .values .icon--gold { transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--ease-out); }
@media (hover: hover) {
  .features > li:hover { transform: translateY(-.35rem); border-color: var(--champagne) !important; background: #FCFAF6 !important; box-shadow: 0 22px 40px -26px rgba(15, 47, 56, .45); }
  .features > li:hover > .icon--gold, .values li:hover .icon--gold { background: var(--teal) !important; border-color: var(--teal) !important; color: var(--white) !important; transform: none; }
  .features > li:hover .h4 { color: var(--teal); }
  .features > li:hover .text-link { color: var(--teal-dark); border-block-end-color: var(--champagne); }
  .values li:hover .values__title, .values li:hover .h4 { color: var(--teal); }
}
.features > li:focus-within { border-color: var(--champagne) !important; }
.features > li:focus-within > .icon--gold { background: var(--teal) !important; border-color: var(--teal) !important; color: var(--white) !important; }

/* ---------- 33. Critique round 3 ---------- */
/* Photo labels replaced by one line in the footer */
.media__tag, .hero__tag { display: none !important; }
/* One card colour on every background */
.features > li, .features > li:first-child, .panel, .plan, .form, .duo2__item,
.tone-a .features > li, .tone-b .features > li, .tone-a .panel, .tone-b .panel, .tone-a .plan, .tone-b .plan, .tone-a .form, .tone-b .form { background: #FCFAF6 !important; }
/* Larger small text */
.steps p, .band .steps p { font-size: .875rem; line-height: 1.6; }
.values p { font-size: .8125rem; letter-spacing: .14em; }
.kicker, .rowhead__label { font-size: .8125rem; letter-spacing: .16em; }
.band__note { font-family: var(--sans); font-style: normal; font-size: 1rem; }
/* Service quick links: clearer */
.jump a { font-size: .8125rem; border-color: var(--gold-line); background: #FCFAF6; color: var(--teal); }
.jump a:hover { border-color: var(--teal); color: var(--teal-dark); }
/* Shorter footer on phones: two link columns side by side, no duplicate button (the call bar is on screen) */
@media (max-width: 39.99em) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .site-footer__brand, .site-footer__grid > div:last-child { grid-column: 1 / -1; }
  .site-footer__brand .btn--pill-gold { display: none; }
  .site-footer__legal { flex-direction: column; }
}

/* ---------- 34. Selected icon: the original deep green circle with a champagne-gold icon, on every icon ---------- */
@media (hover: hover) {
  .features > li:hover > .icon--gold, .values li:hover .icon--gold, .panel:hover > .icon--gold, .duo2__item:hover .icon--gold {
    background: var(--slate) !important; border-color: var(--slate) !important; color: var(--champagne) !important;
  }
  .features > li:hover .h4, .values li:hover .h4 { color: var(--slate); }
}
.features > li:focus-within > .icon--gold, .duo2__item:focus-visible .icon--gold { background: var(--slate) !important; border-color: var(--slate) !important; color: var(--champagne) !important; }

/* ---------- 35. Footer contact: icons aligned with the first line of each item ---------- */
.site-footer__contact { display: grid; gap: .875rem !important; }
.site-footer__contact li { display: grid !important; grid-template-columns: 1.25rem 1fr; column-gap: .875rem; align-items: start; line-height: 1.6; }
.site-footer__contact li > .icon { inline-size: 1.125rem; block-size: 1.125rem; margin: 0 !important; margin-block-start: .2rem !important; justify-self: center; }
.site-footer__contact a { display: inline-block; padding-block: 0 !important; margin-block: 0 !important; line-height: 1.6; min-block-size: 0; }

/* ---------- 36. Version 3: service pages ---------- */
.svc-scope { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64em) { .svc-scope { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.svc-scope .h2 { margin-block: 1rem 1.5rem; }
.scope-list { display: grid; gap: 1rem; }
@media (min-width: 40em) { .scope-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scope-list li { display: flex; gap: .875rem; align-items: flex-start; padding: 1.25rem; background: #FCFAF6; border: 1px solid var(--gold-line); border-radius: var(--radius); }
.scope-list .icon { color: var(--teal); margin-block-start: .2rem; stroke-width: 2; }
.scope-list strong { display: block; font-family: var(--card-serif); font-weight: 600; font-size: 1.125rem; color: var(--slate); margin-block-end: .25rem; }
:lang(ar) .scope-list strong { font-family: var(--arabic); }
.scope-list span { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.resp { display: grid; gap: 1rem; }
@media (min-width: 48em) { .resp { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.resp .panel p { color: var(--muted); }
.prose a, .split__body a:not(.text-link):not(.btn) { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; }
.hero__note { margin-block-start: 1.25rem; font-size: .9375rem; color: #E3ECEE; }
.hero__note a { color: var(--champagne); text-decoration: underline; text-underline-offset: .2em; }
.svc__body .cluster { gap: .5rem 1.5rem; }
.section-head .lead a, .contact__info .small a { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; }

/* 37. Our Services dropdown in the header (v3.1) */
.site-nav__list .has-sub { position: relative; }
.site-nav__list .has-sub > a { display: inline-flex; align-items: center; gap: .35rem; }
.caret { inline-size: .75rem; block-size: .75rem; flex: none; transition: transform .25s var(--ease-out); }
.site-nav__sub { position: absolute; inset-block-start: 100%; inset-inline-start: -1.25rem; z-index: 60; min-inline-size: 16rem; margin-block-start: .5rem; padding: .5rem; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 24px 40px -24px rgba(15, 47, 56, .35); opacity: 0; visibility: hidden; transform: translateY(-.375rem); transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s linear .25s; }
.site-nav__sub::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 100%; block-size: .75rem; }
.has-sub:hover > .site-nav__sub, .has-sub:focus-within > .site-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.site-header .site-nav__list .site-nav__sub a,
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-nav__list .site-nav__sub a { display: block; padding: .625rem .875rem; border-radius: .625rem; font-family: var(--sans); font-size: .9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--slate); white-space: nowrap; border: 0; }
:lang(ar) .site-header .site-nav__list .site-nav__sub a { font-family: var(--arabic); }
.site-nav__list .site-nav__sub a::after { display: none; }
.site-nav__list .site-nav__sub a:hover, .site-nav__list .site-nav__sub a:focus-visible { background: rgba(15, 76, 74, .08); color: var(--teal); }
.site-header .site-nav__list .site-nav__sub a[aria-current="page"] { color: var(--teal); background: rgba(15, 76, 74, .06); }
.site-nav__list .has-sub.is-current > a::after { transform: scaleX(1); }
@media (max-width: 74.99em) {
  .caret { display: none; }
  .site-nav__list .has-sub > a { display: block; }
  .site-nav__sub { position: static; min-inline-size: 0; margin: 0 0 .5rem; padding: .25rem 0 .5rem; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .site-nav__sub::before { display: none; }
  .site-header .site-nav__list .site-nav__sub a { padding: .625rem 0 .625rem 1rem; border-inline-start: 2px solid var(--line); border-radius: 0; font-size: .875rem; color: var(--slate); }
  [dir="rtl"] .site-header .site-nav__list .site-nav__sub a { padding: .625rem 1rem .625rem 0; }
  .site-header .site-nav__list .site-nav__sub a[aria-current="page"] { border-inline-start-color: var(--teal); background: none; }
}
.site-nav__group { display: inline-flex; align-items: center; gap: .35rem; position: relative; padding: .5rem 0; border: 0; background: none; cursor: pointer; font: inherit; font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
:lang(ar) .site-nav__group { font-family: var(--arabic); font-size: .9375rem; letter-spacing: 0; text-transform: none; }
.site-nav__group::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 1px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
.site-nav__group:hover::after, .has-sub.is-current > .site-nav__group::after { transform: scaleX(1); }
.has-sub.is-current > .site-nav__group { color: var(--teal); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-nav__group { color: var(--white); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-nav__group::after { background: var(--champagne); }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .has-sub.is-current > .site-nav__group { color: var(--champagne); }
.has-sub.is-open > .site-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub.is-open .caret { transform: rotate(180deg); }
.has-sub.is-dismissed > .site-nav__sub { opacity: 0 !important; visibility: hidden !important; }
.site-nav__group:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 74.99em) {
  .site-nav__group { display: block; inline-size: 100%; text-align: start; padding-block: 1rem; cursor: default; pointer-events: none; border-block-end: 1px solid var(--line); text-transform: none; font-size: .875rem; }
  .site-nav__group::after { display: none; }
}
@media (max-width: 74.99em) {
  .site-nav__group { font-family: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif; font-size: .875rem; font-weight: 500; letter-spacing: .01em; }
  :lang(ar) .site-nav__group { font-family: var(--arabic); font-size: .9375rem; letter-spacing: 0; }
}

/* 38. Purpose line in the Why section */
.purpose { margin-block-start: 1.25rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--gold); font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; color: var(--teal); }
:lang(ar) .purpose { font-family: var(--arabic); font-size: 1.125rem; font-weight: 600; }
.site-header--over-hero:not(.is-scrolled):not(.is-menu-open) .site-header__tools .lang__btn .icon { color: var(--white); }

/* 39. Plan cards: no fixed featured card; the card under the pointer (or keyboard focus) lifts */
.plan { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s ease; }
.plan:hover, .plan:focus-within { border-color: var(--gold) !important; box-shadow: 0 0 0 1px var(--gold), 0 28px 44px -30px rgba(15, 47, 56, .5); transform: translateY(-4px); }
.plan:hover .btn--outline, .plan:focus-within .btn--outline { background: var(--teal); border-color: var(--teal); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .plan, .plan:hover, .plan:focus-within { transform: none; transition: none; } }

/* 40. Belief statement sections (services, tenants) */
.belief .section-head { margin-block-end: 0; }
.belief .lead { font-size: clamp(1.0625rem, 1vw + .8rem, 1.25rem); max-inline-size: 40rem; margin-inline: auto; }

/* 41. Footer: the Asia Gate "A" mark as a faint watermark */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer::after { content: ""; position: absolute; z-index: -1; inset-block-end: -2.5rem; inset-inline-end: -1.5rem; inline-size: clamp(13rem, 24vw, 22rem); aspect-ratio: 296 / 316; background: url("../assets/brand/a-mark-white.png") no-repeat center / contain; opacity: .06; pointer-events: none; }

/* 42. FAQ page and footer legal links */
.faq-group + .faq-group { margin-block-start: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.faq-group > .h3 { margin-block-end: 1rem; color: var(--teal); }
.page-intro .jump { margin-block-start: 1.75rem; }
.faq-note { margin-block-start: 2.5rem; color: var(--muted, inherit); }
.site-footer__links { display: inline-flex; flex-wrap: wrap; gap: 1.5rem; }

/* 43. FAQ page: compact */
.page-intro--faq { padding-block: calc(var(--header-h) + 2.25rem) 1.75rem; }
.page-intro--faq .h1 { font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem); max-inline-size: 26ch; }
.page-intro--faq .lead { margin-block-start: .75rem; max-inline-size: 46rem; }
.page-intro--faq .jump { margin-block-start: 1.25rem; }
.page-intro--faq .jump ul { justify-content: flex-start; }
.section.section--faq { padding-block: 2.25rem 2.75rem; }
.faq-groups { display: grid; gap: 1.75rem 3.5rem; }
@media (min-width: 64em) { .faq-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.faq-groups .faq-group + .faq-group { margin-block-start: 0; }
.faq-groups .faq-group > .h3 { margin-block-end: .25rem; font-size: 1.375rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.section--faq .faq summary { padding-block: .8rem; font-size: 1.0625rem; gap: 1rem; }
:lang(ar) .section--faq .faq summary { font-size: 1rem; }
.section--faq .faq summary .icon { inline-size: 1rem; block-size: 1rem; }
.section--faq .faq__answer p { margin-block: 0 .9rem; font-size: .9375rem; }
.section--faq .faq-note { margin-block-start: 1.75rem; font-size: .8125rem; }
.section--faq + .section { padding-block: 2.5rem; }

/* 44. Critique fixes: compact phone grids, label size, footer tap size */
.hero__tag, .media__tag { font-size: .75rem; }
.site-footer__links a { display: inline-block; padding-block: .375rem; }
.site-footer__tagline { text-transform: none; letter-spacing: 0; font-size: .9375rem; line-height: 1.5; max-inline-size: 22rem; }
.about-purpose { margin-block: 0; }
@media (max-width: 39.99em) {
  .features--4 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .features--4 > li { padding: 1.125rem !important; }
  .features--4 > li .icon { inline-size: 1.125rem; block-size: 1.125rem; }
  .features--4 > li .h4 { font-size: 1.0625rem; margin-block: .5rem .25rem; }
  .features--4 > li p { font-size: .875rem; line-height: 1.5; }
  .steps { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .steps > li { padding: 1rem !important; }
  .steps > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps .steps__n { font-size: 1.5rem; }
  .steps .h4 { font-size: 1rem; }
  .steps p { font-size: .8125rem; }
}
.values p { text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: .875rem !important; line-height: 1.5; color: var(--slate); max-inline-size: 15rem; margin-inline: auto; }

/* 45. Owners: example financial statement card */
.statement { margin: 0; padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius); box-shadow: 0 30px 50px -36px rgba(15, 47, 56, .45); max-inline-size: 30rem; justify-self: center; inline-size: 100%; }
.statement__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 1.375rem; color: var(--slate); }
:lang(ar) .statement__head { font-family: var(--arabic); font-weight: 600; font-size: 1.125rem; }
.statement__tag { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); border-radius: 999px; padding: .2rem .6rem; }
:lang(ar) .statement__tag { font-family: var(--arabic); letter-spacing: 0; }
.statement__prop { margin: .35rem 0 1.25rem; font-size: .875rem; color: var(--muted, #5c6b6a); }
.statement__rows { margin: 0; }
.statement__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .7rem; border-block-start: 1px solid var(--line); font-size: .9375rem; }
.statement__rows dt { color: var(--slate); }
.statement__rows dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--slate); white-space: nowrap; }
.statement__total { border-block-start: 2px solid var(--gold) !important; font-weight: 600; }
.statement__total dd { color: var(--teal); }
.statement__note { margin: .75rem 0 0; font-size: .75rem; color: var(--muted, #5c6b6a); }
#financial-reporting { scroll-margin-top: var(--header-h); }

/* 46. Space between a section heading and the text under it */
.h2 + .prose { margin-block-start: 1.5rem; }
.prose > p + p { margin-block-start: 1rem; }

/* 47. Text links: one line only (the underline under the words), never a second border line beneath */
.text-link, .prose .text-link, .split__body .text-link, .hero .text-link, .features > li:hover .text-link { border-block-end: 0 !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; text-decoration-color: var(--gold); }
.hero .text-link { text-decoration-color: var(--champagne); }
.text-link .icon--arrow { text-decoration: none; }

/* 48. Contact details: the same icon hover as the home page (deep green circle, champagne icon) */
.details__icon { transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .4s var(--ease-out); }
@media (hover: hover) {
  .details li:hover .details__icon { background: var(--slate); border-color: var(--slate); color: var(--champagne); transform: translateY(-2px); }
}
.details li:focus-within .details__icon { background: var(--slate); border-color: var(--slate); color: var(--champagne); }
@media (prefers-reduced-motion: reduce) { .details__icon { transition: none; } .details li:hover .details__icon { transform: none; } }

/* 49. Compact layout: less vertical space between and inside sections, shorter shapes */
:root { --section: clamp(3rem, 2rem + 3vw, 5rem); }
@media (max-width: 47.99em) { :root { --section: 2.75rem; } }
.section-head { margin-block-end: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.hero { min-block-size: min(64svh, 40rem); padding-block: calc(var(--header-h) + 2.25rem) 3rem; }
.hero--home { min-block-size: min(88svh, 50rem); }
.svc { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 64em) { .svc { gap: 4rem; } }
.features > li { padding: clamp(1.25rem, 1rem + .8vw, 1.75rem) !important; gap: .75rem; }
.panel { padding: clamp(1.25rem, 1rem + 1vw, 2rem); gap: 1rem; }
.plan { padding: 1.75rem; gap: 1rem; }
.band .steps li { padding: 1.25rem 1.25rem; }
.values li { padding: 1.5rem 1rem; }
.media__frame img { aspect-ratio: 3 / 2; }
.media--tall .media__frame img { aspect-ratio: 4 / 4.5; }
.tile img { aspect-ratio: 16 / 11; }
.tile__body { padding-block-start: 4rem; }
.site-footer { padding-block: clamp(2.75rem, 2rem + 2.5vw, 4rem) 1.5rem; }
.site-footer__grid { gap: 2rem; }
.strip { padding-block: 1.5rem; }

/* 50. No label above hero headings: the heading sits clear of the photo on small screens */
@media (max-width: 63.99em) { .hero__inner { margin-block-start: 1.5rem !important; } }

/* 51. Insights: hub cards, filters, article template */
.posts { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 48em) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .posts { grid-template-columns: repeat(3, 1fr); } }
.posts--featured { grid-template-columns: 1fr !important; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.post-card[hidden] { display: none; }
.post-card__img img { display: block; inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.25rem 1.5rem; flex: 1; }
.post-card__topic { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text, #8a6a2f); }
:lang(ar) .post-card__topic { letter-spacing: 0; font-size: .8125rem; }
.post-card__title a { color: var(--slate); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.post-card__sum { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.post-card__meta { margin-block-start: auto; padding-block-start: .5rem; font-size: .8125rem; color: var(--muted); }
@media (min-width: 64em) {
  .post-card--featured { flex-direction: row; }
  .post-card--featured .post-card__img { flex: 0 0 55%; }
  .post-card--featured .post-card__img img { block-size: 100%; aspect-ratio: auto; min-block-size: 22rem; }
  .post-card--featured .post-card__body { padding: 2.5rem; justify-content: center; }
}
.posts__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-block-end: 1.75rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { min-block-size: 2.5rem; padding: .4rem 1rem; border: 1px solid var(--gold-line); border-radius: 999px; background: #FCFAF6; color: var(--teal); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.filter:hover { border-color: var(--teal); }
.filter.is-active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.posts__more { margin-block-start: 2rem; text-align: center; }
.posts__empty { margin-block-start: 1rem; color: var(--muted); }
.posts__note { margin-block-start: 1.5rem; text-align: center; }
.posts__all { margin-block-start: 1.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-end: 1.25rem; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--teal); }
.page-intro--article { padding-block: calc(var(--header-h) + 2.25rem) 2rem; }
.page-intro--article .h1 { font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem); max-inline-size: 28ch; }
.page-intro--article .lead { margin-block-start: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin-block-start: 1.25rem; font-size: .8125rem; color: var(--muted); }
.article-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.article-figure img { display: block; inline-size: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.brief, .guide-help { padding: 1.5rem 1.75rem; border-radius: var(--radius); }
.brief { background: var(--sand, #F3EEE4); border-inline-start: 3px solid var(--gold); }
.brief ul, .guide .prose ul, .guide ul, .guide ol { padding-inline-start: 1.25rem; }
.brief ul { margin-block-start: .75rem; display: grid; gap: .5rem; list-style: disc; }
.toc { margin-block: 2rem 0; padding-block: 1rem; border-block: 1px solid var(--line); }
.toc__title { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .toc__title { letter-spacing: 0; }
.toc ol { margin-block-start: .5rem; padding-inline-start: 1.25rem; display: grid; gap: .35rem; font-size: .9375rem; }
.toc a { color: var(--teal); }
.guide { margin-block-start: 1rem; }
.guide h2 { scroll-margin-block-start: calc(var(--header-h) + 1rem); }
.guide ul { list-style: disc; display: grid; gap: .5rem; }
.guide ol { list-style: decimal; display: grid; gap: .5rem; }
.guide h3 { margin-block-start: 1.5em; }
.guide-table { overflow-x: auto; }
.guide-table table { inline-size: 100%; border-collapse: collapse; font-size: .9375rem; }
.guide-table th, .guide-table td { padding: .7rem .9rem; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.guide-table th { background: var(--sand, #F3EEE4); font-weight: 600; }
.guide-help { margin-block-start: 2.5rem; background: var(--white); border: 1px solid var(--gold-line); display: grid; gap: .75rem; }
.section--white .guide-help { background: #FCFAF6; }
.guide-help__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.sources { margin-block-start: 2.5rem; }
.sources ol { margin-block: .75rem 1rem; padding-inline-start: 1.25rem; list-style: decimal; display: grid; gap: .4rem; font-size: .875rem; }
.sources a { color: var(--teal); overflow-wrap: anywhere; }
[data-load-more][hidden], [data-posts-empty][hidden] { display: none !important; }
.posts__all--center { text-align: center; margin-block-start: 2rem; }

/* 52. Google review invitation with QR code */
.review { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius); }
@media (min-width: 48em) { .review { grid-template-columns: 1fr auto; gap: 3rem; } }
.review__text { display: grid; gap: 1rem; justify-items: start; }
.review__text .lead { margin: 0; }
.review__qr { margin: 0; display: grid; justify-items: center; gap: .6rem; }
.review__qr .qr { inline-size: clamp(9rem, 7rem + 6vw, 12rem); block-size: auto; border-radius: 8px; border: 1px solid var(--line); }
.review__qr figcaption { font-size: .8125rem; color: var(--muted); }
@media (max-width: 47.99em) { .review__qr { display: none; } }
