/* ============================================================
   Hamovil HaChadash — Steel & Signal
   ============================================================ */

:root {
  /* Brand palette — Hamovil HaChadash (strict) */
  --red: #DC2626;        /* brand red */
  --red-deep: #B91C1C;   /* hover/active */
  --navy: #1B2D5B;       /* brand navy */
  --navy-deep: #0F1A38;  /* deepest navy (base background) */
  --navy-light: #2A3F77; /* lighter navy surfaces */
  --white: #FFFFFF;      /* pure brand white */
  --bone: #F5F5F5;       /* off-white from brand book */

  /* Aliases used in code */
  --ink: var(--navy-deep);
  --steel: var(--navy);
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(27, 45, 91, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis { scroll-behavior: auto !important; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  background: #FFFFFF;
  color: #0F1A38;
  font-family: 'Assistant', system-ui, sans-serif;
  cursor: none;
}
body.theme-light { background: #FFFFFF; color: #0F1A38; }
body * { cursor: none; }
@media (hover: none) { body, body * { cursor: auto; } }

/* selection */
::selection { background: var(--red); color: var(--bone); }

/* container */
.container-x { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: 24px; }
@media (min-width: 768px) { .container-x { padding-inline: 40px; } }
@media (min-width: 1280px) { .container-x { padding-inline: 56px; } }

/* ============================================================
   GRID BACKDROP
   ============================================================ */
.grid-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(220, 38, 38, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(220, 38, 38, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 35%, transparent 80%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  to { background-position: 80px 80px; }
}

/* (removed floating-crane + crane-rail blocks) */

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(244, 241, 236, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor.is-hover { width: 56px; height: 56px; background: rgba(220, 38, 38, 0.15); border-color: var(--red); }
.cursor.is-arrow { width: 64px; height: 64px; background: var(--red); border-color: var(--red); }
.cursor.is-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F1EC' stroke-width='2'><path d='M19 12H5M12 19l-7-7 7-7'/></svg>");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 1024px) {
  .cursor, .cursor-dot { display: none; }
}

/* ============================================================
   HEADER — professional + sharp two-tier
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(15, 26, 56, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px -12px rgba(15, 26, 56, 0.18);
}

/* Top utility strip — slim, navy bg, white text */
.header-strip {
  background: linear-gradient(90deg, #0F1A38 0%, #1B2D5B 100%);
  color: rgba(255, 255, 255, 0.75);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.header-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 36px;
}
.header-strip-left, .header-strip-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-strip-item svg { color: var(--red); flex-shrink: 0; }
.header-strip-sep {
  width: 1px; height: 14px;
  background: rgba(255, 255, 255, 0.18);
}
.header-strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 100px;
  color: var(--white);
  font-weight: 600;
}
.header-strip-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.8);
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .header-strip-left .header-strip-item:last-child,
  .header-strip-sep { display: none; }
}

/* Main header row */
.header-main { }
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  width: 78px;
  height: 58px;
  display: block;
  flex-shrink: 0;
}
.brand-word { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-name {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #0F1A38;
  letter-spacing: -0.02em;
}
.brand-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 26, 56, 0.55);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .header-nav { display: none; }
}
.nav-link {
  color: rgba(15, 26, 56, 0.72);
  text-decoration: none;
  position: relative;
  padding: 6px 2px;
  transition: color 0.18s ease;
}
.nav-link:hover { color: #0F1A38; }
.nav-link.is-active {
  color: #0F1A38;
  font-weight: 600;
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

/* CTA pill with phone number */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 12px 28px -10px rgba(220, 38, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px rgba(220, 38, 38, 0.7);
}
.header-cta-icon {
  width: 32px; height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-cta-body { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.header-cta-label {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.header-cta-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}
@media (max-width: 640px) {
  .header-cta-body { display: none; }
  .header-cta { padding: 10px; }
}

.header-menu {
  width: 40px; height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #0F1A38;
  background: rgba(15, 26, 56, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(15, 26, 56, 0.08);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
  z-index: 60;
}
.header-menu:hover { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.header-menu > span { display: block; width: 22px; height: 14px; position: relative; }
.header-menu > span i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.25s ease;
}
.header-menu > span i:first-child { top: 0; }
.header-menu > span i:last-child { bottom: 0; }
.header-menu.is-open > span i:first-child { top: 6px; transform: rotate(45deg); }
.header-menu.is-open > span i:last-child { bottom: 6px; transform: rotate(-45deg); }
@media (max-width: 1024px) { .header-menu { display: inline-flex; } }

/* ============ MOBILE NAV OVERLAY ============ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(15, 26, 56, 0.97) 0%, rgba(10, 18, 40, 0.99) 100%);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  direction: rtl;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-close {
  position: absolute;
  top: 22px; left: 22px;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(244, 241, 236, 0.08);
  color: var(--bone);
  border: 1px solid rgba(244, 241, 236, 0.16);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease, border-color 0.25s ease;
  z-index: 2;
}
.mobile-nav-close:hover {
  background: var(--red);
  color: #FFFFFF;
  border-color: var(--red);
  transform: rotate(90deg);
}
.mobile-nav-inner {
  min-height: 100%;
  padding: 100px 28px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0; margin: 0;
  gap: 4px;
}
.mobile-nav-list li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-nav.is-open .mobile-nav-list li { opacity: 1; transform: none; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(3) { transition-delay: 0.16s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(4) { transition-delay: 0.20s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(5) { transition-delay: 0.24s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(6) { transition-delay: 0.28s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(7) { transition-delay: 0.32s; }
.mobile-nav-link {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--bone);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 236, 0.06);
  background: rgba(244, 241, 236, 0.02);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  letter-spacing: -0.01em;
  text-align: right;
}
.mobile-nav-link::after {
  content: "←";
  color: rgba(244, 241, 236, 0.35);
  font-weight: 400;
  font-size: 18px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.is-active {
  background: rgba(220, 38, 38, 0.12);
  color: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.32);
}
.mobile-nav-link:hover::after, .mobile-nav-link.is-active::after { color: var(--red); transform: translateX(-4px); }
.mobile-nav-link.is-active {
  background: var(--red);
  border-color: var(--red);
}
.mobile-nav-link.is-active::after { color: #FFFFFF; }

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 241, 236, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}
.mobile-nav-phone {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--red) 0%, var(--ember) 100%);
  color: #FFFFFF !important;
  border-radius: 999px;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 16px 32px -10px rgba(220, 38, 38, 0.55);
}
.mobile-nav-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(244, 241, 236, 0.5);
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
body.no-scroll { overflow: hidden; }

/* Legacy brand-mark / brand-logo-lg styles (footer) — keep */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 16px -4px rgba(220, 38, 38, 0.5);
}
.brand-logo-lg { width: 108px; height: 80px; display: block; flex-shrink: 0; }

/* Old .btn-cta kept for compatibility but unused now */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; background: var(--red); color: #FFFFFF;
  font-family: 'Heebo', sans-serif; font-weight: 700; font-size: 14px;
  border-radius: 4px; border: 1px solid var(--red);
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.5);
}
.btn-cta:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-cta-dot { width: 6px; height: 6px; background: #FFFFFF; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }

/* ============================================================
   HERO — INTEGRATED light premium (image + text merged)
   ============================================================ */
.hero {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Full-bleed photo backdrop */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 50%;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.05);
  animation: heroBreathe 30s ease-in-out infinite alternate;
}
@keyframes heroBreathe { to { transform: scale(1.10) translateX(-1%); } }

/* WHITE WASH — light overlay that lets photo bleed through on left, dense white on right */
.hero-photo-wash {
  position: absolute;
  inset: 0;
  background:
    /* Main left-to-right wash: photo visible on left, white-dense on right where text sits */
    linear-gradient(280deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 28%,
      rgba(255, 255, 255, 0.68) 48%,
      rgba(255, 255, 255, 0.3) 70%,
      rgba(255, 255, 255, 0.1) 100%),
    /* Subtle navy depth wash on the left side */
    linear-gradient(280deg, transparent 60%, rgba(15, 26, 56, 0.18) 100%),
    /* Red glow accent upper right */
    radial-gradient(ellipse 50% 40% at 80% 15%, rgba(220, 38, 38, 0.08), transparent 60%);
}
.hero-photo-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 26, 56, 0.025) 1px, transparent 1.4px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 30% at 90% 90%, rgba(220, 38, 38, 0.08), transparent 60%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 26, 56, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 56, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 75% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, black 0%, transparent 80%);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(56px, 8vw, 110px);
}

