/* ===================================================
   NOOR PRODUCTIONS — Design Tokens
=================================================== */
:root{
  --void:        #051213;
  --charcoal:
    radial-gradient(60% 75% at 6% 45%, rgba(42,157,143,0.46), transparent 72%),
    radial-gradient(55% 75% at 95% 55%, rgba(212,160,23,0.27), transparent 72%),
    radial-gradient(55% 55% at 50% 100%, rgba(74,124,89,0.38), transparent 72%),
    radial-gradient(42% 45% at 30% 0%, rgba(168,218,220,0.15), transparent 72%),
    linear-gradient(110deg, #0a3b3b 0%, #0F5C5C 24%, #0d4a46 50%, #1b3d2b 76%, #3a3012 100%);
  --charcoal-lift: linear-gradient(rgba(246,217,138,0.08), rgba(246,217,138,0.08)), var(--charcoal);
  --night:
    radial-gradient(50% 60% at 4% 40%, rgba(15,92,92,0.55), transparent 72%),
    radial-gradient(45% 60% at 98% 60%, rgba(212,160,23,0.16), transparent 72%),
    radial-gradient(45% 45% at 55% 100%, rgba(74,124,89,0.22), transparent 72%),
    #051213;
  --card-solid: linear-gradient(155deg, #0d4646 0%, #0a3434 55%, #0b2c27 100%);
  --glass: rgba(8,46,47,0.62);
  --teal-deep:#0F5C5C; --teal-mid:#2A9D8F; --teal-mist:#A8DADC;
  --sage:#4A7C59; --moss:#8AA899; --sage-light:#C2D9A0;
  --gold-rich:#D4A017; --champagne:#E8C36A; --ivory:#FFF8E7;
  --gold:        #dbb56a;
  --gold-bright: #f6d98a;
  --gold-dim:    #8c7440;
  --ink:         #f4f0e4;
  --mono-text:   #bfcbc3;

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --font-body:    'Inter', sans-serif;

  --edge: 32px; /* HUD frame inset */
}

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

html{ scroll-behavior:smooth; }

body{
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

::selection{ background: var(--gold); color: var(--void); }

/* ===================================================
   LOADER
=================================================== */
#loader{
  position:fixed; inset:0; z-index:1000;
  background: var(--void);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 28px;
}

#loader-canvas{
  width: 260px; height: 260px;
  display:block;
  filter: drop-shadow(0 0 18px rgba(240,205,122,0.35));
}
@media (max-width:720px){
  #loader-canvas{ width:210px; height:210px; }
}

#loader-readout{
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  display:flex; align-items:baseline; gap:2px;
}
#loader-readout .pct-sign{ color: var(--mono-text); font-size:11px; }

#loader-label{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--mono-text);
}

#loader.done{
  transition: opacity 0.8s ease, visibility 0.8s ease;
  opacity:0; visibility:hidden; pointer-events:none;
}

/* ===================================================
   HERO
=================================================== */
#hero{
  position:relative;
  width:100%; height:100vh;
  overflow:hidden;
  background: radial-gradient(45% 55% at 8% 70%, rgba(42,157,143,0.42), transparent 70%), radial-gradient(45% 55% at 94% 72%, rgba(212,160,23,0.24), transparent 70%), radial-gradient(ellipse at 50% 30%, #0b3a3a 0%, var(--void) 72%);
}

#particle-canvas, #object-canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}
#object-canvas{ pointer-events:none; }

/* --- HUD frame --- */
.hud-corner{
  position:absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mono-text);
  z-index: 5;
  display:flex; align-items:center; gap:8px;
}
.hud-tl{ top:var(--edge); left:var(--edge); border-top:1px solid var(--gold-dim); border-left:1px solid var(--gold-dim); padding:10px 16px; }
.hud-tr{ top:var(--edge); right:var(--edge); border-top:1px solid var(--gold-dim); border-right:1px solid var(--gold-dim); padding:10px 16px; }
.hud-bl{ bottom:var(--edge); left:var(--edge); border-bottom:1px solid var(--gold-dim); border-left:1px solid var(--gold-dim); padding:10px 16px; }
.hud-br{ bottom:var(--edge); right:var(--edge); border-bottom:1px solid var(--gold-dim); border-right:1px solid var(--gold-dim); padding:10px 16px; }

.hud-text{ color: var(--mono-text); }
.hud-tl .hud-text{ color: var(--gold); }

.hud-dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{ opacity:1; }
  50%{ opacity:0.25; }
}

