/* ==========================================================================
   egypt3.mecifoods.com — "Golden Nile, Atelier Edition" design system
   Dark velvet frame (header/hero/footer) + ivory editorial body.
   Gold is hierarchy, not decoration. Real photography dominates.
   ========================================================================== */

:root {
  /* Velvet & burgundy (from the logo) */
  --ink: #120a0d;
  --velvet: #1c0f14;
  --velvet-2: #241118;
  --wine: #33151f;
  --crimson: #8f1420;
  --brand-red: #b3131b;
  /* Gold hierarchy */
  --gold-1: #f0dfae;
  --gold-2: #d4af5f;
  --gold-3: #a57d2d;
  /* Light editorial surfaces */
  --ivory: #f8f4eb;
  --cream: #f1eadb;
  --sand: #e5d9bc;
  /* Text */
  --t-dark: #372b27;
  --t-mid: #5c4f52;
  --t-light: #f5ecdc;
  --t-dim: #c9b8a6;
  /* Layout */
  --w-max: 1220px;
  --w-narrow: 860px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 18px 50px -20px rgba(18, 10, 13, 0.35);
  /* Theme (light default) */
  --surface: #fffdf8;
  --ink-text: #4f1118;
  --line: rgba(41, 31, 35, 0.11);
  --line-mid: rgba(41, 31, 35, 0.22);
  --line-strong: rgba(41, 31, 35, 0.35);
  --accent: #8f1420;
  --chip-bg: #f2e9d6;
  --chip-line: rgba(143, 20, 32, 0.28);
  --ok-bg: #eef4e9; --ok-tx: #2c4a24; --ok-line: #b9cfa8;
  --err-bg: #f8e9e9; --err-tx: #7e0c11; --err-line: #dcb0b0;
  color-scheme: light;
  /* Chrome (shell) — DAY: warm ivory & burgundy */
  --shell-bg: #f7f0df;
  --shell-bg-a: rgba(247, 240, 223, 0.97);
  --shell-text: #402630;
  --shell-dim: #75585c;
  --shell-line: rgba(143, 20, 32, 0.16);
  --shell-accent: #8f1420;
  --nav-hover: #b3131b;
  --nav-current: #8f1420;
  --toggle-line: rgba(143, 20, 32, 0.4);
  --toggle-text: #8f1420;
  --sec2-bg1: #f3ebd9;
  --sec2-bg2: #eee1c6;
  --sec2-text: #291f23;
  --ondark-accent: #8f1420;
  --ondark-title: #1c0f14;
  --ondark-lead: #5c4f52;
  --card2-bg: #fffdf8;
  --card2-line: rgba(41, 31, 35, 0.12);
  --card2-title: #1c0f14;
  --card2-text: #5c4f52;
  --thumb-bg: #ece0c6;
  --hero-bg: #f2e8d5;
  --hero-text: #291f23;
  --hero-lead: #55424a;
  --hero-accent: #8f1420;
  --hero-veil-strong: rgba(247, 240, 224, 0.95);
  --hero-veil-mid: rgba(247, 240, 224, 0.7);
  --hero-veil-soft: rgba(247, 240, 224, 0.24);
  --hero-veil-clear: rgba(247, 240, 224, 0.05);
  --ribbon-bg: rgba(255, 252, 244, 0.6);
  --ribbon-line: rgba(143, 20, 32, 0.3);
  --ribbon-text: #8f1420;
  --ph-1: #f9f3e4;
  --ph-2: #efe3ca;
  --ph-tint: rgba(143, 20, 32, 0.1);
  --ghost-line: rgba(143, 20, 32, 0.5);
  --ghost-text: #8f1420;
  --ghost-hover: rgba(143, 20, 32, 0.08);
  --side-bg: #fffdf8;
  --side-line: rgba(41, 31, 35, 0.12);
  --side-title: #1c0f14;
  --side-text: #5c4f52;
  --side-link: #8f1420;
  --font-display: "Prata", "Amiri", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", -apple-system, sans-serif;
  --dur: 320ms;
}

html.rtl {
  --font-display: "Amiri", "Prata", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--t-dark);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

