/* ==========================================================================
   ATHAR | أثر — THE LIVING ARCHIVE (v3.0)
   Bespoke Fashion Storefront & Motion System for Native EasyOrders
   Dual-Chapter Aesthetic: Warm Ivory Archive × Obsidian Equestrian Chapter
   Mobile-First 320px–1440px · Zero Horizontal Overflow · WCAG 2.2 AA
   ========================================================================== */

/* Google Fonts loaded in parallel via sections/header.liquid to avoid render-blocking @import waterfall & Slow 3G CLS.
   Metric-matched local fallbacks prevent font-swap layout shifts (CLS) on mobile/3G. */
@font-face {
  font-family: 'IBM Plex Sans Arabic Fallback';
  src: local('Arial'), local('Tahoma'), local('DejaVu Sans'), local('Liberation Sans');
  ascent-override: 96%;
  descent-override: 32%;
  line-gap-override: 0%;
  size-adjust: 95%;
}

@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('DejaVu Sans');
  ascent-override: 97%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 102%;
}

@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia'), local('Times New Roman'), local('DejaVu Serif');
  ascent-override: 88%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 86%;
}

:root {
  /* Palette Tokens (EasyOrders Palette CSS Vars + ATHAR Living Archive Fallbacks) */
  --athar-bg: var(--body-bg, #F6F0E5);
  --athar-surface: #FBF8F2;
  --athar-parchment: #EBE2D2;
  --athar-sand: #DAD0BD;
  --athar-text: var(--body-text, #111622);
  --athar-muted: #525866;
  --athar-navy: var(--buy-btn-bg, #13294B);
  --athar-navy-hover: #0B1B33;
  --athar-on-navy: var(--buy-btn-text, #F6F0E5);
  --athar-gold: #B0894C;
  --athar-gold-text: #7A5622;
  --athar-gold-light: #D4B582;
  --athar-obsidian: #0E1117;
  --athar-obsidian-surface: #161B24;
  --athar-on-obsidian: #F4EFE6;
  --athar-border: rgba(19, 41, 75, 0.14);
  --athar-border-strong: rgba(19, 41, 75, 0.28);
  --athar-border-dark: rgba(244, 239, 230, 0.16);
  --athar-header-bg: var(--hd-bg, rgba(246, 240, 229, 0.94));
  --athar-header-text: var(--hd-text, #13294B);
  --athar-product-title: var(--product-name-text, #111622);
  --athar-danger: #9B2C2C;

  /* Layout Tokens */
  --athar-radius: 2px;
  --athar-container: 1320px;
  --athar-gutter: clamp(0.875rem, 3vw, 2.5rem);

  /* Typography Tokens */
  --athar-font-ar: 'IBM Plex Sans Arabic', 'IBM Plex Sans Arabic Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --athar-font-en: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --athar-font-serif: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;

  /* Centralized ATHAR Motion Architecture Tokens */
  --athar-dur-shop: 160ms;
  --athar-dur-micro: 180ms;
  --athar-dur-ui: 280ms;
  --athar-dur-drawer: 320ms;
  --athar-dur-editorial: 620ms;
  --athar-dur-curtain: 800ms;
  --athar-dur-media: 700ms;
  --athar-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --athar-ease-ink: cubic-bezier(0.19, 1, 0.22, 1);
  --athar-ease-archival: cubic-bezier(0.22, 1, 0.36, 1);
  --athar-ease-tactile: cubic-bezier(0.34, 1.38, 0.64, 1);
  --athar-dist-reveal: 22px;
  --athar-stagger-step: 70ms;
  --athar-scale-hover: 1.035;
  --athar-scale-press: 0.985;
  --athar-chapter-p: 0;
  --athar-scroll-p: 0;
}

@media (max-width: 767px) {
  :root {
    --athar-dur-editorial: 460ms;
    --athar-dur-curtain: 560ms;
    --athar-dur-media: 520ms;
    --athar-dist-reveal: 14px;
    --athar-stagger-step: 50ms;
  }
}

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

html {
  background-color: var(--athar-bg);
  color: var(--athar-text);
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--athar-bg);
  color: var(--athar-text);
  font-family: var(--athar-font-ar);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

html[dir="ltr"] body {
  font-family: var(--athar-font-en);
}

/* Full-Page Obsidian Chapter Atmosphere for Al-Fares PDP */
body.athar-pdp-page--obsidian {
  background-color: var(--athar-obsidian);
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-header {
  background-color: rgba(14, 17, 23, 0.94);
  border-bottom-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-header .athar-header__logo-img {
  filter: brightness(0) invert(0.95);
}

.athar-footer .athar-header__logo-img,
.athar-footer .athar-footer__logo-img {
  filter: none;
}

body.athar-pdp-page--obsidian .athar-header__link {
  color: rgba(244, 239, 230, 0.85);
}

body.athar-pdp-page--obsidian .athar-header__link:hover {
  color: var(--athar-gold-light);
}

body.athar-pdp-page--obsidian .athar-cart-trigger {
  background-color: var(--athar-obsidian-surface);
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-cart-count {
  background-color: var(--athar-gold-light);
  color: var(--athar-obsidian);
}

body.athar-pdp-page--obsidian .athar-breadcrumbs {
  color: rgba(244, 239, 230, 0.72);
}

body.athar-pdp-page--obsidian .athar-breadcrumbs__current,
body.athar-pdp-page--obsidian .athar-breadcrumbs a:hover {
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-gallery__stage,
body.athar-pdp-page--obsidian .athar-gallery__thumb {
  background-color: #080A0E;
  border-color: var(--athar-border-dark);
}

body.athar-pdp-page--obsidian .athar-gallery__thumb[aria-selected="true"] {
  border-color: var(--athar-gold-light);
}

body.athar-pdp-page--obsidian .athar-section {
  border-bottom-color: var(--athar-border-dark);
}

body.athar-pdp-page--obsidian .athar-section__title,
body.athar-pdp-page--obsidian .athar-product-card__title,
body.athar-pdp-page--obsidian .athar-product-card__price-row {
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-fixed-buy {
  background: rgba(14, 17, 23, 0.96);
  border-top-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-fixed-buy__title {
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-fixed-buy__price {
  color: var(--athar-gold-light);
}

body.athar-pdp-page--obsidian .athar-fixed-buy .athar-price--compare {
  color: rgba(244, 239, 230, 0.62);
}

body.athar-pdp-page--obsidian .athar-fixed-buy .athar-btn--primary {
  background: var(--athar-bg);
  color: var(--athar-obsidian);
  border-color: var(--athar-bg);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--athar-navy);
  outline-offset: 2px;
}

.athar-dark :focus-visible,
body.athar-pdp-page--obsidian :focus-visible {
  outline-color: var(--athar-gold-light);
}

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

.athar-container {
  width: 100%;
  max-width: var(--athar-container);
  margin-inline: auto;
  padding-inline: var(--athar-gutter);
}

.athar-tabular {
  font-variant-numeric: tabular-nums;
}

.athar-serif {
  font-family: var(--athar-font-serif);
}

/* ---------- Subtle Scroll Reading Hairline ---------- */
.athar-scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}

.athar-scroll-progress__bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--athar-gold), var(--athar-gold-light));
  transform-origin: inline-start;
  transform: scaleX(var(--athar-scroll-p, 0));
  transition: transform 80ms linear;
}

/* ---------- Progressive Scroll-Reveal & Hero Choreography (Fail-Safe) ---------- */
html.athar-motion-ready [data-athar-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--athar-dist-reveal), 0);
  transition:
    opacity var(--athar-dur-editorial) var(--athar-ease),
    transform var(--athar-dur-editorial) var(--athar-ease);
  transition-delay: var(--athar-delay, 0ms);
}

html.athar-motion-ready [data-athar-reveal="curtain"] {
  opacity: 1;
  transform: scale(1.03);
  clip-path: inset(0 0 10% 0);
  transition:
    clip-path var(--athar-dur-curtain) var(--athar-ease-archival),
    transform var(--athar-dur-curtain) var(--athar-ease-archival);
  transition-delay: var(--athar-delay, 0ms);
}

html.athar-motion-ready [data-athar-reveal="rule"] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--athar-dur-editorial) var(--athar-ease-archival);
  transition-delay: var(--athar-delay, 0ms);
}

html[dir="ltr"].athar-motion-ready [data-athar-reveal="rule"] {
  transform-origin: left center;
}

html.athar-motion-ready [data-athar-reveal="line"] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity var(--athar-dur-editorial) var(--athar-ease),
    transform var(--athar-dur-editorial) var(--athar-ease);
  transition-delay: var(--athar-delay, 0ms);
}

html.athar-motion-ready [data-athar-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0);
}

/* ---------- Animated Link Underline ---------- */
.athar-link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.2rem;
}

.athar-link-underline::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--athar-dur-ui) var(--athar-ease);
}

