/* ============================================================
   Golden Walls — Friendly version
   Warm food-magazine aesthetic
   ============================================================ */
:root {
  /* Palette — navy on white (single accent)
     Base: #FFFFFF · dark navy */
  --cream: #f4f6f9;
  --cream-2: #eaeef4;
  --cream-3: #dde4ee;
  --paper: #ffffff;
  --ink: #0f1f3d;
  --ink-2: #16294d;
  --ink-soft: #2b3f63;
  --muted: #5d6b82;
  --muted-2: #97a3b8;
  --line: #e3e8f0;
  --line-strong: #ccd5e2;

  /* Brand tones — navy staircase (one accent family) */
  --olive: #16294d;        /* primary navy */
  --olive-deep: #0c1830;   /* deepest navy */
  --olive-soft: #e6ebf3;   /* very light navy-gray (soft sections) */
  --terra: #24395f;        /* mid navy accent / italics */
  --terra-deep: #0f1f3d;
  --terra-soft: #dde4ee;
  --mustard: #d9e0ec;      /* light navy-gray pop (dark text) */
  --mustard-soft: #c3cee0; /* light accent on dark */
  --plum: #1c2e52;         /* navy */
  --sky: #213a66;          /* navy */

  --serif: "Spectral", "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --mono: "Hanken Grotesk", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1320px;
  --gutter: 40px;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
body[dir="rtl"] { font-family: "Tajawal", var(--sans); }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--olive); color: #fff; }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 7vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h-display .italic { font-style: italic; color: var(--terra); font-weight: 400; }
.h-display .underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.h-display .underline::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 2px;
  background: var(--olive);
  opacity: 0.5;
  z-index: -1;
}

.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.018em;
}
.h-section .italic { font-style: italic; color: var(--terra); }

.h-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.012em;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

.body { color: var(--ink-soft); font-size: 15px; line-height: 1.7; text-wrap: pretty; }
.body-lg { color: var(--ink-soft); font-size: 17px; line-height: 1.65; text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .star { color: var(--terra); font-size: 14px; line-height: 0; }

/* Calmer: hide decorative stars, keep eyebrows quiet */
.eyebrow .star { display: none; }
.eyebrow { gap: 0; }

/* Buttons — pill-shaped, friendly */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 220ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--olive); transform: translateY(-1px); }

.btn-olive { background: var(--olive); color: var(--paper); }
.btn-olive:hover { background: var(--olive-deep); transform: translateY(-1px); }

.btn-terra { background: var(--terra); color: var(--paper); }
.btn-terra:hover { background: var(--terra-deep); transform: translateY(-1px); }

.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; right: 24px; bottom: -2px;
  height: 1px; background: var(--ink);
}
.btn-link .arrow { transition: transform 220ms ease; }
.btn-link:hover .arrow { transform: translateX(4px); }
body[dir="rtl"] .btn-link:hover .arrow { transform: translateX(-4px); }

/* Nav */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 16px;
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 41, 107, 0.18), 0 0 0 1px rgba(0, 41, 107, 0.05);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px dashed var(--olive);
  opacity: 0.4;
}
.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
}
.brand-name .sub {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-links button {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 160ms ease;
}
.nav-links button:hover { color: var(--ink); background: var(--cream-2); }
.nav-links button.active { color: var(--paper); background: var(--olive); }

.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: flex;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  padding: 6px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: all 160ms ease;
}
.lang-toggle button.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

/* Version switcher pill */
.version-switch {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 14px 40px -10px rgba(0, 41, 107, 0.4);
}
.version-switch .v-label { opacity: 0.62; }
.version-switch a {
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 180ms ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.version-switch a:hover { background: var(--mustard); }

/* Image slot wrapper */
.img-frame { position: relative; background: var(--cream-2); overflow: hidden; }
.img-frame.r { border-radius: var(--r); }
.img-frame.r-lg { border-radius: var(--r-lg); }
.img-frame.r-xl { border-radius: var(--r-xl); }
.img-frame.r-blob { border-radius: 60% 40% 55% 45% / 50% 50% 50% 50%; }
.img-frame image-slot { width: 100%; height: 100%; display: block; }

/* Placeholder — warmer */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 41, 107, 0.06), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0, 41, 107, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-soft);
}
.ph-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}
.ph-icon { width: 30px; height: 30px; opacity: 0.45; }

