:root {
  --bg: #090609;
  --plum: #1d0d18;
  --magenta: #8b145d;
  --magenta-bright: #ca2b8e;
  --gold: #d2a84a;
  --gold-soft: #f2db9a;
  --ivory: #fffaf0;
  --muted: #d9cfc7;
  --shadow: rgba(0, 0, 0, 0.52);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 18%, rgba(210, 168, 74, .12), transparent 24%),
    radial-gradient(circle at 50% 74%, rgba(139, 20, 93, .16), transparent 36%),
    radial-gradient(circle at 50% 38%, rgba(61, 28, 49, .58), transparent 47%),
    linear-gradient(145deg, #050405 0%, var(--plum) 52%, #070507 100%);
  font-family: "Noto Naskh Arabic", "Noto Nastaliq Urdu", "Segoe UI", Tahoma, Arial, serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  background-image:
    linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.011) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 84%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 48%, rgba(0,0,0,.42) 100%);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  right: 1rem;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  border-radius: .6rem;
  color: #111;
  background: var(--gold-soft);
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(2.25rem, 4vw, 4.5rem) 1.25rem clamp(2.5rem, 5vw, 5rem);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: min(54vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(92px);
  opacity: .2;
  pointer-events: none;
}
.ambient-gold {
  top: -24%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(226, 180, 79, .78), transparent 69%);
  animation: breathe-gold 12s ease-in-out infinite alternate;
}
.ambient-magenta {
  right: -18%;
  bottom: -27%;
  background: radial-gradient(circle, rgba(193, 31, 127, .8), transparent 69%);
  animation: breathe-magenta 14s ease-in-out infinite alternate;
}

.coming-soon {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
  padding: clamp(.75rem, 1.6vw, 1.5rem);
}

.spiritual-line {
  margin: 0 auto clamp(1.35rem, 2.6vw, 2rem);
  color: var(--gold-soft);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  line-height: 2;
  letter-spacing: .01em;
  text-shadow: 0 0 22px rgba(210, 168, 74, .36);
}

.emblem-wrap {
  position: relative;
  display: block;
  width: min(53vw, 330px);
  margin: 0 auto clamp(1.45rem, 2.4vw, 2rem);
  filter: drop-shadow(0 22px 42px var(--shadow));
}
.emblem-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,219,154,.26) 0%, rgba(210,168,74,.12) 42%, transparent 72%);
  filter: blur(24px);
  transform: scale(1.2);
}
.emblem {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(242, 219, 154, .2),
    0 0 48px rgba(210, 168, 74, .2),
    0 0 86px rgba(139, 20, 93, .13);
}

.official-identity {
  margin-bottom: clamp(.8rem, 1.5vw, 1.05rem);
}
.honorific,
.identity {
  margin: 0;
  color: var(--gold-soft);
  text-shadow: 0 0 18px rgba(210, 168, 74, .16);
}
.honorific {
  font-size: clamp(1.4rem, 2.38vw, 1.79rem);
  line-height: 1.48;
  opacity: .92;
}
.identity {
  margin-top: .12rem;
  font-size: clamp(1.93rem, 3.78vw, 2.73rem);
  line-height: 1.5;
}

.main-heading {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.34rem, 6.31vw, 4.88rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.042em;
  color: var(--ivory);
  text-wrap: balance;
  text-shadow:
    0 3px 24px rgba(0,0,0,.52),
    0 0 50px rgba(242, 219, 154, .08);
}

.supporting-line {
  max-width: 780px;
  margin: clamp(1.5rem, 3vw, 2.15rem) auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.25vw, 1.38rem);
  line-height: 2.05;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3.3vw, 2.4rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 54px;
  min-width: min(100%, 340px);
  padding: .88rem 1.85rem 1rem;
  border: 1px solid rgba(242,219,154,.38);
  border-radius: 999px;
  font-size: clamp(1.02rem, 1.7vw, 1.17rem);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #711047, var(--magenta), #61103f);
  box-shadow: 0 12px 32px rgba(139,20,93,.3), inset 0 1px rgba(255,255,255,.12);
}
.button:hover { transform: translateY(-2px); }
.button-primary:hover { box-shadow: 0 16px 38px rgba(202,43,142,.33); }
.button:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}
.button-icon { color: var(--gold-soft); font-size: .9em; }

.contact-link {
  color: rgba(242, 219, 154, .76);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(.94rem, 1.7vw, 1.03rem);
  text-underline-offset: .3em;
  text-decoration-color: rgba(242,219,154,.34);
}
.contact-link:hover { color: #fff4ce; }

@keyframes breathe-gold {
  from { opacity: .15; }
  to { opacity: .23; }
}
@keyframes breathe-magenta {
  from { transform: translate3d(0, 0, 0) scale(.96); opacity: .16; }
  to { transform: translate3d(-3%, -2%, 0) scale(1.07); opacity: .24; }
}

@media (min-height: 980px) {
  .page-shell { justify-content: center; }
}

@media (max-width: 560px) {
  .page-shell {
    padding: max(2.3rem, env(safe-area-inset-top)) 1rem max(2.3rem, env(safe-area-inset-bottom));
  }
  .coming-soon { padding-inline: .25rem; }
  .spiritual-line {
    margin-bottom: 1.55rem;
    font-size: clamp(1.05rem, 4.8vw, 1.28rem);
  }
  .emblem-wrap {
    width: min(73vw, 285px);
    margin-bottom: 1.35rem;
  }
  .official-identity { margin-bottom: .75rem; }
  .honorific { font-size: 1.4rem; }
  .identity { font-size: clamp(1.85rem, 8.4vw, 2.27rem); }
  .main-heading {
    font-size: clamp(2.31rem, 10.74vw, 3.32rem);
    line-height: .99;
    letter-spacing: -.05em;
  }
  .supporting-line {
    margin-top: 1.45rem;
    font-size: clamp(1.02rem, 4.7vw, 1.22rem);
  }
  .desktop-break { display: none; }
  .actions { margin-top: 1.55rem; }
  .button {
    width: min(100%, 370px);
    min-height: 49px;
    padding: .7rem 1.25rem .82rem;
    font-size: clamp(1rem, 4.3vw, 1.1rem);
  }
}

@media (max-height: 760px) and (min-width: 700px) {
  .page-shell { padding-block: 1rem 1.8rem; }
  .coming-soon { padding-block: .25rem; }
  .spiritual-line { margin-bottom: .6rem; }
  .emblem-wrap {
    width: min(25vh, 210px);
    margin-bottom: .65rem;
  }
  .official-identity { margin-bottom: .45rem; }
  .honorific { font-size: 1.32rem; }
  .identity { font-size: 1.85rem; }
  .main-heading { font-size: clamp(2.71rem, 5.74vw, 4.1rem); }
  .supporting-line {
    margin-top: .8rem;
    font-size: 1.08rem;
    line-height: 1.8;
  }
  .actions {
    margin-top: .9rem;
    gap: .65rem;
  }
  .button {
    min-height: 47px;
    padding-block: .62rem .72rem;
  }
}

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