/* ==========================================================================
   Prodart / פרודארט — Shared Styles
   Bilingual Hebrew (RTL) / English (LTR) support
   Dark theme with warm gold/copper/cream accents
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Dark theme (default) — charcoal + warm copper editorial */
  --navy-900: #0a0a0c;
  --navy-800: #111114;
  --navy-700: #161619;
  --navy-600: #1f1f24;
  --gold: #c9a05a;
  --gold-light: #e3bf7f;
  --gold-deep: #936b34;
  --cream: #f4ede0;
  --text-primary: #f4ede0;
  --text-secondary: #cbc4b6;
  --text-muted: #8a8478;
  --border-soft: rgba(201, 160, 90, 0.16);
  --border-strong: rgba(201, 160, 90, 0.38);
  --glow-gold: 0 0 60px rgba(201, 160, 90, 0.16);
  --glow-blue: 0 0 80px rgba(15, 22, 30, 0.6);
  --accent-cyan: #6ed0e0;
  --accent-cyan-soft: rgba(110, 208, 224, 0.14);
  --base-font-size: 16px;
  --line-spacing: 1.65;
  --container-max: 1200px;
  --container-padding: 24px;
  --header-height: 72px;
}

/* Light theme override (for accessibility) */
html[data-theme="light"] {
  --navy-900: #f5f1e8;
  --navy-800: #faf7ee;
  --navy-700: #ffffff;
  --navy-600: #f0eadb;
  --text-primary: #0a1628;
  --text-secondary: #2a3954;
  --text-muted: #5a6b85;
  --gold: #8b6f2f;
  --gold-light: #a8843e;
  --border-soft: rgba(139, 111, 47, 0.25);
  --border-strong: rgba(139, 111, 47, 0.5);
}

/* High contrast override */
html[data-contrast="high"] {
  --navy-900: #000000;
  --navy-800: #000000;
  --navy-700: #050505;
  --navy-600: #0a0a0a;
  --gold: #ffd600;
  --gold-light: #ffeb3b;
  --gold-deep: #c9a800;
  --cream: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #e8e8e8;
  --border-soft: #ffd600;
  --border-strong: #ffd600;
  --glow-gold: none;
  --glow-blue: none;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--base-font-size); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--text-primary);
  font-family: 'Heebo', 'Assistant', system-ui, sans-serif;
  line-height: var(--line-spacing);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* English/LTR font override */
html[lang="en"] body { font-family: 'Inter', system-ui, sans-serif; }

/* Font families */
.font-display { font-family: 'Playfair Display', 'Heebo', serif; letter-spacing: -0.01em; }
.font-brand { font-family: 'Playfair Display', 'Heebo', serif; }
html[lang="en"] .font-display { font-family: 'Playfair Display', 'Inter', serif; }

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection { background: var(--gold); color: var(--navy-900); }

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 16px;
  background: var(--gold);
  color: var(--navy-900);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--cream); outline-offset: 2px; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
@media (max-width: 640px) { .container { padding: 0 18px; } }

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.section--bg { background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%); }
.section--navy { background: var(--navy-800); }
.section--dark { background: radial-gradient(ellipse at top, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%); }

/* Logical property helpers */
.text-start { text-align: start; }
.text-end { text-align: end; }
.margin-start-auto { margin-inline-start: auto; }
.margin-end-auto { margin-inline-end: auto; }
.padding-inline { padding-inline: var(--container-padding); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; color: var(--cream); margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

p, li { color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }

.gold-grad-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
html[dir="rtl"] .eyebrow::before { order: 1; }

.lead { font-size: clamp(1.125rem, 2.5vw, 1.5rem); color: var(--text-secondary); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: var(--navy-900);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(201, 165, 92, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 165, 92, 0.45);
  filter: brightness(1.08);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(201, 165, 92, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

html[data-contrast="high"] .btn-primary {
  background: #ffd600 !important;
  color: #000 !important;
  border: 2px solid #ffd600 !important;
  box-shadow: none !important;
}
html[data-contrast="high"] .btn-ghost {
  background: #000 !important;
  color: #ffd600 !important;
  border: 2px solid #ffd600 !important;
}

/* --- Cards --- */
.card {
  background: linear-gradient(145deg, rgba(20, 41, 72, 0.55) 0%, rgba(15, 30, 54, 0.75) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(8px);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}
html[data-theme="light"] .card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(10, 22, 40, 0.08);
}
html[data-theme="light"] .card:hover {
  box-shadow: 0 8px 24px rgba(139, 111, 47, 0.15);
}
html[data-contrast="high"] .card {
  background: #000 !important;
  border-color: #ffd600 !important;
}

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.375rem;
}
.form-label .required { color: var(--gold); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid var(--border-soft);
  color: var(--cream);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
  background: rgba(15, 30, 54, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 165, 92, 0.18);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
html[data-theme="light"] .form-input, html[data-theme="light"] .form-textarea, html[data-theme="light"] .form-select {
  background: #ffffff;
  color: var(--text-primary);
}
html[data-contrast="high"] .form-input, html[data-contrast="high"] .form-textarea, html[data-contrast="high"] .form-select {
  background: #000 !important;
  border-color: #ffd600 !important;
  color: #fff !important;
}

.form-status {
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.form-status--success {
  display: flex;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid #25D366;
  color: #25D366;
}
.form-status--error {
  display: flex;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
}
.form-status--sending {
  display: flex;
  background: rgba(201, 165, 92, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.5s ease;
}
.header--scrolled {
  background: rgba(6, 13, 28, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.5rem 0;
}
html[data-theme="light"] .header--scrolled { background: rgba(250, 247, 238, 0.9); }
html[data-contrast="high"] .header--scrolled { background: #000 !important; border-color: #ffd600 !important; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.78);
}
.logo-text { display: none; }
html[lang="en"] .brand-he { display: none; }
html[lang="he"] .brand-en { display: none; }

.nav { display: none; gap: 1.25rem; font-size: 0.88rem; align-items: center; }
@media (min-width: 1180px) { .nav { display: flex; } }
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0);
  transform-origin: start;
  transition: transform 0.3s ease;
}
html[dir="rtl"] .nav-link::after { transform-origin: end; }
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-switch:hover {
  border-color: var(--border-strong);
  color: var(--gold-light);
}
.lang-switch:focus-visible { outline-offset: 2px; }

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  height: 40px;
  padding: 0 .85rem;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .25s ease;
}
.mobile-menu-btn:hover { color: var(--gold-light); border-color: var(--border-strong); }
.mobile-menu-btn-label { display: none; font-size: .82rem; letter-spacing: .04em; }
@media (min-width: 768px) { .mobile-menu-btn-label { display: inline; } }
@media (min-width: 1180px) { .mobile-menu-btn { display: none; } }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 900;
  padding: 6rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html[dir="rtl"] .mobile-menu { transform: translateX(-100%); }
.mobile-menu--open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--cream);
  cursor: pointer;
}
.mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu-link:hover { color: var(--gold-light); }
.mobile-menu-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* --- Hero --- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,13,28,0.5) 0%, rgba(10,22,40,0.85) 70%, var(--navy-800) 100%);
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(201, 165, 92, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(20, 65, 130, 0.3) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
html[dir="rtl"] .hero-glow::after { right: auto; left: 10%; }

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-strip {
  margin-top: 3rem;
  border-block: 1px solid var(--border-soft);
  padding-block: 1.25rem;
  overflow: hidden;
  background: rgba(6, 13, 28, 0.3);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-x 40s linear infinite;
}
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[data-reduced-motion="true"] .marquee-track { animation: none; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text-muted);
}
.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

