:root {
  --bg0: #160e08;
  --bg1: #160e08;
  --panel: #1e130a;
  --panel2: #170e07;
  --line: #3a2716;
  --line-soft: rgba(195, 154, 94, .16);
  --wood: #33200f;
  --wood-d: #201207;
  --copper: #b0793f;
  --copper-d: #7c4e22;
  --brass: #c39a5e;
  --brass-hi: #e6c48c;
  --ivory: #f2e7d3;
  --text: #e9dcc4;
  --mut: #b49a76;
  --glow-warm: rgba(255, 178, 94, .16);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-door: cubic-bezier(.77, 0, .18, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

html.locked,
body.locked {
  overflow: hidden;
}

body {
  font-family: 'Tajawal', 'Reem Kufi', system-ui, sans-serif;
  background: var(--bg0);
  color: var(--text);
  line-height: 1.7;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100svh;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--copper);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #100a05;
}

::-webkit-scrollbar-thumb {
  background: #3a2716;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copper-d);
}

:focus-visible {
  outline: 2px solid var(--brass-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.lat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.06'%3E%3Crect x='47' y='47' width='46' height='46'/%3E%3Cpath d='M70 33L87 70 70 107 53 70Z'/%3E%3Cpath d='M0 70h14M126 70h14M70 0v14M70 126v14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.skip-link {
  position: fixed;
  top: -60px;
  inset-inline-start: 16px;
  z-index: 500;
  background: var(--brass);
  color: #1c1206;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 0 0 12px 12px;
  transition: top .3s var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

.kicker {
  color: var(--brass);
  font-size: .85rem;
  letter-spacing: 3px;
  font-weight: 500;
}

.lead {
  color: var(--mut);
  line-height: 1.95;
  font-size: 1rem;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 7vw, 68px);
}

.section-head h2 {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  color: var(--ivory);
  margin: 12px 0 14px;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: .3px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s, filter .35s, background .35s, border-color .35s;
}

.btn-primary {
  background: linear-gradient(140deg, #a9713d, #6e421d);
  color: var(--ivory);
  box-shadow: 0 12px 32px rgba(169, 113, 61, .26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 40px rgba(169, 113, 61, .34);
}

.btn-ghost {
  border-color: rgba(195, 154, 94, .4);
  color: var(--ivory);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(195, 154, 94, .09);
  border-color: var(--brass);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--rd, 0s);
}

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

.spark {
  position: absolute;
  bottom: -2%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffce8a;
  opacity: 0;
  filter: blur(.3px);
  pointer-events: none;
  animation: riseSpark var(--dur, 9s) linear infinite;
  animation-delay: var(--dl, 0s);
}

@keyframes riseSpark {
  0% {
    transform: translate(0, 0) scale(.7);
    opacity: 0;
  }
  8% {
    opacity: .85;
  }
  75% {
    opacity: .4;
  }
  100% {
    transform: translate(var(--dx, 12px), -80vh) scale(1.2);
    opacity: 0;
  }
}

.door-scene {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vh, 16px);
  padding: 24px 16px;
  background:
    radial-gradient(120% 85% at 50% 30%, #f8efdc 0%, #f0e3c6 42%, #e2cfa9 78%, #d5bd93 100%);
  overscroll-behavior: none;
  transition: opacity .8s ease, filter 1.6s ease;
}

.door-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 22vmin rgba(122, 84, 34, .38);
}

.scene-deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.scene-deco .pattern {
  position: absolute;
  inset: -220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%238a6437' stroke-opacity='.13'%3E%3Crect x='50' y='50' width='60' height='60'/%3E%3Cpath d='M80 36L124 80 80 124 36 80Z'/%3E%3Cpath d='M80 0v22M80 138v22M0 80h22M138 80h22'/%3E%3Ccircle cx='80' cy='80' r='6'/%3E%3C/g%3E%3Cg fill='%23b0793f' fill-opacity='.08'%3E%3Cpath d='M80 8l7 7-7 7-7-7zM80 138l7 7-7 7-7-7zM8 80l7 7-7 7-7-7zM138 80l7 7-7 7-7-7z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: .8;
  animation: patDriftA 110s linear infinite;
}

.scene-deco .pattern.b {
  background-size: 300px 300px;
  opacity: .55;
  animation: patDriftB 170s linear infinite reverse;
}

@keyframes patDriftA {
  to { transform: translate3d(320px, 480px, 0); }
}

@keyframes patDriftB {
  to { transform: translate3d(-600px, -300px, 0); }
}

.scene-deco .mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(165vmin, 1250px);
  height: min(165vmin, 1250px);
  margin-top: calc(min(82.5vmin, 625px) * -1);
  margin-left: calc(min(82.5vmin, 625px) * -1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23a9713f'%3E%3Ccircle cx='210' cy='210' r='204' stroke-opacity='.28' stroke-dasharray='4 10'/%3E%3Ccircle cx='210' cy='210' r='168' stroke-opacity='.18'/%3E%3Cpath d='M210 62L358 210 210 358 62 210Z' stroke-opacity='.2'/%3E%3Crect x='106' y='106' width='208' height='208' stroke-opacity='.2'/%3E%3Ccircle cx='210' cy='210' r='120' stroke-opacity='.14' stroke-dasharray='2 8'/%3E%3Cpath d='M210 118l26 66 66 26-66 26-26 66-26-66-66-26 66-26z' stroke-opacity='.3' fill='%23b0793f' fill-opacity='.05'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .5;
  animation: spinSlow 150s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.scene-deco .rays {
  position: absolute;
  inset: -25%;
  background: repeating-conic-gradient(from 8deg at 50% 40%, rgba(176, 121, 61, .06) 0deg 5deg, transparent 5deg 13deg);
  -webkit-mask-image: radial-gradient(58% 52% at 50% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(58% 52% at 50% 40%, #000 20%, transparent 72%);
  opacity: .8;
  animation: raysSpin 260s linear infinite;
}

@keyframes raysSpin {
  to { transform: rotate(360deg); }
}

.scene-deco .halo {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(90vw, 720px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 214, 140, .5), transparent 70%);
  filter: blur(14px);
  animation: breathe 7s ease-in-out infinite alternate;
}

.scene-deco.knock-pulse {
  animation: decoPulse .55s var(--ease-out);
}

@keyframes decoPulse {
  45% {
    opacity: .72;
    filter: brightness(1.07);
    transform: scale(1.008);
  }
}

.door-scene.is-opening {
  filter: brightness(1.05) saturate(1.08);
}

.door-scene.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease .1s;
}

.door-scene.fast-leave {
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.rise {
  animation: riseIn .9s var(--ease-out) both;
}

.r1 { animation-delay: .15s; }
.r2 { animation-delay: .35s; }
.r3 { animation-delay: .6s; }
.r4 { animation-delay: .85s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.door-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.db-logo {
  width: clamp(66px, 13vw, 92px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(96, 64, 24, .5));
  animation: logoFloat 5.5s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  from { transform: translateY(-3px); }
  to { transform: translateY(3px); }
}

.db-name {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 6vw, 2.8rem);
  letter-spacing: 2px;
  color: #4a3010;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(255, 249, 234, .6);
}

.db-rule {
  width: min(250px, 62vw);
  height: 16px;
}

.db-rule line {
  stroke: #8a6437;
  stroke-width: 1.6;
  stroke-dasharray: 82;
  stroke-dashoffset: 82;
  animation: ruleDraw .9s var(--ease-out) .55s forwards;
}

@keyframes ruleDraw {
  to { stroke-dashoffset: 0; }
}

.db-rule path {
  fill: #8a6437;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ornPop .5s var(--ease-out) 1.05s forwards;
}

.db-rule circle {
  fill: #a9713f;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ornPop .5s var(--ease-out) 1.2s forwards;
}

@keyframes ornPop {
  from { opacity: 0; transform: scale(.3); }
  to { opacity: 1; transform: scale(1); }
}

.door-stage {
  position: relative;
  width: min(74vw, 310px);
  aspect-ratio: 31 / 43;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  animation: stageFloat 6.5s ease-in-out infinite alternate;
}

.door-stage.dragging,
.door-scene.is-opening .door-stage {
  animation: none;
}

@keyframes stageFloat {
  from { transform: translateY(-3px); }
  to { transform: translateY(4px); }
}

.arch-frame {
  position: absolute;
  inset: -17px -17px -12px;
  background: linear-gradient(180deg, #f4ead2, #e0cda6);
  border-radius: 999px 999px 16px 16px;
  box-shadow: inset 0 0 0 1px #c2a372, inset 0 0 44px rgba(150, 108, 52, .18), 0 34px 80px rgba(112, 76, 32, .32);
}

.arch-frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(122, 84, 34, .42);
  border-radius: inherit;
}

.keystone {
  position: absolute;
  top: -26px;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(135deg, #cf9450, #8a5a2a);
  box-shadow: 0 3px 8px rgba(96, 64, 24, .4);
  z-index: 3;
}

.arch-mask {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 10px 10px;
  overflow: hidden;
  display: block;
}

.interior {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(95% 70% at 50% 66%, rgba(255, 200, 122, .55), transparent 62%),
    radial-gradient(60% 42% at 50% 26%, rgba(255, 233, 192, .6), transparent 72%),
    linear-gradient(180deg, #9a6c30, #46290f);
  opacity: .5;
  transform: scale(.94);
  transition: opacity 1.9s ease, transform 1.9s var(--ease-out);
}

.lantern {
  position: absolute;
  top: 0;
  left: 50%;
  width: 34%;
  margin-left: -17%;
  opacity: .9;
  transform-origin: 50% 0;
  animation: sway 4.6s ease-in-out infinite alternate;
  transition: opacity 1.4s ease;
}

@keyframes sway {
  from { transform: rotate(-2.6deg); }
  to { transform: rotate(2.6deg); }
}

.gap-glow {
  position: absolute;
  top: 5%;
  bottom: 3%;
  left: calc(50% - 2px);
  width: 4px;
  background: linear-gradient(180deg, transparent, rgba(255, 217, 160, .85) 16%, #ffb45e 50%, rgba(255, 217, 160, .85) 84%, transparent);
  filter: blur(1.4px);
  opacity: .85;
  transition: all 1.4s var(--ease-out);
}

.floor-glow {
  position: absolute;
  bottom: -2%;
  left: 8%;
  right: 8%;
  height: 15%;
  background: radial-gradient(52% 100% at 50% 100%, rgba(255, 195, 122, .4), transparent 72%);
  filter: blur(6px);
  transition: all 1.6s ease;
}

.leaves {
  position: absolute;
  inset: 0;
  perspective: 1150px;
  display: block;
}

.leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% - 1.5px);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform .55s cubic-bezier(.34, 1.45, .5, 1);
}

.leaf.l {
  left: 0;
  transform-origin: left center;
  transform: rotateY(calc(var(--crack, 0) * 15deg));
}

.leaf.r {
  right: 0;
  transform-origin: right center;
  transform: rotateY(calc(var(--crack, 0) * -15deg));
}

.door-stage.dragging .leaf {
  transition: none;
}

.door-scene.is-opening .leaf {
  transition: transform 2.5s var(--ease-door) .12s !important;
}

.door-scene.is-opening .leaf.l {
  transform: rotateY(106deg);
}

.door-scene.is-opening .leaf.r {
  transform: rotateY(-106deg);
}

.door-scene.is-opening .interior {
  opacity: 1;
  transform: scale(1.05);
}

.door-scene.is-opening .lantern {
  opacity: .2;
}

.door-scene.is-opening .gap-glow {
  left: 50%;
  width: 46%;
  transform: translateX(-50%);
  filter: blur(26px);
  opacity: .3;
}

.door-scene.is-opening .floor-glow {
  left: -12%;
  right: -12%;
  height: 42%;
  filter: blur(22px);
}

.face {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(105deg, rgba(255, 228, 184, .38), transparent 44%, rgba(94, 58, 22, .22)),
    linear-gradient(180deg, #b98a52, #96683a 58%, #7d5430);
  box-shadow: inset 0 0 0 1px rgba(70, 42, 14, .45), inset 0 0 26px rgba(70, 42, 14, .28);
}

.leaf.l .face {
  border-radius: 165px 4px 3px 3px;
}

.leaf.r .face {
  border-radius: 4px 165px 3px 3px;
}

.face::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(198, 158, 98, .34);
  pointer-events: none;
}

.leaf.l .face::before {
  border-radius: 158px 2px 2px 2px;
}

.leaf.r .face::before {
  border-radius: 2px 158px 2px 2px;
}

.face::after {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 30%;
  left: 21%;
  right: 21%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='220' viewBox='0 0 120 220'%3E%3Cg fill='none' stroke='%233f2410' stroke-opacity='.55'%3E%3Crect x='14' y='14' width='92' height='192' rx='46'/%3E%3Crect x='22' y='22' width='76' height='176' rx='38'/%3E%3Cpath d='M60 52L88 110 60 168 32 110Z'/%3E%3Ccircle cx='60' cy='110' r='9'/%3E%3Cpath d='M60 30v18M60 172v18'/%3E%3C/g%3E%3Cg fill='%233f2410' fill-opacity='.4'%3E%3Ccircle cx='60' cy='44' r='2.4'/%3E%3Ccircle cx='60' cy='176' r='2.4'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
  opacity: .42;
  pointer-events: none;
}

.stud-zone {
  position: absolute;
  top: 17%;
  bottom: 27%;
  left: 14%;
  right: 14%;
  background-image: radial-gradient(circle, #5e3a17 1.5px, #3f2410 2.4px, transparent 3.2px);
  background-size: 24px 30px;
  opacity: .55;
}

.medal {
  position: absolute;
  top: 37%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(45deg);
  border: 1.6px solid rgba(94, 58, 22, .55);
}

.medal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(94, 58, 22, .35);
}

.medal .core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3d9a0, #a06a30 70%);
  box-shadow: 0 1px 4px rgba(70, 40, 12, .45);
}

.band {
  position: absolute;
  top: 63%;
  left: 7%;
  right: 7%;
  height: 19px;
  background: linear-gradient(180deg, #7d5430, #5e3a17);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .32), inset 0 -1px 0 rgba(50, 28, 10, .5);
}

.band::before {
  content: "";
  position: absolute;
  inset-inline: 8px;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background-image: radial-gradient(circle, #ecc98f 1.3px, transparent 2px);
  background-size: 14px 4px;
  background-repeat: repeat-x;
  background-position: center;
}

.handle {
  position: absolute;
  top: 55%;
  width: 7px;
  height: 17%;
  border-radius: 6px;
  background: linear-gradient(90deg, #a06a30, #ecc98f 45%, #7d4e22);
  box-shadow: 0 2px 5px rgba(70, 40, 12, .45);
}

.leaf.l .handle { right: 9px; }
.leaf.r .handle { left: 9px; }

.knocker {
  position: absolute;
  top: 19%;
  width: 34px;
  height: 46px;
}

.leaf.l .knocker { right: 13px; }
.leaf.r .knocker { left: 13px; }

.knocker .plate {
  display: block;
  width: 16px;
  height: 8px;
  margin-inline: auto;
  border-radius: 3px;
  background: linear-gradient(180deg, #dcb173, #7d4e22);
}

.knocker .ring {
  display: block;
  width: 25px;
  height: 25px;
  margin: 3px auto 0;
  border: 5px solid #c9975a;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(70, 40, 12, .4), inset 0 0 4px rgba(70, 40, 12, .35);
  transform-origin: 50% -6px;
}

.door-stage.knock-a .ring,
.door-stage.knock-b .ring {
  animation: knockerHit .55s var(--ease-out);
}

@keyframes knockerHit {
  0% { transform: rotate(0); }
  22% { transform: rotate(30deg); }
  50% { transform: rotate(-9deg); }
  74% { transform: rotate(12deg); }
  100% { transform: rotate(0); }
}

.door-stage.knock-a .face {
  animation: doorShake .34s ease-out;
}

.door-stage.knock-b .face {
  animation: doorShakeBig .42s ease-out;
}

@keyframes doorShake {
  0%, 100% { transform: translateX(0) scale(1); }
  30% { transform: translateX(1.6px) scale(.995); }
  60% { transform: translateX(-1.2px) scale(.997); }
}

@keyframes doorShakeBig {
  0%, 100% { transform: translateX(0) scale(1); }
  22% { transform: translateX(2.6px) scale(.992); }
  48% { transform: translateX(-2.2px) scale(.994); }
  72% { transform: translateX(1.2px) scale(.997); }
}

.burst {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px;
  border: 2px solid #b0793f;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  animation: burstOut .65s ease-out forwards;
}

@keyframes burstOut {
  from {
    opacity: .95;
    transform: scale(.35);
  }
  to {
    opacity: 0;
    transform: scale(3.4);
  }
}

.door-title {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 5.6vw, 2.3rem);
  color: #46311a;
  letter-spacing: 1px;
  text-align: center;
}

.door-hint {
  color: #8a745a;
  font-size: .93rem;
  text-align: center;
  animation: hintPulse 2.8s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.door-caption {
  min-height: 1.7em;
  font-family: 'Reem Kufi', sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.9rem);
  color: #9a6b28;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s var(--ease-out);
}

.door-caption.show {
  opacity: 1;
  transform: none;
}

.door-skip {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  inset-inline-end: 18px;
  background: none;
  border: 1px solid rgba(122, 86, 36, .45);
  color: #7a6448;
  font-size: .88rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: color .3s, border-color .3s;
}

.door-skip:hover {
  color: #46311a;
  border-color: #7a5624;
}

.site-head {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 220;
  padding-block: 10px;
  transition: background .4s ease, box-shadow .4s ease, opacity .8s ease .2s, transform .8s ease .2s;
}

body:not(.entered) .site-head {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

.site-head.scrolled {
  background: rgba(13, 8, 5, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(195, 154, 94, .14), 0 10px 30px rgba(0, 0, 0, .35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.12rem;
  color: var(--brass);
  letter-spacing: .5px;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
}

.main-nav a {
  position: relative;
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  padding-block: 6px;
  transition: color .3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brass-hi);
}

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

.head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(195, 154, 94, .45);
  color: var(--ivory);
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  transition: background .3s, border-color .3s, color .3s;
}

.lang-btn:hover {
  background: rgba(195, 154, 94, .12);
  border-color: var(--brass);
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid rgba(195, 154, 94, .35);
  border-radius: 12px;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ivory);
  transition: transform .35s var(--ease-out), opacity .25s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(10, 6, 3, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-menu ul {
  display: grid;
  gap: 6px;
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.mobile-menu li:nth-child(1) { transition-delay: .06s; }
.mobile-menu li:nth-child(2) { transition-delay: .12s; }
.mobile-menu li:nth-child(3) { transition-delay: .18s; }
.mobile-menu li:nth-child(4) { transition-delay: .24s; }
.mobile-menu li:nth-child(5) { transition-delay: .30s; }
.mobile-menu li:nth-child(6) { transition-delay: .36s; }

.mobile-menu.open li {
  opacity: 1;
  transform: none;
}

.mobile-menu a {
  display: inline-block;
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.65rem;
  color: var(--ivory);
  padding: 10px 22px;
  transition: color .3s;
}

.mobile-menu a:hover {
  color: var(--brass-hi);
}

.mm-phone {
  margin-top: 26px;
}

.mm-phone a {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.1rem;
  color: var(--brass);
  border: 1px solid rgba(195, 154, 94, .4);
  padding: 10px 26px;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 110px 0 90px;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: -60px 0;
  opacity: .8;
  animation: latticeDrift 70s linear infinite;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(90% 80% at 50% 40%, #000 40%, transparent 100%);
}

@keyframes latticeDrift {
  to { background-position: 280px 560px; }
}

.hero-halo {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(92vw, 660px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow-warm), transparent 72%);
  filter: blur(8px);
  animation: breathe 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes breathe {
  from { opacity: .7; transform: translateX(-50%) scale(.96); }
  to { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.hero .spark.s2 {
  --dur: 12s;
  width: 2px;
  height: 2px;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

[data-hero] {
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

body:not(.entered) [data-hero] {
  opacity: 0;
  transform: translateY(22px);
}

body.entered [data-hero] {
  opacity: 1;
  transform: none;
}

body.entered .arch-wrap { transition-delay: .2s; }
body.entered .hd1 { transition-delay: .55s; }
body.entered .hd2 { transition-delay: .75s; }
body.entered .hd3 { transition-delay: .95s; }

.arch-wrap {
  width: min(72vw, 320px);
  margin: 0 auto 26px;
}

.arch-frame {
  position: relative;
  background: linear-gradient(180deg, #221409, #150d07);
  border-radius: 999px 999px 20px 20px;
  box-shadow: inset 0 0 0 1px #3a2716, inset 0 0 60px rgba(255, 177, 86, .07), 0 34px 90px rgba(0, 0, 0, .55);
  padding: 13px;
}

.arch-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(195, 154, 94, .35);
  border-radius: inherit;
  pointer-events: none;
}

.arch-frame::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 21px;
  height: 21px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(135deg, #a9713d, #5d3a1a);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
}

.arch-inner {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 12px 12px;
  background: radial-gradient(130% 105% at 50% 0%, #301c0c 0%, #190f07 62%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 46px 18px 40px;
  aspect-ratio: 3 / 3.9;
  isolation: isolate;
}

.arch-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 175%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23a9713f'%3E%3Ccircle cx='210' cy='210' r='204' stroke-opacity='.28' stroke-dasharray='4 10'/%3E%3Ccircle cx='210' cy='210' r='168' stroke-opacity='.18'/%3E%3Cpath d='M210 62L358 210 210 358 62 210Z' stroke-opacity='.2'/%3E%3Crect x='106' y='106' width='208' height='208' stroke-opacity='.2'/%3E%3Ccircle cx='210' cy='210' r='120' stroke-opacity='.14' stroke-dasharray='2 8'/%3E%3Cpath d='M210 118l26 66 66 26-66 26-26 66-26-66-66-26 66-26z' stroke-opacity='.3' fill='%23b0793f' fill-opacity='.05'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .14;
  z-index: -1;
  animation: spinSlow 120s linear infinite;
  pointer-events: none;
}

.arch-inner::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 20%;
  right: 20%;
  height: 55%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 190, 110, .18), transparent 75%);
  pointer-events: none;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6));
}

.hero h1 {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 7.5vw, 2.9rem);
  color: var(--ivory);
  letter-spacing: .5px;
  line-height: 1.2;
}

.tagline {
  font-family: 'Reem Kufi', sans-serif;
  color: var(--brass);
  letter-spacing: 5px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tagline::before,
.tagline::after {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(195, 154, 94, .5);
}

.hero .kicker {
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 620px;
  margin-inline: auto;
  color: var(--mut);
  line-height: 2;
  font-size: 1.02rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  inset-inline: 0;
  text-align: center;
  z-index: 2;
  color: var(--mut);
  font-size: .78rem;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 1s ease 1.6s;
}

body.entered .scroll-cue {
  opacity: 1;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 44px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, var(--brass), transparent);
  animation: cueDrop 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes cueDrop {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(14px); opacity: 0; }
}

.story {
  padding-block: clamp(70px, 12vw, 120px) clamp(50px, 8vw, 90px);
  position: relative;
}

.stations {
  position: relative;
  display: grid;
  gap: 38px;
  padding-inline-start: 34px;
}

.stations::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  inset-inline-start: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(195, 154, 94, .45) 10%, rgba(195, 154, 94, .45) 90%, transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.6s var(--ease-out) .2s;
}

.stations.in::before {
  transform: scaleY(1);
}

.station {
  position: relative;
}

.station::before {
  content: "";
  position: absolute;
  inset-inline-start: -30px;
  top: 20px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1a1109;
  border: 2px solid var(--brass);
  box-shadow: 0 0 0 4px rgba(195, 154, 94, .12);
}

.st-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(195, 154, 94, .4);
  background: linear-gradient(160deg, #221409, #170e07);
  box-shadow: inset 0 0 18px rgba(255, 177, 86, .06), 0 10px 26px rgba(0, 0, 0, .4);
  margin-bottom: 16px;
}

.st-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.station h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.22rem;
  color: var(--brass-hi);
  margin-bottom: 8px;
}

.station p {
  color: var(--mut);
  font-size: .97rem;
  line-height: 1.9;
  max-width: 46ch;
}

.band-quote {
  padding: clamp(48px, 8vw, 80px) 20px;
  text-align: center;
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(60% 120% at 50% 50%, rgba(169, 113, 61, .1), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.05'%3E%3Crect x='47' y='47' width='46' height='46'/%3E%3Cpath d='M70 33L87 70 70 107 53 70Z'/%3E%3C/g%3E%3C/svg%3E");
}

.bq-main {
  font-family: 'Reem Kufi', sans-serif;
  font-size: clamp(1.9rem, 6.5vw, 3.1rem);
  color: var(--ivory);
  line-height: 1.3;
}

.bq-sub {
  margin-top: 12px;
  color: var(--brass);
  letter-spacing: 4px;
  font-size: .95rem;
}

.kitchen {
  padding-block: clamp(70px, 12vw, 120px);
}

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

.niche:nth-child(2n) { --rd: .06s; }
.niche:nth-child(3n) { --rd: .12s; }

.niche-link {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #241505, #150d07);
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  --crack: 0;
  --mx: 0;
  --my: 0;
  perspective: 900px;
  transition: transform .45s var(--ease-out), border-color .35s, box-shadow .45s;
}

.niche-link::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 13px;
  pointer-events: none;
  border: 1px solid rgba(211, 151, 81, .26);
  box-shadow: inset 0 0 0 3px rgba(211, 151, 81, .06);
}

.door-crest {
  position: relative;
  z-index: 3;
  display: block;
  height: 24px;
  margin: -2px 2px 9px;
}

.door-crest::before {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  top: 12px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #d39751, #8a5a26);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.door-crest i {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  transform: rotate(45deg);
  border-radius: 3px;
  background: linear-gradient(135deg, #e8c08a, #a06a30);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .45);
}

.door-crest { order: 0; }

.knock-line {
  order: 1;
}

.niche-photo {
  order: 2;
}

.niche-name {
  order: 3;
}

.niche-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 3px rgba(211, 151, 81, .3),
    0 4px 16px rgba(0, 0, 0, .4),
    0 0 0 5px rgba(139, 90, 38, .15);
}

.niche-photo::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(211, 151, 81, .2);
  pointer-events: none;
  z-index: 4;
}

.niche-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(211, 151, 81, .35),
    inset 0 -38px 44px rgba(13, 8, 5, .58),
    inset 0 0 34px rgba(255, 178, 94, .05);
  pointer-events: none;
  transition: box-shadow .55s ease;
}

.niche-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.92) saturate(.96);
  transform: translate3d(calc(var(--mx, 0) * 5px), calc(var(--my, 0) * 5px), 0) scale(1.06);
  transition: transform .6s var(--ease-out), filter .6s ease;
}

.gap-glow {
  position: absolute;
  top: 15%;
  bottom: 31%;
  left: calc(50% - 1.5px);
  width: 3px;
  z-index: 3;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 217, 160, .95) 22%, #ffcf8f 52%, rgba(255, 217, 160, .95) 82%, transparent);
  filter: blur(1px);
  opacity: calc(var(--crack, 0) * .9);
  transition: opacity .25s ease;
  pointer-events: none;
}

.n-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 1px);
  z-index: 2;
  --panel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='360' viewBox='0 0 110 360'%3E%3Cg fill='none' stroke='%23eec488' stroke-opacity='.52'%3E%3Crect x='7' y='7' width='96' height='346' rx='46'/%3E%3Crect x='15' y='15' width='80' height='330' rx='38'/%3E%3Cpath d='M55 30l6.5 6.5L55 43l-6.5-6.5z'/%3E%3Ccircle cx='31' cy='80' r='4'/%3E%3Ccircle cx='79' cy='80' r='4'/%3E%3Ccircle cx='55' cy='74' r='5'/%3E%3Cpath d='M55 92v16M55 198v20'/%3E%3Cpath d='M55 108l30 45-30 45-30-45z'/%3E%3Cpath d='M55 124l21 29-21 29-21-29z'/%3E%3Ccircle cx='55' cy='153' r='11'/%3E%3Cpath d='M55 116v9M55 181v9M31 153h9M70 153h9'/%3E%3Cpath d='M20 252h70'/%3E%3Ccircle cx='36' cy='252' r='5'/%3E%3Ccircle cx='74' cy='252' r='5'/%3E%3Cpath d='M41 252h28'/%3E%3Cpath d='M24 296q31-26 62 0'/%3E%3Cpath d='M24 310q31 26 62 0'/%3E%3Cpath d='M25 334l15-11 15 11 15-11 15 11'/%3E%3C/g%3E%3Cg fill='%23eec488' fill-opacity='.55'%3E%3Ccircle cx='55' cy='153' r='4'/%3E%3Cpath d='M55 246l4 6-4 6-4-6z'/%3E%3C/g%3E%3C/svg%3E");
  --hi: #d39751;
  background:
    linear-gradient(105deg, rgba(232, 192, 138, .28), transparent 44%, rgba(28, 15, 3, .4)),
    var(--panel),
    linear-gradient(180deg, #8a5a26, #784818 55%, #5e3616);
  background-size: auto, 100% 100%, auto;
  background-position: 0 0, center, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat;
  box-shadow: inset 0 0 0 1px rgba(211, 151, 81, .35), inset 0 0 24px rgba(40, 20, 4, .5);
  backface-visibility: hidden;
  will-change: transform;
  transform: rotateY(calc(var(--crack, 0) * 14deg));
  transition: transform .55s cubic-bezier(.66, .05, .28, 1) .03s;
}

.n-leaf.l {
  left: 0;
  transform-origin: left center;
  border-radius: 999px 10px 10px 10px;
}

.n-leaf.r {
  right: 0;
  transform-origin: right center;
  border-radius: 10px 999px 10px 10px;
}

.niche:nth-child(3n+2) .n-leaf {
  --panel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='360' viewBox='0 0 110 360'%3E%3Cg fill='none' stroke='%23eec488' stroke-opacity='.5'%3E%3Crect x='7' y='7' width='96' height='346' rx='46'/%3E%3Crect x='15' y='15' width='80' height='330' rx='38'/%3E%3Cpath d='M55 30l6.5 6.5L55 43l-6.5-6.5z'/%3E%3Cpath d='M31 75l4.5 4.5L31 84l-4.5-4.5z'/%3E%3Cpath d='M79 75l4.5 4.5L79 84l-4.5-4.5z'/%3E%3Cpath d='M55 69l5 5-5 5-5-5z'/%3E%3Cpath d='M55 92v14M55 200v18'/%3E%3Cpath d='M55 106l34 47-34 47-34-47z'/%3E%3Cpath d='M55 122l23 31-23 31-23-31z'/%3E%3Cpath d='M55 98v8M55 200v8M27 153h9M74 153h9'/%3E%3Cpath d='M20 252h70'/%3E%3Cpath d='M36 247l5 5-5 5-5-5z'/%3E%3Cpath d='M74 247l5 5-5 5-5-5z'/%3E%3Cpath d='M41 252h28'/%3E%3Cpath d='M25 300l15-13 15 13 15-13 15 13'/%3E%3Cpath d='M25 320l15 13 15-13 15 13 15-13'/%3E%3Cpath d='M24 340h62'/%3E%3C/g%3E%3Cg fill='%23eec488' fill-opacity='.55'%3E%3Cpath d='M55 140l13 13-13 13-13-13z'/%3E%3C/g%3E%3C/svg%3E");
}

.niche:nth-child(3n) .n-leaf {
  --panel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='360' viewBox='0 0 110 360'%3E%3Cg fill='none' stroke='%23eec488' stroke-opacity='.5'%3E%3Crect x='7' y='7' width='96' height='346' rx='46'/%3E%3Crect x='15' y='15' width='80' height='330' rx='38'/%3E%3Cpath d='M55 30l6.5 6.5L55 43l-6.5-6.5z'/%3E%3Ccircle cx='31' cy='80' r='4'/%3E%3Ccircle cx='79' cy='80' r='4'/%3E%3Ccircle cx='55' cy='74' r='5'/%3E%3Cpath d='M55 92v16M55 198v20'/%3E%3Ccircle cx='55' cy='153' r='35'/%3E%3Ccircle cx='55' cy='153' r='21' stroke-dasharray='4 6'/%3E%3Cpath d='M55 122c7 9 7 23 0 32c-7-9-7-23 0-32z'/%3E%3Cpath d='M55 152c9-7 23-7 32 0c-9 7-23 7-32 0z' transform='translate(-16 1)'/%3E%3Cpath d='M55 116v10M55 180v10M21 153h10M79 153h10'/%3E%3Cpath d='M20 252h70'/%3E%3Ccircle cx='36' cy='252' r='5'/%3E%3Ccircle cx='74' cy='252' r='5'/%3E%3Cpath d='M41 252h28'/%3E%3Cpath d='M24 296c10 11 21-11 31 0s21-11 31 0'/%3E%3Cpath d='M24 310c10-11 21 11 31 0s21 11 31 0'/%3E%3Ccircle cx='30' cy='334' r='3'/%3E%3Ccircle cx='55' cy='334' r='3'/%3E%3Ccircle cx='80' cy='334' r='3'/%3E%3C/g%3E%3Cg fill='%23eec488' fill-opacity='.55'%3E%3Ccircle cx='55' cy='153' r='4'/%3E%3Cpath d='M55 246l4 6-4 6-4-6z'/%3E%3C/g%3E%3C/svg%3E");
  --hi: #c98a4a;
}

.niche:nth-child(3n+2) .door-crest i {
  background: linear-gradient(135deg, #f0d0a0, #b0793f);
}

.niche:nth-child(3n) .door-crest i {
  background: linear-gradient(135deg, #dba05e, #8a5a2e);
}

.n-leaf .ring {
  position: absolute;
  top: 16%;
  width: 15px;
  height: 15px;
  border: 3.5px solid var(--hi);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(20, 10, 2, .5), inset 0 0 3px rgba(20, 10, 2, .4);
}

.n-leaf.l .ring { right: 7px; }
.n-leaf.r .ring { left: 7px; }

.niche-link.nk-b .ring,
.niche-link.nk-a .ring {
  animation: knockerHit .55s var(--ease-out);
}

.niche-link.nk-b .n-leaf {
  animation: doorShakeBig .42s ease-out;
}

.niche-link.n-drag .n-leaf {
  transition: none;
}

.niche-link.n-back .n-leaf {
  transition: transform .6s cubic-bezier(.34, 1.45, .5, 1);
}

.niche.opening .n-leaf.l {
  transform: rotateY(103deg);
}

.niche.opening .n-leaf.r {
  transform: rotateY(-103deg);
}

.niche.opening .n-leaf {
  transition-duration: 1.15s;
  transition-timing-function: cubic-bezier(.77, 0, .18, 1);
  transition-delay: .08s;
}

.niche.opening .gap-glow {
  animation: gapFlare 1.15s var(--ease-out) forwards;
}

@keyframes gapFlare {
  0% { opacity: .95; filter: blur(1.5px); }
  35% { opacity: 1; filter: blur(5px); }
  100% { opacity: 0; filter: blur(8px); }
}

.niche.opening .niche-photo img {
  filter: brightness(1.14) saturate(1.05);
  transform: translate3d(0, 0, 0) scale(1.02);
}

.niche.opening .niche-photo::after {
  box-shadow:
    inset 0 0 0 1px rgba(232, 192, 138, .55),
    inset 0 0 46px rgba(255, 178, 94, .22);
}

.niche-name {
  position: relative;
  z-index: 3;
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ivory);
  text-align: center;
  margin: 13px 0 2px;
}

.knock-line {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 2px 0 11px;
  text-align: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .7s var(--ease-out) .25s, transform .7s var(--ease-out) .25s;
}

.reveal.in .knock-line {
  opacity: 1;
  transform: none;
}

.knock-line b:first-child {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: 5px;
  text-indent: 5px;
  color: var(--mut);
}

.knock-line b:last-child {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 1px;
  color: var(--ivory);
  transition: color .35s ease, text-shadow .35s ease;
}

.knock-line::after {
  content: "";
  width: 58px;
  height: 5px;
  margin-top: 7px;
  background:
    radial-gradient(circle, #d39751 1.7px, rgba(211, 151, 81, 0) 2.3px) center / 100% 100% no-repeat,
    linear-gradient(90deg, transparent, rgba(211, 151, 81, .75), transparent) center / 100% 1px no-repeat;
}

.niche-link:hover .knock-line b:last-child {
  color: #e8c08a;
  text-shadow: 0 0 16px rgba(232, 192, 138, .35);
}

.niche.opening .knock-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
}

/* ═══════════════════ زخارف أبواب المنيو المحسّنة ═══════════════════ */

.niche .n-interior {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(95% 70% at 50% 66%, rgba(255, 200, 122, .6), transparent 62%),
    radial-gradient(60% 42% at 50% 26%, rgba(255, 233, 192, .55), transparent 72%),
    linear-gradient(180deg, #a07030, #46290f);
  opacity: 0;
  transform: scale(.94);
  transition: opacity 1.6s ease, transform 1.6s var(--ease-out);
  pointer-events: none;
}

.niche.opening .n-interior {
  opacity: 1;
  transform: scale(1.04);
}

.niche .n-floor-glow {
  position: absolute;
  bottom: -4%;
  left: 10%;
  right: 10%;
  height: 18%;
  z-index: 5;
  background: radial-gradient(52% 100% at 50% 100%, rgba(255, 195, 122, .45), transparent 72%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 1.4s ease, left 1.4s ease, right 1.4s ease, height 1.4s ease;
  pointer-events: none;
}

.niche.opening .n-floor-glow {
  opacity: 1;
  left: -6%;
  right: -6%;
  height: 36%;
  filter: blur(14px);
}

.niche .n-studs {
  position: absolute;
  top: 18%;
  bottom: 28%;
  left: 12%;
  right: 12%;
  z-index: 3;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(94, 58, 23, .6) 1.3px, rgba(62, 36, 14, .4) 2px, transparent 2.8px);
  background-size: 20px 24px;
  opacity: .45;
  transition: opacity .4s ease;
}

.niche-link:hover .n-studs {
  opacity: .7;
}

.niche .n-medal {
  position: absolute;
  top: 36%;
  left: 50%;
  width: 44%;
  aspect-ratio: 1;
  z-index: 3;
  transform: translateX(-50%) rotate(45deg);
  border: 1.4px solid rgba(180, 120, 50, .5);
  pointer-events: none;
}

.niche .n-medal::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(180, 120, 50, .3);
}

.niche .n-medal .core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3d9a0, #a06a30 70%);
  box-shadow: 0 1px 4px rgba(70, 40, 12, .45);
}

.niche .n-band {
  position: absolute;
  top: 62%;
  left: 6%;
  right: 6%;
  height: 14px;
  z-index: 3;
  background: linear-gradient(180deg, #7d5430, #5e3a17);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .3), inset 0 -1px 0 rgba(50, 28, 10, .5);
  pointer-events: none;
}

.niche .n-band::before {
  content: "";
  position: absolute;
  inset-inline: 6px;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background-image: radial-gradient(circle, #ecc98f 1.1px, transparent 1.8px);
  background-size: 12px 3px;
  background-repeat: repeat-x;
  background-position: center;
}

.niche .n-handle {
  position: absolute;
  top: 54%;
  width: 5px;
  height: 14%;
  z-index: 3;
  border-radius: 4px;
  background: linear-gradient(90deg, #a06a30, #ecc98f 45%, #7d4e22);
  box-shadow: 0 2px 4px rgba(70, 40, 12, .4);
  pointer-events: none;
}

.niche .n-leaf.l .n-handle { right: 6px; }
.niche .n-leaf.r .n-handle { left: 6px; }

.niche .n-leaf.l .ring {
  top: 18%;
  right: 5px;
  width: 12px;
  height: 12px;
  border-width: 3px;
}

.niche .n-leaf.r .ring {
  top: 18%;
  left: 5px;
  width: 12px;
  height: 12px;
  border-width: 3px;
}

/* ─── تحسين حركة فتح الباب ─── */
.niche.opening .n-leaf.l {
  transform: rotateY(108deg);
}

.niche.opening .n-leaf.r {
  transform: rotateY(-108deg);
}

.niche.opening .n-leaf {
  transition-duration: 2.0s;
  transition-timing-function: cubic-bezier(.77, 0, .18, 1);
  transition-delay: .06s;
}

.niche.opening .gap-glow {
  animation: gapFlareBig 2.0s var(--ease-out) forwards;
}

@keyframes gapFlareBig {
  0% { opacity: .95; filter: blur(1.5px); width: 3px; }
  25% { opacity: 1; filter: blur(4px); width: 8px; }
  60% { opacity: .8; filter: blur(8px); width: 40%; }
  100% { opacity: 0; filter: blur(14px); width: 80%; }
}

.niche.opening .niche-photo img {
  filter: brightness(1.2) saturate(1.08);
  transform: translate3d(0, 0, 0) scale(1.04);
  transition: filter 2.0s ease, transform 2.0s ease;
}

.niche.opening .niche-photo::after {
  box-shadow:
    inset 0 0 0 1px rgba(232, 192, 138, .6),
    inset 0 0 50px rgba(255, 178, 94, .28),
    inset 0 -40px 50px rgba(255, 200, 120, .15);
  transition: box-shadow 2.0s ease;
}

.niche.opening .n-studs {
  opacity: 0;
  transition: opacity .6s ease;
}

.niche.opening .n-medal {
  opacity: 0;
  transition: opacity .5s ease;
}

.niche.opening .n-band {
  opacity: 0;
  transition: opacity .5s ease;
}

.mini-door::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-50%);
}

.new {
  padding-block: clamp(60px, 10vw, 110px);
  background: linear-gradient(180deg, transparent, rgba(169, 113, 61, .05) 20% 80%, transparent);
}

.shelf {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px max(20px, calc((100vw - 1180px) / 2)) 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(195, 154, 94, .4) transparent;
}

.shelf::-webkit-scrollbar {
  height: 6px;
}

.shelf::-webkit-scrollbar-thumb {
  background: rgba(195, 154, 94, .35);
}

.shelf-card {
  flex: 0 0 min(72vw, 270px);
  scroll-snap-align: center;
}

.shelf-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
}

.shelf-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(195, 154, 94, .3), inset 0 -40px 50px rgba(13, 8, 5, .5);
}

.shelf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

.shelf-card:hover .shelf-photo img {
  transform: scale(1.05);
}

.shelf-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 13px;
  padding-inline: 6px;
}

