/* ============================================================
   Elango Industries Limited — design tokens
   Palette:
     --ink      #101C2B  deep navy-charcoal   (primary text / dark bands)
     --paper    #F5F6F3  cool near-white      (page background)
     --steel    #7C8B99  muted blue-grey      (secondary text / rules)
     --voltage  #D9A02C  amber/gold           (primary accent — energy)
     --circuit  #1E6E62  deep teal            (secondary accent — gas/grid)
     --line     #DDE1DD  hairline grey        (borders on paper)
   Type:
     display — 'Source Serif 4' (headlines, gravitas)
     body    — 'IBM Plex Sans' (readable, workmanlike)
     data    — 'IBM Plex Mono' (figures, ticker, tabular data)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #101C2B;
  --ink-soft: #1C2E42;
  --paper: #F5F6F3;
  --paper-raised: #FFFFFF;
  --steel: #7C8B99;
  --steel-soft: #A9B4BD;
  --voltage: #D9A02C;
  --voltage-soft: #F0D9A8;
  --circuit: #1E6E62;
  --circuit-soft: #DDEBE8;
  --line: #DDE1DD;

  --display: 'Source Serif 4', Georgia, serif;
  --body: 'IBM Plex Sans', -apple-system, sans-serif;
  --data: 'IBM Plex Mono', 'SFMono-Regular', monospace;

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--voltage); outline-offset: 3px; }

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.site-header {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(245,246,243,0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.brand-ticker {
  font-family: var(--data);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--voltage);
  border: 1px solid rgba(217,160,44,0.5);
  padding: 2px 7px;
  border-radius: 3px;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  color: var(--steel-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: var(--paper);
  border-color: var(--voltage);
}

.nav-toggle { display: none; }

@media (max-width: 760px) {
  nav.primary-nav ul { gap: 16px; flex-wrap: wrap; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}

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

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 2; }

.eyebrow {
  font-family: var(--data);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--voltage);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 15ch;
}

.hero p.lede {
  font-size: 1.08rem;
  color: var(--steel-soft);
  max-width: 46ch;
  margin: 0 0 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--voltage); color: var(--ink); }
.btn-primary:hover { background: #ecb24a; transform: translateY(-1px); }

.btn-ghost { border-color: rgba(245,246,243,0.35); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

/* single-line-diagram motif behind the hero */
.grid-motif {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- snapshot stat strip ---------- */

.stat-strip {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 30px 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }

.stat .figure {
  font-family: var(--data);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}

.stat .label {
  font-size: 0.82rem;
  color: var(--steel);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(2n+1) { border-left: none; }
}

/* ---------- generic section ---------- */

section.block { padding: 84px 0; }
section.block.tight { padding: 64px 0; }
section.block.alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 62ch;
  margin-bottom: 44px;
}

.section-head .eyebrow { color: var(--circuit); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 14px;
}

.section-head p {
  color: var(--steel);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- about summary ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-grid p { margin: 0 0 16px; color: var(--ink-soft); }
.about-grid p:last-child { margin-bottom: 0; }

.pull-fact {
  background: var(--ink);
  color: var(--paper);
  padding: 30px 28px;
  border-radius: 4px;
  border-left: 3px solid var(--voltage);
}

.pull-fact .figure {
  font-family: var(--data);
  font-size: 2.1rem;
  color: var(--voltage);
  line-height: 1;
}

.pull-fact .caption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--steel-soft);
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- single-line diagram: business verticals ---------- */

.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.vertical-card {
  background: var(--paper-raised);
  padding: 32px 28px;
  transition: background 0.2s ease;
}

.vertical-card:hover {
  background: #FBFAF7;
}

.vertical-card:hover .node {
  background: var(--circuit);
  color: var(--paper);
  transition: background 0.2s ease, color 0.2s ease;
}

.vertical-card .node {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--circuit);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--data);
  font-size: 0.78rem;
  color: var(--circuit);
  margin-bottom: 18px;
}

.vertical-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.vertical-card p { color: var(--steel); font-size: 0.94rem; margin: 0; }

@media (max-width: 820px) {
  .verticals { grid-template-columns: 1fr; }
}

/* ---------- group chain (schematic) ---------- */

.chain {
  position: relative;
  padding-left: 2px;
}

.chain::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--circuit) 0 6px, transparent 6px 12px);
}

.chain-node {
  position: relative;
  padding-left: 62px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(14px);
  animation: chain-in 0.6s ease forwards;
}

.chain-node:nth-child(1) { animation-delay: 0.05s; }
.chain-node:nth-child(2) { animation-delay: 0.15s; }
.chain-node:nth-child(3) { animation-delay: 0.25s; }
.chain-node:nth-child(4) { animation-delay: 0.35s; }

@keyframes chain-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .chain-node { opacity: 1; transform: none; animation: none; }
}

.chain-node:last-child { margin-bottom: 0; }

.chain-node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--voltage);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.chain-node:hover::before {
  border-color: var(--circuit);
  transform: scale(1.12);
}

.chain-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chain-card:hover {
  border-color: var(--circuit-soft);
  box-shadow: 0 6px 24px rgba(16,28,43,0.06);
}

.chain-card .kicker {
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--circuit);
  margin-bottom: 8px;
}

.chain-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.chain-card p { color: var(--ink-soft); margin: 0 0 14px; max-width: 68ch; }
.chain-card p:last-of-type { margin-bottom: 0; }

.chain-card .site-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--circuit);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* financial mini-table */
table.figures {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-family: var(--data);
  font-size: 0.88rem;
}

