/**
 * LEVANTA — Unified Design System · Full Premium Edition
 */

/* ════════════════════════════════════════════════════════════════
   1. TOKENS
   ════════════════════════════════════════════════════════════════ */
:root {
  /* Canvas & Surfaces: Clean, Luxury Architectural White */
  --bg:          #ffffff;
  --surface:     #ffffff;
  --raised:      #f8fafc;
  --raised-hover:#f1f5f9;
  --line:        #e2e8f0;
  --line-lt:     #cbd5e1;

  /* Typography: Deep Obsidian Slate (High contrast & crisp elegance on white) */
  --text-1: #090e17;
  --text-2: #334155;
  --text-3: #64748b;

  /* Secondary Accent: Refined Champagne Gold */
  --gold:          #b38b47;
  --gold-lt:       #d4af66;
  --gold-dk:       #8a6423;
  --gold-glow:     rgba(179, 139, 71, 0.22);
  --gold-subtle:   rgba(179, 139, 71, 0.08);

  --accent:        var(--gold);
  --accent-lt:     var(--gold-lt);
  --accent-dk:     var(--gold-dk);
  --accent-glow:   var(--gold-glow);
  --accent-subtle: var(--gold-subtle);

  /* Authentic Ratings & Trust Signals (Warm luminous amber for stars) */
  --star:        #f59e0b;
  --star-lt:     #d97706;
  --star-glow:   rgba(245, 158, 11, 0.25);

  /* Status Colors */
  --ok:          #059669;
  --ok-subtle:   rgba(5, 150, 105, 0.1);
  --err:         #dc2626;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ar:    'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  --ease:   cubic-bezier(0.25, 0, 0, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fast: 160ms;
  --mid:  280ms;
  --slow: 480ms;
}

/* ════════════════════════════════════════════════════════════════
   2. RESET
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}


[dir="rtl"] {
  --serif: 'Amiri', Georgia, serif;
  font-family: var(--ar), var(--sans);
  font-size: 1.06em;
  line-height: 1.8;
}

a    { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible  { outline: 1px solid var(--gold) !important; outline-offset: 4px !important; }
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ════════════════════════════════════════════════════════════════
   3. PAGE INTRO LOADER
   ════════════════════════════════════════════════════════════════ */
.page-intro {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fail-safe native CSS animation: auto-dismisses at 1.6s even without JS */
  animation: intro-auto-dismiss 0.75s 1.6s cubic-bezier(0.25, 0, 0, 1) forwards;
  pointer-events: all;
}

.page-intro.dismissed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@keyframes intro-auto-dismiss {
  0% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-wordmark {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--text-1);
  text-transform: uppercase;
  opacity: 0;
  animation: intro-word-in 0.8s 0.15s var(--ease) both;
}

.intro-line {
  height: 1px;
  width: 0;
  background: var(--gold);
  animation: intro-line-in 0.85s 0.5s var(--ease) both;
}

@keyframes intro-word-in {
  from { opacity: 0; letter-spacing: 0.2em; }
  to   { opacity: 1; letter-spacing: 0.5em; }
}
@keyframes intro-line-in {
  from { width: 0; }
  to   { width: 120px; }
}

/* ════════════════════════════════════════════════════════════════
   4. CUSTOM CURSOR
   ════════════════════════════════════════════════════════════════ */
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  z-index: 99997;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width var(--fast) var(--ease), height var(--fast) var(--ease), background var(--fast) var(--ease), opacity 0.2s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  z-index: 99996;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s var(--ease),
    height 0.25s var(--ease),
    border-color 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

/* States */
body.cursor-hover .cursor-dot  { width: 8px; height: 8px; background: #FFFFFF; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: rgba(255, 255, 255, 0.5); }
body.cursor-press .cursor-dot  { width: 3px; height: 3px; }
body.cursor-press .cursor-ring { width: 26px; height: 26px; border-color: rgba(255, 255, 255, 0.4); }

/* Only hide native OS cursor when custom cursor engine is confirmed active */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor button,
  html.has-custom-cursor a,
  html.has-custom-cursor input,
  html.has-custom-cursor select,
  html.has-custom-cursor textarea,
  html.has-custom-cursor .btn,
  html.has-custom-cursor .btn-arrow,
  html.has-custom-cursor .lang-btn,
  html.has-custom-cursor [role="button"] {
    cursor: none !important;
  }
}

