/* Blue Star FZE LLC — dark build.
   Measured against basement.studio (black ground, #e6e6e6 text, #757575 secondary,
   display 87/78 at -0.04em) and thoughtbot.com (72–90px section rhythm, pill buttons). */
:root {
  --bg: #07080c;
  --panel: #0d0f15;
  --text: #e9e7e2;
  --muted: #8d8f97;
  --dim: #5b5d66;
  --line: rgba(233, 231, 226, 0.12);
  --accent: #3d68f0;
  --accent-soft: #9db2ff;
  --display: "Marcellus", "Optima", "Times New Roman", serif;
  --body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gutter: 40px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html[dir="rtl"] {
  --display: "Amiri", "Marcellus", serif;
  --body: "IBM Plex Sans Arabic", "Geist", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.wrap { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
  margin: 0;
}
html[dir="rtl"] .display { letter-spacing: 0; line-height: 1.36; text-transform: none; font-weight: 700; }
h1.display { font-size: clamp(32px, 7.2vw, 128px); }
h2.display { font-size: clamp(30px, 4.8vw, 80px); }
h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; margin: 0; letter-spacing: 0.02em; }
html[dir="rtl"] h1.display { font-size: clamp(34px, 6vw, 104px); }
html[dir="rtl"] h2.display { font-size: clamp(28px, 4.2vw, 68px); }
html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.45; font-weight: 700; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
html[dir="rtl"] .line { padding: 0.08em 0 0.16em; margin-bottom: -0.2em; }
.line > span { display: block; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 32px; display: flex; align-items: center; gap: 14px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 30em; margin: 0; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 8, 12, 0.95); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: "Marcellus", serif; font-weight: 400; font-size: 17px; letter-spacing: 0.3em; text-transform: uppercase; direction: ltr; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); opacity: 0.78; transition: opacity 0.2s; }
html[dir="rtl"] .nav a { letter-spacing: 0; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav .lang { opacity: 1; border: 1px solid var(--line); padding: 10px 18px; letter-spacing: 0.08em; text-transform: none; font-size: 14px; }
.nav .lang:hover { border-color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 10px 18px; font: 500 14px var(--body); color: var(--text); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-weight: 500; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; padding: 22px 34px; background: var(--text); color: var(--bg); border: 1px solid var(--text); transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
html[dir="rtl"] .btn { letter-spacing: 0; font-size: 16px; padding: 18px 32px; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
html[dir="rtl"] .arr { display: inline-block; scale: -1 1; }
html[dir="rtl"] .btn:hover .arr { transform: translateX(-5px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; text-align: center; padding: 140px 0 230px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 80%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 12, 0.78) 0%, rgba(7, 8, 12, 0.56) 50%, rgba(7, 8, 12, 0.3) 76%, rgba(7, 8, 12, 0.6) 93%, var(--bg) 100%); }
.hero .wrap { width: 100%; }
.hero .kicker { justify-content: center; }
.hero h1.display { font-size: clamp(32px, 5.6vw, 96px); margin-bottom: 32px; }
html[dir="rtl"] .hero h1.display { font-size: clamp(32px, 5vw, 84px); }
.hero .actions { justify-content: center; margin-top: 48px; }
.hero .btn.ghost { background: rgba(7, 8, 12, 0.5); border-color: rgba(233, 231, 226, 0.3); }
.with-star { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 400px); gap: clamp(32px, 5vw, 96px); align-items: center; }
.star-slot { display: block; aspect-ratio: 1 / 1; width: 100%; }
.cta .star-slot { width: clamp(110px, 12vw, 180px); margin: 0 auto 40px; }
.page-hero { position: relative; }
.page-hero .wrap > * { max-width: calc(100% - clamp(240px, 30vw, 440px)); }
html[dir="rtl"] .display .ltr { font-family: "Marcellus", serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
.page-hero .star-slot { position: absolute; inset-inline-end: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 150px; width: clamp(200px, 24vw, 360px); }
.statement .big { font-family: var(--display); font-size: clamp(24px, 3.1vw, 50px); line-height: 1.28; letter-spacing: 0.005em; max-width: 21em; margin: 0; color: var(--text); }
html[dir="rtl"] .with-star { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 400px); gap: clamp(32px, 5vw, 96px); align-items: center; }
.star-slot { display: block; aspect-ratio: 1 / 1; width: 100%; }
.cta .star-slot { width: clamp(110px, 12vw, 180px); margin: 0 auto 40px; }
.page-hero { position: relative; }
.page-hero .wrap > * { max-width: calc(100% - clamp(240px, 30vw, 440px)); }
html[dir="rtl"] .display .ltr { font-family: "Marcellus", serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
.page-hero .star-slot { position: absolute; inset-inline-end: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 150px; width: clamp(200px, 24vw, 360px); }
.statement .big { letter-spacing: 0; line-height: 1.6; font-size: clamp(24px, 2.9vw, 46px); }
.cue { position: absolute; z-index: 2; bottom: 36px; left: 50%; width: 1px; height: 64px; background: rgba(233, 231, 226, 0.25); overflow: hidden; }
.cue::after { content: ""; position: absolute; inset: 0; background: var(--text); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.page-hero { padding: 200px 0 88px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 36px; max-width: 13em; }

/* Sections */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 168px) 0; }
.sec.tight { padding: clamp(64px, 8vw, 120px) 0; }
.head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.head p:not(.kicker) { color: var(--muted); margin: 0; max-width: 28em; }
.rule { border-top: 1px solid var(--line); }

/* Marquee */
.marquee { direction: ltr; overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: var(--bg); }
.marquee .track { display: flex; gap: 0.5em; white-space: nowrap; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 8vw, 132px); line-height: 1.15; letter-spacing: 0.02em; will-change: transform; }
html[dir="rtl"] .marquee .track { letter-spacing: 0; line-height: 1.5; }
.marquee .track span:nth-child(odd) { color: rgba(233, 231, 226, 0.26); }
.marquee .track i { font-style: normal; color: var(--accent); font-size: 0.5em; align-self: center; }

