@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Inter:wght@300;400;500&family=Newsreader:ital,opsz,wght@1,6..72,300&display=swap");
:root {
  --bg: #080a09;
  --panel: #0b0d0c;
  --line: #232724;
  --muted: #7d837e;
  --text: #e6e9e6;
  --green: #00ed86;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-weight: 300;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.88);
  backdrop-filter: blur(14px);
}
.mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
}
.mark svg {
  width: 20px;
}
.site-header nav {
  display: flex;
  gap: 38px;
}
.site-header nav a {
  color: #777d78;
  font:
    400 17px DM Mono,
    monospace;
  transition: 0.2s;
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--text);
}
.menu {
  display: none;
}
.panel {
  min-height: 100vh;
  padding: 130px max(28px, calc((100vw - var(--max)) / 2)) 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.35;
  transform: translateY(20px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.panel.in {
  opacity: 1;
  transform: none;
}
.eyebrow,
.number {
  font:
    400 11px DM Mono,
    monospace;
  letter-spacing: 0.13em;
  color: #858c86;
}
.eyebrow {
  position: absolute;
  top: 118px;
}
.eyebrow i {
  display: inline-block;
  width: 45px;
  height: 1px;
  background: var(--green);
  vertical-align: middle;
  margin: 0 13px;
}
.hero {
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 110px;
  align-items: end;
}
.hero h1,
.blog-hero h1 {
  margin: 0;
  font-size: clamp(65px, 8vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 300;
}
.hero h1 em,
.blog-hero h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}
.role {
  color: #7f8580;
  font:
    300 16px DM Mono,
    monospace;
  margin: 28px 0 0;
}
.intro {
  padding-bottom: 10px;
}
.intro p,
.section-head > p,
.blog-hero > p {
  color: #979d98;
  line-height: 1.7;
  font-size: 19px;
}
.text-link {
  font:
    400 13px DM Mono,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #38403a;
  padding: 16px 0;
  margin-top: 35px;
}
.text-link span {
  color: var(--green);
}
.metrics {
  display: flex;
  gap: 95px;
  margin-top: 62px;
}
.metrics div {
  display: flex;
  flex-direction: column;
}
.metrics strong {
  font:
    300 30px DM Mono,
    monospace;
}
.metrics span {
  font:
    300 13px DM Mono,
    monospace;
  color: #676d68;
  margin-top: 5px;
}
.scroll-note {
  position: absolute;
  bottom: 33px;
  right: max(28px, calc((100vw - var(--max)) / 2));
  font: 400 9px DM Mono;
  color: #555b56;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.scroll-note span {
  display: inline-block;
  height: 50px;
  border-left: 1px solid var(--green);
  margin: 10px 4px;
}
.audits {
  background: #090b0a;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: end;
  gap: 50px;
}
.section-head h2 {
  font-weight: 300;
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -0.055em;
  margin: 14px 0 0;
}
.section-head > p {
  margin: 0;
}
.search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #3a413c;
  width: 340px;
  margin: 42px 0 20px;
  padding: 10px 0;
  color: var(--green);
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  width: 100%;
  margin-left: 12px;
  font: 300 15px DM Mono;
}
.audit-row {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr 0.9fr 1.15fr 0.65fr;
  border-bottom: 1px solid var(--line);
  min-height: 67px;
  align-items: center;
  padding: 0 14px;
  font: 300 13px DM Mono;
  color: #a0a6a1;
  transition: 0.25s;
}
.audit-row:not(.audit-label):hover {
  background: #0f1310;
  color: #fff;
  padding-left: 22px;
}
.audit-label {
  min-height: 38px;
  color: #535954;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.protocol b {
  color: #484e49;
  font-weight: 300;
  margin-right: 25px;
}
.audit-row a {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
.contact {
  justify-content: flex-start;
  padding-top: 112px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 55px;
  margin-top: 46px;
}
.primary-contact,
.socials a {
  position: relative;
  border: 1px solid #303531;
  padding: 25px;
  transition: 0.25s;
}
.primary-contact {
  min-height: 192px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.primary-contact:hover,
.socials a:hover {
  border-color: var(--green);
  background: #0d120f;
}
.contact-layout small {
  position: absolute;
  top: 22px;
  left: 25px;
  font: 400 12px DM Mono;
  color: #666c67;
  letter-spacing: 0.12em;
}
.contact-layout span {
  font: 300 clamp(20px, 2.5vw, 35px) DM Mono;
}
.contact-layout b {
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--green);
  font-weight: 300;
}
.socials {
  display: grid;
  gap: 12px;
}
.socials a {
  min-height: 60px;
  padding: 28px 22px 13px;
}
.socials span {
  font-size: 19px;
}
.socials small {
  top: 10px;
  left: 22px;
  font-size: 11px;
}
.contact footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  color: #676d68;
  font: 300 11px DM Mono;
}
.contact footer span {
  font:
    italic 300 21px Newsreader,
    serif;
  color: #cfd2cf;
}
.journal {
  max-width: var(--max);
  margin: auto;
  padding: 145px 28px 90px;
}
.blog-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 55px;
}
.blog-hero .eyebrow {
  position: static;
  margin-bottom: 55px;
}
.blog-hero h1 {
  font-size: clamp(70px, 9vw, 125px);
}
.blog-hero > p {
  max-width: 520px;
  margin: 35px 0 0 auto;
}
.writing {
  padding-top: 50px;
}
.writing-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.writing-top h2 {
  font: 300 28px DM Mono;
  margin: 0;
}
.writing-top .search {
  margin: 0;
}
.post-list {
  margin-top: 30px;
}
.post-card {
  display: grid;
  grid-template-columns: 70px 1fr 30px;
  gap: 25px;
  padding: 38px 12px;
  border-top: 1px solid var(--line);
  transition: 0.25s;
}
.post-card:last-child {
  border-bottom: 1px solid var(--line);
}
.post-card:hover {
  background: #0d100e;
  padding-left: 22px;
}
.post-index {
  font: 300 11px DM Mono;
  color: #525853;
}
.post-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font: 400 9px DM Mono;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #686e69;
}
.post-meta span {
  color: var(--green);
  border: 1px solid #17482f;
  border-radius: 20px;
  padding: 4px 8px;
}
.post-card h3 {
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin: 15px 0 7px;
}
.post-card p {
  color: #858b86;
  margin: 0;
  max-width: 670px;
  line-height: 1.55;
  font-size: 14px;
}
.post-card > b {
  color: var(--green);
  font-weight: 300;
}
.article-shell {
  max-width: 950px;
  margin: auto;
  padding: 130px 28px 100px;
}
.back {
  font: 400 11px DM Mono;
  color: #777e78;
}
.article {
  margin-top: 45px;
}
.article > header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 45px;
}
.article h1 {
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 25px 0;
}
.article > header > p {
  font-size: 19px;
  line-height: 1.55;
  color: #969c97;
  max-width: 650px;
}
.article-body {
  max-width: 680px;
  margin: 50px auto;
  font-size: 17px;
  line-height: 1.85;
  color: #c4c8c4;
}
.article-body h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 60px 0 10px;
}
.article-body h2:before {
  content: "//";
  color: var(--green);
  font: 300 15px DM Mono;
  margin-right: 15px;
}
.article-body h3 {
  font-size: 23px;
  font-weight: 400;
  color: #fff;
}
.article-body a {
  color: var(--green);
  border-bottom: 1px solid;
}
.article-body code {
  font: 14px DM Mono;
  background: #141815;
  padding: 2px 5px;
}
.article > footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font: 300 11px DM Mono;
  color: #6c726d;
}
.article > footer a {
  color: var(--green);
}
.not-found {
  padding: 180px 30px;
}
.not-found h1 {
  font-weight: 300;
}
.not-found a {
  color: var(--green);
}
@media (max-width: 760px) {
  .site-header {
    height: 66px;
  }
  .menu {
    display: block;
    width: 34px;
    border: 0;
    background: 0;
    color: #fff;
  }
  .menu span {
    display: block;
    border-top: 1px solid;
    margin: 7px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #090b0a;
    padding: 25px 28px;
    flex-direction: column;
  }
  .site-header nav.open {
    display: flex;
  }
  .panel {
    padding-top: 110px;
  }
  .eyebrow {
    top: 95px;
    max-width: 85%;
    line-height: 1.7;
  }
  .eyebrow i {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
    margin-top: 50px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .metrics {
    gap: 25px;
    justify-content: space-between;
    margin-top: 60px;
  }
  .metrics strong {
    font-size: 24px;
  }
  .scroll-note {
    display: none;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-head h2 {
    font-size: 55px;
  }
  .search {
    width: 100%;
    margin-top: 35px;
  }
  .audit-list {
    overflow-x: auto;
  }
  .audit-row {
    min-width: 760px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .contact footer {
    gap: 20px;
  }
  .contact footer span {
    font-size: 17px;
  }
  .journal {
    padding-top: 105px;
  }
  .blog-hero {
    padding-bottom: 55px;
  }
  .blog-hero .eyebrow {
    margin-bottom: 35px;
  }
  .blog-hero h1 {
    font-size: 64px;
  }
  .writing-top {
    display: block;
  }
  .writing-top .search {
    margin-top: 25px;
  }
  .post-card {
    grid-template-columns: 35px 1fr 15px;
    gap: 10px;
  }
  .article-shell {
    padding-top: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .panel {
    opacity: 1;
    transform: none;
  }
}

/* Full-viewport composition: mirrors the scale and placement of the references. */
@media (min-width: 901px) {
  :root {
    --page-x: clamp(64px, 8.5vw, 165px);
  }
  .site-header {
    padding-left: clamp(34px, 4vw, 78px);
    padding-right: clamp(34px, 4vw, 78px);
  }
  .panel {
    padding-left: var(--page-x);
    padding-right: var(--page-x);
  }
  .hero-grid {
    grid-template-columns: minmax(510px, 1.18fr) minmax(340px, 0.82fr);
    gap: clamp(70px, 9vw, 180px);
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(68px, 7.1vw, 138px);
  }
  .scroll-note {
    right: clamp(34px, 4vw, 78px);
  }
  .audits .section-head,
  .contact .section-head {
    width: 100%;
  }
  .audit-list {
    width: min(82vw, 1500px);
    align-self: center;
  }
  .audit-row {
    font-size: clamp(13px, 1vw, 18px);
  }
  .contact-layout {
    width: min(76vw, 1450px);
    margin-left: auto;
    margin-right: auto;
    gap: clamp(30px, 4vw, 80px);
  }
  .journal {
    max-width: none;
    width: 100%;
    padding-left: var(--page-x);
    padding-right: var(--page-x);
  }
}

@media (min-width: 1500px) {
  .site-header {
    height: 88px;
  }
  .panel {
    padding-top: 120px;
    padding-bottom: 45px;
  }
  .hero-grid {
    align-items: center;
  }
  .intro p,
  .section-head > p,
  .blog-hero > p {
    font-size: clamp(19px, 1.1vw, 22px);
  }
  .role {
    font-size: clamp(14px, 0.9vw, 18px);
  }
  .metrics {
    gap: clamp(95px, 8vw, 165px);
  }
  .metrics strong {
    font-size: clamp(30px, 2.3vw, 44px);
  }
  .metrics span {
    font-size: clamp(11px, 0.72vw, 14px);
  }
  .section-head h2 {
    font-size: clamp(70px, 6vw, 116px);
  }
  .audit-row {
    min-height: clamp(67px, 5vw, 92px);
  }
  .primary-contact {
    min-height: 230px;
  }
  .socials a {
    min-height: 72px;
  }
}

.mark {
  overflow: hidden;
  background: transparent;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.audit-list {
  max-height: min(48vh, 520px);
  overflow: auto;
  scrollbar-color: var(--green) #141815;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.audit-label {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #090b0a;
}
