.audit-page {
  background: var(--ivory);
  color: var(--forest-deep);
}

.audit-page .nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.audit-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(690px, 78vh);
  padding: 160px 4.2vw 76px;
  background: var(--forest-deep);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}

.audit-hero-art {
  position: absolute;
  inset: 92px 0 0;
  z-index: -2;
}

.audit-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.audit-hero-art div {
  position: absolute;
  inset: 0;
  background: rgba(0, 45, 36, 0.16);
}

.audit-hero-art div::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 229, 189, 0.42) 0 0.55px, transparent 0.75px);
  background-size: 5px 5px;
  opacity: 0.05;
  content: "";
}

.audit-hero::before {
  position: absolute;
  inset: 92px auto 0 0;
  z-index: -1;
  width: min(760px, 60vw);
  background: rgba(0, 48, 37, 0.94);
  clip-path: polygon(0 0, 88% 0, 72% 100%, 0 100%);
  content: "";
}

.audit-hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 62vw);
}

.audit-kicker,
.audit-date,
.audit-hero-status,
.audit-nav,
.section-heading > span,
.section-heading p,
.method-list > article > span,
.finding-card header,
.minor-label,
.property-list article > span,
.audit-footer {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.audit-kicker {
  margin: 0 0 22px;
  color: var(--ivory-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.audit-hero h1 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 11vw, 174px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.audit-date {
  margin: 34px 0 0;
  color: rgba(245, 229, 189, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-date time {
  color: var(--ivory);
}

.audit-hero-status {
  position: absolute;
  right: 4.2vw;
  bottom: 46px;
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 15px 18px;
  border: 1px solid var(--ivory);
  background: var(--forest-deep);
  box-shadow: 7px 7px 0 var(--cobalt), 11px 11px 0 var(--orange);
}

.audit-hero-status span {
  color: rgba(245, 229, 189, 0.62);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.audit-hero-status strong {
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1040px);
  justify-content: center;
  gap: clamp(54px, 8vw, 130px);
  padding: 110px 4.2vw 140px;
  background: var(--ivory);
}

.audit-nav {
  position: sticky;
  top: 126px;
  align-self: start;
  padding-top: 4px;
}

.audit-nav > p {
  margin: 0 0 30px;
  color: rgba(0, 45, 36, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.audit-nav nav {
  display: grid;
  border-top: 1px solid rgba(0, 45, 36, 0.22);
}

.audit-nav nav a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 45, 36, 0.22);
  color: var(--forest-deep);
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease, padding-left 160ms ease;
}

.audit-nav nav a span {
  color: var(--orange);
}

.audit-nav nav a:hover,
.audit-nav nav a:focus-visible {
  padding-left: 6px;
  color: var(--cobalt);
}

.audit-nav-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: rgba(0, 45, 36, 0.6);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.audit-nav-note i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
}

.audit-content {
  min-width: 0;
}

.audit-section {
  padding: 0 0 110px;
  scroll-margin-top: 120px;
}

.audit-section + .audit-section {
  padding-top: 110px;
  border-top: 1px solid rgba(0, 45, 36, 0.24);
}

.section-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-content: center;
  background: var(--cobalt);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 700;
}

.section-heading p {
  margin: 2px 0 10px;
  color: rgba(0, 45, 36, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-lead {
  max-width: 840px;
  margin: 0 0 52px 80px;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.4vw, 31px);
  line-height: 1.32;
}

.status-warning {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  margin-left: 80px;
  padding: 30px;
  background: var(--forest-deep);
  color: var(--ivory);
  box-shadow: 9px 9px 0 var(--orange);
}

.status-warning > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-style: italic;
}

.status-warning p {
  margin: 0;
  color: rgba(245, 229, 189, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.security-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 66px 0 0 80px;
  border-top: 1px solid var(--forest-deep);
  border-left: 1px solid var(--forest-deep);
}

.security-metrics > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 116px;
  padding: 22px 24px;
  border-right: 1px solid var(--forest-deep);
  border-bottom: 1px solid var(--forest-deep);
}

.security-metrics dt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.security-metrics dd {
  display: grid;
  justify-items: end;
  margin: 0;
}

.security-metrics strong {
  color: var(--cobalt);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.security-metrics dd span {
  max-width: 130px;
  margin-top: 5px;
  color: rgba(0, 45, 36, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.security-metrics .metric-alert {
  background: var(--orange);
}

.security-metrics .metric-alert strong {
  color: var(--forest-deep);
}

.method-list {
  margin-left: 80px;
  border-top: 1px solid var(--forest-deep);
}

.method-list > article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 26px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 45, 36, 0.3);
}

.method-list > article > span {
  padding-top: 4px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
}

.method-list h3,
.finding-card h3,
.property-list h3 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.method-list p,
.finding-card p,
.minor-findings p,
.publication-note,
.property-list p {
  margin: 14px 0 0;
  color: rgba(0, 45, 36, 0.76);
  font-size: 15px;
  line-height: 1.72;
}

.findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-left: 80px;
}

.finding-card {
  position: relative;
  padding: 32px;
  background: var(--forest-deep);
  box-shadow: 8px 8px 0 var(--cobalt);
  overflow: hidden;
}

.finding-card::after {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.finding-card header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  color: rgba(245, 229, 189, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.finding-card header b {
  color: var(--orange);
}

.finding-card h3 {
  position: relative;
  z-index: 1;
  color: var(--ivory);
  font-size: 27px;
}

.finding-card p {
  position: relative;
  z-index: 1;
  color: rgba(245, 229, 189, 0.73);
}

.minor-findings {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  margin: 54px 0 0 80px;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 45, 36, 0.3);
}

.minor-findings .minor-label {
  margin: 4px 0 0;
  color: var(--cobalt);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.minor-findings p,
.publication-note {
  margin-top: 0;
}

.publication-note {
  margin: 34px 0 0 214px;
  padding: 22px 24px;
  border-left: 4px solid var(--orange);
  background: rgba(0, 73, 216, 0.08);
  color: var(--forest-deep);
}

.property-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-left: 80px;
  background: var(--forest-deep);
  border: 1px solid var(--forest-deep);
}

.property-list article {
  position: relative;
  min-height: 310px;
  padding: 32px;
  background: var(--ivory);
}

.property-list article:last-child {
  grid-column: 1 / -1;
  min-height: 0;
}

.property-list article > span {
  display: block;
  margin-bottom: 46px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
}

.property-list h3 {
  font-size: 27px;
}

.audit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px 4.2vw;
  background: var(--forest-deep);
  color: var(--ivory);
}

.audit-footer a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-footer img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.audit-footer p {
  margin: 0;
  color: rgba(245, 229, 189, 0.56);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

@media (max-width: 980px) {
  .audit-hero {
    min-height: 620px;
    padding: 140px 24px 70px;
  }

  .audit-hero-art {
    inset: 78px 0 0;
  }

  .audit-hero::before {
    inset: 78px 0 0;
    width: 100%;
    clip-path: polygon(0 0, 78% 0, 60% 100%, 0 100%);
  }

  .audit-hero-copy {
    width: 72vw;
  }

  .audit-layout {
    display: block;
    padding: 80px 24px 110px;
  }

  .audit-nav {
    position: relative;
    top: auto;
    display: none;
  }

  .section-lead,
  .status-warning,
  .security-metrics,
  .method-list,
  .findings-grid,
  .minor-findings,
  .property-list {
    margin-left: 0;
  }

  .publication-note {
    margin-left: 134px;
  }
}

@media (max-width: 700px) {
  .audit-hero {
    min-height: 560px;
    padding-bottom: 108px;
  }

  .audit-hero-art img {
    object-position: 58% center;
  }

  .audit-hero::before {
    clip-path: none;
    background: rgba(0, 45, 36, 0.78);
  }

  .audit-hero-copy {
    width: 100%;
  }

  .audit-hero h1 {
    font-size: clamp(76px, 25vw, 112px);
  }

  .audit-hero-status {
    right: auto;
    bottom: 30px;
    left: 24px;
    min-width: 170px;
  }

  .audit-section {
    padding-bottom: 80px;
  }

  .audit-section + .audit-section {
    padding-top: 80px;
  }

  .section-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 34px;
  }

  .section-heading > span {
    width: 42px;
    height: 42px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .section-lead {
    margin-bottom: 38px;
    font-size: 21px;
  }

  .status-warning {
    grid-template-columns: 1fr;
    padding: 24px;
    box-shadow: 6px 6px 0 var(--orange);
  }

  .security-metrics,
  .findings-grid,
  .property-list {
    grid-template-columns: 1fr;
  }

  .security-metrics > div {
    min-height: 96px;
  }

  .method-list > article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .method-list h3,
  .finding-card h3,
  .property-list h3 {
    font-size: 22px;
  }

  .finding-card {
    padding: 26px;
  }

  .minor-findings {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .publication-note {
    margin-left: 0;
  }

  .property-list article,
  .property-list article:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .property-list article > span {
    margin-bottom: 30px;
  }

  .audit-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 24px;
  }
}