/* --- Section Background Images --- */
.section-with-bg { position: relative; overflow: hidden; }
.section-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: grayscale(80%) contrast(1.15) brightness(1.05);
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}
.section-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--navy-800) 90%);
}
html[data-theme="light"] .section-bg-img { opacity: 0.05; mix-blend-mode: multiply; filter: grayscale(60%); }
html[data-contrast="high"] .section-bg-img { display: none; }
.section-content { position: relative; z-index: 1; }

/* --- Gold Line Divider --- */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  margin: 2.5rem 0;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.stat-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.5rem; }

/* --- Grid Utilities --- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* --- Service Cards --- */
.service-card { padding: 1.75rem; display: flex; flex-direction: column; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 165, 92, 0.08);
  border: 1px solid var(--border-soft);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-title { font-family: 'Playfair Display', serif; font-size: 1.375rem; color: var(--cream); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.service-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.service-meta strong { color: var(--gold-light); }
.service-price { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--gold-light); margin-top: auto; }

/* --- Package Cards --- */
.package-card { position: relative; padding: 2rem; }
.package-badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 600;
}
html[dir="rtl"] .package-badge { left: auto; right: 50%; transform: translateX(50%); }
.package-sku { font-size: 0.7rem; letter-spacing: 0.08em; color: var(--gold-light); background: rgba(201, 165, 92, 0.08); border: 1px solid var(--border-soft); padding: 0.25rem 0.75rem; border-radius: 4px; display: inline-block; margin-bottom: 1rem; }
.package-title { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--cream); margin-bottom: 0.75rem; }
.package-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.package-price { font-family: 'Playfair Display', serif; font-size: 2.25rem; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 600; margin-bottom: 1.5rem; }
.package-featured { border-color: var(--gold); box-shadow: var(--glow-gold); }

/* --- Process Steps --- */
.step-card { padding: 2rem; position: relative; }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin-bottom: 1rem;
}
.step-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent); margin: 1rem 0; }
.step-title { font-family: 'Playfair Display', serif; font-size: 1.375rem; color: var(--cream); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.9rem; color: var(--text-secondary); }

/* --- Why/Trust Items --- */
.trust-item { padding: 1.5rem; }
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 165, 92, 0.08);
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.trust-title { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--cream); margin-bottom: 0.375rem; }
.trust-desc { font-size: 0.85rem; color: var(--text-secondary); }

/* --- Portfolio --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }
.portfolio-tile {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-800) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 165, 92, 0.15), transparent 60%);
  transition: opacity 0.4s ease;
}
.portfolio-tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--glow-gold);
}
.portfolio-tile img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 35%, rgba(6,13,28,0.92) 100%);
}
.portfolio-tile-number { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.portfolio-tile-title { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--cream); }

/* --- Testimonials --- */
.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 1rem;
}
.testimonial-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; flex: 1; }
.testimonial-author { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); }
.testimonial-name { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--cream); }
.testimonial-role { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-top: 0.25rem; }

/* --- FAQ --- */
.faq-item { border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, rgba(20, 41, 72, 0.55) 0%, rgba(15, 30, 54, 0.75) 100%); }
.faq-summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-question { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--cream); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; }

/* --- Compare Table --- */
.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0.25rem;
  border-bottom: 1px dashed var(--border-soft);
}
.compare-row:last-child { border-bottom: none; }
@media (max-width: 640px) { .compare-row { grid-template-columns: 1fr; gap: 0.375rem; } }
.compare-bad { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(201, 165, 92, 0.45); }
.compare-good { color: var(--cream); font-weight: 500; }
.compare-arrow { color: var(--gold); font-size: 1.5rem; }
@media (max-width: 640px) { .compare-arrow { display: none; } }
html[dir="rtl"] .compare-arrow { transform: rotate(180deg); }

