:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #eef1f6;
  --brand: #077df5;
  --accent: #077df5;
  --surface: #ffffff;
  --surface-muted: #f6f8fc;
  --text-muted: #56627a;
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  min-height: 100vh;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  background: radial-gradient(circle at top, rgba(31, 70, 114, 0.07), transparent 32%), #eef1f6;
}

h1,
h2,
h3 {
  color: #0b1f3a;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

main {
  flex: 1;
}

footer {
  width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(7, 125, 245, 0.45);
  outline-offset: 2px;
}

.page-shell {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-shell {
  padding-top: 0;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 4vw, 48px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.brand {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  height: clamp(38px, 6vw, 56px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 0;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 22px;
  right: 0;
  --toggle-line-width: 22px;
  --toggle-line-thickness: 2px;
  --toggle-line-top: 14px;
  --toggle-line-gap: 12px;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: var(--toggle-line-width);
  height: var(--toggle-line-thickness);
  background: #0f172a;
  transform: translateX(-50%);
  transition: transform 200ms ease, top 200ms ease;
}

.nav-toggle::before {
  top: var(--toggle-line-top);
}

.nav-toggle::after {
  top: calc(var(--toggle-line-top) + var(--toggle-line-gap));
}

.nav-toggle.open::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.open::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: #034a9b;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a.active {
  color: #034a9b;
  font-weight: 700;
  border-color: rgba(7, 125, 245, 0.9);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #034a9b;
  border-color: rgba(7, 125, 245, 0.55);
}

.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-start;
  padding: 130px 0 70px;
  color: white;
  background: radial-gradient(circle at top left, rgba(7, 125, 245, 0.18), transparent 28%),
              radial-gradient(circle at top right, rgba(7, 125, 245, 0.12), transparent 22%),
              linear-gradient(180deg, #077DF5 0%, #055bb8 40%, #034a9b 100%);
}

.hero.has-rotating-media {
  overflow: hidden;
}

.hero.about-hero {
  background: linear-gradient(180deg, rgba(3, 28, 61, 0.45), rgba(3, 28, 61, 0.58)),
              url("photos/hbai_about.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.hero-media-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 800ms ease;
}

.hero-media-slide.is-active {
  opacity: 1;
}

.hero-media-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 28, 61, 0.18), rgba(3, 28, 61, 0.5));
}

.hero-media-slide img,
.hero-media-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.95);
  transform: scale(1.03);
}

.hero-media-controls {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-media-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 24, 44, 0.36);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-media-control:hover,
.hero-media-control:focus-visible {
  background: rgba(8, 24, 44, 0.62);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-media-control span {
  font-size: 2rem;
  line-height: 1;
}

.hero-media-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 24, 44, 0.36);
  backdrop-filter: blur(10px);
}

.hero-media-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-media-dot:hover,
.hero-media-dot:focus-visible {
  background: rgba(255, 255, 255, 0.76);
}

.hero-media-dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

