:root {
  --bg: #f8f5ef;
  --bg-elevated: #fffdfa;
  --bg-soft: #f3ede2;
  --surface: rgba(255, 253, 248, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: #171411;
  --text-soft: #5f564b;
  --text-muted: #8b7d69;
  --border: rgba(198, 168, 106, 0.26);
  --border-strong: rgba(198, 168, 106, 0.5);
  --gold: #c6a86a;
  --gold-deep: #9d7b38;
  --shadow-soft: 0 22px 60px rgba(27, 19, 6, 0.08);
  --shadow-card: 0 24px 70px rgba(24, 18, 8, 0.11);
  --shadow-hover: 0 26px 80px rgba(18, 13, 5, 0.16);
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-full: 999px;
  --container: min(1180px, calc(100% - 2rem));
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-ar-heading: "Tajawal", sans-serif;
  --font-ar-body: "Tajawal", sans-serif;
  --transition: 240ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(224, 196, 133, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(198, 168, 106, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.75;
  text-align: start;
}

html[lang="ar"] body {
  font-family: var(--font-ar-body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .eyebrow,
html[lang="ar"] .footer-title,
html[lang="ar"] .brand-name {
  font-family: var(--font-ar-heading);
  letter-spacing: 0;
}

p {
  margin: 0;
}

::selection {
  background: rgba(198, 168, 106, 0.28);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: 4.5rem;
}

.section--compact {
  padding-block: 2.75rem 4.5rem;
}

.section--tight {
  padding-block: 2rem 3.5rem;
}

.section-contrast {
  position: relative;
}

.section-contrast::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 236, 220, 0.8)),
    var(--bg-soft);
  border-block: 1px solid var(--border);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(248, 245, 239, 0.82);
  border-bottom: 1px solid rgba(198, 168, 106, 0.14);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: auto;
  block-size: auto;
}

.brand-mark img {
  inline-size: auto;
  block-size: 3rem;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.brand-tagline {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

html[lang="ar"] .brand-tagline,
html[lang="ar"] .nav-link,
html[lang="ar"] .button,
html[lang="ar"] .lang-option {
  font-family: var(--font-ar-body);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle,
.nav-backdrop {
  display: none;
}

.nav-toggle {
  align-items: center;
  justify-content: center;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(35, 29, 18, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 38px rgba(35, 29, 18, 0.12);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle__bars span {
  display: block;
  inline-size: 1.1rem;
  block-size: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  color: var(--text-soft);
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: rgba(198, 168, 106, 0.11);
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: var(--text);
  background: rgba(198, 168, 106, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button--compact {
  min-inline-size: auto;
  padding: 0.82rem 1.15rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  direction: ltr;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(35, 29, 18, 0.06);
}

.lang-option {
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.lang-option:hover,
.lang-option:focus-visible {
  color: var(--text);
}

.lang-option.is-active {
  background: linear-gradient(135deg, rgba(198, 168, 106, 0.18), rgba(198, 168, 106, 0.36));
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  padding-block: 4.5rem 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  inline-size: 2.5rem;
  block-size: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.hero-copy h1,
.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.lead {
  max-width: 62ch;
  margin-top: 1.35rem;
  color: var(--text-soft);
  font-size: 1.07rem;
}

.lead--compact {
  max-width: 70ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 11.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  border-color: rgba(198, 168, 106, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 245, 229, 0.98) 32%, rgba(226, 196, 133, 0.96) 68%, rgba(255, 253, 247, 0.98) 100%);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(198, 168, 106, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: rgba(198, 168, 106, 0.56);
  box-shadow: 0 22px 48px rgba(198, 168, 106, 0.28);
}

.button-secondary {
  border-color: rgba(23, 20, 17, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  box-shadow: 0 16px 32px rgba(23, 20, 17, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--border-strong);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.35rem;
}

.stat-card {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.7rem;
  font-weight: 800;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-glow--top {
  inset-block-start: 0.5rem;
  inset-inline-start: 2rem;
  inline-size: 14rem;
  block-size: 14rem;
  background: rgba(198, 168, 106, 0.22);
}

.hero-glow--bottom {
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  inline-size: 12rem;
  block-size: 12rem;
  background: rgba(23, 20, 17, 0.08);
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-card);
}

.hero-card img,
.category-media img,
.story-figure img,
.editorial-media img,
.product-media img,
.about-figure img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.hero-card--large {
  inset-block-start: 1rem;
  inset-inline-end: 3.5rem;
  inline-size: min(100%, 29rem);
  block-size: 32rem;
}

.hero-card--upper {
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 12rem;
  block-size: 15rem;
}

.hero-card--lower {
  inset-block-end: 0;
  inset-inline-start: 4.5rem;
  inline-size: 12rem;
  block-size: 14rem;
}

.floating-brief {
  position: absolute;
  inset-block-end: 2.25rem;
  inset-inline-start: 0;
  max-inline-size: 17rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(255, 252, 245, 0.92);
  box-shadow: var(--shadow-card);
}

.floating-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 4vw, 3.65rem);
}

.section-heading p {
  margin-top: 1rem;
  color: var(--text-soft);
}

.lux-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 245, 0.9)),
    var(--surface-strong);
  box-shadow: var(--shadow-card);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.lux-card:hover,
.lux-card:focus-within {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.category-grid,
.showcase-grid,
.info-grid,
.product-grid {
  display: grid;
  gap: 1.35rem;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  display: flex;
  flex-direction: column;
}

.category-media {
  aspect-ratio: 4 / 3;
}

.category-body,
.highlight-card,
.info-card,
.product-body {
  padding: 1.5rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  inline-size: 3rem;
  block-size: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(198, 168, 106, 0.16), rgba(198, 168, 106, 0.28));
  color: var(--gold-deep);
}

.icon-badge svg,
.feature-icon svg {
  inline-size: 1.45rem;
  block-size: 1.45rem;
}

.category-body h3,
.highlight-card h3,
.info-card h3,
.product-body h3,
.feature-card h3 {
  font-size: 1.6rem;
}

.category-body p,
.highlight-card p,
.info-card p,
.product-body p,
.feature-card p {
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.category-meta {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(198, 168, 106, 0.12);
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.story-grid,
.editorial-panel,
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 2rem;
}

.story-media,
.about-visual {
  position: relative;
}

.story-figure,
.about-figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-card);
}

.story-figure {
  aspect-ratio: 4 / 5;
}

.about-figure {
  aspect-ratio: 5 / 4;
}

.story-badge,
.quote-card {
  position: absolute;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  max-inline-size: 16rem;
  padding: 1rem 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.story-copy h2,
.editorial-copy h2,
.about-copy h2 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
}

.story-copy p,
.editorial-copy p,
.about-copy p {
  margin-top: 1rem;
  color: var(--text-soft);
}

.feature-stack,
.story-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.8);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 3rem;
  block-size: 3rem;
  border-radius: 1rem;
  background: rgba(198, 168, 106, 0.15);
  color: var(--gold-deep);
}

.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.35rem;
}

.editorial-panel {
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 0.4rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 236, 219, 0.86)),
    var(--surface-strong);
  box-shadow: var(--shadow-card);
}

.editorial-copy {
  padding: 1.1rem;
}

.editorial-media {
  overflow: hidden;
  min-height: 25rem;
  border-radius: 1.85rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(241, 232, 213, 0.9)),
    var(--surface-strong);
  box-shadow: var(--shadow-card);
}

.page-hero {
  padding-block-start: 3rem;
}

.page-hero__shell {
  display: grid;
  gap: 1rem;
}

.page-ribbons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ribbon-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(198, 168, 106, 0.12);
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-shell {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.7fr));
  gap: 1rem;
}