html.rtl body { line-height: 1.85; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0; z-index: 200;
  background: var(--gold-2); color: var(--ink); padding: 0.6rem 1.2rem;
  font-weight: 700; border-radius: 0 0 8px 8px;
}
.skip-link:focus { inset-inline-start: 12px; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.container { max-width: var(--w-max); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.narrow { max-width: var(--w-narrow); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.18; }
html.rtl h1, html.rtl h2, html.rtl h3 { line-height: 1.5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
html.rtl .eyebrow { letter-spacing: 0.06em; }
.eyebrow::before { content: "◆"; font-size: 0.55rem; color: var(--gold-3); }
.on-dark .eyebrow { color: var(--ondark-accent); }

.sec-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin: 0.9rem 0 1rem; }
.sec-head h2 .accent { color: var(--accent); }
.on-dark .sec-head h2 .accent { color: var(--ondark-accent); }
.sec-head .lead { max-width: 46rem; font-size: 1.1rem; color: var(--t-mid); }
.on-dark .sec-head .lead { color: var(--ondark-lead); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur), color var(--dur);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  color: var(--ink); box-shadow: 0 10px 26px -12px rgba(169, 127, 46, 0.65);
}
.btn-ghost { border-color: var(--ghost-line); color: var(--ghost-text); background: transparent; }
.btn-ghost:hover { background: var(--ghost-hover); }
.cta-panel .btn-ghost, .hero-ctas-ondark .btn-ghost { border-color: rgba(212, 175, 95, 0.55); color: var(--gold-1); }
.cta-panel .btn-ghost:hover { background: rgba(212, 175, 95, 0.12); }
.btn-dark { background: var(--velvet); color: var(--t-light); border-color: var(--velvet); }
.btn-dark:hover { background: var(--wine); }
.btn-outline-dark { border-color: var(--line-strong); color: var(--t-dark); background: transparent; }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--shell-bg); color: var(--shell-dim);
  font-size: 0.82rem; letter-spacing: 0.02em;
  border-bottom: 1px solid var(--shell-line);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 0.45rem;
}
.topbar .b2b { color: var(--shell-accent); font-weight: 600; }
.topbar .links { display: flex; gap: 1.2rem; white-space: nowrap; }
.topbar a { color: var(--shell-dim); text-decoration: none; }
.topbar a:hover { color: var(--nav-hover); }
@media (max-width: 760px) { .topbar .links { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--shell-bg-a);
  border-bottom: 1px solid var(--shell-line);
}
.site-header .container {
  display: flex; align-items: center; gap: 1.4rem;
  padding-block: 0.65rem;
}
.brand { display: flex; align-items: center; text-decoration: none; margin-inline-end: auto; }
.brand img { height: 64px; width: auto; }

.nav-shell { display: flex; align-items: center; gap: 1.5rem; }
.main-nav { display: flex; gap: clamp(0.7rem, 1.6vw, 1.35rem); }
.main-nav a {
  color: var(--shell-text); text-decoration: none; font-size: 0.93rem; font-weight: 600;
  padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent;
  transition: color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--nav-hover); }
.main-nav a[aria-current="page"] { color: var(--nav-current); border-bottom-color: var(--gold-3); }

.nav-cta { white-space: nowrap; padding: 0.6rem 1.25rem; font-size: 0.9rem; }

.lang-switch { display: flex; gap: 0.15rem; border: 1px solid var(--toggle-line); border-radius: 999px; padding: 0.15rem; }
.lang-switch a {
  padding: 0.25rem 0.65rem; border-radius: 999px; text-decoration: none;
  font-size: 0.8rem; font-weight: 700; color: var(--shell-dim);
}
.lang-switch a[aria-current="true"] { background: var(--gold-2); color: var(--ink); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--nav-hover); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--toggle-line); border-radius: 8px;
  color: var(--toggle-text); padding: 0.5rem 0.7rem; cursor: pointer; font-size: 1.05rem; line-height: 1;
}

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav-shell {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: center; gap: 1.4rem;
    background: var(--shell-bg);
    border-bottom: 1px solid var(--shell-line);
    padding: 1.5rem 1.2rem 2rem;
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 90;
  }
  .nav-shell.open { display: flex; }
  .main-nav { flex-direction: column; align-items: center; gap: 1.05rem; }
  .main-nav a { font-size: 1.12rem; padding: 0.3rem 0.5rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; color: var(--hero-text);
  background: var(--hero-bg);
  min-height: clamp(560px, 82vh, 860px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
}
html.rtl .hero .hero-bg { transform: none; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--hero-veil-strong) 0%, var(--hero-veil-soft) 45%),
    linear-gradient(to right, var(--hero-veil-strong) 0%, var(--hero-veil-mid) 38%, var(--hero-veil-clear) 70%);
}
html.rtl .hero::after {
  background:
    linear-gradient(to top, var(--hero-veil-strong) 0%, var(--hero-veil-soft) 45%),
    linear-gradient(to left, var(--hero-veil-strong) 0%, var(--hero-veil-mid) 38%, var(--hero-veil-clear) 70%);
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7rem); }
.hero-inner { max-width: 40rem; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: 1.1rem 0 1.3rem; }
.hero h1 .gold { color: var(--hero-accent); }
.hero .lead { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--hero-lead); max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.ribbon {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid var(--ribbon-line); border-radius: 999px;
  padding: 0.4rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--ribbon-text);
  background: var(--ribbon-bg);
}
.ribbon::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 0 4px rgba(212,175,95,0.2);
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip { background: var(--sec2-bg2); border-top: 1px solid var(--shell-line); border-bottom: 1px solid var(--shell-line); }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 2rem; padding-block: 1.1rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--ondark-lead); font-size: 0.92rem; font-weight: 600;
}
.trust-item::before { content: "◆"; color: var(--gold-3); font-size: 0.6rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(3.6rem, 8vw, 6.2rem); }
.section-dark { background: linear-gradient(180deg, var(--sec2-bg1) 0%, var(--sec2-bg2) 100%); color: var(--sec2-text); }
.section-cream { background: var(--cream); }
.hairline { border: 0; border-top: 1px solid rgba(169,127,46,0.35); max-width: var(--w-max); margin: 0 auto; }

