/* ==========================================================================
   Infinium Energy — site stylesheet
   Tokens, layout primitives, components. One file, no build step.
   ========================================================================== */

:root {
  --paper:    #FFFFFF;
  --ink:      #0B1F2A;
  --graphite: #52646E;
  --rule:     #D8E0E4;
  --rule-soft:#E8EDEF;
  --mist:     #F4F7F8;
  --power:    #0D5AD6;
  --power-dim:#E7EEFB;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --wrap: 1180px;
  --rail: 168px;
  --gutter: 24px;

  --band-y: clamp(4.5rem, 8vw, 7.5rem);
}

*, *::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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--power); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--power);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- Type scale ------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 0.98;
}

h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -0.028em; }
h3, .h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.15; }
h4, .h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.prose {
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.62;
  max-width: 66ch;
  color: #16303c;
}
.prose.lead { font-size: 1.32rem; line-height: 1.52; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.15em; margin: 0 0 1.05em; }
.prose li { margin-bottom: .4em; }

.label {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--graphite);
}
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ----------------------------------------------------- */

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

.band { padding: var(--band-y) 0; }
.band--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.band--mist { background: var(--mist); }
.band--top { border-top: 1px solid var(--rule); }

/* Datasheet rail: narrow meta column + content column */
.rail-grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.rail-meta {
  position: sticky;
  top: 96px;
  border-top: 2px solid var(--ink);
  padding-top: .7rem;
}
.rail-meta .label { display: block; }
.rail-meta .rail-note {
  font-size: .82rem;
  color: var(--graphite);
  margin-top: .45rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .rail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rail-meta { position: static; }
}

.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
@media (max-width: 880px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
}

.stack-s > * + * { margin-top: .6rem; }
.stack-m > * + * { margin-top: 1.15rem; }
.stack-l > * + * { margin-top: 2.25rem; }

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- Header ----------------------------------------------------- */