.shelf-card .num {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.45rem;
  color: rgba(195, 154, 94, .65);
  line-height: 1;
}

.shelf-card h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ivory);
}

.events {
  padding-block: clamp(70px, 12vw, 120px);
}

.event-block {
  display: grid;
  gap: 26px;
  margin-top: 52px;
}

.event-block:first-of-type {
  margin-top: 0;
}

.event-text h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.6vw, 1.75rem);
  color: var(--brass-hi);
  margin-bottom: 14px;
}

.event-text p {
  color: var(--mut);
  line-height: 2;
  font-size: .99rem;
}

.event-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}

.play-wrap {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
}

.play-wrap img {
  transition: transform .7s var(--ease-out), filter .5s;
  filter: brightness(.85);
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 196, 140, .7);
  background: rgba(13, 8, 5, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease-out), background .4s;
}

.play svg {
  width: 30px;
  height: 30px;
  fill: var(--ivory);
  margin-inline-start: 4px;
}

.play::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(230, 196, 140, .5);
  animation: playPulse 2.6s ease-out infinite;
}

@keyframes playPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.65); opacity: 0; }
}

.gallery {
  display: grid;
  gap: 0;
}

.gallery-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .28s ease;
}

.gallery.swap .gallery-frame img {
  opacity: 0;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.g-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--ivory);
  display: grid;
  place-items: center;
  transition: border-color .3s, color .3s, transform .3s;
}

