/* ===========================================================================
   33 Degrees Convenience Connect — site stylesheet
   ---------------------------------------------------------------------------
   One file, no build step, no web fonts (system stack only), no external
   requests. Colours are taken from the company's own logo, recovered from the
   web archive: green #009048 with the teal, amber and red that also appear in
   the mark. Nothing here reproduces the original site's layout - that is gone;
   this is a design written for the reconstruction and described as such in the
   README.
   =========================================================================== */

:root {
  --green: #009048;
  --green-bright: #1fc377;
  --green-dim: #06703a;
  --teal: #0f93bf;
  --amber: #f0c030;
  --coral: #e04a5c;

  --ink: #080d0b;
  --surface: #0f1614;
  --surface-2: #16201c;
  --surface-3: #1d2924;
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .055);

  --text: #eef4f1;
  --text-soft: #b3c2bb;
  --text-mute: #7d8f87;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow: 0 18px 44px rgba(0, 0, 0, .45);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

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

body.no-scroll { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-bright); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #fff; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6rem; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 5.1vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.4rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.05rem; }
ul, ol { margin: 0 0 1.05rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }

:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 4px; }

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

.container { width: min(1180px, 92vw); margin-inline: auto; }
.container-narrow { width: min(790px, 92vw); margin-inline: auto; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--text-mute); }
.small { font-size: .88rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--text-soft); line-height: 1.62; }

/* ------------------------------------------------------------- eyebrow */
.eyebrow {
  font-family: var(--mono); font-size: .73rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-bright);
  margin: 0 0 .7rem;
}

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(8, 13, 11, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); background: rgba(8, 13, 11, .95); }
.header-inner { display: flex; align-items: center; gap: 1.4rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: auto; height: 44px; }
.brand-tag {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); border-left: 1px solid var(--line); padding-left: .75rem;
}
.nav ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem .82rem; border-radius: 8px; text-decoration: none;
  color: var(--text-soft); font-weight: 600; font-size: .94rem;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(0, 144, 72, .22); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none; width: 44px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 60px 0 auto; z-index: 89;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 1.1rem 0 1.5rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .2rem; }
