/* ==========================================================================
   Tangent Solutions — Design System (light theme)
   Palette sampled directly from the previous Lovable site:
     background  #F5F7F9 / #EEF2F6
     ink         #172A45
     brand       linear-gradient(135deg, #28518A, #1DBAC9)
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:         #F5F7F9;
  --bg-2:       #EEF2F6;
  --surface:    #FFFFFF;
  --line:       rgba(23, 42, 69, 0.11);
  --line-soft:  rgba(23, 42, 69, 0.07);

  /* Type */
  --ink:        #172A45;
  --text-dim:   #55677F;
  --text-faint: #7C8CA1;

  /* Brand */
  --blue:       #28518A;
  --teal:       #1DBAC9;
  --teal-deep:  #0E7C8B;   /* accessible teal for small text */
  --grad:       linear-gradient(135deg, #28518A 0%, #1DBAC9 100%);

  /* Dark screen (camera feed mock) */
  --screen:     #0E1B2E;

  /* Geometry */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 18px;
  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 32px);

  /* Effects */
  --shadow:    0 4px 16px -6px rgba(23, 42, 69, 0.16);
  --shadow-md: 0 12px 30px -12px rgba(23, 42, 69, 0.20);
  --shadow-lg: 0 26px 60px -24px rgba(23, 42, 69, 0.30);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.8rem); letter-spacing: -0.034em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
p  { margin: 0 0 1.1em; }

::selection { background: rgba(29, 186, 201, 0.28); color: var(--ink); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.section { padding-block: clamp(60px, 8vw, 110px); }
.section--tight { padding-block: clamp(46px, 6vw, 72px); }

.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line-soft);
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  max-width: 62ch;
}

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 54px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(40, 81, 138, 0.65);
}
.btn--primary:hover { box-shadow: 0 16px 32px -10px rgba(40, 81, 138, 0.75); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.btn--ghost:hover { border-color: rgba(29, 186, 201, 0.55); color: var(--blue); }

.btn--sm { padding: 10px 20px; font-size: 0.88rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 640;
  font-size: 0.93rem;
  color: var(--blue);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--teal-deep); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 18px -8px rgba(23, 42, 69, 0.28);
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  margin-right: auto;
  color: var(--ink);
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
}
.brand__sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 1px;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 14px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 560;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--blue);
  background: rgba(40, 81, 138, 0.07);
}
.nav__links .btn--primary { color: #fff; background: var(--grad); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute;
    top: 74px;
    left: var(--pad);
    right: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 16px; font-size: 1rem; }
  .nav__links .btn { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(122px, 15vw, 168px);
  padding-bottom: clamp(60px, 8vw, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(29, 186, 201, 0.16), transparent 62%),
    radial-gradient(760px 460px at 8% 6%,   rgba(40, 81, 138, 0.11), transparent 60%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 42, 69, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 42, 69, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 74%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__layout { grid-template-columns: 1fr; }
}

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 620;
  color: var(--text-dim);
  box-shadow: var(--shadow);
}
.badge b { color: var(--ink); font-weight: 680; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 186, 201, 0.18);
  flex: none;
}
.dot--warm { background: var(--blue); box-shadow: 0 0 0 3px rgba(40, 81, 138, 0.16); }

.hero h1 { margin-bottom: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat__n {
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--blue);
}
.stat__l {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}

/* Hero visual — detection viewfinder (dark screen inside a light panel) */
.viewfinder {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.viewfinder__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  font-size: 0.74rem;
  color: var(--text-faint);
  font-weight: 650;
  letter-spacing: 0.04em;
}
.viewfinder__bar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-deep);
}
.viewfinder__bar .live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.9s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;    transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.82); }
}

