@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@500;600;700&family=Tenor+Sans&display=swap");

:root {
  --bg: #0B0B0B;
  --bg-2: #111111;
  --surface: #161616;
  --gold: #C9A96E;
  --gold-lt: #E8C98A;
  --gold-tint: rgba(201, 169, 110, 0.08);
  --text: #F5F0E8;
  --text-2: #999180;
  --text-3: #555045;
  --border: rgba(201, 169, 110, 0.12);
  --divider: #1E1C18;
  --radius: 4px;
  --ink: var(--text);
  --muted: var(--text-2);
  --line: var(--border);
  --accent: var(--gold);
  --accent-2: var(--gold);
  --accent-3: #B36B5E;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 80px;
  --s8: 120px;
  --s9: 160px;
  --header-h: 72px;
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F3EEE4;
  --bg-2: #E9DFCF;
  --surface: #FFF8EA;
  --text: #18130E;
  --text-2: #6D604E;
  --text-3: #9A8A74;
  --border: rgba(91, 64, 29, 0.18);
  --divider: rgba(91, 64, 29, 0.14);
  --gold: #9A6E32;
  --gold-lt: #C59B59;
  --gold-tint: rgba(154, 110, 50, 0.10);
  --shadow: 0 26px 70px rgba(91, 64, 29, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  font-family: "Cormorant Garamond", "Noto Naskh Arabic", serif;
}

h1 {
  max-width: 880px;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.95;
}

h2 {
  max-width: 860px;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.08;
}

h3 {
  font-size: 24px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 850ms var(--ease), opacity 700ms var(--ease);
}

body.page-ready .page-loader {
  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  opacity: 0;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(11, 11, 11, 0.52);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: background 260ms ease, border-color 260ms ease;
}

:root[data-theme="light"] .site-header {
  background: rgba(243, 238, 228, 0.84);
}

:root[data-theme="light"] .site-header.is-scrolled {
  background: rgba(243, 238, 228, 0.95);
}

.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.9);
  border-color: rgba(201, 169, 110, 0.2);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 5px;
  background: #F5F0E8;
  color: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 169, 110, 0.42);
  font-family: "Tenor Sans", sans-serif;
  font-weight: 700;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-loader .brand-mark {
  width: 72px;
  height: 72px;
  padding: 9px;
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.18);
  animation: loaderMark 1.4s ease-in-out infinite;
}

.loader-line {
  position: relative;
  width: min(190px, 42vw);
  height: 1px;
  overflow: hidden;
  background: rgba(201, 169, 110, 0.18);
}

.loader-line i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: -48%;
  width: 48%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderLine 1.15s var(--ease) infinite;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
  color: var(--text);
}

.brand small {
  color: var(--text-2);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  color: var(--text-2);
  padding: 10px 12px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.pill-button,
.primary-button,
.secondary-button,
.ghost-button,
.filter-button,
.slot-button {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.icon-button {
  width: 48px;
  padding: 0;
  background: rgba(201, 169, 110, 0.04);
  color: var(--gold);
}

.pill-button,
.filter-button,
.slot-button {
  background: transparent;
  color: var(--text);
  padding: 0.72rem 1rem;
}

.primary-button,
.secondary-button,
.ghost-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0.9rem 1.18rem;
  font-weight: 700;
}

.primary-button > *,
.secondary-button > *,
.ghost-button > *,
.story-open > *,
.quick-action > * {
  position: relative;
  z-index: 1;
}

.primary-button::after,
.secondary-button::after,
.ghost-button::after,
.story-open::after {
  content: "";
  position: absolute;
  inset: auto auto -120% 50%;
  z-index: 0;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.2);
  opacity: 0;
  transform: translateX(-50%) scale(0.12);
  transition: transform 520ms var(--ease), opacity 520ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(201, 169, 110, 0.14);
}

.secondary-button {
  background: transparent;
  color: var(--text);
  border-color: rgba(201, 169, 110, 0.24);
}

.ghost-button {
  background: rgba(245, 240, 232, 0.04);
  color: var(--text);
  border-color: rgba(245, 240, 232, 0.18);
}

.icon-button:hover,
.pill-button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.filter-button:hover,
.slot-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.primary-button:hover {
  background: linear-gradient(315deg, var(--gold), var(--gold-lt));
}

.primary-button:hover::after,
.secondary-button:hover::after,
.ghost-button:hover::after,
.story-open:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  padding: calc(var(--header-h) + var(--s7)) clamp(24px, 5vw, 80px) var(--s7);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 15%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 75% 85%, #fff 0 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(11, 11, 11, 0.96)),
    linear-gradient(90deg, rgba(11, 11, 11, 0.82), rgba(11, 11, 11, 0.2) 58%, rgba(11, 11, 11, 0.72));
}

:root[data-theme="light"] .hero::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), rgba(24, 19, 14, 0.88)),
    linear-gradient(90deg, rgba(24, 19, 14, 0.78), rgba(24, 19, 14, 0.08) 58%, rgba(24, 19, 14, 0.64));
}

:root[data-theme="light"] .hero,
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .hero .hero-copy,
:root[data-theme="light"] .hero-rail span {
  color: #F5F0E8;
}

:root[data-theme="light"] .hero h1 {
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

:root[data-theme="light"] .hero .hero-copy {
  color: rgba(245, 240, 232, 0.8);
}

:root[data-theme="light"] .hero .secondary-button,
:root[data-theme="light"] .hero .ghost-button {
  color: #F5F0E8;
  border-color: rgba(245, 240, 232, 0.28);
  background: rgba(11, 11, 11, 0.14);
}

:root[data-theme="light"] .hero .primary-button {
  color: #18130E;
}

html[dir="rtl"] .hero::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(11, 11, 11, 0.96)),
    linear-gradient(270deg, rgba(11, 11, 11, 0.82), rgba(11, 11, 11, 0.2) 58%, rgba(11, 11, 11, 0.72));
}

html[dir="rtl"][data-theme="light"] .hero::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), rgba(24, 19, 14, 0.88)),
    linear-gradient(270deg, rgba(24, 19, 14, 0.78), rgba(24, 19, 14, 0.08) 58%, rgba(24, 19, 14, 0.64));
}


.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(-10%, -2%, 0) scale(1.18);
  filter: saturate(0.8) contrast(1.05);
  will-change: transform;
}

