/* ==========================================================================
   087 · ASME (أسمى للأشياء — Asme) — 1:1 Pure-Black Liquid-Glass Studio & Hardware Collective
   #000000 canvas · Specular .liquid-glass mask-composite rim · Instrument/Amiri Serif · Hash SPA
   ========================================================================== */

:root {
  --as-bg: #000000;
  --as-fg: #FFFFFF;
  --as-serif: 'Amiri', Georgia, serif;
  --as-sans: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --as-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--as-bg);
  color: var(--as-fg);
  font-family: var(--as-sans);
  letter-spacing: 0;
}

body {
  background: var(--as-bg);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 68%);
  color: var(--as-fg);
  font-family: var(--as-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; letter-spacing: 0; }
.bidi { unicode-bidi: isolate; font-family: var(--as-mono); }

/* Signature .liquid-glass with 1.4px mask-composite specular rim */
.liquid-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.028);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.46) 0%,
    rgba(255, 255, 255, 0.14) 24%,
    transparent 50%,
    rgba(255, 255, 255, 0.14) 76%,
    rgba(255, 255, 255, 0.42) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ======================== FLOATING LIQUID-GLASS CAPSULE NAVBAR ======================== */
.as-nav-wrap {
  position: fixed;
  top: 20px;
  inset-inline: 20px;
  z-index: 80;
  pointer-events: none;
}

.as-nav {
  pointer-events: auto;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 9999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.as-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.as-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.as-links a:hover, .as-links a.active { color: #FFFFFF; }

.as-nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.as-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 13px;
  cursor: pointer;
}

.as-white-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
}

/* ======================== 1. HERO (100dvh CELESTIAL SILHOUETTE) ======================== */
.as-hero {
  position: relative;
  min-height: 100dvh;
  padding: 118px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.as-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.as-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(10%);
  opacity: 0.86;
}

.as-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 52%, #000000 98%);
}

.as-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.as-hero-stack {
  position: relative;
  z-index: 3;
  max-width: 760px;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.as-h1 {
  font-family: var(--as-serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
}

/* Liquid-Glass Newsletter Pill Form */
.as-email-pill {
  width: min(520px, 100%);
  border-radius: 9999px;
  padding: 7px 18px 7px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.as-email-pill input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 14px;
}

.as-email-pill input::placeholder { color: rgba(255, 255, 255, 0.45); }

.as-arrow-submit {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  border: none;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.as-social-dock {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 14px;
}

.as-social-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
}

/* ======================== HOME SECTIONS ======================== */
.as-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.as-kicker {
  font-family: var(--as-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
  display: block;
  margin-bottom: 14px;
}

.as-statement {
  font-family: var(--as-serif);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1.15;
}

.as-statement em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.58);
}

/* 16:9 Rounded Canyon Meadow Showcase */
.as-approach-box {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  margin-top: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 32px;
  gap: 20px;
}

.as-approach-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-approach-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78) 100%);
}

.as-frosted-card {
  position: relative;
  z-index: 2;
  max-width: 430px;
  border-radius: 18px;
  padding: 26px;
}

/* Innovation × Vision Split */
.as-vision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 38px;
}

.as-amber-stage {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.22), #09090B 72%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.as-amber-stage canvas { width: 100%; height: 100%; display: block; }

/* What We Do 2-Column Feature Cards */
.as-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.as-svc-card {
  border-radius: 24px;
  overflow: hidden;
}

.as-svc-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.as-svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.as-svc-card:hover .as-svc-media img { transform: scale(1.05); }

.as-svc-body { padding: 26px 28px; }

/* Sub-Routes (Manifesto, Pricing, Contact) */
.as-route { display: none; }
.as-route.active { display: block; }

.as-subpage {
  max-width: 1060px;
  margin: 0 auto;
  padding: 138px 24px 80px;
}

.as-pricing-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.as-tier {
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.as-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
}

.as-showcase-dock {
  max-width: 1120px;
  margin: 40px auto 36px;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 720px) {
  .as-links { display: none; }
  .as-vision-split,
  .as-services-grid,
  .as-pricing-3 {
    grid-template-columns: 1fr;
  }
  .as-approach-box {
    aspect-ratio: auto;
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
  }
}
