/* Aligned Energy — site styles
   Font: Inter (SIL Open Font License, self-hosted in /fonts) — closest free match to Aptos.
   Brand dots (decorative only): red #FB0103, amber #FEC104, yellow #FFFC01, green #04AE4E, blue #006DBF */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #111111;
  --ink-soft: #3d4450;
  --muted: #5b6370;
  --paper: #ffffff;
  --mist: #f3f6f4;
  --line: #dfe5e1;
  --green: #0a7a3d;      /* text-safe brand green (5.6:1 on white) */
  --green-bright: #00b050;/* deck accent, used for large display only */
  --green-tint: #e8f4ec;
  --navy: #0e2841;
  --dot-red: #fb0103;
  --dot-amber: #fec104;
  --dot-yellow: #fffc01;
  --dot-green: #04ae4e;
  --dot-blue: #006dbf;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Inter", Aptos, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--dot-blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }
.accent { color: var(--green); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.9rem;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy a { color: #9fe0b9; }
.section--navy .eyebrow { color: #9fe0b9; }
.section--navy .lead { color: #d6dee8; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Brand dot strip */
.dots { display: flex; gap: 0.55rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots span:nth-child(1) { background: var(--dot-red); }
.dots span:nth-child(2) { background: var(--dot-amber); }
.dots span:nth-child(3) { background: var(--dot-yellow); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.dots span:nth-child(4) { background: var(--dot-green); }
.dots span:nth-child(5) { background: var(--dot-blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: block; line-height: 0; }
.brand img { width: 190px; height: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.5rem 0.75rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav a {
  display: block; padding: 0.55rem 0.8rem; border-radius: 8px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.site-nav a:hover { background: var(--mist); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); background: var(--green-tint); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 1.25rem 1rem; }
  .site-nav a { padding: 0.8rem 0.6rem; }
  .brand img { width: 160px; }
  .no-js .site-nav { display: block; position: static; border: 0; }
  .no-js .nav-toggle { display: none; }
}

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .strap { font-weight: 700; color: var(--ink); margin: 0 0 0.3rem; font-size: 1.15rem; }
.hero-figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 4 / 3; }
}

.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.btn {
  display: inline-block; padding: 0.8rem 1.25rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: transparent;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--solid { background: var(--green); border-color: var(--green); color: #fff; }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.3rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card--label h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--green); color: inherit; transform: translateY(-2px); }
.card--link .more { margin-top: auto; padding-top: 0.8rem; font-weight: 700; color: var(--green); }

.callout {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 5px solid var(--green-bright);
  background: var(--green-tint); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; color: var(--navy);
}
.callout p { margin: 0; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 0.5rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
}

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.compare .col { border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); background: #fff; }
.compare .col--ours { border: 2px solid var(--green); background: var(--green-tint); }
.compare h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.compare .col--ours h3 { color: var(--green); }
.compare .sub { font-weight: 600; color: var(--ink-soft); margin-bottom: 1rem; }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li { padding: 0.75rem 0; border-top: 1px solid var(--line); }
.compare .col--ours li { border-top-color: #c6e3d1; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Process steps */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; margin-bottom: 0.8rem;
}
.steps h3 { font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.steps p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.steps .tags { list-style: none; padding: 0.7rem 0 0; margin: 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.steps .tags li { border: 0; padding: 0.15rem 0; background: none; }
.steps .tags li::before { content: none; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.product { border-radius: var(--radius); padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--dot-green); }
.product:nth-child(2) { border-top-color: var(--dot-blue); }
.product:nth-child(3) { border-top-color: var(--dot-amber); border-style: dashed; border-top-style: solid; }
.product .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #fff4d6; color: #6b4a00; padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.6rem; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* Numbered list (progress) */
.numbered { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.numbered li::before { counter-increment: n; content: counter(n); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 800; }
.numbered h3 { margin-bottom: 0.25rem; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.numbered p { margin: 0; color: var(--ink-soft); }

/* Phases */
.phases { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; margin-top: 2rem; }
.phase { border-radius: var(--radius); padding: 1.8rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.phase h3 { color: #fff; margin-bottom: .3rem; }
.phase .big { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0.8rem 0 0.3rem; color: #9fe0b9; }
.phase p { color: #d6dee8; margin: 0; }
.phase-arrow { display: grid; place-items: center; font-size: 2rem; color: #9fe0b9; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } .phase-arrow { transform: rotate(90deg); } }

/* Founder band */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.founder figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.founder img { width: 100%; aspect-ratio: 930 / 1125; object-fit: cover; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder figure { max-width: 420px; } }

/* Press */
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; background: var(--mist); }
.press-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.press-item time { font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* Contact */
.contact-card { max-width: 640px; }
.contact-card .email { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; word-break: break-word; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd4da; padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa3ad; margin-bottom: 0.8rem; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-brand .name { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.3rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #2a2f35; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; color: #9aa3ad; font-size: 0.875rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.measure { max-width: 68ch; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Plant render (How It Works) */
.section--render { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.render-figure { margin: 0; }
.render-figure img { width: 100%; height: auto; }
.render-figure figcaption { font-size: 0.85rem; color: var(--muted); text-align: right; margin-top: 0.25rem; }

/* Hero caption */
.hero-figure { position: relative; }
.hero-figure figcaption {
  position: absolute; right: 0.6rem; bottom: 0.6rem; font-size: 0.75rem; font-weight: 600;
  background: rgba(17,17,17,.62); color: #fff; padding: 0.2rem 0.55rem; border-radius: 999px;
}

/* Four-stage strip (Our Model) */
.section--tight { padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: none; }
.stages figure { margin: 0; }
.stages img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.stages figcaption { margin-top: 0.7rem; font-weight: 700; display: flex; align-items: baseline; gap: 0.5rem; padding-top: 0.6rem; border-top: 3px solid var(--line); }
.stages li:nth-child(1) figcaption { border-top-color: #b5652f; }
.stages li:nth-child(2) figcaption { border-top-color: #c98a4b; }
.stages li:nth-child(3) figcaption { border-top-color: #7fbf6a; }
.stages li:nth-child(4) figcaption { border-top-color: var(--green); }
.stage-n { font-size: 0.8rem; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 760px) { .stages { grid-template-columns: repeat(2, 1fr); } }

/* Full-width image band */
.band { margin: 0; }
.band img { width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; object-position: center 35%; }

/* Value chain (How It Works) */
.vc { margin-top: 2.2rem; }
.vc-phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-bottom: 0.7rem; }
.vc-phases span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--line); padding-bottom: 0.45rem; text-align: center;
}
/* Rows: head / description / outputs. Subgrid keeps every row aligned across the five steps. */
.vc-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto auto auto; column-gap: 0.5rem; }
.vc-step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.vc-head {
  --c: var(--navy);
  background: var(--c); color: #fff; min-height: 112px;
  padding: 1rem 1.6rem 1rem 1.9rem; display: flex; flex-direction: column; justify-content: center; gap: 0.55rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}
.vc-step:first-child .vc-head { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 1.3rem; border-radius: 8px 0 0 8px; }
.vc-step:nth-child(2) .vc-head { --c: #0d3c4c; }
.vc-step:nth-child(3) .vc-head { --c: #0c5047; }
.vc-step:nth-child(4) .vc-head { --c: #0b6542; }
.vc-step:nth-child(5) .vc-head { --c: var(--green); }
.vc-head .ic { width: 30px; height: 30px; color: #bff0d2; }
.vc-head h3 { margin: 0; font-size: 1.02rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; display: flex; align-items: baseline; gap: 0.5rem; white-space: nowrap; }
.vc-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: #bfd3e0; }
.vc-desc, .vc-out { background: #fff; border: 1px solid var(--line); margin-right: 18px; }
.vc-desc { border-top: 0; border-bottom: 0; padding: 1.1rem 1.1rem 0.4rem; }
.vc-out { border-top: 0; border-radius: 0 0 10px 10px; padding: 0 1.1rem 1.2rem; }
.vc-desc p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.vc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin: 0 0 0.4rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.vc-out ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--ink-soft); }
.vc-out li { padding: 0.18rem 0 0.18rem 1rem; position: relative; }
.vc-out li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); }
.vc-foot {
  margin: 1.4rem 0 0; padding: 1rem 1.3rem; text-align: center; font-weight: 700; color: var(--navy);
  background: var(--green-tint); border-radius: 10px; font-size: clamp(1rem, 1.8vw, 1.2rem);
}
@media (max-width: 1100px) and (min-width: 1021px) { .vc-head h3 { font-size: 0.92rem; letter-spacing: 0.06em; } }
@media (max-width: 1020px) {
  .vc-phases { display: none; }
  .vc-chain { display: block; }
  .vc-step { display: flex; flex-direction: column; }
  .vc-step + .vc-step { margin-top: 1.6rem; position: relative; }
  .vc-step + .vc-step::before { content: "\2193"; position: absolute; top: -1.45rem; left: 50%; transform: translateX(-50%); color: var(--green); font-weight: 800; }
  .vc-head, .vc-step:first-child .vc-head { clip-path: none; border-radius: 10px 10px 0 0; min-height: 0; flex-direction: row; align-items: center; gap: 0.75rem; padding: 0.9rem 1.1rem; }
  .vc-desc, .vc-out { margin-right: 0; }
  .vc-desc { padding-bottom: 0.9rem; }
  .vc-out:empty { padding-bottom: 0.3rem; }
}

/* Product icons */
.product-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green); margin-bottom: 0.8rem; }
.product-ic + .tag { margin-left: 0.6rem; vertical-align: top; margin-top: 0.75rem; }

/* Illustration in split layout (Bintan) */
.split-media--contain img { aspect-ratio: 1024 / 1280; object-fit: contain; background: #f4f1ec; }
.split-media--contain figcaption { text-align: right; }
.band img { object-position: center 45%; }

/* LinkedIn embeds (Press) */
.li-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.5rem; align-items: start; }
.li-posts:empty { display: none; }
.li-posts iframe { width: 100% !important; max-width: 100%; border: 1px solid var(--line) !important; border-radius: var(--radius); background: #fff; display: block; }
.press-contact { margin-top: 2rem; color: var(--muted); }