.hero-slide.is-active img {
  animation: slowZoom 4200ms ease-in-out infinite alternate;
}

.hero-slide:nth-child(2).is-active img {
  animation-name: slowPanLeft;
}

.hero-slide:nth-child(3).is-active img {
  animation-name: portraitDrift;
}

.hero-slide:nth-child(4).is-active img {
  animation-name: slowZoomOut;
}

.hero-light-sweep {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(232, 201, 138, 0.16) 44%, transparent 58%);
  transform: translateX(-120%);
  animation: lightSweep 8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  position: relative;
  margin: 0 0 var(--s2);
  color: var(--gold);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero h1,
.hero .hero-copy,
.hero-actions,
.hero-rail {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEnter 700ms var(--ease) forwards;
}

.hero .eyebrow {
  animation-delay: 400ms;
}

.hero h1 {
  animation-delay: 600ms;
}

.hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: var(--s3) 0 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  animation: goldRule 500ms var(--ease) 900ms forwards;
}

html[dir="ltr"] .hero h1::after {
  transform-origin: left;
}

.hero-copy {
  max-width: 620px;
  margin: var(--s3) 0 0;
  color: var(--text-2);
  font-size: 20px;
  line-height: 1.6;
  animation-delay: 1100ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s4);
  animation-delay: 1300ms;
}

.hero-rail {
  margin-top: var(--s6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  border: 1px solid var(--border);
  background: rgba(22, 22, 22, 0.66);
  backdrop-filter: blur(14px);
  animation-delay: 1450ms;
}

.hero-rail span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: var(--s2) var(--s3);
  color: var(--text);
  border-inline-end: 1px solid var(--border);
  font-weight: 600;
}

.hero-rail span:last-child {
  border-inline-end: 0;
}

.hero-progress {
  width: min(320px, 100%);
  height: 2px;
  margin-top: var(--s3);
  overflow: hidden;
  background: rgba(245, 240, 232, 0.18);
}

.hero-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: heroProgress 6200ms linear infinite;
}

html[dir="rtl"] .hero-progress span {
  transform-origin: right;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  width: 1px;
  height: 60px;
  background: rgba(201, 169, 110, 0.42);
}

.scroll-indicator span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}

.section,
.stats-section {
  position: relative;
  padding: clamp(76px, 8vw, 104px) clamp(24px, 5vw, 80px);
}

.section::before {
  content: "";
  display: block;
  width: 120px;
  height: 12px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  background:
    linear-gradient(var(--gold), var(--gold)) left 50% / 52px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right 50% / 52px 1px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%) center / 12px 12px no-repeat;
  opacity: 0.85;
}

.section > *,
.stats-section > * {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.intro-band,
.testimonials-section,
.booking-section {
  background: var(--bg-2);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(201, 169, 110, 0.04), transparent 45%),
    var(--bg-2);
}

.section-grid,
.faq-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
}

.section-grid > *,
.split-heading > *,
.booking-layout > *,
.booking-stack,
.booking-stack > *,
.faq-contact-inner > * {
  min-width: 0;
}

.booking-stack > * {
  width: 100%;
  max-width: 100%;
}

.faq-contact-inner > * {
  width: auto;
  max-width: 100%;
  margin-inline: 0;
}

.intro-band .section-grid::before {
  content: "";
  grid-row: 1 / span 2;
  min-height: 560px;
  display: block;
  background: linear-gradient(rgba(11, 11, 11, 0.1), rgba(11, 11, 11, 0.44)), url("../images/IMG-20260617-WA0079.jpg") center / cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: 12px 12px 0 rgba(201, 169, 110, 0.08);
}

.section-heading {
  margin-bottom: var(--s5);
}

.section-heading::after,
.section-grid h2::after,
.faq-column h2::after,
.contact-panel h2::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: var(--s3);
  background: var(--gold);
  transition: width 600ms var(--ease) 200ms;
}

.section-heading.is-visible::after,
.section-grid.is-visible h2::after,
.faq-column.is-visible h2::after,
.contact-panel.is-visible h2::after {
  width: 60px;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--s5);
  align-items: end;
}

.split-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--text-2);
}

.rich-copy p,
.contact-panel p {
  margin-top: 0;
  color: var(--text-2);
  font-size: 18px;
}

.about-points {
  display: grid;
  gap: 10px;
  margin-top: var(--s4);
}

.about-points span,
.payment-row,
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
}

.about-points span::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.about-points svg {
  display: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
}

.service-card,
.testimonial-card,
.why-card,
.portfolio-card,
.process-step,
.calendar-panel,
.booking-form,
.contact-panel,
.payment-box,
.faq-item,
.fee-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card,
.testimonial-card,
.why-card,
.process-step {
  padding: var(--s4);
}

.service-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: transparent;
  transition: transform 260ms var(--ease), background 260ms ease, box-shadow 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
  transition: width 300ms var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--gold-tint);
  box-shadow: 0 20px 40px rgba(201, 169, 110, 0.06);
}

.service-card:hover::before {
  width: 100%;
}

.service-card svg,
.why-card svg,
.contact-row svg {
  color: var(--gold);
  flex: 0 0 auto;
}

.service-card p,
.why-card p,
.testimonial-card p,
.process-step p,
.faq-item p {
  margin: var(--s2) 0 0;
  color: var(--text-2);
}

.service-card h3 {
  margin-top: var(--s3);
}

.service-card::after {
  content: "اعرف أكثر →";
  margin-top: var(--s4);
  color: var(--gold);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

html[dir="ltr"] .service-card::after {
  content: "Learn more →";
}

.stats-section {
  padding-block: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-inline: 1px solid var(--border);
}

.stat-card {
  min-height: 180px;
  padding: var(--s5) var(--s4);
  border-inline-end: 1px solid var(--border);
  background: var(--bg-2);
}

.stat-card:last-child {
  border-inline-end: 0;
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(50px, 5vw, 78px);
  font-weight: 600;
  line-height: 0.9;
}

.stat-card strong span {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
}

.stat-card > span {
  display: block;
  margin-top: var(--s2);
  color: var(--text-2);
  font-size: 13px;
}

.portfolio-stories {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s3);
}

.portfolio-story {
  grid-column: span 6;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.96fr);
  align-items: stretch;
  border: 1px solid var(--border);
  background: var(--surface);
}

