:root {
  color-scheme: dark;
  --black: #080808;
  --ink: #151515;
  --cream: #f7f3eb;
  --paper: #fffaf1;
  --muted: #c9c6be;
  --line: rgba(255, 250, 241, 0.18);
  --gold: #d8b96f;
  --gold-soft: #f0dfaa;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 185, 111, 0.22), transparent 34rem),
    linear-gradient(145deg, #080808 0%, #171719 52%, #070707 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 78%);
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(1.25rem, 5vw, 3rem);
  place-items: center;
}

.brand-panel {
  width: min(100%, 31rem);
  padding: clamp(1.35rem, 5vw, 2.25rem);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.76);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.logo-lockup {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.85rem;
}

.logo-lockup img {
  display: block;
  width: min(100%, 22rem);
  height: auto;
}

h1 {
  margin: 0.55rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.18rem;
  font-weight: 600;
  line-height: 1;
}

.arabic-line {
  margin: 0.55rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.branches {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.branch-link {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: var(--paper);
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.branch-link:hover,
.branch-link:focus-visible {
  border-color: rgba(216, 185, 111, 0.64);
  background: linear-gradient(145deg, rgba(216, 185, 111, 0.18), rgba(255, 255, 255, 0.052));
  outline: none;
  transform: translateY(-1px);
}

.branch-link strong,
.branch-link small {
  display: block;
}

.branch-link strong {
  font-size: 1.03rem;
  font-weight: 700;
}

.branch-link small {
  margin-top: 0.22rem;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.arrow {
  flex: 0 0 auto;
  padding: 0.48rem 0.72rem;
  color: var(--ink);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-note {
  margin: 1.35rem auto 0;
  max-width: 24rem;
  color: rgba(247, 243, 235, 0.68);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 420px) {
  .page-shell {
    align-items: start;
    padding: 1rem;
  }

  .brand-panel {
    margin-top: 0.35rem;
  }

  h1 {
    font-size: 1.82rem;
  }

  .branch-link {
    min-height: 4.35rem;
    padding: 0.84rem 0.86rem;
  }

  .arrow {
    padding-inline: 0.6rem;
  }
}