.g-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.g-btn:hover {
  border-color: var(--brass);
  color: var(--brass-hi);
}

.g-btn:active {
  transform: scale(.92);
}

.dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(195, 154, 94, .28);
  transition: background .3s, transform .3s;
}

.dots button.on {
  background: var(--brass);
  transform: scale(1.3);
}

.gallery-count {
  text-align: center;
  color: var(--mut);
  font-size: .85rem;
  letter-spacing: 2px;
  margin-top: 10px;
}

.orn {
  display: block;
  width: min(250px, 62vw);
  margin: 10px auto;
  stroke: var(--brass);
  overflow: visible;
}

.orn path {
  fill: none;
  stroke: currentColor;
  color: var(--brass);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease-out);
}

.orn .orn-line { stroke-width: 1; transition-delay: .15s; }
.orn .orn-d { stroke-width: 1.4; transition-delay: .55s; }
.orn .orn-s { stroke-width: 1.2; fill: rgba(195, 154, 94, .55); transition-delay: .75s; }

.orn.in path {
  stroke-dashoffset: 0;
}

.contact {
  padding-block: clamp(70px, 11vw, 120px);
}

.contact-grid {
  display: grid;
  gap: 44px;
}

.contact-invite .lead {
  margin-top: 14px;
  max-width: 52ch;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.soc {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #20130a, #150d07);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}

.soc img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.soc:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
}

.contact-cards {
  display: grid;
  gap: 16px;
  align-content: start;
}

.c-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #20130a, #170e07);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}

.c-card:hover {
  transform: translateY(-3px);
  border-color: rgba(195, 154, 94, .55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

.c-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: rgba(195, 154, 94, .1);
  border: 1px solid rgba(195, 154, 94, .3);
}

.c-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-txt b {
  display: block;
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ivory);
  margin-bottom: 3px;
}

.c-val {
  color: var(--mut);
  font-size: .92rem;
}

.site-foot {
  background: #0a0603 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.04'%3E%3Crect x='66' y='66' width='68' height='68'/%3E%3Cpath d='M100 46L154 100 100 154 46 100Z'/%3E%3Ccircle cx='100' cy='100' r='10'/%3E%3Cpath d='M100 0v30M100 170v30M0 100h30M170 100h30'/%3E%3C/g%3E%3Cg fill='%23c39a5e' fill-opacity='.04'%3E%3Cpath d='M100 12l5 5-5 5-5-5zM100 178l5 5-5 5-5-5zM12 100l5 5-5 5-5-5zM178 100l5 5-5 5-5-5z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 190px 190px;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(44px, 7vw, 64px);
}

.foot-grid {
  display: grid;
  gap: 38px;
  padding-bottom: 44px;
}

.f-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: .92;
}