.portfolio-story.is-featured {
  grid-column: span 12;
  min-height: 0;
  grid-template-columns: minmax(0, 1.36fr) minmax(340px, 0.64fr);
}

.story-cover,
.story-cover-thumbs button,
.story-thumbs button,
.story-open {
  border: 0;
  border-radius: 0;
}

.story-cover {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(460px, 42vw, 660px);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #0B0B0B;
  color: #F5F0E8;
  isolation: isolate;
}

.portfolio-story.is-featured .story-cover {
  height: clamp(560px, calc(100svh - 148px), 760px);
}

.story-cover-thumbs img,
.story-thumbs img {
  width: 100%;
  height: 100%;
  filter: brightness(0.84) contrast(1.04) saturate(0.95);
  transition: transform 620ms var(--ease), filter 620ms ease;
}

.story-cover-bg,
.story-cover-main {
  width: 100%;
  height: 100%;
  transition: opacity 260ms ease, transform 620ms var(--ease), filter 620ms ease;
}

.story-cover-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  opacity: 0;
  filter: blur(24px) brightness(0.52) saturate(0.9);
  transform: scale(1.08);
}

.story-cover-main {
  position: relative;
  z-index: 1;
  filter: brightness(0.84) contrast(1.04) saturate(0.95);
  object-fit: cover;
  object-position: center center;
}

.story-cover.is-portrait .story-cover-bg {
  opacity: 0.82;
}

.story-cover.is-portrait .story-cover-main {
  object-fit: contain;
}

.story-cover.is-loading .story-cover-main {
  opacity: 0.72;
}

.story-cover-thumbs img,
.story-thumbs img {
  object-fit: cover;
  object-position: center center;
}

.story-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.46), transparent 58%);
  pointer-events: none;
}

.story-cover span {
  position: absolute;
  inset-inline-start: var(--s3);
  bottom: var(--s3);
  z-index: 1;
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.story-cover-thumbs {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 2;
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.46);
  backdrop-filter: blur(14px);
}

.story-cover-thumbs button {
  width: 42px;
  height: 42px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(245, 240, 232, 0.18);
  background: rgba(245, 240, 232, 0.06);
  transition: transform 220ms var(--ease), border-color 220ms ease;
}

.story-cover-thumbs button.is-active {
  border-color: var(--gold-lt);
  transform: translateY(-2px);
}

.story-cover-thumbs button.is-active img {
  filter: brightness(1.08) contrast(1.04) saturate(1);
}

.story-cover:hover .story-cover-main,
.story-cover-thumbs button:hover img,
.story-thumbs button:hover img {
  transform: scale(1.055);
  filter: brightness(0.68) contrast(1.08) saturate(1);
}

.story-cover.is-portrait:hover .story-cover-main {
  transform: scale(1.025);
}

.story-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: var(--s4);
}

.story-body > small {
  color: var(--gold);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-body h3 {
  margin-top: var(--s2);
  font-size: clamp(28px, 3vw, 48px);
}

.story-body p {
  margin: var(--s3) 0 0;
  color: var(--text-2);
}

.story-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s3);
}

.story-proof span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: "Tenor Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: var(--s4);
}

.story-thumbs button {
  position: relative;
  height: 96px;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  background: var(--bg-2);
  transition: border-color 220ms ease, transform 220ms var(--ease);
}

.story-thumbs button.is-active {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.story-thumbs button.is-active img {
  filter: brightness(1) contrast(1.04) saturate(1);
}

.story-open {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--s3);
  padding: 0.72rem 1rem;
  border: 1px solid var(--gold);
  background: var(--gold-tint);
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.story-open:hover {
  transform: translateY(-2px);
  background: rgba(201, 169, 110, 0.16);
}

.category-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s2);
  margin-bottom: var(--s4);
}

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: #F5F0E8;
  text-align: inherit;
  isolation: isolate;
  transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.category-card:nth-child(1) {
  grid-column: span 2;
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.04) saturate(0.95);
  transition: transform 520ms var(--ease), filter 520ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.82), rgba(11, 11, 11, 0.16));
}

.category-card::before {
  content: "";
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 42px;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 220ms ease, width 260ms var(--ease);
}

.category-card span {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
}

.category-card strong {
  font-family: "Cormorant Garamond", "Noto Naskh Arabic", serif;
  font-size: 28px;
  line-height: 1;
}

.category-card small {
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card:hover,
.category-card.is-active {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.category-card:hover img,
.category-card.is-active img {
  transform: scale(1.05);
  filter: brightness(0.54) contrast(1.08) saturate(1);
}

.category-card.is-active::before {
  width: 70px;
  opacity: 1;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--s4);
}

.filter-button {
  position: relative;
  overflow: hidden;
}

.filter-button::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 240ms var(--ease);
}

.filter-button.is-active,
.slot-button.is-active {
  color: var(--gold-lt);
  border-color: var(--gold);
  background: var(--gold-tint);
}

.filter-button.is-active::after {
  transform: scaleX(1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--s3);
}

.portfolio-card {
  grid-column: span 3;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  color: var(--text);
  text-align: inherit;
  cursor: pointer;
  background: var(--surface);
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(8n) {
  grid-column: span 6;
  min-height: 520px;
}

.portfolio-card:nth-child(5n) {
  grid-column: span 4;
  min-height: 460px;
}

.portfolio-card:nth-child(7n) {
  grid-column: span 5;
  min-height: 500px;
}

.portfolio-card:nth-child(11n) {
  grid-column: span 7;
  min-height: 540px;
}

.portfolio-card::before,
.portfolio-card::after {
  content: "";
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  background: var(--gold);
}

.portfolio-card::before {
  width: 42px;
  height: 2px;
}

.portfolio-card::after {
  width: 2px;
  height: 42px;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.04) saturate(0.96);
  transition: transform 520ms var(--ease), filter 520ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.62);
}

.portfolio-caption {
  position: absolute;
  inset: auto 0 0;
  display: block;
  padding: var(--s4);
  background: linear-gradient(to top, rgba(11, 11, 11, 0.92), transparent);
  transform: translateY(100%);
  transition: transform 360ms var(--ease);
}

.portfolio-card:hover .portfolio-caption {
  transform: translateY(0);
}