.notice {
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.notice .wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 42px;
  flex-wrap: wrap;
  padding-top: .4rem;
  padding-bottom: .4rem;
}
.notice .tag {
  border: 1px solid rgba(255,255,255,.45);
  padding: .1rem .45rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  flex: none;
}
.notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 72px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.brand .wordmark {
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.55rem; }
.nav a {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--rule); text-decoration: none; }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
/* .nav a would otherwise out-specify .btn and repaint the label ink-on-ink */
.nav a.btn { color: #fff; border-bottom: 1px solid var(--ink); }
.nav a.btn:hover { color: #fff; border-bottom-color: #143244; }
.nav .new::after {
  content: "New";
  font-size: .62rem;
  font-weight: 700;
  color: var(--power);
  background: var(--power-dim);
  padding: .1rem .3rem;
  margin-left: .35rem;
  vertical-align: .18em;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .45rem .75rem;
  cursor: pointer;
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--rule-soft); }
  .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* ---------- Buttons --------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: .72rem 1.25rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background .14s ease, color .14s ease;
}
.btn:hover { background: #143244; color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--mist); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Hero ------------------------------------------------------ */

.hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.hero-head { max-width: 19ch; }
.hero-sub { max-width: 46ch; padding-bottom: .35rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-head { max-width: 22ch; }
  .hero-sub { padding-bottom: 0; }
}

/* ---------- Process schematic ----------------------------------------- */

.schematic {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}
.schematic-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.25rem;
  align-items: center;
}
.schematic-controls .label { margin-right: .4rem; }
.chip {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  padding: .38rem .7rem;
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.flow { width: 100%; height: auto; display: block; overflow: visible; }

/* Below tablet the diagram would shrink its labels to a few pixels, so it
   becomes a pannable strip at a legible minimum width instead. */
.flow-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.flow-hint { display: none; }
@media (max-width: 860px) {
  .flow { min-width: 1000px; }
  .flow-hint {
    display: block;
    font-size: .82rem;
    color: var(--graphite);
    margin-bottom: .7rem;
  }
}

.flow text {
  font-family: var(--sans);
  fill: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.flow .t-node { font-weight: 600; font-size: 16px; letter-spacing: -0.015em; }
.flow .t-small { font-size: 12.5px; fill: var(--graphite); font-weight: 400; }
.flow .t-out { font-weight: 600; font-size: 15.5px; }

.flow .box { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.flow .box-core { fill: var(--ink); stroke: var(--ink); }
.flow text.on-core { fill: #fff; }
.flow text.on-core-sub { fill: rgba(255,255,255,.72); }

.flow .wire { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.flow .wire-power { fill: none; stroke: var(--power); stroke-width: 1.5; }
.flow .dot { fill: var(--ink); }
.flow .dot-power { fill: var(--power); }

/* Draw-on animation, one time */
.flow .wire, .flow .wire-power {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.1s cubic-bezier(.4,0,.2,1) forwards;
}
.flow .d1 { animation-delay: .05s; }
.flow .d2 { animation-delay: .25s; }
.flow .d3 { animation-delay: .45s; }
.flow .d4 { animation-delay: .65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.flow .fade { opacity: 0; animation: appear .5s ease forwards; }
.flow .fade.d2 { animation-delay: .35s; }
.flow .fade.d3 { animation-delay: .55s; }
.flow .fade.d4 { animation-delay: .8s; }
@keyframes appear { to { opacity: 1; } }

/* Pathway focus states, driven by JS */
.flow g[data-lane] { transition: opacity .2s ease; }
.flow[data-focus="co2"] g[data-lane="ch4"],
.flow[data-focus="ch4"] g[data-lane="co2"] { opacity: .17; }
.flow[data-focus="co2"] g[data-out="msaf"],
.flow[data-focus="ch4"] g[data-out="esaf"],
.flow[data-focus="ch4"] g[data-out="fluid"] { opacity: .17; }

@media (prefers-reduced-motion: reduce) {
  .flow .wire, .flow .wire-power {
    stroke-dasharray: none; stroke-dashoffset: 0; animation: none;
  }
  .flow .fade { opacity: 1; animation: none; }
}

.flow-key {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  font-size: .84rem;
  color: var(--graphite);
}
.flow-key span { display: inline-flex; align-items: center; gap: .45rem; }
.flow-key i { width: 18px; height: 2px; background: var(--ink); flex: none; }
.flow-key i.power { background: var(--power); }

/* ---------- Proof strip ----------------------------------------------- */

.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.proof-list li {
  padding: 1.6rem 1.5rem 1.7rem 0;
  border-right: 1px solid var(--rule-soft);
}
.proof-list li:last-child { border-right: 0; }
.proof-list b {
  display: block;
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof-list span {
  display: block;
  margin-top: .6rem;
  font-size: .9rem;
  color: var(--graphite);
  line-height: 1.35;
  max-width: 22ch;
}
@media (max-width: 880px) {
  .proof-list { grid-template-columns: repeat(2, 1fr); }
  .proof-list li { border-right: 0; padding-right: 1rem; }
  .proof-list li:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); }
}

/* ---------- Datasheet (products) -------------------------------------- */

.sheet { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.sheet + .sheet { margin-top: clamp(3.25rem, 6vw, 5rem); }

.sheet-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.sheet-head h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  letter-spacing: -0.032em;
  font-weight: 700;
}
/* Same badge-beside-heading arrangement, but outside a datasheet block. */
.sheet-head--plain { margin-bottom: 1rem; }
.pill {
  font-size: .74rem;
  font-weight: 600;
  padding: .18rem .5rem;
  border: 1px solid var(--rule);
  color: var(--graphite);
  flex: none;
}
.pill--live { border-color: var(--ink); color: var(--ink); }
.pill--new { background: var(--power); border-color: var(--power); color: #fff; }

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
}
table.spec caption {
  text-align: left;
  font-size: .8rem;
  font-weight: 600;
  color: var(--graphite);
  padding-bottom: .55rem;
}
table.spec th,
table.spec td {
  text-align: left;
  padding: .62rem 1rem .62rem 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
table.spec th {
  font-weight: 500;
  color: var(--graphite);
  width: 44%;
}
table.spec td { font-weight: 500; }
table.spec tr:last-child th,
table.spec tr:last-child td { border-bottom: 0; }

table.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  text-align: left;
}
table.grid caption {
  text-align: left; font-size: .8rem; font-weight: 600;
  color: var(--graphite); padding-bottom: .6rem;
}
table.grid th, table.grid td {
  padding: .75rem 1rem .75rem 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
table.grid thead th {
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
  font-size: .84rem;
}
table.grid tbody th { font-weight: 500; }
.wrap-scroll { overflow-x: auto; }

/* ---------- Feature blocks ------------------------------------------- */

.block { border-top: 1px solid var(--rule); padding-top: 1.15rem; }
.block h3 { margin-bottom: .6rem; }
.block p { font-size: .98rem; color: #23414e; max-width: 44ch; }

.checks { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.checks li {
  padding: .62rem 0 .62rem 1.4rem;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  line-height: 1.42;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.02rem;
  width: 7px; height: 7px;
  background: var(--power);
}
.checks li:last-child { border-bottom: 0; }

/* ---------- Timeline -------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0 clamp(1rem, 2.5vw, 2rem);
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
}
.timeline > li:last-child { border-bottom: 1px solid var(--rule); }
.timeline time {
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  padding-top: .1rem;
}
.timeline h4 { margin-bottom: .35rem; }
.timeline p { font-size: .95rem; color: #23414e; max-width: 62ch; margin: 0; }
@media (max-width: 620px) {
  .timeline > li { grid-template-columns: 1fr; gap: .4rem; }
}

/* ---------- Investors ------------------------------------------------- */

.investors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.investors li {
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.3;
}
.investors li em {
  display: block;
  font-style: normal;
  font-size: .8rem;
  color: var(--graphite);
  font-weight: 400;
  margin-top: .2rem;
}

/* ---------- People ---------------------------------------------------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0;
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.people li {
  padding: 1.05rem 1.25rem 1.05rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.people b { display: block; font-weight: 600; font-size: .98rem; }
.people span { font-size: .87rem; color: var(--graphite); }

/* ---------- Project cards -------------------------------------------- */

.project { border-top: 2px solid var(--ink); padding-top: 1.35rem; }
.project + .project { margin-top: clamp(2.75rem, 5vw, 4.25rem); }
.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}
@media (max-width: 880px) { .project-grid { grid-template-columns: 1fr; } }
.project figure { margin: 0; }
.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project figcaption {
  font-size: .8rem;
  color: var(--graphite);
  padding-top: .55rem;
}

/* ---------- Media banner --------------------------------------------- */

.banner img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}
@media (max-width: 700px) { .banner img { aspect-ratio: 4 / 3; } }

/* ---------- Imagery ---------------------------------------------------- */

/* Shared photographic treatment. A very slight desaturation keeps the
   industrial blues from fighting the accent colour. */
.fullbleed img, .figrow img, .media img, .project img, .banner img, .figure img {
  filter: saturate(.94);
  background: var(--mist);
}

/* Hero image. Held to the content measure rather than run full-bleed, so it
   displays at roughly 1:1 with the source rather than being upscaled. */
.hero-figure { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.hero-figure img { width: 100%; height: auto; display: block; }
.hero-figure figcaption {
  font-size: .82rem;
  color: var(--graphite);
  padding-top: .7rem;
}

/* Standalone figure, e.g. inside a datasheet column. */
.figure { margin: 0; }
.figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.figure figcaption {
  font-size: .82rem;
  color: var(--graphite);
  padding-top: .55rem;
  line-height: 1.4;
}

/* Edge-to-edge band image. Caption sits back inside the content measure. */
.fullbleed { margin: 0; }
.fullbleed img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}
.fullbleed figcaption {
  font-size: .82rem;
  color: var(--graphite);
  padding-top: .7rem;
}
@media (max-width: 700px) {
  .fullbleed img { aspect-ratio: 4 / 3; }
}

/* Row of equally weighted figures. */
.figrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.figrow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figrow figure { margin: 0; }
.figrow img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.figrow figcaption {
  font-size: .82rem;
  color: var(--graphite);
  padding-top: .55rem;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .figrow, .figrow--2 { grid-template-columns: 1fr; }
}

/* Image beside prose. */
.media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}
.media--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.media figure { margin: 0; }
.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media figcaption {
  font-size: .82rem;
  color: var(--graphite);
  padding-top: .55rem;
}
@media (max-width: 880px) {
  .media, .media--wide { grid-template-columns: 1fr; }
}

/* ---------- Callout --------------------------------------------------- */

.callout {
  background: var(--ink);
  color: #fff;
  padding: clamp(2rem, 4.5vw, 3.5rem);
}
.callout h2 { color: #fff; }
.callout .prose { color: rgba(255,255,255,.82); }
.callout .btn {
  background: #fff; color: var(--ink); border-color: #fff;
}
.callout .btn:hover { background: #dfe7ea; color: var(--ink); }
.callout .btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.callout .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.34;
  letter-spacing: -0.012em;
  max-width: 46ch;
  margin: 0;
}
.quote footer {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  color: var(--graphite);
  margin-top: 1.1rem;
  letter-spacing: 0;
}
.callout .quote footer { color: rgba(255,255,255,.66); }

/* ---------- Notes / to-confirm markers ------------------------------- */

.tbd {
  background: #FFF3C4;
  color: #5a4200;
  padding: 0 .22em;
  font-weight: 600;
  border-bottom: 1px dashed #c9a227;
}

/* ---------- Forms ----------------------------------------------------- */

.form { max-width: 560px; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: .7rem .8rem;
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--power); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--graphite); margin-top: .9rem; }

/* ---------- News list ------------------------------------------------- */

.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.news li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0 clamp(1rem, 2.5vw, 2rem);
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.news time { font-size: .86rem; color: var(--graphite); font-variant-numeric: tabular-nums; }
.news a { color: var(--ink); font-weight: 500; font-size: 1rem; }
.news a:hover { color: var(--power); }
@media (max-width: 620px) {
  .news li { grid-template-columns: 1fr; gap: .3rem; }
}

/* ---------- Footer ---------------------------------------------------- */

.foot {
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 5vw, 4rem) 0 2.5rem;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
.foot h4 { font-size: .82rem; color: var(--graphite); margin-bottom: .8rem; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .5rem; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--power); }
.foot .brand img { height: 24px; margin-bottom: 1rem; }
.foot p { color: var(--graphite); font-size: .9rem; max-width: 34ch; }
.foot-base {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: .84rem;
  color: var(--graphite);
  align-items: center;
}
.foot-base a { color: var(--graphite); }

/* ---------- Utility --------------------------------------------------- */

.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 1.75rem; }
.mt-l { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.muted { color: var(--graphite); }
.small { font-size: .88rem; }
.vh {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