@media (max-width: 720px){
  :root{ --edge:16px; }
  .hud-corner{ font-size:9px; padding:6px 10px; letter-spacing:0.12em; }
  .hud-tl .hud-text{ display:none; } /* keep it uncluttered on small screens */
}

/* --- Hero content --- */
.hero-content{
  position:relative; z-index:4;
  height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  text-align:center;
  padding: 0 24px 14vh;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 22px;
  opacity:0;
}

#wordmark{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ink);
}
#wordmark .line{
  display:block;
  position:relative;
}

.hero-sub{
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  letter-spacing: 0.08em;
  color: var(--mono-text);
  margin-top: 26px;
  min-height: 1.4em;
}
.hero-sub::after{
  content:'';
  display:inline-block;
  width:2px; height:1em;
  background: var(--gold-bright);
  margin-left:4px;
  vertical-align:-2px;
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink{ 50%{ opacity:0; } }

@media (max-width:720px){
  .hero-sub{ font-size:0.7rem; letter-spacing:0.05em; }
  .eyebrow{ font-size:10px; letter-spacing:0.2em; }
}

/* ===================================================
   WHY NOOR — ARC WHEEL
   A half-ring of real flashcards, pivoted at the right
   edge of the viewport. The ring auto-rotates slowly and
   continuously; hovering any card freezes the whole ring.
   Single click expands a card in place. Double click pops
   it into a large centred reading modal.
=================================================== */
.why-noor{
  position:relative;
  padding: 10vh 0 10vh;
  background: var(--charcoal);
  overflow: hidden;
  min-height: 640px;
}

.arc-left{
  position:relative;
  z-index: 3;
  max-width: 460px;
  padding: 0 var(--edge);
  display:flex;
  flex-direction:column;
  gap: 22px;
}
.arc-left .eyebrow{ opacity:1; margin-bottom:0; }

.why-noor-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.arc-hint{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--mono-text);
  opacity: 0.75;
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.arc-hint-icon{
  display:inline-block;
  animation: hint-spin 4s linear infinite;
  flex-shrink:0;
  margin-top: 1px;
}
@keyframes hint-spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* ---- The ring: pinned to the real right edge of the viewport ---- */
.arc-scene{
  position:absolute;
  top:0; right:0;
  bottom:0;
  width: clamp(360px, 54vw, 780px);
  z-index: 2;
  /* auto (not none): lets mouse-wheel scrolling spin the ring even when
     the cursor is over a gap between cards, not just directly on one */
  pointer-events:auto;
  cursor: default;
}

.arc-card{
  position:absolute;
  top:0; left:0;
  width: 300px;
  height: 168px;
  pointer-events:auto;
  cursor:pointer;
  outline:none;
  perspective: 700px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1),
              height 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
  /* 3D tilt + torch vars, set by JS on .arc-card-face while hovered */
}
.arc-card:focus-visible .arc-card-face{
  outline: 1px solid var(--gold-bright);
  outline-offset: 3px;
}

.arc-card-face{
  position:relative;
  width:100%; height:100%;
  border: 1px solid var(--gold-dim);
  background: var(--card-solid);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  padding: 18px 20px;
  display:flex;
  flex-direction:column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.12s ease-out;
  overflow: hidden;
  transform-style: flat;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
/* Slow spring-back when the pointer leaves a card */
.arc-card.tilt-resetting .arc-card-face{
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.arc-card:hover .arc-card-face{
  border-color: var(--gold-bright);
  box-shadow: 0 0 30px rgba(240,205,122,0.24), 0 18px 40px rgba(0,0,0,0.5);
}
.arc-card:hover .fc-corner{ border-color: var(--gold-bright); opacity:1; }

/* Torch spotlight — small, tight, gold, follows cursor within the card only */
.arc-card-face::after{
  content:'';
  position:absolute; inset:0;
  pointer-events:none;
  background: radial-gradient(
    circle 32px at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255,235,160, var(--spot-opacity, 0)) 0%,
    rgba(240,205,122, calc(var(--spot-opacity, 0) * 0.55)) 35%,
    rgba(201,161,90,  calc(var(--spot-opacity, 0) * 0.15)) 60%,
    transparent 80%
  );
  z-index: 3;
  mix-blend-mode: screen;
}

.arc-card-front{ display:flex; flex-direction:column; justify-content:space-between; height:100%; }

/* Body copy — hidden until expanded */
.arc-card-body{
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.88;
  display:none;
  overflow-y:auto;
  padding-right:4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}

/* ---- Expanded state: single click ---- */
.arc-card.is-expanded{
  width: 380px;
  height: 260px;
  z-index: 40;
}
.arc-card.is-expanded .arc-card-face{
  background: var(--charcoal-lift);
  border-color: var(--gold-bright);
  box-shadow: 0 0 40px rgba(240,205,122,0.3), 0 24px 50px rgba(0,0,0,0.6);
}
.arc-card.is-expanded .arc-card-body{ display:block; flex:1 1 auto; min-height:0; margin-top:10px; }
.arc-card.is-expanded .fc-tap{ display:none; }
.arc-card.is-expanded .arc-card-tap-close{ display:block; }
.arc-card-tap-close{ display:none; }

/* ---- Shared field-card typography (reused) ---- */
.fc-corner{
  position:absolute;
  width:11px; height:11px;
  border: 1px solid var(--gold);
  opacity:0.8;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.fc-tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.fc-tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.fc-bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.fc-br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.fc-index{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  flex-shrink:0;
}
.fc-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.26;
  color: var(--ink);
}
.fc-tap{
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--mono-text);
  align-self:flex-start;
}