/* --- Footer --- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 0;
}
.footer-top { display: flex; flex-direction: column; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); max-width: 300px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-link:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-legal a { color: var(--text-secondary); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-light); }

/* --- WhatsApp Float --- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6); }
@media (max-width: 640px) { .wa-float { bottom: 5.5rem; } }
html[data-contrast="high"] .wa-float { background: #25D366 !important; color: #000 !important; border: 3px solid #ffd600 !important; }

/* --- Mobile CTA Bar --- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 750;
  background: linear-gradient(180deg, rgba(10,22,40,0.6) 0%, var(--navy-900) 60%);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-soft);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  display: none;
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
}
html[data-theme="light"] .mobile-cta-bar { background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, #faf7ee 60%); }

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 2000;
  background: var(--navy-900);
  border-top: 1px solid var(--border-strong);
  padding: 1.25rem var(--container-padding);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner--visible { transform: translateY(0); }
@media (max-width: 640px) {
  .cookie-banner--visible ~ .mobile-cta-bar { transform: translateY(-100%); }
}
.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 640px) { .cookie-banner-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.cookie-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-btn { padding: 0.625rem 1.25rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent; }
.cookie-btn--accept { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%); color: var(--navy-900); border-color: var(--gold); }
.cookie-btn--accept:hover { filter: brightness(1.08); }
.cookie-btn--reject { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.cookie-btn--reject:hover { border-color: var(--gold); color: var(--gold-light); }
.cookie-btn--manage { background: transparent; color: var(--text-secondary); border-color: var(--border-soft); }
.cookie-btn--manage:hover { color: var(--gold-light); border-color: var(--border-strong); }

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-modal-overlay--visible { opacity: 1; visibility: visible; }
.cookie-modal {
  background: var(--navy-800);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.cookie-modal-overlay--visible .cookie-modal { transform: translateY(0); }
.cookie-modal-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1.5rem; }
.cookie-modal-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--cream); }
.cookie-modal-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border-soft); border-radius: 8px; color: var(--text-secondary); cursor: pointer; transition: all 0.3s ease; }
.cookie-modal-close:hover { border-color: var(--gold); color: var(--gold-light); }
.cookie-category { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-soft); }
.cookie-category:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cookie-category-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.cookie-category-name { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--cream); }
.cookie-category-toggle { position: relative; width: 48px; height: 28px; background: var(--border-soft); border-radius: 9999px; border: none; cursor: pointer; transition: background 0.3s ease; }
.cookie-category-toggle--on { background: var(--gold); }
.cookie-category-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: white; border-radius: 50%; transition: transform 0.3s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
html[dir="rtl"] .cookie-category-toggle::after { left: auto; right: 3px; }
.cookie-category-toggle--on::after { transform: translateX(20px); }
html[dir="rtl"] .cookie-category-toggle--on::after { transform: translateX(-20px); }
.cookie-category-toggle:disabled { opacity: 0.5; cursor: not-allowed; }
.cookie-category-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.cookie-modal-footer { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 10000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}
html[dir="rtl"] .scroll-progress-bar {
  background: linear-gradient(270deg, var(--gold-deep), var(--gold-light));
  transform-origin: right center;
}

/* --- Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1), transform 0.9s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
html[data-reduced-motion="true"] .reveal { opacity: 1; transform: none; transition: none; }

/* --- SVG Icons --- */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon--sm { width: 20px; height: 20px; }
.icon--md { width: 24px; height: 24px; }
.icon--lg { width: 32px; height: 32px; }
.icon--xl { width: 48px; height: 48px; }

/* --- Accessibility Panel --- */
.a11y-toggle {
  position: fixed;
  top: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 8px 0 0 8px;
  background: var(--gold);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -2px 4px 18px rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
}
html[dir="ltr"] .a11y-toggle { inset-inline-end: auto; inset-inline-start: 0; border-radius: 0 8px 8px 0; box-shadow: 2px 4px 18px rgba(0,0,0,0.3); }
html[data-contrast="high"] .a11y-toggle { background: #ffd600 !important; color: #000 !important; border: 2px solid #fff !important; }
.a11y-panel {
  position: fixed;
  top: 50%;
  inset-inline-end: 60px;
  transform: translateY(-50%);
  width: 290px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--navy-700);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.25rem;
  z-index: 950;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
html[dir="ltr"] .a11y-panel { inset-inline-end: auto; inset-inline-start: 60px; }
.a11y-panel::-webkit-scrollbar { width: 6px; }
.a11y-panel::-webkit-scrollbar-track { background: transparent; }
.a11y-panel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.a11y-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: start;
}
.a11y-btn:hover { border-color: var(--border-strong); }
.a11y-btn--active { background: var(--gold); color: var(--navy-900); border-color: var(--gold); font-weight: 600; }
.a11y-btn:focus-visible { outline-offset: 2px; }
.a11y-section { margin-bottom: 1rem; }
.a11y-section-title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.5rem; }

/* --- Utilities --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Rebuild additions: section heads, grids, cards, footer, consent, legal --- */
.hero-content { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.1; margin-bottom: 1.5rem; color: var(--cream); }
.hero-lead { margin-bottom: 2rem; max-width: 720px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section-head { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head .subtitle { color: var(--gold-light); font-size: 1.1rem; margin: 0.25rem 0 1rem; }
.section-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.5rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card-pad { padding: 1.75rem; }
.card-title { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--cream); }
.card-link { display: inline-block; margin-top: 1rem; color: var(--gold-light); text-decoration: none; font-size: 0.9rem; }
.card-link:hover { color: var(--gold); }

.bullet-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.5rem; max-width: 820px; margin-inline: auto; }
.bullet-grid li { position: relative; padding-inline-start: 1.5rem; color: var(--text-secondary); }
.bullet-grid li::before { content: '◆'; position: absolute; inset-inline-start: 0; color: var(--gold); font-size: 0.7rem; top: 0.5rem; }
@media (max-width: 600px) { .bullet-grid { grid-template-columns: 1fr; } }

.fact-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 0.5rem; }
.fact-list li { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--border-soft); border-radius: 10px; background: rgba(10, 22, 40, 0.4); }
.fact-list .fact-label { color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 720px) { .fact-list li { grid-template-columns: 1fr; gap: 0.25rem; } }

