/* =========================================================
   ETS — Energy Technology Solutions
   Visual system  ·  v2
   ========================================================= */

:root {
  /* ink */
  --ink-950: #050F1B;
  --ink-900: #0B1D33;
  --ink-800: #11263F;
  --ink-700: #17314F;
  --ink-600: #22436A;

  /* paper */
  --paper: #FFFFFF;
  --paper-02: #F7F8FA;
  --paper-03: #EEF1F4;

  /* type */
  --text: #0B1D33;
  --text-soft: #4D5E6E;
  --text-faint: #5F6F7F;

  /* on dark */
  --on-dark: #FFFFFF;
  --on-dark-soft: #B2C3D2;
  --on-dark-faint: #8699AD;

  /* brand — accent is for dark surfaces and fills,
     accent-ink is the readable green for text on light surfaces */
  --accent: #6DBE45;
  --accent-bright: #86D45C;
  --accent-ink: #447B24;
  --blue: #0077C8;
  --blue-water: #00A3E0;

  /* lines */
  --rule: rgba(11, 29, 51, .13);
  --rule-soft: rgba(11, 29, 51, .07);
  --rule-dark: rgba(255, 255, 255, .14);
  --rule-dark-soft: rgba(255, 255, 255, .07);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Archivo", "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1280px;
  --gutter: 32px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
  line-height: 1.07;
  letter-spacing: -.028em;
  margin: 0;
  text-wrap: balance;
}

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

::selection { background: var(--accent); color: #fff; }

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

/* ---------------- type scale ---------------- */
.d1 { font-size: clamp(2.9rem, 7.4vw, 6.1rem); }
.d2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.d3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.d4 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
/* on dark surfaces the brighter green reads better */
.bg-dark .kicker, .hero .kicker, .phead .kicker, .band .kicker,
.cta .kicker, .statement .kicker { color: var(--accent); }
.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .32;
  max-width: 120px;
}
.kicker--plain::after { display: none; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 400;
}

.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

/* ---------------- layout ---------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sec { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.sec--sm { padding: clamp(56px, 7vw, 96px) 0; }

.bg-dark { background: var(--ink-900); color: var(--on-dark-soft); }
.bg-dark .lead, .phead .lead, .cta .lead, .band .lead, .hero .lead { color: var(--on-dark-soft); }

/* safety net: headings are always white on any dark surface */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.hero h1, .hero h2, .hero h3,
.phead h1, .phead h2, .phead h3,
.band h1, .band h2, .band h3,
.cta h1, .cta h2, .cta h3,
.statement h2, .statement h3,
.ftr h3, .ftr h4 { color: var(--on-dark); }

.bg-alt { background: var(--paper-02); }

.hr { height: 1px; background: var(--rule); border: 0; margin: 0; }
.bg-dark .hr { background: var(--rule-dark); }