/* ===================================================
   READING MODAL — double click pops a card here, large
=================================================== */
.card-modal{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.card-modal.is-open{
  opacity: 1;
  pointer-events: auto;
}
.card-modal-backdrop{
  position:absolute; inset:0;
  background: rgba(5,22,23,0.82);
  backdrop-filter: blur(6px);
}
.card-modal-panel{
  position: relative;
  width: min(640px, 88vw);
  max-height: 78vh;
  background: var(--charcoal-lift);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 0 60px rgba(240,205,122,0.22), 0 30px 80px rgba(0,0,0,0.6);
  padding: 44px 42px 38px;
  display:flex;
  flex-direction:column;
  gap: 16px;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.card-modal.is-open .card-modal-panel{
  transform: scale(1) translateY(0);
}
.card-modal-close{
  position:absolute;
  top: 14px; right: 16px;
  width: 30px; height: 30px;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: var(--gold-bright);
  font-size: 16px;
  line-height:1;
  cursor:pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.card-modal-close:hover{ background: var(--gold); color: var(--void); transform: scale(1.06); }

.card-modal-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.28;
  color: var(--ink);
}
.card-modal-body{
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.9;
  overflow-y: auto;
}

/* ===================================================
   PRICING — TARIFF SHEET
   Four fixed-rate service rows, styled as a continuation
   of the field-briefing language (mono index, gold corner
   brackets, terminal feel).
=================================================== */
.tariff{
  position: relative;
  background: var(--night);
  padding: 12vh var(--edge) 10vh;
}
.tariff-head{
  max-width: 640px;
  margin: 0 auto 6vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tariff-head .eyebrow{ opacity: 1; }
.tariff-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--ink);
}
.tariff-sub{
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--mono-text);
  max-width: 460px;
}

.tariff-sheet{
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tariff-row{
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 30px;
  border: 1px solid var(--gold-dim);
  background: var(--charcoal);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.tariff-row:hover{
  border-color: var(--gold-bright);
  box-shadow: 0 0 34px rgba(240,205,122,0.14), 0 18px 40px rgba(0,0,0,0.4);
  background: var(--charcoal-lift);
}
.tariff-row:hover .fc-corner{ border-color: var(--gold-bright); opacity: 1; }

.tariff-index{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: normal;
  line-height: 1.5;
  padding-right: 12px;
}

.tariff-body{ display: flex; flex-direction: column; gap: 6px; }
.tariff-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.tariff-desc{
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mono-text);
  max-width: 52ch;
}

.tariff-price{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--mono-text);
  white-space: nowrap;
  text-align: right;
}
.tariff-price strong{
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold-bright);
  letter-spacing: 0;
  margin-top: 2px;
}

.tariff-note{
  max-width: 640px;
  margin: 5vh auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--mono-text);
  opacity: 0.75;
}

@media (max-width: 760px){
  .tariff-row{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 22px;
  }
  .tariff-price{ text-align: left; }
  .tariff-price strong{ margin-top: 4px; }
}