.ai-status-card { max-width: 820px; margin: 0 auto; }
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(201,165,92,0.15); border: 1px solid var(--border-strong); color: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }

/* Asymmetric editorial About layout — photo tilts, text overlays the bottom band */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: end; max-width: 1080px; margin: 0 auto; position: relative; padding-block: 2rem; }
.about-photo { transform: rotate(-1.5deg); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.about-photo:hover { transform: rotate(0deg) scale(1.01); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center 30%; border-radius: 16px; border: 1px solid var(--border-soft); background: linear-gradient(145deg, var(--navy-700), var(--navy-600)); box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(201,165,92,.08); }
.about-text { padding-block: 1rem; }
.about-text h2 { position: relative; margin-bottom: 1.5rem; }
.about-text h2::after { content: ''; display: block; width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--teal)); margin-top: 1rem; border-radius: 1px; }
html[dir="rtl"] .about-photo { transform: rotate(1.5deg); }
html[dir="rtl"] .about-photo:hover { transform: rotate(0deg) scale(1.01); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 0; } .about-photo, html[dir="rtl"] .about-photo { max-width: 320px; margin: 0 auto; transform: none; } }

/* Connected horizontal process flow */
.process-flow { position: relative; }
@media (min-width: 800px) {
  .process-flow::before { content: ''; position: absolute; top: 3.2rem; inset-inline: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold-deep) 50%, var(--gold) 85%, transparent); z-index: 0; pointer-events: none; opacity: .55; }
  .process-flow .step-card { position: relative; z-index: 1; }
  .process-flow .step-number { position: relative; display: inline-block; }
  .process-flow .step-number::after { content: ''; position: absolute; top: 50%; inset-inline-end: -1.25rem; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); transform: translateY(-50%); box-shadow: 0 0 10px var(--teal-soft); }
  html[dir="rtl"] .process-flow .step-number::after { inset-inline-end: auto; inset-inline-start: -1.25rem; }
}

