/* ==============================================================
   GATechX Ã¢â‚¬â€ industrialPostsStyle.css
   Standalone category-page stylesheet using the exact visual system
   of the GATechX home page.
   ============================================================== */


/* ==============================================================
   1. TOKENS
   ============================================================== */
:root {
  --void:      #000000;
  --deep:      #04070C;
  --panel:     #080D15;
  --blue:      #2E9BFF;
  --blue-hot:  #7FD0FF;
  --blue-deep: #0B4FA8;
  --white:     #FFFFFF;
  --mist:      #C4D2E2;
  --dim:       #7A8CA3;
  --edge:      rgba(46, 155, 255, .22);

  --f-display: "Orbitron", system-ui, sans-serif;
  --f-body:    "Rajdhani", system-ui, sans-serif;
  --f-mono:    "Space Mono", ui-monospace, monospace;

  --s-1: clamp(.82rem, .8rem + .1vw, .88rem);
  --s0:  clamp(1.05rem, 1rem + .2vw, 1.18rem);
  --s1:  clamp(1.25rem, 1.1rem + .5vw, 1.55rem);
  --s2:  clamp(1.7rem, 1.4rem + 1.2vw, 2.6rem);
  --s3:  clamp(2.4rem, 1.7rem + 3vw, 4.6rem);

  --shell: 1200px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 76px;
}


/* ==============================================================
   2. BASE
   ============================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--void);
  color: var(--mist);
  font-family: var(--f-body);
  font-size: var(--s0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

button,
input { font: inherit; }

h1,
h2,
h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.shell {
  width: min(100% - (var(--pad) * 2), var(--shell));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -200px;
  left: 1rem;
  z-index: 200;
  padding: .7rem 1.2rem;
  background: var(--blue);
  color: #001428;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--blue-hot);
  outline-offset: 3px;
}


/* ==============================================================
   3. BACKDROP
   ============================================================== */
.space {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 12% 18%, rgba(11, 79, 168, .20), transparent 65%),
    radial-gradient(50vw 45vh at 88% 62%, rgba(46, 155, 255, .13), transparent 65%),
    radial-gradient(70vw 60vh at 50% 110%, rgba(11, 79, 168, .16), transparent 70%);
}


/* ==============================================================
   4. HEADER + NAVIGATION
   ============================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(4, 7, 12, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .3s ease, box-shadow .3s ease;
}

.header.is-stuck {
  background: rgba(4, 7, 12, .9);
  box-shadow: 0 1px 0 rgba(46, 155, 255, .25), 0 18px 40px -30px #000;
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header__beam {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 155, 255, .75), transparent);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(140px, 18vw, 200px);
  height: auto;
}

.nav {
  display: none;
  gap: clamp(.9rem, 1.7vw, 1.6rem);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: .35rem 0;
  color: var(--mist);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  transition: right .3s ease;
}

.nav a:hover,
.nav a.is-active { color: var(--white); }

.nav a:hover::after,
.nav a.is-active::after { right: 0; }

.header__end {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-left: auto;
}

.lang {
  padding: .3rem .8rem;
  border: 1px solid var(--edge);
  border-radius: 3px;
  color: var(--mist);
  font-size: .95rem;
  text-decoration: none;
}

.lang:hover {
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 16px -4px var(--blue);
}

.burger {
  width: 42px;
  display: grid;
  gap: 5px;
  padding: 9px 7px;
  background: none;
  border: 1px solid var(--edge);
  border-radius: 3px;
  cursor: pointer;
}

.burger span:not(.sr) {
  display: block;
  height: 2px;
  background: var(--mist);
}

.nav.is-open {
  position: fixed;
  inset: var(--header-h) 0 auto;
  max-height: calc(100vh - var(--header-h));
  display: grid;
  overflow-y: auto;
  padding: .5rem var(--pad) 1.5rem;
  background: rgba(4, 7, 12, .97);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav.is-open a {
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 1.05rem;
}

@media (min-width: 1080px) {
  .nav { display: flex; }
  .header__end { margin-left: 0; }
  .burger { display: none; }
}


/* ==============================================================
   5. SHARED TYPE + BUTTONS
   ============================================================== */
.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.byline {
  margin: 0;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: var(--s-1);
  letter-spacing: .05em;
}

.btn {
  display: inline-block;
  padding: .85rem 1.7rem;
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 0 28px -8px var(--blue);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px -6px var(--blue);
}

