/* ================================================================
   Azru Solutions — Home Page Styles  (home.css)
   Aesthetic: Obsidian × Cream × Vermillion — dark editorial luxury
   Fonts loaded via head.ejs pageFonts:
     - Cormorant Garamond (display headlines, italic accents)
     - Syne (UI, body, labels)
     - Space Mono (mono labels, numbers, tags)
   All classes prefixed hp- to avoid conflicts with main.css
   ================================================================ */


/* ================================================================
   1. DESIGN TOKENS (scoped to .page-home)
   ================================================================ */
.page-home {
  --hp-bg:        #080808;
  --hp-bg-2:      #0C0C0C;
  --hp-bg-card:   #111111;
  --hp-bg-card-h: #161616;

  --hp-cream:     #EDE8DF;
  --hp-cream-70:  rgba(237, 232, 223, 0.70);
  --hp-cream-45:  rgba(237, 232, 223, 0.45);
  --hp-cream-20:  rgba(237, 232, 223, 0.20);
  --hp-cream-08:  rgba(237, 232, 223, 0.08);
  --hp-cream-04:  rgba(237, 232, 223, 0.04);

  --hp-fire:      #E8452A;           /* primary accent — vermillion */
  --hp-fire-glow: rgba(232, 69, 42, 0.30);
  --hp-fire-dim:  rgba(232, 69, 42, 0.12);
  --hp-gold:      #C8923A;           /* secondary accent — warm amber */

  --hp-line:      rgba(237, 232, 223, 0.07);

  --hp-serif:  'Cormorant Garamond', Georgia, serif;
  --hp-sans:   'Syne', system-ui, sans-serif;
  --hp-mono:   'Space Mono', 'Courier New', monospace;

  /* Override global */
  font-family: var(--hp-sans);
  background-color: var(--hp-bg);
  color: var(--hp-cream);

  /* Subtle dot-grid across the full page */
  background-image: radial-gradient(var(--hp-cream-04) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
}


/* ================================================================
   2. NAVBAR OVERRIDES — dark transparent glass
   ================================================================ */
.page-home .navbar {
  background: rgba(8, 8, 8, 0.82);
  border-bottom-color: var(--hp-line);
}
.page-home .navbar.is-scrolled {
  box-shadow: 0 1px 0 var(--hp-line), 0 8px 40px rgba(0,0,0,0.55);
}
.page-home .logo-text           { color: var(--hp-cream); }
.page-home .navbar__link        { color: var(--hp-cream-45); }
.page-home .navbar__link:hover,
.page-home .navbar__link.is-active {
  color: var(--hp-cream);
  background: var(--hp-cream-08);
}
.page-home .navbar__link.is-active { color: var(--hp-fire); }
.page-home .navbar__toggle span { background: var(--hp-cream); }

/* Mobile drawer */
.page-home .navbar__mobile {
  background: #0A0A0A;
  border-top-color: var(--hp-line);
}
.page-home .navbar__mobile-links a { color: var(--hp-cream-45); }
.page-home .navbar__mobile-links a:hover,
.page-home .navbar__mobile-links a.is-active {
  color: var(--hp-cream);
  background: var(--hp-cream-08);
}


/* ================================================================
   3. SHARED UTILITIES
   ================================================================ */

/* Eyebrow label (hero) */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--hp-mono);
  font-size: 0.725rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-cream-45);
  margin-bottom: 1.875rem;
}
.hp-eyebrow__dot {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hp-fire);
  box-shadow: 0 0 6px var(--hp-fire), 0 0 14px var(--hp-fire-glow);
  animation: hp-pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Section tag — "01 / label" */
.hp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--hp-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-cream-45);
  margin-bottom: 1.125rem;
}
.hp-section-tag span { color: var(--hp-fire); font-weight: 700; }
.hp-section-tag--onfire { color: rgba(255,255,255,0.5); }
.hp-section-tag--onfire span { color: rgba(255,255,255,0.9); }

/* Section header block */
.hp-section-header { margin-bottom: 3.5rem; }

