/* ── Tokens ────────────────────────────────────────────────
   Bilingual Engine Room: warm cream surface, deep navy ink,
   amber+terracotta accents. Three themes (cream / paper / espresso)
   share brand voice; only atmosphere changes.
*/
:root {
  --paper: #f5efe6;
  --paper-2: #ebe3d3;
  --paper-3: #e1d6c0;
  --ink: #0e2a47;
  --ink-2: #1f3d5a;
  --brand: #0e2a47;
  --muted: #5b6b7c;
  --rule: rgba(14, 42, 71, 0.14);
  --rule-strong: rgba(14, 42, 71, 0.28);
  --accent: #f0b429;
  --accent-2: #d99815;
  --terra: #b8422e;
  --terra-2: #8c2f1f;
  --code-bg: #0a1f33;
  --code-fg: #d8e6f5;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", sans-serif;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="paper"] {
  --paper: #fafaf7;
  --paper-2: #eef1f5;
  --paper-3: #e3e8ef;
  --ink: #0e2a47;
  --ink-2: #1f3d5a;
  --muted: #5b6b7c;
  --rule: rgba(14, 42, 71, 0.12);
  --rule-strong: rgba(14, 42, 71, 0.22);
}

html[data-theme="espresso"] {
  --paper: #0a1f33;
  --paper-2: #0e2a47;
  --paper-3: #142e4e;
  --ink: #f4ebd6;
  --ink-2: #e6d6b3;
  --brand: #f4ebd6;
  --muted: #8aa0b7;
  --rule: rgba(244, 235, 214, 0.14);
  --rule-strong: rgba(244, 235, 214, 0.26);
  --terra: #d96b4f;
  --terra-2: #b8422e;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100vw; }
html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  word-wrap: break-word;
  transition: background 200ms var(--ease-out-quart), color 200ms var(--ease-out-quart);
}
img, svg, video, canvas { max-width: 100%; height: auto; }
html[lang="ar"] body { font-family: var(--arabic); }
html[lang="ar"] { font-feature-settings: "kern", "liga"; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; }

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

/* Paper grain */
html[data-grain="on"] body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
html[data-theme="espresso"][data-grain="on"] body::before { mix-blend-mode: screen; opacity: 0.18; }

.page { position: relative; z-index: 2; overflow-x: hidden; }

/* Selection in brand */
::selection { background: var(--accent); color: var(--brand); }

/* Body cross-fade on language toggle */
body.lang-fading { opacity: 0.001; transition: opacity 150ms var(--ease-out-quart); }

/* ── Wordmark ──────────────────────────────────────────── */
.wordmark { display: inline-flex; align-items: center; gap: 14px; }
.wordmark-stack { display: inline-flex; flex-direction: column; line-height: 1; gap: 4px; }
.wordmark-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}
.wordmark-tagline {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
html[data-theme="espresso"] .wordmark-text { color: var(--paper); }
html[data-theme="espresso"] .wordmark-tagline { color: var(--accent); }
html[lang="ar"] .wordmark-text { font-family: var(--arabic); font-weight: 700; font-size: 24px; letter-spacing: 0; }
html[lang="ar"] .wordmark-tagline { font-family: var(--arabic); letter-spacing: 0; text-transform: none; font-size: 12px; }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand { display: inline-flex; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease-out-quart);
}
html[dir="rtl"] .nav-links a::after { transform-origin: right; }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-tail { display: inline-flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 999px;
  font-size: 14px;
  transition: background 200ms var(--ease-out-quart), transform 200ms var(--ease-out-quart);
}
.nav-cta:hover { background: var(--ink-2); }
.nav-cta:active { transform: translateY(1px); }

