/* ==========================================================================
   BitLogger — design system
   Navy / Blue / Paper. Inter, matching the client's reference site.
   Palette sampled directly from the client's reference (Ntiva): #1B1D28 navy,
   #005DE5 blue, #F5F5F5 paper. One disciplined accent (blue) — the reference's
   cyan + orange extras were dropped to keep it to one, per house style rules.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; -webkit-tap-highlight-color: rgba(0,93,229,0.15); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
a, button, .btn, input, textarea, [role="button"] { touch-action: manipulation; }

:root {
  /* ---- color tokens ---- */
  --ink: #1B1D28;
  --ink-2: #262936;
  --ink-3: #313544;
  --paper: #FFFFFF;
  --paper-2: #F5F5F5;
  --paper-3: #EDEDED;
  --line: #E3E3E6;
  --line-dark: #383C4A;
  --text: #1B1D28;
  --text-muted: #565A66;
  --text-on-ink: #FFFFFF;
  --text-on-ink-muted: #A6AAB6;
  --blue: #005DE5;
  --blue-dark: #0048B3;
  --blue-tint: #E5EFFD;
  --status: #2E9E5B;

  /* ---- type ---- */
  --font-display: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* ---- layout ---- */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- type scale ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); line-height: 1.6; color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 1px;
  flex: none;
}
.on-ink .eyebrow, .section--ink .eyebrow, .page-hero .eyebrow { color: #6FA8FF; }
.on-ink .eyebrow::before, .section--ink .eyebrow::before, .page-hero .eyebrow::before { background: #6FA8FF; }

.accent { color: var(--blue); }
.section--ink .accent, .hero .accent { color: #6FA8FF; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  min-height: 44px;
}
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost-ink { background: transparent; color: var(--text-on-ink); border-color: var(--line-dark); }
.btn-ghost-ink:hover { border-color: var(--text-on-ink-muted); background: rgba(255,255,255,0.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text-muted); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn::after {
  content: '\2192';
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover::after { transform: translateX(3px); }

/* ---- scroll-linked word reveal statement ---- */
.statement { padding-block: clamp(3rem, 7vw, 5.5rem); }
.scroll-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.05rem + 2.2vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 46rem;
}
.stw { color: var(--line); transition: color 0.4s ease; }
.stw.is-active { color: var(--text); }

/* ---- scroll reveal (JS adds .reveal on load; .is-visible on intersect) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(.2,.7,.3,1), transform 0.6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 28px -18px rgba(0,0,0,0.55); }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--text-on-ink);
  flex: none;
}

.primary-nav { display: none; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-on-ink-muted);
  transition: color 0.15s ease;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"],
.nav-dropdown-toggle[aria-current="page"] {
  color: var(--text-on-ink);
  border-bottom-color: var(--blue);
}

/* ---- floating nav dropdown ---- */
.has-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.35em;
  background: none; border: none; font: inherit; color: var(--text-on-ink-muted);
  cursor: pointer; padding-block: 0.4rem; border-bottom: 1px solid transparent;
  transition: color 0.15s ease;
}
.nav-dropdown-toggle svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] { color: var(--text-on-ink); border-bottom-color: var(--blue); }
.nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(380px, 90vw);
  background: var(--paper-2);
  border-radius: 16px;
  box-shadow: 0 28px 56px -20px rgba(0,0,0,0.5);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.22s cubic-bezier(.2,.7,.3,1), transform 0.22s cubic-bezier(.2,.7,.3,1), visibility 0.22s;
  z-index: 110;
}
.nav-dropdown.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown__item {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.75rem 0.9rem; border-radius: 10px;
  text-decoration: none; color: var(--text);
  transition: background-color 0.15s ease;
}
.nav-dropdown__item:hover { background: var(--paper-3); }
.nav-dropdown__item strong { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.nav-dropdown__item span { font-size: 0.82rem; color: var(--text-muted); }
.nav-dropdown__all {
  display: flex; align-items: center; gap: 0.4em;
  margin-top: 0.25rem; padding: 0.7rem 0.9rem;
  font-size: 0.85rem; font-weight: 600; color: var(--blue);
  text-decoration: none; border-top: 1px solid var(--line);
}
.nav-dropdown__all::after { content: '\2192'; transition: transform 0.2s ease; }
.nav-dropdown__all:hover::after { transform: translateX(3px); }

.header-controls { display: flex; align-items: center; gap: 0.75rem; }

.lang-toggle {
  display: flex;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  flex: none;
}
.lang-toggle button {
  background: transparent;
  color: var(--text-on-ink-muted);
  border: none;
  padding: 0.5em 0.9em;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--blue);
  color: #FFFFFF;
  font-weight: 600;
}