.f-name {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.25rem;
  color: var(--brass);
  margin: 12px 0 8px;
}

.f-desc {
  color: var(--mut);
  font-size: .95rem;
  max-width: 32ch;
  line-height: 1.85;
}

.site-foot h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ivory);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.f-nav ul {
  display: grid;
  gap: 9px;
}

.f-nav a,
.f-contact p {
  color: var(--mut);
  font-size: .95rem;
  transition: color .3s;
}

.f-nav a:hover {
  color: var(--brass-hi);
}

.f-contact p {
  margin-bottom: 9px;
}

.f-contact a {
  color: var(--text);
}

.f-contact a:hover {
  color: var(--brass-hi);
}

.socials.mini {
  margin-top: 16px;
  gap: 9px;
}

.socials.mini .soc {
  width: 38px;
  height: 38px;
}

.socials.mini .soc img {
  width: 18px;
  height: 18px;
}

.foot-bar {
  border-top: 1px solid rgba(195, 154, 94, .1);
  padding: 18px 20px max(18px, env(safe-area-inset-bottom));
  text-align: center;
  color: var(--mut);
  font-size: .85rem;
}

.to-top {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 150;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(195, 154, 94, .45);
  background: rgba(16, 10, 5, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brass);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s var(--ease-out), background .3s, color .3s;
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.to-top:hover {
  background: var(--brass);
  color: #1c1206;
}

.door-scene .spark {
  background: #bd7a2b;
}

.door-scene .spark:nth-of-type(1) { left: 10%; --dl: 0s; --dur: 9s; --dx: 26px; }
.door-scene .spark:nth-of-type(2) { left: 22%; --dl: 2.2s; --dur: 11s; --dx: -18px; }
.door-scene .spark:nth-of-type(3) { left: 34%; --dl: 4.1s; --dur: 10s; --dx: 14px; }
.door-scene .spark:nth-of-type(4) { left: 55%; --dl: 1.2s; --dur: 12s; --dx: -22px; }
.door-scene .spark:nth-of-type(5) { left: 68%; --dl: 3.4s; --dur: 9.5s; --dx: 20px; }
.door-scene .spark:nth-of-type(6) { left: 80%; --dl: .8s; --dur: 10.5s; --dx: -14px; }
.door-scene .spark:nth-of-type(7) { left: 90%; --dl: 5s; --dur: 11.5s; --dx: 18px; }
.door-scene .spark:nth-of-type(8) { left: 45%; --dl: 6.2s; --dur: 9.8s; --dx: -26px; }

.hero .spark:nth-of-type(1) { left: 14%; --dl: 0s; --dur: 12s; --dx: 20px; }
.hero .spark:nth-of-type(2) { left: 30%; --dl: 3s; --dur: 14s; --dx: -16px; }
.hero .spark:nth-of-type(3) { left: 48%; --dl: 6s; --dur: 13s; --dx: 12px; }
.hero .spark:nth-of-type(4) { left: 66%; --dl: 1.8s; --dur: 15s; --dx: -20px; }
.hero .spark:nth-of-type(5) { left: 82%; --dl: 4.4s; --dur: 12.5s; --dx: 16px; }
.hero .spark:nth-of-type(6) { left: 92%; --dl: 7.5s; --dur: 13.5s; --dx: -12px; }

.site-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.site-decor i {
  position: absolute;
  display: block;
}

.sd-pat {
  inset: -300px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.05'%3E%3Crect x='66' y='66' width='68' height='68'/%3E%3Cpath d='M100 46L154 100 100 154 46 100Z'/%3E%3Ccircle cx='100' cy='100' r='10'/%3E%3Cpath d='M100 0v30M100 170v30M0 100h30M170 100h30'/%3E%3C/g%3E%3Cg fill='%23c39a5e' fill-opacity='.05'%3E%3Cpath d='M100 12l5 5-5 5-5-5zM100 178l5 5-5 5-5-5zM12 100l5 5-5 5-5-5zM178 100l5 5-5 5-5-5z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .9;
  animation: patDriftA 160s linear infinite;
}

.sd-mandala {
  width: min(72vmin, 660px);
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23a9713f'%3E%3Ccircle cx='210' cy='210' r='204' stroke-opacity='.28' stroke-dasharray='4 10'/%3E%3Ccircle cx='210' cy='210' r='168' stroke-opacity='.18'/%3E%3Cpath d='M210 62L358 210 210 358 62 210Z' stroke-opacity='.2'/%3E%3Crect x='106' y='106' width='208' height='208' stroke-opacity='.2'/%3E%3Ccircle cx='210' cy='210' r='120' stroke-opacity='.14' stroke-dasharray='2 8'/%3E%3Cpath d='M210 118l26 66 66 26-66 26-26 66-26-66-66-26 66-26z' stroke-opacity='.3' fill='%23b0793f' fill-opacity='.05'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .13;
  animation: spinSlow 170s linear infinite;
}

.sd-mandala.m-a {
  top: -20vmin;
  inset-inline-start: -22vmin;
}

.sd-mandala.m-b {
  bottom: -24vmin;
  inset-inline-end: -26vmin;
  animation-direction: reverse;
  animation-duration: 210s;
}

.sd-glow {
  width: min(64vmin, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 178, 94, .08), transparent 70%);
  filter: blur(12px);
  animation: glowPulse 9s ease-in-out infinite alternate;
}