/* Large display headline */
.hp-section-title {
  font-family: var(--hp-serif);
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  font-weight: 700;
  color: var(--hp-cream);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hp-section-title em {
  font-style: italic;
  color: var(--hp-gold);
}

/* Buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--hp-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 1.75rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.hp-btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

.hp-btn--fire {
  background: var(--hp-fire);
  color: #fff;
  border-color: var(--hp-fire);
  box-shadow: 0 4px 20px var(--hp-fire-glow);
}
.hp-btn--fire:hover {
  background: #D63B22;
  border-color: #D63B22;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 69, 42, 0.40);
}

.hp-btn--outline {
  background: transparent;
  color: var(--hp-cream);
  border-color: var(--hp-cream-20);
}
.hp-btn--outline:hover {
  border-color: var(--hp-cream-45);
  background: var(--hp-cream-08);
}

.hp-btn--white {
  background: var(--hp-cream);
  color: #111;
  border-color: var(--hp-cream);
  font-weight: 700;
}
.hp-btn--white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(237, 232, 223, 0.22);
}

.hp-btn--outline-w {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.32);
}
.hp-btn--outline-w:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

/* Mono tags */
.hp-tag {
  display: inline-block;
  font-family: var(--hp-mono);
  font-size: 0.675rem;
  color: var(--hp-cream-45);
  border: 1px solid var(--hp-line);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.04em;
}


/* ================================================================
   4. HERO
   ================================================================ */
.hp-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--navbar-height, 72px) + 4rem) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Ambient glow — right top + left bottom */
.hp-hero::before,
.hp-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hp-hero::before {
  width: 700px; height: 700px;
  top: -100px; right: -200px;
  background: radial-gradient(ellipse, rgba(232, 69, 42, 0.055) 0%, transparent 65%);
}
.hp-hero::after {
  width: 500px; height: 500px;
  bottom: 10%; left: -200px;
  background: radial-gradient(ellipse, rgba(200, 146, 58, 0.04) 0%, transparent 65%);
}

.hp-hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Copy ── */
.hp-hero__copy { max-width: 640px; }

.hp-hero__title {
  font-family: var(--hp-serif);
  font-size: clamp(3.25rem, 6.5vw, 5.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--hp-cream);
  margin-bottom: 1.875rem;
}

/* Each headline line clips its child for the rise animation */
.hp-line {
  display: block;
  overflow: hidden;
  line-height: 1.1;
}
.hp-line__inner {
  display: block;
  animation: hp-line-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hp-hero__title .hp-line:nth-child(1) .hp-line__inner { animation-delay: 0.08s; }
.hp-hero__title .hp-line:nth-child(2) .hp-line__inner { animation-delay: 0.22s; }
.hp-hero__title .hp-line:nth-child(3) .hp-line__inner { animation-delay: 0.36s; }

/* Italic golden "Digital Products" line */
.hp-line--gold .hp-line__inner em {
  font-style: italic;
  color: var(--hp-gold);
  font-weight: 600;
}

/* Smaller weight closing line */
.hp-line--thin .hp-line__inner {
  font-size: 0.68em;
  font-weight: 400;
  color: var(--hp-cream-70);
  letter-spacing: -0.015em;
}

.hp-hero__sub {
  font-size: 1.075rem;
  color: var(--hp-cream-45);
  max-width: 480px;
  line-height: 1.78;
  margin-bottom: 2.625rem;
  animation: hp-fade-up 0.7s ease 0.52s both;
}

.hp-hero__actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  animation: hp-fade-up 0.7s ease 0.68s both;
}


/* ── Orbital Geo Visual ── */
.hp-hero__visual {
  position: relative;
  z-index: 1;
  animation: hp-fade-in 1.3s ease 0.25s both;
}

.hp-geo {
  position: relative;
  width: 400px;
  height: 400px;
}

/* Crosshair lines */
.hp-geo__ch {
  position: absolute;
  background: var(--hp-cream-04);
  top: 50%; left: 50%;
}
.hp-geo__ch--h {
  width: 400px; height: 1px;
  transform: translate(-50%, -50%);
}
.hp-geo__ch--v {
  width: 1px; height: 400px;
  transform: translate(-50%, -50%);
}

/* Rings — centred via translate in keyframes, each has an orbiting dot via ::after */
.hp-geo__ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
}

.hp-geo__ring--1 {
  width: 400px; height: 400px;
  border: 1px solid rgba(232, 69, 42, 0.13);
  animation: hp-geo-spin 68s linear infinite;
}
.hp-geo__ring--1::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  top: -4.5px; left: 50%;
  transform: translateX(-50%);
  background: var(--hp-fire);
  box-shadow: 0 0 8px var(--hp-fire), 0 0 20px var(--hp-fire-glow);
}

.hp-geo__ring--2 {
  width: 268px; height: 268px;
  border: 1px dashed rgba(237, 232, 223, 0.09);
  animation: hp-geo-spin-rev 38s linear infinite;
}
.hp-geo__ring--2::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  background: var(--hp-cream-70);
}

