:root {
  --ivory: #f5f0e6;
  --ivory-deep: #eee6d7;
  --forest: #123b32;
  --forest-deep: #0b2a24;
  --ink: #17342e;
  --stone: #d9d0c0;
  --gold: #b69858;
  --gold-light: #d3bd86;
  --muted: #66756f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 74% 4%, rgba(255,255,255,.76), transparent 35%), linear-gradient(135deg, var(--ivory), #f8f4ec 52%, var(--ivory-deep));
}
.paper-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .22; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}
.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(182,152,88,.35); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--forest-deep); }
.brand-word { font-family: "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: 41px; font-weight: 700; line-height: 1; }
.brand-mark { position: relative; width: 36px; height: 34px; display: block; }
.brand-mark::before { content: ""; position: absolute; right: 15px; top: 0; width: 8px; height: 19px; background: linear-gradient(#c5a255,#957332); transform: skewY(-22deg); }
.brand-mark i { position: absolute; left: 2px; bottom: 6px; width: 30px; height: 1.5px; background: var(--gold); transform-origin: right; transform: rotate(-23deg); border-radius: 9px; }
.brand-mark i:last-child { bottom: 1px; left: 7px; width: 26px; transform: rotate(-9deg); }
.main-nav { display: flex; align-items: center; gap: 42px; color: #3d514b; font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; padding-block: 10px; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; width: 0; height: 1px; background: var(--gold); transition: width 220ms ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.header-contact { min-width: 142px; padding: 13px 23px; border: 1px solid var(--gold); border-radius: 999px; color: #8a6b31; text-align: center; font-size: 14px; font-weight: 700; transition: 220ms ease; }
.header-contact:hover, .header-contact:focus-visible { background: var(--gold); color: #fff; }

.hero-layout { min-height: calc(100svh - 104px); display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.9fr); align-items: center; gap: 32px; padding-block: 64px 104px; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; animation: copy-in 650ms cubic-bezier(.2,.75,.3,1) both; }
.status-pill { width: fit-content; display: flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 10px 17px; border: 1px solid rgba(182,152,88,.62); border-radius: 999px; color: #5a665f; background: rgba(255,255,255,.28); font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(182,152,88,.12); animation: status-pulse 2.2s ease-in-out infinite; }
.hero h1 { margin: 0; color: var(--forest-deep); font-family: "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: clamp(62px,6.5vw,96px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.hero-lead { max-width: 590px; margin: 28px 0 0; color: #52635d; font-size: clamp(17px,1.45vw,21px); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.primary-button { min-width: 218px; height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding-inline: 28px; border-radius: 5px; background: linear-gradient(135deg,var(--forest-deep),#154c40); color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(11,42,36,.14); transition: transform 220ms ease, box-shadow 220ms ease; }
.primary-button span { color: var(--gold-light); font-size: 22px; transition: transform 220ms ease; }
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(11,42,36,.22); }
.primary-button:hover span { transform: translateX(-5px); }
.launch-note { color: #78817d; font-size: 13px; }

.hero-visual { position: relative; align-self: stretch; min-height: 560px; margin-left: min(-5vw,-38px); animation: visual-in 850ms 120ms cubic-bezier(.2,.75,.3,1) both; }
.hero-image { position: absolute; inset: -20px -5% -50px -13%; background-image: linear-gradient(90deg,rgba(245,240,230,0) 63%,var(--ivory) 100%), linear-gradient(180deg,rgba(245,240,230,.08),rgba(245,240,230,.34)), url("/sirat-hero-asset.png"); background-size: cover; background-position: 38% center; mix-blend-mode: multiply; mask-image: linear-gradient(90deg,#000 0%,#000 72%,transparent 100%); }
.route-line { position: absolute; left: -4%; bottom: 15%; width: 70%; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),transparent); transform: rotate(-8deg); transform-origin: left; opacity: .75; animation: route-draw 1.2s 400ms ease both; }
.route-line-two { bottom: 9%; left: 7%; width: 54%; opacity: .4; transform: rotate(-14deg); }
.visual-caption { position: absolute; left: 3%; bottom: 4%; display: flex; align-items: center; gap: 12px; color: #78817d; font-size: 11px; letter-spacing: .08em; }
.visual-caption b { display: block; width: 42px; height: 1px; background: var(--gold); }
.scroll-cue { position: absolute; right: 50%; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 13px; color: #7a817e; font-size: 11px; transform: translateX(50%); }
.scroll-cue i { position: relative; width: 24px; height: 38px; border: 1px solid rgba(182,152,88,.75); border-radius: 20px; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 6px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: scroll-dot 1.8s ease-in-out infinite; }

.vision-section { padding: 128px 0 132px; background: #fbf8f2; }
.vision-intro { display: grid; grid-template-columns: .5fr 1.5fr; gap: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--stone); }
.eyebrow { margin: 7px 0 0; color: #98783b; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.vision-intro h2, .contact-card h2 { margin: 0; color: var(--forest-deep); font-family: "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: clamp(42px,4.8vw,70px); font-weight: 700; line-height: 1.15; }
.vision-intro div > p { max-width: 780px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.95; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); border-inline-start: 1px solid var(--stone); }
.value-card { min-height: 290px; padding: 44px 36px; border-inline-end: 1px solid var(--stone); }
.value-card > span { color: var(--gold); font-family: Georgia,serif; font-size: 13px; }
.value-card h3 { margin: 68px 0 14px; color: var(--forest-deep); font-family: "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: 36px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.contact-section { padding: 56px 0; background: var(--forest-deep); }
.contact-card { min-height: 330px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 42px 70px; padding: 54px 66px; border: 1px solid rgba(211,189,134,.35); background: linear-gradient(125deg,rgba(255,255,255,.035),transparent 45%),#0f342d; }
.contact-card .eyebrow { color: var(--gold-light); }
.contact-card h2 { color: #f7f1e8; font-size: clamp(38px,4.1vw,58px); }
.contact-card > p { margin: 0; color: #b9c6c1; font-size: 15px; line-height: 1.9; }
.contact-email { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; padding: 19px 2px; border-block: 1px solid rgba(211,189,134,.28); color: #f7f1e8; direction: ltr; font-family: Arial,sans-serif; font-size: clamp(20px,3vw,35px); transition: color 180ms ease; }
.contact-email:hover, .contact-email:focus-visible { color: var(--gold-light); }
.site-footer { padding: 38px 0; background: #08231e; color: #9da9a5; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { color: #f5f0e6; }
.footer-brand .brand-word { font-size: 30px; }
.site-footer p, .site-footer > div > a:last-child { margin: 0; font-size: 12px; }

@keyframes copy-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes visual-in { from { opacity: 0; transform: translateX(-22px); } }
@keyframes route-draw { from { width: 0; opacity: 0; } }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 9px rgba(182,152,88,.04); } }
@keyframes scroll-dot { 50% { transform: translate(-50%,11px); opacity: .3; } }

@media (max-width: 980px) {
  .container { width: min(100% - 48px,760px); }
  .main-nav { display: none; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 420px; margin: -35px -24px 0; }
  .hero-image { inset: 0 -8% -48px; background-position: 35% center; mask-image: linear-gradient(180deg,transparent 0%,#000 20%,#000 78%,transparent 100%); }
  .scroll-cue { display: none; }
  .vision-intro { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .site-header { height: 82px; }
  .brand-word { font-size: 33px; }
  .header-contact { min-width: 114px; padding: 10px 16px; font-size: 12px; }
  .hero-layout { min-height: calc(100svh - 82px); padding-block: 52px 64px; }
  .hero h1 { font-size: clamp(52px,16.5vw,76px); }
  .hero-lead { font-size: 16px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 30px; }
  .primary-button { width: 100%; }
  .hero-visual { min-height: 300px; margin-top: -5px; }
  .vision-section { padding: 85px 0; }
  .vision-intro { padding-bottom: 52px; }
  .vision-intro div > p { font-size: 16px; }
  .values-grid { grid-template-columns: 1fr; border-inline-start: 0; }
  .value-card { min-height: auto; padding: 32px 5px; border-inline-end: 0; border-bottom: 1px solid var(--stone); }
  .value-card h3 { margin-top: 28px; }
  .contact-section { padding: 22px 0; }
  .contact-card { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding: 42px 27px; }
  .contact-email { grid-column: auto; font-size: 19px; }
  .site-footer .container { align-items: flex-start; flex-direction: column; }
}

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