.sd-glow.g-a { top: 4%; inset-inline-start: 6%; }
.sd-glow.g-b { bottom: 8%; inset-inline-end: 4%; animation-delay: -4.5s; }

@keyframes glowPulse {
  from { opacity: .55; }
  to { opacity: 1; }
}

.story,
.kitchen,
.new,
.events,
.contact,
.site-foot {
  position: relative;
}

.story::before,
.kitchen::before,
.new::before,
.events::before,
.contact::before,
.site-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='36' viewBox='0 0 72 36'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.3' stroke-width='1.3'%3E%3Cpath d='M8 36V17a12 12 0 0 1 24 0v19'/%3E%3Cpath d='M40 36V17a12 12 0 0 1 24 0v19'/%3E%3Cpath d='M2 35h68'/%3E%3C/g%3E%3Cg fill='%23c39a5e' fill-opacity='.45'%3E%3Ccircle cx='20' cy='4' r='1.7'/%3E%3Ccircle cx='52' cy='4' r='1.7'/%3E%3C/g%3E%3C/svg%3E") repeat-x left top / 72px 36px;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  animation: colDrift 70s linear infinite;
}

@keyframes colDrift {
  to { background-position-x: 144px; }
}

.band-quote {
  position: relative;
}

.band-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.05'%3E%3Crect x='66' y='66' width='68' height='68'/%3E%3Cpath d='M100 46L154 100 100 154 46 100Z'/%3E%3Ccircle cx='100' cy='100' r='10'/%3E%3Cpath d='M100 0v30M100 170v30M0 100h30M170 100h30'/%3E%3C/g%3E%3Cg fill='%23c39a5e' fill-opacity='.05'%3E%3Cpath d='M100 12l5 5-5 5-5-5zM100 178l5 5-5 5-5-5zM12 100l5 5-5 5-5-5zM178 100l5 5-5 5-5-5z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .6;
  animation: patDriftA 130s linear infinite reverse;
}

