/* Waal website. Brand: Waal Brand Guidelines 2025 (bronze palette, IBM Plex Sans Arabic).
   Layout: a sand-and-bronze landing page; the ibex arch is the one bold shape, everything else stays quiet. */

:root {
  /* Brand palette */
  --bronze: #b0804c;
  --bronze-deep: #8a5f33;
  --earth: #dcab68;
  --moss: #877e28;

  /* Theme tokens (light) */
  --bg: #ffffff;
  --surface: #faf5ee;
  --surface-2: #f3e9dc;
  --ink: #2b1a0b;
  --muted: #6d5944;
  --line: #ecdfcd;
  --accent: #96683a;
  --accent-ink: #ffffff;
  --accent-soft: #f5e8d6;
  --sand: #fbf1e3;
  --wheat: #f2dcb9;
  --band-bg: #f7ebda;
  --band-ink: var(--ink);
  --band-muted: var(--muted);
  --badge-bg: #ffffff;
  --badge-ink: var(--ink);
  --phone-body: #ffffff;
  --phone-screen: #fffbf6;
  --soft-arch: radial-gradient(120% 80% at 50% 0%, #fdf6ec 0%, #f5e3c8 55%, #ecd0a6 100%);
  --shadow: 0 30px 60px -30px rgba(95, 46, 6, .35);

  --font-ar: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Outfit", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  --font: var(--font-ar);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  color-scheme: light;
}

html[lang="en"] { --font: var(--font-en); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--earth); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--bronze); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Header */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hdr__logo { display: inline-flex; flex: none; }
.hdr__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.hdr__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px;
}
.lang:hover { border-color: var(--accent); color: var(--accent); }
.lang svg { width: 18px; height: 18px; }
.lang [lang="en"] { font-family: var(--font-en); }
.lang [lang="ar"] { font-family: var(--font-ar); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .hdr__bar { min-height: 64px; gap: 12px; }
  .hdr__logo img { height: 38px; }
  .menu-btn { display: inline-flex; }
  .hdr__actions { margin-inline-start: auto; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none; margin: 0;
  }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .hdr.is-open .nav { display: flex; }
}

/* Section scaffolding */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--surface); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-weight: 600; font-size: 15px;
}
html[lang="en"] .eyebrow { letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.01em; }
html[lang="en"] .h2 { letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 60ch; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 96px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero__title { font-size: clamp(38px, 6vw, 70px); line-height: 1.12; letter-spacing: -.015em; }
html[lang="en"] .hero__title { letter-spacing: -.03em; line-height: 1.05; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); max-width: 52ch; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { justify-items: center; text-align: center; }
}

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px;
  border-radius: 14px; background: var(--badge-bg); color: var(--badge-ink); text-decoration: none; border: 1.5px solid var(--line);
  direction: ltr; font-family: var(--font-en); transition: transform .2s ease;
}
.badge:hover { transform: translateY(-2px); }
.badge svg { width: 26px; height: 26px; }
.badge span { display: grid; line-height: 1.1; text-align: left; }
.badge small { font-size: 11px; opacity: .8; letter-spacing: .02em; }
.badge strong { font-size: 18px; font-weight: 600; }
@media (max-width: 900px) { .hero .badges { justify-content: center; } }

/* Ibex arch with phone */
.stage { display: grid; place-items: center; padding-block: 8px 24px; }
.stage__box { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; isolation: isolate; }
.arch {
  position: absolute; inset: 0; border-radius: 999px 999px 36px 36px; overflow: hidden;
  background: var(--soft-arch);
  box-shadow: inset 0 0 0 1px var(--line);
}
.arch::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/ibex.svg") 0 0 / 74px 74px repeat;
  opacity: .05;
}
.arch::after {
  content: ""; position: absolute; inset-inline: 10%; top: 6%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(176, 128, 76, .25);
}
.stage__phone { position: absolute; inset-inline: 0; top: 11%; bottom: -4%; display: flex; justify-content: center; z-index: 2; }
.pet { position: absolute; z-index: 3; height: auto; filter: drop-shadow(0 18px 22px rgba(95, 46, 6, .18)); }
.pet--dog { width: 30%; bottom: -6%; inset-inline-start: -10%; }
.pet--cat { width: 28%; bottom: -6%; inset-inline-end: -9%; }
.pet--bird { width: 20%; top: 4%; inset-inline-end: -4%; }
@media (max-width: 520px) {
  .pet--dog { inset-inline-start: -3%; }
  .pet--cat { inset-inline-end: -3%; }
  .pet--bird { inset-inline-end: 0; }
}

