:root {
  --background: #0c1016;
  --surface: #151b24;
  --surface-light: #1d2530;
  --text: #f3f5f7;
  --muted: #aeb7c2;
  --border: rgba(255, 255, 255, 0.12);
  --gold: #c6a15b;
  --gold-light: #ead29f;
  --green: #57c785;
  --orange: #d98a3a;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(198, 161, 91, 0.09), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 16, 22, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner,
.hero,
.section,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 161, 91, 0.65);
  border-radius: 12px;
  color: var(--gold-light);
  background: rgba(198, 161, 91, 0.1);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 22px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 50px;
  padding-block: 90px 70px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  letter-spacing: -0.055em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #17130d;
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-dot {
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(87, 199, 133, 0.12);
}

.status-dot-warning {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(217, 138, 58, 0.12);
}

.section {
  padding-block: 80px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.profile-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0d12;
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.profile-card:hover .profile-image-wrap img {
  transform: scale(1.035);
  filter: brightness(0.72);
}

.availability {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(10, 13, 18, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
}

.hover-quote {
  position: absolute;
  inset: auto 18px 18px;
  transform: translateY(10px);
  opacity: 0;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  transition: opacity 200ms ease, transform 200ms ease;
}

.profile-card:hover .hover-quote {
  transform: translateY(0);
  opacity: 1;
}

.profile-content {
  padding: 24px;
}

.profile-content h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.department {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-title {
  margin: 8px 0 14px;
  color: var(--muted);
  font-weight: 800;
}

.profile-content > p:not(.department, .job-title) {
  color: var(--muted);
}

.trait-list {
  margin: 18px 0 24px;
  padding-left: 20px;
}

.trait-list li + li {
  margin-top: 7px;
}

.button-card {
  width: 100%;
  border: 1px solid rgba(198, 161, 91, 0.5);
  background: rgba(198, 161, 91, 0.1);
  color: var(--gold-light);
}

.organization {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.org-chart {
  max-width: 820px;
  margin: 45px auto 0;
  text-align: center;
}

.org-node {
  width: min(300px, 100%);
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface);
}

.org-node strong,
.org-node span {
  display: block;
}

.org-node strong {
  font-size: 1.1rem;
}

.org-node span {
  color: var(--muted);
}

.org-top {
  border-color: rgba(198, 161, 91, 0.52);
}

.org-line-down {
  width: 2px;
  height: 38px;
  margin-inline: auto;
  background: var(--border);
}

.org-line-down.short {
  height: 26px;
}

.org-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
}

.org-branches::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--border);
}

.org-branch {
  position: relative;
}

.org-branch::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: var(--border);
}

.org-humans {
  background: rgba(255, 255, 255, 0.025);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.status-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--surface);
}

.status-card strong,
.status-card span:not(.status-dot) {
  display: block;
}

.status-card span:not(.status-dot) {
  color: var(--muted);
}

.status-note {
  margin-top: 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-block: 32px 44px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .profile-image-wrap {
    min-height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 64px 50px;
  }

  .profile-card {
    display: block;
  }

  .profile-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  .org-branches {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .org-branches::before,
  .org-branch::before {
    display: none;
  }

  .org-branch + .org-branch::before {
    display: block;
    top: -20px;
    height: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