/* Services (home) */
/* Service panels: three tall clips, the active one opens up */
.panels { display: flex; gap: 14px; height: min(80vh, 780px); min-height: 520px; }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--panel); transition: flex-grow 0.9s var(--ease); }
.panel.is-active { flex-grow: 2.4; }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.panel .clip { transform: scale(1.08); }
.panel.is-active .clip { transform: scale(1); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 12, 0.15) 0%, rgba(9, 16, 44, 0.25) 45%, rgba(7, 8, 12, 0.92) 100%); pointer-events: none; }
.panel-body { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: clamp(24px, 2.6vw, 44px); }
.panel h3 { font-size: clamp(22px, 2.2vw, 36px); font-weight: 400; text-transform: uppercase; line-height: 1.12; margin: 0; }
html[dir="rtl"] .panel h3 { text-transform: none; line-height: 1.45; font-weight: 700; }
.panel .num { font-family: "Marcellus", serif; font-size: 15px; letter-spacing: 0.2em; color: var(--accent-soft); display: block; margin-bottom: 16px; }
.panel-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.9s var(--ease), opacity 0.5s var(--ease); }
.panel-more > div { min-height: 0; overflow: hidden; }
.panel-more p { color: #c6c7cd; max-width: 30em; margin: 0; padding-top: 18px; }
.panel-more .more { margin-top: 18px; }
.panel.is-active .panel-more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, 0.25s; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: center; padding: clamp(40px, 5vw, 80px) 0; }
.svc:nth-child(even) .tilt { order: 2; }
.svc h3 { font-size: clamp(28px, 3.6vw, 58px); font-weight: 400; text-transform: uppercase; line-height: 1.05; margin-bottom: 24px; }
html[dir="rtl"] .svc h3 { text-transform: none; line-height: 1.4; font-weight: 700; }
.svc p { color: var(--muted); max-width: 27em; font-size: 18px; }
.svc .num { font-family: "Marcellus", serif; font-size: 15px; letter-spacing: 0.2em; color: var(--accent-soft); margin-bottom: 20px; display: block; font-variant-numeric: tabular-nums; }
.more { display: inline-flex; gap: 12px; align-items: center; margin-top: 16px; text-decoration: none; font-weight: 500; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--line); transition: border-color 0.25s; }
.more:hover { border-color: var(--accent); }
html[dir="rtl"] .more { letter-spacing: 0; font-size: 16px; }
.tilt { perspective: 1200px; }
.media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--panel); transform-style: preserve-3d; transition: transform 0.6s var(--ease); will-change: transform; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .clip { }
.media.wide { aspect-ratio: 16 / 9; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 36px 28px 8px 0; border-inline-end: 1px solid var(--line); padding-inline-start: 28px; }
.step:first-child { padding-inline-start: 0; }
.step:last-child { border-inline-end: 0; }
.step .big { font-family: "Marcellus", serif; font-weight: 400; font-size: clamp(48px, 5vw, 84px); line-height: 1; color: var(--accent-soft); margin-bottom: 40px; direction: ltr; text-align: start; }
html[dir="rtl"] .step .big { text-align: right; }
.step h3 { margin-bottom: 12px; font-size: 22px; text-transform: uppercase; }
html[dir="rtl"] .step h3 { text-transform: none; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Promise list */
.promise { border-top: 1px solid var(--line); }
.promise li { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding 0.4s var(--ease); }
.promise li:hover { padding-inline-start: 16px; }
.promise p { color: var(--muted); margin: 0; }

/* Facts */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.facts { border-top: 1px solid var(--text); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.facts dt { color: var(--muted); white-space: nowrap; }
.facts dd { text-align: end; font-weight: 400; color: var(--text); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Service detail + lists */
.service { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.service .intro { color: var(--text); font-family: var(--display); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.4; margin: 0; }
html[dir="rtl"] .service .intro { line-height: 1.7; }
.band { position: relative; height: clamp(320px, 52vh, 560px); overflow: hidden; background: var(--panel); margin-bottom: clamp(40px, 5vw, 72px); }
.band .clip { }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 12, 0.2) 0%, rgba(9, 16, 44, 0.2) 40%, rgba(7, 8, 12, 0.9) 100%); pointer-events: none; }
.band-body { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: clamp(24px, 3.4vw, 56px); }
.band-body .kicker { margin-bottom: 18px; }
.ticks li { padding: 20px 0; padding-inline-start: 32px; border-bottom: 1px solid var(--line); position: relative; font-size: 18px; }
.ticks li:first-child { border-top: 1px solid var(--text); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 30px; width: 10px; height: 10px; background: var(--accent); }

/* FAQ */
.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; padding-inline-end: 40px; position: relative; font-family: var(--display); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 20px; font: 300 26px/1 var(--body); color: var(--accent-soft); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0; padding: 0 0 26px; max-width: 34em; }

