﻿/* ============================================
   Sahar Bakery — design tokens
   ============================================ */
:root {
  --bg: #FBF6EC;
  --bg-deep: #F1E7D6;
  --ink: #241407;
  --text-body: #6E5B49;
  --brand-orange: #F19200;
  --brand-brown: #824122;
  --white: #FFFFFF;

  --font-display: 'Vazirmatn', sans-serif;
  --font-body: 'Vazirmatn', sans-serif;

  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

@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;
  }
}

/* ============================================
   Loader
   ============================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 28% 24%, rgba(241,146,0,0.22), transparent 34%),
    radial-gradient(circle at 72% 74%, rgba(130,65,34,0.28), transparent 38%),
    linear-gradient(135deg, #241407 0%, #351909 52%, #120804 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}
#loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.8;
}
#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}
.loader-shell {
  position: relative;
  z-index: 1;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 28px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 28px 90px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.loader-mark {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.14);
  border-top-color: var(--brand-orange);
  border-right-color: rgba(241,146,0,0.55);
  animation: loader-spin 1.2s linear infinite;
}
.loader-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}
.loader-copy { text-align: center; }
.loader-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--white);
}
.loader-line {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.62);
}
#loader-bar {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.13);
  border-radius: 999px;
  overflow: hidden;
}
#loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-orange), #ffd08a, var(--brand-orange));
  border-radius: inherit;
  transition: width 0.18s ease;
}
#loader-percent {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
}
@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   Fixed glass header   ============================================ */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 200;
  width: min(520px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.nav-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 7px 10px;
  direction: ltr;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  box-shadow: 0 18px 60px rgba(36,20,7,0.16), inset 0 1px 0 rgba(255,255,255,0.52);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  pointer-events: auto;
}
.nav-account,
.nav-burger {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}
.nav-account {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  font-size: 0.78rem;
  font-weight: 800;
}
.nav-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.98rem;
  color: var(--ink);
}
.nav-logo img { width: 38px; height: 38px; border-radius: 50%; }
.nav-burger {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}
.nav-burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-links {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  direction: rtl;
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 70px rgba(36,20,7,0.18);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.site-header.nav-open .nav-links {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.nav-links a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}
.nav-links a::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 10px;
  width: 6px;
  border-radius: 999px;
  background: var(--brand-orange);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.nav-links a:hover {
  background: rgba(241,146,0,0.13);
  color: var(--brand-brown);
  transform: translateX(-3px);
}
.nav-links a:hover::before { opacity: 1; transform: scaleY(1); }
.site-header.is-solid .nav-inner {
  background: rgba(255,255,255,0.74);
  border-color: rgba(130,65,34,0.12);
  box-shadow: 0 16px 48px rgba(36,20,7,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
}
.site-header.is-solid .nav-account,
.site-header.is-solid .nav-burger {
  background: rgba(255,255,255,0.62);
  border-color: rgba(130,65,34,0.12);
}
.site-header.is-solid .nav-logo { color: var(--brand-brown); }

/* ============================================
   Hero — standalone 100vh
   ============================================ */
.hero-standalone {
  position: relative;
  height: 520vh;
  background: transparent;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-brown);
  margin-bottom: 14px;
}

/* ============================================
   Canvas + overlay + marquee (fixed layers)
   ============================================ */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.canvas-wrap.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}


/* ============================================
   Scroll container + content sections
   ============================================ */
#scroll-container {
  position: relative;
  z-index: 40;
  min-height: 100vh;
  padding: 120px 5vw 110px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.scroll-section {
  position: relative;
  left: auto;
  right: auto;
  min-height: 74vh;
  display: flex;
  align-items: center;
  transform: none;
}
.section-content .section-inner {
  width: min(1120px, 100%);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.section-content.align-right { justify-content: flex-end; }
.section-content.align-left  { justify-content: flex-start; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--ink);
}
.section-body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.9;
  color: var(--text-body);
  margin: 0;
}
.product-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-list li {
  font-size: 0.98rem;
  color: var(--ink);
  padding-right: 20px;
  position: relative;
}
.product-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}

/* Stats section */
.section-stats {
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats-grid {
  width: min(1100px, 90vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--ink);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-orange);
  margin-top: 6px;
}
.stat-label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