/* Cards — families */
.family-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
@media (min-width: 1180px) { .family-grid { grid-template-columns: repeat(5, 1fr); } }
.family-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--velvet); color: var(--t-light);
  min-height: 380px; display: flex; align-items: flex-end;
  text-decoration: none; box-shadow: var(--shadow);
}
.family-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.family-card:hover img { transform: scale(1.045); }
.family-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,10,13,0.93) 8%, rgba(18,10,13,0.35) 48%, rgba(18,10,13,0.05));
}
.family-card .card-body { position: relative; z-index: 2; padding: 1.6rem; }
.family-card h3 { font-size: 1.35rem; color: var(--gold-1); margin-bottom: 0.35rem; }
.family-card .tagline { font-size: 0.9rem; color: var(--t-dim); }
.family-card .go {
  margin-top: 0.9rem; display: inline-block; font-size: 0.85rem; font-weight: 700;
  color: var(--gold-2); letter-spacing: 0.08em; text-transform: uppercase;
}
html.rtl .family-card .go { letter-spacing: 0.02em; }

/* Cards — formats */
.format-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.2rem; }
.format-card {
  border-radius: var(--radius); overflow: hidden; background: var(--card2-bg);
  text-decoration: none; color: var(--card2-text);
  border: 1px solid var(--card2-line);
  transition: transform var(--dur), border-color var(--dur);
  display: flex; flex-direction: column;
}
.format-card:hover { transform: translateY(-4px); border-color: var(--gold-3); }
.format-card .thumb { aspect-ratio: 700 / 1024; overflow: hidden; background: var(--thumb-bg); }
.format-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.format-card .thumb.pending {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--card2-text); font-size: 0.82rem; padding: 1rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(212,175,95,0.12), transparent 70%),
    var(--thumb-bg);
}
.format-card .card-body { padding: 1rem 1.1rem 1.2rem; }
.format-card h3 { font-size: 1.05rem; color: var(--card2-title); margin-bottom: 0.3rem; }
.format-card p { font-size: 0.84rem; color: var(--card2-text); line-height: 1.5; }

/* Cards — applications */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.app-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: var(--t-dark);
  display: flex; flex-direction: column; transition: transform var(--dur), box-shadow var(--dur);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--velvet-2); }