/* ===================================================
   PORTFOLIO — FIELD DEPLOYMENTS
   A horizontal cinematic archive, deliberately different
   from the ring above and the rows below it: vertical
   scroll input gets redirected into horizontal motion
   through the track (wired up in JS).
=================================================== */
.deploy{
  position: relative;
  background: var(--charcoal);
  padding: 12vh 0 10vh;
  overflow: hidden;
}
.deploy-teaser{
  position: relative;
  background: var(--charcoal);
  padding: 12vh 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.deploy-teaser-cta{
  margin-top: 2vh;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  padding: 16px 28px;
  transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.deploy-teaser-cta:hover{
  gap: 16px;
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 24px rgba(201,161,90,0.2);
}
.deploy-head{
  max-width: 640px;
  margin: 0 auto 6vh;
  padding: 0 var(--edge);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.deploy-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--ink);
}
.deploy-hint{
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--mono-text);
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deploy-live-dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 8px rgba(110,231,168,0.7);
  flex-shrink: 0;
  animation: liveDotPulse 2.2s ease-in-out infinite;
}
@keyframes liveDotPulse{
  0%, 100%{ opacity: 1; }
  50%{ opacity: 0.4; }
}
.deploy-arrow{ transition: transform 0.3s ease; display: inline-block; }


/* ---- Extra-large screens (TVs, ultrawide monitors): the left column
   and the arc pin to opposite edges independently, so past a certain
   width they drift apart with a dead gap between them. Pull the arc
   inward symmetrically instead of letting it hug the true viewport
   edge — .why-noor itself stays full-bleed for the background. ---- */
@media (min-width: 1700px){
  .arc-scene{
    right: max(0px, calc((100vw - 1700px) / 2));
  }
}

/* ===================================================
   Responsive — below this width the ring math doesn't
   have room to breathe; fall back to a plain vertical
   stack of cards, no rotation.
=================================================== */
@media (max-width: 760px){
  .why-noor{ padding: 8vh 0 6vh; min-height: 0; }
  .arc-left{
    max-width: 100%;
    padding: 0 var(--edge) 3vh;
  }
  .arc-hint-icon{ animation: swipe-hint 1.6s ease-in-out infinite; }
  @keyframes swipe-hint{
    0%, 100%{ transform: translateX(0); }
    50%{ transform: translateX(3px); }
  }

  /* Swipeable horizontal strip — native scroll-snap, no rotation.
     The JS positioning loop keeps running (untouched) but every inline
     style it sets is overridden here so cards render as a plain,
     finger-friendly row instead of fighting the arc math. */
  .arc-scene{
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px var(--edge) 20px;
    /* Peek of the next card signals "swipe me" without needing a caption */
    scroll-padding-left: var(--edge);
  }
  .arc-scene::-webkit-scrollbar{ height: 4px; }
  .arc-scene::-webkit-scrollbar-thumb{ background: var(--gold-dim); }

  .arc-card{
    position: relative !important;
    flex: 0 0 auto !important;
    width: 82vw !important;
    max-width: 320px !important;
    height: auto !important;
    min-height: 180px;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: auto !important;
    scroll-snap-align: center;
  }
  .arc-card.is-expanded{
    width: 82vw !important;
    max-width: 320px !important;
    height: auto !important;
  }
  .arc-card.is-expanded .arc-card-body{
    max-height: 42vh;
    overflow-y: auto;
  }
  .fc-title{ font-size: 1rem; }
  .arc-card-body{ font-size: 0.84rem; max-height: 160px; }
}


/* ===================================================
   HOW WE WORK — PIPELINE SEQUENCE
   Nine-step vertical process track. Alternates left/right
   on desktop. Full-width stacked on mobile.
   Design language: same field-card system (mono indices,
   gold corners, --void / --charcoal alternation) but with
   a live vertical connector wire between steps.
=================================================== */
.pipeline{
  position: relative;
  background: var(--night);
  padding: 12vh var(--edge) 14vh;
  overflow: hidden;
}

/* Faint ambient vertical rail behind the steps */
.pipeline::before{
  display: none;
}
.pipeline-track::before{
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: auto;
  height: var(--rail-end, 100%);
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--gold-dim) 6%,
    var(--gold-dim) 92%,
    transparent 100%
  );
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.pipeline-head{
  max-width: 640px;
  margin: 0 auto 8vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pipeline-head .eyebrow{ opacity: 1; }

.pipeline-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--ink);
}

.pipeline-sub{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mono-text);
  opacity: 0.75;
}