/* CTA — persistent final section */
.section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.section-cta .section-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--ink);
  margin: 0 0 24px;
}
.cta-contact {
  display: flex;
  gap: 28px;
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 32px;
}
.cta-contact a:hover { color: var(--brand-orange); }
.cta-button {
  position: relative;
  isolation: isolate;
  min-width: min(360px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 18px;
  overflow: hidden;
  padding: 18px 24px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(241,146,0,0.34);
  background: linear-gradient(135deg, var(--brand-orange), #b95f12 48%, var(--brand-brown));
  color: var(--white);
  box-shadow: 0 18px 42px rgba(130,65,34,0.22), inset 0 1px 0 rgba(255,255,255,0.26);
  transform: translateZ(0);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.cta-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -2;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 42%);
}
.cta-button::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  right: -35%;
  z-index: -1;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  transition: right 0.55s ease;
}
.cta-button-text {
  display: block;
  font-weight: 900;
  font-size: 1.04rem;
  line-height: 1.2;
}
.cta-button-note {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  line-height: 1.2;
}
.cta-button-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.24);
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.32s ease, background 0.32s ease;
}
.cta-button:hover {
  transform: translateY(-4px);
  border-color: rgba(255,208,138,0.72);
  box-shadow: 0 24px 58px rgba(130,65,34,0.28), inset 0 1px 0 rgba(255,255,255,0.34);
}
.cta-button:hover::after { right: 112%; }
.cta-button:hover .cta-button-icon {
  transform: translateX(-4px);
  background: rgba(255,255,255,0.28);
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  .site-header {
    top: 12px;
    width: min(430px, calc(100vw - 24px));
  }
  .nav-inner { min-height: 54px; padding: 6px 8px; }
  .nav-account,
  .nav-burger { width: 40px; height: 40px; }
  .nav-logo span { display: none; }
  .nav-logo img { width: 36px; height: 36px; }
  .nav-links { border-radius: 22px; padding: 8px; }
  .nav-links a { padding: 11px 14px; }

  .hero-standalone { height: 440vh; }
  #scroll-container { padding: 96px 6vw 80px; gap: 54px; }
  .scroll-section { min-height: auto; padding: 30px 0; }
  .section-content.align-right,
  .section-content.align-left { justify-content: center; }
  .section-content .section-inner {
    max-width: 100%;
    text-align: right;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-content.align-left .section-photo { order: 0; }
  .section-content.align-left .section-copy { order: 1; }
  .section-photo { aspect-ratio: 16 / 10; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { align-items: center; }
  .signature-grid { grid-template-columns: 1fr; }
  .motion-section { min-height: 68vh; padding: 84px 6vw; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
/* Final overrides for intro video */
.nav-account {
  padding: 0;
  direction: ltr;
  font-size: 0;
}
.nav-account img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}


/* Motion section */
.motion-section {
  position: relative;
  z-index: 35;
  min-height: 72vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 78px 6vw;
  background:
    radial-gradient(circle at 20% 20%, rgba(241,146,0,0.24), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(130,65,34,0.26), transparent 34%),
    linear-gradient(135deg, #241407 0%, #3b1e0c 48%, #120904 100%);
}
.motion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  opacity: 0.75;
  pointer-events: none;
}
.motion-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
  color: var(--white);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.motion-copy::after {
  content: "";
  display: block;
  width: min(260px, 38vw);
  height: 2px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
  transform: scaleX(0.72);
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0.72;
}
.motion-copy span {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.74);
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.motion-copy h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, #fff4df, #f19200 48%, #824122);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0 transparent;
  font-size: clamp(2.3rem, 7vw, 6.2rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 20px 58px rgba(0,0,0,0.24);
  transition: background 0.35s ease, -webkit-text-stroke 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}
.sahar-signature {
  width: min(320px, 72vw);
  margin: 18px auto 0;
  display: grid;
  place-items: center;
  color: #ffd08a;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0;
}
.sahar-signature span {
  position: relative;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.sahar-signature span::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -10px;
  width: 132%;
  height: 12px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  transform: translateX(50%) rotate(-2deg);
  opacity: 0.86;
}
.motion-copy:hover .sahar-signature span::after {
  animation: signature-pulse 1.6s ease-in-out infinite;
}
@keyframes signature-pulse {
  0%, 100% { transform: translateX(50%) rotate(-2deg) scaleX(0.96); opacity: 0.62; }
  50% { transform: translateX(50%) rotate(-2deg) scaleX(1.04); opacity: 1; }
}
.motion-copy h2:hover {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--brand-orange);
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 14px 28px rgba(241,146,0,0.2));
}
.motion-copy p {
  margin: 24px auto 0;
  max-width: 580px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.9;
}
.motion-section:hover .motion-copy {
  transform: translateY(-6px);
  filter: drop-shadow(0 18px 38px rgba(241,146,0,0.16));
}
.signature-grid {
  width: min(860px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.signature-item {
  position: relative;
  overflow: hidden;
  padding: 18px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.signature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(241,146,0,0.22), transparent 48%);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.signature-item strong,
.signature-item span {
  position: relative;
  z-index: 1;
  display: block;
}
.signature-item strong {
  color: #fff4df;
  font-size: 1rem;
  margin-bottom: 8px;
}
.signature-item span {
  color: rgba(255,255,255,0.68);
  font-size: 0.86rem;
  line-height: 1.75;
}
.signature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(241,146,0,0.5);
  background: rgba(255,255,255,0.12);
}
.signature-item:hover::before { opacity: 1; }
.motion-section:hover .motion-copy::after {
  transform: scaleX(1);
  opacity: 1;
}


/* Product category slider */
.category-showcase {
  position: relative;
  z-index: 38;
  padding: 58px 5vw 72px;
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}
.category-heading {
  width: min(1120px, 100%);
  margin: 0 auto 16px;
  text-align: right;
  direction: rtl;
  color: var(--brand-brown);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 950;
  letter-spacing: 0;
}
.category-slider {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid rgba(130,65,34,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.48);
  box-shadow: 0 24px 72px rgba(36,20,7,0.12), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
}
.category-track {
  position: relative;
  min-height: clamp(300px, 33vw, 390px);
  direction: rtl;
}
.category-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(142px, 15vw, 190px);
  height: clamp(178px, 20vw, 236px);
  overflow: hidden;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.48);
  background: linear-gradient(135deg, rgba(255,255,255,0.34), rgba(255,255,255,0.13));
  box-shadow: 0 16px 42px rgba(36,20,7,0.12), inset 0 1px 0 rgba(255,255,255,0.34);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  cursor: pointer;
  opacity: 0;
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 22px))) scale(var(--scale, 0.82));
  transition: transform 0.72s cubic-bezier(.22,1,.36,1), opacity 0.48s ease, width 0.55s ease, height 0.55s ease, border-color 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 36%, rgba(36,20,7,0.78));
  pointer-events: none;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.24);
  pointer-events: none;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transform: scale(1.05);
  filter: saturate(0.92) contrast(0.98);
  transition: transform 0.72s ease, filter 0.72s ease;
}
.category-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.86rem, 1.25vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  text-shadow: 0 8px 22px rgba(0,0,0,0.38);
}
.category-card.is-hidden {
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.category-card.is-visible { opacity: 0.68; }
.category-card.is-near { opacity: 0.86; }
.category-card.is-active {
  width: clamp(216px, 24vw, 310px);
  height: clamp(258px, 29vw, 342px);
  opacity: 1;
  border-color: rgba(241,146,0,0.48);
  box-shadow: 0 32px 88px rgba(36,20,7,0.22), 0 0 0 1px rgba(255,208,138,0.36), inset 0 1px 0 rgba(255,255,255,0.42);
}
.category-card.is-active img {
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.04);
}
.category-card.is-active span {
  color: #fff4df;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
}
.category-card.is-active::before {
  background: linear-gradient(180deg, rgba(241,146,0,0.05), rgba(36,20,7,0.82));
}
.category-card:hover img { transform: scale(1.1); }
@media (max-width: 768px) {
  .category-showcase { padding: 42px 4vw 58px; }

.category-slider { padding: 14px; }
  .category-track { min-height: 316px; }
  .category-card {
    width: 138px;
    height: 178px;
  }
  .category-card.is-active {
    width: 212px;
    height: 252px;
  }
}