/* Language toggle (EN / ع) */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
}
.lang-opt {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 180ms var(--ease-out-quart), background 180ms var(--ease-out-quart);
  min-width: 22px;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-opt.is-active {
  background: var(--ink);
  color: var(--paper);
}
.lang-sep { color: var(--rule); font-size: 12px; user-select: none; }
html[data-theme="espresso"] .lang-toggle { background: color-mix(in oklab, var(--paper) 14%, transparent); }
html[data-theme="espresso"] .lang-opt.is-active { background: var(--accent); color: var(--brand); }
html[lang="ar"] .lang-opt { font-family: var(--arabic); font-size: 13px; }
.nav-menu {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  position: relative;
}
.nav-menu span {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 18px; height: 1.5px; background: var(--ink);
}
.nav-menu span:nth-child(1) { top: 13px; }
.nav-menu span:nth-child(2) { top: 19px; }
.nav-menu span:nth-child(3) { top: 25px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta, .nav-tail { display: none; }
  .nav-menu { display: inline-flex; align-items: center; justify-content: center; }
}
.mobile-tail {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* ── Mobile menu ──────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--paper);
  padding: 22px var(--pad) 40px;
  transform: translateY(-100%);
  transition: transform 350ms var(--ease-out-expo);
  display: flex; flex-direction: column; gap: 36px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-close {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  font-size: 28px; line-height: 1;
}
.mobile-links {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--rule);
}
.mobile-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif);
  font-size: clamp(36px, 9vw, 56px);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-num {
  font-family: var(--sans); font-size: 12px; color: var(--muted);
  letter-spacing: 0.1em;
}
.mobile-cta {
  align-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 16px 24px; border-radius: 999px; font-size: 16px;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding: clamp(56px, 9vw, 120px) var(--pad) clamp(40px, 6vw, 72px);
  max-width: var(--max); margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 280px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  grid-column: 1 / -1;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}
html[lang="ar"] .hero-eyebrow { letter-spacing: 0; text-transform: none; }

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
  grid-column: 1;
}
html[lang="ar"] .hero-title { font-family: var(--arabic); font-weight: 700; line-height: 1.0; letter-spacing: 0; }
.hero-line { display: block; }
.code-bracket {
  font-family: var(--mono);
  font-style: normal;
  color: var(--accent);
  font-size: 0.4em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: 0.32em;
  margin-inline: 0.18em;
  opacity: 0.85;
}
html[lang="ar"] .code-bracket { vertical-align: middle; }
.hero-line.italic {
  font-style: italic;
  color: var(--terra);
}
html[lang="ar"] .hero-line.italic { font-style: normal; color: var(--terra); }

