:root {
  --hfs-black: #050608;
  --hfs-ink: #10131a;
  --hfs-panel: #171b24;
  --hfs-orange: #ff6b12;
  --hfs-orange-dark: #d94c00;
  --hfs-blue: #1536d5;
  --hfs-blue-bright: #4767ff;
  --hfs-light: #f5f6f8;
  --hfs-muted: #687080;
  --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--hfs-ink);
  background: #fff;
}

.homepage {
  isolation: isolate;
  background: var(--hfs-black);
}

.homepage-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 35%, #172b72, transparent 60%),
    radial-gradient(ellipse at 100% 65%, #713010, #080c16 70%);
}

.homepage-network {
  position: absolute;
  inset: -640px 0;
  background: url("assets/scroll-network.svg") left top / 320px 640px repeat;
}

.homepage-shell {
  width: calc(100% - clamp(40px, 8vw, 144px));
  max-width: 1320px;
  margin-inline: auto;
  background: #fff;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.65);
  container-type: inline-size;
}

.homepage-shell .container {
  width: 100%;
  max-width: 1140px;
  padding-inline: 24px;
}

.homepage-shell .hero-section h1 {
  font-size: clamp(1.1rem, 4.6cqi, 3.25rem);
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .homepage-network {
    will-change: transform;
  }
}

@media (max-width: 767.98px) {
  .homepage-shell {
    width: 100%;
  }

  .homepage-shell .navbar .container {
    padding-inline: 12px;
  }
}

a {
  text-underline-offset: 0.2em;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-brand {
  max-width: calc(100% - 76px);
  padding: 0.6rem 1rem;
  background:
    linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.9) 76%, #020304),
    radial-gradient(ellipse at 45% 28%, #1c2c49 0%, transparent 70%),
    #050608;
  border: 1px solid rgba(255, 107, 18, 0.5);
  border-radius: 0.75rem;
}

.site-header {
  background: var(--hfs-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: 88px;
}

.navbar-brand img {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 0.5px rgba(125, 157, 255, 0.8));
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  padding: 0.75rem 1rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff;
}

.navbar .nav-link.active {
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0.35rem;
  left: 1rem;
  height: 2px;
  background: var(--hfs-orange);
}

.btn {
  border-radius: 0.45rem;
  font-weight: 700;
}

.btn-brand {
  color: #fff;
  background: var(--hfs-orange);
  border-color: var(--hfs-orange);
  box-shadow: 0 10px 30px rgba(255, 107, 18, 0.18);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: var(--hfs-orange-dark);
  border-color: var(--hfs-orange-dark);
  transform: translateY(-1px);
}

.hero-section,
.page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 45%, rgba(21, 54, 213, 0.25), transparent 34%),
    linear-gradient(135deg, #030406 0%, #0c0e15 72%, #111522 100%);
}