/* Content media */
.section-copy { position: relative; z-index: 1; }
.section-photo {
  position: relative;
  order: 2;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(36,20,7,0.14);
  isolation: isolate;
  clip-path: inset(12% 0 12% 0 round 8px);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: clip-path 0.9s cubic-bezier(.22,1,.36,1), opacity 0.7s ease, transform 0.9s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}
.section-photo.is-revealed {
  clip-path: inset(0 0 0 0 round 8px);
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}
.section-photo.is-revealed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: translateX(120%) skewX(-12deg);
  animation: photo-sheen 1.05s ease 0.12s both;
  pointer-events: none;
}
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: inherit;
  pointer-events: none;
}
.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.75s ease, filter 0.75s ease;
}
.scroll-section:hover .section-photo {
  box-shadow: 0 28px 68px rgba(36,20,7,0.18);
}
.scroll-section:hover .section-photo img { transform: scale(1.1); filter: saturate(1.08) contrast(1.04); }
.section-content.align-left .section-photo { order: 2; }
.section-content.align-left .section-copy { order: 1; }
@keyframes photo-sheen {
  from { transform: translateX(120%) skewX(-12deg); }
  to { transform: translateX(-130%) skewX(-12deg); }
}
.scroll-section::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(241,146,0,0.18);
  border-radius: 50%;
  transform: translateY(-30px);
  opacity: 0.55;
  pointer-events: none;
}
.section-content.align-right::before { right: 8vw; }
.section-content.align-left::before { left: 8vw; }
.stat {
  padding: 28px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(241,146,0,0.12), rgba(130,65,34,0.06));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(36,20,7,0.12); }

/* Footer */
.site-footer {
  position: relative;
  z-index: 45;
  overflow: hidden;
  color: var(--white);
  padding: 82px 5vw 68px;
  background:
    radial-gradient(circle at 18% 20%, rgba(241,146,0,0.24), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(130,65,34,0.28), transparent 34%),
    linear-gradient(135deg, #241407 0%, #351909 52%, #120804 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 28px 90px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
}
.footer-brand img {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 46px rgba(0,0,0,0.22);
}
.site-footer h3 {
  margin: 0 0 22px;
  font-size: 1.18rem;
  color: var(--white);
}
.footer-info p,
.footer-links a {
  margin: 0 0 13px;
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  line-height: 1.9;
}
.footer-info span { color: #ffd08a; font-weight: 800; }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  position: relative;
  padding-right: 20px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-links a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 18px rgba(241,146,0,0.45);
}
.footer-links a:hover { color: #ffd08a; transform: translateX(-4px); }