/* Section helpers */
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-lg { padding: 150px 0; }
.section-paper { background: var(--paper); border-radius: var(--r-xl); margin: 12px; }
.section-olive { background: var(--olive); color: var(--paper); border-radius: var(--r-xl); margin: 12px; }
.section-olive-deep { background: var(--olive-deep); color: var(--paper); border-radius: var(--r-xl); margin: 12px; }
.section-terra { background: var(--terra); color: var(--paper); border-radius: var(--r-xl); margin: 12px; }
.section-mustard { background: var(--mustard); color: var(--ink); border-radius: var(--r-xl); margin: 12px; }
.section-sage { background: var(--olive-soft); color: var(--olive-deep); border-radius: var(--r-xl); margin: 12px; }
.section-cream { background: var(--cream-2); border-radius: var(--r-xl); margin: 12px; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--paper); }
.on-dark .lead, .on-dark .body-lg { color: rgba(255,255,255,0.84); }
.on-dark .body { color: rgba(255,255,255,0.7); }
.on-dark .eyebrow { color: rgba(255,255,255,0.6); }
.on-dark .eyebrow .star { color: var(--mustard-soft); }
.on-dark .btn-ghost { border-color: var(--paper); color: var(--paper); }
.on-dark .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* Hero */
.hero { padding: 60px 0 0; }
.hero-a {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 60px;
}
.hero-a .copy { padding-top: 40px; }
.hero-a .actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-a .img-frame { height: 70vh; min-height: 520px; }

.hero-b { text-align: center; padding-bottom: 0; }
.hero-b .copy { max-width: 1100px; margin: 0 auto; padding: 40px 0 60px; }
.hero-b .h-display { margin: 0 auto; max-width: 14ch; }
.hero-b .lead { margin: 28px auto 0; }
.hero-b .actions { justify-content: center; display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-b .img-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 16px;
  height: 56vh;
  min-height: 380px;
}
.hero-b .img-row .img-frame:nth-child(1) { transform: translateY(40px); }
.hero-b .img-row .img-frame:nth-child(3) { transform: translateY(-20px); }

.hero-c { padding: 24px; }
.hero-c .wrap {
  background: var(--olive);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-c .wrap::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: var(--mustard); opacity: 0.18;
  border-radius: 50%;
}
.hero-c .copy { position: relative; z-index: 2; }
.hero-c .copy .h-display { color: var(--paper); }
.hero-c .copy .h-display .italic { color: var(--mustard-soft); }
.hero-c .copy .h-display .underline::after { background: var(--terra-soft); opacity: 0.5; }
.hero-c .copy .lead { color: rgba(255,255,255,0.86); }
.hero-c .copy .actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-c .img-frame { height: 60vh; min-height: 460px; border-radius: var(--r-lg); position: relative; z-index: 1; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .item .num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  font-weight: 300;
}
.hero-meta .item .num .sup { font-family: var(--mono); font-size: 14px; vertical-align: top; color: var(--terra); margin-left: 4px; }
.hero-meta .item .lbl {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  max-width: 18ch;
}