html[dir="ltr"] .athar-link-underline::after {
  transform-origin: left center;
}

.athar-link-underline:hover::after,
.athar-link-underline:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Buttons & Tactile Microinteractions ---------- */
.athar-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  max-width: 100%;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--athar-radius);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease),
    border-color var(--athar-dur-micro) var(--athar-ease),
    transform var(--athar-dur-micro) var(--athar-ease);
}

.athar-btn:active:not(:disabled) {
  transform: scale(var(--athar-scale-press));
}

.athar-btn--primary {
  background-color: var(--athar-navy);
  color: var(--athar-on-navy);
  border-color: var(--athar-navy);
}

.athar-btn--primary:hover:not(:disabled) {
  background-color: var(--athar-navy-hover);
  border-color: var(--athar-navy-hover);
}

.athar-btn--obsidian {
  background-color: var(--athar-obsidian);
  color: var(--athar-on-obsidian);
  border-color: var(--athar-obsidian);
}

.athar-btn--obsidian:hover:not(:disabled) {
  background-color: #1E2430;
  border-color: #1E2430;
}

.athar-btn--ivory {
  background-color: var(--athar-bg);
  color: var(--athar-obsidian);
  border-color: var(--athar-bg);
}

.athar-btn--ivory:hover:not(:disabled) {
  background-color: var(--athar-parchment);
  border-color: var(--athar-parchment);
}

.athar-btn--outline {
  background-color: transparent;
  color: var(--athar-navy);
  border-color: var(--athar-border-strong);
}

.athar-btn--outline:hover:not(:disabled) {
  border-color: var(--athar-navy);
  background-color: rgba(19, 41, 75, 0.05);
}

.athar-btn--outline-light {
  background-color: transparent;
  color: var(--athar-on-obsidian);
  border-color: var(--athar-border-dark);
}

.athar-btn--outline-light:hover:not(:disabled) {
  border-color: var(--athar-gold-light);
  color: var(--athar-gold-light);
}

.athar-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- Announcement Bar ---------- */
.athar-announcement {
  background-color: var(--athar-obsidian);
  color: var(--athar-on-obsidian);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  padding: 0.45rem var(--athar-gutter);
  border-bottom: 1px solid rgba(212, 181, 130, 0.22);
}

/* ---------- Header (Strict 3-Zone Top Bar Contract + Scroll Elevation) ---------- */
.athar-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--athar-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--athar-border);
  color: var(--athar-header-text);
  transition:
    box-shadow var(--athar-dur-ui) var(--athar-ease),
    background-color var(--athar-dur-ui) var(--athar-ease),
    border-color var(--athar-dur-ui) var(--athar-ease);
}

.athar-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(14, 17, 23, 0.08);
  border-bottom-color: var(--athar-border-strong);
}

.athar-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

@media (min-width: 900px) {
  .athar-header__inner {
    gap: 2rem;
    min-height: 74px;
  }
}

.athar-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  transition: opacity var(--athar-dur-micro) var(--athar-ease);
}

.athar-header__brand:hover {
  opacity: 0.82;
}

.athar-header__logo-img {
  height: clamp(42px, 5vw, 50px);
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.athar-header__wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}

.athar-header__nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .athar-header__nav {
    display: flex;
  }
}

.athar-header__nav-item {
  position: relative;
}

.athar-header__link {
  position: relative;
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--athar-text);
  white-space: nowrap;
  padding-block: 0.35rem;
  transition: color var(--athar-dur-micro) var(--athar-ease);
}

.athar-header__link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--athar-dur-ui) var(--athar-ease);
}

html[dir="ltr"] .athar-header__link::after {
  transform-origin: left center;
}

.athar-header__link:hover,
.athar-header__link[aria-current="page"] {
  color: var(--athar-navy);
}

.athar-header__link:hover::after,
.athar-header__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.athar-header__dropdown {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 196px;
  padding: 0.5rem 0;
  background: var(--athar-surface);
  border: 1px solid var(--athar-border-strong);
  box-shadow: 0 14px 32px rgba(14, 17, 23, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  display: flex;
  flex-direction: column;
  z-index: 45;
  transition:
    opacity var(--athar-dur-micro) var(--athar-ease),
    transform var(--athar-dur-micro) var(--athar-ease),
    visibility var(--athar-dur-micro) var(--athar-ease);
}

.athar-header__nav-item:hover .athar-header__dropdown,
.athar-header__nav-item:focus-within .athar-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.athar-header__dropdown a {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-header__dropdown a:hover {
  background: var(--athar-parchment);
}

.athar-header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.athar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 0.55rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--athar-radius);
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    border-color var(--athar-dur-micro) var(--athar-ease),
    transform var(--athar-dur-micro) var(--athar-ease);
}

.athar-icon-btn:hover {
  background-color: rgba(19, 41, 75, 0.06);
}

.athar-icon-btn:active {
  transform: scale(0.96);
}

.athar-icon-btn[hidden] {
  display: none !important;
}

.athar-cart-trigger {
  border-color: var(--athar-border-strong);
  background: var(--athar-surface);
  padding-inline: 0.75rem;
}

.athar-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding-inline: 0.25rem;
  background-color: var(--athar-navy);
  color: var(--athar-on-navy);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.athar-cart-count.is-pulsing {
  animation: athar-badge-pop 340ms var(--athar-ease-tactile);
}

@keyframes athar-badge-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

.athar-cart-count[hidden] {
  display: none !important;
}

.athar-menu-toggle {
  display: inline-flex;
}

@media (min-width: 900px) {
  .athar-menu-toggle {
    display: none;
  }
}

/* ---------- Bespoke Animated Mobile Drawer (Experience 06) ---------- */
.athar-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear var(--athar-dur-drawer);
}

.athar-mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.athar-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 23, 0.64);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--athar-dur-ui) var(--athar-ease);
}

.athar-mobile-drawer.is-open .athar-mobile-drawer__backdrop {
  opacity: 1;
}

.athar-mobile-drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(86vw, 350px);
  background: var(--athar-bg);
  color: var(--athar-text);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  overflow-y: auto;
  border-inline-end: 1px solid var(--athar-border-strong);
  transform: translate3d(100%, 0, 0);
  transition: transform var(--athar-dur-drawer) var(--athar-ease-archival);
}

html[dir="ltr"] .athar-mobile-drawer__panel {
  transform: translate3d(-100%, 0, 0);
}

.athar-mobile-drawer.is-open .athar-mobile-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.athar-mobile-drawer__nav {
  display: flex;
  flex-direction: column;
}

.athar-mobile-drawer__nav a {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--athar-border);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transform: translate3d(12px, 0, 0);
  transition:
    opacity var(--athar-dur-ui) var(--athar-ease),
    transform var(--athar-dur-ui) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease);
}

html[dir="ltr"] .athar-mobile-drawer__nav a {
  transform: translate3d(-12px, 0, 0);
}

.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a:nth-child(1) { transition-delay: 70ms; }
.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a:nth-child(2) { transition-delay: 115ms; }
.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a:nth-child(3) { transition-delay: 160ms; }
.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a:nth-child(4) { transition-delay: 205ms; }
.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a:nth-child(5) { transition-delay: 250ms; }
.athar-mobile-drawer.is-open .athar-mobile-drawer__nav a:nth-child(6) { transition-delay: 295ms; }

/* ---------- Experience 01 — Cinematic Homepage Hero (Tight Mobile First-Screen Composition) ---------- */
.athar-hero {
  padding-block: clamp(0.85rem, 2.8vw, 2.75rem);
  border-bottom: 1px solid var(--athar-border);
}

.athar-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.95rem, 2.8vw, 2.5rem);
  align-items: stretch;
}

.athar-hero__media-wrap {
  order: -1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--athar-border-strong);
  background-color: var(--athar-obsidian);
  overflow: hidden;
}