.drawer a { display: block; padding: .8rem .3rem; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.drawer a[aria-current="page"] { color: var(--green-bright); }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand img { height: 36px; }
  .brand-tag { display: none; }
}

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 100px;
  font: inherit; font-size: .96rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-bright); color: #04150c; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-bright); color: #04150c; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--green-bright); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.link-arrow::after { content: "\2192"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: #05090a; }
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media { opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(5, 9, 10, .95) 0%, rgba(15, 22, 20, .84) 48%, rgba(0, 144, 72, .3) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3.2rem, 7vw, 6.2rem) 0 clamp(2.6rem, 5.6vw, 4.6rem); }
.hero h1 { color: #fff; max-width: 20ch; }
.glow-text { color: var(--green-bright); }
.hero .lede { max-width: 62ch; }
.hero-actions { margin-top: 1.6rem; }
.hero-facts { position: relative; z-index: 2; border-top: 1px solid var(--line-soft); background: rgba(5, 9, 10, .55); }
.hero-facts { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hero-facts { grid-template-columns: repeat(3, 1fr); } }
.hero-fact { padding: 1.15rem clamp(1rem, 2.4vw, 1.7rem); border-bottom: 1px solid var(--line-soft); }
.hero-fact b { display: block; font-family: var(--mono); font-size: 1.28rem; color: var(--green-bright); margin-bottom: .28rem; }
.hero-fact span { font-size: .9rem; color: var(--text-soft); }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(2.9rem, 5.6vw, 4.6rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section-deep { background: linear-gradient(180deg, #060b09, var(--surface-2)); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 74ch; margin-bottom: 2.1rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------- grids */
.grid { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(1.7rem, 4.4vw, 3.4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-wide { grid-template-columns: 1.14fr .86fr; }
  .split-narrow { grid-template-columns: .86fr 1.14fr; }
}

/* --------------------------------------------------------------- cards */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.card-flat { background: var(--surface-2); }
.card-hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }

.stat-line { font-family: var(--mono); font-size: 1.45rem; line-height: 1.15; color: var(--green-bright); font-weight: 700; margin: .3rem 0 .55rem; }
.stat-line b { color: #fff; }

.stat b { display: block; font-family: var(--mono); font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1; color: var(--green-bright); }
.stat span { display: block; margin-top: .5rem; color: var(--text-soft); font-size: .9rem; }

.rule-num {
  display: inline-block; font-family: var(--mono); font-size: .78rem; font-weight: 700;
  color: var(--green-bright); margin-bottom: .55rem; letter-spacing: .1em;
}

/* --------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-green { background: rgba(0, 144, 72, .18); color: var(--green-bright); }
.chip-teal { background: rgba(15, 147, 191, .16); color: #4cc3e8; }
.chip-amber { background: rgba(240, 192, 48, .16); color: var(--amber); }
.chip-coral { background: rgba(224, 74, 92, .16); color: #ff8496; }

.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.tag-list li { margin: 0; }
.tag-list span {
  display: inline-block; padding: .3rem .72rem; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 100px;
  font-family: var(--mono); font-size: .76rem; color: var(--text-soft);
}

/* ------------------------------------------------------- feature lists */
.feat { list-style: none; padding: 0; margin: .8rem 0 0; }
.feat li { position: relative; padding-left: 1.75rem; margin-bottom: .42rem; font-size: .95rem; color: var(--text-soft); }
.feat li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 14px; height: 9px;
  border-left: 2.5px solid var(--green-bright); border-bottom: 2.5px solid var(--green-bright);
  transform: rotate(-45deg) scale(.85); transform-origin: left center;
}
.feat-cross li::before {
  border: 0; width: 14px; height: 14px; top: .3rem;
  background:
    linear-gradient(45deg, transparent 45%, var(--coral) 45%, var(--coral) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--coral) 45%, var(--coral) 55%, transparent 55%);
  transform: none;
}

/* --------------------------------------------------------------- specs */
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 1rem; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs .k { color: var(--text-mute); }
.specs .v { font-weight: 700; text-align: right; }

/* -------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: .9rem 1.05rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
table.compare thead th { background: var(--surface-2); color: var(--text); font-family: var(--mono); font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td:first-child { color: var(--text-mute); }
table.compare .num { font-family: var(--mono); font-weight: 700; color: var(--green-bright); white-space: nowrap; }

/* --------------------------------------------------------------- steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.05rem; }
.step { position: relative; padding-left: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 2.45rem; height: 2.45rem; border-radius: 10px;
  background: var(--surface-3); border: 1px solid var(--line); color: var(--green-bright);
  display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; font-weight: 700;
}
.step h4 { margin-bottom: .25rem; }
.step p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------------------------------------------------------------- tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: .15rem; overflow-x: auto; margin-bottom: 1.8rem; }
.tab {
  border: 0; background: none; cursor: pointer; white-space: nowrap;
  padding: .85rem 1.05rem; font: inherit; font-size: .96rem; font-weight: 700;
  color: var(--text-mute); border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--green-bright); }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fade .28s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------- accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; padding: 1.1rem .2rem; cursor: pointer; text-align: left;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
}
.acc-btn:hover { color: var(--green-bright); }
.acc-btn .chev { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.acc-btn .chev::before, .acc-btn .chev::after {
  content: ""; position: absolute; top: 10px; left: 3px; width: 16px; height: 2px;
  background: var(--green-bright); border-radius: 2px; transition: transform .22s var(--ease);
}
.acc-btn .chev::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .chev::after { transform: rotate(0); }
.acc-panel > div { padding: 0 .2rem 1.2rem; color: var(--text-soft); }

/* ------------------------------------------------------------ timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 1.55rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.6rem; top: .5rem; width: 11px; height: 11px;
  border-radius: 50%; background: var(--green-bright); transform: translateX(-5.5px);
  box-shadow: 0 0 0 4px var(--ink);
}
.timeline .yr { font-family: var(--mono); font-weight: 700; color: var(--amber); font-size: .86rem; }
.timeline h4 { margin: .1rem 0 .2rem; }
.timeline p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ------------------------------------------------------------- figures */
figure { margin: 0; }
.fig-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 2.6vw, 1.8rem); }
figcaption { font-size: .85rem; color: var(--text-mute); margin-top: .85rem; }

/* --------------------------------------------------- video / media band */
.videoband { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #04070a; }
.videoband video, .videoband img { width: 100%; display: block; }
.videoband .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem clamp(1rem, 3vw, 2rem) 1rem;
  background: linear-gradient(to top, rgba(4, 7, 10, .95), rgba(4, 7, 10, 0));
  font-size: .82rem; color: #c3d2cb;
}
.videoband .cap b { color: #fff; display: block; margin-bottom: .15rem; }

/* Screenshots of the network */
.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shot { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; display: block; background: #04070a; }
.shot figcaption { font-size: .8rem; color: var(--text-mute); padding: .7rem .9rem; margin: 0; }

/* Wide evidence bands */
.band { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #04070a; }
.band img { width: 100%; display: block; }

/* Click-to-load does not apply here: everything is local. Simple gallery. */
.gallery { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gallery figure { margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { font-size: .78rem; line-height: 1.45; color: var(--text-mute); padding: .7rem .85rem; }
.gallery figcaption b { color: var(--text-soft); font-weight: 600; display: block; }

/* -------------------------------------------------- callout / notice */
.callout { border-left: 4px solid var(--green-bright); background: rgba(0, 144, 72, .1); padding: 1.15rem 1.35rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: var(--amber); background: rgba(240, 192, 48, .09); }
.callout-info { border-left-color: var(--teal); background: rgba(15, 147, 191, .1); }
.notice { background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.05rem 1.2rem; font-size: .92rem; color: var(--text-soft); }

/* --------------------------------------------------------------- forms */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .36rem; }
.field label { font-size: .9rem; font-weight: 700; }
.field .req { color: var(--coral); }
.field input, .field textarea, .field select {
  width: 100%; padding: .76rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .97rem; color: var(--text); background: var(--surface-2);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(31, 195, 119, .18); }
.field .err { font-size: .84rem; color: #ff9aa8; min-height: 1.05em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--coral); }
.form-note { font-size: .85rem; color: var(--text-mute); }
.form-status { border-radius: var(--radius-sm); padding: .9rem 1.05rem; font-size: .94rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: rgba(0, 144, 72, .14); color: var(--green-bright); border: 1px solid rgba(31, 195, 119, .45); }
.form-status.bad { background: rgba(224, 74, 92, .12); color: #ffb3bd; border: 1px solid rgba(224, 74, 92, .45); }
.checkline { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--text-soft); }
.checkline input { width: auto; margin-top: .28rem; }

/* -------------------------------------------------------------- footer */
.site-footer { background: #050807; color: var(--text-mute); padding: clamp(2.5rem, 4.8vw, 3.7rem) 0 1.5rem; font-size: .94rem; border-top: 1px solid var(--line-soft); }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .85rem; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); text-decoration: underline; }
.footer-grid { display: grid; gap: 1.9rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: .9rem; opacity: .95; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-bottom {
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .84rem;
}

/* --------------------------------------------------------- page header */
.breadcrumb { font-family: var(--mono); font-size: .78rem; color: var(--text-mute); padding: 1rem 0 0; }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb span { margin: 0 .4rem; }
.page-hero { background: linear-gradient(150deg, #0a1310, var(--surface-2)); padding: clamp(2.3rem, 5.2vw, 4rem) 0 clamp(2.1rem, 4.4vw, 3.2rem); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .lede { color: var(--text-soft); max-width: 66ch; }

/* credit line under media */
.credit { font-size: .78rem; line-height: 1.5; color: var(--text-mute); }
.credit b { color: var(--text-soft); font-weight: 600; }

/* -------------------------------------------------------- reveal / misc */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); border-color: var(--green-bright); color: var(--green-bright); }

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

@media print {
  .site-header, .drawer, .to-top, .site-footer, .videoband { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .card, .section-alt, .section-deep, .page-hero { background: #fff !important; border-color: #ccc !important; }
  h1, h2, h3, .lede, p, li { color: #000 !important; }
  .glow-text { color: #000; }
}