.portfolio-caption strong,
.portfolio-caption small {
  display: block;
}

.portfolio-caption small {
  margin-top: 6px;
  color: var(--gold);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s3);
}

.process-step {
  position: relative;
  min-height: 230px;
  background: transparent;
}

.process-step b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s3);
  color: var(--bg);
  background: var(--gold);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.why-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.why-card {
  background: transparent;
}

.testimonial-grid {
  display: flex;
  overflow: hidden;
  gap: var(--s3);
}

.testimonial-card {
  min-width: min(420px, 86vw);
  position: relative;
  background: transparent;
  animation: testimonialDrift 24s linear infinite;
}

.testimonial-grid:hover .testimonial-card {
  animation-play-state: paused;
}

.testimonial-card::before {
  content: "“";
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 80px;
  line-height: 0.7;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 20px;
}

.testimonial-card cite {
  display: block;
  margin-top: var(--s3);
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.booking-section {
  background: var(--bg-2);
}

.fee-panel {
  width: min(100%, 340px);
  padding: var(--s3);
  background: var(--gold-tint);
}

.fee-panel span,
.fee-panel small {
  display: block;
  color: var(--text-2);
}

.fee-panel strong {
  display: block;
  margin: 4px 0;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 760px;
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.booking-media {
  min-height: 100%;
  background:
    linear-gradient(to bottom, rgba(11, 11, 11, 0.18), rgba(11, 11, 11, 0.78)),
    url("../images/IMG-20260617-WA0101.jpg") center / cover no-repeat;
}

.booking-stack {
  display: grid;
  gap: 0;
  background: var(--bg-2);
}

.booking-form,
.calendar-panel,
.contact-panel {
  padding: var(--s4);
  background: var(--bg-2);
}

.booking-form {
  border: 0;
  border-bottom: 1px solid var(--border);
}

.calendar-panel {
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
}

label {
  display: grid;
  gap: 6px;
  color: var(--text-2);
  font-size: 13px;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0f0f0f;
  color: var(--text);
  padding: 0.78rem 0.88rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea,
:root[data-theme="light"] .calendar-day {
  background: #FFFDF6;
}

:root[data-theme="light"] .booking-form,
:root[data-theme="light"] .calendar-panel,
:root[data-theme="light"] .contact-panel,
:root[data-theme="light"] .booking-stack,
:root[data-theme="light"] .booking-layout,
:root[data-theme="light"] .payment-box,
:root[data-theme="light"] .fee-panel {
  background: var(--surface);
}

:root[data-theme="light"] .stats-section,
:root[data-theme="light"] .stat-card {
  background: #EFE5D4;
}

:root[data-theme="light"] .lightbox {
  background: rgba(24, 19, 14, 0.9);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.payment-box {
  margin-top: var(--s3);
  padding: var(--s3);
  background: rgba(201, 169, 110, 0.04);
}

.payment-box h3 {
  margin-bottom: var(--s2);
}

.payment-row {
  justify-content: space-between;
  gap: var(--s2);
}

.payment-row span {
  color: var(--text-2);
}

.form-status {
  min-height: 30px;
  margin: var(--s3) 0;
  color: var(--gold-lt);
}

.form-status.is-success {
  color: var(--gold);
}

.submit-button {
  width: 100%;
  min-height: 56px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday-row {
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 12px;
  text-align: center;
}

.calendar-day {
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0f0f0f;
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.calendar-day.is-empty {
  visibility: hidden;
}

.calendar-day.is-disabled {
  color: var(--text-3);
  background: rgba(245, 240, 232, 0.02);
  cursor: not-allowed;
}

.calendar-day.is-today {
  border-color: var(--gold);
}

.calendar-day.is-selected {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.slot-panel {
  margin-top: var(--s3);
}

.slot-title {
  margin: 0 0 var(--s2);
  color: var(--text-2);
  font-weight: 700;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-grid p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-2);
}

.faq-contact-inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
}

.faq-contact {
  padding-block: var(--s5) var(--s4);
}

.faq-contact::before {
  margin-bottom: var(--s4);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: var(--s4);
}

.faq-contact .reveal {
  opacity: 1;
  transform: none;
}

.faq-item {
  padding: var(--s3);
  background: transparent;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: var(--s4) 0 var(--s3);
}

.contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: rgba(201, 169, 110, 0.04);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.contact-row svg {
  width: 22px;
  height: 22px;
  justify-self: center;
}

.contact-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-row small {
  color: var(--text-2);
  font-family: "Tenor Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--text);
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.contact-row:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold-tint);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--s3) 0;
}

.contact-panel .social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-link {
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 10px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(201, 169, 110, 0.04);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.social-link span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius);
  font-family: "Tenor Sans", sans-serif;
  font-size: 10px;
}

.social-link strong {
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
}

.social-link em {
  min-width: 0;
  color: var(--text-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold-tint);
}

.quick-actions {
  position: fixed;
  inset-block-start: 50%;
  inset-inline-end: clamp(14px, 2vw, 28px);
  z-index: 70;
  display: grid;
  gap: 10px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.quick-actions.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.quick-action {
  position: relative;
  isolation: isolate;
  width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow: hidden;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.58);
  color: #F5F0E8;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: width 300ms var(--ease), transform 240ms var(--ease), background 240ms ease, border-color 240ms ease;
}

:root[data-theme="light"] .quick-action {
  background: rgba(255, 248, 234, 0.82);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(91, 64, 29, 0.14);
}

.quick-action::before,
.quick-action::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}

.quick-action::before {
  border: 1px solid rgba(201, 169, 110, 0.28);
  opacity: 0;
  transform: scale(0.78);
  animation: quickPulse 2.8s ease-out infinite;
}

.quick-action:nth-child(2)::before {
  animation-delay: 0.45s;
}

.quick-action:nth-child(3)::before {
  animation-delay: 0.9s;
}

.quick-action::after {
  inset: auto auto -110% 50%;
  width: 140%;
  aspect-ratio: 1;
  background: rgba(201, 169, 110, 0.2);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0.1);
  transition: opacity 520ms ease, transform 520ms var(--ease);
}

.quick-action svg {
  flex: 0 0 auto;
  color: var(--gold-lt);
}

.quick-action span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  color: inherit;
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(4px);
  transition: max-width 280ms var(--ease), opacity 180ms ease, transform 280ms var(--ease);
}