@media (min-width: 960px) {
  .athar-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .athar-hero__media-wrap {
    order: 0;
  }
}

.athar-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.85rem, 2.2vw, 1.5rem);
  min-width: 0;
  padding-block: 0.1rem;
}

.athar-hero__line-mask {
  overflow: hidden;
  padding-block: 0.06em;
}

.athar-kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--athar-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.athar-hero__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.8vw, 3.1rem);
  line-height: 1.18;
  font-weight: 700;
  color: var(--athar-navy);
  text-wrap: balance;
}

.athar-hero__artwork {
  max-width: min(175px, 46%);
  height: auto;
}

@media (max-width: 639px) {
  .athar-hero__artwork {
    max-width: 118px;
  }
  .athar-hero__media {
    aspect-ratio: 16 / 10;
  }
  .athar-hero__lead {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

.athar-hero__lead {
  margin: 0;
  max-width: 42ch;
  color: var(--athar-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.athar-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.6rem;
}

.athar-hero__actions .athar-btn {
  width: 100%;
  height: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
}

.athar-hero__actions .athar-btn:only-child,
.athar-hero__actions [data-athar-catalog-fallback]:not([hidden]) {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .athar-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
  }
  .athar-hero__actions .athar-btn {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    padding: 0.65rem 1.35rem;
  }
}

.athar-hero__rule {
  height: 1px;
  background: var(--athar-border-strong);
  width: 100%;
}

.athar-hero__index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.95rem;
  font-size: 0.75rem;
}

.athar-hero__index-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--athar-muted);
}

.athar-hero__index-item strong {
  color: var(--athar-navy);
  font-weight: 700;
}

.athar-hero__index-item--divided {
  border-inline-start: 1px solid var(--athar-border);
  padding-inline-start: 1rem;
}

.athar-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  flex: 1 1 auto;
  background-color: var(--athar-obsidian);
  overflow: hidden;
}

@media (min-width: 960px) {
  .athar-hero__media {
    aspect-ratio: auto;
    min-height: 490px;
  }
}

.athar-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms var(--athar-ease-archival);
}

.athar-hero__media-wrap:hover .athar-hero__media img {
  transform: scale(1.02);
}

.athar-hero__media-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 2.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(14, 17, 23, 0.9), rgba(14, 17, 23, 0.42), transparent);
  color: var(--athar-on-obsidian);
  font-size: 0.78rem;
  font-weight: 600;
}

.athar-hero__media-bar a {
  white-space: nowrap;
}

.athar-hero__media-bar a:hover {
  color: var(--athar-gold-light);
}

.athar-hero__caption {
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  min-height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--athar-obsidian-surface);
  color: rgba(244, 239, 230, 0.8);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .athar-hero__caption {
    display: flex;
  }
}

/* ---------- Experience 02 — Ivory-to-Obsidian Chapter Bridge ---------- */
.athar-chapter-bridge {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 5vw, 4rem);
  background: linear-gradient(
    180deg,
    var(--athar-bg) 0%,
    color-mix(in srgb, var(--athar-obsidian) calc(var(--athar-chapter-p, 0) * 100%), var(--athar-bg)) 52%,
    var(--athar-obsidian) 100%
  );
  border-bottom: 1px solid rgba(212, 181, 130, 0.22);
}

.athar-chapter-bridge__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .athar-chapter-bridge__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 2rem;
  }
}

.athar-chapter-bridge__track {
  position: relative;
  height: 1px;
  background: rgba(212, 181, 130, 0.22);
  overflow: hidden;
}

.athar-chapter-bridge__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--athar-navy), var(--athar-gold-light));
  transform-origin: right center;
  transform: scaleX(var(--athar-chapter-p, 0.5));
}

html[dir="ltr"] .athar-chapter-bridge__fill {
  transform-origin: left center;
}

.athar-chapter-bridge__title {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--athar-on-obsidian);
  text-align: center;
  transform: translate3d(0, calc((0.5 - var(--athar-chapter-p, 0.5)) * 18px), 0);
}

/* ---------- Experience 07 — Campaign Films Cinema & Al-Fares Spotlight ---------- */
.athar-films-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .athar-films-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.athar-film-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--athar-border-dark);
  background: var(--athar-obsidian-surface);
  transition: border-color var(--athar-dur-ui) var(--athar-ease);
}

.athar-film-card:hover {
  border-color: rgba(212, 181, 130, 0.45);
}

.athar-film-card__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #080A0E;
  overflow: hidden;
}

.athar-film-card__stage img,
.athar-film-card__stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--athar-dur-media) var(--athar-ease-archival), opacity var(--athar-dur-ui) var(--athar-ease);
}

.athar-film-card:hover .athar-film-card__stage img {
  transform: scale(1.03);
}

.athar-film-card__close {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 4;
  min-height: 38px;
  padding: 0.3rem 0.75rem;
  background: rgba(14, 17, 23, 0.88);
  border: 1px solid rgba(212, 181, 130, 0.5);
  color: var(--athar-on-obsidian);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-film-card__close:hover {
  background: var(--athar-bg);
  color: var(--athar-obsidian);
}

.athar-film-card__num {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(14, 17, 23, 0.78);
  color: var(--athar-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
}

.athar-film-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
  gap: 1rem;
}

.athar-film-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.85rem;
  font-size: 0.78rem;
}

.athar-elfares-spotlight {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--athar-border-dark);
  background: #141923;
}

@media (min-width: 960px) {
  .athar-elfares-spotlight {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.athar-elfares-spotlight__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/* ---------- Experience 03 — Archive Editorial Diptych & Interactive Plates ---------- */
.athar-archive-diptych {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .athar-archive-diptych {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.athar-archive-diptych figure {
  margin: 0;
  border: 1px solid var(--athar-border);
  background: var(--athar-surface);
  overflow: hidden;
}

.athar-archive-diptych img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--athar-dur-media) var(--athar-ease-archival);
}

.athar-archive-diptych figure:hover img {
  transform: scale(1.025);
}

/* ---------- Manifesto Lookbook Pair ---------- */
.athar-manifesto__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.athar-manifesto__pair figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 229, 0.16);
}

.athar-manifesto__pair img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--athar-dur-media) var(--athar-ease-archival);
}

.athar-manifesto__pair figure:nth-child(2) img {
  object-position: 46% 15%;
}

.athar-manifesto__pair figure:hover img {
  transform: scale(1.03);
}

/* ---------- Dual Release Split (Kalemni Araby Ivory × El-Fares Obsidian) ---------- */
.athar-chapters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .athar-chapters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.athar-chapter-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--athar-border);
  overflow: hidden;
  min-width: 0;
  transition:
    border-color var(--athar-dur-ui) var(--athar-ease),
    transform var(--athar-dur-ui) var(--athar-ease);
}

.athar-chapter-card:hover {
  transform: translateY(-2px);
}

.athar-chapter-card--ivory {
  background: var(--athar-surface);
  color: var(--athar-text);
}

.athar-chapter-card--ivory:hover {
  border-color: var(--athar-navy);
}

.athar-chapter-card--obsidian {
  background: var(--athar-obsidian);
  color: var(--athar-on-obsidian);
  border-color: rgba(212, 181, 130, 0.25);
}

.athar-chapter-card--obsidian:hover {
  border-color: rgba(212, 181, 130, 0.65);
}

.athar-chapter-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--athar-parchment);
}

.athar-chapter-card--obsidian .athar-chapter-card__media {
  background: #080A0E;
}

.athar-chapter-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--athar-dur-media) var(--athar-ease-archival),
    opacity var(--athar-dur-ui) var(--athar-ease);
}

.athar-chapter-card__media .athar-hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
}

.athar-chapter-card:hover .athar-chapter-card__media .athar-hover-img,
.athar-chapter-card.is-alt-view .athar-chapter-card__media .athar-hover-img {
  opacity: 1;
  transform: scale(1.01);
}

.athar-chapter-card:hover .athar-chapter-card__media img:first-child {
  transform: scale(var(--athar-scale-hover));
}