/* Hero right column: real Techiato logo image — on focus, no frame */
.hero-mark {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 320px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.hero-mark-img {
  width: clamp(200px, 22vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px color-mix(in oklab, var(--ink) 18%, transparent));
}
html[data-theme="espresso"] .hero-mark-img {
  filter: drop-shadow(0 12px 28px color-mix(in oklab, #000 55%, transparent));
}
html[dir="rtl"] .hero-mark { justify-self: start; }
html[data-theme="espresso"] .hero-mark-img {
  filter: drop-shadow(0 10px 24px color-mix(in oklab, #000 45%, transparent));
}

.hero-foot {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}
.hero-lead {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-self: end;
}
html[dir="rtl"] .hero-ctas { justify-self: start; }
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(56px, 14vw, 88px);
    padding-bottom: 40px;
  }
  .hero-mark { display: none; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .hero-ctas { justify-self: start; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background 200ms var(--ease-out-quart), color 200ms var(--ease-out-quart),
              border-color 200ms var(--ease-out-quart), transform 200ms var(--ease-out-quart);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in oklab, var(--paper-2) 60%, transparent); }

/* ── Marquee ──────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  overflow: hidden;
  background: color-mix(in oklab, var(--paper) 70%, var(--paper-2));
}
.marquee-track {
  display: inline-flex; gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-left: 56px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.01em;
}
.marquee-item { display: inline-flex; align-items: center; gap: 24px; color: var(--ink-2); }
.marquee-bullet { color: var(--accent); font-size: 0.6em; vertical-align: 0.18em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; padding-left: 0; flex-wrap: wrap; gap: 24px 32px; padding: 4px var(--pad); }
}

/* ── Section building blocks ──────────────────────────── */
section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--pad); }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--terra); display: inline-block;
}
html[lang="ar"] .section-eyebrow { letter-spacing: 0; text-transform: none; }
.section-eyebrow.light { color: color-mix(in oklab, var(--paper) 70%, transparent); }
.section-eyebrow.light::before { background: var(--terra); }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  max-width: 18ch;
  text-wrap: balance;
}
html[lang="ar"] .section-title { font-family: var(--arabic); font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.section-title.light { color: var(--paper); }

/* ── About + Mug (anchor) ─────────────────────────────── */
.about {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about-mug {
  position: relative;
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(320px, 38vw, 520px);
}
.about-mug-svg {
  width: 100%;
  max-width: 480px;
  color: var(--ink);
  filter: drop-shadow(0 2px 0 color-mix(in oklab, var(--terra) 12%, transparent));
}
html[dir="rtl"] .about-mug { order: 2; }
html[dir="rtl"] .about-text { order: 1; }
.about-text { min-width: 0; }
.about-body {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
  margin: 0 0 clamp(28px, 4vw, 48px);
  text-wrap: pretty;
  max-width: 56ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 3vw, 32px);
  align-items: baseline;
}
.stat {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.stat-v {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
  overflow-wrap: normal;
}
html[lang="ar"] .stat-v {
  font-family: var(--arabic);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: 0;
  white-space: normal;
  line-height: 1.18;
}
.stat-l {
  font-size: 13px; color: var(--muted);
  max-width: 18ch;
  line-height: 1.35;
}
@media (max-width: 880px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-mug { order: -1; min-height: 280px; }
  html[dir="rtl"] .about-mug { order: -1; }
  .about-mug-svg { max-width: 320px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stat { flex-direction: row; align-items: baseline; gap: 16px; }
  .stat-v { font-size: clamp(30px, 9vw, 44px); }
  .stat-l { margin-top: 0; }
}

/* ── Work (horizontal project rail) ─────────────────── */
.work { border-top: 1px solid var(--rule); }
.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.work-head .section-eyebrow { grid-column: 1 / -1; }
.work-head .section-title { margin-bottom: 0; }
.work-lead {
  margin: 0 0 0.4em;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-2);
  max-width: 38ch;
  line-height: 1.5;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .work-head { grid-template-columns: 1fr; gap: 18px; }
  .work-lead { margin-bottom: 0; }
}
.work-rail {
  margin-inline: calc(-1 * var(--pad));
  padding-inline: var(--pad);
  padding-block: 8px clamp(20px, 3vw, 36px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  -webkit-overflow-scrolling: touch;
}
.work-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.work-rail::-webkit-scrollbar { height: 6px; }
.work-rail::-webkit-scrollbar-track { background: transparent; }
.work-rail::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 999px; }
.work-track {
  list-style: none; margin: 0; padding: clamp(24px, 3vw, 36px) 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 32vw, 380px);
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
}
html[dir="rtl"] .work-track { direction: rtl; }
.work-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: clamp(180px, 22vw, 260px) auto;
  border: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
  transition: border-color 220ms var(--ease-out-quart), transform 220ms var(--ease-out-quart);
}
.work-card:hover,
.work-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.work-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.work-plate {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--paper) 80%, var(--paper-2));
  color: var(--terra);
}
.work-plate-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.work-card--logistics .work-plate { color: var(--terra); }
.work-card--fintech .work-plate {
  background: color-mix(in oklab, var(--paper) 88%, var(--ink));
  color: var(--ink);
}
.work-card--healthtech .work-plate {
  background: color-mix(in oklab, var(--paper) 72%, var(--paper-3));
  color: var(--terra-2);
}
.work-card--consumer .work-plate {
  background: color-mix(in oklab, var(--paper-2) 80%, var(--accent));
  color: var(--ink);
}
.work-card--ai .work-plate {
  background: color-mix(in oklab, var(--paper) 78%, var(--paper-3));
  color: var(--ink-2);
}
html[data-theme="espresso"] .work-card { background: var(--paper); }
html[data-theme="espresso"] .work-card--logistics .work-plate { color: var(--accent); }
html[data-theme="espresso"] .work-card--fintech .work-plate {
  background: var(--paper-3);
  color: var(--ink);
}
html[data-theme="espresso"] .work-card--healthtech .work-plate { color: var(--terra); }
html[data-theme="espresso"] .work-card--consumer .work-plate {
  background: color-mix(in oklab, var(--paper-2) 70%, var(--accent));
  color: var(--paper);
}
html[data-theme="espresso"] .work-card--ai .work-plate { color: var(--ink-2); }
.work-plate-kind {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}
html[lang="ar"] .work-plate-kind {
  font-family: var(--arabic);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.work-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(18px, 2.4vw, 24px);
}
.work-meta {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .work-meta { letter-spacing: 0; text-transform: none; }
.work-dot { color: var(--terra); }
.work-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
html[lang="ar"] .work-name { font-family: var(--arabic); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.work-outcome {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.work-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.work-metric {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--terra);
  padding: 5px 10px;
  border: 1px solid color-mix(in oklab, var(--terra) 35%, transparent);
  border-radius: 999px;
  white-space: nowrap;
}
html[lang="ar"] .work-metric { font-family: var(--arabic); letter-spacing: 0; font-weight: 500; }
.work-scope {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (prefers-reduced-motion: reduce) {
  .work-rail {
    overflow-x: hidden;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
  }
  .work-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-columns: unset;
    width: 100%;
    padding: clamp(16px, 2vw, 24px) 0;
  }
  .work-card:hover, .work-card:focus-visible { transform: none; }
}

/* ── Services (split: typographic index + detail panel) ── */
.services { border-top: 1px solid var(--rule); }
.services-head { margin-bottom: clamp(32px, 4vw, 56px); }
.services-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(24px, 3vw, 40px);
  align-items: start;
}
.services-index {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.services-index-item { border-bottom: 1px solid var(--rule); }
.services-index-btn {
  width: 100%;
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 56px) minmax(0, 1fr) clamp(20px, 3vw, 32px);
  grid-template-areas:
    "n t  mark"
    "n short mark";
  align-items: baseline;
  gap: 4px clamp(12px, 2vw, 20px);
  padding: clamp(18px, 2vw, 24px) 4px;
  background: transparent;
  border: 0;
  text-align: start;
  color: var(--ink);
  position: relative;
  transition: color 220ms var(--ease-out-quart), background 220ms var(--ease-out-quart);
}
.services-index-btn:hover { background: color-mix(in oklab, var(--paper-2) 40%, transparent); }
.services-index-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 2px; }
.services-index-n {
  grid-area: n;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding-top: 0.35em;
  transition: color 220ms var(--ease-out-quart);
}
html[lang="ar"] .services-index-n { font-family: var(--arabic); letter-spacing: 0; }
.services-index-t {
  grid-area: t;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
html[lang="ar"] .services-index-t { font-family: var(--arabic); font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.services-index-short {
  grid-area: short;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.services-index-mark {
  grid-area: mark;
  align-self: center;
  justify-self: end;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--terra);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 220ms var(--ease-out-quart), transform 220ms var(--ease-out-quart);
}
html[dir="rtl"] .services-index-mark { justify-self: start; transform: translateX(6px) scaleX(-1); }
.services-index-item.is-active .services-index-mark,
.services-index-btn:hover .services-index-mark,
.services-index-btn:focus-visible .services-index-mark {
  opacity: 1; transform: translateX(0);
}
html[dir="rtl"] .services-index-item.is-active .services-index-mark,
html[dir="rtl"] .services-index-btn:hover .services-index-mark,
html[dir="rtl"] .services-index-btn:focus-visible .services-index-mark {
  transform: translateX(0) scaleX(-1);
}
.services-index-item.is-active .services-index-btn {
  background: color-mix(in oklab, var(--paper-2) 65%, transparent);
}
.services-index-item.is-active .services-index-n { color: var(--terra); }
.services-index-item.is-active::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: -1px;
  width: 1px;
  background: var(--terra);
}

.services-detail {
  position: sticky;
  top: clamp(96px, 12vh, 140px);
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 40px) clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--rule);
  background: color-mix(in oklab, var(--paper-2) 50%, var(--paper));
  align-content: start;
  animation: services-detail-in 260ms var(--ease-out-quart);
}
@keyframes services-detail-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .services-detail { animation: none; }
}
.services-detail-glyph {
  width: clamp(40px, 4.5vw, 56px);
  height: clamp(40px, 4.5vw, 56px);
  color: var(--terra);
}
.services-detail-t {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
html[lang="ar"] .services-detail-t { font-family: var(--arabic); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.services-detail-d {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.services-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  margin-top: 8px;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--rule);
}
.services-detail-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
html[lang="ar"] .services-detail-label {
  font-family: var(--arabic);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}
.services-detail-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
  font-size: 14.5px;
  color: var(--ink);
}
.services-detail-list li {
  display: flex; align-items: baseline; gap: 10px;
}
.services-detail-list li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 1px;
  background: var(--terra);
  flex: 0 0 6px;
  transform: translateY(-3px);
}
.services-detail-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
html[lang="ar"] .services-detail-value { font-family: var(--arabic); font-weight: 700; line-height: 1.2; letter-spacing: 0; }

