/* JabMed Holdings — executive static site */

:root {
  --navy-deep: #1f2540;
  --navy-dark: #161b2f;
  --navy-elevated: #252b47;
  --teal: #34b8b4;
  --teal-dim: rgba(52, 184, 180, 0.45);
  --teal-faint: rgba(52, 184, 180, 0.12);
  --teal-light: #8ce5dd;
  --white: #ffffff;
  --gray-soft: #d8dce8;
  --gray-muted: #8b95ab;
  --max-width: 1080px;
  --header-height: 76px;
  --space-section: clamp(4.5rem, 9vw, 7rem);
  --space-section-sm: clamp(3rem, 6vw, 4.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--navy-dark);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-light);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--white);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--teal);
  color: var(--navy-dark);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Geometric accents */

.diamond {
  display: block;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.diamond--sm {
  width: 6px;
  height: 6px;
}

.diamond--lg {
  width: 14px;
  height: 14px;
}

.section-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-marker .rule {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-dim), transparent);
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--teal-faint) 20%,
    var(--teal-dim) 50%,
    var(--teal-faint) 80%,
    transparent
  );
}

.section-divider--inset {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 27, 47, 0.92);
  border-bottom: 1px solid var(--teal-faint);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s ease;
}

.wordmark span {
  font-weight: 400;
  color: var(--gray-muted);
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--teal-light);
  outline: none;
}

.wordmark:hover span,
.wordmark:focus-visible span {
  color: var(--gray-soft);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.25rem;
}

.site-nav a {
  color: var(--gray-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  position: relative;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--teal-faint);
  color: var(--gray-soft);
  padding: 0.5rem 0.875rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--teal-dim);
  color: var(--white);
  outline: none;
}

/* Layout */

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.container--narrow {
  max-width: 720px;
}

.section {
  padding: var(--space-section) 0;
}

.section--alt {
  background: var(--navy-deep);
}

.section--compact {
  padding: var(--space-section-sm) 0;
}

/* Typography */

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.25rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 400;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.25rem;
  color: var(--gray-soft);
  max-width: 58ch;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-muted);
  max-width: 48ch;
}

.text-muted {
  color: var(--gray-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  margin-bottom: 3.5rem;
  max-width: 640px;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

.section-intro .lead {
  margin-top: 0;
}

/* Home hero */

.home-hero {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(52, 184, 180, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  text-align: center;
}

.home-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero__logo {
  width: min(300px, 72vw);
  margin-bottom: 2.75rem;
  filter: drop-shadow(0 12px 40px rgba(52, 184, 180, 0.08));
}

.home-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-deck {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-muted);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.link-arrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-soft);
  border-bottom: 1px solid var(--teal-dim);
  padding-bottom: 4px;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--teal-light);
  border-color: var(--teal-light);
}

/* Page hero (inner pages) */

.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  border-bottom: 1px solid var(--teal-faint);
}

.page-hero h1 {
  max-width: 20ch;
}

/* Grids */

.grid-2 {
  display: grid;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Premium division cards */

.division-card {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  background: linear-gradient(160deg, rgba(37, 43, 71, 0.6) 0%, rgba(22, 27, 47, 0.4) 100%);
  border: 1px solid var(--teal-faint);
  overflow: hidden;
}

.division-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent);
}

.division-card::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  transform: rotate(45deg);
  opacity: 0.5;
}

.division-card__status {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 1.25rem;
}

.division-card__title {
  margin-bottom: 0.375rem;
}

.division-card__domain {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.division-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-muted);
}

.division-card__link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-muted);
  border-bottom: 1px solid var(--teal-faint);
  padding-bottom: 3px;
}

.division-card__link:hover,
.division-card__link:focus-visible {
  color: var(--teal-light);
  border-color: var(--teal-dim);
}

/* Division list (full page) */

.division-list {
  display: grid;
}

.division-row {
  display: grid;
  gap: 1rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--teal-faint);
}

.division-row:first-child {
  padding-top: 0;
}

.division-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .division-row {
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.division-row__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.division-row__meta .diamond {
  opacity: 0.7;
}

.division-row__label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.division-row__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.5rem;
}

.division-row__header h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.division-row__domain {
  font-size: 0.8125rem;
  color: var(--gray-muted);
  letter-spacing: 0.02em;
}

.division-row__status {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 0.75rem;
}

/* Prose block */

.prose-block + .prose-block {
  margin-top: 0;
}

/* CTA */

.cta-panel {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  border: 1px solid var(--teal-faint);
  background: rgba(31, 37, 64, 0.35);
  position: relative;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--teal);
}

.cta-panel h2 {
  margin-bottom: 0.75rem;
}

.cta-panel p {
  margin-left: auto;
  margin-right: auto;
  max-width: 40ch;
  font-size: 0.9375rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9375rem 2.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: var(--teal);
  border: 1px solid var(--teal);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--teal-light);
  outline: none;
}

/* Contact */

.contact-panel {
  max-width: 520px;
  padding: 3rem;
  background: linear-gradient(160deg, rgba(37, 43, 71, 0.5) 0%, rgba(22, 27, 47, 0.3) 100%);
  border: 1px solid var(--teal-faint);
  position: relative;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent);
}

.contact-email {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--white);
  word-break: break-all;
}

.contact-email a {
  color: var(--teal-light);
}

.contact-note {
  margin-top: 1.75rem;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--navy-dark);
  border-top: 1px solid var(--teal-faint);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  gap: 2.5rem;
}

.footer-brand {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--gray-muted);
  margin: 0 0 0.25rem;
  line-height: 1.6;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.footer-nav a {
  font-size: 0.6875rem;
  color: var(--gray-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--teal-light);
}

.footer-bottom {
  padding-top: 2.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--teal-faint);
  font-size: 0.75rem;
  color: var(--gray-muted);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy-dark);
    border-bottom: 1px solid var(--teal-faint);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .site-nav li {
    border-bottom: 1px solid var(--teal-faint);
  }

  .site-nav a {
    display: block;
    padding: 1rem 1.75rem;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .home-hero h1 {
    max-width: none;
  }

  .contact-panel {
    padding: 2rem 1.75rem;
  }
}