/* Seen360 / سين 360 — site.css
   Brand: ink #0B111A · night #131C29 · gold #E2AC4A · goldSoft #F2D398 · white #F7F3EC · mist #B4BFCC
   Type: Thmanyah Serif Display (ثمانية) for headings and big numbers, Thmanyah Sans for text. RTL first.
   Gold is for words, CTAs and small solid accents only: no rings, dials or circles over the imagery. */

/* Self-hosted Thmanyah, the official WOFF2 files as shipped (about 78–82 KB each). Every page preloads Sans Regular,
   Sans Medium and Serif Display Bold (the headings); Sans Bold (bold words in text) and Serif Display Black (the big
   numbers further down) load when they are needed. All of them swap in.
   Headings use tatweel (ـ) in one word each, by the owner's choice; keep it out of titles, meta and small text. */
@font-face { font-family: "Thmanyah Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/thmanyahsans-regular.woff2") format("woff2"); }
@font-face { font-family: "Thmanyah Sans"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/thmanyahsans-medium.woff2") format("woff2"); }
@font-face { font-family: "Thmanyah Sans"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url("../fonts/thmanyahsans-bold.woff2") format("woff2"); }
@font-face { font-family: "Thmanyah Serif Display"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/thmanyahserifdisplay-bold.woff2") format("woff2"); }
@font-face { font-family: "Thmanyah Serif Display"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/thmanyahserifdisplay-black.woff2") format("woff2"); }

:root {
  --ink: #0B111A;
  --night: #131C29;
  --night-2: #1A2433;
  --gold: #E2AC4A;
  --gold-soft: #F2D398;
  --gold-deep: #8A5A12;   /* gold for text on light backgrounds (AA) */
  --paper: #F7F3EC;
  --paper-2: #EEE7DA;
  --mist: #B4BFCC;
  --mist-2: #93A0B0;
  --slate: #4B5768;
  --wa: #25D366;
  --line-d: rgba(247, 243, 236, .14);
  --line-l: rgba(11, 17, 26, .14);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gut: 16px;
  --header-h: 64px;
  --sec-y: clamp(64px, 6vw + 40px, 128px);
  --f-display: "Thmanyah Serif Display", "Thmanyah Sans", "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, serif;
  --f-body: "Thmanyah Sans", "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 24px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gut: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--ink);
}
html:focus-within { scroll-behavior: smooth; }
[hidden] { display: none !important; }
figure { margin: 0; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.25rem + 4.2vw, 4.4rem); line-height: 1.24; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 3rem); line-height: 1.3; }
h3 { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); font-weight: 700; line-height: 1.5; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--gold-deep); }
.paper .cta-bar :focus-visible, .paper .aside-card :focus-visible { outline-color: var(--gold); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.nowrap { white-space: nowrap; }

.skip {
  position: fixed; top: -80px; inset-inline-start: 12px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- sections ---------- */
.sec { position: relative; padding-block: var(--sec-y); }
.ink { background: var(--ink); color: var(--paper); }
.night { background: var(--night); color: var(--paper); }
.paper { background: var(--paper); color: var(--ink); }
/* below-the-fold photos wait for the load event (an inline script in <head> sets .defer-media and removes it
   after load), so they never compete with the fonts and the hero for bandwidth. Each one sits in a box whose
   size does not depend on the image, so nothing moves when they appear. Without JavaScript they load as usual. */
.defer-media main > section:not(.hero):not(.page-hero) :is(.demo-poster, .phone picture, .wall picture, .tours-band picture, .sector picture, .card-media picture) { display: none; }

.sec-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 2vw + 20px, 52px); }
.sec-head--row { max-width: none; }
@media (min-width: 900px) {
  .sec-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
  .sec-head--row > .sec-head-main { max-width: 46rem; }
}
.sec-head-main { display: grid; gap: 14px; }

