:root {
  --espresso: #1A110C;
  --espresso-deep: #120B07;
  --label: #2E1D15;
  --smoke: #B8B0A8;
  --gold: #C9A45C;
  --gold-soft: rgba(201, 164, 92, 0.28);
  --amber: #9A6A3E;
  --rose: #C98E96;
  --muted: #ADA59E;
  --serif: "Cormorant Garamond", Georgia, serif;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--espresso); }

body {
  margin: 0;
  background: var(--espresso);
  color: var(--smoke);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

[dir="rtl"] body { font-family: var(--arabic); font-size: 19px; }

h2, h3, p { margin: 0; }

.langs {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 12px 16px 0;
}

.langs button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.langs button[lang="ar"] { font-family: var(--arabic); font-size: 17px; }
.langs button[lang="en"], .langs button[lang="ru"] { font-family: var(--sans); }

.langs button[aria-pressed="true"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 16px 96px;
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--smoke);
}


.brand.small { font-size: 20px; }

.rule {
  display: flex;
  width: 96px;
  height: 1px;
  margin: 22px 0 28px;
  background: var(--smoke);
}

.rule::before {
  content: "";
  width: 32px;
  margin: 0 auto;
  background: var(--gold);
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--gold);
  max-width: 30ch;
}

[dir="rtl"] .tagline { font-family: var(--arabic); font-style: normal; font-size: 26px; max-width: 32ch; }

.section {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 96px;
}

.section.narrow { max-width: 640px; text-align: center; }

.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 36px;
}

[dir="rtl"] .kicker { font-family: var(--arabic); font-size: 18px; letter-spacing: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-soft);
  background: var(--espresso-deep);
}

.photo {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 12px 0;
  border: 1px dashed rgba(184, 176, 168, 0.3);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 28px 20px 28px;
}

.name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.05;
  color: var(--gold);
  direction: ltr;
  unicode-bidi: isolate;
}

.name-ar {
  font-family: var(--arabic);
  font-size: 26px;
  line-height: 1.4;
  color: var(--gold);
}

.origin {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--smoke);
}

.strip { height: 8px; display: flex; }
.strip-oud { background: var(--amber); }
.strip-rose { background: var(--rose); }
.strip-blend { background: linear-gradient(90deg, var(--amber) 90%, var(--rose) 90%); }
[dir="rtl"] .strip-blend { background: linear-gradient(270deg, var(--amber) 90%, var(--rose) 90%); }

.sizes {
  align-self: stretch;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(184, 176, 168, 0.12);
}

.sizes-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

[dir="rtl"] .sizes-label { font-size: 15px; letter-spacing: 0; }

.size-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
}

.size {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--smoke);
}

.vial {
  width: 14px;
  border: 1px solid var(--gold);
  border-bottom-width: 3px;
  background: var(--label);
}

.s3 .vial { height: 22px; }
.s6 .vial { width: 17px; height: 30px; }
.s12 .vial { width: 21px; height: 40px; }

.card:has(.strip-rose) .vial { border-bottom-color: var(--rose); }
.size.off { opacity: 0.3; }
.card:has(.strip-oud) .vial { border-bottom-color: var(--amber); }
.card:has(.strip-blend) .vial { border-bottom-color: var(--amber); }

.cards.blends { grid-template-columns: repeat(auto-fit, minmax(240px, 357px)); justify-content: center; }

.lead {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.45;
  color: var(--smoke);
}

[dir="rtl"] .sizes {
  align-self: stretch;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(184, 176, 168, 0.12);
}

.sizes-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

[dir="rtl"] .sizes-label { font-size: 15px; letter-spacing: 0; }

.size-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
}

.size {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--smoke);
}

.vial {
  width: 14px;
  border: 1px solid var(--gold);
  border-bottom-width: 3px;
  background: var(--label);
}

.s3 .vial { height: 22px; }
.s6 .vial { width: 17px; height: 30px; }
.s12 .vial { width: 21px; height: 40px; }

.card:has(.strip-rose) .vial { border-bottom-color: var(--rose); }
.card:has(.strip-oud) .vial { border-bottom-color: var(--amber); }

.lead { font-family: var(--arabic); font-size: 22px; }

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

[dir="rtl"] .button { font-family: var(--arabic); font-size: 18px; letter-spacing: 0; }

.button:hover, .button:focus-visible { background: var(--gold); color: var(--espresso); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 16px 64px;
  border-top: 1px solid rgba(184, 176, 168, 0.15);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  .hero { padding: 48px 16px 72px; }
  .brand { font-size: 30px; }
  .tagline { font-size: 23px; }
  .section { padding-bottom: 72px; }
  .photo { aspect-ratio: 1 / 1; }
  .button { width: 100%; }
}

a.brand { text-decoration: none; }

.batch { max-width: 480px; }
.batch .card-body { padding: 40px 24px; }
.batch .kicker { margin-bottom: 20px; }

.facts {
  align-self: stretch;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(184, 176, 168, 0.12);
  display: grid;
  gap: 14px;
}

.facts dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

[dir="rtl"] .facts dt { font-size: 15px; letter-spacing: 0; }

.facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 20px; color: var(--smoke); }

.back { margin-top: 40px; }
.back a { color: var(--muted); text-underline-offset: 5px; }