.contact-form { max-width: 720px; margin: 0 auto; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-note { margin-top: 1rem; font-size: 0.85rem; }
.form-status { margin: 1rem 0; }

.footer { background: var(--navy-900); border-top: 1px solid var(--border-soft); padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-tagline { color: var(--text-secondary); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-links a, .footer-link-btn { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; background: transparent; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.footer-links a:hover, .footer-link-btn:hover { color: var(--gold-light); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* Cookie consent banner — visible by default, hidden via class once consent given */
.consent-banner { position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 9000; background: rgba(6, 13, 28, 0.96); backdrop-filter: blur(12px); border: 1px solid var(--border-strong); border-radius: 14px; padding: 1.25rem 1.5rem; box-shadow: 0 12px 40px rgba(0,0,0,0.4); max-width: 720px; margin-inline: auto; display: block; }
.consent-banner[hidden] { display: none !important; }
html.prodart-has-consent .consent-banner { display: none; }
.consent-banner-inner p { margin: 0 0 1rem; color: var(--text-secondary); font-size: 0.92rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.consent-link { color: var(--gold-light); text-decoration: none; font-size: 0.85rem; margin-inline-start: auto; }
.consent-link:hover { text-decoration: underline; }

/* Cookie modal */
.consent-modal { position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,0.65); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.consent-modal[hidden] { display: none !important; }
.consent-modal-card { background: var(--navy-800); border: 1px solid var(--border-strong); border-radius: 16px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2rem; position: relative; }
.consent-modal-close { position: absolute; top: 0.75rem; inset-inline-end: 0.75rem; width: 36px; height: 36px; background: transparent; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.consent-modal-card h3 { margin-bottom: 0.5rem; }
.consent-category { border-top: 1px solid var(--border-soft); padding: 1rem 0; }
.consent-category-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.consent-category-head strong { color: var(--cream); }
.consent-category p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.consent-locked { color: var(--text-muted); font-size: 0.8rem; }
.consent-toggle { position: relative; display: inline-block; width: 42px; height: 24px; }
.consent-toggle input { opacity: 0; width: 0; height: 0; }
.consent-toggle span { position: absolute; inset: 0; background: var(--navy-600); border: 1px solid var(--border-soft); border-radius: 999px; cursor: pointer; transition: background 0.2s; }
.consent-toggle span::before { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 18px; height: 18px; background: var(--cream); border-radius: 50%; transition: transform 0.2s; }
.consent-toggle input:checked + span { background: var(--gold); border-color: var(--gold); }
.consent-toggle input:checked + span::before { transform: translateX(18px); }
html[dir="rtl"] .consent-toggle input:checked + span::before { transform: translateX(-18px); }
.consent-modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* Legal pages */
.legal { padding: calc(var(--header-height) + 3rem) 0 4rem; max-width: 800px; margin: 0 auto; }
.legal-header { margin-bottom: 2.5rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; color: var(--gold-light); }
.legal section { margin-bottom: 1.5rem; }
.legal ul { padding-inline-start: 1.5rem; }
.legal li { margin-bottom: 0.35rem; }
.link-btn { background: transparent; border: none; color: var(--gold-light); cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }

/* ============================================================
   Polish pack — uplift, motion, marquee, stats, AI terminal,
   waveform, sticky CTA, scroll reveals, social, favicon hooks
   ============================================================ */

/* --- Scroll reveal (respects prefers-reduced-motion) --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
.reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Hero gradient mesh (subtle, slow) --- */
.hero { isolation: isolate; }
.hero-mesh { position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-mesh span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; mix-blend-mode: screen; animation: meshDrift 22s ease-in-out infinite alternate; }
.hero-mesh span:nth-child(1) { width: 520px; height: 520px; top: 8%; inset-inline-start: 8%; background: radial-gradient(circle, rgba(201,165,92,.55), transparent 60%); }
.hero-mesh span:nth-child(2) { width: 460px; height: 460px; top: 30%; inset-inline-end: 6%; background: radial-gradient(circle, rgba(168,132,62,.45), transparent 60%); animation-delay: -7s; }
.hero-mesh span:nth-child(3) { width: 380px; height: 380px; bottom: 5%; inset-inline-start: 35%; background: radial-gradient(circle, rgba(232,200,117,.4), transparent 60%); animation-delay: -14s; }
@keyframes meshDrift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px,-30px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .hero-mesh span { animation: none; } }

/* --- Marquee strip under hero --- */
.marquee { position: relative; margin-top: 3.5rem; padding: 1rem 0; border-block: 1px solid var(--border-soft); background: rgba(6,13,28,.5); overflow: hidden; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marqueeScroll 40s linear infinite; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-item { display: inline-flex; align-items: center; gap: 2.5rem; color: var(--text-muted); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee-dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --- Stats strip --- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 880px; margin: 4rem auto 0; padding: 1.75rem; border: 1px solid var(--border-soft); border-radius: 16px; background: linear-gradient(145deg, rgba(20,41,72,.45), rgba(15,30,54,.65)); }
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--gold-light); line-height: 1; margin-bottom: .35rem; }
.stat-label { color: var(--text-muted); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; padding: 1.5rem; } }

/* --- Service cards: icon + glass hover glow --- */
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, transparent 0%, rgba(201,165,92,0) 40%, rgba(201,165,92,.6) 50%, rgba(201,165,92,0) 60%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(232,200,117,.18), rgba(168,132,62,.1)); border: 1px solid var(--border-soft); color: var(--gold-light); margin-bottom: 1rem; }
.service-icon svg { width: 22px; height: 22px; }

/* --- Eyebrow accent: waveform bars (animated) --- */
.waveform { display: inline-flex; align-items: end; gap: 3px; height: 16px; margin-inline-end: .5rem; vertical-align: middle; }
.waveform span { display: inline-block; width: 3px; background: var(--gold-light); border-radius: 2px; animation: waveBar 1.4s ease-in-out infinite; }
.waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 70%; animation-delay: .15s; }
.waveform span:nth-child(3) { height: 100%; animation-delay: .3s; }
.waveform span:nth-child(4) { height: 60%; animation-delay: .45s; }
.waveform span:nth-child(5) { height: 40%; animation-delay: .6s; }
@keyframes waveBar { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .waveform span { animation: none; } }

/* --- AI terminal mock --- */
.ai-terminal { max-width: 720px; margin: 0 auto 2.5rem; border: 1px solid var(--border-strong); border-radius: 14px; background: #050a14; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,165,92,.1); overflow: hidden; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.ai-terminal-bar { display: flex; align-items: center; gap: 6px; padding: .65rem .85rem; background: linear-gradient(180deg, #0a1628, #060d1c); border-bottom: 1px solid var(--border-soft); }
.ai-terminal-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.ai-terminal-bar i:nth-child(1) { background: #ff5f57; }
.ai-terminal-bar i:nth-child(2) { background: #febc2e; }
.ai-terminal-bar i:nth-child(3) { background: #28c840; }
.ai-terminal-bar span { margin-inline-start: auto; color: var(--text-muted); font-size: .78rem; }
.ai-terminal-body { padding: 1.25rem 1.4rem; font-size: .92rem; line-height: 1.75; color: #cfd8e6; min-height: 200px; direction: ltr; text-align: left; }
.ai-terminal-line { display: block; white-space: nowrap; overflow: hidden; }
.ai-terminal-prompt { color: var(--gold-light); margin-inline-end: .5rem; }
.ai-terminal-user { color: #f5f1e8; }
.ai-terminal-ai { color: #9bbcff; }
.ai-terminal-comment { color: #6c7f99; font-style: italic; }
.ai-terminal-cursor { display: inline-block; width: 8px; height: 1em; background: var(--gold-light); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Sticky mobile WhatsApp CTA --- */
.sticky-cta { position: fixed; bottom: 1rem; inset-inline-end: 1rem; z-index: 800; display: none; align-items: center; gap: .5rem; padding: .85rem 1.1rem; border-radius: 999px; background: linear-gradient(135deg, #25D366, #1ea953); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px rgba(37,211,102,.35); }
.sticky-cta:hover { transform: translateY(-2px); }
.sticky-cta svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .sticky-cta { display: inline-flex; } }
@media (max-width: 900px) { .consent-banner { padding-bottom: 4.5rem; } }

/* --- Footer social row --- */
.footer-social { display: flex; gap: .75rem; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--border-soft); border-radius: 50%; color: var(--text-muted); transition: all .25s ease; }
.footer-social a:hover { color: var(--gold-light); border-color: var(--border-strong); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; color: var(--text-muted); font-size: .9rem; }
.footer-contact a { color: var(--text-secondary); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }

/* Print styles */
@media print {
  .header, .wa-float, .mobile-cta-bar, .cookie-banner, .a11y-toggle, .scroll-progress { display: none !important; }
  body { background: white; color: black; }
  .card, .section { break-inside: avoid; }
}

/* ============================================================
   Phase 1 additions — Portfolio, AI terminal caption, FAQ list,
   For-Investors nav CTA, motion-engine hooks
   ============================================================ */

/* --- Portfolio cards (mix of audio / video / web / AI) --- */
.portfolio-grid { gap: 1.25rem; }
.portfolio-card { display: flex; flex-direction: column; gap: .75rem; position: relative; }
.portfolio-kind { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .25rem; }
.portfolio-card .card-title { margin: 0; font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--cream); }
.portfolio-card p { margin: 0; font-size: .88rem; }

/* Audio tile waveform area (static SVG fallback; wavesurfer mounts here) */
.portfolio-waveform { color: var(--gold); height: 56px; display: flex; align-items: center; padding: .25rem .25rem; border-radius: 10px; background: linear-gradient(180deg, rgba(10,22,40,.55), rgba(6,13,28,.65)); border: 1px solid var(--border-soft); overflow: hidden; }
.portfolio-waveform svg { width: 100%; height: 100%; display: block; }
.portfolio-waveform--live { color: var(--gold-light); }

.portfolio-play { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: transparent; border: 1px solid var(--border-strong); color: var(--gold-light); font: inherit; font-size: .85rem; cursor: pointer; transition: all .25s ease; align-self: start; }
.portfolio-play:hover { background: rgba(201,165,92,.08); color: var(--gold-light); border-color: var(--gold); }
.portfolio-play-icon { width: 14px; height: 14px; }
.portfolio-play[data-state="playing"] .portfolio-play-icon { display: none; }
.portfolio-play[data-state="playing"]::before { content: ''; width: 12px; height: 12px; background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h4v14H6zm8 0h4v14h-4z'/></svg>") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h4v14H6zm8 0h4v14h-4z'/></svg>") center / contain no-repeat; }

/* Non-audio thumbnails (video / web / AI) */
.portfolio-thumb { display: flex; align-items: center; justify-content: center; height: 84px; border-radius: 10px; background: linear-gradient(135deg, rgba(20,41,72,.55), rgba(6,13,28,.65)); border: 1px solid var(--border-soft); color: var(--gold); }
.portfolio-thumb svg { width: 44px; height: 44px; opacity: .85; }
.portfolio-card--video .portfolio-thumb { color: var(--gold-light); }
.portfolio-card--ai .portfolio-thumb { color: var(--gold-light); }

/* --- AI terminal honest-relabel caption --- */
.ai-terminal-figure { max-width: 720px; margin: 0 auto 2.5rem; }
.ai-terminal-figure .ai-terminal { margin: 0 auto .85rem; }
.ai-terminal-caption { text-align: center; font-size: .85rem; color: var(--text-muted); padding: 0 .5rem; }
.ai-terminal-caption a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(201,165,92,.4); padding-bottom: 1px; margin-inline-start: .35rem; transition: border-color .25s ease, color .25s ease; }
.ai-terminal-caption a:hover { color: var(--gold); border-color: var(--gold); }

/* --- FAQ list overrides (CSS already has .faq-item base) --- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .75rem; }
.faq-question { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--cream); }
.faq-icon { color: var(--gold); }

/* --- EN nav CTA "For Investors" --- */
.nav-link--cta { /* neutralized: match standard nav-link styling */ }
.nav-link--cta::after { /* inherit from .nav-link */ }
.nav-link--cta:hover { /* inherit from .nav-link */ }
.mobile-menu-link--cta { /* neutralized: match standard mobile-menu-link */ }
.mobile-menu-link--cta:hover { /* inherit from .mobile-menu-link */ }

/* --- Magnetic button micro-interaction (JS-controlled) --- */
.btn { will-change: transform; }
.btn[data-magnetic] { transition: transform .25s cubic-bezier(.2,.8,.2,1), filter .3s ease, box-shadow .3s ease; }

/* --- Investors page (minimal, dense) --- */
.investors-hero { padding: calc(var(--header-height) + 3rem) 0 2rem; }
.investors-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .investors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .investors-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.investors-card { padding: 1.5rem; background: linear-gradient(145deg, rgba(20,41,72,.55), rgba(15,30,54,.75)); border: 1px solid var(--border-soft); border-radius: 14px; }
.investors-card h3 { font-family: 'Playfair Display', serif; color: var(--cream); margin: 0 0 .5rem; font-size: 1.2rem; }
.investors-card p, .investors-card li { color: var(--text-secondary); font-size: .92rem; line-height: 1.65; }
.investors-card ul { margin: 0; padding-inline-start: 1.25rem; }
.investors-card ul li { margin-bottom: .25rem; }
.investors-stat { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.25rem); background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.investors-stat-label { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-top: .15rem; }
.investors-figure { background: #050a14; border: 1px solid var(--border-strong); border-radius: 14px; padding: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
.investors-figure-placeholder { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border-radius: 10px; color: var(--text-muted); font-size: .9rem; border: 1px dashed var(--border-strong); }
.investors-figure-placeholder svg { width: 48px; height: 48px; color: var(--gold); opacity: .7; }
.cal-embed { width: 100%; min-height: 600px; border: 1px solid var(--border-soft); border-radius: 14px; background: var(--navy-700); }

/* --- Scroll progress bar wiring (CSS exists; expose helper) --- */
.scroll-progress { background: rgba(255,255,255,.04); }

/* --- Reveal stagger (extended to 8 children for Bento, Identity gallery, Process) --- */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); }
.reveal-stagger.reveal--in > * { opacity: 1; transform: none; transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.reveal--in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.reveal--in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.reveal--in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.reveal--in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.reveal--in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.reveal--in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.reveal--in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.reveal--in > *:nth-child(8) { transition-delay: 490ms; }
@media (prefers-reduced-motion: reduce) { .reveal-stagger > * { opacity: 1; transform: none; } }

/* --- A11y panel button spacing --- */
.a11y-panel[hidden] { display: none !important; }
.a11y-btn + .a11y-btn { margin-top: .4rem; }
.a11y-section + .a11y-section { margin-top: .85rem; }
.a11y-section-title { margin-bottom: .35rem; }

/* --- Scrollspy active state --- */
.nav-link--active { color: var(--gold-light); }
.nav-link--active::after { transform: scaleX(1); }

/* --- Card tilt (set by motion.js) --- */
.tilt-host { transform-style: preserve-3d; transform: perspective(800px) rotateX(var(--tilt-rx,0deg)) rotateY(var(--tilt-ry,0deg)); transition: transform .25s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.tilt-host:hover { transform: perspective(800px) rotateX(var(--tilt-rx,0deg)) rotateY(var(--tilt-ry,0deg)) translateZ(8px); }
@media (prefers-reduced-motion: reduce) { .tilt-host { transform: none !important; } }
@media (hover: none), (pointer: coarse) { .tilt-host { transform: none !important; transition: none; } }

/* --- Now Playing mini-bar --- */
.now-playing {
  position: fixed;
  bottom: 1rem;
  inset-inline: 1rem;
  z-index: 850;
  max-width: 480px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  background: rgba(6,13,28,.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.now-playing[data-visible="true"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.now-playing-bars { display: inline-flex; align-items: end; gap: 3px; height: 18px; flex-shrink: 0; }
.now-playing-bars span { display: block; width: 3px; background: var(--gold-light); border-radius: 2px; animation: npBar 1.1s ease-in-out infinite; }
.now-playing-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.now-playing-bars span:nth-child(2) { height: 80%; animation-delay: .15s; }
.now-playing-bars span:nth-child(3) { height: 100%; animation-delay: .3s; }
.now-playing-bars span:nth-child(4) { height: 60%; animation-delay: .45s; }
@keyframes npBar { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.now-playing-text { flex: 1; min-width: 0; line-height: 1.2; }
.now-playing-title { display: block; font-family: 'Playfair Display', 'Heebo', serif; color: var(--cream); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="en"] .now-playing-title { font-family: 'Fraunces', 'Inter', serif; font-variation-settings: 'wght' 600; }
.now-playing-artist { display: block; font-size: .72rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-playing-pause { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-900); border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s, filter .2s; }
.now-playing-pause:hover { transform: scale(1.05); filter: brightness(1.1); }
.now-playing-pause svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .now-playing { bottom: 5.5rem; } } /* sit above the WA sticky CTA */
@media (prefers-reduced-motion: reduce) { .now-playing-bars span { animation: none; } .now-playing { transition: none; } }

/* --- Identity section banner (Canva-generated) --- */
.identity-banner { display: block; width: 100%; max-width: 1040px; margin: 0 auto 2rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); box-shadow: 0 18px 60px rgba(0,0,0,.35); aspect-ratio: 851 / 315; }
.identity-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .identity-banner { display: none; } } /* aspect 2.7:1 becomes unreadable on portrait phones */

/* --- AI terminal typewriter (line revealing) --- */
.ai-terminal-line[data-typewriter] { visibility: hidden; }
.ai-terminal-line[data-typewriter][data-typed="true"] { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .ai-terminal-line[data-typewriter] { visibility: visible !important; } }

/* ============================================================
   Phase 5 — Editorial type, teal accent, Bento, Identity gallery,
   Alpha form, accessibility page
   ============================================================ */

/* Teal accent (triadic with gold/amber, complementary tension w/ navy) */
:root { --teal: #2bc4b4; --teal-deep: #1f9089; --teal-soft: rgba(43,196,180,.14); }

/* Fraunces editorial type — applied to EN display headings */
html[lang="en"] .font-display { font-family: 'Fraunces', 'Playfair Display', 'Inter', serif; font-variation-settings: 'opsz' 144, 'wght' 600, 'SOFT' 50; letter-spacing: -0.015em; }
html[lang="en"] .hero-title { font-variation-settings: 'opsz' 144, 'wght' 700, 'SOFT' 30; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .98; letter-spacing: -0.025em; }
html[lang="en"] .hero-title .gold-grad-text { font-variation-settings: 'opsz' 144, 'wght' 800, 'SOFT' 100; font-style: italic; }
html[lang="he"] .hero-title { font-size: clamp(2.5rem, 8vw, 6rem); line-height: 1.02; letter-spacing: -0.01em; font-weight: 800; }

/* Teal accent — used exactly 3 places per page */
.eyebrow::before { background: linear-gradient(90deg, var(--gold), var(--teal)); }
.section-head .eyebrow::after { content: ''; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--teal); margin-inline-start: .55em; vertical-align: middle; box-shadow: 0 0 12px var(--teal-soft); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(43,196,180,.35), 0 0 0 1px var(--teal-soft); }

/* --- Bento portfolio grid (asymmetric 6-cell) --- */
.portfolio-bento { display: grid; gap: 1rem; grid-template-columns: 1fr; grid-auto-rows: minmax(180px, auto); }
@media (min-width: 720px) {
  .portfolio-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "feat feat trk1 trk2"
      "feat feat web ai"
      "ident ident web ai";
  }
  .portfolio-bento > .portfolio-card--feature { grid-area: feat; }
  .portfolio-bento > .portfolio-card[data-bento="trk1"] { grid-area: trk1; }
  .portfolio-bento > .portfolio-card[data-bento="trk2"] { grid-area: trk2; }
  .portfolio-bento > .portfolio-card[data-bento="web"] { grid-area: web; }
  .portfolio-bento > .portfolio-card[data-bento="ai"] { grid-area: ai; }
  .portfolio-bento > .portfolio-card[data-bento="ident"] { grid-area: ident; }
}
.portfolio-card--feature { padding: 2rem; }
.portfolio-card--feature .card-title { font-size: 1.5rem; }
.portfolio-card--feature .portfolio-waveform { height: 80px; }

/* Identity tile (links to Identity section) */
.portfolio-card--ident { position: relative; overflow: hidden; padding: 0; min-height: 200px; }
.portfolio-card--ident picture, .portfolio-card--ident img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portfolio-card--ident .portfolio-card-overlay { position: relative; z-index: 2; padding: 1.5rem; height: 100%; display: flex; flex-direction: column; justify-content: end; gap: .35rem; background: linear-gradient(180deg, transparent 30%, rgba(6,13,28,.85) 100%); }
.portfolio-card--ident .portfolio-kind { color: var(--teal); }

/* --- Identity gallery (Bento masonry-style) --- */
.identity-gallery { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .identity-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
    grid-template-areas:
      "a a a b b b"
      "a a a b b b"
      "c c d d e e"
      "c c d d e e";
  }
  .identity-gallery .identity-tile:nth-child(1) { grid-area: a; }
  .identity-gallery .identity-tile:nth-child(2) { grid-area: b; }
  .identity-gallery .identity-tile:nth-child(3) { grid-area: c; }
  .identity-gallery .identity-tile:nth-child(4) { grid-area: d; }
  .identity-gallery .identity-tile:nth-child(5) { grid-area: e; }
}
.identity-tile { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--navy-700); display: block; cursor: zoom-in; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.identity-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.4), 0 0 0 1px var(--teal-soft); }
.identity-tile picture, .identity-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.identity-tile-caption { position: absolute; bottom: 0; inset-inline: 0; padding: .75rem 1rem; color: var(--cream); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; background: linear-gradient(180deg, transparent 0%, rgba(6,13,28,.85) 100%); pointer-events: none; }
.identity-tile:hover .identity-tile-caption { opacity: 1; transform: translateY(0); }

/* --- Apply for Alpha form --- */
.alpha-apply { max-width: 720px; margin: 2rem auto 0; padding: 2rem; border-radius: 16px; background: linear-gradient(145deg, rgba(43,196,180,.06), rgba(15,30,54,.6)); border: 1px solid var(--border-soft); position: relative; }
.alpha-apply::before { content: ''; position: absolute; inset: -1px; border-radius: 17px; padding: 1px; background: linear-gradient(135deg, var(--teal) 0%, transparent 35%, transparent 65%, var(--gold) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .55; }
.alpha-apply h3 { font-family: 'Playfair Display', serif; color: var(--cream); margin: 0 0 .35rem; font-size: 1.25rem; }
html[lang="en"] .alpha-apply h3 { font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 144, 'wght' 600; }
.alpha-apply .alpha-eyebrow { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); margin-bottom: .25rem; }
.alpha-apply p.alpha-intro { color: var(--text-secondary); font-size: .92rem; margin: 0 0 1.25rem; }
.alpha-status--success { background: rgba(43,196,180,.15); border-color: var(--teal); color: var(--teal); }

/* --- PhotoSwipe overrides --- */
.pswp { --pswp-bg: rgba(6,13,28,.96); --pswp-icon-color: #f5f1e8; --pswp-icon-color-secondary: var(--gold-light); }
.pswp__caption { color: var(--cream); font-size: .85rem; }

/* --- Sad Waltz card waveform variant — slightly different rhythm --- */
.portfolio-card[data-bento="trk2"] .portfolio-waveform { color: var(--teal); }

/* --- Hero photo background (optional, used only on hero) --- */
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .14; mix-blend-mode: luminosity; filter: grayscale(60%) contrast(1.1); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, var(--navy-900) 95%); }

/* --- Accessibility page (reuses .legal) --- */
.legal .a11y-statement-grid { display: grid; gap: .5rem; grid-template-columns: 220px 1fr; padding: 1rem 1.25rem; border: 1px solid var(--border-soft); border-radius: 10px; background: rgba(10,22,40,.4); margin-bottom: 1rem; }
@media (max-width: 720px) { .legal .a11y-statement-grid { grid-template-columns: 1fr; } }
.legal .a11y-statement-label { color: var(--teal); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* ==========================================================================
   Phase 9 — Editorial redesign: Choose-your-path, Trust strip, Service chips
   ========================================================================== */

/* Choose your path — 4 lanes after hero */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1080px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .path-grid { grid-template-columns: 1fr; } }

.path-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(201,160,90,.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.path-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.path-card:hover::before { opacity: 1; }
.path-card[data-lane="ai"] { border-color: var(--accent-cyan-soft); }
.path-card[data-lane="ai"]:hover { border-color: var(--accent-cyan); }
.path-card[data-lane="ai"] .path-eyebrow { color: var(--accent-cyan); }

.path-eyebrow {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}
.path-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
}
.path-who { color: var(--text-muted); font-size: .85rem; margin: 0; }
.path-outcome { color: var(--text-secondary); font-size: .95rem; margin: 0; }
.path-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold-light);
  font-size: .9rem;
  font-weight: 600;
}
html[dir="rtl"] .path-cta { flex-direction: row-reverse; }
.path-card[data-lane="ai"] .path-cta { color: var(--accent-cyan); }

/* Service block productization — deliverables + timeline + from-price */
.svc-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
@media (max-width: 720px) { .svc-meta { grid-template-columns: 1fr; } }
.svc-chip {
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,.015);
  border-radius: 10px;
  padding: .8rem 1rem;
}
.svc-chip-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .3rem;
}
.svc-chip-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Trust strip — chips of credibility */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin: 1.5rem 0 0;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,.015);
}
.trust-chip svg { width: 14px; height: 14px; color: var(--gold-light); }