.athar-chapter-card__body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Touch-Friendly View Toggle on Cards (Experience 04) */
.athar-card-angle-btn {
  position: absolute;
  bottom: 0.65rem;
  inset-inline-end: 0.65rem;
  z-index: 3;
  min-height: 36px;
  padding: 0.25rem 0.65rem;
  background: rgba(14, 17, 23, 0.78);
  color: var(--athar-on-obsidian);
  border: 1px solid rgba(244, 239, 230, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-card-angle-btn:hover {
  background: var(--athar-navy);
}

/* ---------- Sections ---------- */
.athar-section {
  padding-block: clamp(2.5rem, 5.5vw, 5rem);
  border-bottom: 1px solid var(--athar-border);
}

.athar-section--parchment {
  background-color: var(--athar-parchment);
}

.athar-section--obsidian {
  background-color: var(--athar-obsidian);
  color: var(--athar-on-obsidian);
  border-bottom-color: var(--athar-border-dark);
}

.athar-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
}

.athar-section__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--athar-navy);
  text-wrap: balance;
}

.athar-section--obsidian .athar-section__title {
  color: var(--athar-on-obsidian);
}

.athar-section__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--athar-navy);
  border-bottom: 1px solid var(--athar-navy);
  padding-bottom: 0.2rem;
  white-space: nowrap;
}

/* ---------- Experience 04 — Interactive Product Cards & Responsive Grids ---------- */
.athar-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 480px) {
  .athar-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .athar-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .athar-product-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.athar-product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 78vw);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .athar-product-track {
    grid-auto-columns: minmax(260px, 31%);
  }
}

.athar-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  scroll-snap-align: start;
}

.athar-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--athar-parchment);
  border: 1px solid var(--athar-border);
  transition: border-color var(--athar-dur-ui) var(--athar-ease);
}

.athar-product-card:hover .athar-product-card__media {
  border-color: var(--athar-navy);
}

.athar-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--athar-dur-media) var(--athar-ease-archival),
    opacity var(--athar-dur-ui) var(--athar-ease);
}

.athar-product-card__media .athar-hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
}

.athar-product-card:hover .athar-product-card__media .athar-hover-img,
.athar-product-card.is-alt-view .athar-product-card__media .athar-hover-img {
  opacity: 1;
  transform: scale(1.01);
}

.athar-product-card:hover .athar-product-card__media img:first-child {
  transform: scale(var(--athar-scale-hover));
}

.athar-product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.athar-product-card__kicker {
  font-size: 0.75rem;
  color: var(--athar-muted);
}

.athar-product-card__title {
  margin: 0;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--athar-product-title);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.athar-product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--athar-navy);
  font-variant-numeric: tabular-nums;
}

.athar-price--compare {
  color: var(--athar-muted);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 0.85rem;
}

.athar-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.athar-product-card__actions .athar-btn {
  flex: 1 1 130px;
  padding-inline: 0.85rem;
  font-size: 0.8125rem;
}

/* ---------- Experience 03 — Bespoke Living Archive Editorial Folio Spread ---------- */
.athar-plate__num {
  font-size: 0.78rem;
  color: var(--athar-gold-text);
  font-weight: 700;
}

.athar-folio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
}

@media (min-width: 960px) {
  .athar-folio {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.athar-folio__ledger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--athar-bg);
  border-bottom: 1px solid var(--athar-border-strong);
  min-width: 0;
}

@media (max-width: 959px) {
  .athar-folio__stage {
    order: -1;
  }
  html.athar-js-ready .athar-folio__ledger {
    display: none;
  }
}

@media (min-width: 960px) {
  .athar-folio__ledger {
    border-bottom: 0;
    border-inline-end: 1px solid var(--athar-border-strong);
  }
}

.athar-folio__ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--athar-border);
  font-size: 0.78rem;
}

.athar-folio__ledger-kicker {
  color: var(--athar-muted);
  font-weight: 600;
}

.athar-folio__tablist {
  display: flex;
  flex-direction: column;
}

.athar-folio__tab {
  position: relative;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--athar-border);
  background: transparent;
  width: 100%;
  min-height: 68px;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: start;
  cursor: pointer;
  color: var(--athar-text);
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease);
}

.athar-folio__tab::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--athar-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--athar-dur-ui) var(--athar-ease);
}

html[dir="ltr"] .athar-folio__tab::after {
  transform-origin: left center;
}

.athar-folio__tab:hover {
  background: rgba(19, 41, 75, 0.04);
}

.athar-folio__tab.is-active,
.athar-folio__tab[aria-selected="true"] {
  background: var(--athar-surface);
}

.athar-folio__tab.is-active::after,
.athar-folio__tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.athar-folio__tab:focus-visible {
  outline: 2px solid var(--athar-navy);
  outline-offset: -3px;
}

.athar-folio__tab-num {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--athar-gold-text);
  min-width: 1.75rem;
}

.athar-folio__tab-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.athar-folio__tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--athar-navy);
  line-height: 1.35;
}

.athar-folio__tab-disc {
  font-size: 0.78rem;
  color: var(--athar-muted);
}

.athar-folio__tab-arrow {
  flex-shrink: 0;
  font-size: 0.95rem;
  color: var(--athar-gold-text);
  opacity: 0.35;
  transition:
    opacity var(--athar-dur-micro) var(--athar-ease),
    transform var(--athar-dur-micro) var(--athar-ease);
}

.athar-folio__tab.is-active .athar-folio__tab-arrow,
.athar-folio__tab[aria-selected="true"] .athar-folio__tab-arrow {
  opacity: 1;
  color: var(--athar-navy);
}

.athar-folio__ledger-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(235, 226, 210, 0.55);
  font-size: 0.78rem;
}

.athar-folio__status-line {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.athar-folio__status-line strong {
  color: var(--athar-navy);
  font-weight: 700;
}

.athar-folio__context {
  color: var(--athar-muted);
}

.athar-folio__steppers {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.athar-folio__step-btn {
  appearance: none;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
  color: var(--athar-navy);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease),
    border-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-folio__step-btn:hover {
  background: var(--athar-navy);
  border-color: var(--athar-navy);
  color: var(--athar-on-navy);
}

.athar-folio__stage {
  display: flex;
  flex-direction: column;
  background: var(--athar-surface);
  min-width: 0;
}

.athar-folio__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
  flex: 1 1 auto;
  animation: athar-panel-open 240ms var(--athar-ease);
}

@media (min-width: 640px) {
  .athar-folio__panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    align-items: center;
  }
}

.athar-folio__panel[hidden] {
  display: none;
}

/* No-JS graceful fallback: all 4 folios remain readable stacked when JS is unavailable */
html:not(.athar-js-ready) .athar-folio__panel[hidden] {
  display: grid;
  border-top: 1px solid var(--athar-border);
}

html:not(.athar-js-ready) .athar-folio__mobile-bar {
  display: none;
}

.athar-folio__art {
  margin: 0;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-parchment);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.athar-folio__art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--athar-border);
  background: var(--athar-surface);
}

.athar-folio__art-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--athar-muted);
}

.athar-folio__art-cap span:first-child {
  font-weight: 700;
  color: var(--athar-gold-text);
}

.athar-folio__reading {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.athar-folio__stamp {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--athar-gold-text);
}

.athar-folio__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--athar-navy);
  text-wrap: balance;
}

.athar-folio__rule {
  width: 3.5rem;
  height: 1.5px;
  background: var(--athar-gold);
}

.athar-folio__prose {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--athar-text);
  max-width: 48ch;
}

/* 3-Step Editorial Continuity Strip: Reference → Illustration → Real Garment */
.athar-continuity {
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid var(--athar-border);
  background: var(--athar-bg);
}

.athar-continuity__step {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.athar-continuity__step + .athar-continuity__step {
  border-inline-start: 1px solid var(--athar-border);
  padding-inline-start: 0.5rem;
}

.athar-continuity__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--athar-gold-text);
  line-height: 1.3;
}

.athar-continuity__val {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--athar-navy);
  line-height: 1.4;
}

.athar-continuity__sub {
  font-size: 0.7rem;
  color: var(--athar-muted);
  line-height: 1.35;
}

.athar-continuity__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--athar-border);
  background: var(--athar-surface);
}

.athar-continuity__thumb--cover {
  object-fit: cover;
  object-position: center 56%;
}

.athar-continuity__garment-link {
  display: block;
}

/* Mobile-Only Compact Horizontal Strip (01–04) + Prev/Next */
.athar-folio__mobile-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--athar-border-strong);
  background: var(--athar-bg);
}