.nav-toggle {
  display: flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--text-on-ink);
  cursor: pointer;
  flex: none;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ink);
  padding: 0 var(--gutter);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding-block 0.35s ease;
}
.mobile-nav.is-open {
  max-height: 700px;
  opacity: 1;
  padding-block: 0.5rem 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.mobile-nav a {
  color: var(--text-on-ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn { margin-top: 1.25rem; align-self: flex-start; }

@media (max-width: 639px) {
  .header-controls .btn-ghost-ink { display: none; }
}

@media (min-width: 960px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero — diagonal split: two audiences, two photo backgrounds
   ========================================================================== */
.hero-split {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  min-height: calc(100svh - var(--header-h, 81px));
}
.hero-split__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
}
.hero-split__bg--left {
  clip-path: polygon(0 0, 57% 0, 43% 100%, 0 100%);
  background-position: 30% center;
  background-image:
    linear-gradient(100deg, rgba(11,16,32,0.86) 0%, rgba(11,16,32,0.72) 100%),
    url('../img/handshake-office.jpg');
}
.hero-split__bg--right {
  clip-path: polygon(57% 0, 100% 0, 100% 100%, 43% 100%);
  background-position: 68% center;
  background-image:
    linear-gradient(260deg, rgba(58,40,20,0.74) 0%, rgba(11,16,32,0.82) 100%),
    url('../img/handshake-office.jpg');
}
.hero-split__seam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-split__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--header-h, 81px));
}
.hero-split__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-on-ink);
}
.hero-split__col--left { padding-right: clamp(2rem, 8vw, 5rem); }
.hero-split__col--right { padding-left: clamp(2rem, 8vw, 5rem); }
.hero-split__col h1, .hero-split__col h2 { margin-top: 0.75rem; font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.75rem); }
.hero-split__col .lede { color: #E4E6EC; margin-top: 1.1rem; font-size: 1rem; max-width: 26rem; }
.hero-split__col .btn { margin-top: 1.75rem; align-self: flex-start; }
.hero-split__col .btn-ghost-ink { border-color: rgba(255,255,255,0.6); }
.hero-split__col .btn-ghost-ink:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.12); }
.hero-split .eyebrow { color: #D7E8FF; }
.hero-split .eyebrow::before { background: #D7E8FF; }

@media (max-width: 767px) {
  .hero-split { min-height: calc(100svh - var(--header-h, 73px)); }
  .hero-split__bg--left { clip-path: none; top: 0; bottom: 50%; background-position: center 30%; }
  .hero-split__bg--right { clip-path: none; top: 50%; bottom: 0; background-position: center 70%; }
  .hero-split__seam { display: none; }
  .hero-split__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: calc(100svh - var(--header-h, 73px));
  }
  .hero-split__col--left, .hero-split__col--right { padding-inline: var(--gutter); }
  .hero-split__col--left { padding-bottom: 2.75rem; }
  .hero-split__col--right { padding-top: 2.75rem; }
}

/* ==========================================================================
   Light band — icon-card grid on white (matches reference's light sections)
   ========================================================================== */
.band {
  position: relative;
  background: var(--paper);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.band__inner { position: relative; }
.band__head { max-width: 34rem; }
.band__head .lede { margin-top: 1rem; }

.card-grid {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.card-grid__item {
  background: var(--paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.card-grid__item svg { width: 22px; height: 22px; color: var(--blue); }
.card-grid__item strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
.card-grid__item span { font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.section--ink { background: var(--ink); color: var(--text-on-ink); }
.section--paper-2 { background: var(--paper-2); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section__head h2 { margin-top: 0.85rem; }
.section__head .lede { margin-top: 1.1rem; }
.on-ink .lede, .section--ink .lede { color: var(--text-on-ink-muted); }

.section__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-end;
}

/* ---- icon + heading + paragraph rows (stacked, alternating icon side) ---- */
.info-rows { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.info-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .info-row { grid-template-columns: 3rem 1fr; gap: 1.75rem; }
}
.info-row__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  flex: none;
}
.section--ink .info-row__icon { border-color: var(--line-dark); color: #6FA8FF; }
.info-row__icon svg { width: 20px; height: 20px; }
.info-row__body h3 { font-size: 1.1rem; font-weight: 600; }
.info-row__body p { color: var(--text-muted); margin-top: 0.6rem; max-width: 40rem; }
.section--ink .info-row__body p { color: var(--text-on-ink-muted); }

/* ---- service cards ---- */
.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.section--ink .service-card, .section--paper-2 .service-card:not(.is-light) { background: var(--ink-2); border-color: var(--line-dark); color: var(--text-on-ink); }
.service-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0,93,229,0.35); }
.service-card__index { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; color: var(--blue); }
.section--ink .service-card__index { color: #6FA8FF; }
.service-card h3 { margin-top: 0.25rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
.section--ink .service-card p { color: var(--text-on-ink-muted); }
.service-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card__list li {
  font-size: 0.875rem;
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
}
.section--ink .service-card__list li { color: var(--text-on-ink-muted); }
.service-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 1.5px;
  background: var(--blue);
}
.service-card__link { margin-top: auto; font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: var(--blue); text-decoration: none; }
.section--ink .service-card__link { color: #6FA8FF; }

/* ---- process (real numbered sequence) ---- */
.process {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.section--ink .process { border-color: var(--line-dark); }
.process__step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.section--ink .process__step { border-color: var(--line-dark); }
.process__num { font-family: var(--font-body); font-weight: 700; color: var(--blue); font-size: 0.9rem; padding-top: 0.15rem; }
.section--ink .process__num { color: #6FA8FF; }
.process__step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.process__step p { color: var(--text-muted); max-width: 38rem; }
.section--ink .process__step p { color: var(--text-on-ink-muted); }
@media (min-width: 720px) {
  .process__step { grid-template-columns: 5rem 16rem 1fr; align-items: baseline; }
}

/* ---- two column feature rows ---- */
.feature-row {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 860px) {
  .feature-row { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
  .feature-row--reverse { grid-template-columns: 1.15fr 0.85fr; }
  .feature-row--reverse > *:first-child { order: 2; }
  .feature-row--reverse > *:last-child { order: 1; }
}
.service-anchor { scroll-margin-top: 5.5rem; }
.feature-row__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.feature-row__list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; }
.feature-row__list li::before {
  content: '';
  width: 8px; height: 8px;
  margin-top: 0.4rem;
  border: 1.5px solid var(--blue);
  border-radius: 1px;
}
.feature-row__list strong { display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: 0.2rem; }
.feature-row__list span { color: var(--text-muted); font-size: 0.925rem; }
.section--ink .feature-row__list span { color: var(--text-on-ink-muted); }

/* ---- divider with node (connective, not decorative numbering) ---- */
.trace-divider {
  display: flex; align-items: center; gap: 1rem;
  margin-block: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trace-divider::before, .trace-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section--ink .trace-divider { color: var(--text-on-ink-muted); }
.section--ink .trace-divider::before, .section--ink .trace-divider::after { background: var(--line-dark); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--ink);
  color: var(--text-on-ink);
  border-radius: 10px;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  border: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
@media (min-width: 860px) {
  .cta-band { grid-template-columns: 1.2fr auto; align-items: center; }
}
.cta-band h2 { max-width: 26rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.cta-pair { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 720px) { .cta-pair { grid-template-columns: 1fr 1fr; } }
.cta-pair__card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
}
.cta-pair__card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.cta-pair__card p { color: var(--text-on-ink-muted); font-size: 0.925rem; margin-bottom: 1.25rem; }

/* ---- contact strip ---- */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.section--ink .contact-item { border-color: var(--line-dark); }
.contact-item .eyebrow { margin-bottom: 0.75rem; }
.contact-item a, .contact-item p { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-decoration: none; }

/* ---- panel (small labeled example box — reused for report mockups, hours, etc.) ---- */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(27,29,40,0.04);
}
.panel + .panel { margin-top: 1.25rem; }
.panel__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}
.panel__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--status); display: inline-block; margin-right: 0.5em; box-shadow: 0 0 0 3px rgba(46,158,91,0.18); animation: statusPulse 2.4s ease-in-out infinite; }
@keyframes statusPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(46,158,91,0.18); } 50% { box-shadow: 0 0 0 6px rgba(46,158,91,0.1); } }
.panel__rows { display: grid; gap: 0.5rem; padding-block: 0.25rem; }
.panel__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.panel__row:last-child { border-bottom: none; }
.panel__row strong { color: var(--text); font-weight: 500; }
.panel--frame { padding: 0; overflow: hidden; }

/* ---- form ---- */
.form-grid { display: grid; gap: 1.25rem; max-width: 34rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.01em; color: var(--text-muted); }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 9rem; }
.form-note { font-size: 0.85rem; color: var(--text-muted); }

/* ---- footer (light, matches reference) ---- */
.site-footer { background: var(--paper-2); color: var(--text-muted); border-top: 1px solid var(--line); }
.site-footer__top {
  padding-block: 3rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1.3fr repeat(3, 1fr); } }
.site-footer h4 { color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-body); font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--blue); }
.site-footer .logo { color: var(--text); }
.site-footer__brand p { max-width: 22rem; font-size: 0.9rem; margin-top: 1rem; color: var(--text-muted); }
.site-footer__bottom {
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- page hero (interior pages) ---- */
.page-hero {
  background: var(--ink);
  color: var(--text-on-ink);
  border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--hex-pattern); background-size: 110px 96px; opacity: 0.5; }