.hp-geo__ring--3 {
  width: 152px; height: 152px;
  border: 1px solid rgba(232, 69, 42, 0.22);
  animation: hp-geo-spin 20s linear infinite;
}

/* Corner bracket marks */
.hp-geo__corner {
  position: absolute;
  width: 16px; height: 16px;
}
.hp-geo__corner--tl { top: 0;    left: 0;  border-top:    1.5px solid rgba(232,69,42,0.5); border-left:   1.5px solid rgba(232,69,42,0.5); }
.hp-geo__corner--tr { top: 0;    right: 0; border-top:    1.5px solid rgba(232,69,42,0.5); border-right:  1.5px solid rgba(232,69,42,0.5); }
.hp-geo__corner--bl { bottom: 0; left: 0;  border-bottom: 1.5px solid rgba(232,69,42,0.5); border-left:   1.5px solid rgba(232,69,42,0.5); }
.hp-geo__corner--br { bottom: 0; right: 0; border-bottom: 1.5px solid rgba(232,69,42,0.5); border-right:  1.5px solid rgba(232,69,42,0.5); }

/* Pulsing centre monogram */
.hp-geo__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-geo__center > span {
  font-family: var(--hp-serif);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hp-fire);
  position: relative;
  z-index: 1;
}
.hp-geo__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 69, 42, 0.45);
  animation: hp-pulse-ring 2.8s ease-out infinite;
}
.hp-geo__pulse::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(232, 69, 42, 0.15);
  animation: hp-pulse-ring 2.8s ease-out 0.7s infinite;
}


/* ── Stats bar ── */
.hp-hero__stats {
  border-top: 1px solid var(--hp-line);
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}
.hp-hero__stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 0;
}
.hp-hstat {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.875rem;
}
.hp-hstat__val {
  font-family: var(--hp-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--hp-cream);
  letter-spacing: -0.045em;
  line-height: 1;
}
.hp-hstat__suf {
  font-family: var(--hp-serif);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--hp-fire);
}
.hp-hstat__label {
  display: block;
  font-family: var(--hp-mono);
  font-size: 0.675rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-cream-45);
  margin-top: 0.4rem;
}
.hp-hstat-div {
  width: 1px;
  height: 52px;
  background: var(--hp-line);
  flex-shrink: 0;
}


/* ================================================================
   5. INTRO
   ================================================================ */
.hp-intro {
  padding: 7rem 0;
  position: relative;
  border-top: 1px solid var(--hp-line);
}
.hp-intro__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}
.hp-intro__statement {
  font-family: var(--hp-serif);
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 600;
  color: var(--hp-cream);
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.hp-intro__rule {
  width: 44px;
  height: 1.5px;
  background: var(--hp-fire);
  flex-shrink: 0;
}
.hp-intro__body {
  font-size: 1.0625rem;
  color: var(--hp-cream-45);
  line-height: 1.82;
  max-width: 620px;
}


/* ================================================================
   6. SERVICES
   ================================================================ */
.hp-services {
  padding: 6rem 0;
  border-top: 1px solid var(--hp-line);
  background: var(--hp-bg-2);
}

/* 4-col grid with a 1px gap between cells (background shows through) */
.hp-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hp-line);      /* gap colour */
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  overflow: hidden;
}

.hp-svc {
  background: var(--hp-bg-card);
  padding: 2.5rem 1.875rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
}

/* Bottom-to-top fill using the service's accent colour */
.hp-svc::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0;
  background: var(--sa, var(--hp-fire));
  transition: height 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.11;
  z-index: 0;
}
.hp-svc:hover::before { height: 100%; }
.hp-svc:hover { background: #141414; }

/* Top-edge accent sweep */
.hp-svc::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--sa, var(--hp-fire));
  transition: width 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.hp-svc:hover::after { width: 100%; }

/* All direct children sit above the fill overlay */
.hp-svc > * { position: relative; z-index: 1; }

.hp-svc__num {
  font-family: var(--hp-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--hp-cream-20);
  transition: color 0.3s;
}
.hp-svc:hover .hp-svc__num { color: var(--sa, var(--hp-fire)); opacity: 0.8; }

/* Icon box */
.hp-svc__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--hp-cream-04);
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s;
}
.hp-svc:hover .hp-svc__icon { background: var(--hp-cream-08); }
.hp-svc__icon--mobile::after   { content:'📱'; position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.25rem; }
.hp-svc__icon--web::after      { content:'🌐'; position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.25rem; }
.hp-svc__icon--brand::after    { content:'◈';  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--hp-cream-70); }
.hp-svc__icon--marketing::after{ content:'📈'; position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.25rem; }