/* Hide cursor elements on touch devices */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   5. TYPOGRAPHY
   ════════════════════════════════════════════════════════════════ */
.display-xl {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.display-m {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.body-l {
  font-size: clamp(1rem, 1.4vw, 1.175rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
}
.body-m   { font-size: 0.9375rem; font-weight: 400; line-height: 1.7; color: var(--text-2); }
.body-s   { font-size: 0.8125rem; line-height: 1.65; color: var(--text-2); }
.caption  { font-size: 0.75rem; line-height: 1.5; color: var(--text-3); }
.eyebrow  {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-3);
  margin-bottom: 20px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }

/* ════════════════════════════════════════════════════════════════
   6. LAYOUT
   ════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 80px;
}
@media (max-width: 1100px) { .container { padding-inline: 40px; } }
@media (max-width: 640px)  { .container { padding-inline: 24px; } }

/* ════════════════════════════════════════════════════════════════
   7. BUTTONS
   Luxury rounded pill geometry with high-contrast text and
   fluid gold metallic luster. No square boxes, no invisible text.
   ════════════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 34px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 9999px;           /* Elegant luxury pill contour */
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.25s ease;
}
[dir="rtl"] .btn { letter-spacing: 0; }

/* ── Primary CTA: Solid Radiant Champagne Gold Luster ── */
.btn-primary {
  background: linear-gradient(135deg, #c59b4c 0%, #b38b47 50%, #946c28 100%);
  color: #ffffff !important;
  border-color: rgba(179, 139, 71, 0.4);
  box-shadow: 0 4px 16px rgba(179, 139, 71, 0.26);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d4af66 0%, #c59b4c 50%, #b38b47 100%);
  color: #ffffff !important;
  border-color: rgba(179, 139, 71, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179, 139, 71, 0.38);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(179, 139, 71, 0.2);
}

/* ── Secondary CTA: Clean Light Card with Gold Filigree ── */
.btn-secondary {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-1) !important;
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-secondary:hover {
  background: #fdfbf7;
  color: var(--gold-dk) !important;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(179, 139, 71, 0.14);
}
.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.2);
}
.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ── Button Sizes ── */
.btn-lg {
  height: 54px;
  padding: 0 44px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}
.btn-sm {
  height: 38px;
  padding: 0 22px;
  font-size: 0.525rem;
  letter-spacing: 0.16em;
}

/* ── Arrow text link ── */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  background: none;
  border: none;
  padding: 0;
  position: relative;
  transition: color var(--mid) var(--ease);
}
[dir="rtl"] .btn-arrow { letter-spacing: 0; }
.btn-arrow:hover { color: var(--text-1); }
.btn-arrow .arr {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.7;
  transition: transform var(--mid) var(--ease), opacity var(--mid) var(--ease);
}
.btn-arrow:hover .arr {
  transform: translateX(5px);
  opacity: 1;
}
[dir="rtl"] .btn-arrow:hover .arr {
  transform: translateX(-5px);
}
.btn-arrow::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--mid) var(--ease);
}
.btn-arrow:hover::after {
  width: 100%;
}