.eyebrow {
  display: block;
  font-family: var(--f-body); font-weight: 600; font-size: .9375rem; line-height: 1.6;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: .3em; margin-inline-end: .6em;
  width: 18px; height: 2px; border-radius: 2px; background: currentColor;
}
.paper .eyebrow { color: var(--gold-deep); }

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.85; color: var(--mist); }
.paper .lead { color: var(--slate); }
.muted { color: var(--mist); }
.paper .muted { color: var(--slate); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .72em 1.4em; border-radius: 999px;
  border: 1.5px solid transparent; background: transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.25;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(247, 243, 236, .42); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(247, 243, 236, .07); }
.paper .btn-ghost { border-color: rgba(11, 17, 26, .32); color: var(--ink); }
.paper .btn-ghost:hover { border-color: var(--ink); background: rgba(11, 17, 26, .04); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--night-2); }
.btn-sm { min-height: 42px; padding: .5em 1.05em; font-size: .9375rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.more {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--gold); text-decoration: none;
}
.paper .more { color: var(--gold-deep); }
.paper .sector .more { color: var(--gold); }
.more svg { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
a:hover > .more svg, .more:hover svg { transform: translateX(-4px); }

.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgba(11, 17, 26, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-d);
}
.header-bar { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 768px) { .brand img { height: 46px; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: .45em .8em; border-radius: 999px;
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.6;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: rgba(247, 243, 236, .09); }
.nav a[aria-current="page"] { color: var(--gold); }
.header-cta { margin-inline-start: auto; }
.nav-cta { display: none; }
.menu-btn {
  display: none; flex: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-d); background: rgba(11, 17, 26, .35); color: var(--paper);
  place-items: center; cursor: pointer;
}
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.site-header[data-open] .menu-btn .i-menu { display: none; }
.site-header[data-open] .menu-btn .i-close { display: block; }

@media (min-width: 1100px) {
  .nav { margin-inline-start: 28px; }
}
@media (max-width: 1099px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: rgba(11, 17, 26, .97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: 8px var(--gut) 24px; border-bottom: 1px solid var(--line-d);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header[data-open] { background: rgba(11, 17, 26, .97); }
  .site-header[data-open] .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 4px; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--line-d); }
  .nav a:hover { background: transparent; color: var(--gold); }
  .nav-cta { display: block; padding-top: 18px; }
  .nav .nav-cta a {
    display: flex; width: 100%; min-height: 52px; padding: .72em 1.4em; border: 0; border-radius: 999px;
    justify-content: center; background: var(--gold); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem;
  }
  .nav .nav-cta a:hover { background: var(--gold-soft); color: var(--ink); }
}

