:root {
  color-scheme: dark;
  --bg: #181818;
  --surface: #1f1f1f;
  --surface-2: #292929;
  --text: #fafafa;
  --muted: #b4b4b4;
  --muted-2: #858585;
  --rule: #3f3f3f;
  --rule-strong: #5c5c5c;
  --primary: #fafafa;
  --primary-foreground: #333333;
  --red: #b72020;
  --max: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-brand: 1.16rem;
  --fs-brand-tag: 0.78rem;
  --fs-menu: 0.92rem;
  --fs-label: 0.75rem;
  --fs-h1: 5.25rem;
  --fs-page-title: 4rem;
  --fs-section-title: 3.2rem;
  --fs-hero-line: 1.58rem;
  --fs-body: 1.02rem;
  --fs-hero-body: 1.08rem;
  --fs-card-title: 1.22rem;
  --fs-number: 1.45rem;
  --fs-accent: 1.2rem;
  --fs-small: 0.95rem;
  --fs-footer: 0.84rem;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(183, 32, 32, 0.045), transparent 430px),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3,
.page-title,
.section-title,
.hero-line,
.brand-name,
.button,
.page-link,
.menu-links a,
.discipline-list li,
.book-list strong {
  overflow-wrap: break-word;
  text-wrap: balance;
}

.fit-line {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: nowrap;
}

p,
li,
.book-list span {
  hyphens: none;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  min-height: 78px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: cover;
}

.brand-name {
  display: block;
  color: var(--text);
  font-size: var(--fs-brand);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand-tag {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--fs-brand-tag);
  letter-spacing: 0;
  line-height: 1.2;
}

.menu {
  position: relative;
  flex: 0 0 auto;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rule-strong);
  color: var(--text);
  cursor: pointer;
  font-size: var(--fs-menu);
  font-weight: 650;
  letter-spacing: 0;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary::before {
  display: block;
  width: 16px;
  height: 12px;
  content: "";
  background:
    linear-gradient(var(--text), var(--text)) top left / 16px 1px no-repeat,
    linear-gradient(var(--text), var(--text)) center left / 16px 1px no-repeat,
    linear-gradient(var(--text), var(--text)) bottom left / 16px 1px no-repeat;
}

.menu[open] summary,
.menu summary:hover,
.menu summary:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  outline: 0;
}

.menu[open] summary::before,
.menu summary:hover::before,
.menu summary:focus-visible::before {
  background:
    linear-gradient(var(--primary-foreground), var(--primary-foreground)) top left / 16px 1px no-repeat,
    linear-gradient(var(--primary-foreground), var(--primary-foreground)) center left / 16px 1px no-repeat,
    linear-gradient(var(--primary-foreground), var(--primary-foreground)) bottom left / 16px 1px no-repeat;
}

.menu-links {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 36px));
  border: 1px solid var(--rule-strong);
  background: rgba(31, 31, 31, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.menu-links a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--fs-menu);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.25;
}

.menu-links a:last-child {
  border-bottom: 0;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  color: #e6e6e6;
  background: rgba(250, 250, 250, 0.035);
  outline: 0;
}

.menu-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(183, 32, 32, 0.14);
  outline: 0;
}

.section {
  padding: clamp(72px, 9vw, 116px) clamp(18px, 4vw, 44px);
}

.section.tight {
  padding-top: clamp(52px, 7vw, 82px);
  padding-bottom: clamp(52px, 7vw, 82px);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.98) 0%, rgba(16, 16, 16, 0.84) 48%, rgba(16, 16, 16, 0.36) 100%),
    url("condor-hero.png") center right / cover no-repeat;
  opacity: 0.72;
}

.hero::after {
  position: absolute;
  right: -6vw;
  bottom: -1px;
  width: 44vw;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.page-hero {
  min-height: 520px;
}

.hero .section-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-copy {
  display: grid;
  gap: 26px;
  max-width: 760px;
}

.page-hero .hero-copy {
  max-width: 840px;
}

.hero-logo {
  width: 108px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rule-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: var(--fs-label);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.rule-label::before {
  display: block;
  width: 54px;
  height: 1.5px;
  flex: 0 0 auto;
  content: "";
  background: var(--red);
}

h1,
.page-title,
.section-title {
  color: var(--text);
  font-weight: 640;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  font-size: var(--fs-h1);
  line-height: 0.96;
}

#hero-title {
  max-width: 980px;
}

#hero-title span {
  display: inline-block;
}

.page-title {
  max-width: 880px;
  font-size: var(--fs-page-title);
  line-height: 1;
}

.section-title {
  max-width: 780px;
  font-size: var(--fs-section-title);
  line-height: 1.04;
}

.hero-line {
  max-width: 680px;
  color: var(--text);
  font-size: var(--fs-hero-line);
  font-weight: 650;
  line-height: 1.22;
}

.hero-body,
.section-summary,
.lede,
.body-copy p,
.list-item p,
.accordion p,
.contact-note {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.66;
}