.hero-text {
  text-align: end;
  position: relative;
  max-width: 760px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.hero-text > .hero-eyebrow { flex-shrink: 0; }
.hero-text > .hero-headline { flex-shrink: 0; }
.hero-text > .hero-sub { flex-shrink: 0; }
.hero-text > .hero-actions { margin-top: auto !important; padding-top: clamp(32px, 3.8vw, 48px); }
@media (max-width: 768px) {
  .hero-text { min-height: 0; }
  .hero-text > .hero-actions { margin-top: clamp(24px, 5vw, 36px) !important; padding-top: 0; }
}
.hero-text::before {
  content: "";
  position: absolute;
  top: -18px; right: 0;
  width: 80px; height: 2px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.45);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.hero-eyebrow-line {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--red);
}
.hero-headline {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: #0F1A38;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.6);
}
.hero-headline-line { display: block; overflow: hidden; }
.hero-headline .text-red { color: var(--red); }
.hero-sub {
  margin-top: clamp(22px, 2.5vw, 34px);
  font-family: 'Assistant', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  line-height: 1.5;
  color: rgba(15, 26, 56, 0.72);
  max-width: 42ch;
  margin-left: auto;
}
.hero-sub strong { color: #0F1A38; font-weight: 600; }
.hero-actions {
  margin-top: clamp(32px, 3.8vw, 48px);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .hero-photo img { object-position: 50% 50%; }
  .hero-photo-wash {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.96) 100%);
  }
  .hero-text { text-align: start; margin-left: 0; }
  .hero-text::before { right: auto; left: 0; }
  .hero-sub { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
}

/* Bottom navy stats strip — separator between hero and rest */
.hero-strip {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, #0F1A38 0%, #1B2D5B 100%);
  color: var(--white);
  border-top: 4px solid var(--red);
}
.hero-strip::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 30%; height: 4px;
  background: linear-gradient(to left, transparent, var(--red));
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 30px;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 32px;
  text-align: end;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat:last-child { border-inline-end: none; }
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.hero-stat-num > span {
  font-size: 0.55em;
  color: var(--red);
  margin-inline-start: 4px;
}
.hero-stat-label {
  font-family: 'Assistant', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 768px) {
  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding-block: 24px; }
  .hero-stat { padding: 6px 18px; text-align: start; border-inline-end: none; }
  .hero-stat:nth-child(odd) { border-inline-end: 1px solid rgba(255, 255, 255, 0.1); }
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; background: var(--red); color: var(--white);
  font-family: 'Heebo', sans-serif; font-weight: 700; font-size: 16px;
  border-radius: 4px; border: 1px solid var(--red);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 14px 36px -10px rgba(220, 38, 38, 0.5);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -12px rgba(220, 38, 38, 0.7), 0 0 0 4px rgba(220, 38, 38, 0.12);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; background: rgba(255, 255, 255, 0.85); color: #0F1A38;
  font-family: 'Heebo', sans-serif; font-weight: 600; font-size: 15px;
  border-radius: 4px; border: 1px solid rgba(15, 26, 56, 0.18);
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-ghost:hover { border-color: #0F1A38; background: #FFFFFF; transform: translateY(-2px); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #0F1A38;
  font-family: 'Heebo', sans-serif; font-weight: 600; font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(15, 26, 56, 0.25);
  transition: all 0.2s ease;
}
.btn-link:hover { color: var(--red); border-color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; transform: none; }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--red);
}

/* ============================================================
   VALUES — LIGHT INVERTED SECTION
   ============================================================ */
.values { background: var(--bone); position: relative; }
.value {
  background: var(--bone);
  padding: 40px 28px 36px;
  position: relative;
  transition: background 0.3s ease, transform 0.4s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.value:hover { background: var(--white); transform: translateY(-4px); }
.value::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 3px;
  background: var(--red);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.value:hover::after { width: 100%; }
.value-icon {
  width: 44px; height: 44px;
  color: var(--navy);
  margin-bottom: 28px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.value:hover .value-icon { color: var(--red); transform: scale(1.06); }
.value-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  color: var(--navy-deep);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.value-desc {
  color: rgba(15, 26, 56, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   SERVICES — premium showcase with staggered cards
   ============================================================ */
.services {
  position: relative;
  background: linear-gradient(180deg, #0F1A38 0%, #142143 100%);
  color: var(--white);
  overflow: hidden;
}
.services-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(220, 38, 38, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(27, 45, 91, 0.4), transparent 60%);
}
.services-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.services-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 10vw, 144px);
}

/* Head */
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 88px);
  flex-wrap: wrap;
}
.services-head-left { max-width: 800px; }
.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
}
.services-eyebrow::before { content: none; }
.services-eyebrow-line {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--red);
}
.services-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--white);
}
.services-title-accent {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  padding-inline-start: 0;
}
.services-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 16px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: var(--white);
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.services-cta:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--red); transform: translateY(-1px); }
.services-cta-arrow {
  width: 32px; height: 32px;
  background: var(--red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.services-cta:hover .services-cta-arrow { transform: translateX(-4px); }

/* Grid of cards — staggered heights */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
  }
  /* Staggered offsets for visual rhythm */
  .svc-card--01 { transform: translateY(0); }
  .svc-card--02 { transform: translateY(48px); }
  .svc-card--03 { transform: translateY(0); }
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}
.svc-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(220, 38, 38, 0.15) inset;
}
@media (min-width: 768px) {
  .svc-card--02:hover { transform: translateY(42px) !important; }
}

.svc-card-num {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 5;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px -8px rgba(220, 38, 38, 0.55);
}

.svc-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.svc-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.95);
}
.svc-card:hover .svc-card-media img { transform: scale(1.06); filter: saturate(1.08); }
.svc-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 26, 56, 0.35) 100%);
  pointer-events: none;
}
.svc-card-corner {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 50px 50px;
  border-color: transparent transparent var(--red) transparent;
  z-index: 3;
  transition: border-width 0.4s ease;
}
.svc-card:hover .svc-card-corner { border-width: 0 0 60px 60px; }

.svc-card-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  color: #0F1A38;
  letter-spacing: -0.02em;
  min-height: 2.4em;
}
.svc-card-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15, 26, 56, 0.65);
  margin-bottom: 6px;
}
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  align-self: flex-start;
  transition: gap 0.3s ease, border-color 0.25s ease;
}
.svc-card:hover .svc-card-link { gap: 14px; border-color: var(--red); }

@media (max-width: 768px) {
  .services-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MID CTA
   ============================================================ */
.mid-cta { position: relative; background: var(--steel); overflow: hidden; }
.mid-cta-bg {
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(ellipse 60% 50% at 90% 40%, rgba(220, 38, 38, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(220, 38, 38, 0.08), transparent 60%);
}

.phone-pill {
  background: rgba(10, 18, 40, 0.55);
  border: 1px solid rgba(244, 241, 236, 0.1);
  padding: 16px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}
.phone-pill:hover { border-color: var(--red); background: rgba(10, 18, 40, 0.75); transform: translateY(-2px); }
.phone-pill-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(220, 38, 38, 0.5);
}

/* ============================================================
   LEAD FORM — bright, clear, slight 3D depth
   ============================================================ */
.lead-form {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 36px 32px;
  /* Multi-layer shadow for 3D depth */
  box-shadow:
    0 2px 4px rgba(15, 26, 56, 0.04),
    0 8px 16px rgba(15, 26, 56, 0.06),
    0 24px 48px -12px rgba(15, 26, 56, 0.18),
    0 50px 100px -20px rgba(15, 26, 56, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 26, 56, 0.05);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  /* Slight perspective tilt for depth */
  transform: perspective(1500px) rotateY(0deg) translateY(0);
}
.lead-form:hover {
  transform: perspective(1500px) translateY(-6px);
  box-shadow:
    0 4px 8px rgba(15, 26, 56, 0.05),
    0 16px 30px rgba(15, 26, 56, 0.08),
    0 40px 80px -10px rgba(15, 26, 56, 0.25),
    0 70px 130px -20px rgba(220, 38, 38, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.lead-form::before {
  /* Top red accent ribbon */
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 3px;
  background: linear-gradient(to left, transparent, var(--red) 25%, var(--red) 75%, transparent);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 2px 16px rgba(220, 38, 38, 0.4);
}
.lead-form::after {
  /* Subtle floor reflection */
  content: "";
  position: absolute;
  bottom: -30px; left: 10%; right: 10%;
  height: 30px;
  background: radial-gradient(ellipse at top, rgba(15, 26, 56, 0.12), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

/* Two-column field row */
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .lead-form-grid { grid-template-columns: 1fr; }
}

.field {
  position: relative;
  margin-bottom: 14px;
}
.field--full { grid-column: 1 / -1; }

/* Field with icon — bright input, navy text, large + comfortable */
.field--icon input {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid rgba(15, 26, 56, 0.08);
  border-radius: 10px;
  padding: 18px 52px 18px 20px;
  color: #0F1A38;
  font-family: 'Assistant', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    inset 0 2px 4px rgba(15, 26, 56, 0.04),
    inset 0 -1px 0 rgba(255, 255, 255, 0.8);
}
.field--icon input::placeholder {
  color: rgba(15, 26, 56, 0.45);
  font-weight: 500;
}
.field--icon input:hover {
  background: #FFFFFF;
  border-color: rgba(15, 26, 56, 0.14);
}
.field--icon input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--red);
  box-shadow:
    0 0 0 4px rgba(220, 38, 38, 0.1),
    inset 0 2px 4px rgba(15, 26, 56, 0.04);
  transform: translateY(-1px);
}
.field-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  color: rgba(15, 26, 56, 0.4);
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
.field-icon svg { width: 100%; height: 100%; }
.field--icon:focus-within .field-icon {
  color: var(--red);
  transform: translateY(-50%) scale(1.08);
}

/* 3D submit button */
.form-submit {
  width: 100%;
  margin-top: 12px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #EF4444 0%, var(--red) 50%, var(--red-deep) 100%);
  color: #FFFFFF;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* 3D depth shadow */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 4px 0 var(--red-deep),
    0 6px 12px rgba(220, 38, 38, 0.5),
    0 12px 24px rgba(220, 38, 38, 0.3);
}
.form-submit::before {
  /* Shimmer sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 6px 0 var(--red-deep),
    0 10px 20px rgba(220, 38, 38, 0.6),
    0 18px 32px rgba(220, 38, 38, 0.35);
}
.form-submit:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 0 0 var(--red-deep),
    0 4px 12px rgba(220, 38, 38, 0.5);
}
.form-submit:hover::before { transform: translateX(100%); }
.form-submit-icon { display: inline-flex; transition: transform 0.3s ease; }
.form-submit:hover .form-submit-icon { transform: translateX(-4px); }

.form-success {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 10px;
  color: #0F1A38;
  text-align: center;
  font-weight: 600;
}
.form-success svg { color: #16A34A; }

/* ============================================================
   PROJECTS — clean 3-column showcase (light bone, simple)
   ============================================================ */
.projects {
  position: relative;
  background: #F5F5F5;
  color: #0F1A38;
  overflow: hidden;
}
.projects-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(220, 38, 38, 0.05), transparent 60%);
}
.projects-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 10vw, 144px);
}

