/* ============================================================
   Axion Energy — Design tokens
   ============================================================ */
:root{
  --black: #0a0908;
  --panel: #131109;
  --panel-2: #17150d;
  --line: #2b2717;
  --line-soft: #1e1c12;
  --gold: #c9922e;
  --gold-bright: #eec375;
  --gold-dim: #7a5c22;
  --cream: #f3eee2;
  --cream-dim: #cdc6b5;
  --stone: #8f8a78;

  --serif: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--serif); font-weight: 500; margin: 0; color: var(--cream); }
p{ margin: 0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; }

::selection{ background: var(--gold-dim); color: var(--cream); }

:focus-visible{
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

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

.eyebrow{
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold);
}

/* ============================================================
   Nav
   ============================================================ */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,9,8,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  height: 78px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
}
.brand img{ height: 34px; width: 34px; }
.brand .brand-sub{
  display:block;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--stone);
  letter-spacing: 0.03em;
  margin-top: 1px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap: 36px;
  font-size: 15px;
}
.nav-links a{
  color: var(--cream-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover, .nav-links a.active{
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.nav-cta{
  border: 1px solid var(--gold-dim);
  padding: 9px 18px;
  border-radius: 3px;
  color: var(--gold-bright) !important;
  font-size: 14px;
  transition: background .2s ease, border-color .2s ease;
}
.nav-cta:hover{ background: rgba(201,146,46,0.12); border-color: var(--gold); }
.nav-toggle{ display:none; background:none; border:none; color:var(--cream); cursor:pointer; }

@media (max-width: 860px){
  .nav-links{
    position: absolute;
    top: 78px; left:0; right:0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter) 28px;
    gap: 18px;
    display: none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items:center;
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-copy .eyebrow{ margin-bottom: 18px; display:block; }
.hero-copy h1{
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 15ch;
}
.hero-copy p{
  margin-top: 22px;
  max-width: 46ch;
  color: var(--cream-dim);
  font-size: 17px;
}
.hero-actions{
  display:flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary{
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #16110a;
  font-weight: 600;
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-ghost{
  border-color: var(--line);
  color: var(--cream);
}
.btn-ghost:hover{ border-color: var(--gold-dim); color: var(--gold-bright); }

.hero-graphic{ width: 100%; }
.hero-graphic svg{ width: 100%; height: auto; overflow: visible; }
.growth-line{
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s ease forwards .3s;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce){
  .growth-line{ animation: none; stroke-dashoffset: 0; }
}

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-graphic{ order: -1; max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section{
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.section.no-border{ border-bottom: none; }
.section-head{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}
.section-head h2{
  font-size: clamp(28px, 3.4vw, 38px);
  max-width: 18ch;
}
.section-head .section-note{
  color: var(--stone);
  max-width: 34ch;
  font-size: 15px;
  text-align: right;
}
@media (max-width: 700px){
  .section-head{ flex-direction: column; align-items: flex-start; }
  .section-head .section-note{ text-align:left; }
}

/* ============================================================
   Mission strip (about home)
   ============================================================ */
.mission{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.mission blockquote{
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--cream);
  margin:0;
  border-left: 2px solid var(--gold-dim);
  padding-left: 26px;
}
.mission .mission-body p{ color: var(--cream-dim); margin-bottom: 16px; }
.mission .mission-body p:last-child{ margin-bottom:0; }
@media (max-width: 800px){ .mission{ grid-template-columns: 1fr; } }

/* ============================================================
   Focus areas (what we do)
   ============================================================ */
.focus-list{ border-top: 1px solid var(--line); }
.focus-row{
  display:grid;
  grid-template-columns: 1.4fr 1.8fr 0.9fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.focus-row h3{ font-size: 22px; }
.focus-row p{ color: var(--cream-dim); font-size: 15px; }
.focus-row .focus-tag{
  color: var(--gold);
  font-size: 13px;
  text-align: right;
}
@media (max-width: 800px){
  .focus-row{ grid-template-columns: 1fr; gap: 8px; }
  .focus-row .focus-tag{ text-align:left; }
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat{
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child{ padding-left: 0; border-left: none; }
.stat .stat-num{
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  color: var(--gold-bright);
  line-height: 1;
}
.stat .stat-label{
  margin-top: 12px;
  color: var(--stone);
  font-size: 14px;
  max-width: 22ch;
}
@media (max-width: 800px){
  .stats{ grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat{ border-left:none; padding-left:0; }
  .stat:nth-child(even){ padding-left: 24px; border-left: 1px solid var(--line); }
}

/* ============================================================
   Blog index list (editorial, journal-style)
   ============================================================ */
.post-feature{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.post-feature .post-art{ aspect-ratio: 4/3; }
.post-feature .eyebrow{ display:block; margin-bottom: 14px; }
.post-feature h3{ font-size: clamp(24px, 3vw, 34px); line-height:1.15; }
.post-feature p{ color: var(--cream-dim); margin-top: 16px; max-width: 48ch; }
.post-meta{
  margin-top: 20px;
  display:flex;
  gap: 14px;
  color: var(--stone);
  font-size: 13px;
}
.post-meta span:not(:last-child)::after{ content: "·"; margin-left: 14px; color: var(--line); }

@media (max-width: 800px){
  .post-feature{ grid-template-columns: 1fr; }
}

.post-list-row{
  display:grid;
  grid-template-columns: 100px 1.6fr 1fr 120px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.post-list-row:hover{ background: rgba(201,146,46,0.04); }
.post-list-row .post-date{ color: var(--stone); font-size: 13px; }
.post-list-row h4{ font-size: 19px; }
.post-list-row .post-excerpt{ color: var(--stone); font-size: 14px; }
.post-list-row .post-tag{ color: var(--gold); font-size: 13px; text-align:right; }

@media (max-width: 760px){
  .post-list-row{ grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .post-list-row .post-tag{ text-align:left; }
}

.tag-filters{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.tag-filters button{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .15s ease;
}
.tag-filters button:hover{ border-color: var(--gold-dim); color: var(--gold-bright); }
.tag-filters button.active{
  background: var(--gold);
  border-color: var(--gold);
  color: #16110a;
  font-weight: 600;
}

/* ============================================================
   Article view
   ============================================================ */
.article{ max-width: 720px; margin: 0 auto; }
.article-head{ padding: 56px 0 20px; }
.article-head .eyebrow{ display:block; margin-bottom: 18px; }
.article-head h1{
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.12;
}
.article-head .post-meta{ margin-top: 22px; }
.article-dek{
  color: var(--cream-dim);
  font-size: 18px;
  margin-top: 20px;
  max-width: 60ch;
}
.article-rule{
  height:1px; background: var(--line); margin: 36px 0;
}
.article-body{ font-size: 17.5px; color: var(--cream-dim); }
.article-body p{ margin-bottom: 22px; }
.article-body h3{
  color: var(--cream);
  font-size: 24px;
  margin: 40px 0 16px;
}
.article-body strong{ color: var(--cream); font-weight: 600; }
.article-body blockquote{
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-bright);
  border-left: 2px solid var(--gold-dim);
  padding-left: 24px;
  margin: 32px 0;
  line-height: 1.4;
}
.article-body ul{ margin: 0 0 22px; padding-left: 22px; list-style: disc; }
.article-body li{ margin-bottom: 8px; }
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
}
.back-link:hover{ color: var(--gold-bright); }
.article-footer{
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   Newsletter / CTA band
   ============================================================ */
.cta-band{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items:center;
}
.cta-band h2{ font-size: clamp(26px, 3vw, 34px); max-width: 16ch; }
.cta-form{ display:flex; gap: 10px; }
.cta-form input{
  flex:1;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 15px;
}
.cta-form input::placeholder{ color: var(--stone); }
.cta-form button{
  background: var(--gold);
  border: none;
  color: #16110a;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.cta-form button:hover{ background: var(--gold-bright); }
.cta-note{ margin-top: 10px; color: var(--stone); font-size: 13px; }
@media (max-width: 800px){
  .cta-band{ grid-template-columns: 1fr; }
  .cta-form{ flex-direction: column; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ padding: 56px 0 40px; }
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-top .brand{ margin-bottom: 14px; }
.footer-top p{ color: var(--stone); font-size: 14px; max-width: 32ch; }
.footer-col h5{
  font-family: var(--sans);
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a, .footer-col p{
  display:block;
  color: var(--stone);
  font-size: 14.5px;
  margin-bottom: 10px;
}
.footer-col a:hover{ color: var(--gold-bright); }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding-top: 24px;
  color: var(--stone);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 800px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   About page specifics
   ============================================================ */
.timeline{ border-top: 1px solid var(--line); }
.timeline-row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-row .t-year{
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-bright);
}
.timeline-row h4{ font-size: 19px; margin-bottom: 8px; }
.timeline-row p{ color: var(--cream-dim); font-size: 15px; max-width: 60ch; }

.value-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-cell{ background: var(--black); padding: 32px; }
.value-cell h4{ font-size: 18px; margin-bottom: 12px; }
.value-cell p{ color: var(--stone); font-size: 14.5px; }
@media (max-width: 800px){ .value-grid{ grid-template-columns: 1fr; } }

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-item{ margin-bottom: 26px; }
.contact-item .eyebrow{ display:block; margin-bottom: 6px; }
.contact-item p, .contact-item a{ font-size: 17px; color: var(--cream); }
@media (max-width: 800px){ .contact-grid{ grid-template-columns: 1fr; gap: 20px; } }

.empty-state{
  padding: 60px 0;
  text-align:center;
  color: var(--stone);
}
