/* ==========================================================================
   Alaska Renewables — site styles
   Colors and fonts are defined once here; change a token and the whole site follows.
   ========================================================================== */

:root {
  --brand: #0b5394;        /* logo blue: links, buttons, accents */
  --brand-dark: #083f72;
  --brand-tint: #e8f0f8;
  --ink: #0d2236;          /* headings, footer */
  --sun: #e6a93a;          /* highlight accent (tool callouts) */
  --text: #2a3540;
  --muted: #5f6c78;
  --line: #e2e7ec;
  --soft: #f4f7fa;
  --white: #ffffff;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(13, 34, 54, .06), 0 8px 24px rgba(13, 34, 54, .08);
  --max: 1160px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 56px 0; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.section-head { margin-bottom: 44px; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--wide p { max-width: none; }
.section-head--wide .btn { margin-top: 8px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  padding: .8em 1.5em; border-radius: 6px;
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--outline { border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #f2bd59; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
@media (max-width: 600px) { .brand img { height: 32px; } }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .nav-parent {
  display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .93rem; color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .nav-links .nav-parent:hover { color: var(--brand); text-decoration: none; }
.nav-links a[aria-current="page"], .nav-links .nav-parent.current { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-parent svg { transition: transform .15s; }
.has-sub:last-child .submenu { left: auto; right: 0; }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 8px 12px; }
.submenu a[aria-current="page"] { box-shadow: none; background: var(--brand-tint); border-radius: 6px; }
.nav-social { display: flex; gap: 6px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-social a { padding: 6px; color: var(--muted); }
.nav-social a:hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a[aria-current="page"] { box-shadow: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav-links button.nav-parent { display: none; }
  .nav-social { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--ink) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,24,40,.30) 0%, rgba(8,24,40,.55) 60%, rgba(8,24,40,.75) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1, .hero h2 { color: var(--white); }
.hero-inner { padding: 150px 0 160px; max-width: 820px; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero .eyebrow { color: #a9cdf0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero--page .hero-inner { padding: 96px 0 90px; }
.hero--home { min-height: min(82vh, 760px); display: flex; align-items: flex-end; }
.hero--home::before { background: linear-gradient(180deg, rgba(8,24,40,0) 40%, rgba(8,24,40,.35) 70%, rgba(8,24,40,.7) 100%); }
.hero--home > .container { width: 100%; }
.hero--home .hero-inner { padding: 0 0 56px; max-width: 620px; }
.hero--home h1 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.hero--home .hero-actions { margin-top: 20px; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.25); }

.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--soft), var(--white)); }
.page-head h1 { margin-bottom: .3em; }

/* ---------- Ownership banner ---------- */
.ownership {
  margin-top: -64px; position: relative; z-index: 3;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 5px solid var(--brand);
  padding: 26px 30px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.ownership p { margin: 0; }
.ownership strong { color: var(--ink); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 3px solid var(--brand); padding-top: 14px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--ink); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .94rem; margin-top: 4px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.project-grid > * { grid-column: span 2; }
.project-grid > :nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr 1fr; } .project-grid > *, .project-grid > :nth-child(-n+2) { grid-column: auto; } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }
.project-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.project-card-media {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d2f52, #1a6aa8);
}
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-card-media img { transform: scale(1.03); }
.project-card-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-card-media .badge {
  position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.project-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { margin-bottom: .15em; }
.project-region { color: var(--muted); font-size: .9rem; margin-bottom: .9em; }
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8rem; font-weight: 600; background: var(--brand-tint); color: var(--brand-dark); border-radius: 4px; padding: 3px 10px; }
.project-card p { font-size: .96rem; }
.project-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--brand); }

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; gap: 32px; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.pillar h3 { display: flex; align-items: center; gap: 10px; }
.pillar h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); }
.pillar--sun h3::before { background: var(--sun); }

.photo-pair { display: grid; grid-template-columns: 1fr; gap: 16px; }
.photo-pair .photo { aspect-ratio: 16 / 9; }

.acknowledgement {
  border-left: 3px solid var(--sun); padding: 4px 0 4px 20px; color: var(--muted); font-style: italic; font-size: .98rem;
}