/* two-column editorial block: sticky label left, content right */
.ed {
  display: grid;
  grid-template-columns: minmax(180px, 250px) 1fr;
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
}
.ed__aside { position: sticky; top: 118px; }
.ed__num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--text-faint);
  display: block;
  margin-bottom: 10px;
}
.bg-dark .ed__num { color: var(--on-dark-faint); }
.ed__label {
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.bg-dark .ed__label { color: var(--accent); }

/* ---------------- buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { background: var(--accent); color: var(--ink-950); border-color: var(--accent); font-weight: 500; }
.btn--solid:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink-950); }

.btn--line-light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn--line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--line-dark { color: var(--text); border-color: var(--rule); }
.btn--line-dark:hover { border-color: var(--text); background: var(--text); color: #fff; }

.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* text link with underline sweep */
.tlink {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(68,123,36,.42);
  transition: border-color .28s var(--ease), gap .28s var(--ease);
}
.tlink:hover { border-color: currentColor; gap: 16px; }
.bg-dark .tlink { color: var(--accent); border-bottom-color: rgba(109,190,69,.42); }

/* ---------------- header ---------------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
  transition: height .35s var(--ease);
}
.hdr__logo { display: flex; align-items: center; }
.hdr__logo img { width: 150px; transition: opacity .3s var(--ease); }
.hdr__logo .logo-dark { display: none; }

/* over the hero: transparent, light logo */
.hdr--top { background: transparent; }
.hdr--top .nav a { color: #fff; }
.hdr--top .burger span { background: #fff; }

/* scrolled: solid */
.hdr--stuck {
  background: rgba(6, 19, 32, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--rule-dark-soft);
}
.hdr--stuck .hdr__in { height: 70px; }

/* interior pages always solid-on-dark */
.hdr--solid {
  background: rgba(6, 19, 32, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--rule-dark-soft);
}
.hdr--solid .nav a, .hdr--stuck .nav a { color: #fff; }
.hdr--solid .burger span, .hdr--stuck .burger span { background: #fff; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-family: var(--mono);
  font-size: .73rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  color: #fff;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent-bright); }

.nav .btn { padding: 13px 24px; font-size: .7rem; }
.nav .btn::after { display: none; }
.hdr .nav a.btn--solid, .hdr--solid .nav a.btn--solid, .hdr--stuck .nav a.btn--solid { color: var(--ink-950); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  padding: 11px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink-950);
  overflow: hidden;
  padding-top: 100px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: slowzoom 26s var(--ease) forwards;
}
@keyframes slowzoom { to { transform: scale(1); } }

.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,15,27,.97) 2%, rgba(5,15,27,.74) 34%, rgba(5,15,27,.3) 68%, rgba(5,15,27,.6) 100%),
    linear-gradient(to right, rgba(5,15,27,.8) 0%, rgba(5,15,27,.12) 62%);
}

.hero__in {
  position: relative;
  width: 100%;
  padding-bottom: clamp(58px, 8vw, 104px);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero__sub {
  color: var(--on-dark-soft);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  max-width: 44ch;
  margin: 28px 0 0;
  line-height: 1.55;
}
.hero .btns { margin-top: 42px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin: 46px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--rule-dark);
  list-style: none;
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(58px, 8vw, 104px);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ---------------- page head (interior) ---------------- */
.phead {
  background: var(--ink-900);
  color: var(--on-dark-soft);
  padding: clamp(148px, 17vw, 210px) 0 clamp(60px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.phead::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 16%, var(--rule-dark) 16%);
}
.phead h1 { color: #fff; max-width: 17ch; }
.phead p { margin: 26px 0 0; max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.18rem); }

/* ---------------- statement band ---------------- */
.statement {
  background: var(--ink-950);
  color: #fff;
  padding: clamp(50px, 6vw, 84px) 0;
  border-top: 1px solid var(--rule-dark-soft);
  border-bottom: 1px solid var(--rule-dark-soft);
}
.statement p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.1vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -.022em;
  margin: 0;
  max-width: 24ch;
}
.statement em { font-style: normal; color: var(--accent-bright); }

/* ---------------- indexed list (replaces card grid) ---------------- */
.ilist { border-top: 1px solid var(--rule); }
.bg-dark .ilist { border-color: var(--rule-dark); }

.ilist__row {
  display: grid;
  grid-template-columns: 76px minmax(200px, 300px) 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}
.bg-dark .ilist__row { border-color: var(--rule-dark); }
.ilist__row:hover { padding-left: 14px; background: var(--paper-02); }
.bg-dark .ilist__row:hover { background: rgba(255,255,255,.035); }

.ilist__n {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--text-faint);
  padding-top: 6px;
}
.bg-dark .ilist__n { color: var(--on-dark-faint); }