@media (min-width: 960px) {
  .athar-folio__mobile-bar {
    display: none;
  }
}

.athar-folio__mobile-nums {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.athar-folio__mobile-num {
  appearance: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.5rem;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
  color: var(--athar-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease),
    border-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-folio__mobile-num.is-active,
.athar-folio__mobile-num[aria-pressed="true"] {
  background: var(--athar-navy);
  border-color: var(--athar-navy);
  color: var(--athar-on-navy);
}

.athar-folio__cta-row {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--athar-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  font-size: 0.8125rem;
}

.athar-folio__cta-note {
  color: var(--athar-muted);
}

.athar-folio__cta-link {
  font-weight: 700;
  color: var(--athar-navy);
  white-space: nowrap;
}

/* ---------- Categories ---------- */
.athar-categories-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 480px) {
  .athar-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .athar-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.athar-category-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--athar-border);
  background: var(--athar-surface);
  padding: 0.75rem;
  transition: border-color var(--athar-dur-micro) var(--athar-ease), transform var(--athar-dur-ui) var(--athar-ease);
}

.athar-category-card:hover {
  border-color: var(--athar-navy);
  transform: translateY(-2px);
}

.athar-category-card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--athar-parchment);
}

/* ---------- Breadcrumbs ---------- */
.athar-breadcrumbs {
  padding-block: 0.9rem;
  font-size: 0.8125rem;
  color: var(--athar-muted);
}

.athar-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.athar-breadcrumbs__current {
  color: var(--athar-navy);
  font-weight: 600;
}

.athar-breadcrumbs a:hover {
  color: var(--athar-navy);
  text-decoration: underline;
}

/* ---------- Experience 05 — Gallery Crossfade, Touch Swipe & Animated Lightbox ---------- */
.athar-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.athar-gallery__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--athar-parchment);
  border: 1px solid var(--athar-border);
  overflow: hidden;
  touch-action: pan-y;
}

.athar-gallery__stage[data-athar-loading="true"]::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--athar-gold-light);
  z-index: 6;
  animation: athar-loading-sweep 900ms var(--athar-ease) infinite;
}

@keyframes athar-loading-sweep {
  0% { transform: scaleX(0.15); opacity: 0.6; }
  50% { transform: scaleX(0.85); opacity: 1; }
  100% { transform: scaleX(0.15); opacity: 0.6; }
}

.athar-gallery__stage img,
.athar-gallery__stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athar-gallery__stage .athar-stage-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.athar-gallery__stage .is-entering {
  animation: athar-stage-enter 260ms var(--athar-ease);
}

@keyframes athar-stage-enter {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.athar-gallery__status {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
  color: var(--athar-text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.athar-gallery__status[hidden] {
  display: none;
}

.athar-gallery__status.is-error {
  border-color: var(--athar-danger);
  color: var(--athar-danger);
}

.athar-gallery__retry {
  appearance: none;
  min-height: 36px;
  padding: 0.25rem 0.75rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--athar-radius);
  cursor: pointer;
  flex-shrink: 0;
}

.athar-gallery__retry:hover {
  background: rgba(155, 44, 44, 0.08);
}

body.athar-pdp-page--obsidian .athar-gallery__status {
  background: var(--athar-obsidian-surface);
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-gallery__status.is-error {
  border-color: #E58C8C;
  color: #F4B4B4;
}

.athar-gallery__counter {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(14, 17, 23, 0.76);
  color: var(--athar-on-obsidian);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

[data-athar-active-plate-num],
.athar-num-ratio {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.athar-gallery__zoom-btn {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-end: 0.75rem;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--athar-border-strong);
  background: rgba(246, 240, 229, 0.92);
  color: var(--athar-navy);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--athar-dur-micro) var(--athar-ease), color var(--athar-dur-micro) var(--athar-ease);
}

.athar-gallery__zoom-btn:hover {
  background: var(--athar-navy);
  color: var(--athar-on-navy);
}

.athar-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .athar-gallery__thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.athar-gallery__thumb {
  position: relative;
  padding: 0;
  border: 1.5px solid var(--athar-border);
  background: var(--athar-parchment);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.68;
  transition:
    opacity var(--athar-dur-micro) var(--athar-ease),
    border-color var(--athar-dur-micro) var(--athar-ease),
    transform var(--athar-dur-micro) var(--athar-ease);
}

.athar-gallery__thumb[aria-selected="true"],
.athar-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--athar-navy);
}

.athar-gallery__thumb[aria-selected="true"] {
  transform: translateY(-2px);
}

.athar-gallery__thumb img,
.athar-gallery__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(14, 17, 23, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--athar-dur-ui) var(--athar-ease),
    visibility 0s linear var(--athar-dur-ui);
}

.athar-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.athar-lightbox img {
  max-height: 86vh;
  max-width: 90vw;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform var(--athar-dur-ui) var(--athar-ease);
}

.athar-lightbox.is-open img {
  transform: scale(1);
}

.athar-lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  min-width: 44px;
  min-height: 44px;
  background: var(--athar-bg);
  color: var(--athar-navy);
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

/* ---------- Product Details & Smooth Accordions ---------- */
.athar-pdp-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.athar-pdp-details--obsidian {
  padding: 1.5rem;
  background: var(--athar-obsidian-surface);
  color: var(--athar-on-obsidian);
  border: 1px solid rgba(212, 181, 130, 0.28);
}

.athar-pdp-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--athar-product-title);
  line-height: 1.3;
}

.athar-pdp-details--obsidian .athar-pdp-title {
  color: var(--athar-on-obsidian);
}

.athar-pdp-price-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.athar-pdp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--athar-navy);
  font-variant-numeric: tabular-nums;
}

.athar-pdp-details--obsidian .athar-pdp-price {
  color: var(--athar-gold-light);
}

.athar-size-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--athar-border-strong);
  border-radius: var(--athar-radius);
  background: var(--athar-surface);
  color: var(--athar-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease),
    border-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-size-trigger:hover {
  background: var(--athar-navy);
  border-color: var(--athar-navy);
  color: var(--athar-on-navy);
}

.athar-pdp-details--obsidian .athar-size-trigger {
  background: transparent;
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

.athar-pdp-details--obsidian .athar-size-trigger:hover {
  border-color: var(--athar-gold-light);
  color: var(--athar-gold-light);
}

/* Structured Bilingual Garment Dossier */
.athar-spec-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.athar-spec-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--athar-border);
  font-size: 0.875rem;
}

.athar-spec-dl__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.athar-spec-dl dt {
  font-weight: 700;
  color: var(--athar-navy);
}

.athar-spec-dl dd {
  margin: 0;
  color: var(--athar-text);
  line-height: 1.6;
}

.athar-pdp-details--obsidian .athar-spec-dl__row {
  border-bottom-color: var(--athar-border-dark);
}

.athar-pdp-details--obsidian .athar-spec-dl dt {
  color: var(--athar-gold-light);
}

.athar-pdp-details--obsidian .athar-spec-dl dd {
  color: rgba(244, 239, 230, 0.88);
}

/* Accessible Size Guide Modal */
.athar-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--athar-dur-ui) var(--athar-ease),
    visibility 0s linear var(--athar-dur-ui);
}

.athar-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.athar-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 23, 0.72);
  backdrop-filter: blur(4px);
}

.athar-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--athar-surface);
  color: var(--athar-text);
  border: 1px solid var(--athar-border-strong);
  box-shadow: 0 24px 60px rgba(14, 17, 23, 0.35);
  transform: translateY(10px);
  transition: transform var(--athar-dur-ui) var(--athar-ease);
}

.athar-modal.is-open .athar-modal__dialog {
  transform: translateY(0);
}

.athar-modal--obsidian .athar-modal__dialog {
  background: var(--athar-obsidian-surface);
  color: var(--athar-on-obsidian);
  border-color: rgba(212, 181, 130, 0.35);
}

.athar-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--athar-border);
}

.athar-modal--obsidian .athar-modal__head {
  border-bottom-color: var(--athar-border-dark);
}

.athar-modal__title {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--athar-navy);
  line-height: 1.3;
}

.athar-modal--obsidian .athar-modal__title {
  color: var(--athar-on-obsidian);
}

.athar-modal__close {
  border: 1px solid var(--athar-border-strong);
  font-size: 1rem;
  flex-shrink: 0;
}