.page-hero .wrap { position: relative; }
.page-hero__crumb { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: var(--text-on-ink-muted); margin-bottom: 1rem; text-decoration: none; display: inline-flex; gap: 0.5em; align-items: center; transition: color 0.15s ease; }
.page-hero__crumb:hover { color: var(--text-on-ink); }
.page-hero h1 { margin-top: 0.75rem; max-width: 34rem; }
.page-hero .lede { margin-top: 1.25rem; max-width: 38rem; }

/* ---- utility ---- */
.u-mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #FFFFFF; padding: 0.75em 1.25em; z-index: 200;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* !important is deliberate: language visibility must win over any component's
   own `display` rule (e.g. `.feature-row__list strong { display: block }`),
   regardless of selector specificity elsewhere in this file. */
html:not([lang="en"]) [data-lang-en] { display: none !important; }
html[lang="en"] [data-lang-sr] { display: none !important; }

/* ---- hex pattern backgrounds (signature motif, SVG data-URIs) ---- */
:root {
  --hex-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.06' stroke-width='1.5'%3E%3Cpath d='M30 0 L60 17 L60 52 L30 69 L0 52 L0 17 Z'/%3E%3Cpath d='M90 0 L120 17 L120 52 L90 69 L60 52 L60 17 Z'/%3E%3Cpath d='M30 69 L60 86 L60 121 L30 138 L0 121 L0 86 Z'/%3E%3Cpath d='M90 69 L120 86 L120 121 L90 138 L60 121 L60 86 Z'/%3E%3C/g%3E%3C/svg%3E");
  --hex-pattern-bright: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78' viewBox='0 0 90 78'%3E%3Cg fill='none' stroke='%23005DE5' stroke-opacity='0.25' stroke-width='1.5'%3E%3Cpath d='M22.5 0 L45 13 L45 39 L22.5 52 L0 39 L0 13 Z'/%3E%3Cpath d='M67.5 0 L90 13 L90 39 L67.5 52 L45 39 L45 13 Z'/%3E%3C/g%3E%3C/svg%3E");
}