@media (max-width: 880px) {
  .services-split {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }
  .services-detail {
    position: static;
    order: 2;
  }
  .services-index { order: 1; }
  .services-index-btn { padding: 16px 4px; }
  .services-index-t { font-size: clamp(20px, 5vw, 24px); }
  .services-index-mark { display: none; }
  .services-detail-grid { grid-template-columns: 1fr; }
}

/* ── Process (numbered band) ──────────────────────────── */
.process { border-top: 1px solid var(--rule); }
.process-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.process-step {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px) clamp(16px, 2vw, 28px) clamp(36px, 4.5vw, 56px);
  border-inline-end: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.process-step:last-child { border-inline-end: 0; }
.process-glyph {
  width: clamp(28px, 3vw, 40px);
  height: clamp(28px, 3vw, 40px);
  color: var(--terra);
  margin-bottom: -4px;
  opacity: 0.85;
  transition: transform 350ms var(--ease-out-quart), opacity 250ms var(--ease-out-quart);
}
.process-step:hover .process-glyph { opacity: 1; transform: rotate(-4deg); }
@media (prefers-reduced-motion: reduce) {
  .process-step:hover .process-glyph { transform: none; }
}
.process-step::after {
  content: "";
  position: absolute;
  inset-inline-start: clamp(16px, 2vw, 28px);
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--terra);
  transition: width 600ms var(--ease-out-quart);
}
.process-step:hover::after { width: calc(100% - 2 * clamp(16px, 2vw, 28px)); }
.process-n {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  color: var(--terra);
  letter-spacing: -0.02em;
  line-height: 1;
}
html[lang="ar"] .process-n { font-family: var(--arabic); font-style: normal; font-weight: 700; }
.process-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
html[lang="ar"] .process-step h3 { font-family: var(--arabic); font-weight: 700; }
.process-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  max-width: 32ch;
}
@media (max-width: 880px) {
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2n) { border-inline-end: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .process-list { grid-template-columns: 1fr; }
  .process-step,
  .process-step:nth-child(2n),
  .process-step:nth-child(-n+2) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--rule);
    padding: 24px 0;
  }
  .process-step:last-child { border-bottom: 0; }
  .process-step::after { inset-inline-start: 0; }
}

