/* ==========================================================================
   Auctus Resources — site stylesheet
   Solar · Battery Energy Storage · Artificial Intelligence
   ========================================================================== */

:root {
  --gold: #D9A222;
  --gold-deep: #B8860B;
  --gold-pale: #F7EBCC;
  --navy: #1B3A5C;
  --navy-deep: #12293F;
  --green: #1A6B4A;
  --ink: #1F2328;
  --ink-soft: #55606B;
  --paper: #FBFAF7;
  --card: #FFFFFF;
  --rule: #E4E0D6;
  --shadow: 0 1px 2px rgba(27,58,92,.06), 0 8px 24px rgba(27,58,92,.08);
  --shadow-lg: 0 2px 6px rgba(27,58,92,.08), 0 18px 48px rgba(27,58,92,.14);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Barlow', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.12; color: var(--navy); text-wrap: balance; }
h3 { font-size: 1.45rem; color: var(--navy); }
p { margin: 0 0 1rem; }
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 68ch; }

.sec-head { margin-bottom: 2.4rem; }
.sec-head h2 { margin-top: .3rem; }
.sec-head .bar { width: 64px; height: 3px; background: var(--gold); margin-top: 1rem; }

section.band { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.band + .band { border-top: 1px solid var(--rule); }
.band.tint { background: var(--card); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; gap: 1.2rem;
  max-width: var(--wrap); margin: 0 auto; padding: .7rem 20px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { height: 54px; width: auto; }
.brand .bt { display: none; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0 .6rem 0 0; padding: 0; }
.nav-links a {
  display: block; text-decoration: none; color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem .7rem; border-radius: 2px;
}
.nav-links a:hover { color: var(--gold-deep); background: var(--gold-pale); }
.nav-links a[aria-current="page"] { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-cta {
  text-decoration: none; background: var(--navy); color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .9rem;
  padding: .6rem 1.1rem; border-radius: 2px; white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-deep); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: 2px; padding: .45rem .6rem; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18,41,63,.95) 0%, rgba(18,41,63,.72) 55%, rgba(18,41,63,.45) 100%);
}
.hero-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) 20px clamp(3rem, 7vw, 5rem);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .eyebrow { color: var(--gold); }
.hero .lede { color: rgba(255,255,255,.86); margin-top: 1.2rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .92rem;
  padding: .8rem 1.5rem; border-radius: 2px; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #E9B23A; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* page hero (inner pages) */
.page-hero { background: var(--navy-deep); color: #fff; border-bottom: 6px solid var(--gold); }
.page-hero .wrap { padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lede { color: rgba(255,255,255,.84); margin-top: 1rem; }

/* ---------- stat bar ---------- */
.statbar { background: var(--navy-deep); color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar > div { padding: 1.4rem .8rem; text-align: center; }
.statbar > div + div { border-left: 1px solid rgba(255,255,255,.16); }
.statbar .n {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); color: var(--gold); line-height: 1.1;
}
.statbar .l {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: clamp(.64rem, 1.5vw, .78rem); letter-spacing: .13em;
  text-transform: uppercase; margin-top: .2rem;
}
.statbar .s { font-size: .66rem; opacity: .62; }

/* ---------- division cards ---------- */
.divisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 1.6rem; }
.division {
  background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--gold);
  box-shadow: var(--shadow); padding: 2rem 1.8rem 1.8rem;
  display: flex; flex-direction: column;
}
.division .num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  color: var(--gold); letter-spacing: .16em; font-size: .85rem;
}
.division h3 { margin: .3rem 0 .7rem; font-size: 1.6rem; }
.division p { color: var(--ink-soft); font-size: .96rem; }
.division ul { list-style: none; margin: .4rem 0 1.4rem; padding: 0; }
.division li {
  position: relative; padding-left: 1.3rem; margin-bottom: .4rem;
  font-size: .93rem; color: var(--ink-soft);
}
.division li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.division .more {
  margin-top: auto; text-decoration: none; color: var(--gold-deep);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .85rem;
}
.division .more:hover { color: var(--navy); }

