/* Vatoora marketing site — Brand Book v1.0, September 2026.
   Square corners throughout, 2px rules instead of shadows, one accent.
   Serves Arabic (RTL) and English (LTR) from one file. */

:root {
  /* 04.1 palette */
  --accent: #17A2A8;      /* Signal Teal — fill only, never type on light */
  --teal-ink: #0F7A7F;    /* teal type on light grounds, 4.66:1 on paper */
  --ink: #0A0F11;
  --deep: #04252A;
  --paper: #F2F5F4;
  --card: #FFFFFF;

  /* teal tints — interface surfaces only, never type */
  --tint-10: #E4F1F2;
  --tint-25: #C5E3E5;
  --tint-50: #8BC7CA;
  --tint-120: #14868B;

  /* neutrals derived from ink for secondary type; both clear 4.5:1 */
  --ink-mute: #5A6668;
  --paper-mute: #9AA6A8;

  /* product states — interface only, always beside a word */
  --cleared: #1F8F4E;
  --pending: #C98A11;
  --rejected: #C0392B;

  --rule: #E1E6E5;
  --rule-dark: rgba(242, 245, 244, .16);

  --wrap: 1180px;
  --display: 'Urbanist', system-ui, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --lh-body: 1.55;
  --lh-title: 1.08;
}

html[lang="ar"] {
  --display: 'Cairo', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --lh-body: 1.6;
  --lh-title: 1.3;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-size: 18px; }
@media (max-width: 700px) { body, html[lang="ar"] body { font-size: 17px; } }

/* 05.1 three faces — Urbanist for display only, never body copy */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: var(--lh-title);
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: pretty;
}
h1 { font-size: clamp(38px, 6vw, 76px); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.015em; }
h3 { font-size: clamp(21px, 1.7vw, 26px); letter-spacing: -.01em; }
html[lang="ar"] h1 { font-size: clamp(30px, 4.6vw, 58px); letter-spacing: 0; }
html[lang="ar"] h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: 0; }
html[lang="ar"] h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: 0; }