.athar-modal--obsidian .athar-modal__close {
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

.athar-modal__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.athar-size-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--athar-border-strong);
}

.athar-modal--obsidian .athar-size-table-wrap {
  border-color: var(--athar-border-dark);
}

.athar-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: center;
}

.athar-size-table caption {
  padding: 0.65rem 0.9rem;
  background: var(--athar-parchment);
  color: var(--athar-navy);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: start;
  border-bottom: 1px solid var(--athar-border);
}

.athar-modal--obsidian .athar-size-table caption {
  background: var(--athar-obsidian);
  color: var(--athar-gold-light);
  border-bottom-color: var(--athar-border-dark);
}

.athar-size-table th,
.athar-size-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--athar-border);
}

.athar-modal--obsidian .athar-size-table th,
.athar-modal--obsidian .athar-size-table td {
  border-bottom-color: var(--athar-border-dark);
}

.athar-size-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--athar-muted);
  background: var(--athar-bg);
}

.athar-modal--obsidian .athar-size-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 230, 0.78);
}

.athar-size-table tbody th {
  font-weight: 700;
  color: var(--athar-navy);
}

.athar-modal--obsidian .athar-size-table tbody th {
  color: var(--athar-gold-light);
}

.athar-size-table tbody tr:last-child th,
.athar-size-table tbody tr:last-child td {
  border-bottom: 0;
}

.athar-size-howto {
  padding: 0.9rem 1rem;
  border: 1px solid var(--athar-border);
  background: var(--athar-bg);
}

.athar-modal--obsidian .athar-size-howto {
  border-color: var(--athar-border-dark);
  background: rgba(255, 255, 255, 0.03);
}

.athar-size-howto h3 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--athar-navy);
}

.athar-modal--obsidian .athar-size-howto h3 {
  color: var(--athar-gold-light);
}

.athar-size-howto p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--athar-muted);
  line-height: 1.7;
}

.athar-modal--obsidian .athar-size-howto p {
  color: rgba(244, 239, 230, 0.82);
}

.athar-size-chart-fig {
  margin: 0;
  border: 1px solid var(--athar-border);
  background: var(--athar-bg);
  padding: 0.5rem;
}

.athar-size-chart-fig img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- No-JS Progressive Enhancement for Atelier, Archive, Size Guide & Dynamic Controls ---------- */
html:not(.athar-js-ready) [data-athar-size-guide-open],
html:not(.athar-js-ready) [data-athar-atelier-modes],
html:not(.athar-js-ready) [data-athar-hotspots-layer],
html:not(.athar-js-ready) [data-athar-hotspot-drawer],
html:not(.athar-js-ready) [data-athar-zoom-open],
html:not(.athar-js-ready) [data-athar-gallery-counter-wrap],
html:not(.athar-js-ready) .athar-gallery__thumbs,
html:not(.athar-js-ready) .athar-reveal-box__bar,
html:not(.athar-js-ready) .athar-folio__inspect-btn,
html:not(.athar-js-ready) .athar-folio__mobile-bar,
html:not(.athar-js-ready) .athar-folio__ledger,
html:not(.athar-js-ready) [data-athar-card-angle] {
  display: none !important;
}

html:not(.athar-js-ready) .athar-folio__stage {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

html:not(.athar-js-ready) .athar-folio__panel[hidden] {
  display: grid !important;
}

.athar-gallery-noscript {
  display: block;
  margin-top: 0.75rem;
}

.athar-gallery-noscript__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.5rem;
}

.athar-gallery-noscript__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--athar-navy);
}

.athar-gallery-noscript__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athar-size-noscript {
  display: block;
  margin-top: 0.5rem;
}

.athar-size-noscript__box {
  padding: 1rem;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.athar-pdp-details--obsidian .athar-size-noscript__box {
  background: var(--athar-obsidian-surface);
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

.athar-size-noscript__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.athar-size-noscript__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--athar-navy);
}

.athar-pdp-details--obsidian .athar-size-noscript__title {
  color: var(--athar-gold-light);
}

.athar-size-noscript__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--athar-navy);
}

.athar-pdp-details--obsidian .athar-size-noscript__link {
  color: var(--athar-gold-light);
}

.athar-size-noscript__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--athar-muted);
}

.athar-pdp-details--obsidian .athar-size-noscript__note {
  color: rgba(244, 239, 230, 0.82);
}

.athar-pdp-details--obsidian .athar-size-noscript .athar-size-table-wrap,
.athar-pdp-details--obsidian .athar-size-noscript .athar-size-table th,
.athar-pdp-details--obsidian .athar-size-noscript .athar-size-table td {
  border-color: var(--athar-border-dark);
}

.athar-pdp-details--obsidian .athar-size-noscript .athar-size-table caption {
  background: var(--athar-obsidian);
  color: var(--athar-gold-light);
  border-bottom-color: var(--athar-border-dark);
}

.athar-pdp-details--obsidian .athar-size-noscript .athar-size-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 230, 0.78);
}

.athar-pdp-details--obsidian .athar-size-noscript .athar-size-table tbody th {
  color: var(--athar-gold-light);
}

[data-athar-product-link][data-athar-link-state="loading"] {
  opacity: 0.72;
  cursor: progress;
}

[data-athar-product-link][data-athar-link-state="missing"] {
  opacity: 0.48;
  pointer-events: none;
  cursor: not-allowed;
}

.athar-btn[hidden],
[data-athar-catalog-fallback][hidden],
[data-athar-product-link][hidden] {
  display: none !important;
}

.lq-desc-accordion,
.athar-specs-list {
  margin-top: 1rem;
  border-top: 1px solid var(--athar-border);
}

.lq-desc-item,
.athar-specs-item {
  border-bottom: 1px solid var(--athar-border);
}

.lq-desc-toggle,
.athar-specs-trigger {
  width: 100%;
  min-height: 48px;
  background: transparent;
  border: 0;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
}

.athar-specs-trigger [data-athar-acc-icon] {
  display: inline-block;
  transition: transform var(--athar-dur-ui) var(--athar-ease);
}

.athar-specs-trigger[aria-expanded="true"] [data-athar-acc-icon] {
  transform: rotate(45deg);
}

.lq-desc-content,
.athar-specs-panel {
  padding-bottom: 1.1rem;
  color: var(--athar-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  animation: athar-panel-open 240ms var(--athar-ease);
}

@keyframes athar-panel-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Fixed Mobile Buy Bar (Compact <= 64px, Safe-Area & Form-Focus Aware) ---------- */
body.athar-has-fixed-buy {
  padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
}

.athar-fixed-buy {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 45;
  background: var(--athar-bg);
  border-top: 1px solid var(--athar-border-strong);
  padding: 0.55rem var(--athar-gutter) calc(0.55rem + env(safe-area-inset-bottom, 0px));
  transition: transform var(--athar-dur-ui) var(--athar-ease), opacity var(--athar-dur-ui) var(--athar-ease);
}

body.athar-input-focused .athar-fixed-buy {
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
}

.athar-fixed-buy__title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--athar-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.athar-fixed-buy__price {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--athar-navy);
  white-space: nowrap;
}

.athar-fixed-buy__price > span {
  white-space: nowrap;
}

@media (max-width: 419px) {
  .athar-fixed-buy .athar-price--compare {
    display: none;
  }
}

.athar-btn[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
  pointer-events: none;
}