.filter-control {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.filter-control label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.filter-control input,
.filter-control select {
  inline-size: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(248, 245, 239, 0.95);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.filter-control input:focus,
.filter-control select:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(198, 168, 106, 0.14);
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(198, 168, 106, 0.18);
}

.results-meta p {
  color: var(--text-soft);
}

.results-count {
  color: var(--text);
  font-size: 1rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.product-link {
  color: inherit;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
}

.product-type-badge {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 252, 245, 0.92);
  border: 1px solid var(--border);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-meta span {
  padding: 0.42rem 0.72rem;
  border-radius: var(--radius-full);
  background: rgba(198, 168, 106, 0.11);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-link__footer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-link__footer::after {
  content: "›";
  font-size: 1.15rem;
}

html[dir="rtl"] .product-link__footer::after {
  content: "‹";
}

.product-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.product-empty h3 {
  font-size: 2rem;
}

.product-empty p {
  margin-top: 0.75rem;
  color: var(--text-soft);
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: start;
}

.detail-gallery,
.detail-copy {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 0.15rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 245, 0.9)),
    var(--surface-strong);
  box-shadow: var(--shadow-card);
}

.detail-gallery {
  padding: 1.1rem;
}

.detail-stage {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: 1.85rem;
  background: rgba(245, 238, 225, 0.92);
}

.detail-stage img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.detail-gallery__actions {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.detail-controls {
  display: flex;
  gap: 0.6rem;
}

.detail-control {
  display: inline-grid;
  place-items: center;
  inline-size: 2.8rem;
  block-size: 2.8rem;
  border: 1px solid rgba(198, 168, 106, 0.3);
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.9);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(35, 29, 18, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.detail-control:hover,
.detail-control:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 30px rgba(35, 29, 18, 0.12);
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.detail-thumbnail {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(198, 168, 106, 0.22);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.84);
  opacity: 0.8;
  transition: transform var(--transition), opacity var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.detail-thumbnail img {
  inline-size: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-thumbnail.is-active,
.detail-thumbnail:hover,
.detail-thumbnail:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 30px rgba(35, 29, 18, 0.08);
}

.detail-copy {
  padding: 1.65rem;
}

.detail-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.detail-back::before {
  content: "‹";
  font-size: 1.2rem;
}

html[dir="rtl"] .detail-back::before {
  content: "›";
}

.detail-category {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(198, 168, 106, 0.12);
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.9rem);
}

.detail-subtitle {
  margin-top: 0.85rem;
  color: var(--gold-deep);
  font-size: 1.02rem;
  font-weight: 700;
}

.detail-description {
  margin-top: 1rem;
  color: var(--text-soft);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.detail-meta span {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(198, 168, 106, 0.11);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.detail-block {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(198, 168, 106, 0.2);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
}

.detail-block h3 {
  font-size: 1.5rem;
}

.detail-block p {
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.detail-highlights {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-soft);
}

.detail-highlights li::before {
  content: "";
  flex: 0 0 auto;
  inline-size: 0.75rem;
  block-size: 0.75rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 0 5px rgba(198, 168, 106, 0.12);
}

.detail-not-found {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 0.15rem);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.detail-not-found h2 {
  font-size: 2.35rem;
}

.detail-not-found p {
  margin-top: 0.85rem;
  color: var(--text-soft);
}

.detail-not-found .button {
  margin-top: 1.4rem;
}

.map-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 0.4rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 236, 219, 0.8)),
    var(--surface-strong);
  box-shadow: var(--shadow-card);
}

.map-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(23, 20, 17, 0.12)),
    url("./assets/world-map.svg") center/cover no-repeat;
  opacity: 0.95;
}