/* Head */
.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 80px);
  flex-wrap: wrap;
}
.projects-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #0F1A38;
  max-width: 18ch;
}
.projects-title .text-red { color: var(--red); }
.projects-head-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 22px;
  background: #0F1A38;
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.projects-head-cta:hover { background: var(--red); transform: translateY(-2px); }
.projects-head-arrow {
  width: 28px; height: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.projects-head-cta:hover .projects-head-arrow { transform: translateX(-3px); }

/* 3-column grid */
.projects-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 1024px) { .projects-rows { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-rows { grid-template-columns: 1fr; } }

/* Each project card */
.prj-row {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.prj-row--reverse { /* no-op in this layout */ }

.prj-row-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  box-shadow: 0 30px 60px -30px rgba(15, 26, 56, 0.28);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.prj-row:hover .prj-row-img {
  transform: translateY(-4px);
  box-shadow: 0 40px 70px -30px rgba(15, 26, 56, 0.4);
}
.prj-row-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: saturate(0.96) contrast(1.04);
}
.prj-row:hover .prj-row-img img { transform: scale(1.06); }
.prj-row-img-frame { display: none; }
.prj-row-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 26, 56, 0.25) 100%);
  pointer-events: none;
}

/* Body — clear hierarchy: number tag → title → desc → cta */
.prj-row-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 4px 0;
}
.prj-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.prj-row-counter {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prj-row-counter::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--red);
}
.prj-row-counter-total {
  color: rgba(15, 26, 56, 0.4);
  font-weight: 500;
  margin-inline-start: 2px;
}
.prj-row-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0F1A38;
}
.prj-row-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15, 26, 56, 0.65);
  max-width: 36ch;
}
.prj-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  align-self: flex-start;
  transition: gap 0.3s ease, border-color 0.25s ease;
}
.prj-row-cta:hover { gap: 14px; border-color: var(--red); }
.prj-row-cta::before { content: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; right: 0;
  width: 120px; height: 1px;
  background: var(--red);
}
.footer-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-h::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--red);
}
.footer-link {
  transition: color 0.2s ease;
  display: inline-block;
  padding: 2px 0;
}
.footer-link:hover { color: var(--red); }
.footer-link--red { color: var(--white); }
.footer-link--red:hover { color: #FFFFFF; }

.social {
  width: 36px; height: 36px;
  border: 1px solid rgba(244, 241, 236, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: all 0.25s ease;
}
.social:hover { background: var(--red); border-color: var(--red); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   REVEAL ON SCROLL (only when JS-flagged via .js-on-html)
   Keeps content visible by default for screenshots / no-JS fallback.
   ============================================================ */
html.js-loaded .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(36px);
}
.reveal {
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal.service-card { transition-delay: 0.05s; }
.reveal.service-card:nth-child(2) { transition-delay: 0.15s; }
.reveal.service-card:nth-child(3) { transition-delay: 0.25s; }
.reveal.value:nth-child(2) { transition-delay: 0.08s; }
.reveal.value:nth-child(3) { transition-delay: 0.16s; }
.reveal.value:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   A11Y: REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-img { animation: none; }
  .hero-scroll-line { animation: none; }
  .grid-backdrop { animation: none; }
  body, body * { cursor: auto !important; }
  .cursor, .cursor-dot { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   FOCUS STATES
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .hero-headline { font-size: clamp(2.25rem, 11vw, 4rem); line-height: 0.96; }
  .meta-num { font-size: 1.75rem; }
  .meta-cell { padding-top: 16px; }
  .service-card { aspect-ratio: 4 / 5; }
  .project-body { padding: 28px 24px 32px; }
  .lead-form { padding: 28px 22px; }
  .site-header { background: rgba(10, 18, 40, 0.85); }
}


/* ============================================================
   LIGHT THEME OVERRIDES — applied to body.theme-light
   Rhythm: hero(light) → values(light) → services(dark) → cta(light) → projects(dark) → footer(dark)
   ============================================================ */
body.theme-light .site-header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(15, 26, 56, 0.08);
}
body.theme-light .brand-word .block { color: #0F1A38 !important; }
body.theme-light .nav-link { color: rgba(15, 26, 56, 0.7); }
body.theme-light .nav-link:hover, body.theme-light .nav-link.is-active { color: #0F1A38; }

/* Grid backdrop tones to fit light bg */
body.theme-light .grid-backdrop {
  background-image:
    linear-gradient(to right, rgba(15, 26, 56, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 26, 56, 0.04) 1px, transparent 1px);
}

/* VALUES — already light, keep but polish */
body.theme-light .values {
  background: #F8F8F8;
  position: relative;
}
body.theme-light .values::before, body.theme-light .values::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(15, 26, 56, 0.12), transparent);
}
body.theme-light .values::before { top: 0; }
body.theme-light .values::after { bottom: 0; }
body.theme-light .value { background: #FFFFFF; border-radius: 2px; }
body.theme-light .value:hover { background: #FFFFFF; }

/* SERVICES — KEEP DARK (rhythm break) */
body.theme-light .services { background: #0F1A38; }
body.theme-light .services h2 { color: #FFFFFF; }
body.theme-light .services h2 .text-bone\/55 { color: rgba(255, 255, 255, 0.5); }
body.theme-light .services .btn-link { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.25); }
body.theme-light .services .btn-link:hover { color: var(--red); border-color: var(--red); }

/* MID-CTA — LIGHT bg with red+navy accents */
body.theme-light .mid-cta { background: #F8F8F8; }
body.theme-light .mid-cta-bg {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(220, 38, 38, 0.08), transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(27, 45, 91, 0.08), transparent 65%);
}
body.theme-light .mid-cta h2, body.theme-light .mid-cta h2 * { color: #0F1A38; }
body.theme-light .mid-cta h2 .text-red { color: var(--red); }
body.theme-light .mid-cta .text-bone\/70, body.theme-light .mid-cta p:not(.sr-only) { color: rgba(15, 26, 56, 0.7); }
body.theme-light .section-eyebrow { color: var(--red); }
body.theme-light .section-eyebrow::before { background: var(--red); }
body.theme-light .phone-pill {
  background: #FFFFFF;
  border-color: rgba(15, 26, 56, 0.1);
  box-shadow: 0 12px 32px -12px rgba(15, 26, 56, 0.18);
}
body.theme-light .phone-pill-body .block:first-child { color: rgba(15, 26, 56, 0.5); }
body.theme-light .phone-pill-body .block:last-child { color: #0F1A38; }

/* LEAD FORM — light card variant */
body.theme-light .lead-form {
  background: #FFFFFF;
  border: 1px solid rgba(15, 26, 56, 0.08);
  box-shadow:
    0 60px 120px -40px rgba(15, 26, 56, 0.2),
    0 0 0 1px rgba(15, 26, 56, 0.02) inset;
}
body.theme-light .field--icon input {
  background: #F8F8F8;
  border-color: rgba(15, 26, 56, 0.08);
  color: #0F1A38;
}
body.theme-light .field--icon input::placeholder { color: rgba(15, 26, 56, 0.4); }
body.theme-light .field--icon input:focus {
  background: #FFFFFF;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
body.theme-light .field-icon { color: rgba(15, 26, 56, 0.35); }

/* PROJECTS — KEEP DARK (rhythm) */
/* projects override removed — handled in main projects block */

/* FOOTER — already navy, keep */
/* Footer styles stay dark — no override needed */

/* Selection */
body.theme-light ::selection { background: var(--red); color: var(--white); }


/* Enlarged mid-CTA sub text */
.mid-cta-sub {
  margin-top: 28px;
  font-family: 'Heebo', sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(15, 26, 56, 0.82);
  max-width: 36ch;
}
.mid-cta-sub-accent {
  color: var(--red);
  font-weight: 800;
}

/* Privacy consent checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 16px;
  cursor: pointer;
  font-family: 'Assistant', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(15, 26, 56, 0.72);
}
.form-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.form-consent-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(15, 26, 56, 0.2);
  border-radius: 5px;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  margin-top: 1px;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(15, 26, 56, 0.04);
}
.form-consent-box svg { width: 14px; height: 14px; }
.form-consent input:checked + .form-consent-box {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
  box-shadow: 0 4px 12px -2px rgba(220, 38, 38, 0.4);
}
.form-consent input:focus-visible + .form-consent-box {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.form-consent:hover .form-consent-box { border-color: var(--red); }
.form-consent-text {
  flex: 1;
}
.form-consent-text a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.form-consent-text a:hover { color: var(--red-deep); }


/* ============================================================
   POLISH LAYER — scroll bar, back-to-top, section dividers
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(15, 26, 56, 0.04);
  z-index: 99;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--red-deep), var(--red), #EF4444);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
  transition: width 0.05s linear;
}

.back-to-top {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 12px 28px -8px rgba(220, 38, 38, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 18px 36px -8px rgba(220, 38, 38, 0.7);
}

/* Section dividers — thin red rule between sections */
.values::before, .services::before, .mid-cta::before, .projects::before, .site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(220, 38, 38, 0.3) 30%, var(--red) 50%, rgba(220, 38, 38, 0.3) 70%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

/* Animated counter — number tick-up */
.hero-stat-num, .prj-row-counter { font-variant-numeric: tabular-nums; }

/* Magnetic CTA hover lift refinement */
.btn-primary, .header-cta, .form-submit, .projects-head-cta {
  position: relative;
}

/* Focus-visible refinement for a11y */
a:focus-visible, button:focus-visible, input:focus-visible, label:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================
   MOBILE STICKY PHONE CTA — bottom-right, mobile only
   ============================================================ */
.mobile-phone-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #FFFFFF;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  text-decoration: none;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 16px 32px -6px rgba(220, 38, 38, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-phone-cta svg { width: 24px; height: 24px; position: relative; z-index: 2; }
.mobile-phone-cta:active { transform: scale(0.95); }
.mobile-phone-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: phonePulse 2s ease-out infinite;
  z-index: 1;
}
@keyframes phonePulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.65); opacity: 0; }
}
@media (max-width: 1024px) {
  .mobile-phone-cta { display: inline-flex; }
  /* Adjust back-to-top to not conflict */
  .back-to-top { bottom: 24px; left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-phone-pulse { animation: none; opacity: 0; }
}



/* ============================================================
   ABOUT PAGE — clean RTL, full image usage
   ============================================================ */

/* HERO additions */
.about-hero { padding-top: 72px; }
.about-hero .hero-photo img {
  object-position: 30% center !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
  animation: none !important;
  width: 100% !important;
  height: 100% !important;
}
.about-hero .hero-photo {
  background: linear-gradient(180deg, #1B2D5B 0%, #0F1A38 100%);
}
@media (max-width: 768px) {
  .about-hero .hero-photo img { object-position: 40% center !important; }
}
.about-hero-headline {
  font-size: clamp(2.2rem, 5vw, 4.6rem) !important;
  max-width: 17ch;
  margin-left: auto;
}
.about-hero-badge {
  position: absolute;
  bottom: clamp(96px, 12vw, 144px);
  left: clamp(28px, 4vw, 80px);
  width: clamp(140px, 16vw, 240px);
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(220, 38, 38, 0.25));
  animation: aboutBadgeBreathe 6s ease-in-out infinite;
}
@keyframes aboutBadgeBreathe {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(4deg) scale(1.04); }
}
@media (max-width: 768px) {
  .about-hero-badge { left: auto; right: 24px; bottom: auto; top: 92px; width: 110px; }
}

/* Common section + eyebrow + H2 — strict RTL */
.ab-section {
  position: relative;
  padding-block: clamp(80px, 9vw, 132px);
}
.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.ab-eyebrow--white { color: rgba(255, 255, 255, 0.85); }
.ab-eyebrow-bar { width: 36px; height: 1px; background: currentColor; display: inline-block; }
.ab-h2 {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #0F1A38;
  margin-bottom: 22px;
}
.ab-h2--white { color: var(--white); }
.ab-h2 .text-red { color: var(--red); }
.ab-corner {
  position: absolute;
  width: 44px; height: 44px;
  border: 2px solid var(--red);
  pointer-events: none;
  z-index: 3;
}
.ab-corner--tl { top: -10px; right: -10px; border-bottom: none; border-left: none; }
.ab-corner--br { bottom: -10px; left: -10px; border-top: none; border-right: none; }

/* STORY */
.ab-story { background: #FFFFFF; }
.ab-story-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(40px, 5.5vw, 88px);
  align-items: center;
}
@media (max-width: 1024px) { .ab-story-grid { grid-template-columns: 1fr; } }
.ab-story-text { text-align: end; }
.ab-prose { display: flex; flex-direction: column; gap: 18px; }
.ab-prose p {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.75;
  color: rgba(15, 26, 56, 0.74);
  text-align: end;
}
.ab-story-figure { display: flex; flex-direction: column; gap: 18px; }
.ab-story-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #F5F5F5;
  box-shadow: 0 50px 100px -30px rgba(15, 26, 56, 0.32), 0 0 0 1px rgba(15, 26, 56, 0.04);
}
.ab-story-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.95);
}
.ab-story-caption {
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding: 18px 4px 0;
  border-top: 1px solid rgba(15, 26, 56, 0.12);
  text-align: right !important;
  direction: rtl;
}
.ab-caption-name {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0F1A38;
  text-align: right !important;
  direction: rtl;
}
.ab-caption-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  text-align: right !important;
  direction: rtl;
  margin-top: 6px;
}