/* Contact form */
.form { display: grid; gap: 28px; }
.form label { display: grid; gap: 10px; }
.form label span { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
html[dir="rtl"] .form label span { letter-spacing: 0; font-size: 15px; }
.form input, .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: 300 18px/1.5 var(--body); padding: 10px 0 14px; border-radius: 0; outline: none; transition: border-color 0.25s; resize: vertical; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--accent-soft); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; cursor: pointer; font-family: var(--body); margin-top: 8px; }
.form .btn[disabled] { opacity: 0.5; cursor: default; }
.form-note { margin: 0; min-height: 1.6em; color: var(--accent-soft); }
.form-note.err { color: #ff9c8a; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 56px 0 16px; letter-spacing: 0.02em; }
html[dir="rtl"] .prose h2 { letter-spacing: 0; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #b9bac0; }
.prose ul { list-style: disc; padding-inline-start: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--text); }
.updated { color: var(--muted); font-size: 15px; margin: 0; }

/* CTA */
.cta { padding: clamp(96px, 13vw, 200px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta h2 { font-size: clamp(34px, 6.6vw, 116px); margin-bottom: 32px; }
html[dir="rtl"] .cta h2 { font-size: clamp(30px, 5.2vw, 88px); }
.cta p { color: var(--muted); max-width: 30em; margin: 0 auto 40px; }
.cta .actions { justify-content: center; }

/* Footer */
.site-footer { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0 0; font-size: 16px; color: var(--muted); overflow: hidden; }
.site-footer .wrap { z-index: auto; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer .brand { color: var(--text); margin-bottom: 18px; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 18px; font-weight: 500; }
html[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: 15px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }
.site-footer .legal { margin-top: 64px; padding: 24px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.wordmark { direction: ltr; font-family: "Marcellus", serif; font-weight: 400; text-transform: uppercase; font-size: 15.4vw; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; text-align: center; color: rgba(157, 178, 255, 0.09); margin: 24px 0 -0.13em; user-select: none; }

/* ---- Scale pass, measured against exoape.com (250px display on a full-bleed film, 24/32 intro)
        and dogstudio.co (120px display, one dominant 3D object) ---- */
.hero { align-items: stretch; text-align: start; padding: 128px 0 52px; }
.hero .wrap { display: flex; flex-direction: column; }
.hero .kicker { justify-content: flex-start; margin-bottom: 20px; }
.hero h1.display { font-size: clamp(38px, 9.4vw, 184px); line-height: 0.96; letter-spacing: -0.005em; margin: 0; }
html[dir="rtl"] .hero h1.display { font-size: clamp(38px, 8.4vw, 164px); line-height: 1.22; }
.hero-bg::after { background: linear-gradient(180deg, rgba(7, 8, 12, 0.74) 0%, rgba(7, 8, 12, 0.5) 34%, rgba(7, 8, 12, 0.08) 58%, rgba(7, 8, 12, 0.12) 74%, rgba(7, 8, 12, 0.82) 94%, var(--bg) 100%); }
.hero-foot { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-foot .lead { color: #e2e3e7; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; max-width: 27em; }
.hero .actions { margin-top: 0; justify-content: flex-start; }
.cue { display: none; }

h2.display { font-size: clamp(32px, 6vw, 108px); line-height: 1; }
html[dir="rtl"] h2.display { font-size: clamp(30px, 5.2vw, 92px); line-height: 1.34; }
.split h2.display, .service h2.display, .band h2.display { font-size: clamp(30px, 4.4vw, 72px); }
.head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
.head > p:not(.kicker) { justify-self: end; max-width: 26em; font-size: clamp(17px, 1.35vw, 20px); }
.with-star { grid-template-columns: minmax(0, 1fr) clamp(260px, 34vw, 540px); }
.statement .big { font-size: clamp(24px, 3.4vw, 56px); line-height: 1.22; }
.cta h2.display { font-size: clamp(34px, 7.4vw, 132px); }
.kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Three columns of short points */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 36px; }
.cols3 h3 { margin-bottom: 12px; }
.cols3 p { color: var(--muted); margin: 0; }
.promise h3 { font-size: clamp(22px, 2.2vw, 34px); }
.band:not(:has(.band-body)) { height: clamp(260px, 46vh, 520px); }

/* Journal and cross-link rows */
.posts { border-top: 1px solid var(--text); }
.post { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: clamp(24px, 2.8vw, 44px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.5s var(--ease), background 0.5s var(--ease); }
.post-date { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.post-title { font-family: var(--display); font-size: clamp(22px, 2.9vw, 46px); line-height: 1.14; transition: color 0.3s; }
html[dir="rtl"] .post-title { line-height: 1.5; font-weight: 700; }
.post-go { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 12px; transition: color 0.3s; }
html[dir="rtl"] .post-go { letter-spacing: 0; font-size: 15px; }
.post:hover { padding-inline: 20px; background: rgba(233, 231, 226, 0.035); }
.post:hover .post-title { color: var(--accent-soft); }
.post:hover .post-go { color: var(--text); }
.more-row { margin-top: 44px; }

/* Article */
.article-hero .wrap > * { max-width: 980px; }
h1.title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.8vw, 76px); line-height: 1.08; letter-spacing: 0; margin: 0 0 28px; text-wrap: balance; }
html[dir="rtl"] h1.title { font-weight: 700; line-height: 1.4; }
.article-intro { font-family: var(--display); font-size: clamp(21px, 2vw, 30px); line-height: 1.4; color: var(--text) !important; margin: 0 0 12px; }
html[dir="rtl"] .article-intro { line-height: 1.75; }
article.prose { max-width: 780px; font-size: 19px; }
article.prose h2 { font-size: clamp(24px, 2.4vw, 34px); margin-top: 64px; }
article.prose li { margin-bottom: 10px; }

/* First-visit intro: pure CSS so it always lifts, even if a script fails */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; pointer-events: none; animation: intro-out 0.9s var(--ease) 1.15s forwards; }
.intro-mark { display: flex; align-items: center; gap: 18px; font-family: "Marcellus", serif; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.34em; text-transform: uppercase; direction: ltr; animation: intro-mark 1s var(--ease) both; }
.intro-mark svg { width: 44px; height: 44px; animation: intro-star 1.2s var(--ease) both; }
html.seen .intro { display: none; }
@keyframes intro-out { to { transform: translateY(-100%); } }
@keyframes intro-mark { from { opacity: 0; letter-spacing: 0.6em; } to { opacity: 1; letter-spacing: 0.34em; } }
@keyframes intro-star { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0); } }


/* No star marks: plain rules and squares for bullets, wordmark-only brand */
.kicker::before { width: 28px; height: 1px; background: var(--accent-soft); }
.ticks li::before { width: 6px; height: 6px; top: 32px; background: var(--accent); }
.marquee .track i { width: 0.12em; height: 0.12em; border-radius: 50%; background: var(--accent); align-self: center; font-size: inherit; }
.brand { font-size: 18px; letter-spacing: 0.34em; }
.with-star { display: block; }
.statement .big { max-width: 24em; }
.page-hero .wrap > * { max-width: none; }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { max-width: 34em; }
.intro-mark { font-size: clamp(20px, 2.4vw, 32px); }

/* ---- Media pass, measured against sobha-privy-collection.com (39 large media on the home page, 17 full-bleed,
        offset trios of standing images at 410x560 / 600x860 / 410x561) ---- */
.collage { display: grid; grid-template-columns: 1fr 1.46fr 1fr; gap: clamp(14px, 2.6vw, 44px); align-items: center; margin-top: clamp(64px, 8vw, 128px); }
.tile { position: relative; overflow: hidden; background: var(--panel); }
.tile.side { aspect-ratio: 410 / 560; }
.tile.centre { aspect-ratio: 600 / 860; }
.tile.side:first-child { margin-top: 22%; }
.tile.side:last-child { margin-bottom: 26%; }
.tile .clip { }

.film { position: relative; height: 100vh; min-height: 560px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.film .clip { }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 8, 12, 0.25) 22%, rgba(7, 8, 12, 0.25) 78%, var(--bg) 100%); pointer-events: none; }
.film .wrap { width: 100%; }
.film h2.display { font-size: clamp(36px, 8vw, 148px); }
html[dir="rtl"] .film h2.display { font-size: clamp(34px, 7vw, 128px); }
.film p { margin: 28px auto 0; max-width: 30em; color: #dcdde2; font-size: clamp(17px, 1.4vw, 21px); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.8); }
.article-band { height: clamp(240px, 44vh, 480px); }
.band + .posts { margin-top: 0; }

/* ---- Performance pass: no filters or backdrop blur over moving video; overlays darken instead ---- */
.clip { will-change: transform; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(7, 8, 12, 0.5); transition: opacity 0.9s var(--ease); pointer-events: none; }
.panel.is-active::before { opacity: 0; }
.panel-body { z-index: 2; }
.tile::after, .band::before { content: ""; position: absolute; inset: 0; background: rgba(7, 8, 12, 0.14); pointer-events: none; }
.film::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 8, 12, 0.42) 22%, rgba(7, 8, 12, 0.42) 78%, var(--bg) 100%); }
.hero .btn.ghost { background: rgba(7, 8, 12, 0.62); }

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .site-header .wrap { height: 68px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; font-size: 14px; opacity: 1; }
  html[dir="rtl"] .nav a { font-size: 18px; }
  .nav .lang { margin-top: 12px; padding: 10px 18px; font-size: 15px; }
  .hero { padding: 104px 0 36px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7, 8, 12, 0.74) 0%, rgba(7, 8, 12, 0.45) 30%, rgba(7, 8, 12, 0.1) 48%, rgba(7, 8, 12, 0.8) 66%, var(--bg) 100%); }
  .hero-foot { padding-top: 28px; gap: 24px; }
  .head > p:not(.kicker) { justify-self: start; }
  .cols3 { grid-template-columns: 1fr; gap: 28px; }
  .post { grid-template-columns: 1fr; gap: 8px; }
  .post:hover { padding-inline: 0; background: none; }
  .post-go { display: none; }
  .collage { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
  .tile.centre { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 5; }
  .tile.side:first-child, .tile.side:last-child { margin: 0; }
  .film { height: 82vh; min-height: 480px; }
  .page-hero { padding: 132px 0 56px; }
  .head, .svc, .split, .service, .promise li, .with-star { grid-template-columns: 1fr; gap: 24px; }
  .with-star .star-slot { width: 200px; margin: 16px auto 0; }
  .page-hero .star-slot { display: none; }
  .page-hero .wrap > * { max-width: none; }
  .svc:nth-child(even) .tilt { order: 0; }
  .panels { flex-direction: column; height: auto; min-height: 0; gap: 12px; }
  .panel, .panel.is-active { flex: none; height: 64vh; min-height: 420px; }
  .panel .clip { transform: none; }
  .panel-more { grid-template-rows: 1fr; opacity: 1; }
  .svc { padding: 36px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line); }
  .step:nth-child(odd) { padding-inline-start: 0; }
  .step:nth-child(even) { border-inline-end: 0; padding-inline-start: 16px; }
  .step .big { margin-bottom: 20px; }
  .promise li { padding: 28px 0; gap: 10px; }
  .promise li:hover { padding-inline-start: 0; }
  .site-footer .grid { grid-template-columns: 1fr; gap: 36px; }
  .facts div { font-size: 16px; }
  .facts dd { max-width: 62%; }
}
@media (max-width: 480px) {
  .actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .media, .btn, .btn .arr, .promise li, .panel, .clip, .panel-more { transition: none; }
  .intro { display: none; }
  .post { transition: none; }
  .cue::after { animation: none; }
}