.map-banner__content {
  position: relative;
  z-index: 1;
  max-inline-size: 36rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1.65rem;
  background: rgba(255, 253, 247, 0.78);
  backdrop-filter: blur(10px);
}

.map-banner__content h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.map-banner__content p {
  margin-top: 0.85rem;
  color: var(--text-soft);
}

.map-tag {
  position: absolute;
  z-index: 1;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(198, 168, 106, 0.32);
  background: rgba(255, 252, 246, 0.9);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 20, 17, 0.08);
}

.map-tag--one {
  top: 24%;
  left: 12%;
}

.map-tag--two {
  top: 38%;
  left: 46%;
}

.map-tag--three {
  top: 61%;
  right: 12%;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-grid--contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.story-point__marker {
  flex: 0 0 auto;
  inline-size: 0.82rem;
  block-size: 0.82rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 0 6px rgba(198, 168, 106, 0.12);
}

.site-footer {
  margin-top: 2rem;
  padding-block: 2.4rem 1.3rem;
  border-top: 1px solid rgba(198, 168, 106, 0.16);
  background: rgba(255, 251, 243, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  gap: 1.4rem;
}

.brand--footer {
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.4rem;
}

.footer-text {
  color: var(--text-soft);
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.footer-links a {
  color: var(--text-soft);
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-deep);
  transform: translateX(3px);
}

html[dir="rtl"] .footer-links a:hover,
html[dir="rtl"] .footer-links a:focus-visible {
  transform: translateX(-3px);
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(198, 168, 106, 0.14);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.flash-wrap {
  padding-top: 1rem;
}

.flash {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.flash--success {
  border-color: rgba(52, 127, 88, 0.24);
  color: #2d6f4e;
}

.flash--error {
  border-color: rgba(182, 83, 83, 0.24);
  color: #a54848;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(198, 168, 106, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .story-grid,
  .editorial-panel,
  .about-story,
  .product-detail-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 35rem;
  }

  .hero-card--large {
    inset-inline-end: 1rem;
  }

  .category-grid,
  .showcase-grid,
  .info-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section {
    padding-block: 3.75rem;
  }

  .header-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset-block-start: 5.6rem;
    inset-inline: 1rem;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1.6rem;
    background: rgba(255, 252, 246, 0.97);
    box-shadow: 0 26px 60px rgba(18, 13, 5, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px) scale(0.98);
    transition: opacity var(--transition), transform var(--transition);
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    background: rgba(23, 20, 17, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle__bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 31rem;
    overflow: hidden;
  }

  .hero-card--large {
    inline-size: 80%;
    block-size: 24rem;
  }

  .hero-card--upper,
  .hero-card--lower {
    inline-size: 9rem;
    block-size: 11rem;
  }

  .floating-brief,
  .story-badge,
  .quote-card {
    position: static;
    max-inline-size: none;
    margin-top: 1rem;
  }

  .map-banner {
    aspect-ratio: 1 / 1;
    align-items: flex-end;
  }

  .map-tag {
    font-size: 0.74rem;
  }

  .detail-copy {
    padding: 1.35rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero {
    padding-block-start: 3.25rem;
  }

  .hero-visual {
    min-height: 26rem;
    overflow: hidden;
  }

  .hero-card--large {
    position: relative;
    inset: auto;
    inline-size: 100%;
    block-size: 19rem;
  }

  .hero-card--upper,
  .hero-card--lower {
    display: none;
  }

  .category-grid,
  .showcase-grid,
  .info-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery__actions,
  .detail-topbar,
  .detail-meta {
    gap: 0.75rem;
  }

  .cta-band {
    padding: 1.5rem;
  }

  .button {
    inline-size: 100%;
  }

  .map-banner__content {
    padding: 1.15rem;
  }

  .map-tag--one {
    top: 12%;
    left: 7%;
  }

  .map-tag--two {
    top: 28%;
    left: 38%;
  }

  .map-tag--three {
    top: 52%;
    right: 7%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