/* HERITAGE STRIP */
.ab-heritage { background: #F8F8F8; padding-block: clamp(80px, 9vw, 120px); }
.ab-heritage-head { text-align: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ab-heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 768px) { .ab-heritage-grid { grid-template-columns: 1fr; } }
.ab-heritage-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(15, 26, 56, 0.2);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ab-heritage-card:hover { transform: translateY(-4px); }
.ab-heritage-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #0F1A38;
}
.ab-heritage-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.7s ease;
}
.ab-heritage-card:hover .ab-heritage-img img { transform: scale(1.04); }
.ab-heritage-card figcaption {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: end;
  border-top: 2px solid var(--red);
}
.ab-heritage-year {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--red);
  letter-spacing: -0.02em;
}
.ab-heritage-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 26, 56, 0.55);
}

/* VISION + PILLARS */
.ab-vision { background: #FFFFFF; }
.ab-vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
@media (max-width: 1024px) { .ab-vision-grid { grid-template-columns: 1fr; } }
.ab-vision-text { text-align: end; }
.ab-vision-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.6;
  color: rgba(15, 26, 56, 0.7);
  max-width: 48ch;
  margin-left: auto;
}
.ab-vision-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 50px 100px -30px rgba(15, 26, 56, 0.32), 0 0 0 1px rgba(15, 26, 56, 0.04);
}
.ab-vision-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.ab-vision-img:hover img { transform: scale(1.06); }
.ab-vision-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 8px 14px;
  background: var(--red);
  color: var(--white);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -6px rgba(220, 38, 38, 0.55);
  z-index: 2;
}

/* PILLARS */
.ab-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .ab-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ab-pillars { grid-template-columns: 1fr; } }
.ab-pillar {
  position: relative;
  padding: 36px 30px 32px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 20px 40px -20px rgba(15, 26, 56, 0.15);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  text-align: right !important;
  direction: rtl;
  border: 1px solid rgba(15, 26, 56, 0.05);
}
.ab-pillar * { text-align: right !important; }
.ab-pillar:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -20px rgba(15, 26, 56, 0.22); }
.ab-pillar::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 3px;
  background: var(--red);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ab-pillar:hover::before { width: 100%; }
.ab-pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
}
.ab-pillar-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0F1A38;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ab-pillar-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(15, 26, 56, 0.65);
}

.ab-tagline {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  letter-spacing: -0.02em;
  color: #0F1A38;
  padding: 28px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 20px 40px -20px rgba(15, 26, 56, 0.15), inset 0 0 0 1px rgba(220, 38, 38, 0.18);
}

/* TEAM */
.ab-team { background: #F8F8F8; }
.ab-team-head { text-align: end; margin-bottom: clamp(48px, 6vw, 80px); }
.ab-team-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  color: rgba(15, 26, 56, 0.72);
  max-width: 64ch;
  margin-left: auto;
}
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) { .ab-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ab-team-grid { grid-template-columns: 1fr; } }
.ab-member {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 36px -18px rgba(15, 26, 56, 0.18);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.ab-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -20px rgba(15, 26, 56, 0.28);
}
.ab-member-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.ab-member-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95);
  transition: transform 0.7s ease, filter 0.4s ease;
}
.ab-member:hover .ab-member-img img { transform: scale(1.04); filter: saturate(1.05); }
.ab-member-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 26, 56, 0.25) 100%);
}
.ab-member-body {
  padding: 20px 22px 22px;
  text-align: right !important;
  direction: rtl;
  position: relative;
}
.ab-member-body * { text-align: right !important; }
.ab-member-body::before {
  content: "";
  position: absolute;
  top: 0; right: 22px;
  width: 44px; height: 2px;
  background: var(--red);
}
.ab-member-name {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0F1A38;
  margin: 14px 0 6px;
  letter-spacing: -0.02em;
}
.ab-member-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

