/* ==========================================================================
   ATOMSPHERE GASTECH PVT LTD — Coming Soon
   ========================================================================== */

:root {
  /* Colour system */
  --brand-orange: #F06645;
  --brand-orange-dark: #D95335;
  --graphite: #3A3A3C;
  --deep-graphite: #242426;
  --warm-white: #FAF8F5;
  --white: #FFFFFF;
  --soft-grey: #F0F1F2;
  --mid-grey: #6B6D70;
  --border-grey: #DCDDDE;

  /* Derived */
  --on-dark: rgba(250, 248, 245, 0.92);
  --on-dark-muted: rgba(250, 248, 245, 0.62);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Layout */
  --shell-max: 1280px;
  --shell-pad: clamp(1.35rem, 5vw, 4.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------- reset ------- */

*,
*::before,
*::after { box-sizing: border-box; }

h1, p { margin: 0; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--graphite);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--brand-orange);
  color: var(--deep-graphite);
}

:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* --------------------------------------------------------- page -------- */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* --------------------------------------------------------- header ------ */

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.6rem, 3.6vh, 2.6rem);
}

.brand__logo {
  flex-shrink: 0;
  width: auto;
  height: clamp(28px, 2.6vw, 36px);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
  white-space: nowrap;
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-orange);
  animation: dot-blink 3.2s ease-in-out infinite;
}

/* --------------------------------------------------------- hero -------- */

.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(2rem, 5vh, 4rem);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.eyebrow__rule {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--brand-orange);
}

.hero__title {
  margin-top: clamp(1.4rem, 3vh, 2rem);
  font-size: clamp(2.4rem, 1.35rem + 4vw, 4.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--deep-graphite);
}

.hero__stop {
  color: var(--brand-orange-dark);
}

.hero__text {
  margin-top: clamp(1.3rem, 2.6vh, 1.75rem);
  max-width: 34rem;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  line-height: 1.75;
  color: var(--mid-grey);
}


.tagline {
  margin: 16px 0 14px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: #252525;
}

.tagline span {
  color: #F06645;
}

/* --------------------------------------------------------- contact ----- */

.contact {
  display: inline-block;
  margin-top: clamp(2.2rem, 5vh, 3.25rem);
  padding: clamp(1.15rem, 2vw, 1.5rem) clamp(1.35rem, 2.4vw, 1.9rem);
  background: var(--deep-graphite);
  border-left: 3px solid var(--brand-orange);
  border-radius: 3px;
}

.contact__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.contact__email {
  display: inline-block;
  margin-top: 0.35rem;
  padding-block: 0.4em;
  font-size: clamp(1.5rem, 1.25rem + 0.6vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: color-mix(in srgb, var(--brand-orange) 45%, transparent);
  overflow-wrap: anywhere;
  transition:
    color 0.3s var(--ease),
    text-decoration-color 0.3s var(--ease);
}

.contact__email:hover,
.contact__email:focus-visible {
  color: var(--brand-orange-dark);
  text-decoration-color: currentColor;
}

/* --------------------------------------------------------- network ----- */

.hero__visual {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 48%;
  right: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.36) 30%,
    #000 58%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.36) 30%,
    #000 58%
  );
}

.network {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}

.network__orbits circle {
  fill: none;
  stroke: var(--graphite);
  stroke-opacity: 0.13;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.network__edges line {
  stroke: var(--graphite);
  stroke-opacity: 0.2;
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.network__nodes circle {
  fill: var(--graphite);
  fill-opacity: 0.28;
}

.network__pulse {
  fill: var(--brand-orange);
  fill-opacity: 0.16;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 6s ease-in-out infinite;
}

.network__node-accent {
  fill: var(--brand-orange);
  fill-opacity: 0.85;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-glow 6s ease-in-out infinite;
}

/* --------------------------------------------------------- footer ------ */

.site-footer {
  background: var(--deep-graphite);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.15rem, 2.4vh, 1.5rem);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__name {
  color: var(--on-dark);
}

.site-footer__copy {
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------- motion ------ */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes node-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

@keyframes node-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.reveal { animation: rise 0.9s var(--ease) both; }

.reveal--0 { animation-delay: 0.02s; }
.reveal--1 { animation-delay: 0.12s; }
.reveal--2 { animation-delay: 0.2s; }
.reveal--3 { animation-delay: 0.3s; }
.reveal--4 { animation-delay: 0.4s; }
.reveal--5 { animation: fade 1.4s var(--ease) 0.35s both; }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1200px) {
  .hero__visual {
    left: 62%;
    opacity: 0.7;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-block: clamp(1.5rem, 4vh, 3rem);
  }

  .hero__content {
    max-width: 36rem;
  }

  .hero__visual {
    left: 0;
    right: 0;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 40%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 40%,
      #000 100%
    );
  }
}

@media (max-width: 640px) {
  :root {
    --shell-pad: clamp(1.25rem, 6vw, 1.75rem);
  }

  .hero__visual {
    opacity: 0.24;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 45%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 45%,
      #000 100%
    );
  }

  .hero {
    padding-block: clamp(1.25rem, 3.5vh, 2rem);
  }

  .status {
    font-size: 0.63rem;
    letter-spacing: 0.16em;
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .eyebrow__rule {
    width: 26px;
  }

  .hero__title {
    font-size: clamp(2.15rem, 1.4rem + 7vw, 3rem);
    letter-spacing: -0.03em;
  }

  .hero__text {
    line-height: 1.7;
  }

  .contact {
    display: block;
    margin-top: 1.75rem;
    padding-inline: 1.1rem;
  }

  .contact__email {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-block: 1rem;
    font-size: 0.66rem;
  }
}

/* --------------------------------------------------------- a11y -------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