/* ---------- hero ---------- */
.hero {
  /* --hero-x ≈ height of copy + stats; the copy is top-anchored at (viewport - --hero-x) so it sits low
     in the frame, yet a late web-font swap can only move what is *below* the changed line (no CLS). */
  --hero-x: 500px;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--ink);
}
@media (min-width: 600px) { .hero { --hero-x: 590px; } }
@media (min-width: 900px) { .hero { --hero-x: 640px; } }
.hero-media { position: absolute; inset: 0; z-index: -3; background: var(--ink); }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
.hero-media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-media.is-playing video { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 17, 26, .97) 0%, rgba(11, 17, 26, .86) 30%, rgba(11, 17, 26, .3) 62%, rgba(11, 17, 26, .55) 100%);
}
@media (min-width: 900px) {
  .hero-shade {
    background:
      linear-gradient(to left, rgba(11, 17, 26, .93) 0%, rgba(11, 17, 26, .72) 38%, rgba(11, 17, 26, .12) 70%, rgba(11, 17, 26, .05) 100%),
      linear-gradient(to top, rgba(11, 17, 26, .9) 0%, rgba(11, 17, 26, 0) 38%),
      linear-gradient(to bottom, rgba(11, 17, 26, .55) 0%, rgba(11, 17, 26, 0) 22%);
  }
}
.hero-inner {
  flex: 1 0 auto;
  padding-top: max(calc(var(--header-h) + 36px), calc(100vh - var(--hero-x)));
  padding-top: max(calc(var(--header-h) + 36px), calc(100svh - var(--hero-x)));
  padding-bottom: clamp(24px, 3vw, 40px);
}
.hero-copy { display: grid; gap: 18px; max-width: 41rem; }
.hero h1 { max-width: 10.4em; min-height: calc(3 * 1.24em); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.8; color: #DCE2E9; max-width: 35rem; }
.hero .btns { margin-top: 6px; gap: 10px; }
@media (max-width: 479px) {
  .hero .btns .btn { flex: 1 1 auto; padding-inline: 1em; }
}
@media (max-width: 389px) {
  .hero .btns .btn { font-size: .9375rem; padding-inline: .8em; gap: .4em; }
}
.hero-stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
}
.hero-stats li {
  display: grid; align-content: start; gap: 2px;
  padding: 16px 0 calc(18px + env(safe-area-inset-bottom));
}
.hero-stats li + li { border-inline-start: 1px solid var(--line-d); padding-inline-start: 14px; }
.hero-stats li:not(:last-child) { padding-inline-end: 10px; }
.hero-stats strong {
  font-family: var(--f-display); font-weight: 800; line-height: 1.15;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); color: var(--paper);
}
.hero-stats li > span { font-size: .8125rem; line-height: 1.5; color: var(--mist); }
@media (max-width: 599px) { .hero-stats li > span { min-height: 3em; } }
@media (min-width: 768px) {
  .hero-stats li { padding-block: 22px 26px; }
  .hero-stats li + li { padding-inline-start: 28px; }
  .hero-stats li > span { font-size: .9375rem; }
}
.hero-pause {
  position: absolute; z-index: 2; top: calc(var(--header-h) + 14px); inset-inline-end: var(--gut);
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border-radius: 10px; border: 1px solid var(--line-d); background: rgba(11, 17, 26, .5);
  color: var(--mist); font-size: .8125rem; line-height: 1.4; cursor: pointer;
}
.hero-pause:hover { color: var(--paper); border-color: rgba(247, 243, 236, .4); }
.hero-pause .i { width: 14px; height: 14px; }
.hero-pause .i-play-s { display: none; }
.hero-pause[data-paused] .i-pause-s { display: none; }
.hero-pause[data-paused] .i-play-s { display: block; }
@media (max-width: 899px) {
  .hero-pause { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .hero-pause [data-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) {
  .hero-base { position: relative; }
  .hero-pause { top: auto; bottom: calc(100% + 14px); inset-inline-end: var(--gut); }
}
@media (max-width: 479px) {
  .sm-hide { display: none; }
}

/* ---------- client logo strip (under the hero) ---------- */
.logo-strip { background: var(--ink); border-bottom: 1px solid var(--line-d); }
.strip-inner { display: grid; gap: 10px; padding-block: 20px 22px; }
@media (min-width: 900px) { .strip-inner { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 44px; padding-block: 26px; } }
.strip-title { font-family: var(--f-body); font-weight: 600; font-size: .9375rem; line-height: 1.6; color: var(--mist); }
.strip {
  list-style: none; margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut);
  display: flex; align-items: center; gap: 36px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: none; scroll-snap-align: start; }
.strip img { height: var(--h, 30px); width: auto; filter: brightness(0) invert(1); opacity: .82; }
@media (min-width: 900px) { .strip { margin: 0; padding: 0; justify-content: space-between; gap: 24px; overflow: visible; } }

/* ---------- live demo ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: .5em 1.1em; border-radius: 999px;
  border: 1px solid var(--line-d); background: transparent; color: var(--paper);
  font-weight: 600; font-size: .9375rem; line-height: 1.3; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: rgba(247, 243, 236, .45); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.paper .chip { border-color: var(--line-l); color: var(--ink); }
.paper .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.demo-stage {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: #05080C;
  box-shadow: 0 0 0 1px var(--line-d), 0 30px 80px -30px rgba(0, 0, 0, .7);
}
@media (min-width: 700px) { .demo-stage { aspect-ratio: 16 / 9; } }
.demo-stage--side { aspect-ratio: 4 / 5; }
@media (min-width: 700px) { .demo-stage--side { aspect-ratio: 4 / 3; } }
.demo-poster, .demo-poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-poster img { object-fit: cover; transition: transform 1.6s var(--ease), filter .6s; }
.demo-stage:hover .demo-poster img { transform: scale(1.03); }
.demo-play {
  position: absolute; inset: 0; z-index: 1; width: 100%; border-radius: inherit;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  border: 0; padding: 24px; cursor: pointer; color: var(--paper); text-align: center;
  background: radial-gradient(ellipse at center, rgba(11, 17, 26, .55) 0%, rgba(11, 17, 26, .35) 45%, rgba(11, 17, 26, .6) 100%);
}
.demo-play:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.demo-btn {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
  background: rgba(247, 243, 236, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease), background-color .2s;
}
@media (min-width: 1024px) { .demo-stage:not(.demo-stage--side) .demo-btn { width: 88px; height: 88px; } }
.demo-btn .i { width: 30px; height: 30px; transform: translateX(2px); }
.demo-play:hover .demo-btn { transform: scale(1.06); background: #fff; }
.demo-label { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.3; }
.demo-label, .demo-sub { text-shadow: 0 1px 14px rgba(0, 0, 0, .85); }
.demo-sub { font-size: .875rem; color: var(--paper); background: rgba(11, 17, 26, .7); padding: 3px 12px; border-radius: 999px; }
.demo-loading {
  position: absolute; inset: 0; z-index: 2; display: none; place-content: center; justify-items: center; gap: 12px;
  background: rgba(11, 17, 26, .6); color: var(--paper); font-size: .9375rem;
}
.demo-loading::before {
  content: ""; width: 132px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent 0 35%, var(--paper) 35% 65%, transparent 65% 100%) 0 0 / 300% 100% no-repeat, rgba(247, 243, 236, .2);
  animation: load-bar 1.2s linear infinite;
}
@keyframes load-bar { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
.demo-stage.is-loading .demo-loading { display: grid; }
.demo-stage.is-loading .demo-play, .demo-stage.is-live .demo-play { visibility: hidden; }
.demo-stage iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; opacity: 0; background: #05080C; }
.demo-stage.is-live iframe { opacity: 1; }
.demo-close {
  position: absolute; z-index: 4; inset-block-start: 10px; inset-inline-end: 10px;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 12px; border: 1px solid rgba(247, 243, 236, .3); background: rgba(11, 17, 26, .72); color: var(--paper);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.demo-close:hover { background: rgba(11, 17, 26, .9); }
.demo-close .i { width: 22px; height: 22px; }
/* touch screens: a shorter live frame leaves room to scroll past it; the WhatsApp bubble stays out of the tour's corners */
@media (hover: none) and (max-width: 699px) { .demo-stage.is-live { aspect-ratio: 1 / 1; } }
.tour-live .wa-float { opacity: 0; visibility: hidden; }
.demo-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  margin-top: 14px; font-size: .9375rem; color: var(--mist);
}
.demo-foot b { color: var(--paper); font-weight: 600; }
.paper .demo-foot { color: var(--slate); }
.paper .demo-foot b { color: var(--ink); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.link-btn {
  display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: 0;
  border: 0; background: none; color: var(--gold); font-weight: 600; font-size: .9375rem; cursor: pointer; text-decoration: none;
}
.paper .link-btn { color: var(--gold-deep); }
.link-btn:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-btn .i { width: 1.1em; height: 1.1em; }

/* ---------- sectors ---------- */
.sectors { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors > li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .sectors { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-rows: minmax(300px, auto); }
  .sectors > li:first-child { grid-column: 1; grid-row: span 2; }
}
.sector {
  position: relative; isolation: isolate; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 22px 22px 20px; border-radius: var(--r-lg);
  background: var(--night); color: var(--paper); text-decoration: none;
}
@media (max-width: 699px) { .sector { min-height: 230px; } }
@media (min-width: 1024px) { .sectors > li:first-child .sector { min-height: 600px; padding: 32px; } }
.sector picture, .sector img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.sector img { object-fit: cover; transition: transform 1s var(--ease); }
.sector::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11, 17, 26, .96) 0%, rgba(11, 17, 26, .85) 45%, rgba(11, 17, 26, .3) 85%);
}
.sector:hover img { transform: scale(1.045); }
.sector h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 800; text-shadow: 0 2px 14px rgba(11, 17, 26, .75); }
.sectors > li:first-child h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.sector p { margin-top: 6px; color: #D5DCE4; font-size: 1rem; line-height: 1.75; max-width: 30rem; }
.sector .more { margin-top: 12px; }
/* the tag stays in the flow (pushed to the top by its auto margin), so it can never sit on the heading */
.sector-tag {
  align-self: flex-start; margin-bottom: auto;
  display: block; padding: 5px 11px; border-radius: 999px;
  background: rgba(11, 17, 26, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 243, 236, .2); font-size: .8125rem; font-weight: 600; line-height: 1.4;
}
.sector-tag + h3 { margin-top: 14px; }

/* ---------- portfolio ---------- */
.filters {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  margin: -4px calc(var(--gut) * -1) 20px; padding: 6px var(--gut) 8px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.work-grid[data-filter="all"] > li[data-secondary] { display: none; }
@media (max-width: 767px) { .work-grid[data-filter="all"] > li:first-child, .work-grid--lead > li:first-child, .work-grid--lead-m > li:first-child { grid-column: 1 / -1; } }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-grid[data-filter="all"] > li:first-child, .work-grid--lead > li:first-child { grid-column: span 2; grid-row: span 2; }
  .work-grid[data-filter="all"] > li:first-child .card-media, .work-grid--lead > li:first-child .card-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 260px; }
  .work-grid[data-filter="all"] > li:first-child .card-title, .work-grid--lead > li:first-child .card-title { font-size: 1.35rem; }
}
.work-grid > li[hidden] { display: none; }
.card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  border-radius: var(--r); overflow: hidden; background: var(--night);
  color: var(--paper); text-decoration: none;
  box-shadow: 0 0 0 1px var(--line-d);
  transition: box-shadow .25s, transform .35s var(--ease);
}
.card:hover { box-shadow: 0 0 0 1px rgba(226, 172, 74, .55), 0 20px 50px -24px rgba(0, 0, 0, .8); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0E1520; }
.card-media picture, .card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-media img, .card-media video { object-fit: cover; }
.card-media img { transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media video { opacity: 0; transition: opacity .5s; }
.is-playing .card-media video { opacity: 1; }
.card-badge {
  position: absolute; top: 9px; inset-inline-end: 9px; z-index: 1;
  display: block; padding: 3px 9px; border-radius: 999px;
  background: rgba(11, 17, 26, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 243, 236, .22);
  font-size: .75rem; font-weight: 600; line-height: 1.5;
}
.card-body { display: grid; gap: 1px; padding: 11px 13px 13px; }
.card-title {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem; line-height: 1.5;
}
.card-title .i { width: 16px; height: 16px; margin-top: 4px; color: var(--mist); transition: color .2s; }
.card:hover .card-title .i { color: var(--gold); }
.card-sector { font-size: .8125rem; line-height: 1.5; color: var(--mist); }
@media (min-width: 768px) {
  .card-body { padding: 14px 16px 16px; }
  .card-title { font-size: 1.05rem; }
}
.work-cta {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-d); background: var(--night);
}
.work-cta p { color: var(--mist); max-width: 40rem; }
.work-cta strong { color: var(--paper); font-weight: 600; }
.work-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
/* phones: «الكل» opens with the owner's best tours; the rest is one tap away */
.work-more { width: 100%; margin-top: 14px; }
@media (max-width: 767px) {
  .work-grid[data-collapsible][data-filter="all"]:not(.is-expanded) > li[data-more] { display: none; }
}
@media (min-width: 768px) { .work-more { display: none; } }