html[dir="rtl"] .quick-action span {
  transform: translateX(-4px);
}

.quick-action:hover,
.quick-action:focus-visible {
  width: 156px;
  border-color: var(--gold);
  background: rgba(22, 22, 22, 0.88);
  transform: translateY(-2px);
}

:root[data-theme="light"] .quick-action:hover,
:root[data-theme="light"] .quick-action:focus-visible {
  background: rgba(255, 248, 234, 0.96);
}

.quick-action:hover::after,
.quick-action:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.quick-action:hover span,
.quick-action:focus-visible span {
  max-width: 86px;
  opacity: 1;
  transform: translateX(0);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: var(--s4) clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--text-3);
}

.footer-brand {
  min-width: 0;
  max-width: 360px;
}

.footer-logo {
  width: min(230px, 100%);
  height: auto;
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #F5F0E8;
}

:root[data-theme="light"] .footer-logo {
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-links {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.footer-links a:not(.social-link),
.footer-nav a {
  color: var(--gold);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-social {
  width: min(100%, 540px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--s4);
  background: rgba(11, 11, 11, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  width: min(100%, 1080px);
  margin: 0;
  color: var(--text);
  display: grid;
  justify-items: center;
}

.lightbox > figure > img {
  width: auto;
  max-width: 100%;
  max-height: min(64vh, 620px);
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface);
}

.lightbox figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
}

.lightbox-caption {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: min(100%, 760px);
  margin-inline: auto;
  padding-inline: 52px;
}

.lightbox-caption span,
.lightbox-caption small {
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-caption strong {
  display: block;
  max-width: 100%;
  color: #F5F0E8;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  text-align: center;
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  width: min(100%, 980px);
  margin: 14px auto 0;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lightbox-thumbs button {
  flex: 0 0 72px;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(245, 240, 232, 0.06);
  opacity: 0.62;
  transition: opacity 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}

.lightbox-thumbs button:hover,
.lightbox-thumbs button.is-active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  background: #0B0B0B;
}

.lightbox-close {
  position: absolute;
  top: var(--s3);
  inset-inline-end: var(--s3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  inset-inline-start: var(--s3);
}

.lightbox-nav.next {
  inset-inline-end: var(--s3);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderMark {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.22);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(201, 169, 110, 0);
    transform: scale(1.035);
  }
}

@keyframes loaderLine {
  to {
    inset-inline-start: 100%;
  }
}

@keyframes goldRule {
  to {
    transform: scaleX(1);
  }
}

@keyframes slowZoom {
  0% {
    transform: translate3d(-10%, -2%, 0) scale(1.18);
  }
  50% {
    transform: translate3d(2%, -6%, 0) scale(1.3);
  }
  100% {
    transform: translate3d(10%, -4%, 0) scale(1.36);
  }
}

@keyframes slowPanLeft {
  0% {
    transform: translate3d(11%, -2%, 0) scale(1.18);
  }
  50% {
    transform: translate3d(-2%, -5%, 0) scale(1.31);
  }
  100% {
    transform: translate3d(-11%, -3%, 0) scale(1.36);
  }
}

@keyframes portraitDrift {
  0% {
    transform: translate3d(-5%, 7%, 0) scale(1.18);
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.28);
  }
  100% {
    transform: translate3d(6%, -9%, 0) scale(1.34);
  }
}

@keyframes slowZoomOut {
  0% {
    transform: translate3d(10%, -7%, 0) scale(1.36);
  }
  50% {
    transform: translate3d(-1%, -2%, 0) scale(1.28);
  }
  100% {
    transform: translate3d(-10%, 2%, 0) scale(1.18);
  }
}

@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes lightSweep {
  0%,
  58% {
    transform: translateX(-120%);
    opacity: 0;
  }
  68% {
    opacity: 1;
  }
  82%,
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes quickPulse {
  0% {
    opacity: 0;
    transform: scale(0.78);
  }
  22% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  20%,
  70% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 52px);
    opacity: 0;
  }
}

@keyframes testimonialDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-60%);
  }
}

html[dir="rtl"] .testimonial-card {
  animation-name: testimonialDriftRtl;
}

@keyframes testimonialDriftRtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(60%);
  }
}

