/* ============================================================
   SET Energy — Stylesheet
   Palette pulled from live brand (getset-go.biz):
     white       #ffffff
     cream       #e5e3dc  (lightAccent)
     purple      #180D31  (accent)
     slate-teal  #495a58  (darkAccent)
     near-black  #303636  (black)
   Fonts: Urbanist (headings) / Poppins (body)
   ============================================================ */

:root {
  --white: #ffffff;
  --cream: #e5e3dc;
  --purple: #180D31;
  --purple-light: #2c1a54;
  --slate: #495a58;
  --black: #303636;
  --amber: #9D6815;
  --amber-light: #c7902f;
  --i1: #3a86c8;   /* Light Industrial (I-1) — matches map legend blue */
  --i2: #f0a431;   /* Heavy Industrial (I-2) — matches map legend orange */

  --font-head: "Urbanist", sans-serif;
  --font-body: "Poppins", sans-serif;

  --max-width: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(48, 54, 54, 0.08);
  --shadow-md: 0 12px 32px rgba(48, 54, 54, 0.14);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 22px 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* Exact SET Energy logo (self-contained badge) */
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.site-header.scrolled .brand-logo { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}

.site-header.scrolled .nav-links a { color: var(--black); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.site-header.scrolled .nav-cta .btn-outline {
  border-color: var(--purple);
  color: var(--purple);
}

.site-header.scrolled .nav-cta .btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition);
}

.site-header.scrolled .nav-toggle span { background: var(--black); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* slight scale hides the thin letterbox slivers baked into the source render */
.hero-video { transform: scale(1.06); }

.hero-fallback {
  background:
    radial-gradient(circle at 18% 22%, rgba(90, 30, 163, 0.55), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(73, 90, 88, 0.6), transparent 55%),
    linear-gradient(135deg, #2a2f2f 0%, #180D31 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.55) 0%, rgba(20, 20, 22, 0.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  padding-top: 90px;
}

.hero-content .eyebrow { color: var(--cream); }

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  margin-bottom: 22px;
}

.hero-content p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

.hero-scroll .line {
  width: 1px;
  height: 36px;
  background: var(--cream);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--purple);
  color: var(--white);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 44px var(--gutter);
}

.stat h3 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--white);
}

.stat p {
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(73, 90, 88, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-media {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img { transform: scale(1.06); }

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,13,49,0.15), rgba(48,54,54,0.55));
}

.service-body { padding: 28px 28px 32px; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -54px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  color: var(--purple);
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
}

.service-card:nth-child(3n+2) .service-icon { color: var(--slate); }
.service-card:nth-child(3n+3) .service-icon { color: var(--purple); }

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--slate);
  font-size: 0.96rem;
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
}

.about .contact-form {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #495a58, #303636);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(24,13,49,0.38), transparent 60%);
}

.about-media-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.about-media-badge .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--purple);
}

.about-media-badge .lbl {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.3;
}

.about-copy p {
  color: var(--slate);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-list {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--black);
}

.about-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- Projects ---------- */
.projects {
  background: var(--black);
}

.projects .section-head p { color: rgba(229,227,220,0.75); }
.projects .eyebrow { color: var(--cream); }
.projects .section-head h2 { color: var(--white); }

.projects-region {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 56px 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(229,227,220,0.14);
  flex-wrap: wrap;
}

.projects-region:first-of-type { margin-top: 8px; }

.projects-region h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.projects-region .region-meta {
  color: rgba(229,227,220,0.6);
  font-size: 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.projects-region .region-legend {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 0.78rem;
  color: rgba(229,227,220,0.7);
  font-family: var(--font-head);
  font-weight: 600;
}

.region-legend .key { display: inline-flex; align-items: center; gap: 7px; }
.region-legend .swatch { width: 13px; height: 13px; border-radius: 3px; }
.region-legend .swatch.i1 { background: var(--i1); }
.region-legend .swatch.i2 { background: var(--i2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1c2120;
  border: 1px solid rgba(229,227,220,0.1);
  transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover { transform: translateY(-5px); border-color: rgba(229,227,220,0.28); }

.project-map {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04) brightness(0.98);
  transition: transform 0.5s ease;
}

/* Uniform tint applied identically to every map → cohesive set */
.project-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(48,54,54,0.10) 0%, rgba(28,33,32,0.45) 100%),
    rgba(24,13,49,0.06);
}