/* TIMELINE */
.ab-timeline {
  background: linear-gradient(180deg, #0F1A38 0%, #142143 100%);
  color: var(--white);
}
.ab-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 90% 10%, rgba(220, 38, 38, 0.12), transparent 60%);
  pointer-events: none;
}
.ab-timeline-head { text-align: end; margin-bottom: clamp(56px, 7vw, 88px); position: relative; z-index: 2; }
@media (max-width: 768px) {
  .ab-timeline-head, .ab-timeline-head * { text-align: center !important; }
  .ab-timeline-head .ab-eyebrow { justify-content: center !important; }
  .ab-timeline-head .ab-h2 { margin-left: auto; margin-right: auto; }
  .ab-milestone, .ab-milestone * { text-align: center !important; }
  .ab-milestone-year, .ab-milestone-title, .ab-milestone-desc { margin-left: auto; margin-right: auto; }
}
.ab-timeline-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .ab-timeline-track { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 540px) { .ab-timeline-track { grid-template-columns: 1fr; gap: 40px; } }
.ab-timeline-track::before {
  content: "";
  position: absolute;
  top: 32px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--red) 15%, var(--red) 85%, transparent);
  z-index: 0;
}
@media (max-width: 1024px) { .ab-timeline-track::before { display: none; } }
.ab-milestone {
  position: relative;
  padding-top: 80px;
  text-align: end;
}
.ab-milestone-dot {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.22), 0 0 20px rgba(220, 38, 38, 0.6);
  z-index: 2;
}
.ab-milestone--current .ab-milestone-dot {
  background: var(--white);
  box-shadow: 0 0 0 6px var(--red), 0 0 28px rgba(220, 38, 38, 0.85);
  animation: pulse 2s ease-in-out infinite;
}
.ab-milestone-year {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ab-milestone-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ab-milestone-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* SAFETY + QUALITY */
.ab-safety { background: #FFFFFF; }
.ab-safety-head { text-align: end; margin-bottom: clamp(48px, 6vw, 80px); }
.ab-safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 768px) { .ab-safety-grid { grid-template-columns: 1fr; } }
.ab-safety-card {
  background: #F8F8F8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  box-shadow: 0 24px 48px -22px rgba(15, 26, 56, 0.2);
}
.ab-safety-card:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -22px rgba(15, 26, 56, 0.28); }
.ab-safety-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy);
}
.ab-safety-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
  transition: transform 0.7s ease;
}
.ab-safety-card:hover .ab-safety-img img { transform: scale(1.05); }
.ab-safety-body {
  padding: 30px 32px 34px;
  text-align: right !important;
  direction: rtl;
  border-top: 3px solid var(--red);
}
.ab-safety-body * { text-align: right !important; }
.ab-safety-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #0F1A38;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ab-safety-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(15, 26, 56, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-badge { animation: none; }
  .ab-milestone--current .ab-milestone-dot { animation: none; }
}


/* Force right-alignment on about hero text (match home) */
.about-hero .hero-text { text-align: right !important; }
.about-hero .hero-eyebrow { justify-content: flex-end; }
.about-hero-headline { margin-left: auto; margin-right: 0; text-align: right; }
.about-hero .hero-sub { margin-left: auto; margin-right: 0; text-align: right; max-width: 48ch; }
.about-hero .hero-actions { justify-content: flex-end; }

/* Force right-alignment on story text block */
.ab-story-text { text-align: right !important; }
.ab-story-text .ab-eyebrow { justify-content: flex-end; }
.ab-story-text .ab-h2 { text-align: right; }
.ab-prose p { text-align: right !important; }

/* Force right-alignment on all about section heads */
.ab-vision-text, .ab-team-head, .ab-safety-head, .ab-timeline-head, .ab-heritage-head {
  text-align: right !important;
}
.ab-vision-text .ab-eyebrow, .ab-team-head .ab-eyebrow, .ab-safety-head .ab-eyebrow,
.ab-timeline-head .ab-eyebrow, .ab-heritage-head .ab-eyebrow {
  justify-content: flex-end;
}
.ab-vision-sub, .ab-team-sub { margin-right: 0; margin-left: auto; }


/* Transparent founder portrait — soft warm background */
.ab-story-frame--transparent {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(220, 38, 38, 0.06), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
  box-shadow:
    0 50px 100px -30px rgba(15, 26, 56, 0.32),
    0 0 0 1px rgba(15, 26, 56, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ab-story-frame--transparent img {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 40px rgba(15, 26, 56, 0.22));
}

/* ============ PRESS / MEDIA — 3D ============ */
.ab-press {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(220, 38, 38, 0.05), transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(27, 45, 91, 0.06), transparent 55%),
    linear-gradient(180deg, #F4F1EC 0%, #ECE9E2 100%);
  direction: rtl;
  perspective: 1400px;
  overflow: hidden;
}
.ab-press-head { text-align: right; margin-bottom: clamp(48px, 6vw, 72px); max-width: 760px; }
.ab-press-head .ab-eyebrow { justify-content: flex-end; }
.ab-press-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.ab-press-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(15, 26, 56, 0.65);
  line-height: 1.6;
}
.ab-press-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
  perspective: 1400px;
  perspective-origin: 50% 30%;
}
@media (min-width: 900px) { .ab-press-grid { grid-template-columns: minmax(0, 760px); justify-content: center; } }

.ab-press-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: stretch;
  padding: 40px 44px;
  background:
    linear-gradient(155deg, #FFFFFF 0%, #F8F6F1 100%);
  border-radius: 16px;
  text-align: right;
  text-decoration: none;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(8deg) rotateY(-2deg) translateZ(0);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 -2px 0 rgba(15, 26, 56, 0.04) inset,
    0 1px 0 rgba(15, 26, 56, 0.08),
    0 8px 18px -8px rgba(15, 26, 56, 0.18),
    0 28px 50px -18px rgba(15, 26, 56, 0.28),
    0 54px 100px -30px rgba(15, 26, 56, 0.32),
    0 90px 160px -50px rgba(220, 38, 38, 0.18);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  isolation: isolate;
  overflow: hidden;
}
.ab-press-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(220, 38, 38, 0.3) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.ab-press-card-edge {
  position: absolute;
  inset: auto 0 -14px 0;
  height: 28px;
  background: linear-gradient(180deg, rgba(15, 26, 56, 0.18), transparent 70%);
  filter: blur(12px);
  border-radius: 50%;
  z-index: -1;
  transform: scaleX(0.85);
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.ab-press-card-shine {
  position: absolute;
  top: -40%; right: -20%;
  width: 70%; height: 180%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  transform: translateX(-30%) rotate(8deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}
.ab-press-card:hover {
  transform: perspective(1400px) rotateX(2deg) rotateY(0deg) translateY(-10px) translateZ(20px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(15, 26, 56, 0.04) inset,
    0 1px 0 rgba(15, 26, 56, 0.08),
    0 12px 24px -10px rgba(15, 26, 56, 0.22),
    0 40px 70px -22px rgba(15, 26, 56, 0.32),
    0 70px 130px -34px rgba(15, 26, 56, 0.36),
    0 120px 200px -60px rgba(220, 38, 38, 0.28);
}
.ab-press-card:hover .ab-press-card-shine {
  transform: translateX(80%) rotate(8deg);
  opacity: 1;
}

.ab-press-logo-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F0EBE2 100%);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 26, 56, 0.08),
    inset 0 0 0 1px rgba(15, 26, 56, 0.06),
    0 8px 16px -8px rgba(15, 26, 56, 0.18);
  transform: translateZ(20px);
  z-index: 2;
}
.ab-press-logo {
  width: 100%; height: auto;
  max-width: 130px;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(15, 26, 56, 0.15));
}

