/* ebdaaistudio.com: warm cream canvas + night bands (design direction v2, 2026-11-30). No grid, glow, gradient or blur surfaces. */
:root {
  --cream: #faf8f3;
  --tint: #f2eee5;
  --ink: #0a0b0c;
  --muted: #57534b;
  --hair: rgba(10, 11, 12, 0.14);
  --night: #0a0b0c;
  --night-2: #15171a;
  --night-hair: rgba(250, 248, 243, 0.16);
  --night-muted: #b8b2a5;
  --gold: #b08d57;
  --lift: #cba873;
  --font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 10px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
::selection {
  background: var(--gold);
  color: var(--night);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.band-night :focus-visible,
.foot :focus-visible {
  outline-color: var(--lift);
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 50;
}
.skip:focus {
  top: 8px;
}
h1,
h2,
h3 {
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.32;
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.4;
}
h3 {
  font-size: 1.1875rem;
  line-height: 1.5;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
  margin-top: 20px;
  text-wrap: pretty;
}
.sub {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 12px;
}
.muted {
  color: var(--muted);
}

/* header: same ground as the section under it, hairline below */
.bar {
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
}
.nav {
  margin-inline-start: auto;
}
.nav ul,
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.nav a,
.lang {
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 8px 0;
}
.nav a:hover,
.lang:hover {
  text-decoration: underline;
}
.nav a[aria-current='page'] {
  box-shadow: inset 0 -2px var(--gold);
}
.bar-end {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu svg path {
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  fill: none;
}
.menu nav {
  position: absolute;
  inset-inline-end: 0;
  top: 52px;
  background: var(--cream);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 12px 20px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(10, 11, 12, 0.08);
}
.menu ul {
  flex-direction: column;
  gap: 4px;
}
.menu a {
  display: block;
  padding: 10px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font: 600 1rem var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9375rem;
}
.btn-gold {
  background: var(--gold);
  color: var(--night);
}
.btn-gold:hover {
  background: var(--lift);
}
.btn-line {
  border-color: var(--night-hair);
  color: var(--cream);
}
.btn-line:hover {
  border-color: var(--lift);
  color: var(--lift);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 32px;
}
.link-arrow {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: ' \2190';
}
[dir='ltr'] .link-arrow::after {
  content: ' \2192';
}
.link-arrow:hover {
  color: var(--muted);
}

/* hero */
.hero {
  padding-block: clamp(40px, 7vw, 88px) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: clamp(40px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--hair);
}
.facts div {
  padding: 22px 0 26px;
  padding-inline-end: 24px;
  border-inline-end: 1px solid var(--hair);
  padding-inline-start: 24px;
}
.facts div:first-child {
  padding-inline-start: 0;
}
.facts div:last-child {
  border-inline-end: 0;
}
.facts dt {
  font: 600 1.5rem/1.2 var(--font);
  margin-bottom: 8px;
}
.facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* sections */
.sec {
  padding-block: clamp(56px, 8vw, 104px);
}
.sec-tint {
  background: var(--tint);
}
.band-night {
  background: var(--night);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 104px);
}
.band-night .sub,
.band-night .muted,
.band-night .sub-h,
.band-night .lead {
  color: var(--night-muted);
}
.band-night .link-arrow:hover {
  color: var(--lift);
}
.rows {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}
.rows li {
  border-bottom: 1px solid var(--hair);
}
.rows a,
.rows-static li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 8px 32px;
  align-items: baseline;
  padding: 24px 8px;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.rows-static li {
  padding-inline: 0;
}
.rows a:hover,
.rows a:focus-visible {
  background: var(--tint);
}
.rows a:hover .row-t,
.rows a:focus-visible .row-t {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}
.row-t {
  font-weight: 600;
  font-size: 1.125rem;
}
.row-d {
  color: var(--muted);
}
.row-go {
  display: inline-block;
  margin-inline-start: 8px;
  font-weight: 400;
  transition: transform 150ms ease;
}
[dir='rtl'] .row-go {
  transform: scaleX(-1);
}
.rows a:hover .row-go,
.rows a:focus-visible .row-go {
  transform: translateX(4px);
}
[dir='rtl'] .rows a:hover .row-go,
[dir='rtl'] .rows a:focus-visible .row-go {
  transform: scaleX(-1) translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .rows a,
  .row-go {
    transition: none;
  }
}
.close {
  padding-block: clamp(48px, 7vw, 80px);
}
.close .sub {
  margin-top: 16px;
}
.close-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cf-reply {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.close .actions {
  margin: 0;
}

/* inner pages */
.page-hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(8px, 2vw, 24px);
}
.page-hero h1 {
  max-width: 24ch;
}
.line-hero {
  padding-block: clamp(40px, 6vw, 80px);
}
.line-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.crumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.ph {
  margin: 0;
}
.ph img {
  border: 1px solid var(--hair);
  border-radius: var(--r);
  width: 100%;
}
.ph figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 8px;
}
.path {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--hair);
}
.path li {
  padding: 24px 24px 8px 0;
  padding-inline: 0 24px;
}
.num {
  font: 500 0.8125rem var(--mono);
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.path h3 {
  margin-bottom: 6px;
}
.path p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.groups section > h3 {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.groups .muted {
  margin-top: 10px;
  font-size: 0.9375rem;
}
.items {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.items li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.items span {
  color: var(--muted);
  font-size: 0.9375rem;
}
.photo-row {
  margin-top: 48px;
  max-width: 760px;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  margin-top: 8px;
}
.steps {
  list-style: none;
  counter-reset: s;
  margin: 32px 0 0;
  padding: 0;
}
.steps li {
  counter-increment: s;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid var(--hair);
}
.steps li p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.get {
  background: var(--tint);
  border-radius: var(--r);
  padding: 28px;
}
.get ul {
  margin: 16px 0 24px;
  padding-inline-start: 1.25rem;
}
.get li {
  padding: 4px 0;
}
.sub-h {
  margin-top: 32px;
  font-size: 1rem;
  color: var(--muted);
}
.not {
  margin: 16px 0 0;
  padding-inline-start: 1.25rem;
  color: var(--muted);
}
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px);
}
details {
  border-bottom: 1px solid var(--hair);
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
}
details p {
  color: var(--muted);
  padding-bottom: 18px;
}
.next {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.next li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--night-hair);
}
.next span {
  color: var(--night-muted);
  font-size: 0.9375rem;
}
.mail {
  margin-top: 24px;
  color: var(--night-muted);
}
.kv {
  margin: 32px 0 0;
  border-top: 1px solid var(--hair);
}
.kv div {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 2fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
}