@media (max-width: 1120px) {
  .service-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line,
  .why-grid,
  .portfolio-grid,
  .booking-layout,
  .section-grid,
  .faq-contact-inner {
    grid-template-columns: 1fr;
  }

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

  .category-card:nth-child(1) {
    grid-column: auto;
  }

  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(5n),
  .portfolio-card:nth-child(7n),
  .portfolio-card:nth-child(8n),
  .portfolio-card:nth-child(11n) {
    grid-column: auto;
  }

  .portfolio-stories {
    grid-template-columns: 1fr;
  }

  .portfolio-story,
  .portfolio-story.is-featured {
    grid-column: 1 / -1;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .story-cover,
  .portfolio-story.is-featured .story-cover {
    height: clamp(360px, 52vw, 520px);
    min-height: 0;
  }

  .intro-band .section-grid::before {
    min-height: 440px;
  }

  .intro-band .section-grid > div:first-child {
    display: block;
  }

  .booking-media {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    padding: 0 24px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 58;
    height: calc(100svh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: clamp(32px, 8vh, 72px) 24px 120px;
    overflow-y: auto;
    background: var(--bg);
  }

  :root[data-theme="light"] .main-nav {
    background: var(--bg);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .quick-actions {
    opacity: 0;
    pointer-events: none;
  }

  .main-nav a {
    min-height: 56px;
    display: grid;
    place-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
    font-size: 16px;
    text-align: center;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 24px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-rail,
  .split-heading,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    padding-block: var(--s4);
  }

  .hero-rail span {
    min-height: 58px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-rail span:last-child {
    border-bottom: 0;
  }

  .section,
  .stats-section {
    padding: var(--s6) 18px;
  }

  .faq-contact {
    padding-bottom: calc(var(--s7) + 84px);
  }

  .stats-section {
    padding-block: 0;
  }

  .form-grid,
  .service-grid,
  .stats-grid,
  .process-line,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 136px;
    padding: 34px 24px;
    border-bottom: 1px solid var(--border);
    border-inline-end: 0;
  }

  .stats-grid {
    border-inline: 0;
  }

  .stat-card strong {
    font-size: clamp(46px, 15vw, 68px);
  }

  .fee-panel,
  .booking-form,
  .calendar-panel,
  .contact-panel,
  .payment-box {
    width: 100%;
  }

  .payment-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 4px;
    padding-block: 12px;
  }

  .payment-row strong {
    min-width: 0;
    font-size: 15px;
    overflow-wrap: break-word;
    line-height: 1.35;
  }

  .contact-row {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }

  .contact-row strong {
    min-width: 0;
    font-size: 15px;
    overflow-wrap: break-word;
    line-height: 1.35;
  }

  .footer-links {
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-social {
    width: min(100%, 620px);
  }

  .story-cover-thumbs {
    display: flex;
  }

  .story-body .story-thumbs {
    display: none;
  }

  .story-cover span {
    bottom: 72px;
  }

  .quick-actions {
    inset-block-start: auto;
    inset-inline: 14px;
    bottom: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(11, 11, 11, 0.72);
    backdrop-filter: blur(20px);
    transform: none;
    pointer-events: auto;
  }

  :root[data-theme="light"] .quick-actions {
    background: rgba(255, 248, 234, 0.88);
  }

  .quick-action,
  .quick-action:hover,
  .quick-action:focus-visible {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    transform: none;
  }

  .quick-action span,
  .quick-action:hover span,
  .quick-action:focus-visible span {
    max-width: none;
    opacity: 1;
    font-size: 10px;
    letter-spacing: 0.04em;
    transform: none;
  }
}

@media (max-width: 560px) {
  .section,
  .stats-section {
    padding-inline: 14px;
  }

  .section::before {
    margin-bottom: var(--s4);
  }

  .site-header {
    gap: 10px;
    padding: 0 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 112px;
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-button,
  .pill-button {
    min-height: 44px;
  }

  .icon-button {
    width: 44px;
  }

  .pill-button {
    min-width: 44px;
    padding-inline: 0;
  }

  .hero-actions,
  .filter-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-overview {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .slot-grid {
    grid-template-columns: 1fr;
  }

  .story-cover,
  .portfolio-story.is-featured .story-cover {
    height: 320px;
    min-height: 0;
  }

  .story-body {
    padding: var(--s3);
  }

  .story-thumbs {
    grid-template-columns: 1fr;
  }

  .story-body .story-thumbs {
    display: none;
  }

  .story-thumbs button {
    height: 120px;
  }

  .booking-form,
  .calendar-panel,
  .contact-panel {
    padding: 22px 18px;
  }

  .contact-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .contact-row svg {
    width: 20px;
    height: 20px;
  }

  .fee-panel,
  .payment-box {
    padding: 20px 18px;
  }

  .payment-box h3 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .payment-row strong,
  .contact-row strong {
    font-size: 13px;
  }

  .contact-panel .social-links {
    grid-template-columns: 1fr;
  }

  .social-link {
    width: 100%;
  }

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

  .booking-media {
    min-height: 320px;
  }

  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(5n),
  .portfolio-card:nth-child(7n),
  .portfolio-card:nth-child(8n),
  .portfolio-card:nth-child(11n) {
    min-height: 360px;
  }

  .weekday-row,
  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    font-size: 0.9rem;
  }

  .lightbox {
    padding: var(--s2);
  }

  .lightbox-nav {
    top: auto;
    bottom: var(--s3);
    transform: none;
  }
}

@media (max-width: 360px) {
  .quick-action span,
  .quick-action:hover span,
  .quick-action:focus-visible span {
    display: none;
  }
}

.main-nav a.is-active {
  color: var(--gold);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.portfolio-summary {
  max-width: 520px;
  display: grid;
  gap: var(--s3);
}

.portfolio-summary p {
  margin: 0;
  color: var(--text-2);
}

.portfolio-actions,
.showcase-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-page main {
  background: var(--bg);
}

.showcase-page .section {
  padding-block: clamp(58px, 6.6vw, 88px);
}

.showcase-page .section::before {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.showcase-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + var(--s7)) clamp(24px, 5vw, 80px) var(--s7);
  color: #F5F0E8;
  background-color: #0B0B0B;
}

.showcase-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(11, 11, 11, 0.92)),
    linear-gradient(270deg, rgba(11, 11, 11, 0.78), rgba(11, 11, 11, 0.18) 56%, rgba(11, 11, 11, 0.72));
}

.design-showcase-hero {
  background:
    linear-gradient(rgba(11, 11, 11, 0.12), rgba(11, 11, 11, 0.86)),
    url("../images/MohamedEslamDesigns/IMG-20260617-WA0202.jpg") center / cover no-repeat;
}

.giant-showcase-hero {
  min-height: 94svh;
  align-items: center;
  padding-bottom: var(--s5);
  background:
    linear-gradient(rgba(11, 11, 11, 0.1), rgba(11, 11, 11, 0.88)),
    url("../images/IMG-20260617-WA0034.jpg") center / cover no-repeat;
}

.showcase-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.showcase-inner h1,
.showcase-inner .hero-copy {
  color: #F5F0E8;
}

.showcase-inner h1 {
  max-width: 900px;
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 1.08;
}

.showcase-inner .hero-copy {
  color: rgba(245, 240, 232, 0.82);
}

.showcase-hero .secondary-button,
.showcase-hero .ghost-button {
  color: #F5F0E8;
  border-color: rgba(245, 240, 232, 0.26);
  background: rgba(11, 11, 11, 0.2);
}

.showcase-hero .primary-button {
  color: #18130E;
}

.giant-page .showcase-inner h1 {
  max-width: 620px;
  font-size: clamp(32px, 3.8vw, 58px);
}

.giant-page .hero-copy {
  max-width: 560px;
  font-size: 18px;
}

.giant-hero-copy {
  max-width: 620px;
}

.giant-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero-screens.is-compact {
  grid-template-columns: minmax(126px, 0.8fr) minmax(210px, 1fr) minmax(126px, 0.8fr);
  grid-template-rows: auto;
  align-items: center;
}

.hero-screens.is-compact .interface-shot {
  max-width: 190px;
}

.hero-screens.is-compact .interface-shot.is-primary {
  grid-row: auto;
  max-width: 282px;
}

.crumb-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--s3);
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-intro,
.app-overview-section,
.app-screens-section,
.app-promo-section {
  background: var(--bg-2);
}

.design-collections {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s3);
}

