/* =========================================================
   DataForge Insight Group: site styles
   Theme colors are HSL triplets so they can be used with alpha:
   hsl(var(--brand) / .5)
   ========================================================= */

:root {
  /* Palette from the original dataforgeinsightgroup.com Squarespace theme */
  color-scheme: light;
  --background: 42 36% 95%;      /* cream        #f6f3eb */
  --foreground: 30 13% 19%;      /* charcoal     #36302a */
  --section: 36 32% 91%;         /* warm sand */
  --card: 42 45% 98%;
  --muted: 35 26% 89%;
  --muted-foreground: 30 9% 38%;
  --brand: 32 16% 29%;           /* dark accent  #564b3f */
  --brand-strong: 30 13% 19%;
  --brand-soft: 33 32% 89%;      /* light accent #ede3d6 */
  --accent: 31 23% 65%;          /* tan accent   #b9a58f */
  --accent-text: 30 26% 43%;     /* tan, darkened for readable text */
  --border: 35 22% 84%;
  --input: 35 17% 74%;
  --shadow: 30 25% 15%;
  --radius: 0.75rem;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --header-h: 5.5rem;
}

.dark {
  color-scheme: dark;
  --background: 30 13% 10%;
  --foreground: 42 36% 94%;
  --section: 30 12% 13%;
  --card: 30 11% 16%;
  --muted: 30 10% 21%;
  --muted-foreground: 35 16% 72%;
  --brand: 31 23% 65%;
  --brand-strong: 33 32% 80%;
  --brand-soft: 30 10% 22%;
  --accent: 31 30% 62%;
  --accent-text: 31 32% 68%;
  --border: 30 9% 25%;
  --input: 30 9% 32%;
  --shadow: 0 0% 0%;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s, color .2s;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.text-brand { color: hsl(var(--brand)); }
h1 .text-brand { color: hsl(var(--accent-text)); }
.text-accent { color: hsl(var(--accent)); }

.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 1000;
  padding: .75rem 1rem; border-radius: .5rem;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  box-shadow: 0 4px 20px rgb(0 0 0 / .15);
}
.skip-link:focus { top: .5rem; }

:focus-visible { outline: 2px solid hsl(var(--brand)); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .7rem 1.4rem;
  font: 600 .95rem/1 var(--font-sans);
  border: 1px solid transparent; border-radius: .6rem;
  cursor: pointer; transition: background-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn svg { width: 1rem; height: 1rem; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: hsl(var(--brand)); color: hsl(var(--background)); box-shadow: 0 6px 18px -8px hsl(var(--brand) / .7); }
.btn-primary:hover { background: hsl(var(--brand-strong)); }

.btn-light { background: hsl(42 36% 95%); color: hsl(30 13% 19%); }
.btn-light:hover { background: hsl(33 32% 86%); }

.btn-sm { min-height: 2.5rem; padding: .55rem 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  font-weight: 600; font-size: .95rem; color: hsl(var(--brand));
  transition: color .2s;
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .2s; }
.link-arrow:hover { color: hsl(var(--brand-strong)); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center; position: relative;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: 1px solid hsl(var(--border)); border-radius: .6rem;
  background: transparent; color: hsl(var(--foreground)); cursor: pointer;
  transition: background-color .2s;
}
.icon-btn:hover { background: hsl(var(--muted)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: hsl(var(--background) / .95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid hsl(var(--border) / .7);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px hsl(var(--shadow) / .3); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; border-radius: .55rem; border: 1px solid hsl(var(--border)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

.main-nav { display: none; gap: 2rem; }
.main-nav a {
  position: relative; padding: .5rem 0;
  font-size: .9rem; font-weight: 500; color: hsl(var(--muted-foreground));
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: hsl(var(--brand)); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover { color: hsl(var(--foreground)); }
.main-nav a.active { color: hsl(var(--brand)); }
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { display: none; }

.icon-moon { display: none; }
.dark .icon-sun { display: none; }
.dark .icon-moon { display: block; }

.mobile-nav {
  display: none; flex-direction: column; gap: .25rem;
  padding: .75rem 1rem 1.25rem;
  border-top: 1px solid hsl(var(--border) / .7);
  background: hsl(var(--background));
}
.mobile-nav.open { display: flex; }
.mobile-nav a:not(.btn) { padding: .75rem .5rem; font-weight: 500; border-radius: .5rem; }
.mobile-nav a:not(.btn):hover { background: hsl(var(--muted)); }
.mobile-nav .btn { margin-top: .5rem; }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Hero ---------- */
main { padding-top: var(--header-h); }

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--section)), hsl(var(--background)));
  border-bottom: 1px solid hsl(var(--border) / .7);
}
/* Flowing wave lines behind the hero content */
.hero-waves {
  position: absolute; left: 50%; bottom: 0; width: max(100%, 1200px); height: 150px;
  transform: translateX(-50%); pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.hero-waves .wave {
  fill: none; stroke: hsl(var(--accent) / .32); stroke-width: 1.5; vector-effect: non-scaling-stroke;
  animation: wave-drift 46s linear infinite;
}
.hero-waves .wave:nth-child(2) { animation-duration: 52s; stroke: hsl(var(--accent) / .26); }
.hero-waves .wave:nth-child(3) { animation-duration: 58s; stroke: hsl(var(--accent) / .22); }
.hero-waves .wave:nth-child(4) { animation-duration: 64s; stroke: hsl(var(--accent) / .18); }
.hero-waves .wave:nth-child(5) { animation-duration: 70s; stroke: hsl(var(--accent) / .14); }
.hero-waves .wave-dots {
  stroke: hsl(var(--brand) / .35); stroke-width: 2.5; stroke-dasharray: 0 9; stroke-linecap: round;
  animation-duration: 34s;
}
@keyframes wave-drift { to { transform: translateX(-1440px); } }

.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(hsl(var(--brand) / .045) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--brand) / .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.hero-grid {
  position: relative; display: grid; align-items: center; gap: 3.5rem;
  padding-top: 5rem; padding-bottom: 8.5rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 7rem; padding-bottom: 10rem; }
}

.hero-copy { text-align: center; }
@media (min-width: 1024px) { .hero-copy { text-align: left; } }

.eyebrow, .section .eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: hsl(var(--accent-text));
}

.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.08; }