/* Phone mockup: a real app screenshot in a light frame */
.phone {
  height: 100%; aspect-ratio: 9 / 18.5; max-width: 100%; border-radius: 34px; padding: 9px;
  background: var(--phone-body); border: 1px solid var(--line); box-shadow: 0 30px 50px -22px rgba(95, 46, 6, .3);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes rise { from { transform: translateY(22px); } to { transform: none; } }
.phone__screen { height: 100%; border-radius: 26px; background: var(--phone-screen); overflow: hidden; padding-top: 14px; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.cat__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.cat__icon svg { width: 26px; height: 26px; }

/* Brand band */
.band { position: relative; overflow: hidden; background: var(--band-bg); color: var(--band-ink); padding-block: clamp(64px, 9vw, 112px); isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/ibex.svg") 0 0 / 88px 88px repeat; opacity: .04; }
.band__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.band__title { font-size: clamp(32px, 5vw, 58px); letter-spacing: -.015em; }
html[lang="en"] .band__title { letter-spacing: -.03em; }
.band__text { color: var(--band-muted); font-size: 18px; margin-top: 14px; max-width: 46ch; }
.band .badges { justify-content: flex-end; }
.band .badge { background: #ffffff; color: var(--ink); }
@media (max-width: 860px) { .band__inner { grid-template-columns: 1fr; text-align: center; } .band__text { margin-inline: auto; } .band .badges { justify-content: center; } }

/* Landing: the home page is one screen, hero plus a slim footer */
.is-landing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.landing { flex: 1; display: grid; align-items: center; }
.hero__more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.hero__more svg { width: 18px; height: 18px; }
html[dir="rtl"] .hero__more svg { transform: scaleX(-1); }
.hero__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.landing .hero { padding-block: clamp(16px, 4vw, 48px) clamp(32px, 5vw, 56px); }
.ftr.ftr--slim { padding-block: 18px; }
.ftr--slim .ftr__base { margin: 0; padding-top: 0; border: 0; }
@media (max-width: 760px) { .ftr--slim .ftr__base { justify-content: center; text-align: center; } }

.pet--fold { display: none; }

/* Landing option H (chosen): one very faint ibex in the middle of the first screen */
.v-h .landing { position: relative; isolation: isolate; overflow: hidden; }
.v-h .landing::before { content: ""; position: absolute; z-index: -1; width: min(92vw, 860px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; background: url("assets/ibex.svg") center / contain no-repeat; opacity: .06; }

/* Landing option B: the whole first screen in brand bronze */
.v-b {
  --bg: #f6e5cb; --surface: rgba(255, 255, 255, .5); --line: #e6cca6;
  background: radial-gradient(120% 90% at 85% 0%, #fdf4e7, #f6e5cb 50%, #eed4ae);
  position: relative; isolation: isolate;
}
.v-b::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("assets/ibex.svg") 0 0 / 90px 90px repeat; opacity: .04; }
.v-b .hdr { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.v-b .arch { background: rgba(255, 255, 255, .55); box-shadow: none; }
.v-b .arch::before { opacity: 0; }
.v-b .ftr { background: transparent; border-top-color: var(--line); }
.v-b .ftr a, .v-b .ftr { color: var(--muted); }

/* Landing option C: centred copy over a wide dome */
.v-c .hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(20px, 3vw, 32px); }
.v-c .hero__copy { justify-items: center; gap: 16px; }
.v-c .hero__title { font-size: clamp(34px, 4.6vw, 58px); }
.v-c .hero .badges { justify-content: center; }
.v-c .stage { padding-block: 0; width: 100%; }
.v-c .stage__box { width: min(100%, 860px); aspect-ratio: 2.3 / 1; }
.v-c .arch { border-radius: 999px 999px 0 0; }
.v-c .arch::after { inset-inline: 22%; top: 14%; }
.v-c .stage__phone { top: 10%; bottom: -4%; }
.v-c .phone { height: auto; width: 25%; aspect-ratio: auto; border-radius: 30px 30px 0 0; padding-bottom: 0; }
.v-c .phone__screen { height: 100%; border-radius: 22px 22px 0 0; }
.v-c .pet--dog { width: 17%; bottom: -3%; inset-inline-start: 16%; }
.v-c .pet--cat { width: 16%; bottom: -3%; inset-inline-end: 15%; }
.v-c .pet--bird { width: 11%; top: 6%; inset-inline-end: 28%; }
.v-c .pet--fold { display: block; width: 14%; bottom: -3%; inset-inline-start: 3%; }
@media (max-width: 600px) {
  .v-c .stage__box { aspect-ratio: 1.15 / 1; }
  .v-c .phone { width: 46%; }
  .v-c .pet--dog { width: 30%; inset-inline-start: 0; }
  .v-c .pet--cat { width: 28%; inset-inline-end: 0; }
  .v-c .pet--bird { width: 20%; inset-inline-end: 4%; }
  .v-c .pet--fold { display: none; }
}

/* Landing option D: sand page, the pets themselves are the picture */
.v-d { --bg: #faf5ee; --surface: #f3e9dc; --line: #e8d8c2; }
.v-d .stage__phone { display: none; }
.v-d .stage__box { aspect-ratio: 1 / 1; width: min(100%, 470px); }
.v-d .arch { border-radius: 50%; inset: 0 4% 10%; }
.v-d .arch::after { inset: 9%; top: 9%; }
.v-d .pet--dog { width: 42%; bottom: 0; inset-inline-start: 29%; z-index: 5; }
.v-d .pet--cat { width: 36%; bottom: 5%; inset-inline-start: -2%; inset-inline-end: auto; }
.v-d .pet--fold { display: block; width: 32%; bottom: 5%; inset-inline-end: 0; }
.v-d .pet--bird { width: 26%; top: 4%; inset-inline-end: 6%; }
.v-d .stage__box::after { content: ""; position: absolute; inset-inline: 6%; bottom: -1%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 46, 6, .22), transparent); z-index: 2; }

/* Footer */
.ftr { background: var(--bg); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 15.5px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.ftr__brand { display: grid; gap: 14px; justify-items: start; color: var(--muted); max-width: 36ch; }
.ftr__brand img { height: 52px; width: auto; }
.ftr h2 { font-size: 15px; margin-bottom: 12px; color: var(--ink); }
html[lang="en"] .ftr h2 { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { color: var(--muted); text-decoration: none; }
.ftr a:hover { color: var(--accent); }
.ftr__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* About page */
.ab-hero { padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 96px); }
.ab-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ab-hero__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.ab-hero__title { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.15; letter-spacing: -.015em; }
html[lang="en"] .ab-hero__title { letter-spacing: -.03em; line-height: 1.08; }
.ab-hero__line { font-weight: 700; color: var(--accent); font-size: 20px; }
.ab-arch { position: relative; width: min(100%, 380px); justify-self: center; aspect-ratio: 4 / 5; border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--soft-arch); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: end center; padding-top: 14%; }
.ab-arch::before { content: ""; position: absolute; inset: 0; background: url("assets/ibex.svg") 0 0 / 70px 70px repeat; opacity: .05; }
.ab-arch .phone { height: auto; width: 62%; margin-bottom: -2px; border-radius: 30px 30px 0 0; padding-bottom: 0; border-bottom: 0; animation: none; }
.ab-arch .phone__screen { aspect-ratio: 540 / 900; height: auto; border-radius: 22px 22px 0 0; }
.ab-arch img { position: relative; width: 70%; }
html[dir="ltr"] .ab-arch img { transform: scaleX(-1); }
@media (max-width: 860px) { .ab-hero__grid { grid-template-columns: 1fr; } .ab-arch { width: min(100%, 300px); } }

.journey { display: flex; align-items: center; gap: 0; margin-block: 40px 36px; list-style: none; padding: 0; }
.journey__step { display: grid; justify-items: center; gap: 12px; flex: none; font-weight: 600; font-size: 16px; }
.journey__step::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }

.journey__bar { flex: 1 1 auto; height: 2px; background: var(--line); margin-top: -36px; min-width: 16px; }
.journey__step:last-child::before { background: var(--bronze); }
@media (max-width: 560px) { .journey__step { font-size: 13.5px; gap: 10px; } .journey__step::before { width: 12px; height: 12px; box-shadow: 0 0 0 5px var(--accent-soft); } .journey__bar { margin-top: -30px; } }
.statement { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; max-width: 30ch; line-height: 1.4; }
.statement span { color: var(--accent); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { display: grid; gap: 12px; align-content: start; padding: 30px 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.pillar .cat__icon { margin-bottom: 4px; }
.pillar h3 { font-size: 21px; }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.eco { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; align-items: center; gap: 0; margin-bottom: 40px; }
.eco__side { display: grid; justify-items: center; gap: 12px; padding: 26px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); text-align: center; font-weight: 700; font-size: 18px; }
.eco__side .cat__icon { margin: 0; }
.eco__link { width: clamp(24px, 5vw, 64px); height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.eco__core { display: grid; justify-items: center; gap: 14px; padding: 30px 22px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); text-align: center; border: 1px solid var(--line); }
.eco__core img { height: 64px; width: auto; }
.eco__core ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.eco__core li { padding: 4px 12px; border-radius: 99px; background: #ffffff; font-size: 14px; }
@media (max-width: 760px) {
  .eco { grid-template-columns: 1fr; justify-items: stretch; }
  .eco__link { width: 2px; height: 28px; justify-self: center; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
}

.vision { text-align: center; }
.vision .band__title { max-width: 18ch; margin-inline: auto; }
.vision .band__text { margin-inline: auto; }
.vision__logo { width: 150px; margin: 36px auto 22px; }
.vision__meta { display: grid; gap: 4px; color: var(--band-muted); font-size: 15.5px; }
.vision__meta a { color: var(--band-ink); text-decoration: none; }
.vision__meta a:hover { text-decoration: underline; }
.vision .btn { margin-top: 28px; }

/* Business card */
.bc-body { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--surface); }
.bc { width: min(100%, 420px); border-radius: 28px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.bc__top { position: relative; isolation: isolate; padding: 22px 22px 64px; background: radial-gradient(120% 90% at 50% 0%, #fdf6ec, var(--wheat)); color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.bc__top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/ibex.svg") 0 0 / 60px 60px repeat; opacity: .05; }
.bc__top img { height: 40px; width: auto; }
.bc__lang { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1.5px solid rgba(95, 46, 6, .2); background: rgba(255, 255, 255, .6); color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.bc__lang:hover { background: #ffffff; }
.bc__lang[lang="en"] { font-family: var(--font-en); }
.bc__lang[lang="ar"] { font-family: var(--font-ar); }
.bc__avatar { width: 96px; height: 96px; margin: -48px auto 0; border-radius: 50%; background: var(--bg); border: 4px solid var(--bg); display: grid; place-items: center; position: relative; box-shadow: 0 10px 24px -12px rgba(43, 26, 11, .4); }
.bc__avatar img { width: 70%; }
.bc__id { text-align: center; padding: 14px 24px 4px; display: grid; gap: 4px; }
.bc__name { font-size: 27px; }
html[lang="en"] .bc__name { letter-spacing: -.02em; }
.bc__role { color: var(--accent); font-weight: 600; }
.bc__company { color: var(--muted); font-size: 15px; }
.bc__actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 20px 20px 8px; }
.bc__act { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 500; color: var(--ink); transition: background-color .2s ease; }
.bc__act:hover { background: var(--accent-soft); }
.bc__act span:first-child { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.bc__act svg { width: 20px; height: 20px; }
.bc__list { list-style: none; margin: 0; padding: 8px 20px; display: grid; }
.bc__list li + li { border-top: 1px solid var(--line); }
.bc__row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; text-decoration: none; min-width: 0; }
.bc__row > svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.bc__row span { display: grid; min-width: 0; }
.bc__row small { color: var(--muted); font-size: 13px; }
.bc__row b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.bc__save { padding: 8px 20px 22px; display: grid; gap: 10px; }
.bc__save .btn { width: 100%; }
.bc__note { text-align: center; color: var(--muted); font-size: 13px; min-height: 1.4em; }
.bc__foot { text-align: center; padding: 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.bc__foot a { color: var(--accent); text-decoration: none; font-weight: 600; }
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

/* Landing option E: pet tiles */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; width: min(100%, 560px); aspect-ratio: 1.15 / 1; }
.tile { position: relative; overflow: hidden; border-radius: 26px; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.tile img { width: 86%; height: auto; margin-bottom: -4%; position: relative; z-index: 1; filter: drop-shadow(0 12px 16px rgba(43, 26, 11, .22)); }
.tile span { position: absolute; top: 14px; inset-inline-start: 16px; z-index: 2; font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .88); color: #2b1a0b; }
.tile--dog { grid-row: span 2; background: linear-gradient(170deg, #f6e2c2, #ecca98); }
.tile--dog img { width: 96%; }
.tile--cat { background: #f3e9dc; }
.tile--bird { background: #e4e0c4; }
.tile--fold { background: #ead9c2; }
.tile--app { background: #fbf1e3; align-items: flex-start; padding-top: 12px; }
.tile--app .phone { width: 64%; height: auto; aspect-ratio: auto; border-radius: 22px; padding: 5px; animation: none; }
.tile--app .phone__screen { aspect-ratio: 540 / 1020; height: auto; border-radius: 18px; padding-top: 8px; }
.tile--app .phone__screen img { width: 100%; height: 100%; margin: 0; filter: none; }
.bento { grid-template-areas: "dog cat bird" "dog fold brand"; }
.tile--dog { grid-area: dog; } .tile--cat { grid-area: cat; } .tile--bird { grid-area: bird; } .tile--fold { grid-area: fold; } .tile--app { grid-area: brand; }
@media (max-width: 600px) { .bento { gap: 10px; } .tile { border-radius: 18px; } .tile span { font-size: 12px; top: 10px; inset-inline-start: 10px; padding: 3px 9px; } }

/* Landing option F: lineup on a ground line, giant ibex behind */
.v-f .hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
.v-f .hero__copy { justify-items: center; gap: 16px; }
.v-f .hero__title { font-size: clamp(34px, 4.6vw, 58px); }
.v-f .hero .badges { justify-content: center; }
.v-f .landing { position: relative; isolation: isolate; overflow: hidden; }
.v-f .landing::before { content: ""; position: absolute; z-index: -1; width: min(70vw, 760px); aspect-ratio: 1; inset-inline-end: -8%; top: -6%; background: url("assets/ibex.svg") center / contain no-repeat; opacity: .07; }
.stage--lineup { width: 100%; }
.lineup { display: flex; align-items: flex-end; justify-content: center; width: min(100%, 900px); margin-inline: auto; position: relative; padding-bottom: 6px; }
.lineup::after { content: ""; position: absolute; inset-inline: 4%; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--bronze) 15%, var(--bronze) 85%, transparent); }
.lu { height: auto; filter: drop-shadow(0 14px 14px rgba(43, 26, 11, .2)); margin-inline: -1.5%; }
.lu-phone { width: 15%; align-self: flex-end; margin-inline: 1%; margin-bottom: 2px; }
.lu-phone .phone { height: auto; width: 100%; aspect-ratio: 9 / 18.5; padding: 5px; border-radius: 22px; }
.lu-phone .phone__screen { border-radius: 18px; padding-top: 8px; }
.lu--0 { width: 19%; } .lu--1 { width: 16%; } .lu--2 { width: 24%; position: relative; z-index: 2; } .lu--3 { width: 18%; } .lu--4 { width: 17%; margin-bottom: 2%; }

/* Landing option G: split screen with a straight bronze panel */
.v-g .landing .hero { padding-block: 0; }
.v-g .hero__grid { align-items: stretch; }
.v-g .hero__copy { align-content: center; padding-block: 32px; }
.stage--split { padding: 0; position: relative; }
.split-panel { position: relative; width: 100%; height: 100%; min-height: 560px; border-radius: 0; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #fbefdd, #efd3a8); margin-inline-end: calc(var(--gutter) * -1); }
.split-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/ibex.svg") 0 0 / 80px 80px repeat; opacity: .05; }
.split-phone { position: absolute; width: 44%; aspect-ratio: 9 / 18.5; top: 12%; inset-inline-start: 28%; transform: rotate(-8deg); }
.split-phone .phone { height: 100%; width: 100%; }
.sp-dog { width: 36%; bottom: -2%; inset-inline-end: 4%; z-index: 4; }
.sp-cat { width: 30%; bottom: -2%; inset-inline-start: 2%; z-index: 4; }
@media (min-width: 901px) {
  .v-g .hero__grid { max-width: none; padding-inline-end: 0; grid-template-columns: 1fr 1fr; }
  .v-g .hero__copy { padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
  .v-g .landing { align-items: stretch; }
  .v-g .landing .hero, .v-g .hero__grid { height: 100%; }
}
@media (max-width: 900px) { .split-panel { min-height: 420px; border-radius: 26px; margin: 0; } .split-phone { width: 40%; inset-inline-start: 30%; } }

/* Landing option H: three app screens fanned out */
.fan { position: relative; width: min(100%, 560px); aspect-ratio: 1.1 / 1; isolation: isolate; }
.fan::before { content: ""; position: absolute; inset: 6% 4% 0; z-index: -1; border-radius: 999px 999px 40px 40px; background: var(--soft-arch); }
.fan::after { content: ""; position: absolute; inset-inline: 10%; bottom: -2%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 46, 6, .22), transparent); z-index: -1; }
.fan__ph { position: absolute; bottom: 0; width: 34%; aspect-ratio: 9 / 18.5; }
.fan__ph .phone { width: 100%; height: 100%; }
.fan__ph--main { inset-inline-start: 33%; z-index: 3; width: 36%; }
.fan__ph--side1 { inset-inline-start: 2%; transform: rotate(9deg); transform-origin: bottom center; bottom: 4%; z-index: 2; }
.fan__ph--side2 { inset-inline-end: 2%; transform: rotate(-9deg); transform-origin: bottom center; bottom: 4%; z-index: 2; }
html[dir="ltr"] .fan__ph--side1 { transform: rotate(-9deg); }
html[dir="ltr"] .fan__ph--side2 { transform: rotate(9deg); }
.v-h .landing { background: radial-gradient(60% 70% at 25% 60%, #f6ecdf, transparent 70%); }
html[dir="ltr"].v-h .landing, .v-h[dir="ltr"] .landing { background: radial-gradient(60% 70% at 75% 60%, #f6ecdf, transparent 70%); }

@media (max-width: 600px) {
  .lu--0, .lu--4 { display: none; }
  .lu--1 { width: 26%; } .lu--2 { width: 34%; } .lu--3 { width: 26%; } .lu-phone { width: 24%; }
}

/* ---------- About page options ---------- */
/* B: bronze hero band */
.av-b .ab-hero { background: radial-gradient(120% 100% at 85% 0%, #fdf4e7, #f6e5cb 50%, #eed4ae); position: relative; isolation: isolate; }
.av-b .ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/ibex.svg") 0 0 / 90px 90px repeat; opacity: .04; }
.av-b .ab-arch { background: rgba(255, 255, 255, .55); box-shadow: none; }
.av-b .ab-arch::before { opacity: 0; }
/* C: centred statement with a giant ibex behind */
.av-c .ab-hero { position: relative; isolation: isolate; overflow: hidden; }
.av-c .ab-hero::before { content: ""; position: absolute; z-index: -1; width: min(80vw, 820px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -46%; background: url("assets/ibex.svg") center / contain no-repeat; opacity: .07; }
.av-c .ab-hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.av-c .ab-hero__copy { justify-items: center; max-width: 820px; }
.av-c .ab-hero__title { font-size: clamp(38px, 6vw, 76px); }
.av-c .ab-arch { display: none; }
.av-c .ab-hero { padding-block: clamp(56px, 9vw, 120px); }
/* D: straight sand panel beside the copy */
.av-d .ab-hero { background: var(--surface); padding-block: 0; }
.av-d .ab-hero__grid { align-items: stretch; }
.av-d .ab-hero__copy { padding-block: clamp(40px, 7vw, 96px); align-content: center; }
.av-d .ab-arch { border-radius: 0; aspect-ratio: auto; width: 100%; min-height: 520px; background: var(--soft-arch); box-shadow: none; }
.av-d .ab-arch::before { opacity: .06; }
.av-d .ab-arch .phone { width: 44%; }
@media (max-width: 860px) { .av-d .ab-arch { min-height: 300px; border-radius: 24px; margin-bottom: 32px; } }

/* ---------- Business card options ---------- */
.bc__print { display: none; }
/* B: the whole card in bronze */
.bcv-b .bc { background: radial-gradient(130% 80% at 50% 0%, #fdf6ec, #f2dcb9 70%); border: 0; --line: rgba(176, 128, 76, .28); --surface: rgba(255, 255, 255, .6); --accent-soft: #ffffff; }
.bcv-b .bc__top { background: transparent; padding-bottom: 56px; }
.bcv-b .bc__avatar { background: #ffffff; border-color: #ffffff; box-shadow: none; }
/* C: quiet white card, name aligned to the start, ibex in the corner */
.bcv-c .bc-body, .bc-body.bcv-c { background: #ffffff; }
.bcv-c .bc { position: relative; box-shadow: none; border: 0; isolation: isolate; }
.bcv-c .bc::before { content: ""; position: absolute; z-index: -1; width: 260px; aspect-ratio: 1; inset-inline-end: -70px; top: 30px; background: url("assets/ibex.svg") center / contain no-repeat; opacity: .08; }
.bcv-c .bc__top { background: none; padding: 20px 20px 8px; }
.bcv-c .bc__top::before { display: none; }
.bcv-c .bc__top img { filter: none; content: url("assets/logo.svg"); height: 44px; }
.bcv-c .bc__lang { color: var(--ink); border-color: var(--line); }
.bcv-c .bc__avatar { display: none; }
.bcv-c .bc__id { text-align: start; padding: 28px 24px 4px; }
.bcv-c .bc__name { font-size: 34px; }
.bcv-c .bc__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bcv-c .bc__act { grid-auto-flow: column; justify-content: center; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: transparent; }
.bcv-c .bc__act span:first-child { width: 30px; height: 30px; }
.bcv-c .bc__act svg { width: 16px; height: 16px; }
.bcv-c .bc__foot { border: 0; }
/* D: the printed card on top, actions below */
.bc-body.bcv-d { background: #f3e9dc; }
.bcv-d .bc { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.bcv-d .bc__avatar, .bcv-d .bc__id { display: none; }
.bcv-d .bc__top { background: none; padding: 0 0 14px; justify-content: flex-end; }
.bcv-d .bc__top::before, .bcv-d .bc__top img { display: none; }
.bcv-d .bc__lang { color: var(--ink); border-color: rgba(95, 46, 6, .2); }
.bcv-d .bc__print { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.75 / 1; padding: 22px; margin-bottom: 18px; border-radius: 18px; color: var(--ink); position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #fdf4e7, #efd3a8); border: 1px solid #ead2ae; box-shadow: 0 30px 50px -24px rgba(95, 46, 6, .3); transform: rotate(-2deg); }
.bcv-d .bc__print::before { content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; background: url("assets/ibex.svg") center / contain no-repeat; opacity: .07; }
.bcv-d .bc__print img { height: 42px; width: auto; align-self: flex-start; }
.bcv-d .bc__print div { display: grid; gap: 2px; }
.bcv-d .bc__print b { font-size: 24px; }
.bcv-d .bc__print span { color: var(--muted); font-size: 14px; }
.bcv-d .bc__actions, .bcv-d .bc__list, .bcv-d .bc__save { background: #fff; }
.bcv-d .bc__actions { border-radius: 22px 22px 0 0; }
.bcv-d .bc__foot { border: 0; }
.bcv-d .bc__save { border-radius: 0 0 22px 22px; }
.bcv-d .bc { display: flex; flex-direction: column; } .bcv-d .bc__top { order: -1; }
@media (max-width: 600px) { .v-h .fan { width: 86%; margin-inline: auto; } }