/* ---------- Tool highlight box (Analysis + home teaser) ---------- */
.tool-callout {
  border-radius: 14px; padding: 44px;
  background: linear-gradient(135deg, #0d2236 0%, #0b4a85 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.tool-callout::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(230,169,58,.32), transparent 70%); pointer-events: none;
}
.tool-callout h2, .tool-callout h3 { color: var(--white); }
.tool-callout .eyebrow { color: var(--sun); }
.tool-callout > p { color: rgba(255,255,255,.86); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; position: relative; z-index: 1; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } .tool-callout { padding: 28px 20px; } }
.tool-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
}
.tool-card p { color: rgba(255,255,255,.84); font-size: .97rem; }
.tool-card .btn { align-self: flex-start; margin-top: auto; }
.tag {
  align-self: flex-start; display: inline-block; font-family: var(--font-head);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 4px; background: rgba(230,169,58,.22); color: var(--sun); margin-bottom: 12px;
}
.tag--live { background: rgba(110,210,150,.2); color: #8fe0b0; }

.note {
  background: var(--soft); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0;
  padding: 16px 20px; font-size: .95rem; color: var(--text);
}

/* ---------- Map ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 330px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
#project-map { height: 600px; background: #dfe8ec; z-index: 0; }
.map-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); overflow-y: auto; max-height: 600px; }
.map-list li { border-bottom: 1px solid var(--line); }
.map-list button {
  width: 100%; text-align: left; background: none; border: 0; padding: 16px 20px; cursor: pointer;
  font: inherit; color: inherit; display: flex; gap: 14px; align-items: flex-start;
}
.map-list button:hover, .map-list button.active { background: var(--soft); }
.map-list .num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; display: grid; place-items: center;
}
.map-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.map-list span.sub { font-size: .85rem; color: var(--muted); }
.map-legend { padding: 14px 20px; font-size: .82rem; color: var(--muted); display: grid; gap: 6px; }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
@media (max-width: 900px) {
  .map-wrap { grid-template-columns: 1fr; }
  #project-map { height: 440px; }
  .map-list { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
}
.map-pin {
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--brand); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.map-pin span { transform: rotate(45deg); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .82rem; }
.leaflet-popup-content { font-family: var(--font-body); font-size: .92rem; line-height: 1.5; margin: 14px 18px; }
.leaflet-popup-content h4 { margin: 0 0 4px; font-size: 1.02rem; }
.map-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Project detail blocks ---------- */
.project-detail { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.project-detail:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .project-detail { grid-template-columns: 1fr; gap: 20px; } }
.spec { list-style: none; padding: 0; margin: 0 0 18px; }
.spec li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li { position: relative; padding-left: 22px; font-size: .97rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }
.project-figure { margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-figure a { display: block; }
.project-figure figcaption { font-size: .84rem; color: var(--muted); padding: 10px 14px; background: var(--soft); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* ---------- Team ---------- */
.team-list { display: grid; gap: 28px; }
.member {
  display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: start;
  padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
}
@media (max-width: 680px) { .member { grid-template-columns: 1fr; gap: 18px; padding: 24px; } }
.member-photo {
  width: 180px; height: 180px; border-radius: 12px; object-fit: cover; object-position: center 25%;
  background: var(--soft);
}
@media (max-width: 680px) { .member-photo { width: 140px; height: 140px; } }
.member h2 { font-size: 1.4rem; margin: 0; }
.member .role { color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .95rem; margin: 2px 0 14px; }
.member p { font-size: .98rem; }
.member .links a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 16px; font-size: 1.7rem; color: var(--brand); font-weight: 300;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 24px; }
.faq blockquote { margin: 1em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: var(--muted); }
.faq ul { padding-left: 1.2em; }
.faq li { margin-bottom: .5em; }

/* ---------- Press ---------- */
.press-year { font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin: 40px 0 12px; }
.press-year:first-child { margin-top: 0; }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.press-item time { color: var(--muted); font-size: .9rem; }
.press-item a { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.press-item a:hover { color: var(--brand); }
.press-item .src { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.press-kind { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
@media (max-width: 640px) { .press-item { grid-template-columns: 1fr; gap: 4px; } .press-kind { justify-self: start; } }

/* ---------- Contact ---------- */
.form { display: grid; gap: 18px; }
.form label { font-weight: 600; font-size: .9rem; color: var(--ink); display: block; margin-bottom: 6px; }
.form .req { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cdd6de; border-radius: 6px; background: var(--white);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-card { background: var(--soft); border-radius: 14px; padding: 32px; }
.contact-card h3 { margin-top: 1.2em; }
.contact-card h3:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: var(--white); padding: 56px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { margin: 6px 0 0; color: rgba(255,255,255,.85); }
.cta-band .btn { background: var(--white); color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 60px 0 28px; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.9); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; color: var(--white); font-size: 1.05rem; margin-bottom: .8em; }
.footer-brand span { color: #7fb2e5; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Challenge + benefit boxes (home) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }
.issue { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--sun); border-radius: var(--radius); padding: 28px; }
.issue h3 { font-size: 1.12rem; }
.issue p { font-size: .97rem; margin: 0; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.benefit .num { font-family: var(--font-head); font-weight: 700; font-size: 2.3rem; line-height: 1.05; color: var(--sun); }
.benefit h3 { color: var(--white); font-size: 1.05rem; margin: 10px 0 6px; }
.benefit p { color: rgba(255,255,255,.82); font-size: .93rem; margin: 0 0 12px; }
.benefit .src { margin-top: auto; font-size: .78rem; color: rgba(255,255,255,.6); }
.benefit .src a { color: rgba(255,255,255,.85); text-decoration: underline; }
.benefits-wrap { background: linear-gradient(135deg, #0d2236 0%, #0b4a85 100%); color: var(--white); }
.benefits-wrap h2 { color: var(--white); }
.benefits-wrap .lead { color: rgba(255,255,255,.82); }
.benefits-wrap .eyebrow { color: var(--sun); }

.soon { border: 2px dashed #b9cde0; border-radius: 14px; padding: 36px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--brand-tint); }
.soon h2 { margin: 0 0 .3em; }
.soon p { margin: 0; }

/* ---------- Project highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 22px; }
.highlight { background: var(--soft); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; padding: 14px 16px; }
.highlight .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.highlight .lbl { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.stage { display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; background: var(--brand-tint); color: var(--brand-dark); margin-left: 8px; vertical-align: middle; }

/* ---------- Services (consulting) ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
@media (max-width: 360px) { .services { grid-template-columns: 1fr; } }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); }
.service .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.service h3 { font-size: 1.1rem; }
.service p { font-size: .96rem; margin: 0; }

.findings { display: grid; gap: 18px; counter-reset: f; }
.finding { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding .num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--brand); line-height: 1.1; }
.finding h3 { font-size: 1.1rem; margin-bottom: .3em; }
.finding p { margin: 0; }
@media (max-width: 600px) { .finding { grid-template-columns: 1fr; gap: 6px; } }
.stats--2 { grid-template-columns: 1fr 1fr; }

/* ---------- Ownership badge, ownership intro, new projects ---------- */
.project-card-media .owner-badge { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.95); border-radius: 4px; padding: 4px 8px; line-height: 0; }
.project-card-media .owner-badge img { height: 22px; width: auto; display: block; transition: none; }
.project-card:hover .project-card-media .owner-badge img { transform: none; }
.ownership { border-left: 4px solid var(--brand); padding: 4px 0 4px 22px; margin: 0 0 36px; }
.ownership p { font-size: 1.12rem; margin: 0 0 .6em; }
.ownership p:last-child { margin-bottom: 0; }
.tech-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .tech-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tech-tiles { grid-template-columns: 1fr; } }
.tech-tile { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--tech); border-radius: 12px; padding: 24px 22px; }
.tech-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--tech); background: color-mix(in srgb, var(--tech) 12%, white); margin-bottom: 14px; }
.tech-tile h3 { margin: 0 0 .2em; }
.tech-tag { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tech); margin-bottom: 12px; }
.tech-tile ul { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.tech-tile li { margin-bottom: .45em; }
.status-note { border-left: 3px solid var(--sun); padding: 6px 0 6px 14px; color: var(--ink); font-weight: 500; }
.project-detail h3 { margin: 1.4em 0 .5em; font-size: 1.1rem; }
.milestones { padding-left: 1.2em; margin: 0 0 1em; }
.milestones li { margin-bottom: .5em; }
.photo-caption { font-size: .86rem; color: var(--muted); margin: 10px 2px 0; }
.benefits--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .benefits--2 { grid-template-columns: 1fr; } }
.procurement-note { margin: 36px 0 0; padding-left: 18px; border-left: 3px solid var(--brand); }


/* ==========================================================================
   Grid Simulator: the two preview cards
   Each card is painted in the colours of the tool it opens, and carries that tool's
   own ring with the labels taken off, so the link previews the page rather than just
   naming it. Across the box: the name and its lines left of centre, the hour the
   figure is true for centred on the card, the ring and its figure right.
   ========================================================================== */
.sim-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin: 22px 0 0;
  padding: 24px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.sim-card:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); }
.sim-card .sim-body { min-width: 0; }
.sim-card h3 { margin: 6px 0 6px; font-size: 1.32rem; }
.sim-card p { margin: 0; font-size: .97rem; line-height: 1.55; max-width: min(56ch, 48%); }
.sim-card .sim-tag {
  display: inline-block; font-family: var(--font-head); font-size: .72rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.sim-card .sim-go {
  display: inline-block; margin-top: 14px; font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
}
.sim-card .sim-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.sim-card .sim-stamp:empty { display: none; }
.sim-card .sim-side { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.sim-card .sim-head {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.sim-card .sim-fig { display: flex; align-items: center; gap: 15px; min-height: 104px; }
.sim-card .simring { display: block; }
.sim-card .sim-num { display: flex; flex-direction: column; }
.sim-card .sim-num b { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; font-weight: 700; }
.sim-card .sim-num b i { font-style: normal; font-size: 1rem; margin-left: 1px; }
.sim-card .sim-num span { font-size: .82rem; font-weight: 600; line-height: 1.3; max-width: 15ch; }

/* the live chip, the same one the tool carries */
.sim-live {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: #0d3a2e; color: #6ee7b7; border: 1px solid #1d6b52; border-radius: 99px;
  padding: 5px 13px; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .05em;
}
.sim-live i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: simpulse 2s infinite; }
@keyframes simpulse { 0%, 100% { opacity: 1 } 50% { opacity: .5 } }

/* the realtime tool's page, and the planner's */
.sim-card--dark {
  background: linear-gradient(170deg, #0a2340 0%, #071a2f 100%);
  border: 1px solid #1d4571;
}
.sim-card--dark h3 { color: #38bdf8; }
.sim-card--dark p, .sim-card--dark .sim-head, .sim-card--dark .sim-num span { color: #9db8d6; }
.sim-card--dark .sim-tag, .sim-card--dark .sim-go { color: #5eead4; }
.sim-card--dark .sim-num b { color: #5eead4; }
.sim-card--dark:hover { border-color: #38bdf8; }
.sim-card--light {
  background: linear-gradient(170deg, #e6f8fa 0%, #dbf2f6 100%);
  border: 1px solid #a7d3dd;
}
.sim-card--light h3 { color: #0b6c87; }
.sim-card--light p, .sim-card--light .sim-head, .sim-card--light .sim-num span { color: #2d5b68; }
.sim-card--light .sim-tag, .sim-card--light .sim-go { color: #0b6b5e; }
.sim-card--light .sim-num b { color: #0b6c87; }
.sim-card--light:hover { border-color: #0b6c87; }

@media (max-width: 1080px) {
  .sim-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "body stamp" "body side";
    row-gap: 10px;
  }
  .sim-card .sim-body { grid-area: body; }
  .sim-card .sim-stamp { grid-area: stamp; position: static; transform: none; justify-self: center; }
  .sim-card .sim-side { grid-area: side; }
  .sim-card p { max-width: none; }
}
@media (max-width: 760px) {
  .sim-card { grid-template-columns: 1fr; grid-template-areas: "body" "stamp" "side"; gap: 16px; padding: 20px; }
  .sim-card .sim-stamp { justify-self: start; }
}
.lead--tight { max-width: 78ch; }
