/* National Grid-Pakistan – Coming Soon
   Colours and type from the NGC Brand Guidelines (Oct 2026). */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ng-blue: #2b3990;      /* National Grid Blue (primary) */
  --ng-green: #009444;     /* National Grid Green (primary) */
  --energy-blue: #6dcff6;  /* Energy Blue (accent) */
  --fresh-green: #39b54a;  /* Fresh Green (accent) */
  --grey: #939598;         /* Neutral Grey */
  --black: #231f20;        /* Black */
  --text-muted: #5f6164;   /* darker grey for body copy so it passes contrast */
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--black);
  font-family: "Montserrat", Calibri, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Thin brand-gradient strip along the top */
.topbar {
  height: 6px;
  background: linear-gradient(90deg, var(--ng-blue) 0%, var(--energy-blue) 55%, var(--fresh-green) 100%);
}

.wrap {
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(40px, 9vh, 110px) 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Logo: full-colour on white, never below 40 px high (brand rule),
   with generous clear space around it. */
.brand { padding: 24px; }
.brand img {
  display: block;
  width: clamp(240px, 52vw, 460px);
  height: auto;
  min-height: 50px;
}

.hero { margin-top: clamp(40px, 8vh, 90px); }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ng-blue);
}
h1 span { color: var(--ng-green); }

/* "Power line" with a pulse travelling along it */
.line {
  position: relative;
  width: min(320px, 70vw);
  height: 3px;
  margin: 30px auto 28px;
  border-radius: 3px;
  background: #e6e8f2;
  overflow: hidden;
}
.pulse {
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--energy-blue), var(--fresh-green), transparent);
  animation: travel 2.8s ease-in-out infinite;
}
@keyframes travel {
  from { left: -40%; }
  to   { left: 100%; }
}

.lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}

.foot {
  position: relative;
  z-index: 1;
  padding: 22px 24px 28px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.foot p { margin: 0; }

/* Decorative transmission lines, bottom-right, kept well away from the logo */
.deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(48vw, 600px);
  height: min(32vw, 400px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 600px) {
  .deco { opacity: 0.14; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; left: 30%; }
}

.nowrap { white-space: nowrap; }