.collection-card {
  position: relative;
  min-height: 320px;
  grid-column: span 2;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: #F5F0E8;
  text-align: inherit;
  isolation: isolate;
  transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.collection-card:nth-child(1),
.collection-card:nth-child(2) {
  grid-column: span 3;
}

.collection-card.is-all {
  grid-column: 1 / -1;
  min-height: clamp(300px, 34vw, 430px);
}

.collection-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.05) saturate(0.94);
  transition: transform 520ms var(--ease), filter 520ms ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.88), rgba(11, 11, 11, 0.12));
}

.collection-card span {
  position: absolute;
  inset-inline: var(--s3);
  bottom: var(--s3);
  display: grid;
  gap: 6px;
}

.collection-card small,
.collection-card em {
  color: rgba(245, 240, 232, 0.72);
  font-style: normal;
}

.collection-card small {
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-card strong {
  font-family: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
}

.collection-card b {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(245, 240, 232, 0.08);
  color: #F5F0E8;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.collection-card b svg {
  width: 16px;
  height: 16px;
  color: var(--gold-lt);
}

.collection-card:hover,
.collection-card.is-active {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.collection-card:hover img,
.collection-card.is-active img {
  transform: scale(1.055);
  filter: brightness(0.52) contrast(1.08) saturate(1);
}

.filter-strip {
  max-width: 620px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.design-album-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin: 0 auto var(--s4);
  padding: 18px 0;
  border-block: 1px solid var(--border);
}

.design-album-bar > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.design-album-bar small {
  color: var(--gold);
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.design-album-bar strong {
  color: var(--text);
  font-family: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.1;
}

.design-album-bar p {
  max-width: 700px;
  margin: 0;
  color: var(--text-2);
}

.design-album-bar .secondary-button {
  flex: 0 0 auto;
}

.design-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--s3);
}

.design-card {
  grid-column: span 3;
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: #F5F0E8;
  text-align: inherit;
  cursor: pointer;
  transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.design-card:nth-child(1),
.design-card:nth-child(11n) {
  grid-column: span 6;
  min-height: 560px;
}

.design-card:nth-child(5n) {
  grid-column: span 4;
  min-height: 460px;
}

.design-card:nth-child(7n) {
  grid-column: span 5;
  min-height: 520px;
}

.design-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.04) saturate(0.95);
  transition: transform 560ms var(--ease), filter 560ms ease;
}

.design-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.86), transparent 62%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.design-card span {
  position: absolute;
  inset-inline: var(--s3);
  bottom: var(--s3);
  z-index: 1;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms var(--ease);
}

.design-card small {
  color: var(--gold-lt);
  font-family: "Tenor Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.design-card strong {
  color: #F5F0E8;
  font-size: 18px;
  line-height: 1.35;
}

.design-card:hover,
.design-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.design-card:hover img,
.design-card:focus-visible img {
  transform: scale(1.055);
  filter: brightness(0.62) contrast(1.08) saturate(1);
}

.design-card:hover::after,
.design-card:focus-visible::after,
.design-card:hover span,
.design-card:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.showcase-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
}

.download-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.download-card svg,
.module-card svg {
  color: var(--gold);
}

.download-card span {
  display: grid;
  gap: 4px;
}

.download-card small {
  color: var(--text-2);
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--gold-tint);
}

.app-screens,
.app-interface-stage,
.interface-gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
}

.app-interface-stage,
.interface-gallery {
  align-items: center;
}

.hero-screens {
  align-self: center;
  max-height: none;
  padding-block: 0;
  overflow: visible;
}

.app-screens img,
.interface-shot img {
  width: min(31%, 224px);
  aspect-ratio: 9 / 20;
  object-fit: cover;
  border: 1px solid rgba(245, 240, 232, 0.22);
  border-radius: 30px;
  background: #0B0B0B;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.app-interface-stage {
  display: grid;
  grid-template-columns: minmax(96px, 0.72fr) minmax(190px, 1fr) minmax(96px, 0.72fr);
  grid-template-rows: auto auto;
  gap: clamp(10px, 1.6vw, 18px);
  justify-items: center;
  align-items: center;
}

.interface-shot {
  position: relative;
  width: 100%;
  max-width: 178px;
  margin: 0;
  color: #F5F0E8;
}

.interface-shot.is-primary {
  grid-row: span 2;
  max-width: 262px;
}

.interface-shot img {
  width: 100%;
  max-height: min(560px, 69svh);
}

.interface-shot:not(.is-primary) img {
  max-height: min(390px, 43svh);
  opacity: 0.94;
}

.interface-shot figcaption {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 0.28rem 0.54rem;
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.62);
  color: #F5F0E8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  backdrop-filter: blur(12px);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: var(--surface);
}

.giant-metric-strip .app-metric strong {
  font-size: clamp(30px, 3.6vw, 48px);
}

.app-metric {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: var(--s4);
  border-inline-end: 1px solid var(--border);
}

.app-metric:last-child {
  border-inline-end: 0;
}

.app-metric strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.95;
}

.app-metric span {
  color: var(--text-2);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
}

.module-card {
  min-height: 260px;
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
}

.module-card h3 {
  margin-top: var(--s3);
}

.module-card p,
.app-cta p {
  margin: var(--s2) 0 0;
  color: var(--text-2);
}

.giant-focus-grid,
.giant-market-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.giant-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.giant-focus-shot {
  width: min(100%, 360px);
  margin: 0 auto;
  position: relative;
  color: #F5F0E8;
}

.giant-focus-shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.giant-focus-shot figcaption {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.62);
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(12px);
}

.giant-copy-card {
  padding: var(--s5);
  border: 1px solid var(--border);
  background: var(--surface);
}

.giant-copy-card svg,
.giant-contact-line svg {
  color: var(--gold);
}

.giant-copy-card h3 {
  margin-top: var(--s3);
}

.giant-copy-card p {
  color: var(--text-2);
}

.giant-copy-card ul {
  display: grid;
  gap: 10px;
  margin: var(--s3) 0 0;
  padding: 0;
  list-style: none;
}

.giant-copy-card li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text);
}

.giant-copy-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

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