/* ---------- generic card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 1.8rem; }
.card {
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: var(--shadow); padding: 1.7rem;
}
.card h4 { font-size: 1.28rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.card .k {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
  display: block; margin-bottom: .3rem;
}

/* numbered rows */
.rows { border-top: 1px solid var(--rule); }
.row-item {
  display: grid; grid-template-columns: 38px 1fr; gap: 1rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.row-item .n {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  color: var(--gold); font-variant-numeric: tabular-nums; padding-top: .15rem;
}
.row-item h4 { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--navy); margin-bottom: .25rem; }
.row-item p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ---------- media split ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px,1fr)); gap: 2.4rem; align-items: center; }
.split img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; box-shadow: var(--shadow-lg); }

/* ---------- checks ---------- */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: .7rem 1.8rem; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; font-size: .95rem; color: var(--ink-soft); }
.check .ok { color: var(--green); font-weight: 700; }
.check b { color: var(--ink); font-weight: 600; }

/* ---------- logo walls ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; }
.logo-tile {
  background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow);
  height: 96px; display: grid; place-items: center; padding: 1rem;
}
.logo-tile img { max-width: 140px; width: 100%; height: auto; }

.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.1rem; }
.cert { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.cert-mark { height: 130px; display: grid; place-items: center; padding: 1rem; border-bottom: 1px solid var(--rule); }
.cert-mark img { max-width: 185px; width: 100%; height: auto; }
.cert-body { padding: 1rem 1.15rem 1.25rem; }
.cert-body h4 { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 1rem; color: var(--navy); margin-bottom: .3rem; }
.cert-body p { font-size: .87rem; color: var(--ink-soft); margin: 0; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1rem; }
.shot { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shot .cap {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: .6rem .8rem;
}

/* ---------- people ---------- */
.leader {
  display: flex; gap: 1.7rem; align-items: stretch;
  background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--gold);
  padding: 1.7rem; box-shadow: var(--shadow); margin-bottom: 1.6rem;
}
.leader-photo { flex: 0 0 200px; width: 200px; min-height: 248px; overflow: hidden; background: var(--navy); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.leader-body { flex: 1 1 260px; min-width: 0; }
.leader-body h3 { font-size: 1.75rem; margin-bottom: .1rem; }
.leader-role {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .85rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep);
}
.leader-meta {
  font-size: .88rem; color: var(--ink-soft); margin-top: .55rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--rule);
}
.leader-meta b { color: var(--ink); font-weight: 600; }
.leader-body p { margin: .85rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tag {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .76rem;
  letter-spacing: .09em; text-transform: uppercase;
  background: var(--gold-pale); color: var(--gold-deep); padding: .3rem .65rem;
}

/* ---------- table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .93rem; }
thead th {
  background: var(--navy-deep); color: #fff; text-align: left;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; font-size: .76rem;
  padding: .85rem 1rem; white-space: nowrap;
}
tbody td { padding: .8rem 1rem; border-top: 1px solid var(--rule); color: var(--ink-soft); }
tbody td:first-child { color: var(--ink); font-weight: 500; }
tbody td.cap { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); white-space: nowrap; }
.pill {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .6rem; white-space: nowrap;
}
.pill.done { background: rgba(26,107,74,.12); color: var(--green); }
.pill.wip { background: var(--gold-pale); color: var(--gold-deep); }

/* ---------- quote band ---------- */
.quoteband { background: var(--gold-pale); border-left: 4px solid var(--gold); padding: 2rem 1.9rem; }
.quoteband p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; line-height: 1.5; color: var(--ink); margin: 0; font-style: italic; }
.quoteband cite {
  display: block; margin-top: .7rem; font-style: normal;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}

/* ---------- CTA strip ---------- */
.cta { background: var(--navy-deep); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); max-width: 58ch; margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; border-top: 3px solid var(--gold); }
.site-footer .wrap { padding-block: 3.2rem 2rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 2rem; }
.foot-grid h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem;
}
.foot-grid a { color: rgba(255,255,255,.85); text-decoration: none; display: block; padding: .18rem 0; font-size: .93rem; }
.foot-grid a:hover { color: var(--gold); }
.foot-grid p { color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.7; }
.foot-bottom {
  margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.6);
}

/* ---------- utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.maxw { max-width: 70ch; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; order: 3; }
  .nav-cta { order: 2; }
  .nav-links {
    order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding-top: .6rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem .4rem; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar > div:nth-child(3) { border-left: none; }
  .statbar > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .leader { flex-direction: column; }
  .leader-photo { flex: 0 0 auto; width: 175px; aspect-ratio: 1/1.12; min-height: 0; }
  .brand img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
