/* What is Pyr? Cheerful sci-fi: glowing cyan, violet and gold on deep space. */
.pyrpage{
  --pyr-cyan: #42d5ec;
  --pyr-violet: #a68bff;
  --pyr-gold: #f2c94c;
  --pyr-pink: #ff7ad9;
  position: relative;
  padding: 40px 0 64px;
}
/* A faint glowing grid behind everything, fading out at the edges. */
.pyrpage::before{
  content: "";
  position: absolute;
  inset: -40px -16px 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(66,213,236,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,213,236,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.pyr-eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pyr-cyan);
}
.pyr-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pyr-cyan);
  box-shadow: 0 0 10px var(--pyr-cyan), 0 0 22px rgba(66,213,236,.6);
  animation: pyr-pulse 2.4s ease-in-out infinite;
}
@keyframes pyr-pulse{ 50%{ opacity: .35; transform: scale(.8); } }

/* Hero */
.pyrhero{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}
.pyrhero__title{
  margin: 0;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: .01em;
}
.pyrhero__title span{
  background: linear-gradient(100deg, var(--pyr-cyan), var(--pyr-violet) 55%, var(--pyr-gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(66,213,236,.35));
}
.pyrhero__say{
  margin: 14px 0 0;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-size: 14px; letter-spacing: .08em;
  color: var(--pyr-gold);
}
.pyrhero__lede{
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 18px; line-height: 1.6;
  color: var(--text);
}
.pyrhero__by{
  margin: 22px 0 0;
  padding: 10px 14px;
  display: inline-block;
  border-left: 3px solid var(--pyr-gold);
  background: linear-gradient(90deg, rgba(242,201,76,.12), transparent);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  color: var(--muted);
}
.pyrhero__by a:first-child{
  color: #fff; font-weight: 700; text-decoration: none;
  text-shadow: 0 0 14px rgba(242,201,76,.55);
}
.pyrhero__by a:first-child:hover{ color: var(--pyr-gold); }
.pyrhero__cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* The picture, in a glowing frame with corner brackets. */
.pyrhero__art{ margin: 0; }
.pyr-frame{
  position: relative;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(140deg, rgba(66,213,236,.55), rgba(166,139,255,.35) 50%, rgba(242,201,76,.5));
  box-shadow: 0 0 40px rgba(66,213,236,.25), 0 0 90px rgba(166,139,255,.18);
  animation: pyr-float 7s ease-in-out infinite;
}
.pyr-frame img{
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  background: #000;
}
.pyr-frame::before, .pyr-frame::after{
  content: ""; position: absolute; width: 34px; height: 34px;
  border: 2px solid var(--pyr-cyan);
  filter: drop-shadow(0 0 6px var(--pyr-cyan));
}
.pyr-frame::before{ top: -12px; left: -12px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.pyr-frame::after{ bottom: -12px; right: -12px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; border-color: var(--pyr-gold); filter: drop-shadow(0 0 6px var(--pyr-gold)); }
@keyframes pyr-float{ 50%{ transform: translateY(-8px); } }
.pyrhero__art figcaption{
  margin-top: 14px; text-align: center;
  font-size: 13px; letter-spacing: .04em; color: var(--muted);
}

/* Question cards, styled like HUD panels. */
.pyrfaq{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 64px;
}
.pyrcard{
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(66,213,236,.07), rgba(255,255,255,.02) 40%),
    rgba(10,16,30,.75);
  border: 1px solid rgba(66,213,236,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pyrcard::before{
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--pyr-cyan), var(--pyr-violet), transparent);
  border-radius: 2px;
}
.pyrcard:hover{
  transform: translateY(-3px);
  border-color: rgba(66,213,236,.5);
  box-shadow: 0 10px 34px rgba(66,213,236,.14), inset 0 1px 0 rgba(255,255,255,.08);
}
.pyrcard__num{
  margin: 0 0 8px;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .2em;
  color: var(--pyr-violet);
}
.pyrcard h2{
  margin: 0 0 10px;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-weight: 600; font-size: 19px; line-height: 1.35;
}
.pyrcard p:last-child{ margin: 0; line-height: 1.65; color: var(--muted); }
.pyrcard--maker{
  border-color: rgba(242,201,76,.4);
  background:
    linear-gradient(180deg, rgba(242,201,76,.10), rgba(255,255,255,.02) 45%),
    rgba(10,16,30,.75);
}
.pyrcard--maker::before{ background: linear-gradient(90deg, var(--pyr-gold), var(--pyr-pink), transparent); }
.pyrcard--maker .pyrcard__num{ color: var(--pyr-gold); }
.pyrcard--maker b{ color: #fff; }

@media (max-width: 820px){
  .pyrpage{ padding-top: 24px; }
  .pyrhero{ grid-template-columns: 1fr; gap: 36px; }
  .pyrhero__art{ max-width: 460px; margin: 0 auto; width: 100%; }
  .pyrfaq{ grid-template-columns: 1fr; margin-top: 44px; }
  .pyrhero__lede{ font-size: 17px; }
}
@media (prefers-reduced-motion: reduce){
  .pyr-frame, .pyr-dot{ animation: none; }
  .pyrcard{ transition: none; }
}

/* The maker, at the bottom: who made Pyr, and how often it ships. */
.pyr-dot--gold{ background: var(--pyr-gold); box-shadow: 0 0 10px var(--pyr-gold), 0 0 22px rgba(242,201,76,.6); }
.pyrmaker{
  position: relative;
  margin-top: 64px;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid rgba(242,201,76,.35);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(166,139,255,.14), transparent 70%),
    linear-gradient(180deg, rgba(242,201,76,.09), rgba(255,255,255,.02) 50%),
    rgba(10,16,30,.8);
  box-shadow: 0 0 50px rgba(242,201,76,.08);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px 40px;
  align-items: start;
}
.pyrmaker::before{
  content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--pyr-gold), var(--pyr-pink), var(--pyr-violet), transparent);
}
.pyrmaker .pyr-eyebrow{ color: var(--pyr-gold); }
.pyrmaker h2{
  margin: 0 0 12px;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2;
}
.pyrmaker__who p:not(.pyr-eyebrow){ margin: 0; line-height: 1.65; color: var(--muted); max-width: 36em; }
.pyrmaker__x{
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  color: #fff; font-weight: 600; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pyrmaker__x svg{ width: 16px; height: 16px; }
.pyrmaker__x:hover{ color: #fff; border-color: var(--pyr-cyan); box-shadow: 0 0 18px rgba(66,213,236,.3); }
.pyrmaker__stats{ display: grid; gap: 14px; }
.pyrstat{
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(66,213,236,.25);
  background: rgba(66,213,236,.05);
}
.pyrstat b{
  display: block;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 40px); font-weight: 700; line-height: 1.1;
  background: linear-gradient(100deg, var(--pyr-cyan), var(--pyr-violet) 60%, var(--pyr-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pyrstat span{ display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.pyrchart{ grid-column: 1 / -1; margin: 0; }
.pyrchart figcaption{
  margin-bottom: 10px;
  font-family: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--text);
}
.pyrchart__plot svg{ display: block; width: 100%; height: auto; }
.pyrchart__grid{ stroke: rgba(255,255,255,.09); stroke-width: 1; }
.pyrchart__tick{ fill: rgba(255,255,255,.6); font-size: 13px; font-family: ui-sans-serif, system-ui, sans-serif; }
.pyrchart__bar{ transition: opacity .15s ease; }
.pyrchart__plot:hover .pyrchart__bar{ opacity: .55; }
.pyrchart__plot .pyrchart__bar:hover{ opacity: 1; }
.pyrchart__note{ margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px){
  .pyrmaker{ grid-template-columns: 1fr; padding: 24px 18px; margin-top: 44px; }
  .pyrmaker::before{ left: 18px; right: 18px; }
  .pyrmaker__stats{ grid-template-columns: 1fr 1fr; }
  .pyrchart__tick{ font-size: 22px; }
}

/* Toned down (Ames 2026-11-12): the numbers lead, the credit is one quiet line. */
.pyrmaker{
  border-color: rgba(66,213,236,.22);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(166,139,255,.10), transparent 70%),
    linear-gradient(180deg, rgba(66,213,236,.06), rgba(255,255,255,.02) 50%),
    rgba(10,16,30,.8);
  box-shadow: none;
}
.pyrmaker::before{ background: linear-gradient(90deg, var(--pyr-cyan), var(--pyr-violet), transparent); }
.pyrmaker .pyr-eyebrow{ color: var(--pyr-cyan); }
.pyrmaker__credit{ grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: var(--muted); }