/* ── Product (espresso band — typographic left, capsule right) ── */
.product {
  border-top: 1px solid var(--rule);
  padding: 0;
  max-width: none;
  background: var(--code-bg);
  color: var(--code-fg);
}
html[data-theme="espresso"] .product {
  background: color-mix(in oklab, var(--paper) 88%, #000);
}
.product-band {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
  overflow: hidden;
}
.product-pour {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--accent);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
html[dir="rtl"] .product-pour { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
  .product-pour { display: none; }
}
.product-left,
.product-right { position: relative; z-index: 1; }
.product-left {
  min-width: 0;
  display: flex; flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
}
.product .section-eyebrow.light {
  color: color-mix(in oklab, var(--code-fg) 70%, transparent);
  margin-bottom: 0;
}
.product .section-eyebrow.light::before { background: var(--accent); }
.product-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
html[lang="ar"] .product-kicker {
  font-family: var(--arabic);
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 600;
}
.product-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 12px 0 0;
  text-wrap: balance;
  color: var(--code-fg);
  max-width: 14ch;
}
html[lang="ar"] .product-title { font-family: var(--arabic); font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.product-body {
  font-size: clamp(15px, 1.3vw, 18px);
  color: color-mix(in oklab, var(--code-fg) 80%, transparent);
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 44ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.product-right {
  display: flex; flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}
.product-capsule {
  display: flex; flex-direction: column; gap: 12px;
}
.waitlist {
  display: flex; gap: 6px;
  background: color-mix(in oklab, var(--code-fg) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--code-fg) 22%, transparent);
  border-radius: 999px;
  padding: 6px;
  max-width: 100%;
  width: 100%;
  transition: border-color 200ms var(--ease-out-quart), background 200ms var(--ease-out-quart);
}
.waitlist:focus-within {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--code-fg) 12%, transparent);
}
.waitlist input {
  flex: 1 1 0;
  min-width: 0;
  background: transparent; border: 0; outline: none;
  color: var(--code-fg);
  padding: 12px 18px;
  font: inherit;
  font-size: 15px;
}
.waitlist input::placeholder { color: color-mix(in oklab, var(--code-fg) 50%, transparent); }
.waitlist button {
  background: var(--code-fg);
  color: var(--code-bg);
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background 200ms var(--ease-out-quart);
}
.waitlist button:hover { background: var(--accent); }
html[data-theme="espresso"] .waitlist button { background: var(--accent); color: var(--paper); }
html[data-theme="espresso"] .waitlist button:hover { background: var(--accent-2); }
html[lang="ar"] .waitlist input { font-size: 14px; }
.product-note {
  font-size: 13px;
  color: color-mix(in oklab, var(--code-fg) 55%, transparent);
}
.waitlist-success {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--code-fg) 8%, transparent);
  color: var(--code-fg);
  font-size: 15px;
}
.waitlist-success svg { color: var(--accent); }
.product-aside {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: color-mix(in oklab, var(--code-fg) 72%, transparent);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid color-mix(in oklab, var(--code-fg) 22%, transparent);
  max-width: 32ch;
  text-wrap: pretty;
  margin: 0;
}
html[lang="ar"] .product-aside { font-family: var(--arabic); font-style: normal; font-weight: 500; }
@media (max-width: 880px) {
  .product-band { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 48px); align-items: start; }
  .product-title { max-width: none; }
}