/* ════════════════════════════════════════════════════════════════
   8. FORM
   ════════════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-3);
}
[dir="rtl"] .form-label { letter-spacing: 0; }

.form-input, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 18px;
  color: var(--text-1);
  font-size: 0.9375rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--fast) var(--ease);
}
.form-input { height: 50px; }
.form-textarea { height: 150px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-input:focus, .form-textarea:focus { border-color: var(--gold) !important; }

/* ════════════════════════════════════════════════════════════════
   9. HEADER / NAV
   ════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand-anchor { display: inline-flex; align-items: center; text-decoration: none; }
.brand-wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--text-1);
  line-height: 1;
  transition: color var(--mid) var(--ease);
}
[dir="rtl"] .brand-wordmark { letter-spacing: 0.05em; }
.brand-anchor:hover .brand-wordmark { color: var(--text-1); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav-link {
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-3);
  position: relative;
  padding-block: 4px;
  transition: color var(--fast) var(--ease);
}
[dir="rtl"] .nav-link { letter-spacing: 0; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--text-2);
  transition: width var(--mid) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text-1); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-controls { display: flex; align-items: center; gap: 18px; }
.lang-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-lt);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  height: 26px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 0.475rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  border: none;
  cursor: pointer;
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.lang-btn:hover { color: var(--text-1); }
.lang-btn.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}
.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-1);
  transition: all var(--mid) var(--ease);
}
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 190;
  padding-top: 66px;
  transform: translateX(-100%);
  transition: transform var(--mid) var(--ease);
}
[dir="rtl"] .mobile-drawer { transform: translateX(100%); }
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  gap: 28px;
}
.mobile-nav-link {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-2);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  transition: color var(--fast) var(--ease);
}
.mobile-nav-link:hover { color: var(--text-1); }

@media (max-width: 860px) {
  .nav-menu, .nav-controls { display: none; }
  .mobile-nav-toggle { display: flex; }
  .mobile-drawer { display: block; }
}

/* ════════════════════════════════════════════════════════════════
   10. HERO
   ════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

/* Hero blobs and overlay removed for clean Apple-style look */
.hero-blobs { display: none; }
.hero-grid-overlay { display: none; }

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 820px;
}
.hero-content { display: flex; flex-direction: column; gap: 32px; }
.hero-eyebrow { animation: fade-in-up 0.7s 1.2s var(--ease) both; }

/* Split-text headline */
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.headline-row {
  display: block;
  overflow: hidden; /* clip mask for word reveal */
}
.headline-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: word-slide-up 0.85s var(--ease) both;
}
.headline-row:nth-child(1) .headline-word:nth-child(1) { animation-delay: 1.32s; }
.headline-row:nth-child(1) .headline-word:nth-child(2) { animation-delay: 1.44s; }
.headline-row:nth-child(2) .headline-word:nth-child(1) { animation-delay: 1.56s; }
.headline-row:nth-child(2) .headline-word:nth-child(2) { animation-delay: 1.68s; }
.headline-row:nth-child(2) .headline-word:nth-child(3) { animation-delay: 1.80s; }
.headline-row:nth-child(1) .headline-word { margin-right: 0.25em; }
.headline-row:nth-child(2) .headline-word { margin-right: 0.25em; }

@keyframes word-slide-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 480px;
  animation: fade-in-up 0.7s 1.95s var(--ease) both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fade-in-up 0.7s 2.1s var(--ease) both;
}