.hero .page-shell {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.hero-content h1 {
  text-align: left;
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 18px;
  color: #93b2ee;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 620px;
  margin: 28px auto 0;
  color: rgba(235, 241, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-cta,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-cta {
  background: var(--accent);
  color: #08182c;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(7, 125, 245, 0.24);
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-keypoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.hero-keypoints article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px 24px;
}

.hero-keypoints strong {
  display: block;
  margin-bottom: 10px;
  color: #f8f9fb;
  font-size: 1rem;
  font-weight: 700;
}

.hero-keypoints p {
  margin: 0;
  color: rgba(235, 241, 255, 0.8);
  font-size: 0.96rem;
  line-height: 1.7;
}

.section {
  padding: 90px 0;
}

.section.about {
  background: #ffffff;
}

.section.feature-strip {
  background: transparent;
  padding-top: 48px;
  padding-bottom: 48px;
}

.section.capabilities,
.section.quality,
.section.contact {
  background: #f8fbff;
}

.section-intro,
.section-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.section-intro h2,
.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 16px 0 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tight-heading {
  max-width: 32ch;
  margin-left: 0;
  margin-right: 0;
  letter-spacing: 0;
  word-spacing: 0;
  line-height: 1.2;
  text-wrap: pretty;
}

.section-intro p,
.section-heading p,
.contact-copy p,
.list-panel p,
.feature-pill p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.section-intro p,
.section-heading p,
.contact-copy p {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.section-intro p + p,
.section-heading p + p {
  margin-top: 14px;
}

.section-intro p.about-copy {
  text-align: left;
}

.patternshop-image {
  width: min(920px, 100%);
  margin: 28px auto 0;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.about-list,
.list-panel ul,
.feature-card ul {
  overflow-wrap: anywhere;
}

.about-list {
  margin: 24px auto 0;
  max-width: 78ch;
  padding-left: 1.25rem;
  text-align: left;
  color: var(--text-muted);
}

.about-list li {
  margin-bottom: 12px;
}

.feature-strip .page-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 30px 28px;
  text-align: left;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7, 125, 245, 0.12);
}

.feature-pill h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.feature-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 34px;
  text-align: left;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 0;
  list-style-position: inside;
  text-align: left;
  color: var(--text-muted);
}

.feature-card li {
  margin-bottom: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.list-panel {
  background: white;
  border-radius: 24px;
  padding: 36px;
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.list-panel h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.list-panel ul {
  margin: 0 0 24px;
  padding-left: 0;
  list-style-position: inside;
  text-align: left;
  color: var(--text-muted);
}

.list-panel li {
  margin-bottom: 10px;
}

.equipment-section {
  background: #f8fbff;
}

.equipment-preview-grid {
  margin-top: 42px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.equipment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.equipment-table-shell {
  margin-top: 28px;
}

.equipment-table-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.equipment-table-wrap {
  overflow-x: auto;
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  table-layout: fixed;
}

.equipment-col-category {
  width: 18%;
}

.equipment-col-name {
  width: 24%;
}

.equipment-col-quantity {
  width: 12%;
}

.equipment-col-details {
  width: 46%;
}

.equipment-table caption {
  padding: 28px 24px 0;
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.5rem;
}

.equipment-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #45607f;
  background: #edf5ff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.equipment-table tbody th,
.equipment-table tbody td {
  padding: 18px 24px;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.equipment-table tbody th {
  color: #0f172a;
  font-size: 0.95rem;
  text-align: left;
}

.equipment-table tbody td {
  text-align: left;
  color: var(--text-muted);
}

.equipment-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.equipment-table tbody tr:last-child th,
.equipment-table tbody tr:last-child td {
  border-bottom: none;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-copy {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.contact-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.2;
}

.contact-panel {
  background: white;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin: 0 0 20px;
  text-align: left;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-panel a {
  color: var(--accent);
  text-decoration: none;
}

.contact-side {
  display: grid;
  gap: 24px;
}

.contact-form {
  background: white;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  text-align: left;
  gap: 18px;
}

.contact-form h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.contact-form label {
  display: grid;
  gap: 8px;
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fbff;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23034a9b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
}

.contact-form button {
  width: fit-content;
  border: none;
  background: #034a9b;
  color: white;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: #034a9b;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.footer-content img {
  height: 50px;
  width: auto;
}

.footer-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo-group p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

footer {
  background: #0e3e74;
  color: white;
}

@media (max-width: 980px) {
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .equipment-summary,
  .feature-strip .page-shell,
  .feature-grid,
  .two-column,
  .contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .feature-card,
  .feature-pill,
  .list-panel,
  .contact-panel,
  .contact-form {
    padding: 28px;
  }

  .hero {
    padding: 105px 0 60px;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding: 14px clamp(16px, 3vw, 24px);
  }

  .brand {
    max-width: calc(100% - 56px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 250ms ease, opacity 250ms ease, visibility 250ms ease;
  }

  .nav-links.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }

  .nav-links a:hover {
    background: rgba(7, 125, 245, 0.08);
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 14px clamp(16px, 3vw, 24px);
  }

  .hero {
    min-height: 40vh;
    padding: 90px 0 50px;
  }

  .hero-media-controls {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .hero-media-control {
    width: 42px;
    height: 42px;
  }

  .hero-media-dots {
    flex: 1;
    justify-content: center;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .brand {
    max-width: calc(100% - 56px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 0 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 250ms ease, opacity 250ms ease, visibility 250ms ease;
}

.nav-links.open {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

.nav-links li {
  width: 100%;
  text-align: left;
}

.nav-links a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.nav-links a:hover {
  background: rgba(7, 125, 245, 0.08);
}

.hero-actions,
.hero-keypoints {
  flex-direction: column;
  display: flex;
}

.feature-strip .page-shell,
.feature-grid,
.equipment-summary,
.two-column,
.contact-shell {
  grid-template-columns: 1fr;
}

.equipment-table {
  min-width: 0;
}

.equipment-table caption {
  padding: 22px 22px 0;
}

.equipment-table thead {
  display: none;
}

.equipment-table tbody,
.equipment-table tr,
.equipment-table th,
.equipment-table td {
  display: block;
  width: 100%;
}

.equipment-table tbody tr {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.equipment-table tbody th,
.equipment-table tbody td {
  padding: 0;
  border-bottom: none;
}

.equipment-table tbody th {
  margin-bottom: 12px;
  font-size: 1rem;
}

.equipment-table td + td {
  margin-top: 12px;
}

.equipment-table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 4px;
  text-align: left;
  color: #45607f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card,
.feature-pill,
.list-panel,
.contact-panel,
.contact-form {
  padding: 24px;
}

.hero-keypoints {
  grid-template-columns: 1fr;
}

.hero-cta,
.hero-secondary {
  width: 100%;
}

.page-shell {
  width: min(100%, calc(100% - 30px));
}

.section {
  padding: 60px 0;
}

body {
  overflow-x: hidden;
}
}