.lead {
  max-width: 36rem; margin: 1.5rem auto 0;
  font-size: 1.125rem; line-height: 1.75; color: hsl(var(--muted-foreground));
}
@media (min-width: 1024px) { .lead { margin-left: 0; } }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }

.hero-visual-wrap { width: 100%; max-width: 32rem; margin: 0 auto; min-width: 0; }
.hero-visual {
  padding: 1.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  box-shadow: 0 24px 60px -30px hsl(var(--shadow) / .3);
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.hero-visual:hover { transform: rotate(0deg) translateY(-4px); }

.hero-visual-heading {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid hsl(var(--border));
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: hsl(var(--muted-foreground));
}

.hero-charts { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.1rem; margin-top: 1.4rem; }
.hero-chart { min-width: 0; padding: 1.25rem 1rem; background: hsl(var(--section)); border: 1px solid hsl(var(--border) / .6); border-radius: 10px; }

.hero-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.hero-bars span {
  flex: 1; border-radius: 3px 3px 0 0; background: hsl(var(--brand)); opacity: .85;
  transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both;
}
.hero-bars span:nth-child(2n) { opacity: .45; }
.hero-bars span:nth-child(1) { animation-delay: .05s; }
.hero-bars span:nth-child(2) { animation-delay: .1s; }
.hero-bars span:nth-child(3) { animation-delay: .15s; }
.hero-bars span:nth-child(4) { animation-delay: .2s; }
.hero-bars span:nth-child(5) { animation-delay: .25s; }
.hero-bars span:nth-child(6) { animation-delay: .3s; }
.hero-bars span:nth-child(7) { animation-delay: .35s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.hero-line { width: 100%; height: 110px; display: block; overflow: visible; }
.hero-line .area { fill: hsl(var(--brand) / .12); stroke: none; }
.hero-line .line { fill: none; stroke: hsl(var(--brand)); stroke-width: 2.5; vector-effect: non-scaling-stroke;
  stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s .3s ease forwards; }
.hero-line circle { fill: hsl(var(--accent)); stroke: hsl(var(--card)); stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-chart-label { margin-top: 1.1rem; font-size: .78rem; color: hsl(var(--muted-foreground)); }

.hero-pipeline {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: 1.4rem; padding: .85rem 1rem;
  border: 1px dashed hsl(var(--border)); border-radius: 10px;
  font-size: .8rem; font-weight: 500; color: hsl(var(--muted-foreground));
}
.hero-pipeline svg { width: 1rem; height: 1rem; color: hsl(var(--brand) / .7); }
.hero-pipeline svg.text-accent { color: hsl(var(--accent)); }

@media (max-width: 480px) {
  .hero-visual { padding: 1.25rem; transform: none; }
  .hero-charts { gap: .75rem; }
  .hero-chart { padding: 1rem .75rem; }
  .hero-bars { height: 90px; gap: 5px; }
  .hero-line { height: 90px; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section-alt { background: hsl(var(--section)); border-top: 1px solid hsl(var(--border) / .6); border-bottom: 1px solid hsl(var(--border) / .6); }
.section-border { border-bottom: 1px solid hsl(var(--border) / .6); }

.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; color: hsl(var(--muted-foreground)); }

/* Tool tiles */
.tool-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(4, 1fr); } }
.tool-tile {
  display: grid; place-items: center; min-height: 4.5rem; padding: 1rem;
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  background: hsl(var(--card));
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-align: center;
  color: hsl(var(--muted-foreground));
  transition: color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.tool-tile:hover { color: hsl(var(--brand)); border-color: hsl(var(--brand) / .5); transform: translateY(-2px); box-shadow: 0 10px 24px -16px hsl(var(--brand) / .6); }

/* Service cards */
.service-grid { display: grid; gap: 1.75rem; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border)); border-radius: 1rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service-card:hover { transform: translateY(-4px); border-color: hsl(var(--brand) / .45); box-shadow: 0 22px 48px -28px hsl(var(--shadow) / .45); }

/* Animated service graphics (inline SVG, colours follow the theme) */
.service-art {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    linear-gradient(hsl(var(--brand) / .05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, hsl(var(--brand) / .05) 1px, transparent 1px) 0 0 / 20px 20px,
    hsl(var(--section));
  border-bottom: 1px solid hsl(var(--border) / .7);
}
.service-art .art { width: 100%; height: 100%; display: block; fill: none; stroke: none; overflow: visible; }
.art .art-label { fill: hsl(var(--muted-foreground)); font: 600 8.5px var(--font-sans); letter-spacing: .1em; }
.art .art-label-strong { fill: hsl(var(--foreground)); letter-spacing: .06em; }
.art .art-track { fill: none; stroke: hsl(var(--border)); stroke-width: 2; stroke-linecap: round; }
.art .art-dash { stroke-dasharray: 2 5; }
.art .art-track.s1 { stroke: hsl(var(--brand) / .35); }
.art .art-track.s2 { stroke: hsl(var(--accent) / .55); }
.art .art-track.s3 { stroke: hsl(var(--accent-text) / .45); }
.art .art-box { fill: hsl(var(--card)); stroke: hsl(var(--brand)); stroke-width: 1.5; }
.art .art-bin, .art .art-chip { fill: hsl(var(--card)); stroke-width: 1.5; }
.art .s1 { stroke: hsl(var(--brand)); }
.art .s2 { stroke: hsl(var(--accent)); }
.art .s3 { stroke: hsl(var(--accent-text)); }
.art .c1 { fill: hsl(var(--brand)); }
.art .c2 { fill: hsl(var(--accent)); }
.art .c3 { fill: hsl(var(--accent-text)); }
.art .dot-raw { fill: hsl(var(--muted-foreground) / .45); }
.art .art-card { fill: hsl(var(--card)); stroke: hsl(var(--border)); stroke-width: 1.5; }
.art .art-ink { fill: hsl(var(--muted-foreground) / .28); }
.art .art-ink-strong { fill: hsl(var(--foreground) / .55); }
.art .hl1 { fill: hsl(var(--accent) / .55); }
.art .hl2 { fill: hsl(var(--accent) / .45); }
.art .hl3 { fill: hsl(var(--accent-text) / .4); }
.art .art-scan { fill: hsl(var(--accent)); }
.art .art-check { fill: none; stroke: hsl(var(--accent-text)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art .art-edge { stroke: hsl(var(--border)); stroke-width: 1.2; }
.art .art-node { fill: hsl(var(--card)); stroke: hsl(var(--brand)); stroke-width: 1.5; }
.art .art-grid { stroke: hsl(var(--border) / .6); stroke-width: 1; }
.art .art-axis { stroke: hsl(var(--border)); stroke-width: 1.5; }
.art .art-history { fill: none; stroke: hsl(var(--brand)); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.art .art-forecast { fill: none; stroke: hsl(var(--accent-text)); stroke-width: 2.2; stroke-dasharray: 5 4; stroke-linecap: round; }
.art .art-band { fill: hsl(var(--accent) / .22); }

.service-body { position: relative; padding: 2.25rem 1.75rem 1.9rem; }
.service-icon {
  position: absolute; top: -1.6rem; left: 1.75rem;
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem;
  border-radius: .8rem; background: hsl(var(--brand)); color: hsl(var(--background));
  box-shadow: 0 10px 22px -10px hsl(var(--brand) / .8);
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-body h3 { font-size: 1.3rem; margin: .5rem 0 .65rem; }
.service-body > p { color: hsl(var(--muted-foreground)); }

.checklist { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid hsl(var(--border) / .7); display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.6rem; font-size: .95rem; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: hsl(var(--brand-soft)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23564b3f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.dark .checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a58f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 1.75rem;
  border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card));
  transition: border-color .2s;
}
.step::before {
  content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, hsl(var(--brand)), hsl(var(--accent)));
  opacity: 0; transition: opacity .2s;
}
.step:hover { border-color: hsl(var(--brand) / .45); }
.step:hover::before { opacity: 1; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: hsl(var(--brand) / .3); }
.step h3 { font-size: 1.15rem; margin: .5rem 0 .5rem; }
.step p { font-size: .95rem; color: hsl(var(--muted-foreground)); }

/* About */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.15fr 1fr; gap: 5rem; } }
.about-copy h2 { font-size: clamp(1.85rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
.about-copy p { color: hsl(var(--muted-foreground)); font-size: 1.05rem; margin-bottom: 1rem; }
.about-quote {
  margin: 1.75rem 0 0; padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid hsl(var(--accent));
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: hsl(var(--foreground));
}
.about-panel { display: grid; gap: 1rem; }
.value {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius);
}
.value-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .65rem; background: hsl(var(--brand-soft)); color: hsl(var(--brand)); flex-shrink: 0; }
.value h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.value p { font-size: .95rem; color: hsl(var(--muted-foreground)); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, hsl(30 13% 17%), hsl(32 16% 31%));
  color: hsl(42 36% 95%);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-inner { position: relative; padding-top: 4.5rem; padding-bottom: 4.5rem; text-align: center; }
.cta-inner h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.cta-inner p { max-width: 36rem; margin: 1rem auto 2rem; font-size: 1.1rem; color: hsl(42 36% 95% / .82); }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.contact-info h2 { font-size: clamp(1.85rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.contact-info > p { color: hsl(var(--muted-foreground)); font-size: 1.05rem; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; font-weight: 500; }
.contact-list svg { width: 2.6rem; height: 2.6rem; padding: .65rem; border-radius: .65rem; background: hsl(var(--brand-soft)); color: hsl(var(--brand)); }
.contact-list a:hover { color: hsl(var(--brand)); }

.contact-form {
  display: grid; gap: 1.1rem; padding: 2rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem;
  box-shadow: 0 24px 60px -36px hsl(var(--shadow) / .35);
}
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: grid; gap: .4rem; font-size: .875rem; font-weight: 600; }
.optional { font-weight: 400; color: hsl(var(--muted-foreground)); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .7rem .85rem;
  font: 400 1rem/1.4 var(--font-sans); color: hsl(var(--foreground));
  background: hsl(var(--background)); border: 1px solid hsl(var(--input)); border-radius: .55rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: hsl(var(--brand)); box-shadow: 0 0 0 3px hsl(var(--brand) / .18);
}
.contact-form .invalid { border-color: hsl(0 72% 50%); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input[type=file] { padding: .55rem .7rem; cursor: pointer; }
.form-status { min-height: 1.5rem; font-size: .9rem; text-align: center; color: hsl(var(--muted-foreground)); }
.form-status.success { color: hsl(152 60% 36%); }
.form-status.error { color: hsl(0 72% 50%); }

/* Differentiators */
.diff-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }
.diff-card {
  position: relative; overflow: hidden; padding: 2rem 1.75rem 1.9rem 2.25rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem;
  transition: transform .25s, box-shadow .25s;
}
.diff-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: hsl(var(--brand)); }
.diff-card:nth-child(2)::before { background: hsl(var(--accent)); }
.diff-card:nth-child(3)::before { background: hsl(var(--brand-strong)); }
.diff-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -30px hsl(var(--shadow) / .5); }
.diff-num {
  position: absolute; top: .75rem; right: 1.25rem;
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1;
  color: hsl(var(--accent) / .25);
}
.diff-card h3 { font-size: 1.25rem; margin: 1.1rem 0 .6rem; }
.diff-card p { color: hsl(var(--muted-foreground)); }

/* Doing business with us */
.gov-grid { display: grid; gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 900px) { .gov-grid { grid-template-columns: 1.1fr 1fr; } }
.gov-card { display: flex; flex-direction: column; padding: 2rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem; }
.gov-card h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.gov-list { margin: 0; display: grid; }
.gov-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1px solid hsl(var(--border) / .7); }
.gov-list > div:last-child { border-bottom: 0; }
.gov-list dt { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.gov-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.gov-list a:hover { color: hsl(var(--accent-text)); }
.naics-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .75rem; }
.naics-list li { display: flex; align-items: center; gap: 1rem; font-size: .95rem; }
.naics-code {
  flex-shrink: 0; padding: .3rem .65rem; border-radius: .45rem;
  background: hsl(var(--brand-soft)); color: hsl(var(--brand));
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
}
.gov-download { margin-top: auto; }

/* Footer company info */
.company-info strong { color: hsl(var(--foreground)); font-weight: 600; }


/* Focus areas gallery */
.focus-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .focus-grid { grid-template-columns: repeat(3, 1fr); } }
.focus-card {
  display: block; overflow: hidden; background: hsl(var(--card));
  border: 1px solid hsl(var(--border)); border-radius: 1rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.focus-card:hover { transform: translateY(-4px); border-color: hsl(var(--brand) / .45); box-shadow: 0 22px 48px -28px hsl(var(--shadow) / .45); }
.focus-img { aspect-ratio: 4 / 3; overflow: hidden; background: hsl(var(--muted)); }
.focus-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.focus-card:hover .focus-img img { transform: scale(1.05); }
.focus-card h3 { font-size: 1.05rem; padding: 1.1rem 1.25rem 1.25rem; }

/* ---------- Careers page ---------- */
.page-hero-inner { position: relative; max-width: 48rem; padding-top: 5rem; padding-bottom: 5rem; text-align: center; }
@media (min-width: 1024px) { .page-hero-inner { padding-top: 6.5rem; padding-bottom: 6.5rem; } }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; }
.page-hero .lead { margin-left: auto; margin-right: auto; }
.page-hero .hero-ctas { justify-content: center; }