.ab-press-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.ab-press-meta {
  display: flex; align-items: center; gap: 14px;
  flex-direction: row-reverse;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.ab-press-tag {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  padding: 5px 11px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.18);
}
.ab-press-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(15, 26, 56, 0.5);
}
.ab-press-headline {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.85vw, 1.55rem);
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ab-press-excerpt {
  font-family: 'Assistant', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 26, 56, 0.68);
  margin-bottom: 22px;
}
.ab-press-link {
  display: inline-flex; align-items: center; gap: 8px;
  flex-direction: row-reverse;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--red);
  letter-spacing: -0.005em;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s ease;
  align-self: flex-start;
}
.ab-press-link svg { transform: scaleX(-1); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ab-press-card:hover .ab-press-link { border-color: var(--red); }
.ab-press-card:hover .ab-press-link svg { transform: scaleX(-1) translateX(-6px); }

@media (max-width: 720px) {
  .ab-press-card {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    transform: perspective(1400px) rotateX(4deg) rotateY(0deg);
  }
  .ab-press-logo-wrap { max-width: 200px; margin: 0 0 12px auto; transform: translateZ(15px); }
  .ab-press-card:hover {
    transform: perspective(1400px) rotateX(1deg) translateY(-6px) translateZ(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-press-card { transform: none; transition: none; }
  .ab-press-card:hover { transform: translateY(-4px); }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero .hero-photo img {
  object-position: 30% 50% !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
  animation: none !important;
  width: 100% !important;
  height: 100% !important;
}
.services-hero .hero-photo {
  background: linear-gradient(180deg, #1B2D5B 0%, #0F1A38 100%);
}
@media (max-width: 768px) {
  .services-hero .hero-photo img { object-position: 40% 30% !important; }
}
.services-hero .hero-photo {
  background: linear-gradient(180deg, #1B2D5B 0%, #0F1A38 100%);
}
@media (max-width: 768px) {
  .services-hero .hero-photo img { object-position: 50% 50% !important; }
}

/* RTL hero text — force right alignment + right-anchored block */
.services-hero .hero-text {
  text-align: right !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  direction: rtl;
  max-width: 720px;
}
.services-hero .hero-text * { text-align: right !important; }
.services-hero .hero-eyebrow {
  justify-content: flex-start !important;
  flex-direction: row-reverse;
}
.services-hero .hero-headline-line { display: block; text-align: right !important; }
.services-hero .hero-sub {
  margin-right: 0 !important;
  margin-left: auto !important;
  max-width: 580px;
}
.services-hero .hero-actions {
  justify-content: flex-start !important;
  flex-direction: row-reverse !important;
}
.services-hero-headline {
  font-size: clamp(2.2rem, 5vw, 4.6rem) !important;
  max-width: 16ch;
  margin-left: auto;
}
@media (max-width: 768px) {
  .services-hero .hero-photo img { object-position: 50% 100% !important; }
}

.sv-section { padding: clamp(80px, 10vw, 140px) 0; direction: rtl; }
.sv-grid-section {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(220, 38, 38, 0.04), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(27, 45, 91, 0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8F6F1 100%);
  perspective: 1800px;
}
.sv-head {
  text-align: right;
  max-width: 760px;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.sv-head .ab-eyebrow { justify-content: flex-end; }
.sv-head-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(15, 26, 56, 0.65);
  line-height: 1.65;
  margin-top: 18px;
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1100px) { .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .sv-grid { grid-template-columns: 1fr; } }

.sv-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(170deg, #FFFFFF 0%, #F4F1EC 100%);
  border-radius: 14px;
  overflow: hidden;
  text-align: right;
  direction: rtl;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(15, 26, 56, 0.05) inset,
    0 12px 32px -18px rgba(15, 26, 56, 0.22),
    0 32px 70px -28px rgba(15, 26, 56, 0.28);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  border: 1px solid rgba(15, 26, 56, 0.06);
}
.sv-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(15, 26, 56, 0.05) inset,
    0 18px 40px -18px rgba(15, 26, 56, 0.28),
    0 48px 92px -30px rgba(15, 26, 56, 0.34),
    0 80px 140px -50px rgba(220, 38, 38, 0.18);
}

.sv-card-num {
  position: absolute;
  top: 18px; right: 22px;
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #FFFFFF;
  background: var(--red);
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow:
    0 4px 12px -4px rgba(220, 38, 38, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sv-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}
.sv-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 56, 0) 60%, rgba(15, 26, 56, 0.18) 100%);
  pointer-events: none;
}
.sv-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.96) contrast(1.04);
}
.sv-card:hover .sv-card-img img { transform: scale(1.08); filter: saturate(1.05) contrast(1.06); }

.sv-card-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--red);
  z-index: 2;
}
.sv-card-corner--tr { top: 12px; left: 12px; border-bottom: 0; border-right: 0; }
.sv-card-corner--bl { bottom: 12px; right: 12px; border-top: 0; border-left: 0; }

.sv-card-body {
  padding: 26px 28px 30px;
  border-top: 3px solid var(--red);
  flex: 1;
  display: flex; flex-direction: column;
  text-align: right !important;
  direction: rtl;
}
.sv-card-body * { text-align: right !important; }

.sv-card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sv-card-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sv-card-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Assistant', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(15, 26, 56, 0.72);
  text-align: right !important;
}
.sv-tick {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.22);
}

.sv-grid-tagline {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(15, 26, 56, 0.55);
  letter-spacing: -0.005em;
  padding: 18px 24px;
  border-top: 1px solid rgba(15, 26, 56, 0.08);
  border-bottom: 1px solid rgba(15, 26, 56, 0.08);
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-hero .hero-photo img {
  object-position: center 75% !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
  animation: none !important;
  width: 100% !important;
  height: 100% !important;
}
.projects-hero .hero-photo { background: linear-gradient(180deg, #1B2D5B 0%, #0F1A38 100%); }
.projects-hero-headline { font-size: clamp(2.2rem, 5vw, 4.6rem) !important; max-width: 14ch; margin-left: auto; }

/* RTL on hero text */
.projects-hero .hero-text {
  text-align: right !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  direction: rtl;
}
.projects-hero .hero-text * { text-align: right !important; }
.projects-hero .hero-eyebrow { justify-content: flex-start !important; flex-direction: row-reverse; }
.projects-hero .hero-sub {
  margin-right: 0 !important;
  margin-left: auto !important;
  max-width: 580px;
  unicode-bidi: plaintext;
}
.projects-hero .hero-actions { justify-content: flex-start !important; flex-direction: row-reverse !important; }

.pj-section {
  padding: clamp(80px, 10vw, 140px) 0;
  direction: rtl;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(220, 38, 38, 0.04), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(27, 45, 91, 0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F1EC 100%);
}
.pj-head {
  text-align: right;
  max-width: 760px;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.pj-head .ab-eyebrow { justify-content: flex-end; }
.pj-head-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(15, 26, 56, 0.65);
  line-height: 1.65;
  margin-top: 18px;
}
.pj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1100px) { .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .pj-grid { grid-template-columns: 1fr; } }

.pj-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border-radius: 12px;
  text-align: right !important;
  direction: rtl;
  border: 1px solid rgba(15, 26, 56, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 28px -16px rgba(15, 26, 56, 0.2),
    0 28px 56px -24px rgba(15, 26, 56, 0.22);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, border-color 0.3s ease;
  overflow: hidden;
}
.pj-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}
.pj-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.96) contrast(1.04);
}
.pj-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 56, 0) 55%, rgba(15, 26, 56, 0.22) 100%);
  pointer-events: none;
}
.pj-card:hover .pj-card-img img { transform: scale(1.08); filter: saturate(1.05) contrast(1.06); }

.pj-card > .pj-card-meta { padding: 24px 30px 0; }
.pj-card > .pj-card-title { padding: 0 30px; }
.pj-card > .pj-card-desc { padding: 0 30px 28px; }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-hero .hero-photo img {
  object-position: center 75% !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
  animation: none !important;
  width: 100% !important;
  height: 100% !important;
}
.careers-hero .hero-photo { background: linear-gradient(180deg, #1B2D5B 0%, #0F1A38 100%); }
.careers-hero-headline { font-size: clamp(2.4rem, 5.4vw, 5rem) !important; max-width: 14ch; margin-left: auto; }

/* RTL hero text */
.careers-hero .hero-text { text-align: right !important; margin-right: 0 !important; margin-left: auto !important; direction: rtl; }
.careers-hero .hero-text * { text-align: right !important; }
.careers-hero .hero-eyebrow { justify-content: flex-start !important; flex-direction: row-reverse; }
.careers-hero .hero-sub { margin-right: 0 !important; margin-left: auto !important; max-width: 600px; unicode-bidi: plaintext; }
.careers-hero .hero-actions { justify-content: flex-start !important; flex-direction: row-reverse !important; }

.cr-section {
  padding: clamp(80px, 10vw, 140px) 0;
  direction: rtl;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(220, 38, 38, 0.05), transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(27, 45, 91, 0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8F6F1 100%);
}
.cr-head { text-align: right; max-width: 760px; margin-bottom: clamp(56px, 7vw, 88px); }
.cr-head .ab-eyebrow { justify-content: flex-end; }
.cr-head-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(15, 26, 56, 0.65);
  line-height: 1.65;
  margin-top: 18px;
}

.cr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 800px) { .cr-grid { grid-template-columns: 1fr; } }

.cr-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 36px 32px;
  background: #FFFFFF;
  border-radius: 14px;
  text-align: right !important;
  direction: rtl;
  border: 1px solid rgba(15, 26, 56, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 32px -18px rgba(15, 26, 56, 0.22),
    0 32px 64px -28px rgba(15, 26, 56, 0.26);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, border-color 0.3s ease;
  overflow: hidden;
}
.cr-card * { text-align: right !important; }
.cr-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  height: 100%; width: 4px;
  background: linear-gradient(180deg, var(--red) 0%, var(--ember) 100%);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cr-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 20px 40px -18px rgba(15, 26, 56, 0.28),
    0 48px 90px -30px rgba(15, 26, 56, 0.32),
    0 80px 140px -45px rgba(220, 38, 38, 0.18);
}
.cr-card:hover::before { width: 8px; }