.giant-market-section {
  background: var(--bg-2);
}

.giant-market-card {
  padding: var(--s5);
  border: 1px solid var(--border);
  background: var(--surface);
}

.giant-market-card figure {
  margin: 0;
}

.giant-market-card img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.giant-market-card p {
  color: var(--text-2);
}

.giant-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s3);
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--gold-tint);
  color: var(--text);
  font-weight: 700;
}

.gallery-screens {
  justify-content: flex-start;
}

.gallery-screens img {
  width: min(31%, 260px);
}

.interface-gallery,
.promo-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s3);
}

.interface-gallery .interface-shot {
  max-width: none;
}

.interface-gallery .interface-shot img {
  max-height: none;
  aspect-ratio: 9 / 19.5;
  border-color: var(--border);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

:root[data-theme="light"] .interface-gallery .interface-shot img {
  background: #FFFDF6;
}

.promo-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.promo-card:nth-child(1),
.promo-card:nth-child(6) {
  grid-column: span 2;
}

.promo-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 520ms ease;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.78), transparent 58%);
  pointer-events: none;
}

.promo-card figcaption {
  position: absolute;
  inset-inline: var(--s3);
  bottom: var(--s3);
  z-index: 1;
  color: #F5F0E8;
  font-weight: 700;
}

.promo-card:hover img {
  transform: scale(1.035);
  filter: contrast(1.04) saturate(1.03);
}

.app-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s5);
  padding: var(--s5);
  border: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 1120px) {
  .giant-hero-grid,
  .app-cta,
  .giant-focus-grid,
  .giant-market-card,
  .giant-steps-grid {
    grid-template-columns: 1fr;
  }

  .design-collections,
  .design-gallery,
  .module-grid,
  .metric-strip,
  .showcase-downloads,
  .interface-gallery,
  .promo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-card,
  .promo-card:nth-child(1),
  .promo-card:nth-child(6) {
    grid-column: auto;
  }

  .collection-card,
  .collection-card:nth-child(1),
  .collection-card:nth-child(2),
  .design-card,
  .design-card:nth-child(1),
  .design-card:nth-child(5n),
  .design-card:nth-child(7n),
  .design-card:nth-child(11n) {
    grid-column: auto;
  }

  .collection-card.is-all {
    grid-column: 1 / -1;
  }

  .design-card,
  .design-card:nth-child(1),
  .design-card:nth-child(5n),
  .design-card:nth-child(7n),
  .design-card:nth-child(11n) {
    min-height: 420px;
  }

  .metric-strip {
    border-bottom: 0;
  }

  .app-metric {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 820px) {
  .showcase-hero {
    min-height: 84svh;
    padding-inline: 24px;
  }

  .giant-showcase-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + var(--s3));
  }

  .giant-hero-grid {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
  }

  .giant-hero-copy {
    order: 2;
    max-width: none;
  }

  .app-interface-stage {
    order: 1;
  }

  .giant-page .showcase-inner h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.12;
  }

  .giant-page .hero-copy {
    font-size: 16px;
  }

  .filter-strip {
    justify-content: stretch;
  }

  .filter-strip .filter-button {
    flex: 1 1 auto;
  }

  .design-album-bar {
    align-items: stretch;
    display: grid;
    gap: var(--s3);
  }

  .app-screens img {
    width: min(32%, 190px);
    border-radius: 22px;
  }

  .app-interface-stage {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .hero-screens.is-compact {
    width: 100%;
    grid-template-columns: minmax(116px, 0.82fr) minmax(154px, 1fr) minmax(116px, 0.82fr);
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero-screens.is-compact .interface-shot {
    max-width: 150px;
  }

  .hero-screens.is-compact .interface-shot.is-primary {
    grid-row: auto;
    max-width: 196px;
  }

  .hero-screens.is-compact .interface-shot:not(.is-primary) img,
  .hero-screens.is-compact .interface-shot img {
    max-height: 440px;
  }

  .giant-focus-shot {
    max-width: 300px;
  }

  .showcase-page .quick-actions {
    display: none;
  }
}

@media (max-width: 560px) {
  .lightbox {
    padding: 14px;
  }

  .lightbox > figure > img {
    max-height: 58vh;
  }

  .lightbox-thumbs button {
    flex-basis: 58px;
  }

  .portfolio-actions,
  .showcase-actions,
  .store-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .design-collections,
  .design-gallery,
  .module-grid,
  .metric-strip,
  .showcase-downloads,
  .interface-gallery,
  .promo-gallery {
    grid-template-columns: 1fr;
  }

  .promo-card img {
    min-height: 220px;
  }

  .collection-card,
  .design-card,
  .design-card:nth-child(1),
  .design-card:nth-child(5n),
  .design-card:nth-child(7n),
  .design-card:nth-child(11n) {
    min-height: 360px;
  }

  .download-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: var(--s3);
  }

  .app-screens {
    gap: 8px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .app-screens img {
    flex: 0 0 72%;
    width: 72%;
    max-width: 260px;
    transform: none !important;
  }

  .app-interface-stage {
    grid-template-columns: repeat(5, minmax(72%, 1fr));
    gap: 10px;
  }

  .hero-screens.is-compact {
    grid-template-columns: minmax(86px, 0.8fr) minmax(118px, 1fr) minmax(86px, 0.8fr);
    gap: 8px;
  }

  .hero-screens.is-compact .interface-shot {
    max-width: 104px;
  }

  .hero-screens.is-compact .interface-shot.is-primary {
    max-width: 138px;
  }

  .hero-screens.is-compact .interface-shot img,
  .hero-screens.is-compact .interface-shot:not(.is-primary) img {
    max-height: 320px;
    border-radius: 18px;
  }

  .hero-screens.is-compact .interface-shot figcaption {
    inset-inline: 8px;
    bottom: 8px;
    min-height: 26px;
    padding: 0.2rem 0.34rem;
    font-size: 9px;
  }

  .app-cta {
    padding: var(--s3);
  }

  .giant-copy-card,
  .giant-market-card {
    padding: var(--s3);
  }
}

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

  .hero-slide.is-active img {
    animation-duration: 4200ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: alternate !important;
  }

  .hero-progress span {
    animation-duration: 6200ms !important;
    animation-iteration-count: infinite !important;
  }
}