/* contact form */
.sec-form {
  padding-block-start: clamp(24px, 4vw, 40px);
}
.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}
.cf-row {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}
.cf-row label {
  font-weight: 500;
}
.cf-opt,
.cf-hint {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}
.cf input[type='text'],
.cf input[type='tel'],
.cf input[type='email'],
.cf select,
.cf textarea {
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(10, 11, 12, 0.32);
  border-radius: 12px;
  padding: 8px 16px;
  min-height: 44px;
  width: 100%;
}
.cf select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b0c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: right 14px center;
}
[dir='rtl'] .cf select {
  background-position: left 14px center;
}
.cf textarea {
  min-height: 140px;
  padding-block: 12px;
  resize: vertical;
}
.cf input:focus-visible,
.cf select:focus-visible,
.cf textarea:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 0;
}
.cf [aria-invalid='true'] {
  border-color: #9b2c2c;
}
.cf-err {
  color: #9b2c2c;
  font-size: 0.875rem;
}
.cf-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}
.cf-consent input {
  margin-top: 6px;
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}
.cf-hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cf-flag {
  display: none;
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 24px;
  background: var(--tint);
}
.cf-flag:target {
  display: block;
}
.cf-bad {
  border-color: #9b2c2c;
}
.cf-banner {
  color: #9b2c2c;
  margin-bottom: 16px;
}
.cf-live:empty {
  display: none;
}
.cf-live {
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 24px;
  background: var(--tint);
}
.contact-side {
  position: sticky;
  top: 96px;
  align-self: start;
}
.contact-side h2 {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0;
}
.contact-side p {
  margin: 6px 0 28px;
}