.band-quote .container {
  position: relative;
  z-index: 1;
}

.section-head::before,
.contact-invite::before {
  content: "";
  display: block;
  width: min(190px, 54vw);
  height: 30px;
  margin: 0 auto 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='30' viewBox='0 0 180 30'%3E%3Cg fill='none' stroke='%23c39a5e' stroke-opacity='.75' stroke-width='1.4'%3E%3Cpath d='M6 15h58M116 15h58'/%3E%3Cpath d='M90 7l8 8-8 8-8-8z'/%3E%3C/g%3E%3Cg fill='%23c39a5e' fill-opacity='.85'%3E%3Ccircle cx='68' cy='15' r='2.2'/%3E%3Ccircle cx='112' cy='15' r='2.2'/%3E%3Ccircle cx='90' cy='15' r='1.7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(195, 154, 94, .28));
  animation: ornBob 6s ease-in-out infinite alternate;
}

@keyframes ornBob {
  from { transform: translateY(-2px); }
  to { transform: translateY(4px); }
}

.niche-link::after,
.c-card::after,
.gallery-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  pointer-events: none;
  --stud-dot: radial-gradient(circle, #c39a5e 2.1px, rgba(195, 154, 94, 0) 3px);
  background-image: var(--stud-dot), var(--stud-dot), var(--stud-dot), var(--stud-dot);
  background-position: top left, top right, bottom left, bottom right;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  opacity: .45;
  transition: opacity .35s ease;
}

