/* =========================================================
   Nazir Art Advertising Agency
   Palette: Kashmir night (ink), gold leaf, chinar red, snow
   ========================================================= */

:root {
  --ink: #0F1438;
  --ink-2: #161C4B;
  --ink-3: #1F2660;
  --ink-deep: #0A0E2A;
  --gold: #E9B949;
  --gold-2: #F6D57E;
  --gold-deep: #A87A22;
  --chinar: #C8452C;
  --snow: #F5F4FB;
  --mist: #AEB3DA;
  --mist-2: #7F86BA;
  --paper: #ECEEF6;
  --ink-text: #141A45;
  --ink-text-2: #4A5083;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);

  --fg: var(--snow);
  --fg-2: var(--mist);

  /* page background, card surfaces and accent text: change per theme */
  --page: var(--ink);
  --surface: rgba(255, 255, 255, .045);
  --surface-shadow: none;
  --gold-ink: var(--gold);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Traditional Arabic", serif;
  --script: "Yellowtail", cursive;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-xl: clamp(24px, 3vw, 38px);
  --r-l: 24px;
  --r-m: 16px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  interpolate-size: allow-keywords;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--fg);
  font-family: var(--font);
  font-size: clamp(16px, .25vw + 15.2px, 18px);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { color: var(--fg-2); }
