/* Fonts: self-hosted (SIL Open Font License). Inter for text, Cormorant Garamond for headlines. */
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/assets/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/assets/fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --navy: #112234; --blue: #112234; --bronze: #B8752C; --bronze-text: #8A5518; --bronze-light: #D9A066;
  --mist: #F4F6F9; --white: #fff; --text: #112234;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", "Libre Caslon Text", Georgia, serif;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1.0625rem/1.65 var(--font); color: var(--text); background: var(--white); }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
h3 { font-weight: 600; }
.section-rule { height: 3px; width: 56px; background: var(--bronze); margin: 0 0 1.25rem; }
.steps { counter-reset: step; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 2px solid var(--bronze); padding-top: 1rem; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2rem; color: var(--bronze-text); font-weight: 700; margin-bottom: .25rem; }
.band-light { background: var(--mist); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: 46rem; padding-top: 3rem; padding-bottom: 3rem; }
a { color: var(--blue); }
.skip-link { position: absolute; left: -999px; } .skip-link:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--bronze); color: var(--navy); padding: .5rem 1rem; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
.site-header { background: var(--white); color: var(--navy); border-bottom: 3px solid var(--bronze); }
.site-header .brand img { display: block; height: 56px; width: auto; }
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-header a { color: var(--navy); text-decoration: none; font-weight: 600; }
.site-header a:hover { color: var(--blue); text-decoration: underline; }
.hero, .band-navy, .site-footer { background: var(--navy); color: var(--white); }
.hero { padding: 6rem 0; position: relative; overflow: hidden; isolation: isolate; }
/* Hero photo: U.S. Navy/NARA photograph, public domain (Wikimedia Commons). Tanker on the Houston Ship Channel. */
.hero-photo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 31%; opacity: 0; transition: opacity 1.6s ease, transform 8s ease; transform: scale(1.04); }
.hero-photo img.active { opacity: .85; transform: scale(1); }
.photo-band { height: 360px; position: relative; overflow: hidden; }
.photo-band-img { position: absolute; inset: -10% 0; background: url(/assets/img/hero-channel.webp) center 40% / cover no-repeat; transform: translateY(0); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,34,52,.2), rgba(17,34,52,.55)); }
.markets .grid-4 > div { transition: transform .3s ease, box-shadow .3s ease; padding: 1rem; }
.markets .grid-4 > div:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -12px rgba(17,34,52,.35); }
.steps li { transition: transform .3s ease; }
.steps li:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .hero-photo img { transition: none; transform: none; } }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,34,52,.96) 0%, rgba(17,34,52,.78) 45%, rgba(17,34,52,.35) 100%); }
@media (max-width: 760px) { .photo-band { height: 240px; } .hero-photo::after { background: linear-gradient(180deg, rgba(17,34,52,.85) 0%, rgba(17,34,52,.7) 100%); } }
.hero .eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-top: 0; }
.lead { font-size: 1.2rem; max-width: 40rem; color: rgba(255,255,255,.9); }
.band-navy { padding: 3rem 0; }
.band-navy a, .site-footer a, .link-gold { color: var(--bronze-light); }
.values { padding-top: 4rem; padding-bottom: 4rem; }
.btn { display: inline-block; min-height: 44px; padding: .7rem 1.4rem; border-radius: 2px; font-weight: 700; font-size: 1.17rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; font-family: inherit; }
.btn-gold { background: var(--bronze); color: var(--navy); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.grid-4 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.markets { padding-top: 4rem; padding-bottom: 4rem; }
.headlines { padding-top: 4rem; padding-bottom: 4rem; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0 0 1.5rem; }
.markets h3 { margin-top: 0; }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.field { margin-bottom: 1.1rem; display: grid; gap: .35rem; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; padding: .6rem .7rem; border: 1px solid #8a94a6; border-radius: 2px; max-width: 32rem; }
.req { font-weight: 400; color: #4a5568; font-size: .9rem; }
.notice { background: var(--mist); border-left: 4px solid var(--bronze); padding: .75rem 1rem; }
.disclaimer { color: #4a5568; font-size: .9rem; margin-top: 2rem; }
.tv-tall { min-height: 560px; }
.site-footer { padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer nav a, .site-footer nav button { margin-right: .75rem; }
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 36rem; margin: 0 auto; background: var(--navy); color: var(--white); padding: 1.25rem 1.25rem 1.1rem; border-top: 3px solid var(--bronze); border-radius: 4px; box-shadow: 0 12px 32px -12px rgba(0,0,0,.5); z-index: 50; }
.consent-title { font-size: 1.3rem; margin: 0 0 .4rem; color: var(--white); }
html.consent-open body { padding-bottom: 12rem; }
@media (min-width: 760px) { html.consent-open body { padding-bottom: 9rem; } }
.consent a { color: var(--bronze-light); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .85rem; }
.consent .btn-outline { color: var(--white); border-color: var(--white); }
.tv-placeholder { color: var(--white); padding: 1.5rem 0; }
.hp { position: absolute; left: -9999px; }
.linklike { background: none; border: 0; color: var(--bronze-light); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Scroll reveal: content is visible without JS; JS adds html.js to enable the animation. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* Energy price panel (EIA data) */ /* superseded by ticker below */
.prices { color: var(--white); }
.price-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.price { border-top: 2px solid var(--bronze); padding-top: .75rem; display: grid; gap: .15rem; }
.price-label { font-size: .85rem; color: rgba(255,255,255,.8); }
.price-value { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; }
.price-value small { font-family: var(--font); font-size: .8rem; font-weight: 400; color: rgba(255,255,255,.7); }
.price-change, .price-date { font-size: .85rem; color: rgba(255,255,255,.7); }
.prices-note { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 1rem; }

/* Homepage statement band */
.statement { background: var(--mist); color: var(--navy); padding: 5rem 0; text-align: center; position: relative; }
.statement::before, .statement::after { content: ""; display: block; width: 0; height: 2px; background: var(--bronze); margin: 0 auto; transition: width 1.2s ease; }
.statement::before { margin-bottom: 2rem; }
.statement::after { margin-top: 2rem; }
.statement.in::before, .statement.in::after { width: 96px; }
.statement-text { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; max-width: 46rem; margin: 0 auto; }
/* About page figure */
.about-figure { margin: 0 0 2.5rem; }
.about-figure img { display: block; width: 100%; max-width: 40rem; height: auto; border-radius: 4px; }
.about-figure figcaption { font-size: .85rem; color: #4a5568; margin-top: .5rem; }

/* How we work: timeline */
.how-intro { max-width: 40rem; font-size: 1.1rem; color: #2d3b4f; margin: -.5rem 0 3rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2.5rem; grid-template-columns: repeat(4, 1fr); }
.timeline::before { content: ""; position: absolute; top: 2.9rem; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, var(--bronze), var(--navy)); }
.step { position: relative; padding-top: 0; }
.step-icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--white); border: 2px solid var(--bronze); position: relative; z-index: 1; }
.step-icon svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step-num { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--bronze-text); margin: 1rem 0 .25rem; letter-spacing: .08em; }
.step h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.step p { margin: 0 0 .75rem; color: #2d3b4f; }
.step-link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.step-link:hover { color: var(--bronze-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how-cta { margin-top: 3.5rem; padding: 2rem; background: var(--navy); color: var(--white); border-radius: 4px; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.how-cta p { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.how-note { font-size: .85rem; color: #4a5568; margin-top: 1.25rem; }
/* Staggered reveal of steps (only with JS) */
html.js .how .step { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
html.js .how.in .step { opacity: 1; transform: none; }
html.js .how.in .step:nth-child(1) { transition-delay: .05s; }
html.js .how.in .step:nth-child(2) { transition-delay: .2s; }
html.js .how.in .step:nth-child(3) { transition-delay: .35s; }
html.js .how.in .step:nth-child(4) { transition-delay: .5s; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; padding-left: 0; }
  .timeline::before { top: 0; bottom: 0; left: 2.25rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--bronze), var(--navy)); }
  .step { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.25rem; align-items: start; }
  .step-icon { grid-row: span 3; }
  .step-num { margin: 0; }
  .step-link { grid-column: 2; justify-self: start; }
  .how-cta { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html.js .how .step { opacity: 1; transform: none; transition: none; } }

.how { padding-top: 4rem; padding-bottom: 4rem; }
.band-navy { margin-top: 0; }

/* Back to top: phones only */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; min-height: 48px; min-width: 48px; padding: .6rem 1rem; border: 2px solid var(--navy); border-radius: 999px; background: var(--bronze); color: var(--navy); font-family: inherit; font-weight: 700; font-size: 1.17rem; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.to-top[hidden] { display: none; }
@media (min-width: 760px) { .to-top { display: none !important; } }

/* Price ticker: full-width band that scrolls across the page */
.ticker-wrap { overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); padding: 1rem 0; margin-top: 2rem; }
.ticker { position: relative; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track:hover, .ticker-track:focus-within { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap; }
.tick { display: inline-flex; align-items: baseline; gap: .6rem; }
.tick-label { font-size: .85rem; color: rgba(255,255,255,.8); }
.tick-value { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.tick-value small { font-family: var(--font); font-size: .75rem; font-weight: 400; color: rgba(255,255,255,.7); }
.tick-change { font-size: .85rem; color: var(--bronze-light); }
.tick-note { font-size: .85rem; color: rgba(255,255,255,.75); }
.ticker-static { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: baseline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Design polish: hero entrance, drawn rules, parallax band */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js .hero .eyebrow, html.js .hero h1, html.js .hero .lead, html.js .hero .btn { animation: rise .9s ease both; }
html.js .hero h1 { animation-delay: .12s; }
html.js .hero .lead { animation-delay: .24s; }
html.js .hero .btn { animation-delay: .36s; }
html.js .section-rule { width: 0; transition: width .9s ease .1s; }
html.js .reveal.in .section-rule, html.js .section-rule.in { width: 56px; }
.photo-band-img { will-change: transform; }
.photo-band-img:not(.parallax-on) { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero .eyebrow, html.js .hero h1, html.js .hero .lead, html.js .hero .btn { animation: none; }
  html.js .section-rule { width: 56px; transition: none; }
}

@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Current page in the header navigation */
.site-header nav a[aria-current="page"] { color: var(--bronze-text); text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-footer .foot-date { font-size: .85rem; color: rgba(255,255,255,.75); margin: .25rem 0 1rem; }

/* Contact buttons: hover state (lighter bronze keeps navy text at 5.5:1) */
.btn-gold:hover { background: #C98A4F; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.consent .btn-outline:hover { background: rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) { .btn-gold:hover { text-decoration: underline; } }

/* About: the three approach steps sit on one row on desktop, stacked on phones */
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps-3 { grid-template-columns: 1fr; } }