/* Track: alternating left/right layout */
.pipeline-track{
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pipeline-step{
  position: relative;
  width: calc(50% - 32px);
  background: var(--charcoal);
  border: 1px solid var(--gold-dim);
  padding: 28px 30px 30px;
  margin-bottom: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  /* Alternate sides */
}

/* Odd steps: left side */
.pipeline-step:nth-child(odd){
  align-self: flex-start;
  margin-right: auto;
}
/* Even steps: right side */
.pipeline-step:nth-child(even){
  align-self: flex-end;
  margin-left: auto;
}

.pipeline-step:hover{
  border-color: var(--gold-bright);
  box-shadow: 0 0 32px rgba(240,205,122,0.13), 0 16px 40px rgba(0,0,0,0.4);
  background: var(--charcoal-lift);
}
.pipeline-step:hover .fc-corner{ border-color: var(--gold-bright); opacity: 1; }

/* Connector dot: the small circle on the centre-rail side of each card */
.pipeline-step-connector{
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  transform: translateY(-50%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.pipeline-step:hover .pipeline-step-connector{
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(240,205,122,0.6);
}

/* Connector dot position: right side for odd (left-aligned) steps */
.pipeline-step:nth-child(odd) .pipeline-step-connector{
  right: -37px;
}
/* Connector dot position: left side for even (right-aligned) steps */
.pipeline-step:nth-child(even) .pipeline-step-connector{
  left: -37px;
}

/* No connector on the last step */
.pipeline-step--final .pipeline-step-connector{
  display: none;
}

.pipeline-step-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pipeline-step-num{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.pipeline-phase-tag{
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--mono-text);
  padding: 3px 9px;
  border: 1px solid var(--gold-dim);
  line-height: 1.5;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.pipeline-step:hover .pipeline-phase-tag{
  border-color: var(--gold);
  color: var(--gold);
}

.pipeline-step-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.pipeline-step-desc{
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mono-text);
}

/* Final step: gold border accent to mark closure */
.pipeline-step--final{
  border-color: var(--gold-dim);
  background: var(--glass);
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.pipeline-step--final .pipeline-step-num{
  color: var(--gold-bright);
}
.pipeline-step--final:hover{
  border-color: var(--gold-bright);
  box-shadow: 0 0 44px rgba(240,205,122,0.2), 0 16px 40px rgba(0,0,0,0.5);
}

/* ---- Small screens + tablets: single column with a left-side rail ---- */
@media (max-width: 1024px){
  .pipeline{
    padding: 10vh var(--edge) 10vh;
  }
  .pipeline-track{
    gap: 14px;
    padding-left: 30px;
  }
  .pipeline-track::before{
    left: 5px;
    transform: none;
  }
  .pipeline-step{
    width: 100%;
    align-self: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0;
    padding: 22px 22px 24px;
  }
  /* Reuse the same connector dot, just re-anchored to the left rail
     instead of alternating sides — keeps the "linked sequence" feeling
     without needing the two-column layout it was built for. */
  .pipeline-step-connector{
    display: block;
  }
  .pipeline-step:nth-child(odd) .pipeline-step-connector,
  .pipeline-step:nth-child(even) .pipeline-step-connector{
    left: -25px;
    right: auto;
  }
}

/* ===================================================
   STICKY NAV
=================================================== */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 32px;
  height: 58px;

  /* Glass panel */
  background: rgba(5,22,23,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,161,90,0.12);

  /* Hidden above fold, slides in on scroll */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity  0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

#site-nav.nav--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mono-text);
  text-decoration: none;
  padding: 0 18px;
  height: 58px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

/* CTA button */
.nav-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--gold-dim);
  transition: border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(201,161,90,0.18);
}
.nav-cta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  flex-shrink: 0;
}

/* Burger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.nav-burger span:nth-child(1) { width: 22px; }
.nav-burger span:nth-child(2) { width: 16px; }
.nav-burger span:nth-child(3) { width: 22px; }

/* Burger open state — becomes an X */
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 22px; }
.nav-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }

/* ---- Mobile drawer ---- */
.nav-drawer {
  position: fixed;
  top: 58px; right: 0;
  width: min(280px, 85vw);
  height: calc(100vh - 58px);
  z-index: 850;
  background: rgba(5,24,25,0.97);
  border-left: 1px solid rgba(201,161,90,0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.nav-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-drawer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--mono-text);
  text-decoration: none;
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201,161,90,0.08);
  transition: color 0.2s ease;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.is-active {
  color: var(--gold-bright);
}
.nav-drawer-links li:last-child a {
  border-bottom: none;
  color: var(--gold);
  margin-top: 12px;
}

/* Overlay behind drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 840;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  #site-nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  #site-nav {
    padding: 0 16px;
    height: 52px;
  }
  .nav-logo-text {
    font-size: 11px;
  }
  .nav-logo-img {
    width: 26px;
    height: 26px;
  }
  .nav-drawer {
    top: 52px;
    height: calc(100vh - 52px);
  }
}

/* ===================================================
   BLOG SECTION
=================================================== */
.blog-section {
  padding: 14vh var(--edge) 14vh;
  background: var(--charcoal);
}