.hero-section {
  min-height: 720px;
  display: flex;
  align-items: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes network-flow {
  from {
    stroke-dashoffset: 160;
    opacity: 0;
  }
  20%, 80% {
    opacity: 0.8;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-section.is-revealed {
    animation: section-reveal 600ms ease-out;
  }

  .reveal-section:focus-within {
    animation: none;
  }

  .hero-visual.is-revealed .network-flow {
    animation: network-flow 4s linear;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .homepage-network {
    transform: none !important;
  }
}

.hero-section h1 {
  max-width: 900px;
  letter-spacing: -0.055em;
  line-height: 0.98;
  font-size: clamp(1.25rem, 4.8vw, 3.5rem);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-section h1 .hero-accent,
.page-hero h1 span {
  color: var(--hfs-orange);
}

.eyebrow {
  color: var(--hfs-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-blue {
  color: var(--hfs-blue) !important;
}

.hero-proof {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: normal;
  text-transform: none;
}

.hero-visual {
  position: relative;
  padding: 1rem;
}

.hero-visual > img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.network-graphic {
  position: absolute;
  inset: 1rem;
  pointer-events: none;
}

.network-graphic svg {
  display: block;
  width: 100%;
  height: 100%;
}

.network-flow {
  fill: none;
  stroke: #8ca1ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 12 68;
  opacity: 0;
}

.status-card {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 220px;
  padding: 1rem 1.2rem;
  color: #fff;
  background: rgba(16, 19, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.status-card small,
.status-card strong {
  display: block;
}

.status-card small {
  color: rgba(255, 255, 255, 0.55);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #44d482;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(68, 212, 130, 0.12);
}

.section-space {
  padding: 7rem 0;
}

.service-card {
  position: relative;
  padding: 2.25rem;
  overflow: hidden;
  background: var(--hfs-light);
  border: 1px solid #e9ebef;
  border-radius: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 54, 213, 0.25);
  box-shadow: 0 20px 55px rgba(23, 27, 36, 0.1);
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: #cfd3db;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  place-items: center;
  color: #fff;
  background: var(--hfs-blue);
  border-radius: 0.7rem;
  font-size: 1.5rem;
}

.service-card h3,
.value-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card p,
.value-card p {
  color: var(--hfs-muted);
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover,
.service-card h3 a:focus-visible {
  color: var(--hfs-blue);
  text-decoration: underline;
}

.service-card h3 a:focus-visible::after {
  outline: 3px solid var(--hfs-blue);
  outline-offset: -3px;
  border-radius: 1rem;
}

.service-card .vendor-list {
  margin-top: 1.5rem;
  margin-bottom: 0;
  color: var(--hfs-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.approach-section {
  color: #fff;
  background: var(--hfs-ink);
}

.approach-section img {
  width: 100%;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-list span {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  color: var(--hfs-ink);
  background: var(--hfs-orange);
  border-radius: 50%;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--hfs-orange);
}

.cta-section {
  background: #f7f8fa;
}

.cta-panel {
  padding: 5rem 2rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 107, 18, 0.09), transparent 25%),
    #fff;
  border: 1px solid #e8eaf0;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(16, 19, 26, 0.06);
}

.cta-panel p {
  max-width: 700px;
}

.site-footer {
  padding: 3.5rem 0;
  color: #fff;
  background: var(--hfs-black);
}

.footer-logo {
  width: 260px;
  height: auto;
}

.site-footer a {
  display: inline-block;
  margin-left: 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--hfs-orange);
}

.site-footer hr {
  margin: 2.25rem 0 1.5rem;
  border-color: rgba(255, 255, 255, 0.14);
}

.page-hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.page-hero h1 {
  letter-spacing: -0.05em;
  line-height: 1;
}

.values-section {
  color: #fff;
  background: var(--hfs-ink);
}

.value-card {
  padding: 2.2rem;
  background: var(--hfs-panel);
  border-top: 3px solid var(--hfs-blue-bright);
  border-radius: 0.75rem;
}

.value-card > span {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--hfs-orange);
  font-weight: 800;
}

.value-card p {
  color: rgba(255, 255, 255, 0.58);
}

.founder-note {
  background: #f6f7f9;
}

.quote-mark {
  height: 4rem;
  color: var(--hfs-orange);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.founder-note blockquote {
  margin: 2rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.55;
}

.founder-signature {
  color: var(--hfs-blue);
  font-size: 1.15rem;
  font-weight: 800;
}

.founder-signature span {
  display: block;
  color: var(--hfs-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.cta-strip {
  padding: 4.5rem 0;
  color: #fff;
  background: var(--hfs-blue);
}

.contact-hero {
  padding-bottom: 9rem;
}

.contact-hero .lead {
  max-width: 680px;
}

.contact-section {
  margin-top: -5rem;
  padding-top: 0;
  background: #f5f6f8;
}

.contact-form-card,
.contact-sidebar {
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 70px rgba(16, 19, 26, 0.12);
}

.contact-form-card {
  background: #fff;
}

.form-label {
  font-weight: 700;
}

.form-control {
  min-height: 52px;
  padding: 0.8rem 1rem;
  background: #f8f9fb;
  border-color: #dfe2e8;
  border-radius: 0.5rem;
}

.form-control:focus {
  background: #fff;
  border-color: var(--hfs-blue);
  box-shadow: 0 0 0 0.2rem rgba(21, 54, 213, 0.12);
}

textarea.form-control {
  min-height: 150px;
}

.contact-sidebar {
  color: #fff;
  background: var(--hfs-ink);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-method > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  color: #fff;
  background: var(--hfs-blue);
  border-radius: 0.6rem;
  font-weight: 800;
}

.contact-method small,
.contact-method a,
.contact-method p {
  display: block;
}

.contact-method small {
  color: rgba(255, 255, 255, 0.5);
}

.contact-method a,
.contact-method p {
  margin: 0;
  color: #fff;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-sidebar hr {
  margin: 2rem 0;
  border-color: rgba(255, 255, 255, 0.15);
}

.next-steps {
  padding: 0;
  list-style: none;
}

.next-steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.72);
}

.next-steps span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  place-items: center;
  color: var(--hfs-orange);
  border: 1px solid var(--hfs-orange);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 1.5rem;
  }

  .navbar .nav-link.active::after {
    display: none;
  }

  .hero-section {
    min-height: auto;
  }

  .section-space {
    padding: 5rem 0;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 240px;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-proof {
    flex-direction: column;
  }

  .status-card {
    right: 0;
  }

  .service-card,
  .contact-form-card,
  .contact-sidebar {
    padding: 1.5rem;
  }

  .site-footer a {
    margin-right: 1.5rem;
    margin-left: 0;
  }
}