.athar-fixed-buy__inner {
  max-width: var(--athar-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}

.athar-fixed-buy__product {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.athar-fixed-buy__thumb {
  width: 40px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--athar-border);
  flex-shrink: 0;
}

.athar-fixed-buy__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.athar-fixed-buy__size-btn {
  appearance: none;
  min-height: 42px;
  padding: 0 0.65rem;
  border: 1px solid var(--athar-border-strong);
  border-radius: var(--athar-radius);
  background: var(--athar-surface);
  color: var(--athar-navy);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.athar-fixed-buy__size-btn[hidden] {
  display: none !important;
}

body.athar-pdp-page--obsidian .athar-fixed-buy__size-btn {
  background: var(--athar-obsidian-surface);
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

@media (max-width: 560px) {
  .athar-fixed-buy__inner {
    gap: 0.45rem;
  }
  .athar-fixed-buy__thumb {
    display: none;
  }
  .athar-fixed-buy__controls {
    gap: 0.35rem;
  }
  .athar-fixed-buy__size-btn {
    min-height: 38px;
    padding-inline: 0.5rem;
    font-size: 0.72rem;
  }
  .athar-fixed-buy .athar-qty-stepper {
    height: 38px;
  }
  .athar-fixed-buy .athar-qty-stepper button {
    width: 26px;
  }
  .athar-fixed-buy .athar-qty-stepper span {
    min-width: 20px;
    font-size: 0.8rem;
  }
  .athar-fixed-buy .athar-btn--primary {
    min-height: 38px;
    padding-inline: 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 359px) {
  .athar-fixed-buy .athar-qty-stepper {
    display: none;
  }
}

.athar-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--athar-border-strong);
  height: 42px;
  background: var(--athar-surface);
  color: var(--athar-navy);
}

.athar-qty-stepper button {
  width: 34px;
  height: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: background-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-qty-stepper button:hover:not(:disabled) {
  background: rgba(19, 41, 75, 0.08);
}

.athar-qty-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.athar-qty-stepper span {
  min-width: 1.75rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ---------- Manifesto & Optional Poster-First Video ---------- */
.athar-manifesto {
  background-color: var(--athar-navy);
  color: var(--athar-on-navy);
  padding-block: clamp(3rem, 6.5vw, 5.5rem);
}

.athar-manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .athar-manifesto__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.athar-manifesto__graphic {
  max-width: min(320px, 85%);
  filter: brightness(0) invert(0.95);
}

.athar-video-box {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--athar-obsidian);
  border: 1px solid var(--athar-border-dark);
  overflow: hidden;
}

.athar-video-box img,
.athar-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athar-video-play {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  background: rgba(14, 17, 23, 0.88);
  color: var(--athar-on-obsidian);
  border: 1px solid rgba(212, 181, 130, 0.65);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background-color var(--athar-dur-micro) var(--athar-ease),
    color var(--athar-dur-micro) var(--athar-ease),
    transform var(--athar-dur-micro) var(--athar-ease);
}

.athar-video-play:hover {
  background: var(--athar-bg);
  color: var(--athar-obsidian);
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */
.athar-footer {
  background-color: var(--athar-bg);
  color: var(--athar-text);
  border-top: 1px solid var(--athar-border-strong);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}

.athar-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--athar-border);
}

@media (min-width: 900px) {
  .athar-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
  }
}

.athar-footer__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.athar-footer__input {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 44px;
  padding-inline: 0.85rem;
  background: var(--athar-surface);
  border: 1px solid var(--athar-border-strong);
  border-radius: var(--athar-radius);
  transition: border-color var(--athar-dur-micro) var(--athar-ease);
}

.athar-footer__input[aria-invalid="true"] {
  border-color: var(--athar-danger);
}

.athar-footer__status {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--athar-muted);
  min-height: 1.2em;
  line-height: 1.5;
}

.athar-footer__status.is-error {
  color: var(--athar-danger);
  font-weight: 600;
}

.athar-footer__status.is-sent {
  color: var(--athar-navy);
  font-weight: 600;
}

.athar-footer__bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--athar-muted);
}

/* ---------- Reviews ---------- */
.athar-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .athar-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.athar-review-card {
  padding: 1.25rem;
  background: var(--athar-surface);
  border: 1px solid var(--athar-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ---------- Order Invoice & Thanks ---------- */
.athar-order-box {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  background: var(--athar-surface);
  border: 1px solid var(--athar-border-strong);
}

.athar-invoice-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-block: 1.5rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--athar-border);
}

@media (min-width: 640px) {
  .athar-invoice-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.athar-invoice-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--athar-border);
}

.athar-invoice-item__left {
  display: flex;
  gap: 0.85rem;
  min-width: 0;
}

.athar-invoice-item__thumb {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border: 1px solid var(--athar-border);
  flex-shrink: 0;
}

.athar-invoice-totals {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-variant-numeric: tabular-nums;
}

.athar-invoice-totals__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}

.athar-invoice-totals__row--grand {
  padding-top: 0.75rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--athar-border-strong);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--athar-navy);
}

/* ---------- Reduced Motion Guarantee ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.athar-motion-ready [data-athar-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .athar-chapter-bridge__title {
    transform: none !important;
  }
}

/* ---------- Unresolved Selected-Product Anchor Safety ---------- */
a[data-athar-product-link][aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}

/* ==========================================================================
   ATHAR v3.5 — GLOBAL FLAGSHIP SIGNATURE EXPERIENCES
   I. The ATHAR Garment Atelier · II. Ink-to-Garment Reveal · III. Two Worlds
   ========================================================================== */

/* ---------- Signature Experience I: The ATHAR Garment Atelier ---------- */
.athar-atelier__modes {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--athar-border);
  padding-bottom: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.athar-atelier__modes::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .athar-atelier__modes {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

body.athar-pdp-page--obsidian .athar-atelier__modes {
  border-bottom-color: var(--athar-border-dark);
}

.athar-atelier__mode-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.45rem 0.75rem;
  min-height: 40px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  color: var(--athar-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--athar-dur-shop) var(--athar-ease-ink),
    border-color var(--athar-dur-shop) var(--athar-ease-ink),
    background-color var(--athar-dur-shop) var(--athar-ease-ink);
}

.athar-atelier__mode-btn:hover {
  color: var(--athar-navy);
}

.athar-atelier__mode-btn.is-active,
.athar-atelier__mode-btn[aria-selected="true"] {
  color: var(--athar-navy);
  border-color: var(--athar-border-strong);
  background: var(--athar-surface);
}

.athar-atelier__mode-btn.is-active::after,
.athar-atelier__mode-btn[aria-selected="true"]::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--athar-gold);
}

body.athar-pdp-page--obsidian .athar-atelier__mode-btn {
  color: rgba(244, 239, 230, 0.72);
}

body.athar-pdp-page--obsidian .athar-atelier__mode-btn:hover {
  color: var(--athar-on-obsidian);
}

body.athar-pdp-page--obsidian .athar-atelier__mode-btn.is-active,
body.athar-pdp-page--obsidian .athar-atelier__mode-btn[aria-selected="true"] {
  color: var(--athar-gold-light);
  border-color: rgba(212, 181, 130, 0.42);
  background: var(--athar-obsidian-surface);
}

.athar-gallery__stage.is-artwork-mode > img {
  object-fit: contain;
  padding: 1.25rem;
  background: var(--athar-surface);
}

body.athar-pdp-page--obsidian .athar-gallery__stage.is-artwork-mode > img {
  background: #06070A;
}

.athar-gallery__stage.is-fit-mode {
  aspect-ratio: auto;
  height: auto;
  min-height: 320px;
  overflow: visible;
}

.athar-gallery__stage.is-fit-mode > img,
.athar-gallery__stage.is-fit-mode > video {
  display: none;
}

/* Configurable Rendered-Bounds Garment Hotspots (Compact Pin + >=44px Accessible Hit Target) */
.athar-atelier__hotspots {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.athar-atelier__hotspots[hidden],
.athar-hotspot[hidden] {
  display: none !important;
}

.athar-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.athar-hotspot__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  height: 24px;
  padding: 0 0.36rem;
  border: 1px solid rgba(212, 181, 130, 0.88);
  background: rgba(14, 17, 23, 0.82);
  color: #F4EFE6;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(10, 12, 16, 0.24);
  transition: transform var(--athar-dur-shop) var(--athar-ease-ink),
    background-color var(--athar-dur-shop) var(--athar-ease-ink),
    border-color var(--athar-dur-shop) var(--athar-ease-ink),
    color var(--athar-dur-shop) var(--athar-ease-ink);
}

.athar-hotspot:hover .athar-hotspot__badge,
.athar-hotspot.is-active .athar-hotspot__badge,
.athar-hotspot[aria-expanded="true"] .athar-hotspot__badge {
  background: #F6F0E5;
  color: #13294B;
  border-color: #13294B;
  transform: scale(1.08);
}

.athar-hotspot:focus-visible {
  outline: none;
}

.athar-hotspot:focus-visible .athar-hotspot__badge {
  outline: 2px solid var(--athar-gold-light);
  outline-offset: 2px;
}

.athar-hotspot__dot {
  width: 5px;
  height: 5px;
  background: var(--athar-gold-light);
  display: inline-block;
  flex-shrink: 0;
}