.cr-card-head {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cr-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--red);
  padding: 6px 12px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.22);
}
.cr-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(15, 26, 56, 0.5);
  text-transform: uppercase;
}
.cr-card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.cr-card-hook {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(15, 26, 56, 0.85);
  margin-bottom: 16px;
}
.cr-card-list {
  list-style: none;
  padding: 0; margin: 0 0 18px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cr-card-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Assistant', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15, 26, 56, 0.72);
}
.cr-tick {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.22);
}
.cr-card-cta-line {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--red);
  margin-bottom: 20px;
}
.cr-card-apply {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--navy);
  color: #FFFFFF !important;
  border-radius: 999px;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  letter-spacing: -0.01em;
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 8px 18px -8px rgba(15, 26, 56, 0.5);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cr-card-apply:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(220, 38, 38, 0.5);
}
.cr-card-apply svg { transform: scaleX(-1); }

.cr-direct {
  margin-top: clamp(48px, 6vw, 72px);
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--navy) 0%, #0F1A38 100%);
  border-radius: 14px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 24px 56px -24px rgba(15, 26, 56, 0.4);
  position: relative;
  overflow: hidden;
}
.cr-direct::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(220, 38, 38, 0.2), transparent 60%);
  pointer-events: none;
}
.cr-direct-body { text-align: right; position: relative; z-index: 1; }
.cr-direct-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(244, 241, 236, 0.55);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cr-direct-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  color: var(--bone);
  letter-spacing: -0.02em;
}
.cr-direct-cta {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--bone) !important;
  background: var(--red);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(220, 38, 38, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; z-index: 1;
}
.cr-direct-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(220, 38, 38, 0.6); }

/* ============================================================
   SALES PAGE
   ============================================================ */
.sales-hero .hero-photo img {
  object-position: center 100% !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
  animation: none !important;
  width: 100% !important;
  height: 100% !important;
}
.sales-hero .hero-photo {
  background: #0F1A38;
}
.sales-hero-headline { font-size: clamp(2.4rem, 5.4vw, 5rem) !important; max-width: 14ch; margin-left: auto; }
@media (max-width: 768px) {
  .sales-hero .hero-photo img { object-position: 20% center !important; }
}

.sales-hero .hero-text { text-align: right !important; margin-right: 0 !important; margin-left: auto !important; direction: rtl; }
.sales-hero .hero-text * { text-align: right !important; }
.sales-hero .hero-eyebrow { justify-content: flex-start !important; flex-direction: row-reverse; }
.sales-hero .hero-sub { margin-right: 0 !important; margin-left: auto !important; max-width: 600px; unicode-bidi: plaintext; }
.sales-hero .hero-actions { justify-content: flex-start !important; flex-direction: row-reverse !important; }

.sl-section { padding: clamp(80px, 10vw, 140px) 0; direction: rtl; }
.sl-why-section {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(220, 38, 38, 0.05), transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(27, 45, 91, 0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8F6F1 100%);
}
.sl-head { text-align: right; max-width: 760px; margin-bottom: clamp(56px, 7vw, 88px); }
.sl-head .ab-eyebrow { justify-content: flex-end; }
.sl-head-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(15, 26, 56, 0.65);
  line-height: 1.65;
  margin-top: 18px;
}
.sl-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) { .sl-pillars { grid-template-columns: 1fr; } }

.sl-pillar {
  position: relative;
  padding: 36px 32px 32px;
  background: #FFFFFF;
  border-radius: 14px;
  text-align: right !important;
  direction: rtl;
  border: 1px solid rgba(15, 26, 56, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 32px -18px rgba(15, 26, 56, 0.2),
    0 32px 64px -28px rgba(15, 26, 56, 0.24);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, border-color 0.3s ease;
  overflow: hidden;
}
.sl-pillar * { text-align: right !important; }
.sl-pillar::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--ember));
  transform-origin: right center;
  transform: scaleX(0.4);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sl-pillar:hover { transform: translateY(-6px); border-color: rgba(220, 38, 38, 0.18); box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 20px 40px -18px rgba(15, 26, 56, 0.26), 0 48px 90px -30px rgba(15, 26, 56, 0.32); }
.sl-pillar:hover::before { transform: scaleX(1); }

.sl-pillar--featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF6F4 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px -18px rgba(220, 38, 38, 0.18),
    0 40px 84px -30px rgba(15, 26, 56, 0.28);
}
.sl-pillar--featured::before { transform: scaleX(1); }

.sl-pillar-head { display: flex; flex-direction: row-reverse; align-items: center; gap: 14px; margin-bottom: 16px; }
.sl-pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--red);
  padding: 6px 12px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.22);
}
.sl-pillar-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(15, 26, 56, 0.5);
  text-transform: uppercase;
}
.sl-pillar-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sl-pillar-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 26, 56, 0.72);
  margin: 0 0 16px 0;
}
.sl-pillar-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sl-pillar-list li {
  display: flex; flex-direction: row; align-items: flex-start; gap: 10px;
  font-family: 'Assistant', sans-serif;
  font-size: 14.5px; line-height: 1.55;
  color: rgba(15, 26, 56, 0.72);
}
.sl-check {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  margin-top: 2px;
  box-shadow: 0 3px 8px -2px rgba(220, 38, 38, 0.4);
}

/* Inventory section */
.sl-inventory-section {
  background: linear-gradient(180deg, #F8F6F1 0%, #F4F1EC 100%);
}
.sl-inventory-card {
  position: relative;
  padding: clamp(48px, 7vw, 80px) clamp(36px, 5vw, 64px);
  background: linear-gradient(135deg, var(--navy) 0%, #0F1A38 100%);
  border-radius: 18px;
  text-align: right;
  direction: rtl;
  color: var(--bone);
  box-shadow:
    0 30px 68px -28px rgba(15, 26, 56, 0.5),
    0 60px 130px -50px rgba(220, 38, 38, 0.2);
  overflow: hidden;
}
.sl-inventory-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 30%, rgba(220, 38, 38, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(27, 45, 91, 0.5), transparent 55%);
  pointer-events: none;
}
.sl-inventory-card > * { position: relative; z-index: 1; }
.sl-inventory-status {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(220, 38, 38, 0.18);
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.3);
}
.sl-inventory-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
  animation: sl-pulse 2s ease-in-out infinite;
}
@keyframes sl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.0); }
}
.sl-inventory-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 600;
}
.sl-inventory-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--bone);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-align: right !important;
}
.sl-inventory-desc {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: rgba(244, 241, 236, 0.72);
  max-width: 640px;
  margin-bottom: 32px;
  text-align: right !important;
}
.sl-inventory-actions {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 16px;
}
.sl-inventory-cta { box-shadow: 0 18px 36px -14px rgba(220, 38, 38, 0.55); }
.sl-inventory-phone {
  background: rgba(244, 241, 236, 0.08) !important;
  color: var(--bone) !important;
  border-color: rgba(244, 241, 236, 0.25) !important;
}
.sl-inventory-phone:hover { background: rgba(244, 241, 236, 0.14) !important; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero .hero-photo img {
  object-position: center 75% !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
  animation: none !important;
  width: 100% !important;
  height: 100% !important;
}
.contact-hero .hero-photo { background: linear-gradient(180deg, #1B2D5B 0%, #0F1A38 100%); }
.contact-hero-headline { font-size: clamp(2.4rem, 5.4vw, 5rem) !important; max-width: 14ch; margin-left: auto; }
.contact-hero .hero-text { text-align: right !important; margin-right: 0 !important; margin-left: auto !important; direction: rtl; }
.contact-hero .hero-text * { text-align: right !important; }
.contact-hero .hero-eyebrow { justify-content: flex-start !important; flex-direction: row-reverse; }
.contact-hero .hero-sub { margin-right: 0 !important; margin-left: auto !important; max-width: 600px; unicode-bidi: plaintext; }
.contact-hero .hero-actions { justify-content: flex-start !important; flex-direction: row-reverse !important; }

.ct-section {
  padding: clamp(80px, 10vw, 140px) 0;
  direction: rtl;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(220, 38, 38, 0.05), transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(27, 45, 91, 0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8F6F1 100%);
}
.ct-head { text-align: right; max-width: 760px; margin-bottom: clamp(56px, 7vw, 88px); }
.ct-head .ab-eyebrow { justify-content: flex-end; }

.ct-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1024px) { .ct-grid { grid-template-columns: 1fr; } }

/* Contact info card (navy) */
.ct-info {
  position: relative;
  padding: 40px 36px;
  background: linear-gradient(180deg, var(--navy) 0%, #0F1A38 100%);
  border-radius: 16px;
  color: var(--bone);
  text-align: right !important;
  direction: rtl;
  box-shadow:
    0 30px 68px -28px rgba(15, 26, 56, 0.5),
    0 60px 130px -50px rgba(220, 38, 38, 0.18);
  overflow: hidden;
}
.ct-info * { text-align: right !important; }
.ct-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(220, 38, 38, 0.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(27, 45, 91, 0.4), transparent 60%);
  pointer-events: none;
}
.ct-info > * { position: relative; z-index: 1; }

.ct-info-section { padding: 6px 0; }
.ct-info-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.ct-info-phone {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--bone) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.ct-info-phone:hover { color: var(--red) !important; }
.ct-info-note {
  font-family: 'Assistant', sans-serif;
  font-size: 13.5px;
  color: rgba(244, 241, 236, 0.55);
  line-height: 1.5;
}
.ct-info-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 241, 236, 0.14), transparent);
  margin: 22px 0;
}
.ct-info-label {
  display: flex; flex-direction: row-reverse; align-items: center; gap: 8px;
  justify-content: flex-end;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(244, 241, 236, 0.55);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ct-info-label svg { color: var(--red); flex-shrink: 0; }
.ct-info-label-only {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(244, 241, 236, 0.55);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ct-info-value {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--bone);
}
.ct-info-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15.5px;
  color: var(--bone) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 236, 0.25);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.ct-info-link:hover { color: var(--red) !important; border-color: var(--red); }