.project-card:hover .project-map img { transform: scale(1.05); }

.project-map-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(20,20,22,0.78);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(229,227,220,0.25);
}

.project-map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(20,20,22,0.78);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(229,227,220,0.25);
  transition: background var(--transition);
}

.project-map-link:hover { background: var(--purple); }

.project-body { padding: 26px 28px 30px; }

.project-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 8px;
  display: block;
}

.project-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 10px; }
.project-card p { color: rgba(229,227,220,0.7); font-size: 0.92rem; }

.project-coords {
  margin-top: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  color: rgba(229,227,220,0.45);
  letter-spacing: 0.02em;
}

/* Category pill (Light / Heavy / Mixed Industrial) */
.project-cat {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(20,20,22,0.82);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(229,227,220,0.2);
}

.project-cat .dot { width: 9px; height: 9px; border-radius: 50%; }
.project-cat .dot.i1 { background: var(--i1); }
.project-cat .dot.i2 { background: var(--i2); }
.project-cat .dot.mixed { background: linear-gradient(90deg, var(--i1) 50%, var(--i2) 50%); }

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(229,227,220,0.6);
  white-space: nowrap;
}

.project-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-light);
}

.project-status.planning::before { background: #6fae8e; }
.project-status.early::before { background: rgba(229,227,220,0.5); }

/* Featured project (Michigan) — side-by-side */
.project-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #1c2120;
  border: 1px solid rgba(229,227,220,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-feature .project-map { aspect-ratio: auto; height: 100%; min-height: 320px; }
.project-feature .project-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.project-feature h3 { font-size: 1.6rem; }
.project-feature p { font-size: 1rem; max-width: 460px; }

/* Campus concept selector + panels */
.concept-switch { margin-left: auto; }

.concept-select {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  background-color: #1c2120;
  border: 1px solid rgba(229,227,220,0.25);
  border-radius: 999px;
  padding: 11px 44px 11px 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c7902f' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: border-color var(--transition);
}
.concept-select:hover, .concept-select:focus { border-color: var(--amber-light); outline: none; }
.concept-select option { color: #1c2120; background: var(--white); }

.concept-panels { margin-bottom: 16px; }

.concept-panel {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: #1c2120;
  border: 1px solid rgba(229,227,220,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.concept-panel[hidden] { display: none; }

.concept-panel-media { min-height: 320px; overflow: hidden; }
.concept-panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.concept-panel-copy { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.concept-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-light);
  margin-bottom: 10px;
}
.concept-panel-copy h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 12px; }
.concept-panel-copy p { color: rgba(229,227,220,0.75); font-size: 1rem; max-width: 440px; margin-bottom: 24px; }
.concept-panel-copy .btn { align-self: flex-start; }

/* ---------- Partners ---------- */
.partners {
  background: var(--cream);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.partner-card .logo-row {
  height: 64px;
  display: flex;
  align-items: center;
}

.partner-card .logo-row img {
  max-height: 100%;
  max-width: 210px;
  object-fit: contain;
}

.partner-card p { color: var(--slate); font-size: 0.96rem; }

.partner-card a.btn { align-self: flex-start; margin-top: 4px; }

.partners-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.partners-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.partners-photo-copy {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partners-photo-copy h3 { font-size: 1.4rem; margin-bottom: 12px; }
.partners-photo-copy p { color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #180D31, #0e0720);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.cta-band p {
  color: var(--cream);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 { margin-bottom: 18px; }

.contact-info p { color: var(--slate); margin-bottom: 28px; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-detail .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon svg { width: 20px; height: 20px; }

.contact-detail h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-detail span { color: var(--slate); font-size: 0.95rem; }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--black);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(73, 90, 88, 0.25);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  resize: vertical;
  transition: border-color var(--transition);
  color: var(--black);
}

.field select { appearance: none; cursor: pointer; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--purple);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--cream);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(229, 227, 220, 0.12);
}

.footer-brand .brand { color: var(--white); font-size: 1.3rem; }
.footer-brand p { color: rgba(229,227,220,0.7); margin-top: 14px; max-width: 280px; font-size: 0.92rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: grid; gap: 12px; }

.footer-col a {
  color: rgba(229,227,220,0.75);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.84rem;
  color: rgba(229,227,220,0.6);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(229,227,220,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page banner (sub-pages) ---------- */
.page-banner {
  position: relative;
  padding: 170px 0 80px;
  background: linear-gradient(140deg, #0e0720, #303636);
  color: var(--white);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(157,104,21,0.25), transparent 55%);
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner .eyebrow { color: var(--cream); }
.page-banner h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-banner p { color: var(--cream); max-width: 560px; font-size: 1.05rem; }

/* ---------- Vision page ---------- */
.vision-hero {
  position: relative;
  padding: 180px 0 96px;
  background:
    radial-gradient(circle at 80% 15%, rgba(90,55,150,0.55), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(24,13,49,0.9), transparent 60%),
    linear-gradient(135deg, #180D31 0%, #0e0720 55%, #080314 100%);
  color: var(--white);
  overflow: hidden;
}

.vision-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.6;
}

.vision-hero .container { position: relative; z-index: 1; max-width: 820px; }
.vision-hero .eyebrow { color: var(--cream); }
.vision-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.vision-hero p { color: var(--cream); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 640px; }

/* Concept illustration */
.concept { background: var(--white); }

.concept-frame {
  background: radial-gradient(circle at 50% 38%, #f4f2ec 0%, #e7e4da 100%);
  border: 1px solid rgba(73,90,88,0.14);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.concept-frame img { width: 100%; height: auto; display: block; }

.concept-caption {
  text-align: center;
  color: var(--slate);
  font-size: 0.86rem;
  font-style: italic;
  margin-top: 16px;
}

.concept-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin-top: 30px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--black);
}

.legend-chip .sw { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }

/* Vision feature grid */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.vision-card {
  background: var(--white);
  border: 1px solid rgba(73,90,88,0.14);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.vision-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.vision-card .v-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(24,13,49,0.08);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.vision-card .v-icon svg { width: 24px; height: 24px; }
.vision-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.vision-card p { color: var(--slate); font-size: 0.94rem; }

/* Impact band (purple) */
.impact { background: linear-gradient(120deg, #180D31, #0e0720); color: var(--white); }
.impact .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.impact .section-head h2 { color: var(--white); }
.impact .eyebrow { color: var(--cream); }
.impact .section-head p { color: var(--cream); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.impact-stat { text-align: center; }
.impact-stat h3 { color: var(--white); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.impact-stat p { color: var(--cream); font-size: 0.9rem; margin-top: 6px; }

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.road-step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid rgba(24,13,49,0.18);
}
.road-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -17px; left: 0;
  width: 34px; height: 34px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.road-step .phase {
  font-family: var(--font-head); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
  display: block; margin-bottom: 6px;
}
.road-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.road-step .dur { color: var(--purple); font-weight: 600; font-size: 0.85rem; font-family: var(--font-head); margin-bottom: 8px; }
.road-step p { color: var(--slate); font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid, .projects-grid, .partners-grid, .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-photo, .project-feature, .concept-panel { grid-template-columns: 1fr; }
  .partners-photo img { min-height: 220px; }
  .project-feature .project-map { min-height: 240px; }
  .concept-panel-media { min-height: 220px; }
  .concept-switch { margin-left: 0; width: 100%; }
  .concept-select { width: 100%; }
  .projects-region .region-legend { margin-left: 0; width: 100%; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 22px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open a { color: var(--black); }
}

@media (max-width: 760px) {
  .services-grid, .projects-grid, .partners-grid, .vision-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .partners-photo-copy { padding: 32px 26px; }
  .page-banner { padding: 150px 0 64px; }
  .impact-grid, .roadmap-grid { grid-template-columns: 1fr; }
  .vision-hero { padding: 150px 0 72px; }
}

/* ============================================================
   Employee Portal (login + dashboard)
   ============================================================ */
.portal-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(circle at 80% 12%, rgba(122,60,180,0.35), transparent 55%),
    linear-gradient(135deg, #180D31 0%, #0e0720 100%);
}
.login-wrap { width: 100%; max-width: 420px; }
.login-card { background: var(--white); border-radius: 16px; padding: 44px 40px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); text-align: center; }
.login-logo { height: 46px; width: auto; margin: 0 auto 22px; display: block; }
.login-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.login-sub { color: var(--slate); font-size: 0.9rem; margin-bottom: 26px; }
.login-field { text-align: left; margin-bottom: 16px; }
.login-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; margin-bottom: 6px; color: var(--black); }
.login-field input { width: 100%; padding: 12px 14px; border: 1px solid rgba(73,90,88,0.25); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; background: var(--white); }
.login-field input:focus { outline: none; border-color: var(--purple); }
.login-error { color: #b3261e; font-size: 0.85rem; margin-bottom: 14px; }
.login-btn { width: 100%; justify-content: center; margin-top: 6px; }
.login-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 0.8rem; color: var(--slate); }
.login-meta a { color: var(--purple); font-weight: 600; }

/* Dashboard */
.portal-body { background: #f4f3ef; min-height: 100vh; }
.portal-topbar { display: flex; align-items: center; gap: 18px; background: var(--purple); color: var(--white); padding: 12px 24px; position: sticky; top: 0; z-index: 50; }
.portal-brand img { height: 34px; width: auto; display: block; }
.portal-label { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--cream); }
.portal-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.portal-user { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--white); }
.portal-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; }
.portal-logout { padding: 8px 18px; border-color: rgba(255,255,255,0.5); color: var(--white); }
.portal-logout:hover { background: var(--white); color: var(--purple); }
.portal-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 58px); }
.portal-sidebar { background: var(--white); border-right: 1px solid rgba(48,54,54,0.1); padding: 22px 0; display: flex; flex-direction: column; }
.portal-side-link { display: block; padding: 11px 24px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--slate); border-left: 3px solid transparent; transition: all 0.18s; }
.portal-side-link:hover { background: #f4f3ef; color: var(--purple); }
.portal-side-link.active { color: var(--purple); border-left-color: var(--purple); background: rgba(24,13,49,0.04); }
.portal-side-foot { margin-top: auto; padding: 18px 24px 4px; font-size: 0.72rem; color: rgba(48,54,54,0.4); letter-spacing: 0.04em; text-transform: uppercase; }
.portal-main { padding: 36px clamp(20px,4vw,48px); }
.portal-head { margin-bottom: 30px; }
.portal-head h1 { font-size: 1.8rem; margin-bottom: 6px; }
.portal-head p { color: var(--slate); }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 20px; }
.dept-card { background: var(--white); border: 1px solid rgba(48,54,54,0.1); border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.dept-icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(24,13,49,0.07); color: var(--purple); display: flex; align-items: center; justify-content: center; }
.dept-icon svg { width: 24px; height: 24px; }
.dept-card h3 { font-size: 1.05rem; }
@media (max-width: 760px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-sidebar { flex-direction: row; overflow-x: auto; padding: 8px; border-right: none; border-bottom: 1px solid rgba(48,54,54,0.1); }
  .portal-side-link { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; padding: 10px 14px; }
  .portal-side-link.active { border-left: none; border-bottom-color: var(--purple); }
  .portal-side-foot { display: none; }
  .portal-label { display: none; }
}

/* Portal welcome / loading transition */
.portal-welcome {
  position: fixed; inset: 0; z-index: 200; display: none;
  flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background:
    radial-gradient(circle at 80% 12%, rgba(122,60,180,0.4), transparent 55%),
    linear-gradient(135deg, #180D31 0%, #0e0720 100%);
  color: var(--white);
}
.portal-welcome.show { display: flex; animation: portalFade 0.4s ease; }
@keyframes portalFade { from { opacity: 0; } to { opacity: 1; } }
.welcome-logo { height: 46px; width: auto; margin-bottom: 30px; }
.welcome-spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--amber-light);
  animation: portalSpin 0.9s linear infinite; margin-bottom: 30px;
}
@keyframes portalSpin { to { transform: rotate(360deg); } }
.portal-welcome h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.welcome-role {
  color: var(--amber-light); font-family: var(--font-head); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 32px;
}
.welcome-bar { width: min(320px, 80vw); height: 5px; border-radius: 999px; background: rgba(255,255,255,0.15); overflow: hidden; }
.welcome-bar span { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light)); animation: portalFill 2.7s ease forwards; }
@keyframes portalFill { to { width: 100%; } }
.welcome-status { margin-top: 16px; font-size: 0.85rem; color: rgba(229,227,220,0.7); letter-spacing: 0.03em; }

/* Portal dashboard — lively welcome banner + tile entrance */
.portal-banner {
  position: relative; border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center;
  padding: 42px clamp(24px,4vw,46px); margin-bottom: 30px; color: var(--white);
  box-shadow: var(--shadow-md);
}
.portal-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24,13,49,0.93) 0%, rgba(24,13,49,0.6) 55%, rgba(24,13,49,0.2) 100%);
}
.portal-banner-inner { position: relative; z-index: 1; }
.portal-banner-date { font-family: var(--font-head); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-light); }
.portal-banner h1 { color: var(--white); font-size: clamp(1.6rem,3vw,2.3rem); margin: 8px 0 6px; }
.portal-banner p { color: rgba(229,227,220,0.88); font-size: 1rem; max-width: 540px; }