.app-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.app-card .card-body { padding: 1.3rem 1.4rem 1.5rem; }
.app-card h3 { font-size: 1.18rem; margin-bottom: 0.45rem; color: var(--ink-text); }
.app-card p { font-size: 0.92rem; color: var(--t-mid); }
.app-card .go { margin-top: 0.8rem; display: inline-block; font-size: 0.82rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
html.rtl .app-card .go { letter-spacing: 0.02em; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur), box-shadow var(--dur);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .thumb { aspect-ratio: 900 / 1400; overflow: hidden; background: var(--velvet-2); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.product-card h3 { font-size: 1.15rem; }
.product-card h3 a { text-decoration: none; color: var(--ink-text); }
.product-card h3 a:hover { color: var(--accent); }
.product-card .desc { font-size: 0.9rem; color: var(--t-mid); flex: 1; }
.product-card .formats-line { font-size: 0.82rem; color: var(--t-mid); }
.product-card .formats-line strong { color: var(--t-dark); }

.chip {
  display: inline-block; padding: 0.18rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--chip-bg); color: var(--accent); border: 1px solid var(--chip-line);
  width: fit-content;
}
html.rtl .chip { letter-spacing: 0.01em; }
.chip.status-seasonal { background: #f6efdf; color: var(--gold-3); border-color: rgba(169,127,46,0.4); }
.chip.status-on-request { background: #efe9e2; color: var(--t-mid); border-color: rgba(92,79,82,0.3); }
.chip.status-planned { background: #ece4e6; color: var(--wine); border-color: rgba(51,21,31,0.3); }

/* --------------------------------------------------------------------------
   Matrix table
   -------------------------------------------------------------------------- */
.matrix-wrap { overflow-x: auto; border: 1px solid rgba(169,127,46,0.3); border-radius: var(--radius-lg); background: var(--surface); }
.matrix { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.9rem; }
.matrix th, .matrix td { padding: 0.75rem 0.9rem; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th {
  background: var(--velvet); color: var(--gold-1); font-family: var(--font-body);
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
}
html.rtl .matrix thead th { letter-spacing: 0.01em; }
.matrix tbody th { text-align: start; font-weight: 700; color: var(--ink-text); background: var(--ivory); white-space: nowrap; }
.matrix tbody th a { color: inherit; text-decoration: none; }
.matrix tbody th a:hover { color: var(--accent); }
.matrix td .dot-custom { color: var(--gold-3); font-size: 0.95rem; }
.matrix td .dot-na { color: var(--line-strong); }
.matrix .scope-note { display: block; font-size: 0.68rem; color: var(--t-mid); margin-top: 0.15rem; }
.matrix-legend { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1rem; font-size: 0.85rem; color: var(--t-mid); }
.matrix-legend span::before { content: "◆ "; color: var(--gold-3); }
.matrix-legend span.na::before { content: "— "; color: var(--line-strong); }

/* --------------------------------------------------------------------------
   Proof gallery
   -------------------------------------------------------------------------- */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.proof-item { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--ink); }
.proof-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.proof-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.6rem 1rem 0.75rem; font-size: 0.8rem; color: var(--t-light);
  background: linear-gradient(to top, rgba(18,10,13,0.9), transparent);
}

/* --------------------------------------------------------------------------
   Certificates
   -------------------------------------------------------------------------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.cert-card {
  background: var(--card2-bg); border: 1px solid var(--card2-line);
  border-radius: var(--radius); padding: 1.1rem 0.9rem; text-align: center;
}
.cert-card img { height: 56px; width: auto; margin: 0 auto 0.7rem; object-fit: contain; }
.cert-card .name { font-weight: 800; font-size: 0.95rem; color: var(--card2-title); }
.cert-card .sub { font-size: 0.76rem; color: var(--card2-text); margin-top: 0.2rem; line-height: 1.4; }
.cert-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--ondark-lead); max-width: 52rem; }

/* Pillars / facts */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.fact {
  border-inline-start: 2px solid var(--gold-3);
  padding: 0.4rem 1.2rem;
}
.fact h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.on-dark .fact h3 { color: var(--ondark-title); }
.fact p { font-size: 0.92rem; color: var(--t-mid); }
.on-dark .fact p { color: var(--ondark-lead); }

/* Steps (process) */
.steps { counter-reset: step; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.step { position: relative; padding: 1.4rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-3);
  display: block; margin-bottom: 0.5rem;
}
.step:nth-child(n+10)::before { content: counter(step); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--ink-text); }
.step p { font-size: 0.92rem; color: var(--t-mid); }

/* Timeline */
.timeline { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tl-item { border-top: 2px solid var(--gold-3); padding-top: 0.9rem; }
.tl-item .year { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.on-dark .tl-item .year { color: var(--ondark-accent); }
.tl-item h3 { font-size: 1.05rem; margin: 0.3rem 0; }
.tl-item p { font-size: 0.9rem; color: var(--t-mid); }
.on-dark .tl-item p { color: var(--ondark-lead); }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.office {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
}
.office .tag { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-3); }
html.rtl .office .tag { letter-spacing: 0.03em; }
.office h3 { font-size: 1.2rem; margin: 0.4rem 0 0.6rem; color: var(--ink-text); }
.office p { font-size: 0.92rem; color: var(--t-mid); }
.office .badge {
  float: inline-end; background: var(--crimson); color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 0.2rem 0.6rem; border-radius: 999px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   CTA panel
   -------------------------------------------------------------------------- */
.cta-panel {
  background:
    radial-gradient(120% 160% at 15% 0%, rgba(143,20,32,0.5), transparent 55%),
    linear-gradient(150deg, var(--velvet) 20%, var(--wine));
  border: 1px solid rgba(212,175,95,0.3); border-radius: 22px;
  padding: clamp(2.2rem, 6vw, 4rem);
  color: var(--t-light); text-align: center;
}
.cta-panel h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--gold-1); margin-bottom: 0.9rem; }
.cta-panel p { max-width: 42rem; margin: 0 auto 1.8rem; color: var(--t-dim); }
.cta-panel .hero-ctas { justify-content: center; margin-top: 0; }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(90% 140% at 85% -20%, var(--ph-tint), transparent 60%),
    linear-gradient(165deg, var(--ph-1), var(--ph-2));
  color: var(--hero-text);
  padding-block: clamp(2.8rem, 7vw, 4.6rem);
  border-bottom: 1px solid var(--shell-line);
}
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0.9rem 0 1rem; }
.page-hero h1 .accent { color: var(--ondark-accent); }
.page-hero .lead { max-width: 46rem; color: var(--ondark-lead); font-size: 1.08rem; }