@media (max-width: 900px) {
  .hero-a, .hero-c .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-a .img-frame { height: 50vh; min-height: 320px; }
  .hero-b .img-row { grid-template-columns: 1fr; height: auto; }
  .hero-b .img-row > * { height: 240px; transform: none !important; }
  .hero-c .wrap { padding: 32px; }
  .hero-c .img-frame { height: 50vh; min-height: 320px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section { padding: 70px 0; }
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
}

/* Service cards — calm, mostly paper with navy accents */
.service-block {
  border-radius: var(--r);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  position: relative;
  transition: border-color 200ms ease;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}
.service-block:hover { border-color: var(--ink); }
.service-block .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.service-block h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}
.service-block p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.service-block .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--olive);
}
/* All variants share the calm paper look; the single dark accent is opt-in via .is-dark */
.service-block.olive,
.service-block.terra,
.service-block.mustard,
.service-block.sage,
.service-block.cream,
.service-block.plum { background: var(--paper); color: var(--ink); }
.service-block.olive .icon,
.service-block.terra .icon,
.service-block.mustard .icon,
.service-block.sage .icon,
.service-block.cream .icon,
.service-block.plum .icon { background: var(--cream-2); color: var(--olive); }
.service-block.olive h3, .service-block.terra h3, .service-block.mustard h3,
.service-block.sage h3, .service-block.cream h3, .service-block.plum h3 { color: var(--ink); }
.service-block.olive p, .service-block.terra p, .service-block.mustard p,
.service-block.sage p, .service-block.cream p, .service-block.plum p { color: var(--ink-soft); }

/* Opt-in dark accent block */
.service-block.is-dark {
  background: var(--olive-deep);
  color: #fff;
  border-color: var(--olive-deep);
}
.service-block.is-dark h3 { color: #fff; }
.service-block.is-dark p { color: rgba(255,255,255,0.72); }
.service-block.is-dark .num { color: var(--mustard-soft); }
.service-block.is-dark .icon { background: rgba(255,255,255,0.1); color: #fff; }

/* Feature cards — paper, with coloured icon */
.feat-card {
  padding: 32px;
  background: var(--paper);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  border: 1px solid var(--line);
  transition: transform 200ms ease;
}
.feat-card:hover { transform: translateY(-3px); }
.feat-card .icon-bubble {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.feat-card .icon-bubble.terra { background: rgba(0, 41, 107, 0.10); color: var(--terra); }
.feat-card .icon-bubble.mustard { background: rgba(0, 41, 107, 0.14); color: var(--ink); }
.feat-card .icon-bubble.sage { background: rgba(0, 41, 107, 0.08); color: var(--ink); }
.feat-card .icon-bubble.olive { background: rgba(0, 41, 107, 0.10); color: var(--olive); }
.feat-card .icon-bubble.plum { background: rgba(0, 41, 107, 0.12); color: var(--plum); }
.feat-card .icon-bubble.sky { background: rgba(0, 41, 107, 0.10); color: var(--sky); }
.feat-card h4 { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.feat-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* Brand grid — colored tiles */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-tile {
  aspect-ratio: 5/4;
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 200ms ease;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}
.brand-tile:hover { border-color: var(--ink); }
.brand-tile .pill {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--muted);
}
.brand-tile .wm {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--ink);
}
.brand-tile .wm-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--muted);
}
.brand-tile.olive, .brand-tile.terra, .brand-tile.mustard, .brand-tile.sage,
.brand-tile.cream, .brand-tile.plum, .brand-tile.sky, .brand-tile.deep {
  background: var(--paper); color: var(--ink);
}