/* ---------- interactive plans ---------- */
.plans { overflow: hidden; }
.plans-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .plans-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.plan-points { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; gap: 16px; }
.plan-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.plan-points li::before {
  content: ""; width: 14px; height: 2px; margin-top: 14px; border-radius: 2px; background: var(--gold);
}
.plan-points b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.6; color: var(--paper); }
.plan-points span { display: block; color: var(--mist); font-size: 1rem; line-height: 1.75; }
.paper .plan-points b { color: var(--ink); }
.paper .plan-points span { color: var(--slate); }

.phones { position: relative; display: grid; place-items: center; padding: 18px 0 8px; isolation: isolate; }
.phone {
  position: relative; grid-area: 1 / 1; width: min(68vw, 270px); aspect-ratio: 9 / 19.5;
  padding: 9px; border-radius: 44px;
  background: linear-gradient(150deg, #2E3540 0%, #0B0F14 55%, #1D232B 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), inset 0 0 0 1.5px rgba(255, 255, 255, .09);
}
.phone::after {
  content: ""; position: absolute; z-index: 2; top: 19px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 23px; border-radius: 14px; background: #04060A;
}
.phone picture, .phone img { display: block; width: 100%; height: 100%; }
.phone img { object-fit: cover; border-radius: 35px; }
.phone--back { display: none; }
@media (min-width: 960px) {
  .phone--front { transform: translateX(16%) rotate(2.5deg); z-index: 2; }
  .phone--back { display: block; width: min(22vw, 238px); transform: translateX(-62%) translateY(26px) rotate(-6deg); filter: brightness(.82); }
}
.phone-cap { margin-top: 18px; text-align: center; font-size: .875rem; color: var(--mist); }

.wall {
  position: relative; isolation: isolate; overflow: hidden; color: var(--paper); margin: clamp(56px, 6vw + 24px, 104px) 0 0;
  min-height: 360px; display: grid; align-items: end; border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--line-d);
}
.wall picture, .wall img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.wall img { object-fit: cover; }
.wall::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11, 17, 26, .96) 0%, rgba(11, 17, 26, .7) 45%, rgba(11, 17, 26, .25) 100%);
}
@media (min-width: 900px) {
  .wall { min-height: 460px; align-items: center; }
  .wall::before { background: linear-gradient(to left, rgba(11, 17, 26, .95) 0%, rgba(11, 17, 26, .78) 42%, rgba(11, 17, 26, .15) 80%); }
}
.wall-copy { display: grid; gap: 10px; padding: 26px 22px; max-width: 36rem; }
@media (min-width: 900px) { .wall-copy { padding: 48px; } }
.wall-num {
  font-family: var(--f-display); font-weight: 900; line-height: .95; color: var(--gold);
  font-size: clamp(4.2rem, 3rem + 7vw, 8.5rem);
}
.wall-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; }
.wall p { color: #D5DCE4; }
.wall .more { color: var(--gold); }

/* ---------- services ---------- */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr);
  background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service { background: var(--paper); padding: 26px 22px 28px; display: grid; gap: 10px; align-content: start; }