.breadcrumbs { font-size: 0.82rem; margin-bottom: 1.2rem; color: var(--ondark-lead); }
.breadcrumbs a { color: var(--ondark-lead); text-decoration: none; }
.breadcrumbs a:hover { color: var(--nav-hover); }
.breadcrumbs .sep { margin-inline: 0.45rem; color: var(--gold-3); }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.product-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }
.product-hero-grid .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.product-hero-grid .photo img { width: 100%; height: auto; display: block; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { width: 34%; color: var(--ink-text); font-weight: 700; background: var(--ivory); white-space: nowrap; }
.spec-table td { color: var(--t-mid); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-card { border: 1px solid rgba(169,127,46,0.3); border-radius: var(--radius-lg); overflow: hidden; }

.format-avail { display: grid; gap: 0.9rem; }
.avail-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
}
.avail-row .fmt { font-weight: 800; color: var(--ink-text); min-width: 7.5rem; }
.avail-row .note { flex-basis: 100%; font-size: 0.85rem; color: var(--t-mid); }
.avail-row .scope { font-size: 0.78rem; font-weight: 700; color: var(--gold-3); text-transform: uppercase; letter-spacing: 0.08em; }
html.rtl .avail-row .scope { letter-spacing: 0.02em; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-row a, .tag-row span {
  font-size: 0.83rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--chip-line); color: var(--accent);
  border-radius: 999px; padding: 0.3rem 0.9rem; background: var(--surface);
}
.tag-row a:hover { background: var(--crimson); color: #fff; }

/* --------------------------------------------------------------------------
   Crossfade slides (branded 900x1400 product cards)
   -------------------------------------------------------------------------- */
.xfade { position: relative; overflow: hidden; }
.xfade a { position: absolute; inset: 0; display: block; }
.xfade img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1200ms ease-in-out;
}
.xfade img.on { opacity: 1; }
.product-hero-grid .photo.xfade { aspect-ratio: 900 / 1400; max-width: 560px; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { transition-duration: 1800ms; }
.hero-slides img.on { opacity: 0.92; }
@media (prefers-reduced-motion: reduce) {
  .xfade img { transition: none; }
}

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */
.filter-bar {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 0.8rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1rem; margin-bottom: 1.8rem;
}
@media (max-width: 980px) { .filter-bar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .filter-bar { grid-template-columns: 1fr; } }
.filter-bar label { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-mid); margin-bottom: 0.3rem; }
html.rtl .filter-bar label { letter-spacing: 0.02em; }
.filter-bar input, .filter-bar select {
  width: 100%; padding: 0.6rem 0.75rem; font-family: inherit; font-size: 0.95rem;
  border: 1px solid var(--line-mid); border-radius: 8px; background: var(--ivory); color: var(--t-dark);
}
.none-found { padding: 2rem 0; color: var(--t-mid); font-style: italic; display: none; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.8rem, 5vw, 3.6rem); align-items: start; }
@media (max-width: 940px) { .form-layout { grid-template-columns: 1fr; } }

.lead-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow);
}
.lead-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .lead-form .grid-2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink-text); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem; font-family: inherit; font-size: 0.98rem;
  border: 1px solid var(--line-mid); border-radius: 8px; background: var(--ivory); color: var(--t-dark);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-3); outline: none; box-shadow: 0 0 0 3px rgba(212,175,95,0.25); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--t-mid); margin: 1.1rem 0 1.4rem; }
.consent input { margin-top: 0.3rem; width: auto; }
.form-hint { font-size: 0.82rem; color: var(--t-mid); margin-bottom: 1.2rem; }
.form-status { margin-top: 1rem; font-weight: 600; display: none; padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.95rem; }
.form-status.ok { display: block; background: var(--ok-bg); color: var(--ok-tx); border: 1px solid var(--ok-line); }
.form-status.err { display: block; background: var(--err-bg); color: var(--err-tx); border: 1px solid var(--err-line); }
.hp-field { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }

.side-panel { display: grid; gap: 1.2rem; }
.side-card {
  background: var(--side-bg); color: var(--side-text); border-radius: var(--radius-lg);
  border: 1px solid var(--side-line); padding: 1.5rem 1.6rem;
}
.side-card h3 { color: var(--side-title); font-size: 1.1rem; margin-bottom: 0.5rem; }
.side-card p { font-size: 0.9rem; color: var(--side-text); }
.side-card p a { color: var(--side-link); }
.side-card a.btn { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--shell-bg); color: var(--shell-dim); border-top: 1px solid var(--shell-line); }
.site-footer .top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem;
  padding-block: clamp(2.6rem, 6vw, 4rem);
}
@media (max-width: 980px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }
.site-footer .foot-logo { height: 64px; width: auto; margin-bottom: 1rem; }
.site-footer .blurb { font-size: 0.9rem; max-width: 26rem; }
.site-footer h4 {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--shell-accent);
  margin-bottom: 1rem; font-family: var(--font-body);
}
html.rtl .site-footer h4 { letter-spacing: 0.04em; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.site-footer a { color: var(--shell-dim); text-decoration: none; }
.site-footer a:hover { color: var(--nav-hover); }
.site-footer .offices p { font-size: 0.85rem; margin-bottom: 0.7rem; }
.site-footer .offices strong { color: var(--shell-text); display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
html.rtl .site-footer .offices strong { letter-spacing: 0.01em; }
.site-footer .bottom {
  border-top: 1px solid var(--shell-line);
  padding-block: 1.1rem; font-size: 0.8rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; justify-content: space-between; align-items: center;
}
.site-footer .stage-note { color: var(--shell-accent); }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 640ms ease, transform 640ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 880px) { .grid-2col { grid-template-columns: 1fr; } }
.rounded-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.rounded-photo img { width: 100%; object-fit: cover; }
.note-em { font-size: 0.9rem; color: var(--t-mid); border-inline-start: 3px solid var(--gold-2); padding-inline-start: 1rem; }
.on-dark .note-em { color: var(--ondark-lead); }


/* ------------------------------------------------------------------
   Theme toggle + dark scheme (auto prefers-color-scheme, manual
   override via html[data-theme]; restored early by /assets/theme.js)
   ------------------------------------------------------------------ */
.theme-toggle {
  background: none; border: 1px solid var(--toggle-line); border-radius: 999px;
  color: var(--toggle-text); width: 38px; height: 38px; cursor: pointer;
  font-size: 1.02rem; line-height: 1; flex: none;
}
.theme-toggle:hover { border-color: var(--gold-2); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --ivory: #171114;
  --cream: #1f151a;
  --sand: #2b1c22;
  --t-dark: #f1e8db;
  --t-mid: #c8b5ab;
  --surface: #241822;
  --ink-text: #f3ead9;
  --line: rgba(240, 223, 174, 0.12);
  --line-mid: rgba(240, 223, 174, 0.22);
  --line-strong: rgba(240, 223, 174, 0.34);
  --accent: #d4af5f;
  --chip-bg: rgba(212, 175, 95, 0.08);
  --chip-line: rgba(212, 175, 95, 0.4);
  --ok-bg: #1e2b18; --ok-tx: #b9cfa8; --ok-line: #3c5731;
  --err-bg: #331416; --err-tx: #e4a9a9; --err-line: #6b2326;
  color-scheme: dark;
  --shell-bg: #120a0d;
  --shell-bg-a: rgba(18, 10, 13, 0.97);
  --shell-text: #f5ecdc;
  --shell-dim: #c9b8a6;
  --shell-line: rgba(212, 175, 95, 0.22);
  --shell-accent: #d4af5f;
  --nav-hover: #f0dfae;
  --nav-current: #d4af5f;
  --toggle-line: rgba(212, 175, 95, 0.4);
  --toggle-text: #f0dfae;
  --sec2-bg1: #1c0f14;
  --sec2-bg2: #241118;
  --sec2-text: #f5ecdc;
  --ondark-accent: #d4af5f;
  --ondark-title: #f0dfae;
  --ondark-lead: #c9b8a6;
  --card2-bg: #120a0d;
  --card2-line: rgba(212, 175, 95, 0.2);
  --card2-title: #f0dfae;
  --card2-text: #c9b8a6;
  --thumb-bg: #241118;
  --hero-bg: #120a0d;
  --hero-text: #f5ecdc;
  --hero-lead: #c9b8a6;
  --hero-accent: #d4af5f;
  --hero-veil-strong: rgba(18, 10, 13, 0.94);
  --hero-veil-mid: rgba(28, 15, 20, 0.72);
  --hero-veil-soft: rgba(18, 10, 13, 0.25);
  --hero-veil-clear: rgba(18, 10, 13, 0.12);
  --ribbon-bg: rgba(18, 10, 13, 0.55);
  --ribbon-line: rgba(212, 175, 95, 0.4);
  --ribbon-text: #f0dfae;
  --ph-1: #120a0d;
  --ph-2: #241118;
  --ph-tint: rgba(143, 20, 32, 0.45);
  --ghost-line: rgba(212, 175, 95, 0.55);
  --ghost-text: #f0dfae;
  --ghost-hover: rgba(212, 175, 95, 0.12);
  --side-bg: #1c0f14;
  --side-line: rgba(212, 175, 95, 0.25);
  --side-title: #f0dfae;
  --side-text: #c9b8a6;
  --side-link: #f0dfae;
  }
  :root:not([data-theme="light"]) .chip.status-seasonal { background: transparent; color: var(--gold-2); border-color: rgba(212,175,95,0.45); }
  :root:not([data-theme="light"]) .chip.status-on-request { background: transparent; color: var(--t-mid); border-color: var(--line-mid); }
  :root:not([data-theme="light"]) .chip.status-planned { background: transparent; color: var(--t-mid); border-color: var(--line-mid); }
}
:root[data-theme="dark"] {
  --ivory: #171114;
  --cream: #1f151a;
  --sand: #2b1c22;
  --t-dark: #f1e8db;
  --t-mid: #c8b5ab;
  --surface: #241822;
  --ink-text: #f3ead9;
  --line: rgba(240, 223, 174, 0.12);
  --line-mid: rgba(240, 223, 174, 0.22);
  --line-strong: rgba(240, 223, 174, 0.34);
  --accent: #d4af5f;
  --chip-bg: rgba(212, 175, 95, 0.08);
  --chip-line: rgba(212, 175, 95, 0.4);
  --ok-bg: #1e2b18; --ok-tx: #b9cfa8; --ok-line: #3c5731;
  --err-bg: #331416; --err-tx: #e4a9a9; --err-line: #6b2326;
  color-scheme: dark;
  --shell-bg: #120a0d;
  --shell-bg-a: rgba(18, 10, 13, 0.97);
  --shell-text: #f5ecdc;
  --shell-dim: #c9b8a6;
  --shell-line: rgba(212, 175, 95, 0.22);
  --shell-accent: #d4af5f;
  --nav-hover: #f0dfae;
  --nav-current: #d4af5f;
  --toggle-line: rgba(212, 175, 95, 0.4);
  --toggle-text: #f0dfae;
  --sec2-bg1: #1c0f14;
  --sec2-bg2: #241118;
  --sec2-text: #f5ecdc;
  --ondark-accent: #d4af5f;
  --ondark-title: #f0dfae;
  --ondark-lead: #c9b8a6;
  --card2-bg: #120a0d;
  --card2-line: rgba(212, 175, 95, 0.2);
  --card2-title: #f0dfae;
  --card2-text: #c9b8a6;
  --thumb-bg: #241118;
  --hero-bg: #120a0d;
  --hero-text: #f5ecdc;
  --hero-lead: #c9b8a6;
  --hero-accent: #d4af5f;
  --hero-veil-strong: rgba(18, 10, 13, 0.94);
  --hero-veil-mid: rgba(28, 15, 20, 0.72);
  --hero-veil-soft: rgba(18, 10, 13, 0.25);
  --hero-veil-clear: rgba(18, 10, 13, 0.12);
  --ribbon-bg: rgba(18, 10, 13, 0.55);
  --ribbon-line: rgba(212, 175, 95, 0.4);
  --ribbon-text: #f0dfae;
  --ph-1: #120a0d;
  --ph-2: #241118;
  --ph-tint: rgba(143, 20, 32, 0.45);
  --ghost-line: rgba(212, 175, 95, 0.55);
  --ghost-text: #f0dfae;
  --ghost-hover: rgba(212, 175, 95, 0.12);
  --side-bg: #1c0f14;
  --side-line: rgba(212, 175, 95, 0.25);
  --side-title: #f0dfae;
  --side-text: #c9b8a6;
  --side-link: #f0dfae;
}
:root[data-theme="dark"] .chip.status-seasonal { background: transparent; color: var(--gold-2); border-color: rgba(212,175,95,0.45); }
:root[data-theme="dark"] .chip.status-on-request { background: transparent; color: var(--t-mid); border-color: var(--line-mid); }
:root[data-theme="dark"] .chip.status-planned { background: transparent; color: var(--t-mid); border-color: var(--line-mid); }