.dept-grid .dept-card { opacity: 0; animation: deptFade 0.5s ease forwards; }
@keyframes deptFade { to { opacity: 1; } }
.dept-card:nth-child(1){animation-delay:.04s}.dept-card:nth-child(2){animation-delay:.08s}
.dept-card:nth-child(3){animation-delay:.12s}.dept-card:nth-child(4){animation-delay:.16s}
.dept-card:nth-child(5){animation-delay:.20s}.dept-card:nth-child(6){animation-delay:.24s}
.dept-card:nth-child(7){animation-delay:.28s}.dept-card:nth-child(8){animation-delay:.32s}
.dept-card:nth-child(9){animation-delay:.36s}

.login-partner-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(73,90,88,0.15); font-size: 0.82rem; color: var(--slate); }
.login-partner-note a { color: var(--purple); font-weight: 600; }

/* ===== Flashy login background + boot sequence ===== */
.portal-login { position: relative; overflow: hidden; }
.login-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/img/portal-banner.jpg') center/cover no-repeat;
  opacity: 0.40; animation: loginZoom 20s ease-in-out infinite alternate;
}
.login-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px; animation: gridMove 9s linear infinite;
}
.login-flash { position: absolute; inset: 0; z-index: 1; background: #fff; opacity: 0; pointer-events: none; animation: loginFlash 7s infinite; }
.login-wrap { position: relative; z-index: 2; }
.login-card { animation: loginCardIn 0.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes loginZoom { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes gridMove { from { background-position: 0 0, 0 0; } to { background-position: 42px 42px, 42px 42px; } }
@keyframes loginFlash { 0%,90%,100% { opacity: 0; } 92% { opacity: 0.10; } 93% { opacity: 0; } 95% { opacity: 0.16; } 96% { opacity: 0; } }
@keyframes loginCardIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

/* Boot / welcome sequence */
.portal-welcome { overflow: hidden; }
.welcome-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; animation: loginFlash 4.5s infinite; }
.welcome-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }
.welcome-ring { position: relative; width: 132px; height: 132px; margin-bottom: 22px; }
.welcome-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 8; }
.ring-prog { fill: none; stroke: url(#ringGrad); stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(199,144,47,0.55)); }
.welcome-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--white); }
.welcome-steps { list-style: none; margin: 24px 0 0; padding: 0; text-align: left; display: inline-block; }
.welcome-step { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: rgba(229,227,220,0.4); margin: 10px 0; transition: color 0.35s; }
.welcome-step .tick { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); position: relative; flex-shrink: 0; transition: all 0.35s; }
.welcome-step.done { color: var(--white); }
.welcome-step.done .tick { background: var(--amber-light); border-color: var(--amber-light); box-shadow: 0 0 10px rgba(199,144,47,0.6); }
.welcome-step.done .tick::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #180D31; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ============================================================
   Design polish — accents, interactive cards, depth
   ============================================================ */
/* Eyebrow accent line (adapts to its own color) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: 0.85; flex-shrink: 0; }

/* Interactive card icons */
.service-card .service-icon { transition: background var(--transition), color var(--transition), transform var(--transition); }
.service-card:hover .service-icon { background: var(--purple); color: var(--white); transform: rotate(-6deg); }
.dept-card .dept-icon { transition: background var(--transition), color var(--transition); }
.dept-card:hover .dept-icon { background: var(--purple); color: var(--white); }

/* Subtle depth glows on the solid-color bands */
.stats, .cta-band, .projects { position: relative; overflow: hidden; }
.stats .container, .cta-band .container, .projects .container { position: relative; z-index: 1; }
.stats::after, .cta-band::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: -130px; top: -190px;
  background: radial-gradient(circle, rgba(199,144,47,0.16), transparent 70%); pointer-events: none;
}
.projects::after {
  content: ""; position: absolute; width: 540px; height: 540px; left: -170px; bottom: -210px;
  background: radial-gradient(circle, rgba(90,55,150,0.30), transparent 70%); pointer-events: none; z-index: 0;
}

/* Animated underline accent under section-head H2s */
.section-head h2 { position: relative; }