@media (min-width: 1024px) { .service { padding: 34px 32px 36px; } }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #EADFC9; color: var(--ink); margin-bottom: 4px;
}
.service-icon .i { width: 26px; height: 26px; stroke-width: 1.5; }
.service p { color: var(--slate); font-size: 1rem; line-height: 1.8; }
@media (max-width: 699px) {
  .service { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 20px 18px; }
  .service-icon { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .service-icon .i { width: 23px; height: 23px; }
  .service h3, .service p { grid-column: 2; }
}
.cta-bar {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper);
}
@media (min-width: 768px) { .cta-bar { padding: 26px 32px; } }
.cta-bar p { max-width: 42rem; color: var(--mist); }
.cta-bar strong { display: block; color: var(--paper); font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; margin-bottom: 2px; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; }
.step { position: relative; padding-inline-start: 60px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 2px; inset-inline-start: 0; z-index: 1;
  font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--gold);
}
.step::after {
  content: ""; position: absolute; top: 44px; bottom: 8px; inset-inline-start: 15px; width: 1px; background: var(--line-d);
}
.step:last-child::after { display: none; }
.step h3 { margin: 4px 0 8px; }
.step p { color: var(--mist); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 70px; position: relative; }
  .steps::before { content: ""; position: absolute; top: 48px; inset-inline: 0; height: 1px; background: var(--line-d); }
  .step { padding: 0; }
  .step::before { top: -70px; font-size: 2rem; }
  .step::after { display: none; }
}