.athar-hotspot.is-active .athar-hotspot__dot,
.athar-hotspot[aria-expanded="true"] .athar-hotspot__dot {
  background: #13294B;
}

/* Docked Non-Obstructive Hotspot Detail Drawer */
.athar-hotspot-drawer {
  margin-top: 0.75rem;
  border: 1px solid var(--athar-border-strong);
  background: var(--athar-surface);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

body.athar-pdp-page--obsidian .athar-hotspot-drawer {
  background: var(--athar-obsidian-surface);
  border-color: rgba(212, 181, 130, 0.4);
  color: var(--athar-on-obsidian);
}

.athar-hotspot-drawer[hidden] {
  display: none;
}

.athar-hotspot-drawer__media {
  width: 72px;
  height: 90px;
  flex-shrink: 0;
  border: 1px solid var(--athar-border);
  overflow: hidden;
  background: var(--athar-parchment);
}

.athar-hotspot-drawer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athar-hotspot-drawer__copy {
  flex: 1;
  min-width: 0;
}

.athar-hotspot-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.athar-hotspot-drawer__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--athar-navy);
}

body.athar-pdp-page--obsidian .athar-hotspot-drawer__title {
  color: var(--athar-gold-light);
}

.athar-hotspot-drawer__close {
  appearance: none;
  background: transparent;
  border: 1px solid var(--athar-border-strong);
  min-width: 34px;
  min-height: 34px;
  cursor: pointer;
  font-size: 0.8rem;
  flex-shrink: 0;
}

body.athar-pdp-page--obsidian .athar-hotspot-drawer__close {
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

.athar-hotspot-drawer__desc {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--athar-muted);
}

body.athar-pdp-page--obsidian .athar-hotspot-drawer__desc {
  color: rgba(244, 239, 230, 0.82);
}

/* Atelier Integrated Fit & Schematic Blueprint Panel (Zero Nested Mobile Scroll) */
.athar-atelier__fit-panel {
  width: 100%;
  height: auto;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--athar-surface);
  color: var(--athar-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.athar-atelier__fit-panel[hidden] {
  display: none !important;
}

body.athar-pdp-page--obsidian .athar-atelier__fit-panel {
  background: var(--athar-obsidian-surface);
  color: var(--athar-on-obsidian);
}

.athar-atelier__fit-sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--athar-navy);
}

body.athar-pdp-page--obsidian .athar-atelier__fit-sub {
  color: var(--athar-on-obsidian);
}

.athar-atelier__fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

@media (min-width: 560px) {
  .athar-atelier__fit-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.athar-fit-diagram {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--athar-border);
  background: var(--athar-bg);
  color: var(--athar-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.athar-fit-diagram svg {
  max-width: 100%;
  height: auto;
}

.athar-fit-diagram--modal {
  margin-bottom: 1rem;
}

body.athar-pdp-page--obsidian .athar-fit-diagram,
.athar-modal--obsidian .athar-fit-diagram {
  background: rgba(14, 17, 23, 0.75);
  border-color: var(--athar-border-dark);
  color: var(--athar-on-obsidian);
}

.athar-fit-diagram__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--athar-muted);
}

body.athar-pdp-page--obsidian .athar-fit-diagram__legend,
.athar-modal--obsidian .athar-fit-diagram__legend {
  color: rgba(244, 239, 230, 0.78);
}

.athar-fit-diagram__legend strong {
  color: var(--athar-gold-text);
}

body.athar-pdp-page--obsidian .athar-fit-diagram__legend strong,
.athar-modal--obsidian .athar-fit-diagram__legend strong {
  color: var(--athar-gold-light);
}

.athar-fit-diagram__disclaimer {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
  color: var(--athar-muted);
  max-width: 36ch;
}

body.athar-pdp-page--obsidian .athar-fit-diagram__disclaimer,
.athar-modal--obsidian .athar-fit-diagram__disclaimer {
  color: rgba(244, 239, 230, 0.72);
}

/* At-a-Glance PDP Verified Highlights Strip */
.athar-pdp-highlights {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
  border-block: 1px solid var(--athar-border);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--athar-muted);
}

body.athar-pdp-page--obsidian .athar-pdp-highlights {
  border-color: var(--athar-border-dark);
  color: rgba(244, 239, 230, 0.82);
}

.athar-pdp-highlights strong {
  color: var(--athar-navy);
  font-weight: 700;
}

body.athar-pdp-page--obsidian .athar-pdp-highlights strong {
  color: var(--athar-gold-light);
}

/* ---------- Signature Experience II: Ink-to-Garment Reveal & Archive Recovery ---------- */
.athar-folio__status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(155, 44, 44, 0.45);
  background: #FFF7F5;
  color: #7D1B1B;
  font-size: 0.8125rem;
  font-weight: 600;
}

.athar-folio__status-bar[hidden] {
  display: none;
}

.athar-folio__retry-btn {
  appearance: none;
  background: #7D1B1B;
  color: #FBF8F2;
  border: 1px solid #7D1B1B;
  padding: 0.35rem 0.75rem;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.athar-reveal-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.athar-reveal-box__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  border-bottom: 1px solid var(--athar-border);
  padding-bottom: 0.5rem;
}

.athar-reveal-box__btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--athar-border);
  padding: 0.4rem 0.7rem;
  min-height: 38px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--athar-muted);
  cursor: pointer;
  transition: color var(--athar-dur-shop) var(--athar-ease-ink),
    border-color var(--athar-dur-shop) var(--athar-ease-ink),
    background-color var(--athar-dur-shop) var(--athar-ease-ink);
}

.athar-reveal-box__btn:hover {
  color: var(--athar-navy);
  border-color: var(--athar-border-strong);
}

.athar-reveal-box__btn.is-active,
.athar-reveal-box__btn[aria-pressed="true"] {
  background: var(--athar-navy);
  border-color: var(--athar-navy);
  color: var(--athar-on-navy);
}

.athar-folio__art[hidden] {
  display: none;
}

.athar-folio__art {
  position: relative;
}

.athar-folio__inspect-btn {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  z-index: 4;
  appearance: none;
  background: rgba(246, 240, 229, 0.92);
  color: var(--athar-navy);
  border: 1px solid var(--athar-border-strong);
  padding: 0.35rem 0.65rem;
  min-height: 36px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.athar-folio__inspect-btn:hover {
  background: var(--athar-navy);
  color: var(--athar-on-navy);
}

.athar-placement-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}

.athar-placement-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.athar-placement-frame__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.athar-folio__art--garment img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 390px;
  object-fit: cover;
}

.athar-folio__layers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.athar-folio__layer-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--athar-gold-text);
}

.athar-folio__layer--interp {
  padding-top: 0.7rem;
  border-top: 1px dashed var(--athar-border-strong);
}

.athar-folio__interp {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--athar-navy);
}

/* ---------- Signature Experience III: Ivory-to-Obsidian Threshold & Campaign Cinema ---------- */
.athar-chapter-bridge {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--athar-bg) 0%, #1C2029 48%, var(--athar-obsidian) 100%);
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
  border-bottom: 1px solid rgba(212, 181, 130, 0.24);
}

.athar-chapter-bridge__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(176, 137, 76, 0.14), transparent 65%);
  opacity: calc(0.35 + var(--athar-chapter-p, 0) * 0.65);
  pointer-events: none;
}

.athar-chapter-bridge__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.athar-chapter-bridge__pole {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(244, 239, 230, 0.82);
}

.athar-chapter-bridge__pole--ivory {
  color: #F4EFE6;
  justify-content: flex-start;
}

.athar-chapter-bridge__pole--obsidian {
  color: var(--athar-gold-light);
  justify-content: flex-end;
}

.athar-chapter-bridge__code {
  font-weight: 700;
  color: var(--athar-gold-light);
}

.athar-chapter-bridge__center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.athar-video-status {
  position: absolute;
  inset-inline: 0.75rem;
  top: 0.75rem;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgba(14, 17, 23, 0.94);
  border: 1px solid rgba(212, 181, 130, 0.65);
  color: #F4EFE6;
  font-size: 0.78rem;
  font-weight: 600;
}

.athar-video-status[hidden] {
  display: none;
}

.athar-video-status__retry {
  appearance: none;
  background: #F6F0E5;
  color: #0E1117;
  border: 1px solid #F6F0E5;
  padding: 0.3rem 0.65rem;
  min-height: 34px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}