h4 { font-family: var(--body); font-weight: 600; font-size: 1em; margin: 0 0 .4em; color: var(--ink); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1em; padding-inline-start: 1.1em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

a { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; }
img { height: auto; }

/* figures and labels are always Plex Mono, tabular */
.num, .figure { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
html[lang="ar"] .label { letter-spacing: 0; text-transform: none; font-weight: 600; font-family: var(--body); font-size: 14px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sec--ink :focus-visible, .sec--deep :focus-visible, .footer :focus-visible { outline-color: var(--accent); }

.skip {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 8px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ── 02.2 lockup ────────────────────────────────────────── */
/* 03.1 floors: the lockup is at least 110px wide and the symbol at least 16px. The lockup
   composes off ONE font-size declared here, so .mark and the gap resolve against the logotype
   rather than against inherited body copy. */
.brand {
  display: inline-flex; align-items: center; gap: .42em; text-decoration: none; flex: 0 0 auto;
  font-size: 28px; min-width: 110px;
}
html[lang="ar"] .brand { font-size: 30px; }
.brand:hover { color: inherit; }
.mark { height: .6em; width: auto; display: block; flex: 0 0 auto; }
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 1em; line-height: 1;
  letter-spacing: 0; color: var(--ink); white-space: nowrap;
}
.footer .wordmark { color: var(--paper); }

/* supplied master artwork: sized on width so the lockup clears the 110px floor as one object */
.brand--img { min-width: 110px; }
.brand--img img { width: 156px; height: auto; display: block; }
.footer .brand--img img { width: 168px; }
.root-logo .brand--img img { width: 240px; }

/* ── header ─────────────────────────────────────────────── */
.site-header { background: var(--paper); border-bottom: 2px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--ink); font-size: 16px; padding: 6px 0; white-space: nowrap; }
.nav a:hover { color: var(--teal-ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }

.header-side { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.lang {
  font-family: var(--mono); font-size: 13px; text-decoration: none; color: var(--ink);
  border: 2px solid var(--rule); padding: 8px 12px; white-space: nowrap;
}
html[lang="ar"] .lang { font-family: var(--mono); }
.lang:hover { border-color: var(--ink); color: var(--ink); }

.menu-btn { display: none; }

@media (max-width: 1180px) { .nav { gap: 2px 18px; } .nav a { font-size: 15px; } }
@media (max-width: 1040px) {
  html.js .menu-btn {
    display: inline-flex; align-items: center; margin-inline-start: auto;
    background: transparent; border: 2px solid var(--rule); padding: 9px 14px;
    font-family: var(--mono); font-size: 13px; color: var(--ink); cursor: pointer;
  }
  html.js .nav {
    display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0 0 14px;
  }
  html.js .nav[data-open="true"] { display: flex; }
  html.js .nav a { padding: 13px 0; border-top: 2px solid var(--rule); font-size: 17px; }
  .header-in { flex-wrap: wrap; }
}
@media (max-width: 560px) { .header-side .btn { display: none; } }

/* ── sections ───────────────────────────────────────────── */
.sec { padding: clamp(56px, 7vw, 104px) 0; }
.sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
.sec--bar { padding: 20px 0; border-bottom: 2px solid var(--rule); }
.sec--card { background: var(--card); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.sec--tint { background: var(--tint-10); border-top: 2px solid var(--tint-25); border-bottom: 2px solid var(--tint-25); }
.sec--tint .card, .sec--tint .step, .sec--tint .tile, .sec--tint .doc, .sec--tint .win, .sec--tint .connect { background: var(--card); border-color: var(--tint-25); }
.sec--tint .tiles { background: var(--tint-25); border-color: var(--tint-25); }
/* Teal Ink clears 4.5:1 on Paper and white, but only 4.42:1 on the tint — section labels sitting
   directly on a tint band take Ink instead. Labels inside the white cards keep the teal. */
.sec--tint > .wrap .eyebrow { color: var(--ink); }
/* white product mocks sit inside the dark grounds — their contents stay on ink */
.sec--ink .doc, .sec--ink .win, .sec--ink .connect,
.sec--deep .doc, .sec--deep .win, .sec--deep .connect { color: var(--ink); }
.sec--ink .doc .icon, .sec--ink .win .icon, .sec--ink .connect .icon,
.sec--deep .doc .icon, .sec--deep .win .icon, .sec--deep .connect .icon { color: var(--ink); }
.sec--ink .win-bar, .sec--deep .win-bar { background: var(--deep); }
/* the accent button keeps ink type on teal (6.2:1); the dark-ground link colour must not win */
.sec--ink .btn--primary, .sec--deep .btn--primary, .panel-ink .btn--primary, .footer .btn--primary { color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--paper-mute); }
.sec--deep { background: var(--deep); color: var(--paper-mute); }
.sec--ink h1, .sec--ink h2, .sec--ink h3, .sec--ink h4,
.sec--deep h1, .sec--deep h2, .sec--deep h3, .sec--deep h4 { color: var(--paper); }
.sec--ink a, .sec--deep a { color: var(--paper); }
.sec--ink a:hover, .sec--deep a:hover { color: var(--accent); }
.sec--ink .label, .sec--deep .label { color: var(--paper-mute); }

.eyebrow {
  display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-ink); margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-family: var(--body); font-weight: 600; font-size: 14px; }
.sec--ink .eyebrow, .sec--deep .eyebrow { color: var(--paper-mute); }

.lead { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.35; max-width: 40ch; }
html[lang="ar"] .lead { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.55; max-width: 42ch; }
.sec--ink .lead, .sec--deep .lead { color: var(--paper); }

.measure { max-width: 62ch; }
.wrap.measure, .wrap.prose { max-width: var(--wrap); }
.wrap.measure > * { max-width: 62ch; }
.wrap.prose > * { max-width: 70ch; }
html[lang="ar"] .wrap.measure > * { max-width: 56ch; }
.sec-head { max-width: 46ch; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head .lead { margin-top: .6em; }
.center { text-align: center; margin-inline: auto; }
.wrap.center > * { margin-inline: auto; }

/* ── buttons — teal marks the single primary action per view ─ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 17px; line-height: 1.2;
  padding: 15px 26px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s linear, border-color .15s linear, color .15s linear;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--tint-120); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.sec--ink .btn--ghost, .sec--deep .btn--ghost, .footer .btn--ghost { color: var(--paper); border-color: var(--paper-mute); }
.sec--ink .btn--ghost:hover, .sec--deep .btn--ghost:hover, .footer .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 9px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }
.btn-row--mt { margin-top: 30px; }

.arrow { font-family: var(--mono); }
html[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }

/* ── hero ───────────────────────────────────────────────── */
.hero { padding: clamp(48px, 6vw, 90px) 0 clamp(52px, 6vw, 90px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 60px); align-items: start; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; } }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: .8em; }
.hero-body { max-width: 46ch; }
.sec--ink .hero-body, .sec--deep .hero-body { color: var(--paper-mute); }

/* ── grids and cards ────────────────────────────────────── */
.grid { display: grid; gap: 2px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card { background: var(--card); border: 2px solid var(--rule); padding: clamp(24px, 2.6vw, 34px); }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { border-color: var(--ink); color: inherit; }
.card--quiet { background: transparent; }
.sec--ink .card, .sec--deep .card { background: transparent; border-color: var(--rule-dark); }
.card p { color: var(--ink); }
.sec--ink .card p, .sec--deep .card p { color: var(--paper-mute); }
.card-more { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--teal-ink); margin-top: 18px; }
.card--link:hover .card-more { color: var(--ink); }
.sec--ink .card-more, .sec--deep .card-more { color: var(--accent); }

/* 08 iconography — 64-unit grid, ink, no accent fill in marketing */
.icon { width: 30px; height: 30px; display: block; color: var(--ink); }
.icon--sm { width: 18px; height: 18px; }
.sec--ink .icon, .sec--deep .icon { color: var(--paper); }
.icon-badge { display: block; margin-bottom: 20px; }
.icon-badge .icon { color: var(--teal-ink); }
.sec--ink .icon-badge .icon, .sec--deep .icon-badge .icon, .panel-ink .icon-badge .icon { color: var(--accent); }

/* trust bar */
.trust {
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute); text-align: center; margin: 0;
}
html[lang="ar"] .trust { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust span::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: 0 0 auto; }
.todo-line { margin-top: 10px; }

/* product screenshots — device mockups, transparent PNG, no frame needed */
.vig--shot { display: block; }
.vig--shot .shot-img { display: block; width: 100%; height: auto; }
.shot-inline {
  margin: clamp(28px, 4vw, 48px) auto 0; max-width: 880px;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.shot-inline img { display: block; width: 100%; height: auto; }
.shot-inline figcaption {
  font-size: 15px; line-height: 1.5; color: var(--ink-mute);
  max-width: 56ch; text-align: center; text-wrap: pretty;
}

/* customer logo strip — dimmed to greyscale so the band stays calm,
   full colour on hover or keyboard focus */
.logo-row {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 560px) { .logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .logo-row { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.logo-slot {
  height: 88px; display: grid; place-items: center; padding: 10px;
  background: var(--card); border: 2px solid var(--tint-25);
}
/* The supplied files carry different amounts of padding and baked-in
   background, so aligning on the file edge misaligns the marks. Each master is
   cropped to its artwork and given an area-normalised height: wide logotypes
   sit shorter, square marks taller, so all eight read at the same weight. */
.logo-slot img {
  width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .18s ease, opacity .18s ease;
}
.logo-slot img[data-logo="sonic"] { height: 34px; }
.logo-slot img[data-logo="wings"] { height: 33px; }
.logo-slot img[data-logo="pals"] { height: 38px; }
.logo-slot img[data-logo="shopbrain"] { height: 40px; }
.logo-slot img[data-logo="chicken-and-ribs"] { height: 59px; }
.logo-slot img[data-logo="blueride"] { height: 60px; }
.logo-slot img[data-logo="spaghi"] { height: 61px; }
.logo-slot img[data-logo="butchers-burger"] { height: 63px; }
.logo-slot:hover img, .logo-slot:focus-within img { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .logo-slot img { transition: none; } }

/* steps */
.steps { display: grid; gap: 2px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 2px solid var(--rule); border-top: 2px solid var(--accent); padding: clamp(24px, 2.6vw, 32px); }
.step-n {
  display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-ink); margin-bottom: 22px;
}
html[lang="ar"] .step-n { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14px; }

/* feature tiles */
.tiles { display: grid; gap: 2px; }
@media (min-width: 660px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 2px solid var(--rule); padding: 28px 26px; }
.tile .icon { width: 26px; height: 26px; margin-bottom: 18px; color: var(--teal-ink); }
.tile h3 { font-family: var(--body); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.tile p { font-size: 16px; color: var(--ink-mute); }
.tile-group {
  display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px;
}
html[lang="ar"] .tile-group { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin: 0; }
.checks svg { width: 22px; height: 22px; margin-top: .28em; color: var(--teal-ink); }
.sec--ink .checks svg, .sec--deep .checks svg { color: var(--accent); }
.checks strong { font-weight: 600; }

/* walkthrough */
.walk { display: grid; }
.walk-step { padding: 22px 0; border-top: 2px solid var(--rule); }
.walk-step:last-child { border-bottom: 2px solid var(--rule); }
.walk-step h3 { font-family: var(--body); font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: .3em; }
.walk-step p { color: var(--ink-mute); }
.sec--ink .walk-step, .sec--deep .walk-step { border-color: var(--rule-dark); }

/* faq */
.faq { border-top: 2px solid var(--rule); }
.faq details { border-bottom: 2px solid var(--rule); background: var(--card); }
.faq summary {
  cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 19px;
  display: flex; gap: 18px; align-items: baseline; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; font-family: var(--mono); font-size: 22px; color: var(--teal-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 24px; max-width: 72ch; color: var(--ink-mute); }
.faq-all { margin-top: 28px; font-weight: 600; }

/* ── product mocks — the interface, drawn as it is specified ─ */
.vig { display: grid; gap: 2px; }
.doc, .win { background: var(--card); border: 2px solid var(--rule); }
.doc { padding: 24px 26px; }
.doc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.doc-title { font-family: var(--mono); font-weight: 500; font-size: 16px; letter-spacing: 0; }
.doc-sub { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); margin-inline-start: auto; }
.doc-rows { display: grid; }
.doc-row {
  display: flex; gap: 16px; align-items: baseline; font-size: 15px; color: var(--ink-mute);
  padding: 10px 0; border-top: 1px solid var(--rule);
}
.doc-row .val { margin-inline-start: auto; font-family: var(--mono); color: var(--ink); text-align: end; }
.doc-foot { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-top: 20px; }
html[lang="ar"] .doc-foot { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 13px; }
.doc--flag { border-inline-start: 6px solid var(--rejected); }
.doc-badge { margin: 0 0 16px; }

/* status: colour never carries the meaning alone */
.state { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.state::before { content: ""; width: 11px; height: 11px; flex: 0 0 auto; background: var(--ink); }
.state--cleared::before { background: var(--cleared); }
.state--pending::before { background: var(--pending); }
.state--rejected::before { background: var(--rejected); }
.rail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.rail-sep { font-family: var(--mono); color: var(--ink-mute); }
html[dir="rtl"] .rail-sep { display: inline-block; transform: scaleX(-1); }
.count { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: var(--rejected); margin: 18px 0 0; }
.doc-actions { display: flex; gap: 10px; margin-top: 20px; }
.mini { font-size: 15px; font-weight: 600; padding: 9px 18px; border: 2px solid var(--ink); color: var(--ink); }
.mini--solid { background: var(--accent); border-color: var(--accent); }

.till { display: grid; }
.till-row { display: flex; align-items: baseline; gap: 14px; font-size: 15px; padding: 11px 0; border-top: 1px solid var(--rule); }
.till-row:first-child { border-top: 0; }
.till-note { margin-inline-start: auto; font-family: var(--mono); font-size: 13px; color: var(--ink-mute); text-align: end; }

.win-bar { background: var(--ink); padding: 12px 18px; display: flex; align-items: center; gap: 10px; }
.win-title { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-mute); }
html[lang="ar"] .win-title { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 13px; }
.win-body { padding: 22px 26px; }

.connect { background: var(--card); border: 2px solid var(--rule); padding: clamp(24px, 2.6vw, 32px); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.flow-chip { border: 2px solid var(--ink); padding: 11px 18px; font-weight: 600; font-size: 15px; }
.flow-sep { font-family: var(--mono); color: var(--ink-mute); }
html[dir="rtl"] .flow-sep { display: inline-block; transform: scaleX(-1); }

.channels {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start;
  margin: 34px 0 30px; padding-top: 28px; border-top: 2px solid var(--rule-dark);
}

/* 09 photography — real counters, no filters. Slot until the shoot lands. */
.shot { border: 2px solid var(--rule); background: var(--card); }
.shot .shot-img { display: block; width: 100%; height: auto; }
.shot-frame {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; margin: 16px; border: 1px dashed var(--tint-50);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); text-align: center; padding: 20px;
}
.shot-cap { font-size: 15px; color: var(--ink-mute); padding: 0 18px 18px; margin: 0; }

/* ── panels ─────────────────────────────────────────────── */
.panel-ink { background: var(--ink); color: var(--paper-mute); padding: clamp(30px, 5vw, 60px); }
.panel-ink h2, .panel-ink h3 { color: var(--paper); }
.panel-ink .lead { color: var(--paper); }
.panel-ink .eyebrow, .panel-ink .label { color: var(--paper-mute); }
.panel-ink .card { background: transparent; border-color: var(--rule-dark); }
.panel-ink .card p { color: var(--paper-mute); }
.panel-ink .icon { color: var(--paper); }
.panel-ink .btn--ghost { color: var(--paper); border-color: var(--paper-mute); }
.panel-ink .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.panel-ink .card-more { color: var(--accent); }

/* ── forms ──────────────────────────────────────────────── */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > label { font-weight: 600; font-size: 17px; }
.field .hint { font-weight: 400; font-size: 15px; color: var(--ink-mute); }
input, select, textarea {
  font-family: var(--body); font-size: 17px; color: var(--ink); background: var(--card);
  border: 2px solid var(--rule); padding: 14px 16px; width: 100%; border-radius: 0;
}
select { appearance: none; }
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-mute); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field-error { font-family: var(--mono); font-size: 14px; color: var(--rejected); margin: 0; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rejected); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 16px; color: var(--ink-mute); }
.form-status { background: var(--tint-10); border-inline-start: 6px solid var(--accent); padding: 16px 18px; font-weight: 600; margin: 0; }
.form-status[hidden] { display: none; }
.two-col { display: grid; gap: 22px; }
@media (min-width: 660px) { .two-col { grid-template-columns: 1fr 1fr; } }
.contact-grid { display: grid; gap: clamp(34px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.aside-stack { display: grid; gap: 2px; align-content: start; }

.deflist { margin: 0; display: grid; }
.deflist dt {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 18px;
}
html[lang="ar"] .deflist dt { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; }
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: 4px 0 0; }

/* ── footer ─────────────────────────────────────────────── */
.footer { background: var(--deep); color: var(--paper-mute); padding: clamp(52px, 6vw, 80px) 0 34px; border-top: 2px solid var(--accent); }
.footer h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 18px; }
html[lang="ar"] .footer h3 { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14px; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 880px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; } }
.footer .brand { margin-bottom: 22px; }
.footer-desc { font-size: 16px; max-width: 34ch; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 16px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 2px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center;
  font-family: var(--mono); font-size: 13px;
}
html[lang="ar"] .footer-bottom { font-family: var(--body); font-size: 14px; }
.footer-bottom .spacer { margin-inline-start: auto; }

.todo { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.footer .todo, .sec--ink .todo, .sec--deep .todo, .panel-ink .todo { color: var(--paper-mute); }

/* breadcrumbs */
.crumbs { padding-top: 26px; font-family: var(--mono); font-size: 13px; }
html[lang="ar"] .crumbs { font-family: var(--body); font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.crumbs a, .crumbs li { color: var(--ink-mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; color: var(--tint-50); }
html[dir="rtl"] .crumbs li + li::before { content: "\\"; }

/* prose + 404 */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.mid { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; }
.vendors { margin-top: 30px; }

/* root language page */
.root-logo { max-width: 240px; margin-bottom: 34px; }

html[lang="ar"] .doc-sub,
html[lang="ar"] .doc-row .val,
html[lang="ar"] .count,
html[lang="ar"] .till-note,
html[lang="ar"] .menu-btn,
html[lang="ar"] .todo,
html[lang="ar"] .field-error,
html[lang="ar"] .shot-frame {
  font-family: var(--body);
  letter-spacing: 0;
  text-transform: none;
}
html[lang="ar"] .shot-frame { font-weight: 600; font-size: 13px; }
html[lang="ar"] .figure, html[lang="ar"] .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Arabic is keyed on the ELEMENT, not the root, so a marked-up Arabic string sets correctly on
   either tree — the language-switch links carry lang="ar" inside the English pages. Declared last
   so it beats the mono label rules it shares specificity with. */
[lang="ar"] {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
[lang="en"] { font-family: 'Archivo', system-ui, sans-serif; }
[lang="en"] .wordmark, [lang="ar"] .wordmark { font-family: var(--display); }

/* ── motion ─────────────────────────────────────────────── */
html.js [data-reveal] { opacity: 0; }
html.js [data-reveal].is-in { opacity: 1; transition: opacity .3s linear; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Log-in dialog (company address prompt) */
.login-dialog { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(4, 37, 42, .55); }
.login-dialog__card { position: relative; width: min(100%, 440px); background: var(--card); color: var(--ink); border: 1px solid var(--rule); padding: 28px 28px 24px; box-shadow: 0 24px 60px rgba(4, 37, 42, .25); }
.login-dialog__card h2 { margin: 0 0 8px; padding-inline-end: 32px; font-size: 22px; }
.login-dialog__help { margin: 0 0 18px; color: var(--ink-mute); font-size: 15px; }
.login-dialog__help code { font-family: var(--mono); font-size: 13px; color: var(--teal-ink); }
.login-dialog__form label { display: block; font-family: var(--mono); font-size: 13px; margin-bottom: 6px; }
.login-dialog__row { display: flex; align-items: stretch; border: 2px solid var(--rule); margin-bottom: 8px; }
.login-dialog__row:focus-within { border-color: var(--accent); }
.login-dialog__row input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; padding: 10px 12px; font: inherit; font-family: var(--mono); background: transparent; color: var(--ink); }
.login-dialog__suffix { display: flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 13px; color: var(--ink-mute); background: var(--paper); white-space: nowrap; }
.login-dialog__error { margin: 0 0 12px; color: var(--rejected); font-size: 14px; }
.login-dialog__form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.login-dialog__close { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-mute); }
.login-dialog__close:hover { color: var(--ink); }
body.has-dialog { overflow: hidden; }

/* The dialog is server-rendered and closed until site.js (or ?login=1) opens it;
   without this the grid display above would win over [hidden]. */
.login-dialog[hidden] { display: none; }