/* Proof section — testimonial + credits placeholders */
.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-quote {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(201,160,90,.04), transparent);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text-primary);
  position: relative;
}
.proof-quote::before {
  content: "\201C";
  position: absolute;
  top: .3rem; inset-inline-start: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-deep);
  opacity: .35;
}
.proof-quote-cite {
  display: block;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.proof-credits {
  padding: 1.75rem;
  border: 1px dashed var(--border-soft);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  justify-content: center;
  color: var(--text-muted);
}
.proof-credits-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: .04em;
}
.proof-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}
.proof-logo-slot {
  height: 36px;
  border: 1px dashed var(--border-soft);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: var(--text-muted);
}

/* Inline section CTA — small magnet line between blocks */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(201,160,90,.05), transparent 60%);
}
html[dir="rtl"] .inline-cta { background: linear-gradient(270deg, rgba(201,160,90,.05), transparent 60%); }
.inline-cta-text { color: var(--text-secondary); font-size: .95rem; }
.inline-cta .btn { white-space: nowrap; }

/* Hero CTA group tightening for new 3+1 layout */
.hero-ctas--paths {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}
.hero-ctas--paths .btn { padding: .75rem 1.1rem; font-size: .92rem; }
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--accent-cyan);
  font-size: .85rem;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.hero-secondary:hover { border-bottom-color: var(--accent-cyan); }