.viewfinder__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(29, 186, 201, 0.16), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 34px),
    var(--screen);
}
.bbox {
  position: absolute;
  border: 1.5px solid var(--teal);
  border-radius: 4px;
  background: rgba(29, 186, 201, 0.10);
  animation: float 6s ease-in-out infinite;
}
.bbox::after {
  content: attr(data-label);
  position: absolute;
  top: -22px;
  left: -1.5px;
  padding: 2px 7px;
  border-radius: 4px 4px 0 0;
  background: var(--teal);
  color: #05202a;
  font-size: 0.63rem;
  font-weight: 780;
  white-space: nowrap;
}
.bbox--warm { border-color: #6EA8F0; background: rgba(110, 168, 240, 0.12); }
.bbox--warm::after { background: #6EA8F0; color: #06203f; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -7px, 0); }
}

.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(29,186,201,0.85), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan {
  0%   { top: 4%;  opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}

.viewfinder__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  margin: 0;
}
.viewfinder__foot > div {
  padding: 13px 14px;
  border-right: 1px solid var(--line-soft);
}
.viewfinder__foot > div:last-child { border-right: 0; }
.viewfinder__foot dt {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  font-weight: 680;
}
.viewfinder__foot dd {
  margin: 3px 0 0;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line-soft);
  background: var(--surface);
  padding-block: 24px;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
}
.trust__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
}
.trust__item {
  font-size: 0.93rem;
  font-weight: 640;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust__item svg { width: 17px; height: 17px; color: var(--teal-deep); flex: none; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 186, 201, 0.5);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(29, 186, 201, 0.12);
  border: 1px solid rgba(29, 186, 201, 0.28);
  color: var(--teal-deep);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--warm {
  background: rgba(40, 81, 138, 0.10);
  border-color: rgba(40, 81, 138, 0.26);
  color: var(--blue);
}
.card__icon--blue {
  background: rgba(40, 81, 138, 0.10);
  border-color: rgba(40, 81, 138, 0.26);
  color: var(--blue);
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0; }

.card--feature { padding: clamp(26px, 4vw, 38px); }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  display: flex;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.ticks svg { width: 17px; height: 17px; color: var(--teal-deep); flex: none; margin-top: 3px; }

/* ---------- Industry tiles ---------- */
.tile {
  display: block;
  padding: 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 81, 138, 0.45);
  box-shadow: var(--shadow-md);
}
.tile__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.tile__top svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.tile h3 { font-size: 1.02rem; margin: 0; }
.tile p { font-size: 0.9rem; color: var(--text-dim); margin: 0; }
.tag {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(29, 186, 201, 0.14);
  color: var(--teal-deep);
  border: 1px solid rgba(29, 186, 201, 0.32);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: s; display: grid; gap: 2px; }
.step {
  position: relative;
  padding: 22px 22px 22px 72px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: background 0.3s, border-color 0.3s;
}
.step:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.step:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.step:hover { border-color: rgba(29, 186, 201, 0.45); background: #FAFDFE; }
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 0.86rem;
  font-weight: 780;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.step h3 { font-size: 1.04rem; margin-bottom: 5px; }
.step p  { margin: 0; color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Case study ---------- */
.case {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.case__kicker {
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 780;
  margin-bottom: 10px;
}
.case__result {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--teal);
  background: rgba(29, 186, 201, 0.08);
  font-size: 0.92rem;
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  position: relative;
  font-weight: 640;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p {
  color: var(--text-dim);
  font-size: 0.95rem;
  padding-right: 44px;
  margin: -4px 0 20px;
  max-width: 78ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(32px, 6vw, 62px);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(40, 81, 138, 0.16);
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(29, 186, 201, 0.16), transparent 66%),
    radial-gradient(600px 300px at 80% 100%, rgba(40, 81, 138, 0.12), transparent 62%),
    var(--surface);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lede { margin-inline: auto; margin-bottom: 26px; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  position: relative;
}
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #FBFCFD;
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 186, 201, 0.18);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.82rem; color: var(--text-faint); margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: clamp(42px, 6vw, 62px) 26px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px;
  margin-bottom: 34px;
}
.footer__grid h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 13px;
  font-weight: 750;
}
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__grid a { color: var(--text-dim); font-size: 0.92rem; transition: color 0.2s; }
.footer__grid a:hover { color: var(--blue); }
.footer__about p { color: var(--text-dim); font-size: 0.92rem; max-width: 40ch; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(26px, 4vw, 42px); }
.muted { color: var(--text-dim); }
.small { font-size: 0.88rem; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 650;
}
.skip:focus { left: 0; }

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

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