.tag {
  display: inline-block;
  margin: 0 0 .8rem;
  padding: .25rem .7rem;
  background: var(--blue);
  color: #001428;
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tag--alt {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--edge);
}


/* ==============================================================
   6. CATEGORY HERO
   ============================================================== */
.category-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-block: calc(var(--header-h) + 3.5rem) 6rem;
  overflow: hidden;
  isolation: isolate;
}

.category-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("../Media/Category/industrial-category.webp")
    right center / min(980px, 68vw) auto no-repeat;
}

.category-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--void) 6%, rgba(0,0,0,.92) 28%, rgba(0,0,0,.35) 55%, transparent 78%),
    linear-gradient(180deg, rgba(0,0,0,.85) 0%, transparent 22%, transparent 62%, var(--void) 100%);
}

.category-hero__scan {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .12;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 6px, rgba(127,208,255,.10) 7px);
}

.category-hero__glow {
  position: absolute;
  right: 5%;
  bottom: 0;
  z-index: -1;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(46,155,255,.30), transparent 62%);
  filter: blur(8px);
}

.category-hero__content {
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 2.5rem;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs [aria-current="page"] { color: var(--blue); }

.category-hero h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: var(--s3);
  font-weight: 900;
}

.category-hero h1 span {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 30px rgba(46,155,255,.6), 0 0 80px rgba(46,155,255,.3);
}

.category-hero__description {
  max-width: 58ch;
  margin: 0;
  color: var(--mist);
  font-size: var(--s1);
  line-height: 1.55;
}

.category-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 3.5rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.09);
}

.category-hero__stats div { display: grid; gap: .25rem; }

.category-hero__stats strong {
  color: var(--white);
  font-family: var(--f-display);
  font-size: 1.5rem;
}

.category-hero__stats span {
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.category-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 26px;
  height: 42px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  transform: translateX(-50%);
}

.category-hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
  animation: drift 1.8s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: .2; }
}


/* ==============================================================
   7. SECTIONS
   ============================================================== */
.category-section {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 20ch;
  font-size: var(--s2);
}




/* ==============================================================
   10. SIGNUP
   ============================================================== */
.category-signup {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(46,155,255,.09), transparent);
}

.category-signup__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.category-signup h2 {
  max-width: 20ch;
  margin-bottom: .75rem;
  font-size: var(--s2);
}

.category-signup__inner > div > p:last-child {
  max-width: 58ch;
  margin: 0;
}

.category-signup__form {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.category-signup__form input {
  flex: 1 1 15rem;
  min-width: 0;
  padding: .8rem 1rem;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--edge);
  color: var(--white);
}

.category-signup__form input::placeholder { color: var(--dim); }

.category-signup__form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 22px -8px var(--blue);
}

.category-signup__status {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin: 0;
  color: var(--blue-hot);
  font-family: var(--f-mono);
  font-size: .72rem;
}

@media (min-width: 900px) {
  .category-signup__inner { grid-template-columns: 1.2fr 1fr; }
}


/* ==============================================================
   11. FOOTER
   ============================================================== */
.footer {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.5);
}

.footer__inner {
  display: grid;
  gap: 2rem;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__mark { width: 64px; }
.footer__wordmark { width: 170px; }

.footer__brand p {
  max-width: 32ch;
  margin: .9rem 0 0;
  color: var(--dim);
  font-size: .95rem;
}

.footer__col {
  display: grid;
  align-content: start;
  gap: .55rem;
}

.footer__col h3 {
  margin-bottom: .35rem;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.footer__col a {
  color: var(--mist);
  font-size: .97rem;
  text-decoration: none;
}

.footer__col a:hover { color: var(--blue); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .08em;
}

.footer__base p { margin: 0; }

@media (min-width: 780px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}


/* ==============================================================
   12. REVEALS + RESPONSIVE
   ============================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .8s cubic-bezier(.2,.7,.3,1),
    transform .8s cubic-bezier(.2,.7,.3,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .category-hero {
    padding-block: calc(var(--header-h) + 2.5rem) 5rem;
  }

  .category-hero__image {
    background-position: 62% center;
    background-size: cover;
  }

  .category-hero__image::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.55) 30%, rgba(0,0,0,.9) 72%, var(--void)),
      linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 70%);
  }

}

@media (max-width: 650px) {
  .category-hero h1 { font-size: clamp(2.4rem, 12vw, 4.3rem); }
  .category-hero__description { font-size: 1.05rem; }
  .category-hero__scroll { display: none; }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }




}


/* ==============================================================
   13. REDUCED MOTION
   ============================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