::selection { background: var(--gold); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(84px, 11vw, 160px); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* light "sheets" that sit on the night background */
.decor, .reach {
  --fg: var(--ink-text);
  --fg-2: var(--ink-text-2);
  color-scheme: light;
  background: var(--paper);
  color: var(--fg);
  border-radius: clamp(28px, 4vw, 52px);
  margin-inline: clamp(6px, 1.2vw, 16px);
}

/* ---------- type ---------- */
.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
  color: var(--fg);
}
.h3 {
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -.032em;
  font-weight: 700;
  color: var(--fg);
}
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--fg); }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head p { margin-top: 20px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  height: var(--h);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .4s var(--ease-out), background-color .3s, border-color .3s, color .3s, box-shadow .4s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 14px 34px -14px rgba(233, 185, 73, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(233, 185, 73, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--fg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%); }
.btn--ghost:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .32); transform: translateY(-2px); }
.btn--line { border-color: var(--line-2); color: var(--fg); }
.btn--line::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--snow); box-shadow: 0 14px 30px -16px rgba(15, 20, 56, .8); }
.btn--ink::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); }
.btn--ink:hover { transform: translateY(-2px); background: var(--ink-3); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .93rem; }
.btn--lg { --h: 62px; padding: 0 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 60;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav__bar {
  max-width: calc(var(--container) - 2 * var(--gutter) + 20px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  background: rgba(22, 28, 75, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background-color .4s, box-shadow .4s, border-color .4s;
}
.nav.is-scrolled .nav__bar { background: rgba(18, 23, 64, .72); border-color: rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: rgba(245, 244, 251, .76); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__cta { margin-left: 4px; }
.nav__toggle { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); cursor: pointer; }
.nav__toggle-lines { display: grid; gap: 6px; width: 18px; }
.nav__toggle-lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-open .nav__toggle-lines i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__toggle-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { position: relative; width: 38px; height: 38px; display: grid; place-items: center; }
.brand__mark svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--gold); transition: transform 1s var(--ease-out); }
.brand__mark b { position: relative; color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1; }
.brand:hover .brand__mark svg { transform: rotate(45deg); }
.brand__name { display: flex; flex-direction: column; font-weight: 700; font-size: 1.1rem; line-height: 1; letter-spacing: -.02em; }
.brand__name small { margin-top: 5px; font-weight: 500; font-size: .68rem; letter-spacing: .01em; color: var(--mist); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: rgba(12, 16, 46, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open body { overflow: hidden; }
.menu__links { display: grid; }
.menu__links a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.7rem, 7.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), color .2s;
}
.menu__links a:hover { color: var(--gold); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- intro & reveal motion ---------- */
.js .intro { opacity: 0; transform: translateY(26px); }
.js .ln > .intro { opacity: 1; transform: translateY(108%); }
.is-loaded .intro { animation: up 1.1s var(--ease-out) var(--d, 0s) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }

.ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.ready .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(118px, 15vh, 170px);
  overflow: hidden;
}
.hero__sky { position: absolute; inset: 0; z-index: -3; }
.hero__aurora {
  position: absolute;
  inset: -20% -10% 0;
  background:
    radial-gradient(48% 46% at 74% 34%, rgba(103, 86, 222, .42), transparent 70%),
    radial-gradient(40% 40% at 16% 8%, rgba(45, 86, 196, .38), transparent 72%),
    radial-gradient(26% 26% at 70% 52%, rgba(233, 185, 73, .14), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  to { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
.hero__stars {
  position: absolute;
  inset: 0 0 30%;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.4px 1.4px at 44% 12%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 58% 30%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.2px 1.2px at 66% 8%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 82% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 92% 46%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 6% 58%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 36% 66%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 74% 62%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 52% 54%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.3px 1.3px at 20% 82%, rgba(255,255,255,.4), transparent);
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(30px, 6vh, 70px);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-size: .93rem;
  color: var(--mist);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero__title {
  margin-block: 22px 26px;
  font-size: clamp(2.8rem, 6.1vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.042em;
  font-weight: 800;
}
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }
.hero__lede { max-width: 36ch; font-size: clamp(1.06rem, 1.35vw, 1.26rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* the sign board */
.hero__sign { position: relative; display: grid; place-items: center; padding-block: 70px 30px; }
.sign {
  position: relative;
  width: min(100%, 520px);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out);
}
.sign::before {
  content: "";
  position: absolute;
  inset: 10% -14% -10%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(233, 185, 73, .3), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1.6s ease 1.8s;
}
.is-loaded .sign::before { opacity: 1; }
.sign__rods { position: absolute; left: 0; right: 0; top: -64px; height: 64px; }
.sign__rods i { position: absolute; top: 0; width: 4px; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #5a6196, #2b3164); }
.sign__rods i:first-child { left: 18%; }
.sign__rods i:last-child { right: 18%; }
.sign__rods i::before { content: ""; position: absolute; top: -6px; left: -6px; width: 16px; height: 8px; border-radius: 3px; background: #3a4178; }
.sign__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 44px) clamp(20px, 3vw, 34px) clamp(22px, 3vw, 30px);
  border-radius: 20px;
  background: linear-gradient(160deg, #262d66 0%, #171c4a 48%, #10153b 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -2px 0 rgba(0, 0, 0, .4), 0 50px 90px -40px rgba(0, 0, 0, .85);
}
.sign__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.sign__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 48%, transparent 60%);
  pointer-events: none;
}
.screw { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d2d5ea, #5b6190 70%); box-shadow: 0 1px 1px rgba(0,0,0,.5); }
.screw--tl { top: 14px; left: 14px; } .screw--tr { top: 14px; right: 14px; }
.screw--bl { bottom: 14px; left: 14px; } .screw--br { bottom: 14px; right: 14px; }
.sign__letters {
  display: flex;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(2.3rem, 5.1vw, 4.4rem);
  line-height: 1;
  letter-spacing: .015em;
  user-select: none;
}
.sign__letters span {
  position: relative;
  color: #2a3170;
  text-shadow: 0 1px 0 #232a5f, 0 2px 0 #1f2556, 0 3px 0 #1b214c, 0 4px 0 #171c43, 0 12px 16px rgba(0, 0, 0, .4);
}
.sign__letters span::after {
  content: attr(data-l);
  position: absolute;
  inset: 0;
  color: #FFE9AE;
  text-shadow:
    0 1px 0 #EDBE52, 0 2px 0 #D9A63B, 0 3px 0 #C0902F, 0 4px 0 #A87A22,
    0 0 12px rgba(255, 218, 130, .9), 0 0 34px rgba(233, 185, 73, .6), 0 0 80px rgba(233, 185, 73, .38);
  opacity: 0;
}
.is-loaded .sign__letters span::after { animation: power 1.1s linear var(--d) forwards; }
.is-loaded .sign__letters span:nth-last-child(2)::after { animation: power 1.1s linear var(--d) forwards, flick 9s linear 4s infinite; }
.sign__letters .gap { width: .3em; }
.sign__letters .gap::after { content: none; }
@keyframes power {
  0% { opacity: 0; } 7% { opacity: .9; } 11% { opacity: .1; } 19% { opacity: 1; }
  25% { opacity: .3; } 33%, 100% { opacity: 1; }
}
@keyframes flick {
  0%, 92%, 100% { opacity: 1; } 93% { opacity: .25; } 94% { opacity: 1; } 95.5% { opacity: .4; } 96.5% { opacity: 1; }
}
.sign__strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.6vw, 16px);
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: clamp(14px, 1.6vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(.66rem, 1vw, .8rem);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #3b427e;
  transition: color .6s ease 2.1s, text-shadow .6s ease 2.1s;
}
.sign__strip svg { width: 9px; height: 9px; fill: #3b427e; transition: fill .6s ease 2.1s; }
.is-loaded .sign__strip { color: #FFE9AE; text-shadow: 0 0 12px rgba(255, 218, 130, .6); }
.is-loaded .sign__strip svg { fill: var(--gold); }

.hero__notes { position: absolute; inset: 0; pointer-events: none; }
.note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(24, 30, 80, .62);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
  opacity: 0;
}
.note .ico { color: var(--gold); }
.note--a { left: -4%; bottom: 0; }
.note--b { right: -2%; top: 18px; }
.is-loaded .note--a { animation: pop .9s var(--ease-out) 2.3s forwards, bob 6s ease-in-out 3.2s infinite; }
.is-loaded .note--b { animation: pop .9s var(--ease-out) 2.5s forwards, bob 7s ease-in-out 3.4s infinite reverse; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__range {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 100%;
  height: clamp(170px, 30vh, 330px);
  pointer-events: none;
}
.range--far path:first-child { fill: #1A2159; }
.range--far .snow { fill: rgba(226, 230, 255, .5); }
.range--mid path { fill: #141A4C; }
.range--near path { fill: var(--page); }
.js .range { opacity: 0; transform: translateY(50px); }
.is-loaded .range { animation: up 1.8s var(--ease-out) forwards; }
.is-loaded .range--far { animation-delay: .2s; }
.is-loaded .range--mid { animation-delay: .35s; }
.is-loaded .range--near { animation-delay: .5s; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 26px 34px;
  border-top: 1px solid var(--line);
}
.hero__facts > div { padding-inline: 24px; }
.hero__facts > div:first-child { padding-left: 0; }
.hero__facts > div + div { border-left: 1px solid var(--line); }
.hero__facts dt { font-size: clamp(1.2rem, 1.7vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hero__facts dd { margin-top: 4px; font-size: .92rem; color: var(--mist); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding-block: 30px; margin-top: -20px; }
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-1.4deg);
  margin-inline: -2vw;
  box-shadow: 0 20px 60px -20px rgba(233, 185, 73, .35);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; flex: none; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: .62em;
  height: .62em;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,0 15.51,3.52 20.49,3.51 20.48,8.49 24,12 20.48,15.51 20.49,20.49 15.51,20.48 12,24 8.49,20.48 3.51,20.49 3.52,15.51 0,12 3.52,8.49 3.51,3.51 8.49,3.52'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,0 15.51,3.52 20.49,3.51 20.48,8.49 24,12 20.48,15.51 20.49,20.49 15.51,20.48 12,24 8.49,20.48 3.51,20.49 3.52,15.51 0,12 3.52,8.49 3.51,3.51 8.49,3.52'/></svg>") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   STORY
   ========================================================= */
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.story__art { position: sticky; top: 140px; display: grid; place-items: center; padding: 40px 0 70px; }
.woodboard {
  position: relative;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .25)),
    repeating-linear-gradient(177deg, #7b4627 0 6px, #86512d 6px 11px, #6f3e22 11px 14px, #8c5833 14px 22px);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .2);
  transform: rotate(-2deg);
}
.woodboard__script {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background:
    radial-gradient(80% 90% at 30% 20%, rgba(255, 255, 255, .08), transparent 60%),
    #173D35;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), inset 0 0 40px rgba(0, 0, 0, .35);
}
.woodboard__script .script {
  font-family: var(--script);
  font-size: 118px;
  fill: transparent;
  stroke: #F2CF72;
  stroke-width: 1.4;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
.woodboard__script .flourish {
  fill: none;
  stroke: #F2CF72;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}
.woodboard.is-in .script { animation: write 2.6s var(--ease-io) .2s forwards, fillin .8s ease 2.4s forwards; }
.woodboard.is-in .flourish { animation: write 1s var(--ease-out) 2.5s forwards; }
html:not(.ready) .woodboard .script { fill: #F2CF72; stroke-dashoffset: 0; }
html:not(.ready) .woodboard .flourish { stroke-dashoffset: 0; }
@keyframes write { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: #F2CF72; } }
.woodboard__est {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(242, 207, 114, .7);
}
.brush { position: absolute; right: 2%; bottom: 14px; display: flex; align-items: center; transform: rotate(-24deg); transform-origin: right center; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .5)); }
.brush__handle { width: 150px; height: 12px; border-radius: 8px 3px 3px 8px; background: linear-gradient(180deg, #d4543b, #9c2f1c); order: 3; }
.brush__ferrule { width: 34px; height: 14px; background: linear-gradient(180deg, #e8e9f2, #8d91ad 60%, #c8cadb); order: 2; }
.brush__tip { width: 30px; height: 12px; border-radius: 12px 2px 2px 12px; background: linear-gradient(180deg, #F6D57E, #C8952F); order: 1; }
.paint-dots { position: absolute; left: 4%; bottom: 0; display: flex; gap: 10px; }
.paint-dots i { width: 30px; height: 30px; border-radius: 50%; border: 4px solid #2a3166; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.paint-dots i:nth-child(1) { background: var(--gold); }
.paint-dots i:nth-child(2) { background: var(--chinar); }
.paint-dots i:nth-child(3) { background: var(--snow); }

.story__copy .h2 { margin-bottom: 26px; }
.story__copy > p + p { margin-top: 16px; }
.eras { position: relative; display: grid; gap: 26px; margin-top: 42px; padding-left: 34px; }
.eras::before, .eras::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.eras::before { background: var(--line); }
.eras::after { background: linear-gradient(var(--gold), var(--gold-2)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.eras li { position: relative; }
.eras li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--line-2);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
  z-index: 1;
}
.eras li.is-lit::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(233, 185, 73, .18); }
.eras h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.eras p { margin-top: 4px; font-size: .98rem; max-width: 48ch; }

/* =========================================================
   SERVICES: stacking cards
   ========================================================= */
.services { padding-bottom: clamp(60px, 8vw, 120px); }
.stack { display: grid; gap: clamp(22px, 3vw, 34px); }
.card {
  --bg: linear-gradient(135deg, #1B2158, #11163F);
  position: sticky;
  top: calc(104px + var(--i) * 14px);
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(24px, 4vw, 56px);
  min-height: min(620px, calc(100vh - 150px));
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 -30px 70px -40px rgba(0, 0, 0, .85);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #070a22;
  opacity: var(--dim, 0);
  pointer-events: none;
}
.card--sign    { --bg: radial-gradient(70% 90% at 90% 40%, rgba(233, 185, 73, .14), transparent 60%), linear-gradient(135deg, #1D2360, #11163F); }
.card--paint   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(200, 69, 44, .2), transparent 60%), linear-gradient(135deg, #241E58, #13123C); }
.card--callig  { --bg: radial-gradient(70% 90% at 90% 50%, rgba(56, 160, 140, .18), transparent 60%), linear-gradient(135deg, #142A4C, #0E1736); }
.card--print   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(229, 0, 126, .14), transparent 60%), linear-gradient(135deg, #1E1F5C, #12143D); }
.card--glass   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(110, 140, 255, .2), transparent 60%), linear-gradient(135deg, #18265E, #0F1840); }
.card--digital { --bg: radial-gradient(70% 90% at 90% 40%, rgba(91, 211, 138, .13), transparent 60%), linear-gradient(135deg, #172459, #0E163E); }
.card--brand   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(233, 185, 73, .18), transparent 60%), linear-gradient(135deg, #22245E, #14153E); }

.card__copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.card__copy p { max-width: 44ch; font-size: 1.07rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .87rem; color: rgba(245, 244, 251, .88); }
.link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 4px; font-weight: 600; color: var(--gold); }
.link .ico { transition: transform .4s var(--ease-out); }
.link:hover .ico { transform: translate(3px, -3px); }
.card__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
}

/* visual: shop front */
.v-shop { width: min(86%, 420px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.v-shop__board {
  position: relative;
  padding: 22px 16px 28px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #1c2049, #0d1130);
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}
.v-shop__board::after { content: ""; position: absolute; left: 6%; right: 6%; top: 100%; height: 120px; background: radial-gradient(50% 60% at 50% 0%, rgba(255, 220, 140, .32), transparent 70%); pointer-events: none; }
.v-shop__word {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  color: #FFE9AE;
  text-shadow: 0 1px 0 #E9B949, 0 2px 0 #C8952F, 0 3px 0 #A87A22, 0 0 16px rgba(255, 214, 120, .75), 0 0 44px rgba(233, 185, 73, .45);
}
.v-shop__led { position: absolute; left: 12%; right: 12%; bottom: 11px; height: 3px; border-radius: 3px; background: #fff6d8; box-shadow: 0 0 12px 2px rgba(255, 230, 160, .9); }
.v-shop__front { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 12px; height: 180px; padding: 14px; background: linear-gradient(180deg, #2c3266, #232856); }
.v-shop__win { position: relative; border-radius: 6px; border: 3px solid #3d4580; background: linear-gradient(165deg, rgba(255, 226, 160, .42), rgba(255, 226, 160, .08)); overflow: hidden; }
.v-shop__win i { position: absolute; left: 10%; right: 10%; height: 4px; border-radius: 2px; background: rgba(255, 233, 174, .4); }
.v-shop__win i:first-child { top: 38%; } .v-shop__win i:last-child { top: 68%; }
.v-shop__door { border-radius: 6px 6px 0 0; background: repeating-linear-gradient(180deg, #3e4680 0 7px, #323a72 7px 9px); }
.v-shop__step { height: 12px; margin-inline: -12px; border-radius: 3px; background: #1a1f4e; }

/* visual: painting */
.v-frame {
  width: min(80%, 400px);
  padding: 14px;
  border-radius: 4px;
  background: linear-gradient(145deg, #D2A44C, #8E6424 38%, #DDB462 66%, #7C5520);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .85), inset 0 0 0 2px rgba(255, 255, 255, .18);
  transform: rotate(-1.5deg);
}
.v-frame svg { width: 100%; height: auto; border: 10px solid #F1EBDD; box-shadow: inset 0 0 10px rgba(0, 0, 0, .3); }
.v-frame__label { position: absolute; right: 22px; bottom: 20px; padding: 7px 12px; border-radius: 4px; background: #F1EBDD; color: #2b2b3a; font-size: .76rem; font-weight: 500; }

/* visual: calligraphy medallion */
.v-medal { position: relative; display: grid; place-items: center; width: min(78%, 340px); aspect-ratio: 1; }
.v-medal__star { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(233, 185, 73, .07); stroke: var(--gold); stroke-width: .18; animation: spin 80s linear infinite; }
.v-medal::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1px solid rgba(233, 185, 73, .5); box-shadow: inset 0 0 40px rgba(233, 185, 73, .12); }
.v-medal__text {
  position: relative;
  font-family: var(--arabic);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.8;
  background: linear-gradient(170deg, #FFF0B8 0%, #E9B949 32%, #A8782A 56%, #F4D27A 80%, #B98A33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* visual: printing */
.v-print { position: relative; width: min(88%, 440px); height: 300px; }
.v-print__swatches { position: absolute; left: 4%; bottom: 8px; width: 90px; height: 170px; }
.v-print__swatches i { position: absolute; inset: 0; border-radius: 12px; transform-origin: 50% 92%; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6); transition: transform 1s var(--ease-out); }
.v-print__swatches .c { background: #00A3E0; transform: rotate(-30deg); }
.v-print__swatches .m { background: #E5007E; transform: rotate(-14deg); }
.v-print__swatches .y { background: #FFD400; transform: rotate(2deg); }
.v-print__swatches .k { background: #16161a; border: 1px solid rgba(255, 255, 255, .12); transform: rotate(18deg); }
.card__visual:not(.is-in) .v-print__swatches i { transform: rotate(0deg); }
.v-print__banner {
  position: absolute;
  right: 0;
  top: 26px;
  width: 70%;
  padding: 28px 24px 24px;
  border-radius: 6px;
  background: #F7F5EE;
  color: var(--ink-text);
  transform: rotate(3deg);
  box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .8);
}
.v-print__banner::before, .v-print__banner::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #b9b6aa; }
.v-print__banner::before { left: 10px; } .v-print__banner::after { right: 10px; }
.v-print__big { display: block; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: .92; letter-spacing: -.02em; color: var(--chinar); }
.v-print__small { display: block; margin-top: 10px; font-size: .84rem; font-weight: 500; color: var(--ink-text-2); }
.v-print__roll { position: absolute; right: 6%; bottom: 40px; width: 58%; height: 24px; border-radius: 12px; background: linear-gradient(180deg, #e9e9f2, #9498b6 55%, #d8dae6); box-shadow: 0 14px 20px -10px rgba(0, 0, 0, .6); }

/* visual: frosted glass */
.v-glass { position: relative; width: min(84%, 420px); aspect-ratio: 4 / 3.3; border-radius: 12px; border: 7px solid #343c74; overflow: hidden; background: linear-gradient(180deg, #2a3170, #1b2152); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8); }
.v-glass__room { position: absolute; inset: 0; }
.v-glass__room i { position: absolute; border-radius: 50%; }
.v-glass__room i:nth-child(1) { width: 46%; height: 50%; left: 8%; top: 22%; background: #E9B949; }
.v-glass__room i:nth-child(2) { width: 34%; height: 40%; right: 10%; top: 12%; background: #C8452C; }
.v-glass__room i:nth-child(3) { width: 60%; height: 22%; left: 20%; bottom: 4%; border-radius: 8px; background: #8C98FF; }
.v-glass__pane { position: absolute; inset: 0; }
.v-glass__band {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  height: 40%;
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-block: 1px solid rgba(255, 255, 255, .4);
}
.v-glass__band--low { top: 76%; height: 6%; }
.v-glass__logo { position: absolute; left: 0; right: 0; top: 30%; height: 40%; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; }
.v-glass__logo svg { width: 36px; height: 36px; fill: rgba(255, 255, 255, .92); }
.v-glass__logo span { font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.v-glass__handle { position: absolute; right: 7%; top: 36%; width: 8px; height: 28%; border-radius: 4px; background: linear-gradient(90deg, #f0f1f8, #9aa0c2); box-shadow: 0 6px 10px rgba(0, 0, 0, .35); }
.v-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .22) 48%, transparent 58%); transform: translateX(-100%); }
.card__visual.is-in .v-glass::after { animation: sheen 1.8s var(--ease-out) .3s forwards; }
@keyframes sheen { to { transform: translateX(100%); } }

/* visual: phone */
.v-phone { position: relative; z-index: 1; width: min(54%, 226px); aspect-ratio: 9 / 18.4; padding: 9px; border-radius: 38px; background: #0A0D26; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 70px -30px rgba(0, 0, 0, .9); }
.v-phone__screen { display: flex; flex-direction: column; height: 100%; border-radius: 30px; overflow: hidden; background: #F5F6FB; color: var(--ink-text); }
.v-phone__map {
  position: relative;
  height: 36%;
  background:
    linear-gradient(32deg, transparent 47%, #fff 47% 52%, transparent 52%),
    linear-gradient(-58deg, transparent 44%, #fff 44% 48%, transparent 48%),
    radial-gradient(30% 40% at 78% 70%, #cfe7d2 0 98%, transparent),
    #dde3f1;
}
.v-phone__pin { position: absolute; left: 50%; top: 46%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--chinar); transform: translate(-50%, -50%) rotate(-45deg); box-shadow: 0 4px 8px rgba(0, 0, 0, .3); }
.v-phone__pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.v-phone__card { padding: 12px 12px 8px; }
.v-phone__card b { display: block; font-size: 1rem; letter-spacing: -.01em; }
.v-phone__open { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .68rem; color: #2E8B57; font-weight: 600; }
.v-phone__open i { width: 6px; height: 6px; border-radius: 50%; background: #2E8B57; }
.v-phone__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 10px; }
.v-phone__actions span { padding: 6px 0; border-radius: 999px; background: #E6E9F7; color: #2B3270; text-align: center; font-size: .6rem; font-weight: 600; }
.v-phone__chart { margin-top: auto; padding: 0 12px 16px; }
.v-phone__chart span { font-size: .66rem; font-weight: 600; color: var(--ink-text-2); }
.v-phone__chart .bars { display: flex; align-items: flex-end; gap: 5px; height: 66px; margin-top: 6px; }
.v-phone__chart .bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(#F1CA66, #C8952F); transform-origin: bottom; transform: scaleY(.05); transition: transform 1s var(--ease-out); }
.card__visual.is-in .bars i { transform: none; }
.card__visual.is-in .bars i:nth-child(2) { transition-delay: .08s; }
.card__visual.is-in .bars i:nth-child(3) { transition-delay: .16s; }
.card__visual.is-in .bars i:nth-child(4) { transition-delay: .24s; }
.card__visual.is-in .bars i:nth-child(5) { transition-delay: .32s; }
.card__visual.is-in .bars i:nth-child(6) { transition-delay: .4s; }
.card__visual.is-in .bars i:nth-child(7) { transition-delay: .48s; }
.v-reel { position: absolute; left: 10%; bottom: 14%; width: clamp(80px, 9vw, 112px); aspect-ratio: 9 / 16; border-radius: 14px; background: linear-gradient(160deg, #C8452C, #5B2A7A); border: 2px solid rgba(255, 255, 255, .5); transform: rotate(-9deg); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .8); display: grid; place-items: center; }
.v-reel i { width: 0; height: 0; border-left: 16px solid #fff; border-block: 10px solid transparent; margin-left: 4px; }

/* visual: brand kit */
.v-brand { position: relative; width: min(86%, 420px); aspect-ratio: 4 / 3.2; }
.v-brand__letter { position: absolute; left: 4%; top: 2%; width: 56%; height: 90%; padding: 12% 10%; display: grid; align-content: start; gap: 10px; border-radius: 6px; background: #F7F5EE; transform: rotate(-6deg); box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .8); }
.v-brand__letter::before { content: ""; width: 28%; height: 14px; border-radius: 3px; background: var(--gold); margin-bottom: 14px; }
.v-brand__letter i { height: 6px; border-radius: 3px; background: #d9d8e4; }
.v-brand__letter i:nth-child(2) { width: 80%; } .v-brand__letter i:nth-child(4) { width: 60%; }
.v-brand__card { position: absolute; right: 0; bottom: 18%; width: 62%; aspect-ratio: 1.75; padding: 6% 8%; display: grid; align-content: space-between; border-radius: 10px; background: linear-gradient(140deg, #141A48, #0A0E2A); border: 1px solid rgba(233, 185, 73, .4); transform: rotate(5deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9); }
.v-brand__card svg { width: 30px; height: 30px; fill: var(--gold); }
.v-brand__card b { font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: -.01em; }
.v-brand__card span { font-size: .72rem; color: var(--mist); }
.v-brand__swatches { position: absolute; left: 12%; bottom: 0; display: flex; gap: 8px; }
.v-brand__swatches i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .6); }
.v-brand__swatches i:nth-child(1) { background: var(--ink); }
.v-brand__swatches i:nth-child(2) { background: var(--gold); }
.v-brand__swatches i:nth-child(3) { background: var(--chinar); }
.v-brand__swatches i:nth-child(4) { background: var(--snow); }

/* =========================================================
   DECOR STUDIO
   ========================================================= */
.decor__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 84px); align-items: center; }
.decor__copy > p { margin-top: 20px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); max-width: 46ch; }
.picker { margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 12px; font-size: .9rem; font-weight: 600; color: var(--ink-text-2); }
.picker__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(20, 26, 69, .16);
  background: #fff;
  color: var(--ink-text);
  font-size: .94rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out);
}
.pill:hover { border-color: rgba(20, 26, 69, .42); }
.pill:active { transform: scale(.97); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: var(--snow); }
.sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sw--metal { background: linear-gradient(140deg, #FFF0B8, #C8952F 55%, #F2CF72); }
.sw--acrylic { background: radial-gradient(circle at 35% 30%, #6d6d78, #111 60%); }
.sw--wood { background: repeating-linear-gradient(100deg, #6a3b1e 0 2px, #8a5530 2px 5px); }
.sw--canvas { background: #1A2152; box-shadow: inset 0 0 0 2px #E9B949; }
.decor__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }
.decor__note { font-size: .92rem; }

.decor__stage { --wall: #1D2A3A; --wall-light: rgba(255, 228, 170, .22); --line-c: rgba(233, 185, 73, .45); }
.decor__stage[data-material="acrylic"] { --wall: #E7E6EC; --wall-light: rgba(255, 255, 255, .8); --line-c: rgba(20, 20, 28, .35); }
.decor__stage[data-material="wood"] { --wall: #C6CCB8; --wall-light: rgba(255, 250, 230, .55); --line-c: rgba(90, 50, 25, .45); }
.decor__stage[data-material="canvas"] { --wall: #D6D8E3; --wall-light: rgba(255, 255, 255, .6); --line-c: rgba(233, 185, 73, .5); }
.wall {
  position: relative;
  aspect-ratio: 1 / .92;
  border-radius: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  background: var(--wall);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, .2), 0 30px 60px -40px rgba(15, 20, 56, .6);
  transition: background-color .7s var(--ease-out);
  container-type: inline-size;
}
.wall::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  background-position: 0 0, 2px 3px;
  pointer-events: none;
}
.wall__light { position: absolute; inset: -10% 10% 40%; background: radial-gradient(50% 60% at 50% 0%, var(--wall-light), transparent 70%); pointer-events: none; transition: background .7s; }
.piece {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8%;
  opacity: 0;
  transform: scale(.95) translateY(10px);
  transition: opacity .45s ease, transform .8s var(--ease-out);
  pointer-events: none;
}
.piece.is-shown { opacity: 1; transform: none; transition-delay: .12s; }
.piece__face { position: relative; display: grid; place-items: center; max-width: 100%; transition: background-color .6s, box-shadow .6s, padding .6s; }
.decor__stage[data-material="canvas"] .piece__face {
  padding: clamp(20px, 6cqw, 48px) clamp(22px, 7cqw, 56px);
  border-radius: 3px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    #1A2152;
  box-shadow: 8px 8px 0 #10153A, 0 40px 50px -20px rgba(0, 0, 0, .5);
}
.decor__stage[data-material="canvas"] .piece--clock .piece__face { padding: 0; background: none; box-shadow: none; }

.ar { font-family: var(--arabic); font-weight: 700; line-height: 1.95; text-align: center; }
.decor__stage[data-material="metal"] .ar {
  background: linear-gradient(170deg, #FFF0B8 0%, #E9B949 30%, #A8782A 55%, #F4D27A 78%, #B98A33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 7px rgba(0, 0, 0, .5));
}
.decor__stage[data-material="acrylic"] .ar { color: #15151c; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); filter: drop-shadow(7px 11px 6px rgba(0, 0, 0, .22)); }
.decor__stage[data-material="wood"] .ar {
  background: repeating-linear-gradient(96deg, #6A3B1E 0 2px, #7E4A26 2px 6px, #5C321A 6px 8px, #8A552F 8px 13px);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(4px 8px 5px rgba(50, 30, 10, .38));
}
.decor__stage[data-material="canvas"] .ar { color: #EBC05A; }

.ar--kursi { font-size: clamp(1.5rem, 7.4cqw, 3.2rem); }
.ar--kalima { font-size: clamp(1.8rem, 8.6cqw, 3.8rem); }
.ar--mashallah { font-size: clamp(3rem, 15cqw, 7rem); line-height: 1.6; }
.qul { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw 6cqw; direction: rtl; }
.names > * { grid-area: 1 / 1; }
.decor__stage[data-material="canvas"] .piece--names .piece__face { padding: 0; border-radius: 50%; box-shadow: 0 0 0 1.4cqw #10153A, 0 40px 50px -20px rgba(0, 0, 0, .5); }
.decor__stage[data-material="canvas"] .names { width: min(80cqw, 540px); }
.qul .ar { font-size: clamp(1rem, 4.4cqw, 1.9rem); line-height: 1.7; padding-block: 1.5cqw; border-bottom: 1px solid var(--line-c); }
.names { position: relative; width: min(76cqw, 520px); aspect-ratio: 1; display: grid; place-items: center; container-type: inline-size; }
.names::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid var(--line-c); }
.names::after { content: ""; position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed var(--line-c); }
.names__title { position: relative; z-index: 1; font-size: 7.4cqw; line-height: 1.45; max-width: 36cqw; }
.names__ring li {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 6.4cqw;
  line-height: 1.4;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(calc(var(--a) * 45deg)) translateY(-38cqw) rotate(calc(var(--a) * -45deg));
}

.clock { position: relative; width: min(66cqw, 440px); aspect-ratio: 1; border-radius: 50%; container-type: inline-size; transition: background .6s, box-shadow .6s; }
.decor__stage[data-material="metal"] .clock { box-shadow: 0 0 0 .9cqw #C8952F, 0 0 0 1.4cqw rgba(255, 240, 184, .35), 0 30px 40px -18px rgba(0, 0, 0, .6); }
.decor__stage[data-material="acrylic"] .clock { background: rgba(255, 255, 255, .25); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 20px 30px -16px rgba(0, 0, 0, .25); }
.decor__stage[data-material="wood"] .clock { background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, .12) 100%), repeating-radial-gradient(circle at 46% 54%, #9c6538 0 3px, #8a5530 3px 7px, #a66f40 7px 9px); box-shadow: 0 30px 40px -20px rgba(50, 30, 10, .6); }
.decor__stage[data-material="canvas"] .clock { background: #1A2152; box-shadow: 0 0 0 1.6cqw #EBC05A, 0 40px 50px -24px rgba(0, 0, 0, .55); }
.clock__nums li {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 9.5cqw;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--n) * 30deg)) translateY(-38cqw) rotate(calc(var(--n) * -30deg));
}
.decor__stage[data-material="wood"] .clock__nums li { background: none; color: #F6E7C6; -webkit-text-fill-color: #F6E7C6; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.clock__hand { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; transform: translateX(-50%) rotate(var(--rot, 0deg)); border-radius: 99px; background: var(--hand, linear-gradient(#F4D27A, #A8782A)); box-shadow: 0 4px 6px rgba(0, 0, 0, .35); }
.clock__hand--h { width: 2.6cqw; height: 22cqw; }
.clock__hand--m { width: 1.7cqw; height: 32cqw; }
.clock__hand--s { width: .7cqw; height: 36cqw; background: var(--chinar); }
.clock__cap { position: absolute; left: 50%; top: 50%; width: 5cqw; height: 5cqw; border-radius: 50%; transform: translate(-50%, -50%); background: var(--hand, #E9B949); box-shadow: 0 0 0 1cqw rgba(0, 0, 0, .15); }
.decor__stage[data-material="acrylic"] { --hand: #15151c; }
.decor__caption { margin-top: 16px; text-align: center; font-size: .95rem; font-weight: 500; color: var(--ink-text-2); }

/* =========================================================
   PACKAGES
   ========================================================= */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3vw, 34px);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .35s, transform .5s var(--ease-out);
}
.pack:hover { border-color: rgba(233, 185, 73, .45); transform: translateY(-4px); }
.pack__for { font-size: .9rem; font-weight: 500; color: var(--gold); }
.pack h3 { margin-top: 8px; font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.05; }
.ticks { display: grid; gap: 11px; flex: 1; align-content: start; }
.ticks li { display: flex; gap: 11px; font-size: .99rem; line-height: 1.45; color: rgba(245, 244, 251, .88); }
.ticks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12.5 4.5 4.5L19 7.5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12.5 4.5 4.5L19 7.5'/></svg>") center / contain no-repeat;
}
.pack--feature {
  background: radial-gradient(120% 70% at 100% 0%, rgba(233, 185, 73, .24), transparent 60%), linear-gradient(180deg, #212868, #161B4C);
  border-color: rgba(233, 185, 73, .45);
}
.pack--feature::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  background: rgba(233, 185, 73, .07);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,0 15.51,3.52 20.49,3.51 20.48,8.49 24,12 20.48,15.51 20.49,20.49 15.51,20.48 12,24 8.49,20.48 3.51,20.49 3.52,15.51 0,12 3.52,8.49 3.51,3.51 8.49,3.52'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,0 15.51,3.52 20.49,3.51 20.48,8.49 24,12 20.48,15.51 20.49,20.49 15.51,20.48 12,24 8.49,20.48 3.51,20.49 3.52,15.51 0,12 3.52,8.49 3.51,3.51 8.49,3.52'/></svg>") center / contain no-repeat;
  animation: spin 60s linear infinite;
  pointer-events: none;
}
.pack--feature > * { position: relative; z-index: 1; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding-top: 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; right: 27px; top: 27px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-top: 84px; }
.step__n {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-2);
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s;
}
.step.is-lit .step__n { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 8px rgba(233, 185, 73, .12); }
.step h3 { margin-bottom: 8px; font-size: 1.22rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.22; }
.step p { font-size: .97rem; }

/* =========================================================
   WHO + WHERE
   ========================================================= */
.reach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 100px); align-items: start; }
.reach__where > p { margin-top: 18px; max-width: 46ch; }
.who { margin-top: 34px; border-top: 1px solid rgba(20, 26, 69, .14); }
.who li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(20, 26, 69, .14);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -.018em;
  transition: padding .45s var(--ease-out), color .3s;
}
.who li::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--gold-deep);
  opacity: 0;
  transform: rotate(-45deg) scale(.6);
  transition: opacity .3s, transform .5s var(--ease-out);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,0 15.51,3.52 20.49,3.51 20.48,8.49 24,12 20.48,15.51 20.49,20.49 15.51,20.48 12,24 8.49,20.48 3.51,20.49 3.52,15.51 0,12 3.52,8.49 3.51,3.51 8.49,3.52'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,0 15.51,3.52 20.49,3.51 20.48,8.49 24,12 20.48,15.51 20.49,20.49 15.51,20.48 12,24 8.49,20.48 3.51,20.49 3.52,15.51 0,12 3.52,8.49 3.51,3.51 8.49,3.52'/></svg>") center / contain no-repeat;
}
.who li:hover { padding-left: 12px; color: #000; }
.who li:hover::after { opacity: 1; transform: none; }

.map { margin-top: 30px; padding: clamp(10px, 2vw, 18px); border-radius: 26px; background: var(--ink); box-shadow: 0 40px 60px -40px rgba(15, 20, 56, .8); }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__river { fill: none; stroke: #33408A; stroke-width: 3; stroke-linecap: round; }
.map__lake { fill: #2A3578; }
.map__water { fill: #6D78B8; font-size: 10px; font-style: italic; font-family: var(--font); }
.map__routes path { fill: none; stroke: rgba(233, 185, 73, .55); stroke-width: 1.4; stroke-dasharray: 3 5; }
.map.is-in .map__routes path { animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -16; } }
.map__town circle { fill: var(--snow); }
.map__town text { fill: #DADCF0; font-size: 12.5px; font-weight: 600; font-family: var(--font); }
.map__home circle { fill: var(--gold); }
.map__home .map__ping { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-origin: 168px 207px; animation: mapPing 2.4s var(--ease-out) infinite; }
.map__home text { fill: var(--gold); font-size: 14px; font-weight: 700; font-family: var(--font); }
@keyframes mapPing { from { transform: scale(.9); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.ready .map .map__town { opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .8s var(--ease-out); }
.ready .map.is-in .map__town { opacity: 1; transform: none; }
.map.is-in .map__town:nth-of-type(2) { transition-delay: .08s; }
.map.is-in .map__town:nth-of-type(3) { transition-delay: .16s; }
.map.is-in .map__town:nth-of-type(4) { transition-delay: .24s; }
.map.is-in .map__town:nth-of-type(5) { transition-delay: .32s; }
.map.is-in .map__town:nth-of-type(6) { transition-delay: .4s; }
.map.is-in .map__town:nth-of-type(7) { transition-delay: .48s; }

/* =========================================================
   WORK + REVIEWS (shown once content exists)
   ========================================================= */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work__item { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--ink-2); aspect-ratio: 4 / 3.2; }
.work__item--wide { grid-column: span 2; aspect-ratio: auto; }
.work__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work__item:hover img { transform: scale(1.04); }
.work__item figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(10, 14, 42, .85)); font-weight: 600; }
.reviews__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.review { padding: 30px; border-radius: var(--r-l); background: rgba(255, 255, 255, .045); border: 1px solid var(--line); display: grid; gap: 22px; align-content: space-between; }
.review blockquote { font-size: 1.15rem; line-height: 1.5; letter-spacing: -.01em; }
.review figcaption { display: grid; }
.review figcaption span { color: var(--mist); font-size: .92rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 120px; display: grid; gap: 20px; justify-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.35;
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-2); }
.qa summary .ico { width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.qa[open] summary .ico { transform: rotate(45deg); background: var(--gold); color: var(--ink); border-color: var(--gold); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__body p { padding: 0 52px 26px 0; max-width: 62ch; }

/* =========================================================
   CTA + CONTACT
   ========================================================= */
.contact { padding-top: 0; }
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 9vw, 120px) clamp(22px, 6vw, 90px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #1F2667, #12174A);
  border: 1px solid var(--line);
  text-align: center;
}
.cta__glow {
  position: absolute;
  z-index: -1;
  left: var(--mx, 50%);
  top: var(--my, 30%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 185, 73, .26), transparent 62%);
  transform: translate(-50%, -50%);
  transition: left .6s var(--ease-out), top .6s var(--ease-out);
  pointer-events: none;
}
.cta__title { max-width: 19ch; margin-inline: auto; font-size: clamp(2rem, 4.3vw, 3.8rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.contact__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-top: 18px; }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 46px); border-radius: var(--r-l); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.form .h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.form__hint { margin-top: -8px; font-size: .95rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: .9rem; font-weight: 500; color: var(--mist); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(8, 11, 34, .45);
  color: var(--snow);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEB3DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field select option { color: #111; background: #fff; }
.field ::placeholder { color: var(--mist-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233, 185, 73, .16); background: rgba(8, 11, 34, .6); }
.form__error { color: #FFB4A3; font-size: .93rem; font-weight: 500; }

.info { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); background: var(--gold); color: var(--ink); }
.info .h3 { color: var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.info__list { margin-top: 16px; }
.info__list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(15, 20, 56, .16); }
.info__list li:last-child { border-bottom: 0; }
.info__list .ico { margin-top: 3px; }
.info__list b { display: block; font-size: .84rem; font-weight: 600; opacity: .7; }
.info__list a, .info__list span { font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.info__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info__social { display: flex; gap: 10px; margin-top: 12px; }
.info__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); transition: transform .4s var(--ease-out); }
.info__social a:hover { transform: translateY(-3px); }
.info__social a[hidden] { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding-top: clamp(64px, 8vw, 110px); background: var(--ink-deep); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 28ch; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col b { margin-bottom: 6px; font-size: .95rem; }
.footer__col a { width: fit-content; color: var(--mist); transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__word {
  margin-top: clamp(40px, 7vw, 90px);
  font-size: clamp(3.4rem, 13.5vw, 12.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .8;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(233, 185, 73, .85), rgba(233, 185, 73, .04) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px max(30px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .88rem; color: var(--mist-2); }

/* floating WhatsApp */
.fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .6);
  opacity: 0;
  transform: translateY(20px) scale(.9);
  pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.fab .ico { width: 28px; height: 28px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: fabPing 2.8s var(--ease-out) infinite; }
@keyframes fabPing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: scale(1.06); }
.menu-open .fab { opacity: 0; pointer-events: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 20px; }
  .hero__sign { max-width: 520px; width: 100%; justify-self: center; padding-block: 76px 40px; }
  .note--a { left: 0; }
  .note--b { right: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; }
  .story__grid, .decor__grid, .reach__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .story__art { position: relative; top: auto; max-width: 560px; width: 100%; justify-self: center; padding: 10px 0 120px; }
  .faq__head { position: static; }
  .decor__grid { row-gap: 0; }
  .decor__copy { display: contents; }
  .decor__copy > .h2 { order: 1; }
  .decor__copy > p { order: 2; margin-bottom: 28px; }
  .decor__stage { order: 3; max-width: 600px; width: 100%; justify-self: center; }
  .decor__copy > .picker { order: 4; }
  .decor__copy > .decor__actions { order: 5; }
}

@media (max-width: 820px) {
  /* the cards stack on phones too: all the same height, and a tall card pins
     only once its end is well up the screen (--h is its height, set by main.js), so it can be read first */
  .stack { grid-auto-rows: 1fr; }
  .card {
    --pin: calc(72px + var(--i) * 6px);
    top: min(var(--pin), calc(70vh - var(--h, 300vh)));
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 0;
  }
  @supports (height: 100svh) { .card { top: min(var(--pin), calc(70svh - var(--h, 300vh))); } }
  .card__visual { min-height: 300px; order: -1; }
  .hero__facts { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .hero__facts > div { padding-inline: 0 16px; }
  .hero__facts > div + div { border-left: 0; }
  .hero__facts > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
  .work__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .steps::before, .steps::after { display: block; left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps::before { transform: none; }
  .step { padding: 0 0 0 80px; min-height: 56px; }
  .packs { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .work__item--wide { grid-column: auto; aspect-ratio: 4 / 3.2; }
  .qa__body p { padding-right: 0; }
  .cta__actions .btn { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .nav__bar { height: 62px; padding-left: 12px; gap: 10px; }
  .brand__name small { display: none; }
  .nav__cta { width: 46px; height: 46px; padding: 0; }
  .nav__cta span { display: none; }
  .nav__cta .ico { width: 20px; height: 20px; }
  .hero__sign { padding-block: 70px 50px; }
  .note { font-size: .8rem; padding: 8px 11px; }
  .hero__kicker { font-size: .8rem; padding-right: 12px; }
  .note--a { left: 0; bottom: 6px; }
  .note--b { right: 0; top: 12px; }
  .marquee { padding-block: 14px; }
  .card { padding: 20px; }
  .card__visual { min-height: 260px; }
  .v-print { height: 260px; }
  .v-print__swatches { width: 70px; height: 130px; }
  .brush__handle { width: 100px; }
}

/* =========================================================
   SERVICE PHOTOS
   ========================================================= */
.card__visual--photo { background: var(--ink-2); isolation: isolate; }
.card__visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.8s var(--ease-out), opacity 1s ease;
  opacity: 0;
}
.card__visual--photo.is-in img { transform: scale(1.02); opacity: 1; }
html:not(.ready) .card__visual--photo img { opacity: 1; transform: none; }
.card:hover .card__visual--photo.is-in img { transform: scale(1.05); }
.card__visual--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 42, .45));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}

/* =========================================================
   DECOR STUDIO: real room photos
   Each material shows its own room; the piece hangs in the
   empty part of that wall (--hx/--hy = position, --hw = width).
   ========================================================= */
.rooms { position: absolute; inset: 0; z-index: 0; }
.room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out);
}
.room--metal { object-position: 50% 52%; }
.room--acrylic { object-position: 38% 50%; }
.room--wood { object-position: 50% 58%; }
.room--canvas { object-position: 50% 60%; }
.decor__stage[data-material="metal"] .room--metal,
.decor__stage[data-material="acrylic"] .room--acrylic,
.decor__stage[data-material="wood"] .room--wood,
.decor__stage[data-material="canvas"] .room--canvas { opacity: 1; transform: none; }

.decor__stage .wall { box-shadow: 0 30px 60px -40px rgba(15, 20, 56, .6); }
.decor__stage .wall::before { content: none; }
.decor__stage .wall__light { z-index: 1; opacity: 0; transition: opacity .8s; }
.decor__stage[data-material="metal"] .wall__light { opacity: .7; }

.hang {
  --hx: 10%; --hy: 4%; --hw: 58%;
  position: absolute;
  z-index: 2;
  left: var(--hx);
  top: var(--hy);
  width: var(--hw);
  aspect-ratio: 1 / .92;
  container-type: inline-size;
  transition: left .8s var(--ease-out), top .8s var(--ease-out), width .8s var(--ease-out);
}
.decor__stage[data-material="metal"] .hang { --hx: 4%; --hy: 4%; --hw: 62%; }
.decor__stage[data-material="acrylic"] .hang { --hx: 17%; --hy: 0%; --hw: 60%; }
.decor__stage[data-material="wood"] .hang { --hx: 20%; --hy: 6%; --hw: 60%; }
.decor__stage[data-material="canvas"] .hang { --hx: 22%; --hy: 1%; --hw: 56%; }
.hang .piece { padding: 4%; }

/* softer, more physical shadows on a real wall */
.decor__stage[data-material="metal"] .ar { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .55)) drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.decor__stage[data-material="acrylic"] .ar { filter: drop-shadow(3px 5px 3px rgba(0, 0, 0, .22)) drop-shadow(6px 12px 12px rgba(0, 0, 0, .12)); }
.decor__stage[data-material="wood"] .ar { filter: drop-shadow(3px 5px 3px rgba(50, 30, 10, .35)) drop-shadow(6px 12px 12px rgba(50, 30, 10, .18)); }
.decor__stage[data-material] .hang .names { width: min(70cqw, 520px); }
.decor__stage[data-material="canvas"] .hang .names { width: min(58cqw, 460px); }

/* =========================================================
   DECOR STUDIO: real product photos
   Shown over the room preview when a photo exists for the
   chosen piece and material (see decorPhotos in main.js).
   ========================================================= */
.shot {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--ink-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.decor__stage.has-photo .shot { opacity: 1; visibility: visible; }
.shot__bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(34px) saturate(1.05);
}
.shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .45s ease, transform .9s var(--ease-out);
}
.shot__img:not([src]), .shot__bg:not([src]) { visibility: hidden; }
.shot.is-swapping .shot__img { opacity: 0; transform: scale(.97); }

.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.shots[hidden] { display: none; }
.shots__btn {
  width: 64px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  opacity: .7;
  box-shadow: 0 6px 14px -8px rgba(15, 20, 56, .5);
  transition: opacity .25s, border-color .25s, transform .3s var(--ease-out);
}
.shots__btn img { width: 100%; height: 100%; object-fit: cover; }
.shots__btn:hover { opacity: 1; transform: translateY(-2px); }
.shots__btn.is-on { opacity: 1; border-color: var(--ink); }

/* =========================================================
   THEME TOGGLE
   ========================================================= */
.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  color: var(--fg);
  cursor: pointer;
  transition: background-color .3s, border-color .3s, transform .5s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(-14deg); }
.theme-toggle .ico { position: absolute; width: 20px; height: 20px; transition: opacity .4s, transform .6s var(--ease-out); }
.theme-toggle__moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="light"] .theme-toggle__sun { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="light"] .theme-toggle__moon { opacity: 1; transform: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

.nav__links a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, .08); }
.menu__links a[aria-current="page"] { color: var(--gold); }
@media (max-width: 1220px) {
  .nav__links a { padding: 10px 11px; font-size: .9rem; }
  .nav__cta { width: 44px; padding: 0; }
  .nav__cta span { display: none; }
}
@media (max-width: 960px) {
  .theme-toggle { margin-left: auto; }
  .nav__cta { margin-left: 0; }
}

.more-link { margin-top: 22px; }
.link--ink { color: var(--ink-text); }

/* =========================================================
   LIGHT THEME
   ========================================================= */
[data-theme="light"] {
  --page: #F4F5FA;
  --fg: #121845;
  --fg-2: #4A5083;
  --mist: #565C8C;
  --mist-2: #7A80AA;
  --line: rgba(18, 24, 69, .1);
  --line-2: rgba(18, 24, 69, .18);
  --surface: #FFFFFF;
  --surface-shadow: 0 24px 50px -38px rgba(18, 24, 69, .4);
  --gold-ink: #8A6416;
  color-scheme: light;
}
/* blocks that stay dark in both themes */
[data-theme="light"] :is(.cta, .footer, .pack--feature, .map, .sign, .viewer) {
  --fg: #F5F4FB;
  --fg-2: #AEB3DA;
  --mist: #AEB3DA;
  --mist-2: #7F86BA;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --surface: rgba(255, 255, 255, .045);
  --gold-ink: var(--gold);
  color: var(--fg);
  color-scheme: dark;
}

[data-theme="light"] .btn--ghost:not(:is(.cta, .footer) *) { background: rgba(18, 24, 69, .04); }
[data-theme="light"] .btn--ghost:not(:is(.cta, .footer) *):hover { background: rgba(18, 24, 69, .08); border-color: rgba(18, 24, 69, .32); }
[data-theme="light"] .btn--line:not(.pack--feature *):hover { border-color: var(--gold-ink); color: var(--gold-ink); }

[data-theme="light"] .nav__bar { background: rgba(255, 255, 255, .6); border-color: rgba(18, 24, 69, .08); }
[data-theme="light"] .nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, .88); border-color: rgba(18, 24, 69, .1); box-shadow: 0 20px 44px -26px rgba(18, 24, 69, .35); }
[data-theme="light"] .nav__links a { color: rgba(18, 24, 69, .7); }
[data-theme="light"] .nav__links a:hover,
[data-theme="light"] .nav__links a[aria-current="page"] { color: var(--fg); background: rgba(18, 24, 69, .06); }
[data-theme="light"] :is(.nav__toggle, .theme-toggle) { background: rgba(18, 24, 69, .04); }
[data-theme="light"] .menu { background: rgba(244, 245, 250, .97); }
[data-theme="light"] .menu__links a:hover,
[data-theme="light"] .menu__links a[aria-current="page"] { color: var(--gold-ink); }

/* daytime sky */
[data-theme="light"] .hero__sky { background: linear-gradient(180deg, #D6E1FA 0%, #E9EFFC 45%, var(--page) 88%); }
[data-theme="light"] .hero__aurora {
  background:
    radial-gradient(48% 46% at 74% 34%, rgba(148, 168, 255, .32), transparent 70%),
    radial-gradient(40% 40% at 16% 8%, rgba(255, 255, 255, .9), transparent 72%),
    radial-gradient(26% 26% at 70% 52%, rgba(233, 185, 73, .22), transparent 70%);
}
[data-theme="light"] .hero__stars { display: none; }
[data-theme="light"] .range--far path:first-child { fill: #D0D9F2; }
[data-theme="light"] .range--far .snow { fill: #FFFFFF; }
[data-theme="light"] .range--mid path { fill: #BAC5E8; }
[data-theme="light"] .hero__kicker { background: rgba(255, 255, 255, .7); }
[data-theme="light"] .note { background: rgba(255, 255, 255, .82); color: var(--fg); box-shadow: 0 20px 40px -22px rgba(18, 24, 69, .35); }
[data-theme="light"] .sign__panel { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -2px 0 rgba(0, 0, 0, .4), 0 50px 90px -40px rgba(18, 24, 69, .7); }

[data-theme="light"] .eras li::before { background: var(--page); }
[data-theme="light"] .woodboard { box-shadow: 0 40px 70px -40px rgba(18, 24, 69, .6), inset 0 1px 0 rgba(255, 255, 255, .2); }

/* service cards */
[data-theme="light"] .card { border-color: rgba(18, 24, 69, .08); box-shadow: 0 -24px 60px -44px rgba(18, 24, 69, .45); }
[data-theme="light"] .card::after { background: #C7CEE6; }
[data-theme="light"] .card--sign    { --bg: radial-gradient(70% 90% at 90% 40%, rgba(233, 185, 73, .18), transparent 60%), linear-gradient(135deg, #FFFFFF, #EEF1FA); }
[data-theme="light"] .card--paint   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(200, 69, 44, .12), transparent 60%), linear-gradient(135deg, #FFFFFF, #F3EFF6); }
[data-theme="light"] .card--callig  { --bg: radial-gradient(70% 90% at 90% 50%, rgba(56, 160, 140, .14), transparent 60%), linear-gradient(135deg, #FFFFFF, #EDF4F4); }
[data-theme="light"] .card--print   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(229, 0, 126, .09), transparent 60%), linear-gradient(135deg, #FFFFFF, #F4EFF6); }
[data-theme="light"] .card--glass   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(110, 140, 255, .16), transparent 60%), linear-gradient(135deg, #FFFFFF, #EDF1FC); }
[data-theme="light"] .card--digital { --bg: radial-gradient(70% 90% at 90% 40%, rgba(91, 211, 138, .14), transparent 60%), linear-gradient(135deg, #FFFFFF, #EEF5F2); }
[data-theme="light"] .card--brand   { --bg: radial-gradient(70% 90% at 90% 40%, rgba(233, 185, 73, .18), transparent 60%), linear-gradient(135deg, #FFFFFF, #F5F2EA); }
[data-theme="light"] .chips li { background: rgba(18, 24, 69, .03); color: var(--fg); }
[data-theme="light"] .link:not(.link--ink) { color: var(--gold-ink); }
[data-theme="light"] .card__visual { background: rgba(18, 24, 69, .04); border-color: rgba(18, 24, 69, .08); }

/* sheets become white cards on the light page */
[data-theme="light"] :is(.decor, .reach) { background: #FFFFFF; border: 1px solid rgba(18, 24, 69, .06); box-shadow: 0 40px 90px -60px rgba(18, 24, 69, .45); }
[data-theme="light"] .pill { background: #F6F7FC; }
[data-theme="light"] .pill.is-on { background: var(--ink); }

[data-theme="light"] .pack:not(.pack--feature) { background: var(--surface); box-shadow: var(--surface-shadow); }
[data-theme="light"] .pack:not(.pack--feature) .pack__for { color: var(--gold-ink); }
[data-theme="light"] .pack:not(.pack--feature) .ticks li { color: var(--fg); }
[data-theme="light"] .pack:not(.pack--feature) .ticks li::before { background: var(--gold-ink); }
[data-theme="light"] .pack:hover { border-color: rgba(168, 122, 34, .45); }

[data-theme="light"] .step:not(.is-lit) .step__n { background: #FFFFFF; }
[data-theme="light"] .qa summary:hover { color: var(--gold-ink); }
[data-theme="light"] .review { background: var(--surface); box-shadow: var(--surface-shadow); }

[data-theme="light"] .form { background: var(--surface); box-shadow: var(--surface-shadow); }
[data-theme="light"] .field > span { color: var(--fg-2); }
[data-theme="light"] .field :is(input, select, textarea) { background: #F6F7FC; border-color: rgba(18, 24, 69, .14); color: var(--fg); }
[data-theme="light"] .field :is(input, select, textarea):focus { background: #FFFFFF; }
[data-theme="light"] .field ::placeholder { color: #8A90B5; }
[data-theme="light"] .form__error { color: #B3261E; }
[data-theme="light"] .info { box-shadow: var(--surface-shadow); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(150px, 20vh, 210px) 0 clamp(120px, 15vw, 190px);
}
.page-hero .hero__range { height: clamp(110px, 18vh, 210px); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--fg-2); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--fg); }
.crumbs svg { width: 9px; height: 9px; fill: var(--gold); }
.crumbs [aria-current] { color: var(--fg); font-weight: 600; }
.page-hero__title {
  margin-top: 22px;
  max-width: 17ch;
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -.042em;
  font-weight: 800;
  text-wrap: balance;
}
.page-hero__lede { margin-top: 24px; max-width: 56ch; font-size: clamp(1.05rem, 1.35vw, 1.24rem); line-height: 1.6; }
.page-hero .hero__actions { margin-top: 34px; }

.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--flush-top { padding-top: 0; }

/* about: values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.value { padding: 28px 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--surface-shadow); }
.value svg { width: 26px; height: 26px; fill: var(--gold); margin-bottom: 22px; }
.value h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; color: var(--fg); }
.value p { margin-top: 8px; font-size: .97rem; }

/* about: team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.person { padding: 30px 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--surface-shadow); }
.person__badge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: linear-gradient(140deg, var(--gold-2), var(--gold-deep)); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(168, 122, 34, .8); }
.person__badge svg { width: 26px; height: 26px; fill: var(--ink); }
.person h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; color: var(--fg); }
.person__role { margin-top: 2px; font-size: .9rem; font-weight: 600; color: var(--gold-ink); }
.person__about { margin-top: 12px; font-size: .96rem; }

/* services: jump links + detailed rows */
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(48px, 6vw, 80px); }
.svc-jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 500; transition: border-color .2s, color .2s; }
.svc-jump a:hover { border-color: var(--gold); color: var(--gold-ink); }
.svc-list { display: grid; gap: clamp(64px, 9vw, 130px); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3.4; border-radius: var(--r-xl); background: var(--ink-2); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .7); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body > p { margin-top: 16px; font-size: 1.07rem; max-width: 50ch; }
.items { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.items li { display: grid; grid-template-columns: minmax(150px, .8fr) 1.2fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.items b { font-weight: 600; color: var(--fg); }
.items span { color: var(--fg-2); font-size: .97rem; }
.svc__body .link { margin-top: 24px; }

/* decor: materials, packages: policies */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { padding: 28px 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--surface-shadow); }
.tile .sw { display: block; width: 34px; height: 34px; margin-bottom: 20px; }
.tile__ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.tile__ico svg { width: 20px; height: 20px; }
.tile h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; color: var(--fg); }
.tile p { margin-top: 8px; font-size: .97rem; }

.contact--page { padding-top: clamp(64px, 8vw, 110px); }
.contact--page .contact__grid { margin-top: 0; }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .items li { grid-template-columns: 1fr; }
}

/* =========================================================
   DECOR PAGE: COLLECTION EXPLORER
   ========================================================= */
.cx-filters { display: grid; gap: 12px; }
.cx-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--surface-shadow);
}
.cx-glider {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 10px 24px -12px rgba(233, 185, 73, .9);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out), height .3s;
  pointer-events: none;
}
.cx-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s, opacity .3s;
}
.cx-chip:hover { color: var(--fg); }
.cx-chip.is-on { color: var(--ink); }
.cx-chip.is-empty:not(.is-on) { opacity: .5; }
.cx-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--line);
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background-color .3s;
}
.cx-chip.is-on .cx-count { background: rgba(15, 20, 56, .14); }
.cx-status { margin: 18px 0 26px; font-size: .93rem; color: var(--fg-2); }

.cx-grid {
  --cols: 4;
  --gap: 16px;
  --row: calc((min(100vw, var(--container)) - 2 * var(--gutter) - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: var(--row);
  grid-auto-flow: dense;
  gap: var(--gap);
}
.cx-card {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--r-l);
  background: none;
  color: #F5F4FB;
  text-align: left;
  cursor: zoom-in;
  perspective: 1000px;
}
.cx-card[hidden] { display: none; }
.cx-card--wide { grid-column: span 2; }
.cx-card--tall { grid-row: span 2; }
.cx-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.cx-card__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--ink-2);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .65);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.cx-card:hover .cx-card__inner { box-shadow: 0 36px 60px -30px rgba(0, 0, 0, .75); }
.cx-card__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), filter .5s;
}
.cx-card:hover .cx-card__inner img { transform: scale(1.08); }
.cx-card__glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .32), transparent 45%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.cx-card:hover .cx-card__glare { opacity: 1; }
.cx-card__info {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 56px 18px 16px;
  background: linear-gradient(transparent, rgba(6, 8, 26, .88));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s, transform .6s var(--ease-out);
}
.cx-card:hover .cx-card__info,
.cx-card:focus-visible .cx-card__info { opacity: 1; transform: none; }
.cx-card__info b { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.cx-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(233, 185, 73, .2); color: var(--gold-2); font-size: .74rem; font-weight: 600; }
.cx-card__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 8, 26, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0;
  transform: scale(.6) rotate(-90deg);
  transition: opacity .3s, transform .6s var(--ease-out);
}
.cx-card__zoom svg { width: 16px; height: 16px; }
.cx-card:hover .cx-card__zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .cx-card__info { opacity: 1; transform: none; padding-top: 40px; }
}
/* entrance: cards unveil upward one after another */
.ready .cx-card__inner { clip-path: inset(100% 0 0 0 round var(--r-l)); }
.ready .cx-grid:not(.is-in) .cx-card__inner img { transform: scale(1.3); }
.ready .cx-grid.is-in .cx-card__inner {
  clip-path: inset(0 0 0 0 round var(--r-l));
  transition: clip-path 1.1s var(--ease-out) calc(var(--i, 0) * 70ms), transform .6s var(--ease-out), box-shadow .5s;
}
.ready .cx-grid.is-in .cx-card__inner img { transition: transform 1.6s var(--ease-out) calc(var(--i, 0) * 70ms), filter .5s; }

.cx-empty {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(40px, 7vw, 80px) 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-l);
  text-align: center;
}
.cx-empty[hidden] { display: none; }
.cx-empty p { max-width: 44ch; font-size: 1.05rem; }

@media (max-width: 1024px) { .cx-grid { --cols: 3; } }
@media (max-width: 760px) {
  .cx-group { flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cx-group::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) { .cx-grid { --cols: 2; --gap: 10px; } }

/* =========================================================
   DECOR PAGE: PHOTO VIEWER
   ========================================================= */
.viewer {
  width: min(96vw, 1180px);
  height: min(92vh, 880px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: #070a22;
  color: #F5F4FB;
  overflow: hidden;
}
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; }
.viewer::backdrop { background: rgba(5, 7, 22, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.viewer-open { overflow: hidden; }
.viewer__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  background: radial-gradient(60% 60% at 50% 45%, rgba(233, 185, 73, .1), transparent 70%);
}
.viewer__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 3vw, 34px) clamp(12px, 7vw, 90px);
  user-select: none;
  -webkit-user-drag: none;
}
.viewer__nav, .viewer__close {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(10, 14, 42, .55);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .25s, transform .4s var(--ease-out), background-color .25s;
}
.viewer__nav { top: 50%; width: 52px; height: 52px; translate: 0 -50%; }
.viewer__nav svg, .viewer__close svg { width: 20px; height: 20px; }
.viewer__nav--prev { left: 16px; }
.viewer__nav--next { right: 16px; }
.viewer__nav:hover, .viewer__close:hover { border-color: var(--gold); background: rgba(10, 14, 42, .8); }
.viewer__nav--prev:hover { transform: translateX(-3px); }
.viewer__nav--next:hover { transform: translateX(3px); }
.viewer__close { top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; }
.viewer__close:hover { transform: rotate(90deg); }
.viewer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 18px clamp(16px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.viewer__meta { display: grid; gap: 4px; min-width: 0; }
.viewer__count { font-size: .82rem; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.viewer__title { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -.015em; }
.viewer__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.viewer__tags span { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: .76rem; color: #AEB3DA; }
.viewer__thumbs {
  display: flex;
  gap: 8px;
  padding: 0 clamp(16px, 3vw, 28px) 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.viewer__thumbs::-webkit-scrollbar { display: none; }
.viewer__thumb {
  flex: none;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #111640;
  cursor: pointer;
  opacity: .45;
  transition: opacity .3s, border-color .3s, transform .4s var(--ease-out);
}
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumb:hover { opacity: .85; transform: translateY(-2px); }
.viewer__thumb.is-on { opacity: 1; border-color: var(--gold); }
@media (max-width: 640px) {
  .viewer { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .viewer__nav { width: 42px; height: 42px; }
  .viewer__nav--prev { left: 8px; }
  .viewer__nav--next { right: 8px; }
  .viewer__img { padding: 56px 12px 12px; }
  .viewer__ask { width: 100%; }
}

/* =========================================================
   DECOR PAGE: REALISTIC STUDIO PREVIEWS
   Real gold, wood and canvas textures (Unsplash), layered
   edges for thickness, and soft shadows that match the room.
   ========================================================= */
.decor--real {
  --tex-gold: url("https://images.unsplash.com/photo-1545873509-33e944ca7655?auto=format&fit=crop&w=900&q=70");
  --tex-wood: url("https://images.unsplash.com/photo-1678794792916-e5cb1217bed1?auto=format&fit=crop&w=900&q=70");
  --tex-canvas: url("https://images.unsplash.com/photo-1643313262988-cdc5f50c6019?auto=format&fit=crop&w=700&q=70");
}
.decor--real .decor__stage[data-material="metal"] .ar {
  background: linear-gradient(118deg, rgba(255, 255, 255, .38) 0%, transparent 32%, transparent 64%, rgba(70, 42, 0, .38) 100%), var(--tex-gold) center / 170% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(.6px .6px 0 #c19432) drop-shadow(.6px .6px 0 #a07624) drop-shadow(.8px .8px 0 #7d5a14) drop-shadow(5px 9px 5px rgba(0, 0, 0, .55)) drop-shadow(14px 22px 18px rgba(0, 0, 0, .32));
}
.decor--real .decor__stage[data-material="acrylic"] .ar {
  background: linear-gradient(168deg, #62626e 0%, #1b1b22 26%, #08080b 52%, #1d1d25 78%, #45454f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(.5px .5px 0 #3a3a44) drop-shadow(.7px .7px 0 #0d0d11) drop-shadow(.9px .9px 0 #0d0d11) drop-shadow(5px 9px 5px rgba(0, 0, 0, .28)) drop-shadow(12px 20px 16px rgba(0, 0, 0, .16));
}
.decor--real .decor__stage[data-material="wood"] .ar {
  background: linear-gradient(118deg, rgba(255, 236, 205, .26) 0%, transparent 36%, rgba(45, 22, 6, .32) 100%), var(--tex-wood) center / 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(.7px .7px 0 #6e3f1d) drop-shadow(.7px .7px 0 #5b3317) drop-shadow(.9px .9px 0 #482911) drop-shadow(5px 9px 6px rgba(60, 35, 15, .42)) drop-shadow(12px 20px 18px rgba(60, 35, 15, .22));
}
.decor--real .decor__stage[data-material="canvas"] .piece__face {
  background: linear-gradient(rgba(22, 29, 80, .84), rgba(14, 19, 54, .9)), var(--tex-canvas) center / 360px auto;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .35), 7px 7px 0 #0b0f2e, 0 34px 44px -18px rgba(0, 0, 0, .55);
}
.decor--real .decor__stage[data-material="canvas"] .ar {
  background: linear-gradient(118deg, rgba(255, 255, 255, .25), transparent 40%), var(--tex-gold) center / 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4));
}
/* clocks: textured hands, dial and numerals */
.decor--real .decor__stage[data-material="metal"] :is(.clock__hand--h, .clock__hand--m, .clock__cap),
.decor--real .decor__stage[data-material="canvas"] :is(.clock__hand--h, .clock__hand--m, .clock__cap) { background: var(--tex-gold) center / cover; }
.decor--real .decor__stage[data-material="wood"] .clock {
  background: radial-gradient(circle, transparent 58%, rgba(40, 20, 5, .22) 100%), var(--tex-wood) center / cover;
  box-shadow: 5px 8px 0 -1px #5b3317, 0 34px 44px -20px rgba(50, 30, 10, .6);
}
.decor--real .decor__stage[data-material="wood"] .clock__nums li {
  background: none;
  -webkit-text-fill-color: #F7EAD0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55));
}
.decor--real .decor__stage[data-material="wood"] :is(.clock__hand--h, .clock__hand--m, .clock__cap) { background: var(--tex-gold) center / cover; }
.decor--real .decor__stage[data-material="canvas"] .clock {
  background: linear-gradient(rgba(22, 29, 80, .84), rgba(14, 19, 54, .9)), var(--tex-canvas) center / 300px auto;
  box-shadow: 0 0 0 1.6cqw #C9A24A, 0 40px 50px -24px rgba(0, 0, 0, .55);
}
/* a fine film grain over the whole wall so drawn pieces sit in the photo */
.decor--real .wall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* pieces settle onto the wall as if just hung */
.decor--real .piece { transform: translateY(-16px) scale(.985) rotate(-.6deg); }
.decor--real .piece.is-shown { transform: none; transition: opacity .5s ease .12s, transform 1.1s cubic-bezier(.2, 1.35, .4, 1) .12s; }
/* larger, statement-size pieces on the decor page */
.decor--real .ar--kursi { font-size: clamp(1.7rem, 9cqw, 3.9rem); }
.decor--real .ar--kalima { font-size: clamp(2rem, 10.6cqw, 4.6rem); }
.decor--real .ar--mashallah { font-size: clamp(3.4rem, 18cqw, 8rem); }
.decor--real .qul .ar { font-size: clamp(1.1rem, 5.2cqw, 2.2rem); }
@media (max-width: 640px) {
  .cx-card__info { gap: 4px; padding: 34px 10px 10px; }
  .cx-card__info b { font-size: .76rem; line-height: 1.25; }
  .cx-tag { display: none; }
  .cx-chip { height: 38px; padding: 0 13px; font-size: .88rem; }
}

/* =========================================================
   HOME: BRIEF DECOR COLLECTION (left-right reel)
   ========================================================= */
.reel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }
.reel-head p { margin-top: 18px; max-width: 54ch; font-size: clamp(1.03rem, 1.3vw, 1.18rem); }
.reel-ctrl { display: flex; gap: 10px; }
.reel-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(20, 26, 69, .16);
  background: #fff;
  color: var(--ink-text);
  cursor: pointer;
  box-shadow: 0 10px 24px -16px rgba(15, 20, 56, .5);
  transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease-out);
}
.reel-btn svg { width: 20px; height: 20px; }
.reel-btn:active { transform: scale(.92); }
@media (hover: hover) {
  .reel-btn:hover { background: var(--ink); color: var(--snow); border-color: var(--ink); }
  [data-reel-prev]:hover { transform: translateX(-3px); }
  [data-reel-next]:hover { transform: translateX(3px); }
}
.reel { --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.reel__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  margin: 0;
  padding: 8px var(--edge) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.reel__item { flex: 0 0 clamp(220px, 23vw, 300px); scroll-snap-align: start; }
.reel__card { display: block; color: inherit; -webkit-user-drag: none; user-select: none; }
.reel__card:focus-visible { outline: none; }
.reel__card:focus-visible .reel__media { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.reel__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--ink-2);
  box-shadow: 0 26px 44px -30px rgba(15, 20, 56, .6);
  transition: box-shadow .5s, transform .6s var(--ease-out);
}
.reel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  translate: calc(var(--p, 0) * -8%) 0;
  scale: 1.18;
  transition: scale 1.1s var(--ease-out);
  -webkit-user-drag: none;
  pointer-events: none;
}
.reel__go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  opacity: 0;
  transform: translateY(10px) scale(.7);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.reel__go svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .reel__card:hover .reel__media { transform: translateY(-6px); box-shadow: 0 36px 56px -30px rgba(15, 20, 56, .7); }
  .reel__card:hover .reel__media img { scale: 1.27; }
  .reel__card:hover .reel__go { opacity: 1; transform: none; }
}
.reel__info { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.reel__info b { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: var(--fg); }
.reel__info span { flex: none; font-size: .84rem; color: var(--fg-2); }
.reel-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.reel-progress { flex: 1 1 200px; max-width: 340px; height: 3px; border-radius: 3px; background: rgba(20, 26, 69, .12); overflow: hidden; }
.reel-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform-origin: left; transform: scaleX(.12); transition: transform .35s linear; }
/* entrance: pieces glide in from the right, one after another */
.ready .reel__item { opacity: 0; transform: translateX(70px); }
.ready .reel.is-in .reel__item { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
@media (max-width: 640px) {
  .reel-ctrl { display: none; }
  .reel__item { flex-basis: 68vw; }
}

/* =========================================================
   HOME: BRIEF PACKAGES
   ========================================================= */
.packlets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.packlet > a {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px 24px 22px;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--surface-shadow);
  transition: transform .55s var(--ease-out), border-color .4s, box-shadow .55s;
}
.packlet > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(233, 185, 73, .2), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}
.packlet > a:active { transform: scale(.98); }
.packlet__for { padding-right: 48px; font-size: .85rem; font-weight: 600; color: var(--gold-ink); }
.packlet h3 { padding-right: 48px; font-size: clamp(1.18rem, 1.6vw, 1.38rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--fg); }
.packlet p { font-size: .95rem; line-height: 1.5; }
.packlet__go {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--fg);
  transition: background-color .35s, color .35s, border-color .35s, transform .55s var(--ease-out);
}
.packlet__go svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .packlet > a:hover { transform: translateY(-6px); border-color: rgba(233, 185, 73, .55); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55); }
  .packlet > a:hover::before { opacity: 1; }
  .packlet > a:hover .packlet__go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translate(2px, -2px); }
}
.packlet--feature > a {
  background: radial-gradient(120% 90% at 100% 0%, rgba(233, 185, 73, .26), transparent 60%), linear-gradient(160deg, #232b6c, #141a49);
  border-color: rgba(233, 185, 73, .45);
}
.packlet--feature .packlet__for { color: var(--gold); }
.packlet--feature h3 { color: #F5F4FB; }
.packlet--feature p { color: #AEB3DA; }
.packlet--feature .packlet__go { border-color: rgba(255, 255, 255, .22); color: #F5F4FB; }
.packlets-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; margin-top: 28px; }
.assure { display: flex; flex-wrap: wrap; gap: 10px; }
.assure li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 500; color: var(--fg); }
.assure svg { width: 16px; height: 16px; color: var(--gold-ink); }
/* entrance: cards flip up into place, then the promises pop in */
.ready .packlet { opacity: 0; transform: translateY(46px) rotateX(-16deg); transform-origin: 50% 0; }
.ready .packlets.is-in .packlet { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.ready .assure li { opacity: 0; transform: scale(.85); }
.ready .assure.is-in li { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .7s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(.2s + var(--i, 0) * 110ms); }
@media (max-width: 960px) { .packlets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .packlets { grid-template-columns: 1fr; gap: 10px; }
  .packlet > a { padding: 18px 18px 16px; }
  .packlets-foot .btn { width: 100%; }
}

/* =========================================================
   LOGO: Heritage Blue badge (menu bar + footer)
   On page load the rim draws itself and "Nazir" is painted on;
   on hover the badge lifts and a light passes over the lettering.
   ========================================================= */
.brand__logo { display: block; flex: none; height: 48px; }
.brand__logo svg, .brand__logo img { display: block; width: auto; height: 100%; overflow: visible; }
.brand__logo .lg-badge { transform-box: fill-box; transform-origin: center; transition: transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.brand:hover .brand__logo .lg-badge { transform: scale(1.05) rotate(-2deg); }
.footer .brand__logo { height: 58px; }

.js:not(.is-loaded) .nav .brand__logo svg { opacity: 0; }
.is-loaded .nav .brand__logo .lg-badge { animation: logoIn 1s cubic-bezier(.2, 1.3, .4, 1) both; }
.is-loaded .nav .brand__logo .lg-rim { stroke-dasharray: var(--len) 9999px; animation: logoDraw 1.3s cubic-bezier(.65, 0, .35, 1) .15s both; }
.is-loaded .nav .brand__logo .lg-brush { stroke-dasharray: var(--len) 9999px; animation: logoDraw 1.3s cubic-bezier(.55, 0, .25, 1) .35s both; }
.is-loaded .nav .brand__logo .lg-depth { animation: logoDepth .7s var(--ease-out) 1.3s both; }
.is-loaded .nav .brand__logo .lg-shine { animation: logoShine 1.2s cubic-bezier(.4, 0, .2, 1) 1.7s both; }
.brand:hover .brand__logo .lg-shine { animation: logoShine 1s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(-6deg); } }
/* --len and --off sit on each stroke in the page: its real length, and a start point just past it */
@keyframes logoDraw { from { stroke-dashoffset: var(--off); } to { stroke-dashoffset: 0; } }
@keyframes logoDepth { from { opacity: 0; transform: translate(-12px, -14px); } }
@keyframes logoShine { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(2900px); } }

@media (max-width: 520px) {
  .brand__logo { height: 40px; }
}
/* =========================================================
   LOGO INTRO (loading screen)
   First page of each visit only. The full logo animates in,
   then flies into the menu-bar badge while the page fades in.
   ========================================================= */
.logo-intro { display: none; }
.intro-on .logo-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  cursor: pointer;
  animation: introSafety .5s ease 5s forwards;   /* never stays up, even if a script fails */
}
.intro-on body { overflow: hidden; }
.logo-intro__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 50% 46%, rgba(103, 86, 222, .3), transparent 70%),
    radial-gradient(30% 30% at 50% 60%, rgba(233, 185, 73, .1), transparent 70%),
    var(--page);
}
.logo-intro__logo { position: relative; width: min(660px, 84vw); }
.logo-intro__svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 0 0; }
.logo-intro .lg-ground { animation: introFade 1s ease .2s both; }
.logo-intro .lg-badge { transform-box: fill-box; transform-origin: center; animation: introBadge 1s cubic-bezier(.2, 1.3, .4, 1) .1s both; }
.logo-intro .lg-rim { stroke-dasharray: var(--len) 9999px; animation: logoDraw 1.3s cubic-bezier(.65, 0, .35, 1) .2s both; }
.logo-intro .lg-rim--inner { animation-delay: .35s; }
.logo-intro .lg-brush { stroke-dasharray: var(--len) 9999px; animation: logoDraw 1.3s cubic-bezier(.55, 0, .25, 1) .45s both; }
.logo-intro .lg-depth { animation: logoDepth .7s var(--ease-out) 1.45s both; }
.logo-intro .lg-arcmask { stroke-dasharray: var(--len) 9999px; animation: logoDraw 1.1s cubic-bezier(.45, 0, .2, 1) 1.2s both; }
.logo-intro .lg-shine { animation: logoShine 1.1s cubic-bezier(.4, 0, .2, 1) 2.05s both; }
@keyframes introBadge { from { opacity: 0; transform: scale(.8) rotate(-3deg); } }
@keyframes introFade { from { opacity: 0; } }
@keyframes introSafety { to { opacity: 0; visibility: hidden; } }
/* after the intro the menu-bar badge is simply there: no second paint-on */
.intro-played .nav .brand__logo :is(.lg-badge, .lg-rim, .lg-brush, .lg-depth, .lg-shine) { animation: none !important; }

/* =========================================================
   TOUCH SCREENS (no mouse): the hover effects get a version
   that runs by itself or follows the finger
   ========================================================= */
@media (hover: none), (pointer: coarse) {
  /* hanging sign sways like it is in a light breeze; a finger on it tilts it (main.js) */
  .sign { transform-origin: 50% -64px; }
  .is-loaded .sign { animation: signSway 5.2s ease-in-out 3.2s infinite alternate; }
  /* a light passes over the logo every few seconds */
  .is-loaded .nav .brand__logo .lg-shine { animation: logoShine 1.2s cubic-bezier(.4, 0, .2, 1) 1.7s both, logoGlint 9s cubic-bezier(.4, 0, .2, 1) 8s infinite; }
  .intro-played .nav .brand__logo .lg-shine { animation: logoGlint 9s cubic-bezier(.4, 0, .2, 1) 4s infinite !important; }
  /* decor gallery: a light sweeps each piece as it reaches the middle of the screen */
  .cx-card__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .28) 48%, transparent 60%);
    transform: translateX(-100%);
    pointer-events: none;
  }
  .cx-card.is-mid .cx-card__inner::after { animation: sheen 1.4s var(--ease-out) .1s both; }
  .cx-card.is-held .cx-card__glare { opacity: 1; }
}
@keyframes signSway { 0% { rotate: 0deg; } 25% { rotate: -.9deg; } 75% { rotate: .9deg; } 100% { rotate: 0deg; } }
@keyframes logoGlint { 0% { transform: skewX(-18deg) translateX(0); } 13%, 100% { transform: skewX(-18deg) translateX(2900px); } }

/* =========================================================
   REDUCED MOTION
   Phones switch this on for "Reduce motion" or "Remove
   animations", and some do it in battery saver. Large or
   endless movement stops; gentle fades and the logo drawing stay.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html, .reel__track { scroll-behavior: auto; }

  /* entrances fade in place */
  .js .intro, .js .ln > .intro { opacity: 0; transform: none; }
  .js .range { transform: none; }
  .is-loaded .intro, .is-loaded .range { animation-name: calmIn; }
  .ready .reveal, .ready .reel__item, .ready .packlet, .ready .assure li, .ready .map .map__town { transform: none; }
  .ready .cx-card__inner { clip-path: none; opacity: 0; }
  .ready .cx-grid.is-in .cx-card__inner { clip-path: none; opacity: 1; transition: opacity 1s ease calc(var(--i, 0) * 70ms), box-shadow .5s; }
  .ready .cx-grid:not(.is-in) .cx-card__inner img { transform: none; }
  .card__visual--photo img, .card__visual--photo.is-in img, .card:hover .card__visual--photo.is-in img { transform: none; }
  .room { transform: none; }

  /* the sign lights up smoothly, without flicker, and its notes fade in */
  .is-loaded .sign__letters span::after, .is-loaded .sign__letters span:nth-last-child(2)::after { animation: calmIn 1.4s ease var(--d) forwards; }
  .is-loaded .note--a { animation: calmIn .9s ease 2.3s forwards; }
  .is-loaded .note--b { animation: calmIn .9s ease 2.5s forwards; }

  /* endless movement stops; the services strip can be swiped instead */
  .hero__aurora, .pulse::after, .fab::before, .marquee__track, .v-medal__star, .pack--feature::after,
  .card__visual.is-in .v-glass::after, .map.is-in .map__routes path, .map__home .map__ping, .is-loaded .sign { animation: none; }
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
  .sign, .card { transform: none !important; }

  /* logo: the rim and lettering still draw themselves */
  .is-loaded .nav .brand__logo .lg-badge, .logo-intro .lg-badge { animation-name: introFade; }
  .is-loaded .nav .brand__logo .lg-depth, .logo-intro .lg-depth { animation-name: introFade; }
  .is-loaded .nav .brand__logo .lg-shine, .brand:hover .brand__logo .lg-shine, .logo-intro .lg-shine { animation: none !important; }
  .brand:hover .brand__logo .lg-badge { transform: none; }
}
@keyframes calmIn { to { opacity: 1; } }
