/* ==========================================================================
   Indian Hills Truck Brokers Inc — Core stylesheet
   Domain: indianhillstruckbrokersinc.com
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b1d2e;
  --ink-2: #102940;
  --steel: #1d4260;
  --amber: #f2a71b;
  --amber-dark: #c98209;
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --white: #ffffff;
  --line: #e2ddd2;
  --muted: #5b6b78;
  --muted-dark: #9fb2c2;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 29, 46, .06), 0 2px 6px rgba(11, 29, 46, .05);
  --shadow: 0 10px 30px rgba(11, 29, 46, .09);
  --shadow-lg: 0 24px 60px rgba(11, 29, 46, .16);

  --container: 1180px;
  --header-h: 74px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--amber-dark); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 .55rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: .75rem 1.25rem;
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--ink); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(44px, 5vw, 68px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #e7edf2; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lead { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 .85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--amber); }

.h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: #44525e;
  max-width: 62ch;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 750;
  font-size: .96rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px rgba(242, 167, 27, .3); }
.btn--primary:hover { background: #ffb62e; color: var(--ink); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--steel); color: var(--white); }

.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .38); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); color: var(--white); }

.btn--block { width: 100%; white-space: normal; text-align: center; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(11, 29, 46, .1); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text em {
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav__link {
  position: relative;
  font-size: .93rem;
  font-weight: 650;
  color: #3d4c58;
  padding: .3rem 0;
  transition: color .18s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .7rem; }
.header__email {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
}
.header__email svg { width: 17px; height: 17px; color: var(--amber-dark); }
.header__email:hover { color: var(--amber-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem 22px 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link {
    padding: .85rem 0;
    border-bottom: 1px solid var(--paper-2);
    font-size: 1rem;
  }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: .9rem; }
}
@media (max-width: 720px) {
  .header__email span { display: none; }
  .brand__text strong { font-size: .98rem; }
  .brand__mark { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, .9) 0%, rgba(6, 17, 29, .84) 38%, rgba(7, 20, 33, .62) 62%, rgba(7, 20, 33, .34) 84%, rgba(7, 20, 33, .2) 100%),
    linear-gradient(to bottom, rgba(6, 17, 29, .38) 0%, rgba(6, 17, 29, 0) 46%),
    linear-gradient(to top, rgba(6, 17, 29, .72) 0%, rgba(6, 17, 29, 0) 48%);
}
.hero .eyebrow {
  color: #ffc964;
  text-shadow: 0 1px 10px rgba(6, 17, 29, .75);
}
.hero__inner {
  position: relative;
  max-width: 840px;
  padding-block: clamp(64px, 9vw, 124px) clamp(52px, 7vw, 88px);
}
.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 22px rgba(6, 17, 29, .55);
}
.hero h1 span { color: var(--amber); }
.hero__lead {
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
  color: #dbe4ec;
  max-width: 60ch;
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(6, 17, 29, .6);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }

@media (max-width: 640px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6, 17, 29, .96) 0%, rgba(6, 17, 29, .91) 45%, rgba(6, 17, 29, .93) 100%),
      linear-gradient(to top, rgba(6, 17, 29, .95), rgba(6, 17, 29, 0) 58%);
  }
}

/* ---------- Stat bar ---------- */
.stats {
  background: var(--ink-2);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
}
.stats__item {
  background: var(--ink-2);
  padding: 1.6rem 1.25rem;
  text-align: center;
}
.stats__value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -.03em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stats__label {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  color: #b4c4d1;
  letter-spacing: .01em;
}
@media (max-width: 860px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
/* Grid/flex children default to min-width:auto, which lets wide tables
   (min-width:520px) push the track past the viewport. */
.grid > *, .split > *, .form-grid > * { min-width: 0; }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6cfc0; }
.card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.card p { margin-bottom: 0; color: #4e5c68; font-size: .97rem; }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(242, 167, 27, .14);
  color: var(--amber-dark);
  margin-bottom: 1rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card__tag {
  display: inline-block;
  margin-bottom: .8rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

/* ---------- Icon list ---------- */
.iconlist li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .55rem 0;
  color: #44525e;
}
.iconlist svg { width: 21px; height: 21px; flex: none; color: var(--amber-dark); margin-top: 2px; }
.iconlist b { color: var(--ink); }
.section--ink .iconlist li { color: #c3d0da; }
.section--ink .iconlist b { color: var(--white); }
.section--ink .iconlist svg { color: var(--amber); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--flip .split__media { order: -1; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 3.4; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

.badge-note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.25rem;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: .87rem;
  color: #4e5c68;
}
.badge-note svg { width: 18px; height: 18px; color: var(--amber-dark); flex: none; }
.badge-note b { color: var(--ink); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step__num {
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--amber);
  font-weight: 850;
  font-size: .95rem;
  margin-bottom: .9rem;
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: #4e5c68; font-size: .95rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.1rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber), rgba(242, 167, 27, .12));
}
.timeline li { position: relative; padding-bottom: 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--amber);
}
.timeline strong { display: block; font-size: 1rem; }
.timeline span { color: var(--muted); font-size: .93rem; }

/* ---------- Credentials table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.table-scroll { overflow-x: auto; }
table.creds {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 520px;
}
table.creds th,
table.creds td {
  text-align: left;
  padding: .95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.creds tr:last-child th,
table.creds tr:last-child td { border-bottom: 0; }
table.creds tbody tr:nth-child(even) { background: #fbfaf7; }
table.creds th {
  width: 42%;
  font-weight: 700;
  color: #3d4c58;
  background: #f7f5f0;
}
table.creds td { color: var(--ink); font-weight: 600; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--paper-2);
  padding: .12em .42em;
  border-radius: 5px;
  color: var(--ink);
}

/* ---------- Callout ---------- */
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
}
.callout svg { width: 22px; height: 22px; color: var(--amber-dark); flex: none; margin-top: 2px; }
.callout p { margin: 0; font-size: .93rem; color: #4e5c68; }
.callout b { color: var(--ink); }
.section--ink .callout { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); border-left-color: var(--amber); }
.section--ink .callout p { color: #c3d0da; }
.section--ink .callout b { color: var(--white); }

/* ---------- Quote form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.1rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4e5c68;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fbfaf7;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .72rem .85rem;
  width: 100%;
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa7b1; }
.field__hint { font-size: .78rem; color: var(--muted); }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-top: 1.4rem;
}
.form-status {
  margin-top: .9rem;
  font-size: .9rem;
  color: var(--muted);
}
.form-status strong { color: var(--ink); }

/* ---------- Contact cards ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.contact-card__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--amber);
  margin-bottom: .9rem;
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.contact-card p { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.contact-card a { font-weight: 750; font-size: .97rem; word-break: break-word; }
.contact-card a:hover { color: var(--amber-dark); }
.contact-card__meta {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--ink) 0%, #143653 100%);
  color: var(--white);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 167, 27, .22), transparent 65%);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #c3d0da; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.footer {
  background: #07131f;
  color: #a9bbc9;
  padding: clamp(44px, 6vw, 72px) 0 0;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.6rem;
}
@media (max-width: 940px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer a { color: #a9bbc9; }
.footer a:hover { color: var(--amber); }
.footer li { padding: .28rem 0; }
.footer__brand { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer__brand .brand__text strong { color: var(--white); }
.footer__brand .brand__text em { color: #7f95a6; }
.footer p { color: #8ba0b1; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.3rem 0 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  color: #7f95a6;
}
.footer__bar p { margin: 0; color: #7f95a6; }
.footer__legal { max-width: 78ch; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  display: none;
  gap: .6rem;
  padding: .6rem 14px calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(7, 19, 32, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mobile-bar .btn { flex: 1; padding: .7rem .9rem; font-size: .9rem; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Breadcrumb / page head ---------- */
.pagehead {
  background: var(--ink);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px; bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 167, 27, .16), transparent 68%);
}
.pagehead__inner { padding-block: clamp(44px, 6vw, 78px); max-width: 780px; }
.pagehead h1 { font-size: clamp(1.95rem, 4.4vw, 3.05rem); margin-bottom: .8rem; }
.pagehead p { color: #c3d0da; margin: 0; font-size: clamp(1rem, 1.6vw, 1.12rem); }
.crumbs {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .82rem;
  color: #93a8b8;
  margin-bottom: 1rem;
}
.crumbs a { color: #b9c8d4; }
.crumbs a:hover { color: var(--amber); }
.crumbs span { opacity: .6; }

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .84rem;
  font-weight: 650;
  color: #46545f;
}
.section--ink .tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #cdd9e2; }

.note {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
}
.section--ink .note { color: #9db1c1; }

.checklist { display: grid; gap: .55rem; }
.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: #44525e;
  font-size: .96rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(242, 167, 27, .22) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.4 2.4 4.6-5' fill='none' stroke='%23c98209' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--ink .checklist li { color: #c3d0da; }

.quote-block {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  border-left: 4px solid var(--amber);
  padding-left: 1.2rem;
  margin: 1.6rem 0;
}
.section--ink .quote-block { color: var(--white); }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(61, 220, 132, .14);
  color: #17794a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pill-badge svg { width: 14px; height: 14px; }
.pill-badge--amber { background: rgba(242, 167, 27, .18); color: var(--amber-dark); }