/* If user taps to dismiss or reduced motion is active, show immediately */
body.intro-done .hero-eyebrow,
body.intro-done .headline-word,
body.intro-done .hero-sub,
body.intro-done .hero-actions {
  animation-delay: 0.05s !important;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 900px) {
  .hero-section { padding-top: 56px; padding-bottom: 64px; }
  /* Disable expensive blur animations on mobile for performance */
  .blob-1, .blob-2, .blob-3 { display: none; }
  /* Headline slightly tighter on mobile */
  .hero-headline { font-size: clamp(2.6rem, 10.5vw, 4.5rem); }
  .hero-sub { max-width: 100%; }
  .hero-actions { gap: 24px; }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-actions .btn-lg { width: 100%; text-align: center; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   11. MARQUEE TICKER
   ════════════════════════════════════════════════════════════════ */
.marquee-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
  overflow: hidden;
  background: transparent;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-item {
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
  white-space: nowrap;
  padding-inline: 28px;
  transition: color var(--fast) var(--ease);
}
.marquee-item:hover { color: var(--text-1); }
.marquee-sep {
  color: var(--text-3);
  opacity: 0.5;
  font-size: 0.5rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ════════════════════════════════════════════════════════════════
   12. SECTIONS
   ════════════════════════════════════════════════════════════════ */
.content-section {
  padding-block: clamp(80px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}
.section-title { margin-bottom: 24px; }

/* ════════════════════════════════════════════════════════════════
   13. ABOUT / MANIFESTO
   ════════════════════════════════════════════════════════════════ */
.manifesto-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}
.manifesto-meta { padding-top: 10px; }
.manifesto-rule {
  width: 40px;
  height: 1px;
  background: var(--line-lt);
  margin-top: 20px;
  opacity: 0.8;
}
.manifesto-headline {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 28px;
  white-space: pre-line;
}
.manifesto-desc { max-width: 560px; }

@media (max-width: 760px) {
  .manifesto-layout { grid-template-columns: 1fr; gap: 0; }
  .manifesto-meta { padding-top: 0; }
}

/* ════════════════════════════════════════════════════════════════
   14. MANIFESTO QUOTE STRIP
   ════════════════════════════════════════════════════════════════ */
.quote-strip {
  padding-block: 72px 80px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--text-1);
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 24px;
}
.quote-mark {
  color: var(--text-3);
  opacity: 0.5;
  font-style: normal;
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
}

/* ════════════════════════════════════════════════════════════════
   15. SERVICES — Editorial List
   ════════════════════════════════════════════════════════════════ */
.services-section {}
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--mid) var(--ease), transform var(--mid) var(--ease), background var(--mid) var(--ease);
}
@media (max-width: 640px) {
  .service-card {
    padding: 24px 20px;
    gap: 16px;
  }
}
.service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--raised);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card-num {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  color: var(--text-3);
  opacity: 0.8;
}
.service-card-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 9999px;
}
.service-card-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.25;
}
.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  flex-grow: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.service-tag {
  font-size: 0.75rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.service-card-action {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.btn-service-inquire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  transition: color var(--fast) var(--ease), gap var(--fast) var(--ease);
}
.btn-service-inquire:hover {
  color: var(--gold-lt);
  gap: 12px;
}
.btn-service-inquire .arr {
  font-style: normal;
  display: inline-block;
  transition: transform var(--fast) var(--ease);
}
.btn-service-inquire:hover .arr {
  transform: translateX(4px);
}
[dir="rtl"] .btn-service-inquire:hover .arr {
  transform: translateX(-4px);
}

/* ════════════════════════════════════════════════════════════════
   16. MARKETS
   ════════════════════════════════════════════════════════════════ */
.markets-section {}
.markets-headline { margin-block: 24px 64px; }
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.market-card {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color var(--mid) var(--ease);
  position: relative;
  overflow: hidden;
}
.market-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--slow) var(--ease);
}
.market-card:hover { background: var(--surface); }
.market-card:hover::before { width: 100%; }

.market-num {
  font-family: var(--serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-3);
  opacity: 0.7;
  margin-bottom: 12px;
}
.market-name {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-1);
  line-height: 1.1;
}
.market-region { color: var(--text-3); margin-bottom: 16px; }
.market-desc   { color: var(--text-2); font-size: 0.875rem; line-height: 1.65; }

@media (max-width: 860px) { .markets-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   17. CONTACT
   ════════════════════════════════════════════════════════════════ */
.contact-section { border-bottom: none; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 96px;
  align-items: start;
}
.contact-lead .section-title { margin-bottom: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }

/* Service Selector Pills in Contact Form */
.service-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-selector-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
}
[dir="rtl"] .service-selector-label { letter-spacing: 0; }
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  user-select: none;
}
.service-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dk);
}
.service-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  font-weight: 600;
}

/* Floating Mobile Quick Action Bar */
.mobile-sticky-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    z-index: 150;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--gold);
    border-radius: 9999px;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-sticky-bar.visible {
    transform: translateY(0);
  }
  .mobile-sticky-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 6px;
  }
  [dir="rtl"] .mobile-sticky-info { padding-left: 0; padding-right: 6px; }
  .mobile-sticky-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
  }
  .mobile-sticky-text {
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--text-1);
  }
  .mobile-sticky-btn {
    background: var(--gold);
    color: #080909;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--fast) var(--ease);
  }
  .mobile-sticky-btn:hover {
    background: var(--gold-lt);
  }
}

@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 56px; } }