/* footer */
.foot {
  background: var(--cream);
  border-top: 1px solid var(--hair);
  padding-top: 56px;
}
.foot-in {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.foot h2 {
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot li {
  padding: 5px 0;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
}
.foot-name {
  font-weight: 600;
}
.foot-brand p + p {
  color: var(--muted);
  margin-top: 6px;
}
.foot-base {
  padding-block: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .bar-end {
    margin-inline-start: auto;
    gap: 12px;
  }
  .bar-end > .lang,
  .bar-end > .btn {
    display: none;
  }
  .hero-grid,
  .line-hero-grid,
  .split,
  .faq,
  .contact-grid,
  .close-grid {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .facts div {
    border-inline-end: 0;
    border-bottom: 1px solid var(--hair);
    padding-inline: 0;
  }
  .rows a,
  .rows-static li {
    grid-template-columns: 1fr;
  }
  .kv div {
    grid-template-columns: 1fr;
  }
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
  .actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Latin display runs wider than Arabic: keep the English H1 to two lines. */
[dir='ltr'] h1 {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  line-height: 1.25;
}

/* Design language v2.1 tokens used by the vendored foundation components below (foundation-consumer TODO: import @ebda/foundation tokens.css once #201 ships). */
:root {
  --ebda-gold: #b08d57;
  --ebda-lift: #cba873;
  --ebda-night-muted: #a9a49b;
  --ebda-cream-app: var(--cream);
  --ebda-cream-ink: #121314;
  --ebda-cream-line: #e6e1d6;
  --ebda-cream-muted: #6b645a;
  --ebda-radius-control: 12px;
  --ebda-radius-surface: 14px;
  --ebda-chip-size: 44px;
  --ebda-dur-fast: 150ms;
  --ebda-ease: cubic-bezier(0.2, 0, 0, 1);
  --ebda-font-ui: var(--font);
  --ebda-text-body: 16px;
  --ebda-text-caption: 12px;
}
/* Social links (foundation v2.1): bare brand glyph, 22px glyph on a 44px invisible tap target; hover = opacity only. */
.ebda-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-inline: -11px;
}
.ebda-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: var(--ebda-chip-size);
  block-size: var(--ebda-chip-size);
  transition: opacity var(--ebda-dur-fast) var(--ebda-ease);
}
.ebda-social-link svg {
  display: block;
  inline-size: 22px;
  block-size: 22px;
}
.ebda-social-link:hover {
  opacity: 0.7;
}
.ebda-social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
  border-radius: 8px;
}

/* System journey hero (v2.1): 4-5 hairline cards on the cream canvas joined by thin gold lines, lighting up in sequence (silver = in progress, gold = done).
   An <ol> with real text. Order follows `dir` (right to left in ar, left to right in en); stacks vertically under 640px with a vertical gold line.
   Transform and opacity only, 300ms per step, plays once; add `data-paused` on the <ol> until it is in view; reduced motion = static, fully lit.
   Step order comes from `:nth-child` (no inline style: the CSP has no style-src 'unsafe-inline'). No glow, no gradient, no device frame, no photo. */
.ebda-journey li:nth-child(2) {
  --i: 1;
}
.ebda-journey li:nth-child(3) {
  --i: 2;
}
.ebda-journey li:nth-child(4) {
  --i: 3;
}
.ebda-journey li:nth-child(5) {
  --i: 4;
}
.ebda-journey li:nth-child(6) {
  --i: 5;
}
.ebda-journey {
  --step: 300ms;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  background: var(--ebda-cream-app);
}
.ebda-journey > li {
  position: relative;
  flex: 1 1 0;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ebda-cream-line);
  border-radius: var(--ebda-radius-surface);
  color: var(--ebda-cream-ink);
  font: 500 var(--ebda-text-body)/1.6 var(--ebda-font-ui);
}
.ebda-journey svg {
  inline-size: 24px;
  block-size: 24px;
  color: var(--ebda-cream-ink);
}
.ebda-journey [data-state] {
  font: 500 var(--ebda-text-caption)/1.4 var(--ebda-font-ui);
  color: var(--ebda-cream-muted);
}
/* state borders are overlay layers whose opacity animates: silver while in progress, gold when done */
.ebda-journey > li::before,
.ebda-journey > li::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid;
  opacity: 0;
  pointer-events: none;
}
.ebda-journey > li::before {
  border-color: var(--ebda-night-muted);
  animation: ebda-journey-work calc(var(--step) * 2) calc(var(--i, 0) * var(--step)) both;
}
.ebda-journey > li::after {
  border-color: var(--ebda-gold);
  animation: ebda-journey-done var(--step) calc(var(--i, 0) * var(--step) + var(--step)) both;
}
.ebda-journey-line {
  position: absolute;
  background: var(--ebda-gold);
  pointer-events: none;
  inset-inline-end: -32px;
  inset-block-start: 50%;
  inline-size: 32px;
  block-size: 1px;
  transform: scaleX(0);
  transform-origin: left;
  animation: ebda-journey-line var(--step) calc(var(--i, 0) * var(--step) + var(--step)) both;
}
.ebda-journey-line:dir(rtl) {
  transform-origin: right;
}
.ebda-journey[data-paused] > li,
.ebda-journey[data-paused] > li::before,
.ebda-journey[data-paused] > li::after,
.ebda-journey[data-paused] .ebda-journey-line {
  animation-play-state: paused;
}
@keyframes ebda-journey-work {
  0% {
    opacity: 0;
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes ebda-journey-done {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ebda-journey-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 639px) {
  .ebda-journey {
    flex-direction: column;
    gap: 24px;
  }
  .ebda-journey-line {
    inset-inline-end: auto;
    inset-inline-start: 50%;
    inset-block-start: auto;
    inset-block-end: -24px;
    inline-size: 1px;
    block-size: 24px;
    transform: scaleY(0);
    transform-origin: top;
    animation-name: ebda-journey-line-v;
  }
  .ebda-journey-line:dir(rtl) {
    transform-origin: top;
  }
}
@keyframes ebda-journey-line-v {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ebda-journey > li::before {
    animation: none;
    opacity: 0;
  }
  .ebda-journey > li::after {
    animation: none;
    opacity: 1;
  }
  .ebda-journey-line {
    animation: none;
    transform: none;
  }
}

/* Home hero: the journey replaces a picture (Ahmad 2026-11-30). Product tag + text stack inside each card. */
.hero-journey {
  margin-top: clamp(32px, 5vw, 56px);
}
.ebda-journey {
  background: transparent;
}
.ebda-journey > li {
  padding: 18px 16px 20px;
}
.ebda-journey-tag {
  font: 500 0.6875rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ebda-cream-muted);
}
.ebda-journey-text {
  font-weight: 500;
  line-height: 1.6;
}
.ebda-journey [data-state] {
  margin-top: auto;
}
[dir='ltr'] .ebda-journey-tag {
  direction: ltr;
}
.foot-brand .ebda-social {
  margin-top: 14px;
}

/* Vendored from ebda-foundation#201 components.css (FOUNDATION-CONSUMER TODO: import @ebda/foundation/components.css). */
/* Product panel (v2.1): two hairline panels (Store + Chat) on a night band, stacked at phone width. Name + promise, 3 capability lines with a small line icon, one live
   micro-element (order ticket / chat exchange) and a text-link CTA. HTML/CSS only: no raster, no screenshot, no glow, no gradient. Gold is the accent only. */
.ebda-product-panels {
  margin-block-start: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ebda-product-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  min-inline-size: 0;
  background: var(--night-2);
  color: var(--cream);
  border: 1px solid var(--night-hair);
  border-radius: var(--r);
  font: 400 1rem/1.7 var(--font);
}
.ebda-product-panel h3 {
  margin: 0;
  font: 600 1.5rem/1.3 var(--font);
}
.ebda-product-promise {
  margin: -8px 0 0;
  color: var(--night-muted);
}
.ebda-product-caps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-block-start: 1px solid var(--night-hair);
}
.ebda-product-caps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-block-end: 1px solid var(--night-hair);
}
.ebda-product-caps svg {
  flex: none;
  color: var(--lift);
}
.ebda-product-cta {
  margin-block-start: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--lift);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ebda-product-cta:hover {
  color: var(--cream);
}
.ebda-ticket,
.ebda-chat {
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.ebda-ticket p,
.ebda-chat p {
  margin: 0;
}
.ebda-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block-end: 10px;
  border-block-end: 1px solid var(--night-hair);
  font-weight: 600;
}
.ebda-ticket [data-state] {
  color: var(--gold);
  font: 500 0.75rem/1.4 var(--font);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 2px 10px;
}
.ebda-ticket ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.ebda-ticket li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
  color: var(--night-muted);
}
.ebda-ticket-total {
  padding-block-start: 10px;
  border-block-start: 1px solid var(--night-hair);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ebda-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ebda-chat-in,
.ebda-chat-out {
  max-inline-size: 86%;
  padding: 10px 14px;
  border-radius: 14px;
}
.ebda-chat-in {
  align-self: flex-start;
  border: 1px solid var(--night-hair);
  color: var(--cream);
  border-end-start-radius: 4px;
}
.ebda-chat-out {
  align-self: flex-end;
  background: var(--night-2);
  border: 1px solid var(--gold);
  border-end-end-radius: 4px;
}
.ebda-chat-tag {
  display: block;
  color: var(--lift);
  font: 500 0.75rem/1.4 var(--font);
  margin-block-end: 2px;
}
@media (max-width: 768px) {
  .ebda-product-panels {
    grid-template-columns: 1fr;
  }
  .ebda-product-panel {
    padding: 20px;
  }
}
.foot-brand p {
  text-wrap: pretty;
}