.ilist__h {
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}
.bg-dark .ilist__h { color: #fff; }

.ilist__p { margin: 0; font-size: .99rem; line-height: 1.6; }

/* ---------------- name list (titles only, links onward) ---------------- */
.nlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  border-top: 1px solid var(--rule);
}
.bg-dark .nlist { border-color: var(--rule-dark); }
.nlist__i {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 19px 4px 19px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .35s var(--ease), border-color .35s var(--ease);
}
.bg-dark .nlist__i { border-color: var(--rule-dark); }
.nlist__i:hover { padding-left: 10px; border-bottom-color: var(--accent); text-decoration: none; }
.nlist__n {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--text-faint);
  flex: none;
}
.bg-dark .nlist__n { color: var(--on-dark-faint); }
.nlist__t {
  font-family: var(--display);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--text);
  line-height: 1.3;
}
.bg-dark .nlist__t { color: #fff; }
.nlist__i:hover .nlist__t { color: var(--accent-ink); }
.bg-dark .nlist__i:hover .nlist__t { color: var(--accent-bright); }
@media (max-width: 1040px) { .nlist { grid-template-columns: repeat(2, 1fr); gap: 0 28px; } }
@media (max-width: 620px)  { .nlist { grid-template-columns: 1fr; } }

/* ---------------- accordion ---------------- */
.acc { border-top: 1px solid var(--rule-dark); }
.acc__item { border-bottom: 1px solid var(--rule-dark); }

.acc__btn {
  width: 100%;
  background: none;
  border: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 76px 1fr 40px;
  gap: 20px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: padding-left .4s var(--ease);
}
.acc__btn:hover { padding-left: 12px; }

.acc__n {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--on-dark-faint);
}
.acc__t {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.022em;
  color: #fff;
  line-height: 1.2;
}
.acc__ic {
  position: relative;
  width: 20px; height: 20px;
  justify-self: end;
  flex: none;
}
.acc__ic::before, .acc__ic::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transition: transform .4s var(--ease);
}
.acc__ic::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__ic::after { transform: rotate(0deg); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  margin: 0;
  padding: 0 40px 32px 96px;
  max-width: 68ch;
  color: var(--on-dark-soft);
  font-size: 1.02rem;
}