/* ── Contact (oversized display) ──────────────────────── */
.contact {
  border-top: 1px solid var(--rule);
  padding-block: clamp(96px, 14vw, 192px);
}
.contact-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.92; letter-spacing: -0.04em;
  margin: 0 0 clamp(24px, 3vw, 48px);
  text-wrap: balance;
}
html[lang="ar"] .contact-title { font-family: var(--arabic); font-weight: 700; line-height: 1.05; letter-spacing: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: clamp(32px, 4vw, 56px);
}
.contact-body {
  color: var(--ink-2);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.contact-promise {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
html[lang="ar"] .contact-promise { font-family: var(--sans); letter-spacing: 0.04em; text-transform: none; }
.contact-promise::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}
.contact-actions {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  justify-self: end;
}
html[dir="rtl"] .contact-actions { justify-self: start; }
.contact-email {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--terra);
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
html[lang="ar"] .contact-email { font-family: var(--arabic); font-style: normal; }
.contact-cta { font-size: 16px; padding: 18px 28px; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .contact-actions { justify-self: start; }
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 48px var(--pad) 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.footer-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--muted); margin: 0;
}
html[lang="ar"] .footer-tagline { font-family: var(--arabic); font-style: normal; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a:hover { color: var(--ink); }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile padding clamps ────────────────────────────── */
@media (max-width: 760px) {
  section { padding-left: 16px; padding-right: 16px; padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .footer { padding-left: 16px; padding-right: 16px; }
  .nav { padding-left: 16px; padding-right: 16px; }
}

/* ── Reveal-on-scroll utility ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--ease-out-quart), transform 600ms var(--ease-out-quart);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Mug steam loop (decorative SVG) ──────────────────── */
@keyframes mug-steam {
  0%   { opacity: 0; transform: translateY(2px); }
  35%  { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-22px); }
}
.about-mug-svg .steam {
  transform-origin: center;
  animation: mug-steam 3.6s ease-in-out infinite;
}
.about-mug-svg .steam.s2 { animation-delay: 1.2s; }
.about-mug-svg .steam.s3 { animation-delay: 2.4s; }
@media (prefers-reduced-motion: reduce) {
  .about-mug-svg .steam { animation: none; opacity: 0.65; }
}

/* ── Mug fill: roadmap-brewing state ──────────────────── */
/* Coffee level rises and falls in a slow breath, crema shimmers,
   bubbles rise to the meniscus and dissolve. Signals "processing"
   without resorting to a literal loading bar. */
@keyframes mug-fill-breath {
  0%, 100% { transform: translateY(60px); }
  50%      { transform: translateY(-6px); }
}
@keyframes mug-crema-shimmer {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.92; }
}
@keyframes mug-bubble-rise {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 0.85; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-230px); opacity: 0; }
}
.about-mug-svg .mug-fill {
  transform-origin: center bottom;
  animation: mug-fill-breath 6.4s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: transform;
}
.about-mug-svg .mug-crema {
  animation: mug-crema-shimmer 3.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
.about-mug-svg .mug-bubble {
  transform-origin: center;
  animation: mug-bubble-rise 4.2s cubic-bezier(0.32, 0, 0.4, 1) infinite;
  opacity: 0;
}
.about-mug-svg .mug-bubble.b1 { animation-delay: 0.4s; animation-duration: 4.8s; }
.about-mug-svg .mug-bubble.b2 { animation-delay: 1.6s; animation-duration: 3.6s; }
.about-mug-svg .mug-bubble.b3 { animation-delay: 2.8s; animation-duration: 5.2s; }
@media (prefers-reduced-motion: reduce) {
  .about-mug-svg .mug-fill { animation: none; transform: translateY(20px); }
  .about-mug-svg .mug-crema { animation: none; opacity: 0.7; }
  .about-mug-svg .mug-bubble { animation: none; opacity: 0; }
}

/* ── Mug status pill: "Roadmap brewing" ───────────────── */
.mug-status {
  margin-top: clamp(20px, 3vw, 32px);
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px 999px 4px 4px;
  background: color-mix(in oklab, var(--paper-2) 70%, transparent);
  align-self: center;
  max-width: 320px;
}
.mug-status-dot {
  flex: 0 0 auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent);
  animation: mug-status-pulse 2.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  align-self: center;
}
.mug-status-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  text-align: center;
}
.mug-status-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
  max-width: 32ch;
  text-align: center;
}
html[lang="ar"] .mug-status-label {
  font-family: var(--arabic);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}
html[lang="ar"] .mug-status-note { font-family: var(--arabic); }
html[data-theme="espresso"] .mug-status {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}
html[data-theme="espresso"] .mug-status-label { color: var(--paper); }
@keyframes mug-status-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .mug-status-dot { animation: none; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent); }
}

.about-mug {
  flex-direction: column;
  gap: 0;
}