.hp-svc__title {
  font-family: var(--hp-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hp-cream);
  line-height: 1.3;
}

.hp-svc__text {
  font-size: 0.9rem;
  color: var(--hp-cream-45);
  line-height: 1.65;
  flex: 1;
}

.hp-svc__feats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.375rem;
}
.hp-svc__feats li {
  font-size: 0.8rem;
  color: var(--hp-cream-45);
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.55;
}
.hp-svc__feats li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sa, var(--hp-fire));
  opacity: 0.55;
}

.hp-svc__arrow {
  font-size: 1.125rem;
  color: var(--hp-cream-20);
  margin-top: 0.625rem;
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}
.hp-svc:hover .hp-svc__arrow {
  color: var(--sa, var(--hp-fire));
  transform: translateX(5px);
}


/* ================================================================
   7. WHY CHOOSE US
   ================================================================ */
.hp-why {
  padding: 8rem 0;
  border-top: 1px solid var(--hp-line);
}
.hp-why__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.hp-why__header {
  position: sticky;
  top: calc(var(--navbar-height, 72px) + 2.5rem);
}
.hp-why__header .hp-section-title { margin-bottom: 1.5rem; }
.hp-why__intro {
  font-size: 1rem;
  color: var(--hp-cream-45);
  line-height: 1.8;
}

.hp-why__reasons {
  display: flex;
  flex-direction: column;
}

.hp-reason {
  display: flex;
  gap: 1.875rem;
  align-items: flex-start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--hp-line);
  transition: padding-left 0.25s ease;
}
.hp-reason:first-child { border-top: 1px solid var(--hp-line); }
.hp-reason:hover { padding-left: 0.5rem; }

.hp-reason__num {
  font-family: var(--hp-serif);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--hp-fire);
  opacity: 0.6;
  flex-shrink: 0;
  width: 32px;
  margin-top: 1px;
  transition: opacity 0.25s;
}
.hp-reason:hover .hp-reason__num { opacity: 1; }

.hp-reason__title {
  font-family: var(--hp-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hp-cream);
  margin-bottom: 0.5rem;
}
.hp-reason__text {
  font-size: 0.9375rem;
  color: var(--hp-cream-45);
  line-height: 1.75;
}


/* ================================================================
   8. PORTFOLIO
   ================================================================ */
.hp-portfolio {
  padding: 8rem 0;
  border-top: 1px solid var(--hp-line);
  background: var(--hp-bg-2);
}

.hp-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hp-line);
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 3.25rem;
}

.hp-port-card {
  background: var(--hp-bg-card);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}
.hp-port-card:hover { background: #141414; }

/* Visual band */
.hp-port-card__vis {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--pa, #4F8EF7) 14%, #0E0E0E);
  border-bottom: 1px solid var(--hp-line);
}
.hp-port-card__vis-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    color-mix(in srgb, var(--pa, #4F8EF7) 25%, transparent) 0%,
    transparent 70%
  );
}
.hp-port-card__letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hp-serif);
  font-size: 6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--pa, #4F8EF7);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.hp-port-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hp-port-card:hover .hp-port-card__overlay { opacity: 1; }
.hp-port-card__cta {
  font-family: var(--hp-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hp-cream);
  letter-spacing: 0.02em;
}

/* Body */
.hp-port-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.hp-port-card__cat {
  font-family: var(--hp-mono);
  font-size: 0.675rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pa, var(--hp-fire));
  opacity: 0.85;
}
.hp-port-card__title {
  font-family: var(--hp-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--hp-cream);
  line-height: 1.3;
}
.hp-port-card__desc {
  font-size: 0.875rem;
  color: var(--hp-cream-45);
  line-height: 1.68;
  flex: 1;
}
.hp-port-card__tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hp-port-footer { text-align: center; }


/* ================================================================
   9. TESTIMONIAL
   ================================================================ */
.hp-testimonial {
  padding: 8rem 0;
  border-top: 1px solid var(--hp-line);
  position: relative;
  overflow: hidden;
}

/* Giant decorative quote mark behind the content */
.hp-testimonial::before {
  content: '\201C';
  position: absolute;
  top: -2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--hp-serif);
  font-size: 22rem;
  line-height: 1;
  color: var(--hp-cream-04);
  pointer-events: none;
  user-select: none;
}