table.figures caption {
  text-align: left;
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--steel);
  margin-bottom: 8px;
}

table.figures th, table.figures td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

table.figures th {
  color: var(--steel);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.figures td.num { text-align: right; }
table.figures tfoot td { border-bottom: none; padding-top: 4px; color: var(--steel); font-family: var(--body); font-size: 0.76rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--circuit);
  color: #EFF7F5;
  padding: 56px 0;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin: 0;
  max-width: 30ch;
}

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

footer.site-footer {
  background: var(--ink);
  color: var(--steel-soft);
  padding: 48px 0 32px;
  font-size: 0.88rem;
}

footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,246,243,0.1);
}

footer.site-footer h4 {
  color: var(--paper);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { text-decoration: none; color: var(--steel-soft); }
footer.site-footer a:hover { color: var(--voltage); }

.foot-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--steel);
}

@media (max-width: 760px) {
  footer.site-footer .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- page intro (group page) ---------- */

.page-intro {
  padding: 56px 0 20px;
}

.page-intro .eyebrow { color: var(--voltage); }

.page-intro h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 16px;
  max-width: 22ch;
}

.page-intro p { color: var(--steel); max-width: 62ch; font-size: 1.02rem; }

.breadcrumb {
  font-family: var(--data);
  font-size: 0.78rem;
  color: var(--steel);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--circuit); text-decoration: none; }

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-details h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.contact-details .detail-block { margin-bottom: 26px; }
.contact-details p { margin: 0; color: var(--steel); }
.contact-details a { color: var(--circuit); text-decoration: underline; text-underline-offset: 3px; }

form.contact-form {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
}

.form-row { margin-bottom: 20px; }
.form-row:last-child { margin-bottom: 0; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  color: var(--steel);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--circuit);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-submit {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.92rem;
  background: var(--voltage);
  color: var(--ink);
  border: none;
  padding: 12px 26px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.form-submit:hover { background: #ecb24a; }

.form-note {
  font-size: 0.8rem;
  color: var(--steel);
  margin-top: 12px;
}

@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- news list ---------- */

.news-list { list-style: none; margin: 0; padding: 0; }

.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.news-item:first-child { padding-top: 0; }

.news-date {
  font-family: var(--data);
  font-size: 0.82rem;
  color: var(--circuit);
}

.news-item h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.news-item p { color: var(--steel); margin: 0; max-width: 62ch; }

@media (max-width: 620px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- social ---------- */

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.social-card {
  background: var(--paper-raised);
  padding: 30px 28px;
  text-decoration: none;
  display: block;
  transition: background 0.15s ease;
}

.social-card:hover { background: #FBFAF7; }

.social-card .platform {
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--circuit);
  margin-bottom: 8px;
}

.social-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.social-card p { color: var(--steel); font-size: 0.92rem; margin: 0; }

@media (max-width: 620px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* ---------- projects ---------- */

.project-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 32px;
  margin-bottom: 24px;
}

.project-card:last-child { margin-bottom: 0; }

.project-card .status-tag {
  display: inline-block;
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.status-tag.live { background: var(--circuit-soft); color: var(--circuit); }
.status-tag.proposed { background: var(--voltage-soft); color: #8A6110; }

.project-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.project-card p { color: var(--ink-soft); margin: 0 0 14px; max-width: 68ch; }
.project-card p:last-of-type { margin-bottom: 0; }

.project-specs {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project-specs .spec .figure {
  font-family: var(--data);
  font-size: 1.15rem;
  color: var(--ink);
}

.project-specs .spec .label {
  font-size: 0.78rem;
  color: var(--steel);
  margin-top: 2px;
}

/* ---------- investors sidebar layout ---------- */

.investors-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.investors-nav {
  position: sticky;
  top: 84px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-raised);
}

.investors-nav a {
  display: block;
  padding: 15px 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.investors-nav a:last-child { border-bottom: none; }

.investors-nav a:hover {
  background: var(--circuit-soft);
  border-left-color: var(--circuit);
  color: var(--ink);
}

.investor-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.investor-section:first-child { padding-top: 0; }
.investor-section:last-child { border-bottom: none; padding-bottom: 0; }

.investor-section h2 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 0 0 14px;
}

.investor-section p { color: var(--ink-soft); margin: 0 0 12px; max-width: 66ch; }
.investor-section p:last-child { margin-bottom: 0; }

.investor-section .placeholder-note {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--data);
  font-size: 0.76rem;
  color: var(--steel);
  background: var(--paper);
  border: 1px dashed var(--steel-soft);
  padding: 6px 12px;
  border-radius: 3px;
}

.investor-section .external-link {
  color: var(--circuit);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .investors-layout { grid-template-columns: 1fr; }
  .investors-nav { position: static; }
}

/* ---------- investor disclosure list ---------- */

.disclosure-list { list-style: none; margin: 0; padding: 0; }

.disclosure-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  background: var(--paper-raised);
  margin-bottom: 10px;
  border-radius: 3px;
  transition: border-left-color 0.15s ease;
}

.disclosure-item:hover { border-left-color: var(--voltage); }

.disclosure-item h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--ink);
}

.disclosure-item p { margin: 0; color: var(--steel); font-size: 0.88rem; }

.disclosure-item .tag {
  flex-shrink: 0;
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  align-self: center;
}

.stock-price-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 30px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stock-price-card .ticker-figure {
  font-family: var(--data);
  font-size: 1.6rem;
  color: var(--voltage);
}

.stock-price-card p { margin: 4px 0 0; color: var(--steel-soft); font-size: 0.88rem; }