/* ============================================================
   Logo grid — drop-zone tiles (warm)
   ============================================================ */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-card {
  background: var(--paper);
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 220ms ease;
  position: relative;
}
.logo-card:hover { transform: translateY(-3px); }
.logo-card .logo-slot {
  aspect-ratio: 5 / 4;
  position: relative;
  background: var(--cream-2);
  overflow: hidden;
}
.logo-card .logo-slot image-slot { width: 100%; height: 100%; display: block; }
.logo-card .pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(255,255,255,0.96);
  padding: 5px 10px;
  border-radius: 999px;
}
body[dir="rtl"] .logo-card .pill { left: auto; right: 12px; }
.logo-card .meta {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.logo-card .meta .name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.logo-card .meta .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Product grid — photo-led cards (warm)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 220ms ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .photo {
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  overflow: hidden;
  position: relative;
}
.product-card .photo image-slot { width: 100%; height: 100%; display: block; }
.product-card .photo .pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--olive-deep);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
body[dir="rtl"] .product-card .photo .pill { left: auto; right: 12px; }
.product-card .info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.product-card .info .brand {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 4px;
}
.product-card .info .name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
  color: var(--ink);
}
.product-card .info .cat {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Categories — chunky chips */
.cat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--ink);
  font-family: var(--sans);
  transition: all 180ms ease;
  cursor: pointer;
}
.cat-pill:hover { background: var(--cream-2); }
.cat-pill.active { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.cat-pill .count {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.7;
  padding-left: 10px;
  border-left: 1px solid currentColor;
  border-left-color: rgba(0,0,0,0.12);
}
.cat-pill.active .count { border-left-color: rgba(255,255,255,0.3); }

/* Numbered list */
.principles {
  display: grid;
  gap: 12px;
}
.principle {
  background: var(--paper);
  border-radius: var(--r);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 56px 1fr 1.4fr;
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
}
.principle .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--terra);
  font-weight: 300;
}
.principle h3 { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.principle p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
  .principle { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--paper);
  border-radius: var(--r);
  padding: 32px;
  border: 1px solid var(--line);
}
.stat-card .num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.stat-card .num .sup { font-family: var(--mono); font-size: 14px; color: var(--terra); vertical-align: top; margin-left: 4px; font-weight: 400; }
.stat-card .lbl {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}
.on-dark .stat-card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.on-dark .stat-card .num { color: var(--paper); }
.on-dark .stat-card .num .sup { color: var(--mustard-soft); }
.on-dark .stat-card .lbl { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Marquee */
.marquee {
  background: var(--mustard);
  color: var(--olive-deep);
  padding: 22px 0;
  overflow: hidden;
}
.marquee .row {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: mq 60s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}
.marquee .row .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--olive-deep);
  display: inline-block;
  align-self: center;
}
.marquee .row > span { display: inline-flex; align-items: center; gap: 28px; }
@keyframes mq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
body[dir="rtl"] .marquee .row { animation-direction: reverse; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease;
  width: 100%;
  border-radius: 14px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--olive); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Map */
.map-wrap {
  position: relative;
  background: var(--cream-2);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.map-pin .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px rgba(0,41,107,0.14);
}
.map-pin .dot.hub {
  background: var(--terra);
  width: 14px; height: 14px;
  box-shadow: 0 0 0 6px rgba(0,80,157,0.18);
  position: relative;
}
.map-pin .dot.hub::after {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid var(--terra);
  animation: pulse 2.6s ease-out infinite;
}
.map-pin .label { background: rgba(255,255,255,0.94); padding: 3px 8px; border-radius: 999px; }
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* Section header */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
.section-header .right { max-width: 50ch; }
@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; gap: 24px; }
}

/* Footer */
.footer {
  background: var(--olive-deep);
  color: rgba(255,255,255,0.74);
  border-radius: var(--r-xl);
  margin: 12px;
  padding: 90px 0 36px;
}
.footer .container { padding: 0 60px; }
.footer h4 {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 72px;
}
.footer-brand .h-section {
  color: var(--paper);
  font-family: var(--serif);
}
.footer-brand .h-section .italic { color: var(--mustard-soft); }
.footer-brand .body { color: rgba(255,255,255,0.6); max-width: 36ch; margin-top: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li button { font-size: 14px; color: rgba(255,255,255,0.7); text-align: left; transition: color 160ms ease; }
body[dir="rtl"] .footer-col li button { text-align: right; }
.footer-col li button:hover { color: var(--mustard-soft); }
.footer-col .contact-line { font-size: 14px; color: rgba(255,255,255,0.86); margin-bottom: 6px; }
.footer-col .contact-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.footer-bottom .legal { display: flex; gap: 24px; }
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Quote */
.quote {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 300;
  text-wrap: balance;
}
.quote .italic { font-style: italic; color: var(--terra); }

/* Page transitions */
main { animation: pageIn 460ms ease; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tag */
.tag {
  display: inline-flex;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--olive-deep);
}
