/* ==========================================================================
   sections.css — page chrome and section layouts
   (header, hero, services, why, contact, footer, mobile nav)
   ========================================================================== */

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    transform var(--t-2) var(--e-out),
    background var(--t-2),
    border-color var(--t-2);
}
.site-header.is-scrolled {
  background: rgba(10, 12, 16, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--c-line);
}
.site-header.is-hidden { transform: translateY(-102%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  transition: height var(--t-2) var(--e-out);
}
.site-header.is-compact .header-inner { height: 62px; }
.brand {
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand .dot { color: var(--c-gold); }
.main-nav { display: flex; gap: clamp(1.2rem, 3vw, 2.2rem); }
.header-actions { display: flex; align-items: center; gap: .7rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 42%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 42%, #000 25%, transparent 78%);
  opacity: .7;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 42% at 50% -5%, rgba(203, 165, 83, .16), transparent 70%),
    radial-gradient(ellipse 35% 30% at 88% 88%, rgba(203, 165, 83, .06), transparent 70%);
  pointer-events: none;
}
.hero-ghost {
  position: absolute;
  top: 74%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font-size: clamp(7rem, 21vw, 17rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(203, 165, 83, .16);
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-name {
  margin-top: 1.6rem;
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.15;
}
[dir="ltr"] .hero-name { font-family: var(--font-latin); letter-spacing: -.01em; }
.hero-role {
  margin-top: 1.15rem;
  color: var(--c-gold);
  font-size: clamp(.95rem, 2.4vw, 1.2rem);
  font-weight: 500;
}
[dir="ltr"] .hero-role { letter-spacing: .05em; }
.hero-tagline {
  margin-top: 1.4rem;
  max-width: 600px;
  color: var(--c-ink-dim);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
}
.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .statusline { margin-top: 3rem; }

.scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  z-index: 1;
  padding: .6rem;
  color: var(--c-muted);
  animation: bob 2.6s ease-in-out infinite;
}
.scroll-hint svg { width: 22px; height: 22px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */
.services, .why, .contact { padding: var(--pad-section) var(--gutter); }

/* ---------- Contact ---------- */
.contact-title {
  font-size: var(--fs-mega);
  font-weight: 700;
  line-height: var(--lh-tight);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: 2.6rem var(--gutter) 3rem;
  text-align: center;
}
.footer-top { margin-top: 1.2rem; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--t-1);
}
.to-top:hover { color: var(--c-gold); }
.to-top .icon { width: 16px; height: 16px; }
.footer-brand { font-weight: 700; }
.footer-brand .dot { color: var(--c-gold); }
.footer-copy { margin-top: .5rem; color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    padding: .4rem var(--gutter) 1.2rem;
    background: rgba(10, 12, 16, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-line);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--t-2), transform var(--t-2) var(--e-out);
  }
  body.nav-open .main-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .main-nav .nav-link {
    display: block;
    padding: .95rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--c-line);
  }
  .main-nav .nav-link:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; justify-content: center; }
}
