@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;700&display=swap');

:root {
  --ink: #26171a;
  --ink-deep: #1c1013;
  --rose: #eb879c;
  --soft: #ffb6c1;
  --text: #f7eaed;
  --dim: #cdb1b7;
  --line: rgba(255, 182, 193, 0.2);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.1);
  --r: 4px;
  --sans: 'Noto Sans Arabic', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --serif: 'Noto Naskh Arabic', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --sh: 0 2px 4px rgba(0, 0, 0, 0.35), 0 12px 28px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(880px 520px at 92% -8%, rgba(235, 135, 156, 0.24), transparent 62%),
    radial-gradient(680px 430px at -8% 22%, rgba(255, 182, 193, 0.14), transparent 58%);
  background-repeat: no-repeat;
}

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

a {
  color: var(--soft);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--soft);
  outline-offset: 3px;
}

.ticker {
  padding: 9px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: linear-gradient(90deg, var(--rose), var(--soft));
}

.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(38, 23, 26, 0.76);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--rose);
  font-family: var(--serif);
  font-size: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mark img {
  width: 26px;
  height: 26px;
}

.bar-name {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.burger {
  margin-left: auto;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft), var(--rose));
  border: 0;
  border-radius: var(--r);
  cursor: pointer;
  box-shadow: var(--sh);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.burger:active {
  transform: translateY(1px);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  background: rgba(28, 16, 19, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.menu-open .drawer {
  visibility: visible;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

.drawer-in {
  max-width: 560px;
  margin: 0 auto;
  padding: 96px 22px 60px;
}

.drawer-brand {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--rose);
}

.drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 10px 4px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer-nav a:hover {
  color: var(--soft);
  padding-left: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 36px;
  max-width: 1140px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 58px 20px 44px;
}

.hero-copy::before {
  content: '';
  display: block;
  width: 64px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: var(--r);
  background: linear-gradient(90deg, var(--rose), var(--soft));
}

.hero h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 54px);
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-art {
  margin: 0;
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--sh);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-img {
  width: 100%;
  border-radius: var(--r);
}

.logo-img {
  width: 120px;
  margin: 0 auto;
}

.hero-blob {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 182, 193, 0.42), rgba(235, 135, 156, 0.15) 58%, transparent 72%);
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft), var(--rose));
  box-shadow: var(--sh);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 16px 34px rgba(235, 135, 156, 0.3);
}

.band {
  max-width: 1140px;
  height: 16px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--rose), var(--soft));
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 100%);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  align-items: start;
  gap: 44px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 20px 68px;
}

.rail {
  position: sticky;
  top: 86px;
  padding: 20px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--sh);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.rail h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.rail hr {
  height: 1px;
  margin: 12px 0;
  border: 0;
  background: var(--line);
}

.rail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 10px;
  font-size: 16px;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rail-nav a:hover {
  color: var(--soft);
  background: var(--glass-2);
  border-color: var(--line);
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 10px;
  font-size: 16px;
  color: var(--dim);
}

.to-top:hover {
  color: var(--soft);
}

.body {
  min-width: 0;
}

.body div {
  scroll-margin-top: 92px;
  margin-bottom: 26px;
  padding: 26px 24px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 182, 193, 0.13);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22), 0 10px 24px rgba(0, 0, 0, 0.16);
}

.body h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.36;
  font-weight: 600;
  color: #fff;
}

.body h3 {
  margin: 26px 0 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--soft);
}

.body p {
  margin: 0 0 16px;
  color: #ecdde0;
}

.body p:last-child {
  margin-bottom: 0;
}

.body ul,
.body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.body li {
  margin-bottom: 8px;
}

.body a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.body a:hover {
  color: #fff;
}

.body strong {
  color: #fff;
}

.body blockquote {
  margin: 0 0 18px;
  padding: 12px 18px;
  border-left: 3px solid var(--rose);
  background: rgba(255, 182, 193, 0.08);
}

.body hr {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: var(--line);
}

.body figure {
  margin: 0 0 18px;
}

.body img {
  border-radius: var(--r);
}

.foot-cta {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 46px;
  text-align: center;
}

.foot-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 42px;
  border-radius: var(--r);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft), var(--rose));
  box-shadow: var(--sh);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.foot-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 16px 34px rgba(235, 135, 156, 0.3);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 22px 20px;
  border-top: 1px solid var(--line);
  background: rgba(28, 16, 19, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.foot-mark .mark {
  width: 40px;
  height: 40px;
}

.foot-nav {
  flex: 1 1 320px;
}

.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px;
  font-size: 16px;
  color: var(--dim);
  border-radius: var(--r);
  transition: background 0.2s ease, color 0.2s ease;
}

.foot-nav a:hover {
  color: var(--soft);
  background: var(--glass);
}

.foot-copy {
  margin-left: auto;
  font-size: 16px;
  color: var(--dim);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding-top: 40px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 32px;
  }

  .rail {
    position: static;
  }

  .foot-copy {
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .bar-name {
    display: none;
  }

  .body div {
    padding: 20px 16px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