.ct-info-phones {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  text-align: right;
}
.ct-info-phones a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  color: rgba(244, 241, 236, 0.78) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}
.ct-info-phones a:hover { color: var(--red) !important; }

.ct-social-row {
  display: flex; flex-direction: row-reverse; gap: 10px;
  justify-content: flex-end;
}
.ct-social {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(244, 241, 236, 0.08);
  color: var(--bone) !important;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(244, 241, 236, 0.12);
}
.ct-social:hover { background: var(--red); color: var(--bone) !important; transform: translateY(-2px); border-color: var(--red); }

/* Form */
.ct-form {
  position: relative;
  padding: 40px 40px;
  background: #FFFFFF;
  border-radius: 16px;
  text-align: right !important;
  direction: rtl;
  border: 1px solid rgba(15, 26, 56, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px -18px rgba(15, 26, 56, 0.22),
    0 40px 84px -28px rgba(15, 26, 56, 0.28);
}
.ct-form * { text-align: right !important; }
.ct-form-head { margin-bottom: 28px; }
.ct-form-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.ct-form-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.ct-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 540px) { .ct-form-grid { grid-template-columns: 1fr; } }

.field--select { position: relative; }
.field--select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 18px 50px 18px 44px;
  font-family: 'Assistant', sans-serif;
  font-size: 15.5px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid rgba(15, 26, 56, 0.12);
  border-radius: 10px;
  text-align: right !important;
  direction: rtl;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field--select select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}
.field--select select:invalid { color: rgba(15, 26, 56, 0.48); }
.field-chevron {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 26, 56, 0.5);
  pointer-events: none;
}
.field--select .field-icon { right: 16px; left: auto; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.tnx-body { background: #FFFFFF; }

.tnx-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(220, 38, 38, 0.06), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(27, 45, 91, 0.07), transparent 55%),
    linear-gradient(180deg, #F4F1EC 0%, #F8F6F1 100%);
  direction: rtl;
}
.tnx-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.tnx-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 26, 56, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 56, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.tnx-bg-aurora {
  position: absolute;
  top: 10%; right: 10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  animation: tnx-float 14s ease-in-out infinite;
}
@keyframes tnx-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}
.tnx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: tnx-orb-float 18s ease-in-out infinite;
}
.tnx-orb--1 {
  top: 18%; left: 12%;
  width: 12px; height: 12px;
  background: var(--red);
  opacity: 0.6;
}
.tnx-orb--2 {
  bottom: 22%; left: 26%;
  width: 8px; height: 8px;
  background: var(--navy);
  opacity: 0.4;
  animation-delay: -6s;
}
.tnx-orb--3 {
  top: 35%; right: 18%;
  width: 6px; height: 6px;
  background: var(--red);
  opacity: 0.5;
  animation-delay: -12s;
}
@keyframes tnx-orb-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 18px); }
}

.tnx-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.tnx-card {
  max-width: 720px;
  width: 100%;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(15, 26, 56, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 60px -28px rgba(15, 26, 56, 0.22),
    0 60px 130px -40px rgba(15, 26, 56, 0.3),
    0 100px 200px -50px rgba(220, 38, 38, 0.15);
  direction: rtl;
}

.tnx-check {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  position: relative;
}
.tnx-check::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(220, 38, 38, 0.18);
  animation: tnx-pulse 2.5s ease-out infinite;
}
@keyframes tnx-pulse {
  0% { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.3); opacity: 0; }
}
.tnx-check-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: tnx-draw-circle 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.tnx-check-mark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: tnx-draw-check 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}
@keyframes tnx-draw-circle { to { stroke-dashoffset: 0; } }
@keyframes tnx-draw-check { to { stroke-dashoffset: 0; } }

.tnx-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.tnx-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.tnx-sub {
  font-family: 'Assistant', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(15, 26, 56, 0.7);
  line-height: 1.55;
  margin-bottom: 38px;
}

.tnx-actions {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.tnx-cta-primary {
  box-shadow: 0 18px 36px -14px rgba(220, 38, 38, 0.55);
}
.tnx-cta-secondary {
  display: inline-flex !important;
  flex-direction: row-reverse !important;
  align-items: center;
  gap: 10px;
}
.tnx-cta-secondary svg { color: var(--red); }

.tnx-quick {
  padding-top: 36px;
  border-top: 1px solid rgba(15, 26, 56, 0.08);
}
.tnx-quick-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(15, 26, 56, 0.5);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tnx-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 540px) { .tnx-quick-grid { grid-template-columns: 1fr; } }
.tnx-quick-link {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(15, 26, 56, 0.04);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.tnx-quick-link:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(15, 26, 56, 0.18);
}
.tnx-quick-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
}
.tnx-quick-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ============================================================
   LEAD POPUP — page-load delayed modal
   ============================================================ */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  direction: rtl;
}
.lead-popup.is-open { opacity: 1; pointer-events: auto; }

.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(220, 38, 38, 0.18), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(27, 45, 91, 0.5), transparent 60%),
    rgba(10, 18, 40, 0.62);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.lead-popup-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F6F1 100%);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 40px 80px -32px rgba(15, 26, 56, 0.45),
    0 80px 160px -60px rgba(220, 38, 38, 0.25);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(15, 26, 56, 0.08);
}
.lead-popup.is-open .lead-popup-card { transform: translateY(0) scale(1); }

.lead-popup-close {
  position: absolute;
  top: 14px; left: 14px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15, 26, 56, 0.06);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.lead-popup-close:hover { background: var(--red); color: #FFFFFF; transform: rotate(90deg); }

.lead-popup-frame {
  padding: 18px 24px 18px;
  text-align: right;
}
@media (max-width: 540px) { .lead-popup-frame { padding: 16px 14px 14px; } }

.lead-popup-head { margin-bottom: 10px; padding-left: 36px; }
.lead-popup-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding: 3px 9px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.18);
}
.lead-popup-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.lead-popup-sub {
  font-family: 'Assistant', sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(15, 26, 56, 0.7);
}

.lead-popup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 540px) { .lead-popup-grid { grid-template-columns: 1fr; } }

.lead-popup-form .field--full { margin-bottom: 8px; }
.lead-popup-form .form-consent { margin-bottom: 8px; font-size: 11.5px; line-height: 1.35; }
.lead-popup-form .form-field input,
.lead-popup-form .form-field textarea,
.lead-popup-form .form-field select { padding: 8px 11px; font-size: 13.5px; }
.lead-popup-form .form-field textarea { min-height: 52px; }
.lead-popup-form .form-field label { font-size: 11.5px; margin-bottom: 3px; }

.lead-popup-submit {
  width: 100%;
  justify-content: center !important;
  padding: 10px 20px !important;
  font-size: 14.5px !important;
}

.lead-popup-or {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0 8px;
  color: rgba(15, 26, 56, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lead-popup-or::before,
.lead-popup-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15, 26, 56, 0.1);
}

.lead-popup-phone {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 18px;
  background: rgba(15, 26, 56, 0.04);
  color: var(--navy) !important;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid rgba(15, 26, 56, 0.1);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.lead-popup-phone:hover {
  background: var(--navy);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  border-color: var(--navy);
}
.lead-popup-phone svg { color: var(--red); transition: color 0.3s ease; }
.lead-popup-phone:hover svg { color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .lead-popup, .lead-popup-card, .lead-popup-close { transition: none; }
}
.pj-card * { text-align: right !important; }
.pj-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  height: 100%; width: 3px;
  background: linear-gradient(180deg, var(--red) 0%, var(--ember) 100%);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 18px 36px -16px rgba(15, 26, 56, 0.26),
    0 42px 78px -28px rgba(15, 26, 56, 0.30),
    0 70px 130px -40px rgba(220, 38, 38, 0.18);
}
.pj-card:hover::before { width: 6px; }

.pj-card-meta {
  display: flex; flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.pj-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--red);
  padding: 6px 12px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.2);
}
.pj-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(15, 26, 56, 0.5);
  text-transform: uppercase;
}
.pj-card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.pj-card-desc {
  font-family: 'Assistant', sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(15, 26, 56, 0.7);
  margin: 0;
}