/* ════════════════════════════════════════════════════════════════
   18. FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 64px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

/* Large watermark behind footer */
.footer-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 16rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  text-stroke: 1px rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.footer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand-name {
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-2);
}
.footer-tagline { font-size: 0.75rem; color: var(--text-3); }
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-link {
  font-size: 0.475rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: color var(--fast) var(--ease);
}
[dir="rtl"] .footer-link { letter-spacing: 0; }
.footer-link:hover { color: var(--text-1); }
.footer-legal { display: flex; flex-direction: column; gap: 4px; text-align: end; }
[dir="rtl"] .footer-legal { text-align: start; }
@media (max-width: 860px) {
  .footer-layout { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-legal  { text-align: center; }
}

/* ════════════════════════════════════════════════════════════════
   19. COOKIE BANNER
   ════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 16px;
  z-index: 300;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text    { max-width: 680px; color: var(--text-2); font-size: 0.8125rem; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-btn     { height: 34px; padding: 0 20px; font-size: 0.475rem; }

/* ════════════════════════════════════════════════════════════════
   20. LEGAL PAGES
   ════════════════════════════════════════════════════════════════ */
.legal-page    { flex: 1; padding-block: 96px; }
.legal-content { max-width: 720px; }
.legal-content h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 300;
  color: var(--text-1);
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text-1);
  margin-top: 56px;
  margin-bottom: 16px;
}
.legal-content p  { font-size: 0.9375rem; line-height: 1.8; color: var(--text-2); margin-bottom: 16px; }
.legal-content ul { list-style: disc; padding-inline-start: 24px; margin-bottom: 16px; }
.legal-content li { font-size: 0.9375rem; line-height: 1.8; color: var(--text-2); margin-bottom: 8px; }
.legal-content a  { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--text-1); }

/* ════════════════════════════════════════════════════════════════
   21. NOTIFICATIONS
   ════════════════════════════════════════════════════════════════ */
.notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.notification--success { border-color: var(--ok);  color: var(--ok);  background: rgba(93,168,130,.06); }
.notification--error   { border-color: var(--err); color: var(--err); background: rgba(201,96,90,.06); }

/* ════════════════════════════════════════════════════════════════
   22. SCROLL REVEAL  (MWG: scroll-entry-exit-effects)
   ════════════════════════════════════════════════════════════════ */
@keyframes lv-fade-up {
  from { opacity: 0; translate: 0 36px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes lv-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Default hidden state for fallback (JS sets this too) */
.reveal      { opacity: 0; }
.reveal-fade { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      opacity: 1;
      animation: lv-fade-up 0.7s ease-out both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
    .reveal-fade {
      opacity: 1;
      animation: lv-fade-in 0.65s ease-out both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}

/* ════════════════════════════════════════════════════════════════
   23. EXECUTIVE METRICS STRIP
   ════════════════════════════════════════════════════════════════ */
.metrics-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding-block: 32px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--line-lt);
  padding-left: 18px;
}
[dir="rtl"] .metric-card {
  border-left: none;
  border-right: 2px solid var(--line-lt);
  padding-left: 0;
  padding-right: 18px;
}
.metric-value {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--text-1);
  line-height: 1;
}
.metric-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.metric-sub {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.45;
}

/* ════════════════════════════════════════════════════════════════
   24. INTERACTIVE PROJECT ESTIMATOR
   ════════════════════════════════════════════════════════════════ */
.estimator-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 48px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 960px) {
  .estimator-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 36px;
  }
}
.estimator-step-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
  margin-bottom: 14px;
}
[dir="rtl"] .estimator-step-title { letter-spacing: 0; }
.estimator-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .estimator-type-grid {
    grid-template-columns: 1fr;
  }
}
.estimator-type-btn {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
[dir="rtl"] .estimator-type-btn { text-align: right; }
.estimator-type-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.estimator-type-btn.active {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.estimator-type-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-1);
}
.estimator-type-desc {
  font-size: 0.775rem;
  color: var(--text-3);
}
.estimator-features-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.estimator-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-toggle {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.feature-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-1);
}
.feature-toggle.active {
  background: var(--gold);
  color: #080909;
  border-color: var(--gold);
  font-weight: 600;
}
.estimator-summary-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 640px) {
  .estimator-summary-panel { padding: 24px 20px; }
}
.summary-tier-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.summary-tier-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--text-1);
  font-weight: 300;
}
.summary-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-2);
  padding-block: 6px;
}
.summary-meta-value {
  color: var(--text-1);
  font-weight: 500;
}
.estimator-cta-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--gold);
  color: #080909;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease);
  text-align: center;
}
.estimator-cta-btn:hover {
  background: var(--gold-lt);
}

/* ════════════════════════════════════════════════════════════════
   25. ENGINEERING PROTOCOL SECTION
   ════════════════════════════════════════════════════════════════ */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) {
  .protocol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .protocol-grid {
    grid-template-columns: 1fr;
  }
}
.protocol-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color var(--mid) var(--ease);
}
.protocol-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.protocol-step {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--text-3);
  opacity: 0.6;
  line-height: 1;
}
.protocol-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-1);
}
.protocol-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}
.protocol-badge {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ════════════════════════════════════════════════════════════════
   26. FAQ ACCORDION SECTION
   ════════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  max-width: 860px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--fast) var(--ease);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}