.blog-head {
  margin-bottom: 64px;
}

.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
  margin-top: 14px;
}

.blog-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mono-text);
  max-width: 520px;
  line-height: 1.7;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

/* Card */
.blog-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--gold-dim);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}
.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 36px rgba(201,161,90,0.13), 0 12px 32px rgba(0,0,0,0.4);
}

.blog-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--mono-text);
  padding: 3px 9px;
  border: 1px solid var(--gold-dim);
  align-self: flex-start;
  line-height: 1.5;
  transition: border-color 0.28s ease, color 0.28s ease;
}
.blog-card:hover .blog-tag {
  border-color: var(--gold);
  color: var(--gold);
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--mono-text);
  flex: 1;
}

.blog-read-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
  align-self: flex-start;
}
.blog-read-btn:hover {
  color: var(--gold-bright);
  gap: 10px;
}

@media (max-width: 720px) {
  .blog-section {
    padding: 10vh var(--edge) 10vh;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   FAQ — 20 question boxes
=================================================== */
.faq-section {
  padding: 14vh var(--edge) 14vh;
  background: var(--charcoal);
}

.faq-head {
  margin-bottom: 64px;
}

.faq-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
  margin-top: 14px;
}

.faq-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mono-text);
  max-width: 520px;
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 20px;
  align-items: start;
}

/* Box (native <details>) */
.faq-item {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--gold-dim);
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}
.faq-item:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201,161,90,0.12), 0 10px 26px rgba(0,0,0,0.35);
}
.faq-item[open] {
  border-color: var(--gold);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 22px 52px 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }

.faq-q-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  flex-shrink: 0;
  padding-top: 2px;
}

.faq-q-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
  flex: 1;
}

.faq-toggle-icon {
  position: absolute;
  top: 20px; right: 22px;
  width: 22px; height: 22px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.faq-toggle-icon::before { content: "+"; }
.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
}

.faq-answer {
  padding: 0 24px 24px 50px;
}
.faq-answer p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mono-text);
}

@media (max-width: 720px) {
  .faq-section {
    padding: 10vh var(--edge) 10vh;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-answer {
    padding: 0 22px 22px 22px;
  }
}


/* ===================================================
   FESTIVE SEASON OFFER (till 21st October)
   Hero pill, countdown (desktop only), pricing tile
   pricing stack, shine + glitter, nav "C" for Clarity.
   When the offer ends, JS adds .offer-ended to <html>:
   every .festive-only element hides and prices revert.
=================================================== */
.offer-ended .festive-only{ display: none !important; }

/* --- Hero pill ---------------------------------- */
.offer-pill{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 11px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--gold);
  background: linear-gradient(100deg, rgba(201,161,90,0.16), rgba(5,22,23,0.7) 60%);
  box-shadow: 0 0 26px rgba(240,205,122,0.16);
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.offer-pill:hover{
  border-color: var(--gold-bright);
  box-shadow: 0 0 38px rgba(240,205,122,0.34);
}
.offer-pill:focus-visible{ outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.offer-pill::after{ /* light sweep */
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,236,170,0.28) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 160% 0;
  animation: offer-sweep 4.8s ease-in-out infinite;
}
.offer-pill-text b{ color: var(--gold-bright); font-weight: 700; }
.offer-pill-dot{
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.offer-pill-go{ color: var(--gold-bright); font-size: 14px; letter-spacing: 0; transition: transform .25s ease; }
.offer-pill:hover .offer-pill-go{ transform: translateX(4px); }

/* --- Countdown: desktop only (kept off phones to avoid clutter) --- */
.offer-timer{
  display: none;
  font-variant-numeric: tabular-nums;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  padding-left: 12px;
  border-left: 1px solid var(--gold-dim);
  white-space: nowrap;
}
.offer-timer--lg{
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
@media (min-width: 821px){
  .offer-timer{ display: inline-block; }
}

/* --- Pricing section strip ---------------------- */
.offer-strip{
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 28px;
  border: 1px solid var(--gold-dim);
  background: radial-gradient(ellipse at 50% 0%, rgba(240,205,122,0.12), transparent 70%), var(--charcoal);
  text-align: center;
}
.offer-strip-title{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}
.offer-strip-sub{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mono-text);
}

/* --- Tiles: price stack ------------------------- */
.tariff-price{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.price-was{
  display: flex; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--mono-text);
}
.price-was s{
  text-decoration-color: rgba(201,161,90,0.85);
  text-decoration-thickness: 1.5px;
  opacity: 0.8;
}
.price-badge{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--void);
  background: linear-gradient(100deg, var(--gold), var(--gold-bright));
  padding: 4px 9px;
  white-space: nowrap;
}
.price-from{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-text);
  margin-top: 2px;
}
.tariff-price strong{
  margin-top: 0;
  font-size: 1.9rem;
  line-height: 1.1;
  background: linear-gradient(100deg, var(--gold) 0%, #fff2c2 45%, var(--gold-bright) 60%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-bright);
  animation: price-glint 5.5s ease-in-out infinite;
}
.price-scale{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mono-text);
}