.hero-body {
  max-width: 660px;
  font-size: var(--fs-hero-body);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: var(--fs-menu);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(250, 250, 250, 0.9);
  background: rgba(250, 250, 250, 0.9);
  outline: 2px solid rgba(250, 250, 250, 0.24);
  outline-offset: 3px;
}

.button.secondary {
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--primary);
  background: rgba(250, 250, 250, 0.06);
}

.editorial-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.section-heading {
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.body-copy {
  display: grid;
  gap: 22px;
}

.feature-strip,
.list-grid,
.process-grid {
  display: grid;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.feature-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-link,
.list-item,
.process-step {
  min-height: 212px;
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(140deg, rgba(250, 250, 250, 0.026), transparent 62%),
    var(--bg);
}

.feature-link {
  display: grid;
  align-content: space-between;
  gap: 28px;
}

.feature-link:hover,
.feature-link:focus-visible {
  background:
    linear-gradient(140deg, rgba(183, 32, 32, 0.13), transparent 64%),
    var(--surface);
  outline: 0;
}

.eyebrow-number {
  color: var(--red);
  font-size: var(--fs-number);
  font-weight: 650;
  line-height: 1;
}

.feature-link h3,
.list-item h3,
.process-step h3,
.accordion strong {
  color: var(--text);
  font-size: var(--fs-card-title);
  font-weight: 660;
  letter-spacing: 0;
  line-height: 1.18;
}

.feature-link p,
.list-item p,
.process-step p {
  margin-top: 13px;
}

.split-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.page-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid var(--rule-strong);
  color: var(--text);
  font-size: var(--fs-menu);
  font-weight: 650;
}

.page-link:hover,
.page-link:focus-visible {
  border-color: var(--primary);
  background: rgba(250, 250, 250, 0.06);
  outline: 0;
}

.accordion {
  border-top: 1px solid var(--rule);
}

.accordion details {
  border-bottom: 1px solid var(--rule);
}

.accordion summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  justify-self: end;
  content: "+";
  color: var(--red);
  font-size: var(--fs-number);
  font-weight: 500;
  line-height: 1;
}

.accordion details[open] summary::after {
  content: "-";
}

.accordion span {
  color: var(--red);
  font-size: var(--fs-accent);
  font-weight: 650;
}

.accordion p {
  max-width: 820px;
  padding: 0 0 28px 78px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 28px;
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}

.leadership-portrait {
  width: 220px;
  height: 280px;
  max-width: none;
  border: 1px solid var(--rule-strong);
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.03);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.discipline-list,
.book-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.discipline-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--rule);
}

.discipline-list li,
.book-list li {
  list-style: none;
}

.discipline-list li {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-size: var(--fs-body);
  font-weight: 640;
  line-height: 1.28;
}

.book-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.book-list strong {
  display: block;
  color: var(--text);
  font-size: var(--fs-hero-body);
  font-weight: 660;
  line-height: 1.25;
}

.book-list span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 44px);
  color: var(--muted);
  font-size: var(--fs-footer);
  line-height: 1.4;
}

.footer-inner strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 980px) {
  :root {
    --fs-brand: 1.08rem;
    --fs-h1: 4.1rem;
    --fs-page-title: 3.35rem;
    --fs-section-title: 2.78rem;
    --fs-hero-line: 1.42rem;
    --fs-body: 1rem;
    --fs-hero-body: 1.04rem;
    --fs-card-title: 1.18rem;
    --fs-number: 1.36rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .menu,
  .menu summary {
    width: 100%;
  }

  .menu-links {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero .section-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .editorial-grid,
  .section-heading,
  .leadership-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .list-grid,
  .discipline-list,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership-portrait {
    width: 196px;
    height: 250px;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-brand: 1.02rem;
    --fs-menu: 0.9rem;
    --fs-label: 0.72rem;
    --fs-h1: 2.82rem;
    --fs-page-title: 2.14rem;
    --fs-section-title: 1.84rem;
    --fs-hero-line: 1.18rem;
    --fs-body: 0.98rem;
    --fs-hero-body: 1rem;
    --fs-card-title: 1.14rem;
    --fs-number: 1.28rem;
    --fs-small: 0.92rem;
  }

  .brand-tag {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero-copy {
    gap: 20px;
  }

  #hero-title {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.02;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-strip,
  .list-grid,
  .discipline-list,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-link,
  .list-item,
  .process-step {
    min-height: auto;
  }

  .accordion summary {
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    gap: 14px;
  }

  .accordion p {
    padding-left: 58px;
  }

  .leadership-portrait {
    width: 138px;
    height: 176px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  :root {
    --fs-brand: 0.98rem;
    --fs-h1: 2.56rem;
    --fs-page-title: 1.98rem;
    --fs-section-title: 1.72rem;
    --fs-hero-line: 1.12rem;
    --fs-body: 0.96rem;
    --fs-card-title: 1.1rem;
  }

  #hero-title {
    font-size: 1.9rem;
  }

  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner,
  .footer-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .leadership-portrait {
    width: 128px;
    height: 164px;
  }
}