.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text-1);
  font-size: 1.0625rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
[dir="rtl"] .faq-question { text-align: right; }
.faq-icon {
  font-size: 1.25rem;
  color: var(--text-2);
  transition: transform var(--fast) var(--ease);
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 28px 24px 28px;
  font-size: 0.925rem;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-item.is-open .faq-answer {
  display: block;
}


/* ════════════════════════════════════════════════════════════════
   27. TESTIMONIALS STRIP
   ════════════════════════════════════════════════════════════════ */
.testimonials-section {
  padding-block: 80px 88px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.testimonials-section .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }
}

.testimonial-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--mid) var(--ease), transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--text-1);
  opacity: 0.07;
  position: absolute;
  top: 16px;
  left: 24px;
  pointer-events: none;
  user-select: none;
}
[dir="rtl"] .testimonial-card::before {
  left: auto;
  right: 24px;
}

.testimonial-stars {
  color: var(--star);
  font-size: 0.85rem;
  letter-spacing: 2px;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-1);
  padding-top: 24px;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.testimonial-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}

.testimonial-sep {
  color: var(--text-3);
  font-size: 0.75rem;
}

.testimonial-co {
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════════
   28. SELECTED ENGAGEMENTS / CASE STUDIES
   ════════════════════════════════════════════════════════════════ */
.work-section {}

.work-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.work-slider-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.work-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dk);
  background: #fdfbf7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(179, 139, 71, 0.18);
}

.work-nav-btn:active {
  transform: translateY(0);
}

[dir="rtl"] .work-nav-btn svg {
  transform: rotate(180deg);
}

.work-slider-track-wrap {
  position: relative;
  margin-top: 40px;
}

.work-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -8px;
  padding: 10px 8px 30px 8px;
}

.work-grid::-webkit-scrollbar {
  display: none;
}

.work-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 320px;
  scroll-snap-align: start;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: border-color var(--mid) var(--ease), transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}

@media (max-width: 1080px) {
  .work-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 290px;
  }
}

@media (max-width: 680px) {
  .work-card {
    flex: 0 0 90%;
    min-width: 260px;
  }
}

.work-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width var(--slow) var(--ease);
}

.work-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(179, 139, 71, 0.18), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.work-card:hover::after {
  width: 100%;
}

.work-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.work-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-market-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-1);
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 9999px;
}

.work-service-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dk);
  background: var(--gold-subtle);
  border: 1px solid rgba(179, 139, 71, 0.2);
  padding: 3px 10px;
  border-radius: 9999px;
}

/* Star Rating & Verified Pill */
.work-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.24);
  padding: 3px 8px;
  border-radius: 9999px;
}

.work-stars {
  color: var(--star);
  font-size: 0.75rem;
  letter-spacing: 1px;
  line-height: 1;
}

.work-rating-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--star-lt);
  line-height: 1;
}

.work-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ok);
  background: var(--ok-subtle);
  border: 1px solid rgba(5, 150, 105, 0.24);
  padding: 3px 8px;
  border-radius: 9999px;
}

.work-verified-pill::before {
  content: '✓';
  font-weight: 700;
}

.work-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.25;
}

.work-card-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

.work-card-desc strong {
  color: var(--text-1);
  font-weight: 500;
}

/* Client Quote Snippet */
.work-client-quote {
  background: var(--raised);
  border-left: 2px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-top: 4px;
}
[dir="rtl"] .work-client-quote {
  border-left: none;
  border-right: 2px solid var(--gold);
  border-radius: 6px 0 0 6px;
}

.work-client-quote-text {
  font-style: italic;
  margin-bottom: 6px;
}

.work-client-author {
  font-size: 0.6875rem;
  color: var(--text-3);
  font-style: normal;
  display: block;
}

.work-client-author strong {
  color: var(--text-1);
  font-weight: 500;
}

.work-tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.work-tech-strip span {
  font-size: 0.6875rem;
  color: var(--text-3);
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
  letter-spacing: 0.04em;
}