.perk-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .perk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .perk-grid { grid-template-columns: repeat(4, 1fr); } }
.perk { padding: 1.75rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.perk:hover { border-color: hsl(var(--brand) / .45); transform: translateY(-2px); }
.perk h3 { font-size: 1.1rem; margin: 1rem 0 .5rem; }
.perk p { font-size: .95rem; color: hsl(var(--muted-foreground)); }

.job-list { display: grid; gap: 1.25rem; max-width: 56rem; margin: 0 auto; }
.job-card {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.9rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.job-card:hover { border-color: hsl(var(--brand) / .45); box-shadow: 0 18px 40px -28px hsl(var(--shadow) / .45); }
.job-main { flex: 1 1 28rem; min-width: 0; }
.job-main h3 { font-size: 1.3rem; }
.job-main > p { margin-top: .9rem; color: hsl(var(--muted-foreground)); }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.tag { padding: .25rem .7rem; border-radius: 999px; background: hsl(var(--brand-soft)); color: hsl(var(--brand)); font-size: .8rem; font-weight: 600; }
.job-empty {
  padding: 3rem 2rem; text-align: center;
  background: hsl(var(--card)); border: 1px dashed hsl(var(--input)); border-radius: 1rem;
}
.job-empty h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.job-empty p { max-width: 34rem; margin: 0 auto 1.75rem; color: hsl(var(--muted-foreground)); }

/* ---------- Footer ---------- */
.site-footer { background: hsl(var(--section)); border-top: 1px solid hsl(var(--border) / .7); font-size: .925rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.3fr .9fr 1.2fr 1.4fr 1.2fr; } }
.footer-brand p { margin-top: 1rem; max-width: 18rem; color: hsl(var(--muted-foreground)); }
.site-footer h4 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; color: hsl(var(--muted-foreground)); }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: hsl(var(--brand)); }
.footer-bottom-wrap { border-top: 1px solid hsl(var(--border) / .7); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
  font-size: .85rem; color: hsl(var(--muted-foreground));
}
.back-to-top:hover { color: hsl(var(--brand)); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-line .line { stroke-dashoffset: 0; }
}