.niche-link:hover::after,
.c-card:hover::after {
  opacity: .95;
}

.hang-lantern {
  position: absolute;
  top: 0;
  width: 54px;
  opacity: .92;
  z-index: 1;
  transform-origin: 50% 0;
  animation: sway 5.2s ease-in-out infinite alternate;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(255, 178, 94, .28));
}

.hl-a { inset-inline-start: 7%; }

.hl-b {
  inset-inline-end: 7%;
  width: 46px;
  top: 6px;
  animation-duration: 6.1s;
  animation-delay: -3s;
}

@media (hover: hover) and (pointer: fine) {
  .niche-link:hover {
    transform: translateY(-6px);
    border-color: rgba(211, 151, 81, .55);
    box-shadow: 0 26px 54px rgba(0, 0, 0, .52);
  }

  .niche-link:hover .niche-photo img {
    filter: brightness(1.03) saturate(1.02);
    transform: translate3d(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 7px), 0) scale(1.08);
  }

  .niche-link:hover .niche-photo::after {
    box-shadow:
      inset 0 0 0 1px rgba(232, 192, 138, .45),
      inset 0 -38px 44px rgba(13, 8, 5, .5),
      inset 0 0 46px rgba(255, 190, 110, .17);
  }

  .play-wrap:hover img {
    transform: scale(1.05);
    filter: brightness(.95);
  }

  .play-wrap:hover .play {
    transform: scale(1.1);
    background: rgba(13, 8, 5, .68);
  }
}