/* Night/Day slide stacks: light theme shows the day (cream card) set */
.thumb.slides, .product-hero-grid .photo.slides { position: relative; }
.product-hero-grid .photo.slides { aspect-ratio: 900 / 1400; max-width: 560px; }
.stack { position: absolute; inset: 0; }
.stack-night { display: none; }
.stack-day { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stack-night { display: block; }
  :root:not([data-theme="light"]) .stack-day { display: none; }
}
:root[data-theme="dark"] .stack-night { display: block; }
:root[data-theme="dark"] .stack-day { display: none; }

/* Cookie consent footer link + CookieConsent v3 brand alignment */
.cc-footer-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 0.8rem; color: var(--shell-dim); text-decoration: underline;
}
.cc-footer-link:hover { color: var(--nav-hover); }
#cc-main {
  --cc-font-family: var(--font-body);
  --cc-btn-primary-bg: #d4af5f;
  --cc-btn-primary-border-color: #d4af5f;
  --cc-btn-primary-color: #120a0d;
  --cc-btn-primary-hover-bg: #a57d2d;
  --cc-btn-primary-hover-border-color: #a57d2d;
  --cc-modal-border-radius: 14px;
  --cc-btn-border-radius: 999px;
}

/* Newsletter / membership capture */
.nl-modal {
  position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 300;
  width: min(94vw, 400px);
  background: var(--surface); color: var(--t-dark);
  border: 1px solid var(--line-mid); border-radius: 16px;
  box-shadow: 0 30px 70px -25px rgba(18, 10, 13, 0.55);
  padding: 1.3rem 1.4rem 1.1rem;
  opacity: 0; transform: translateY(16px); transition: opacity 380ms, transform 380ms;
}
.nl-modal.in { opacity: 1; transform: none; }
.nl-modal h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-text); margin-bottom: 0.4rem; padding-inline-end: 1.4rem; }
.nl-modal p { font-size: 0.86rem; color: var(--t-mid); }
.nl-close {
  position: absolute; top: 10px; inset-inline-end: 10px;
  background: none; border: 0; cursor: pointer; color: var(--t-mid); font-size: 0.95rem; padding: 0.2rem 0.4rem;
}
.nl-form { display: grid; gap: 0.5rem; margin-top: 0.7rem; }
.nl-form input[type="email"] {
  width: 100%; padding: 0.6rem 0.8rem; font: inherit;
  border: 1px solid var(--line-mid); border-radius: 9px; background: var(--ivory); color: var(--t-dark);
}
.nl-form label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem; color: var(--t-mid); }
.nl-form label input { margin-top: 0.2rem; }
.nl-consent { border-top: 1px solid var(--line); padding-top: 0.5rem; }
.nl-actions { display: flex; gap: 0.6rem; margin-top: 0.3rem; }
.nl-go {
  flex: 1; border: 0; border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer;
  font: inherit; font-weight: 800; color: #1c0f14;
  background: linear-gradient(135deg, #f0dfae, #d4af5f 55%, #a57d2d);
}
.nl-later { background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.82rem; color: var(--t-mid); text-decoration: underline; }
.nl-hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.nl-status { display: none; font-size: 0.84rem; font-weight: 600; }
.nl-status.ok { display: block; color: #4c7a38; }
.nl-status.err { display: block; color: #b3131b; }

/* Footer mini signup */
.nl-footer { max-width: 26rem; }
.nl-footer h4 { margin-top: 1.2rem; }
.nl-footer-form { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.nl-footer-form input[type="email"] {
  flex: 1; min-width: 0; padding: 0.5rem 0.75rem; font: inherit; font-size: 0.88rem;
  border: 1px solid var(--shell-line); border-radius: 999px;
  background: transparent; color: var(--shell-text);
}
.nl-footer-form button {
  border: 0; border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer;
  font: inherit; font-size: 0.85rem; font-weight: 800; color: #1c0f14;
  background: linear-gradient(135deg, #f0dfae, #d4af5f 55%, #a57d2d);
}
.nl-footer .nl-note { font-size: 0.72rem; margin-top: 0.4rem; color: var(--shell-dim); }

/* --------------------------------------------------------------------------
   Elegant motion — rotating hero copy + settle-in image reveals
   -------------------------------------------------------------------------- */
.hero-texts { display: grid; }
.hero-copy {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(16px);
  transition: opacity 900ms ease, transform 900ms ease;
  pointer-events: none;
}
.hero-copy.on { opacity: 1; transform: none; pointer-events: auto; }
.hero .hero-h {
  font-family: var(--font-display); font-weight: 400; line-height: 1.18;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: 1.1rem 0 1.3rem;
}
html.rtl .hero .hero-h { line-height: 1.5; }
.hero .hero-h .gold { color: var(--hero-accent); }

/* Images settle from a gentle zoom as their card reveals */
.family-card img,
.proof-item img,
.rounded-photo img,
.app-card .thumb img,
.format-card .thumb img {
  transform: scale(1.09);
  transition: transform 1200ms cubic-bezier(0.19, 0.6, 0.22, 1);
}
.family-card.in img,
.proof-item.in img,
.rounded-photo.in img,
.app-card.in .thumb img,
.format-card.in .thumb img,
.reveal.in .rounded-photo img,
.grid-2col .rounded-photo.in img {
  transform: scale(1);
}
.family-card.in:hover img { transform: scale(1.045); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy { opacity: 0; }
  .hero-copy.on, .hero-copy:first-child { opacity: 1; transform: none; }
  .family-card img, .proof-item img, .rounded-photo img,
  .app-card .thumb img, .format-card .thumb img { transform: none; }
}