.hp-testi {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.hp-testi__mark {
  font-family: var(--hp-serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--hp-fire);
  opacity: 0.55;
}
.hp-testi__text {
  font-family: var(--hp-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--hp-cream);
  line-height: 1.58;
  letter-spacing: -0.01em;
}
.hp-testi__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hp-testi__avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--hp-fire-dim);
  border: 1px solid rgba(232, 69, 42, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hp-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--hp-fire);
  flex-shrink: 0;
}
.hp-testi__name {
  font-family: var(--hp-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--hp-cream);
  margin-bottom: 0.2rem;
}
.hp-testi__role {
  font-family: var(--hp-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--hp-cream-45);
  text-transform: uppercase;
}


/* ================================================================
   10. FINAL CTA
   ================================================================ */
.hp-cta {
  padding: 7.5rem 0;
  background: var(--hp-fire);
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe texture overlay */
.hp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(0,0,0,0.18) 0%, transparent 55%),
    repeating-linear-gradient(
      -50deg,
      transparent,
      transparent 22px,
      rgba(255,255,255,0.025) 22px,
      rgba(255,255,255,0.025) 23px
    );
  pointer-events: none;
}

/* Large ghost type behind content */
.hp-cta::after {
  content: 'AZ';
  position: absolute;
  right: -0.05em; bottom: -0.2em;
  font-family: var(--hp-serif);
  font-size: 22rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hp-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hp-cta__content { flex: 1; min-width: 280px; }
.hp-cta__title {
  font-family: var(--hp-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0.875rem 0 1.25rem;
}
.hp-cta__title em { font-style: italic; opacity: 0.85; }
.hp-cta__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.62);
  max-width: 440px;
  line-height: 1.75;
}
.hp-cta__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}


/* ================================================================
   11. KEYFRAME ANIMATIONS
   ================================================================ */

/* Hero headline: each line rises from below its clip container */
@keyframes hp-line-rise {
  from { transform: translateY(108%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Generic fade-up for sub-elements */
@keyframes hp-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Geo visual fade in */
@keyframes hp-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Orbital ring spin — translate(-50%,-50%) keeps ring centred while rotating */
@keyframes hp-geo-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes hp-geo-spin-rev {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Pulsing eyebrow dot */
@keyframes hp-pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Ripple rings on geo centre */
@keyframes hp-pulse-ring {
  0%   { opacity: 0.45; transform: scale(1);   }
  100% { opacity: 0;    transform: scale(2.8); }
}


/* ================================================================
   12. RESPONSIVE
   ================================================================ */

/* ≤ 1100px */
@media (max-width: 1100px) {
  .hp-hero__inner       { grid-template-columns: 1fr; text-align: center; }
  .hp-hero__copy        { max-width: 100%; }
  .hp-hero__sub         { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hp-hero__actions     { justify-content: center; }
  .hp-eyebrow           { justify-content: center; }
  .hp-hero__visual      { display: none; }

  .hp-svc-grid          { grid-template-columns: repeat(2, 1fr); }
  .hp-why__inner        { grid-template-columns: 1fr; gap: 3rem; }
  .hp-why__header       { position: static; }
  .hp-port-grid         { grid-template-columns: repeat(2, 1fr); }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .hp-hero { padding-top: calc(var(--navbar-height, 72px) + 2.5rem); }

  .hp-hero__stats-row { flex-wrap: wrap; padding: 1.5rem 0; }
  .hp-hstat           { min-width: 45%; padding: 0.75rem; }
  .hp-hstat-div       { display: none; }

  .hp-svc-grid        { grid-template-columns: 1fr; border-radius: 12px; }
  .hp-port-grid       { grid-template-columns: 1fr; }

  .hp-intro           { padding: 4.5rem 0; }
  .hp-services        { padding: 5rem 0; }
  .hp-why             { padding: 5rem 0; }
  .hp-portfolio       { padding: 5rem 0; }
  .hp-testimonial     { padding: 5rem 0; }
  .hp-cta             { padding: 5rem 0; }

  .hp-cta__inner      { flex-direction: column; }
  .hp-cta__actions    { width: 100%; flex-direction: column; }
  .hp-cta__actions .hp-btn { width: 100%; }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .hp-hero__title { font-size: 2.75rem; }
  .hp-hero__actions { flex-direction: column; align-items: stretch; }
  .hp-hero__actions .hp-btn { text-align: center; width: 100%; }
  .hp-hstat__val { font-size: 2.25rem; }
  .hp-section-title { font-size: 2.25rem; }
  .hp-intro__statement { font-size: 1.5rem; }
  .hp-testi__text { font-size: 1.25rem; }
  .hp-cta__title { font-size: 2rem; }
}