/* ---------------- full-bleed image band ---------------- */
.band {
  position: relative;
  min-height: clamp(400px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-950);
}
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,15,27,.95) 4%, rgba(5,15,27,.55) 46%, rgba(5,15,27,.2) 100%);
}
.band__in {
  position: relative;
  width: 100%;
  padding: 0 0 clamp(44px, 5vw, 72px);
}
.band h2 { color: #fff; max-width: 18ch; }
.band p { color: var(--on-dark-soft); max-width: 48ch; margin: 20px 0 0; }

/* ---------------- figure + text split ---------------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.duo--flip .duo__fig { order: 2; }
.duo__fig { position: relative; overflow: hidden; border-radius: 2px; }
.duo__fig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.duo__fig:hover img { transform: scale(1.045); }
.duo__cap {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 14px;
}
.bg-dark .duo__cap { color: var(--on-dark-faint); }

/* ---------------- process timeline ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.flow__step {
  padding: 36px 32px 42px 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  padding-left: 32px;
  transition: background .4s var(--ease);
}
.flow__step:nth-child(3n) { border-right: 0; }
.flow__step:hover { background: var(--paper-02); }
.flow__step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .55s var(--ease);
}
.flow__step:hover::before { width: 100%; }
.flow__n {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 16px;
}
.flow__step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.flow__step p { font-size: .97rem; margin: 0; }

/* ---------------- quiet feature grid ---------------- */
.qgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
.qgrid__i {
  background: var(--ink-900);
  padding: 38px 32px 42px;
  transition: background .4s var(--ease);
}
.qgrid__i:hover { background: var(--ink-800); }
.qgrid__i h3 {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.5;
}
.qgrid__i p { font-size: .98rem; margin: 0; color: var(--on-dark-soft); }

/* light variant */
.qgrid--light { background: var(--rule); border-color: var(--rule); }
.qgrid--light .qgrid__i { background: var(--paper); }
.qgrid--light .qgrid__i:hover { background: var(--paper-02); }
.qgrid--light .qgrid__i h3 { color: var(--text); }
.qgrid--light .qgrid__i p { color: var(--text-soft); }

/* ---------------- contact ---------------- */
.cblocks { border-top: 1px solid var(--rule-dark); }
.cblock {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}
.cblock__k {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.cblock__v {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -.022em;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}
.cblock__v a { position: relative; transition: color .3s var(--ease); }
.cblock__v a:hover { color: var(--accent-bright); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 23px;
  width: 11px; height: 1px;
  background: var(--accent);
}

/* ---------------- CTA ---------------- */
.cta {
  background: var(--ink-950);
  color: #fff;
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(109,190,69,.15) 0%, transparent 62%);
  pointer-events: none;
}
.cta__in { position: relative; }
.cta h2, .cta h3 { color: #fff; max-width: 16ch; }
.cta p { margin: 26px 0 0; max-width: 50ch; color: var(--on-dark-soft); }
.cta .btns { margin-top: 44px; }

/* ---------------- footer ---------------- */
.ftr {
  background: var(--ink-950);
  color: var(--on-dark-faint);
  border-top: 1px solid var(--rule-dark-soft);
  padding: clamp(56px, 7vw, 86px) 0 30px;
  font-size: .94rem;
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: 54px;
}
.ftr img { width: 162px; margin-bottom: 22px; }
.ftr__tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  max-width: 32ch;
  line-height: 1.75;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule-dark-soft);
  position: relative;
}
.ftr__tag::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 54px; height: 1px;
  background: linear-gradient(to right, var(--accent), var(--blue));
}
.ftr__blurb { max-width: 34ch; line-height: 1.65; }
.ftr h4 {
  font-family: var(--mono);
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 12px; }
.ftr a { transition: color .25s var(--ease); }
.ftr a:hover { color: var(--accent-bright); }
.ftr__contact a { color: #fff; }

.ftr__btm {
  border-top: 1px solid var(--rule-dark-soft);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ftr__btm p { margin: 0; }

/* ---------------- scroll reveal ---------------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
html.no-js .rv { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1040px) {
  .qgrid, .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:nth-child(3n) { border-right: 1px solid var(--rule); }
  .flow__step:nth-child(2n) { border-right: 0; }
  .ed { grid-template-columns: 1fr; }
  .ed__aside { position: static; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--ink-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 90px var(--gutter) 40px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  /* keep the logo and close button above the full-screen menu */
  .hdr__logo, .burger { position: relative; z-index: 3; }
  .nav { z-index: 2; }
  .nav a {
    font-family: var(--display);
    font-size: 1.8rem;
    letter-spacing: -.02em;
    text-transform: none;
    padding: 13px 0;
    width: 100%;
    border-bottom: 1px solid var(--rule-dark-soft);
  }
  .nav a::after { display: none; }
  .nav .btn {
    margin-top: 26px;
    font-family: var(--mono);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    border-bottom: 0;
    width: auto;
  }
  body.nav-open { overflow: hidden; }

  .hero { min-height: 92svh; }
  .scroll-cue { display: none; }

  .duo { grid-template-columns: 1fr; }
  .duo--flip .duo__fig { order: 0; }

  .ilist__row { grid-template-columns: 54px 1fr; gap: 16px; }
  .ilist__row .ilist__p { grid-column: 2; }
  .ilist__row:hover { padding-left: 8px; }

  .acc__btn { grid-template-columns: 54px 1fr 28px; gap: 14px; padding: 22px 0; }
  .acc__panel p { padding: 0 0 26px 68px; }

  .qgrid, .flow { grid-template-columns: 1fr; }
  .flow__step { border-right: 0 !important; padding-right: 0; }

  .cblock { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .ftr__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .hero__bg img { transform: none; }
}