@media (min-width: 560px) {
  .niches-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
  }
}

@media (min-width: 760px) {
  .event-block {
    gap: 34px;
  }
}

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

  .station {
    text-align: center;
  }

  .st-icon {
    margin-inline: auto;
  }

  .station p {
    margin-inline: auto;
  }

  .stations {
    padding-inline-start: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    padding-top: 8px;
  }

  .stations::before {
    top: 26px;
    bottom: auto;
    inset-inline-start: 9%;
    inset-inline-end: 9%;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(195, 154, 94, .45) 12%, rgba(195, 154, 94, .45) 88%, transparent);
    transform: scaleX(0);
    transform-origin: center;
  }

  .station::before {
    display: none;
  }

  .event-block {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(36px, 5vw, 64px);
    margin-top: clamp(70px, 9vw, 110px);
  }

  .event-block.reverse .event-text {
    order: 2;
  }

  .event-block.reverse .event-media {
    order: 1;
  }

  .contact-grid {
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(44px, 6vw, 80px);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .burger {
    display: none;
  }

  .site-head {
    padding-block: 14px;
  }

  .site-head.scrolled {
    padding-block: 10px;
  }

  .niches-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .niche:nth-child(5n+2) { --rd: .05s; }
  .niche:nth-child(5n+3) { --rd: .1s; }
  .niche:nth-child(5n+4) { --rd: .15s; }
  .niche:nth-child(5n+5) { --rd: .2s; }

  .shelf {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    overflow: visible;
    padding-inline: calc((100vw - 1180px) / 2);
  }

  .shelf-card {
    flex: initial;
  }

  .foot-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 44px;
  }
}

@media (min-width: 1240px) {
  .container {
    width: min(1180px, 100% - 64px);
  }
}

@media (max-width: 899px) {
  .hang-lantern {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .spark,
  .lantern {
    display: none !important;
  }

  .reveal,
  [data-hero] {
    opacity: 1 !important;
    transform: none !important;
  }
}
