/* King Tut Stone — NFC experience. Identity sampled from the printed card:
   champagne gold #E2CC93 on obsidian marble #0A0B0A. */

:root {
  --void: #08090a;
  --ink: #0c0e0f;
  --ink-soft: #121417;
  --gold: #d9be79;
  --gold-lit: #f0dfae;
  --gold-deep: #a9853f;
  --stone: #e8e2d6;
  --muted: #9c9686;
  --line: rgba(217, 190, 121, 0.26);
  --line-soft: rgba(217, 190, 121, 0.13);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --display: "Marcellus", "Times New Roman", serif;
  --ui: "Jost", "Avenir Next", sans-serif;
  --ar: "Cairo", "Noto Kufi Arabic", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  background: var(--void);
  color: var(--stone);
  font-family: var(--ui);
  font-weight: 300;
  letter-spacing: 0.012em;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- fixed gold hairline frame + corner diamonds ---------- */
.frame {
  position: fixed;
  inset: 10px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
  z-index: 40;
}
.frame::before,
.frame::after,
.frame i::before,
.frame i::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(217, 190, 121, 0.5);
}
.frame::before { top: -5px; left: -5px; }
.frame::after { top: -5px; right: -5px; }
.frame i::before { bottom: -5px; left: -5px; }
.frame i::after { bottom: -5px; right: -5px; }

/* ---------- backdrop ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 90% at 15% 0%, #16181c 0%, #0a0b0c 45%, #060607 100%);
}
.backdrop .tex {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: saturate(0.7) contrast(1.05);
}
.backdrop .veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(217, 190, 121, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.35) 0%, rgba(6, 6, 7, 0.82) 60%, #060607 100%);
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: 41;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shell ---------- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
main { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px) 0 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.34em;
  color: var(--gold-lit);
}
.brand span {
  display: block;
  font-family: var(--ar);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  direction: rtl;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.nav a em {
  display: block;
  font-family: var(--ar);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.65;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-lit); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

/* ---------- bilingual type ---------- */
.en { display: block; font-family: var(--display); font-weight: 400; }
.ar {
  display: block;
  font-family: var(--ar);
  direction: rtl;
  color: var(--gold);
  opacity: 0.82;
  font-weight: 400;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--line); }
.eyebrow .ar { font-size: 11px; letter-spacing: 0; text-transform: none; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(34px, 7vh, 90px) 0 clamp(40px, 8vh, 96px);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 8.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero h1 .li2 { padding-left: 0.14em; color: var(--gold-lit); }
.hero h1 .li3 { padding-left: 0.28em; }
.hero h1 i { font-style: italic; color: var(--gold); }
.hero .sub { margin-top: 22px; max-width: 34ch; }
.hero .sub .en { font-size: clamp(15px, 1.7vw, 19px); letter-spacing: 0.02em; color: #ddd6c7; }
.hero .sub .ar { margin-top: 8px; font-size: clamp(13px, 1.4vw, 15px); }

.seal { position: relative; display: grid; place-items: center; }
.seal .ring {
  position: absolute;
  width: clamp(230px, 34vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(217, 190, 121, 0.55) 78%, transparent 92%);
  filter: blur(9px);
  animation: spin 14s linear infinite;
}
.seal .ring2 {
  position: absolute;
  width: clamp(262px, 38vw, 486px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
}
.seal img.seal-img {
  position: relative;
  width: clamp(210px, 31vw, 400px);
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.85));
  animation: float 9s var(--ease) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }

.ticker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.chip {
  border: 1px solid var(--line);
  padding: 7px 14px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- doors / slabs ---------- */
.doors { padding-bottom: clamp(40px, 8vh, 84px); }
.doors > .eyebrow { margin-bottom: 22px; }
.door {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  padding: clamp(20px, 3.4vw, 34px) clamp(16px, 3vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: linear-gradient(100deg, rgba(20, 22, 25, 0.86), rgba(10, 11, 12, 0.6));
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.door + .door { margin-top: 16px; }
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(240, 223, 174, 0.16) 48%, transparent 62%);
  transform: translateX(-110%);
  transition: transform 0.9s var(--ease);
}
.door:hover { border-color: rgba(217, 190, 121, 0.55); transform: translateY(-3px); box-shadow: var(--shadow); }
.door:hover::after { transform: translateX(110%); }
.door .num {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.door .txt .en { font-size: clamp(21px, 3vw, 34px); color: #fff; }
.door .txt .ar { margin-top: 7px; font-size: clamp(12px, 1.5vw, 15px); }
.door .txt .hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.door .go {
  display: grid;
  place-items: center;
  width: clamp(46px, 6vw, 62px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-lit);
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.door:hover .go { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }

/* ---------- quick contact strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.strip a {
  padding: clamp(18px, 3vw, 26px) 10px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  transition: background 0.5s var(--ease);
}
.strip a:last-child { border-right: 0; }
.strip a:hover { background: rgba(217, 190, 121, 0.06); }
.strip svg { width: 18px; height: 18px; stroke: var(--gold); margin-inline: auto; }
.strip .en { margin-top: 10px; font-family: var(--ui); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #e6dfd0; }
.strip .ar { margin-top: 4px; font-size: 11px; }

/* ---------- footer ---------- */
footer {
  padding: clamp(34px, 6vh, 64px) 0 46px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: end;
}
footer .addr .en { font-size: 15px; color: #ded7c8; }
footer .addr .ar { font-size: 12.5px; margin-top: 5px; }
footer .soc { display: flex; gap: 22px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
footer .soc a:hover { color: var(--gold-lit); }
.legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6a5f;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--gold-lit), var(--gold) 55%, var(--gold-deep));
  color: #0b0b0c;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(217, 190, 121, 0.6); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: none; color: var(--gold-lit); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); box-shadow: none; }
.btn small { font-family: var(--ar); text-transform: none; letter-spacing: 0; font-size: 11px; opacity: 0.75; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (scripting: none) { [data-reveal] { opacity: 1; transform: none; } }
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .seal .ring, .seal img.seal-img { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 26px; }
  .seal { order: -1; margin-bottom: 6px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip a { border-bottom: 1px solid var(--line-soft); }
  footer { grid-template-columns: 1fr; }
  .door { grid-template-columns: 54px 1fr; }
  .door .go { grid-column: 2; justify-self: start; }
  .nav { gap: 14px; }
}
@media (max-width: 560px) {
  .frame { inset: 6px; }
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: 12px; letter-spacing: 0.26em; }
  .nav a em { display: none; }
}

@media (max-width: 560px) {
  .topbar { flex-wrap: wrap; gap: 8px 14px; align-items: flex-start; }
  .brand { gap: 9px; }
  .brand img { width: 30px; height: 30px; }
  .brand b { font-size: 10.5px; letter-spacing: 0.14em; white-space: nowrap; }
  .brand span { font-size: 9px; }
  .nav { width: 100%; gap: 16px; padding-left: 2px; }
  .nav a { font-size: 9.5px; letter-spacing: 0.1em; }
  .eyebrow { letter-spacing: 0.3em; font-size: 9.5px; }
  .eyebrow .ar { font-size: 10px; }
}