/* --- Shine sweep + glitter on tiles ------------- */
.tariff-row{ isolation: isolate; overflow: visible; }
.tariff-row::after{
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(112deg, transparent 40%, rgba(255,232,160,0.15) 50%, transparent 60%);
  background-size: 260% 100%;
  background-position: 160% 0;
  animation: offer-sweep 6.5s ease-in-out infinite;
}
.tariff-row:nth-child(2)::after{ animation-delay: 0.8s; }
.tariff-row:nth-child(3)::after{ animation-delay: 1.6s; }
.tariff-row:nth-child(4)::after{ animation-delay: 2.4s; }
.tariff-row:nth-child(5)::after{ animation-delay: 3.2s; }
.tariff-row > *:not(.fc-corner):not(.sparkle){ position: relative; z-index: 1; }

.sparkle{
  position: absolute;
  z-index: 2;
  width: 10px; height: 10px;
  pointer-events: none;
  background: radial-gradient(circle, #fff6d0 0%, var(--gold-bright) 40%, transparent 70%);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  animation: sparkle-twinkle 3.2s ease-in-out infinite;
}

/* --- Festive Package: featured tile ------------- */
@property --pkg-angle{ syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.tariff-row--festive{
  border: 1px solid transparent;
  background:
    linear-gradient(#0d4646, #0a3030) padding-box,
    conic-gradient(from var(--pkg-angle), var(--gold-dim), var(--gold-bright), #fff2c2, var(--gold), var(--gold-dim)) border-box;
  animation: pkg-spin 7s linear infinite;
  box-shadow: 0 0 40px rgba(240,205,122,0.12);
}
.tariff-row--festive:hover{
  background:
    linear-gradient(#115252, #0b3636) padding-box,
    conic-gradient(from var(--pkg-angle), var(--gold-dim), var(--gold-bright), #fff2c2, var(--gold), var(--gold-dim)) border-box;
  border-color: transparent;
}
.tariff-row--festive .tariff-index{ color: var(--gold-bright); }
.tariff-row--festive .tariff-name{ font-size: 1.35rem; }
.pkg-chips{
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 8px 0 0; padding: 0;
}
.pkg-chips li{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  padding: 5px 10px;
  background: rgba(201,161,90,0.07);
}

@keyframes offer-sweep{
  0%, 55%{ background-position: 160% 0; }
  100%{ background-position: -60% 0; }
}
@keyframes price-glint{
  0%, 55%{ background-position: 120% 0; }
  100%{ background-position: -80% 0; }
}
@keyframes sparkle-twinkle{
  0%, 100%{ opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%{ opacity: 1; transform: scale(1) rotate(45deg); }
}
@keyframes pkg-spin{ to{ --pkg-angle: 360deg; } }

/* --- Nav "C" — Clarity -------------------------- */
.nav-clarity{
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--gold-bright);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(240,205,122,0.22), rgba(5,22,23,0.6));
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.nav-clarity:hover{
  border-color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(240,205,122,0.35);
  transform: scale(1.06);
}
.nav-clarity:focus-visible{ outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* --- Mobile ------------------------------------- */
@media (max-width: 820px){
  .nav-clarity{ margin-left: auto; margin-right: 12px; width: 30px; height: 30px; font-size: 15px; }
  .nav-clarity ~ .nav-burger{ margin-left: 0; }
}
@media (max-width: 760px){
  .tariff-price{ align-items: flex-start; }
  .tariff-price strong{ font-size: 1.75rem; }
  .price-badge{ white-space: normal; }
  .tariff-row--festive .tariff-name{ font-size: 1.2rem; }
  .offer-strip{ padding: 14px 16px; width: 100%; }
  .offer-strip-title{ font-size: 10px; letter-spacing: 0.12em; }
}
@media (max-width: 720px){
  .offer-pill{
    margin-top: 20px;
    padding: 10px 14px;
    gap: 9px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    max-width: 100%;
  }
  .offer-pill-sep, .offer-pill-until{ display: none; }
  .offer-pill-text b::after{ content: '\00b7'; color: var(--ink); font-weight: 400; margin: 0 0.6em; }
}
@media (max-width: 360px){
  .offer-pill{ font-size: 9px; padding: 9px 11px; }
}

@media (prefers-reduced-motion: reduce){
  .offer-pill::after, .tariff-row::after, .sparkle,
  .tariff-price strong, .tariff-row--festive, .offer-pill-dot{ animation: none !important; }
  .sparkle{ opacity: 0.5; }
}


/* Nav Clarity mark: real logo instead of a letter */
.nav-clarity{
  width: 34px; height: 34px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 0;
}
.nav-clarity img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-clarity:hover{ box-shadow: 0 0 18px rgba(122,227,195,0.4); }
@media (max-width: 820px){
  .nav-clarity{ width: 30px; height: 30px; }
}


/* ===================================================
   TEAL THEME — SHINE LAYER
   The dark site, now with light moving through it:
   glinting section titles, card sweeps (hover + a slow
   idle pass), glitter drifting in the teal sections and a
   lit edge on the nav. All motion respects reduced-motion.
=================================================== */
.blog-section, .faq-section, .testimonials-section, .contact-section{ position: relative; }

/* Glitter field injected by JS into each teal section */
.glitter{
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}
.glitter .sparkle{ box-shadow: none; }

/* Section titles: ivory with a slow champagne glint */
.why-noor-title, .tariff-title, .deploy-title, .pipeline-title,
.blog-title, .faq-title, .testimonials-title, .contact-title{
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, var(--ivory) 45%, var(--champagne) 51%, var(--ink) 60%, var(--ink) 100%);
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-glint 8s ease-in-out infinite;
}
@keyframes title-glint{
  0%, 50%{ background-position: 130% 0; }
  100%{ background-position: -40% 0; }
}

/* Card sweep: on hover */
.pipeline-step::after, .blog-card::after, .faq-item::after,
.testimonial-card::after, .contact-link-item::after, .related-card::after{
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(112deg, transparent 40%, rgba(255,236,170,0.20) 50%, transparent 60%);
  background-size: 260% 100%;
  background-position: 160% 0;
  opacity: 0;
}
.pipeline-step:hover::after, .blog-card:hover::after, .faq-item:hover::after,
.testimonial-card:hover::after, .contact-link-item:hover::after, .related-card:hover::after{
  opacity: 1;
  animation: offer-sweep-once 1.1s ease-out 1;
}
@keyframes offer-sweep-once{
  from{ background-position: 160% 0; }
  to{ background-position: -60% 0; }
}

/* Lit cards: teal glass edge catching gold light */
.blog-card, .faq-item, .testimonial-card, .contact-link-item, .related-card, .pipeline-step{
  box-shadow: inset 0 1px 0 rgba(246,217,138,0.10), 0 12px 32px rgba(0,0,0,0.28);
}
.blog-card:hover, .faq-item:hover, .testimonial-card:hover, .contact-link-item:hover, .related-card:hover{
  box-shadow: inset 0 1px 0 rgba(246,217,138,0.22), 0 0 30px rgba(42,157,143,0.28), 0 16px 38px rgba(0,0,0,0.35);
}

/* Nav: teal glass with a lit gold edge */
#site-nav{
  background: linear-gradient(90deg, rgba(5,38,39,0.88), rgba(5,22,23,0.86) 55%, rgba(40,32,10,0.82));
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(42,157,143,0.5), rgba(246,217,138,0.5), rgba(212,160,23,0.4)) 1;
}
.nav-drawer{ background: linear-gradient(170deg, rgba(8,58,58,0.98), rgba(5,24,25,0.98)); }

/* Teal-tinted selection + scrollbars */
::selection{ background: var(--gold-bright); color: #05201f; }

@media (max-width: 760px){
  .glitter{ opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce){
  .why-noor-title, .tariff-title, .deploy-title, .pipeline-title, .blog-title, .faq-title,
  .testimonials-title, .contact-title{ animation: none !important; background-position: 130% 0; }
  .glitter .sparkle{ animation: none !important; opacity: 0.35; }
}

/* Ambient animations sleep while their section is off-screen (toggled by JS) */
.is-off, .is-off *, .is-off *::before, .is-off *::after{ animation-play-state: paused !important; }