/* ---------- clients ---------- */
.tours-band {
  position: relative; isolation: isolate; overflow: hidden; min-height: 300px;
  display: grid; place-content: center; text-align: center; gap: 6px; padding: 40px 20px;
  border-radius: var(--r-lg); margin: 0 0 clamp(56px, 5vw + 32px, 96px);
  box-shadow: 0 0 0 1px var(--line-d);
}
.tours-band figcaption { display: grid; gap: 8px; justify-items: center; }
.tours-band picture, .tours-band img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tours-band img { object-fit: cover; }
.tours-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 62% 72% at 50% 50%, rgba(19, 28, 41, .9) 0%, rgba(19, 28, 41, .74) 62%, rgba(19, 28, 41, .5) 100%);
}
.tours-num { font-family: var(--f-display); font-weight: 900; line-height: 1; font-size: clamp(3.6rem, 2.4rem + 6vw, 7.5rem); }
.tours-num .plus { color: var(--gold); }
.tours-band p { color: #D5DCE4; max-width: 34rem; margin-inline: auto; }
.tours-band .tours-label { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); color: var(--paper); }
.logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 10px;
}
.logos li { flex: 0 0 calc((100% - 20px) / 3); display: grid; place-items: center; min-height: 64px; }
@media (min-width: 700px) { .logos { gap: 44px 16px; } .logos li { flex-basis: calc((100% - 64px) / 5); } }
@media (min-width: 1100px) { .logos li { flex-basis: calc((100% - 96px) / 7); } }
.logos img {
  height: var(--h, 44px); width: auto; max-width: 92%; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .86; transition: opacity .2s;
}
.logos li:hover img { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-side { display: grid; gap: 14px; align-content: start; }
.faq-side .btn { justify-self: start; margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq details:first-child { border-top: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.03rem, 1rem + .2vw, 1.15rem); line-height: 1.6;
  text-wrap: balance;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq summary:hover::after { background-color: var(--paper-2); }
.faq .answer { padding: 0 0 22px; padding-inline-end: 48px; color: var(--slate); }
.ink .faq details, .night .faq details { border-color: var(--line-d); }
.ink .faq .answer, .night .faq .answer { color: var(--mist); }
.ink .faq details[open] summary::after, .ink .faq summary:hover::after { background-color: rgba(247, 243, 236, .08); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.contact-copy { display: grid; gap: 14px; align-content: start; }
.form {
  display: grid; gap: 16px; padding: 22px; border-radius: var(--r-lg);
  background: var(--night); border: 1px solid var(--line-d); color-scheme: dark;
}
@media (min-width: 768px) { .form { padding: 30px; } }
.form-title { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; line-height: 1.5; }
.field .opt { color: var(--mist); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid rgba(247, 243, 236, .24); background: rgba(11, 17, 26, .65); color: var(--paper);
  font-size: 1rem; line-height: 1.5; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-inline-end: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4BFCC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 18px;
}
.field select option { background: var(--night); color: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: #7F8B9A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 172, 74, .25); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form .btn { width: 100%; }
.form-note { font-size: .875rem; line-height: 1.7; color: var(--mist); }
.direct { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) and (max-width: 959px) { .direct { grid-template-columns: 1fr 1fr; } }
.direct a {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px;
  border-radius: 16px; border: 1px solid var(--line-d); text-decoration: none; color: var(--paper);
  transition: background-color .2s, border-color .2s;
}
.direct a:hover { background: rgba(247, 243, 236, .05); border-color: rgba(247, 243, 236, .32); }
.direct .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(247, 243, 236, .07); color: var(--gold); }
.direct .ic .i { width: 21px; height: 21px; }
.direct .ic--wa { background: var(--wa); color: #fff; }
.direct .txt { display: grid; line-height: 1.45; min-width: 0; }
.direct .lbl { font-size: .8125rem; color: var(--mist); }
.direct .val { font-weight: 600; overflow-wrap: anywhere; }
.qr { display: none; }
@media (min-width: 960px) and (hover: hover) {
  .qr { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line-d); }
  .qr img { width: 124px; height: 124px; padding: 6px; border-radius: 12px; background: #fff; }
  .qr p { font-size: .9375rem; color: var(--mist); }
  .qr b { display: block; color: var(--paper); font-family: var(--f-display); font-weight: 700; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--night); color: var(--mist); font-size: .9375rem;
  border-top: 1px solid var(--line-d);
  padding: 56px 0 calc(96px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .site-footer { padding-bottom: 36px; } }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 24rem; align-content: start; justify-items: start; }
.foot-brand img { height: 52px; width: auto; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}
.foot-h { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--paper); margin-bottom: 10px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-list a { display: inline-block; padding: 4px 0; color: var(--mist); text-decoration: none; }
.foot-list a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 5px; }
.foot-about { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.foot-about p { max-width: 62rem; line-height: 1.9; }
.copy { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .8125rem; color: var(--mist-2); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(11, 17, 26, .35);
  transition: transform .35s var(--ease), opacity .3s, visibility 0s 0s;
}
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(18px) scale(.9); transition: transform .35s var(--ease), opacity .3s, visibility 0s .35s; }
@media (min-width: 768px) { .wa-float { bottom: 24px; inset-inline-end: 24px; width: 60px; height: 60px; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 28px) 0 clamp(48px, 5vw + 24px, 88px); }
.page-hero-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.page-hero-copy { display: grid; gap: 16px; }
/* 1000–1279px: the two hero buttons fit on one row in the fallback face but not in Alexandria, so a late
   swap would wrap them (layout shift). Stack them in this band in both faces. */
@media (min-width: 1000px) and (max-width: 1279px) { .page-hero .btns .btn { flex: 1 1 100%; } }
.page-hero h1 { font-size: clamp(1.95rem, 1.2rem + 3vw, 3.4rem); line-height: 1.28; min-height: calc(var(--l-m, 3) * 1.28em); }
/* reserve the line count the display face needs in each width band (set per page on the h1), so a late
   web-font swap cannot push the content below it */
@media (max-width: 389px) { .page-hero h1 { min-height: calc(var(--l-s, 4) * 1.28em); } }
@media (min-width: 600px) and (max-width: 999px) { .page-hero h1 { min-height: calc(var(--l-w, 2) * 1.28em); } }
@media (min-width: 1000px) and (max-width: 1279px) { .page-hero h1 { min-height: calc(var(--l-t, 4) * 1.28em); } }
@media (min-width: 1280px) { .page-hero h1 { min-height: calc(var(--l-d, 3) * 1.28em); } }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .55; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; }
.crumbs [aria-current] { color: var(--paper); }
.hero-phone { display: grid; place-items: center; }
.page-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.page-points li { position: relative; padding-inline-start: 18px; font-size: .9375rem; line-height: 1.7; color: #D5DCE4; }
.page-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 9px; height: 2px; border-radius: 2px; background: var(--gold); }

.split { display: grid; gap: 44px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; } .aside-sticky { position: sticky; top: calc(var(--header-h) + 28px); } }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem); margin: 52px 0 14px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--slate); }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 26px; color: var(--slate); }
.prose ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .9em; width: 12px; height: 2px; border-radius: 2px; background: var(--gold-deep);
}
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-deep); font-weight: 600; text-underline-offset: 4px; }
.prose figure { margin: 26px 0 30px; }
.prose figure.wall { margin-top: 26px; }
.aside-card { display: grid; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); }
.aside-card .btn { width: 100%; }
.aside-card p { color: var(--mist); font-size: .98rem; }
.aside-title, .aside-card .aside-title { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.4; color: var(--paper); }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aside-list li { display: block; position: relative; padding-inline-start: 18px; color: #D5DCE4; font-size: .95rem; }
.aside-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 9px; height: 2px; border-radius: 2px; background: var(--gold); }
.related { display: grid; gap: 12px; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line-d); text-decoration: none; }
.related a:hover { border-color: rgba(226, 172, 74, .6); }
.related b { font-family: var(--f-display); font-weight: 700; color: var(--paper); }
.related span { color: var(--mist); font-size: .9375rem; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 96px var(--gut) 64px; position: relative; overflow: hidden; isolation: isolate; }
.nf-inner { display: grid; gap: 16px; justify-items: center; max-width: 34rem; }
.nf-code { font-family: var(--f-display); font-weight: 900; font-size: clamp(4.5rem, 3rem + 8vw, 8rem); line-height: 1; color: var(--gold); direction: ltr; }
.nf .btns { justify-content: center; margin-top: 8px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
