@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&family=Roboto+Mono:wght@400;500&display=swap");

:root {
  color-scheme: dark;
  --fk-cobalt: #315cff;
  --fk-emerald: #00b884;
  --fk-deep-black: #010611;
  --fk-midnight-navy: #021125;
  --fk-deep-blue: #07274a;
  --fk-near-black: #101318;
  --fk-soft-white: #fcfcfc;
  --fk-cool-silver: #bec6cd;
  --fk-steel-gray: #73777f;
  --cobalt: var(--fk-cobalt);
  --emerald: var(--fk-emerald);
  --deep-black: var(--fk-deep-black);
  --midnight: var(--fk-midnight-navy);
  --near-black: var(--fk-near-black);
  --soft-white: var(--fk-soft-white);
  --silver: var(--fk-cool-silver);
  --steel: var(--fk-steel-gray);
  --rule: rgba(190, 198, 205, 0.2);
  --surface: rgba(7, 39, 74, 0.32);
  --surface-raised: rgba(7, 39, 74, 0.2);
  --max-width: 1440px;
  --gutter: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --ease-mech: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--deep-black);
  color: var(--soft-white);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--soft-white);
  color: var(--deep-black);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

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

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 6px;
  margin-right: 12px;
  background: var(--cobalt);
  vertical-align: 2px;
}

.brand span {
  color: var(--silver);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  transition: color 180ms var(--ease-mech);
}

.nav-links a:hover {
  color: var(--soft-white);
}

.nav-links .nav-action {
  padding: 9px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  color: var(--soft-white);
}

.nav-links .nav-action:hover {
  border-color: var(--silver);
  background: rgba(190, 198, 205, 0.06);
}

.hero {
  position: relative;
  min-height: 760px;
  max-height: 920px;
  height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 6, 17, 0.98) 0%, rgba(1, 6, 17, 0.84) 43%, rgba(1, 6, 17, 0.16) 72%),
    linear-gradient(0deg, rgba(1, 6, 17, 0.86) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 70%);
  padding: 150px 0 92px;
}

.eyebrow,
.section-label,
.meta {
  margin: 0;
  color: var(--silver);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  color: #9eb1ff;
}

.section-label {
  color: #9eb1ff;
}

main section[id] {
  scroll-margin-top: 72px;
}

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: 4.25rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title {
  display: block;
  margin-top: 18px;
  color: var(--silver);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--silver);
  font-size: 1.15rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(252, 252, 252, 0.38);
  border-radius: var(--radius-sm);
  color: var(--soft-white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    background 180ms var(--ease-mech),
    border-color 180ms var(--ease-mech),
    color 180ms var(--ease-mech);
}

.button-primary {
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.button:hover {
  border-color: var(--soft-white);
  background: var(--soft-white);
  color: var(--deep-black);
}

main > section {
  padding: 88px 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 800px;
  margin-bottom: 48px;
}

h2 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-intro {
  max-width: 720px;
  margin: 0;
  color: var(--silver);
  font-size: 1.08rem;
}

.through-line {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.through-line-copy p {
  margin: 0 0 20px;
  color: var(--silver);
}

.through-line-copy p:first-child {
  color: var(--soft-white);
  font-size: 1.35rem;
  line-height: 1.5;
}

.record {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
  margin-top: 54px;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  list-style: none;
}

.record-item {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--rule);
}

.record-item:last-child {
  border-right: 0;
}

.record-number {
  display: block;
  color: var(--soft-white);
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1;
}

.record-label {
  display: block;
  margin-top: 14px;
  color: var(--silver);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.work-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.work-item p {
  max-width: 790px;
  margin: 12px 0 0;
  color: var(--silver);
}

.evidence-note {
  max-width: 820px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--emerald);
  color: var(--silver);
  font-size: 0.92rem;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.chapter {
  position: relative;
  padding: 28px 0 28px 28px;
  border-left: 1px solid var(--rule);
}

.chapter::before {
  content: "";
  position: absolute;
  top: 36px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--cobalt);
}

.chapter p {
  margin: 10px 0 0;
  color: var(--silver);
}

.learning {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 42px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.learning strong {
  font-size: 3.5rem;
  line-height: 1;
}

.learning p {
  margin: 0;
  color: var(--silver);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.certificate-card {
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--near-black);
  overflow: hidden;
  transition:
    background 420ms var(--ease-mech),
    border-color 420ms var(--ease-mech);
}

.certificate-card::before {
  content: "";
  display: block;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, var(--cobalt), transparent);
  transition: width 420ms var(--ease-mech);
}

.certificate-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.certificate-card:hover {
  border-color: var(--cobalt);
  background: var(--surface-raised);
}

.certificate-card:hover::before {
  width: 100%;
}

.certificate-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  background: #eef1f5;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate-copy {
  min-height: 128px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.certificate-copy h3 {
  min-height: 3.7em;
  font-size: 0.92rem;
  line-height: 1.23;
}

.certificate-issuer {
  margin: 10px 0 0;
  overflow-wrap: anywhere;
  color: var(--silver);
  font-size: 0.72rem;
  line-height: 1.4;
}

.certificate-actions {
  margin-top: 28px;
}

.building-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.property {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  background: var(--deep-black);
}

.property:hover {
  background: var(--surface-raised);
}

.property p {
  margin: 16px 0 28px;
  color: var(--silver);
}

.property .text-link {
  margin-top: auto;
  font-weight: 700;
  text-underline-offset: 5px;
}

.closing {
  padding: 92px 0;
  background: var(--soft-white);
  color: var(--near-black);
}

.closing-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.closing h2 {
  max-width: 720px;
}

.closing .section-label {
  margin-bottom: 16px;
  color: #4d535a;
}

.closing .button {
  border-color: var(--near-black);
  color: var(--near-black);
}

.closing .button-primary {
  border-color: var(--cobalt);
  color: var(--soft-white);
}

.site-footer {
  padding: 40px 0;
  border-top: 3px solid var(--cobalt);
  background: var(--near-black);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
}

.footer-brand span {
  display: block;
  margin-top: 5px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--silver);
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .nav-links .section-nav {
    display: none;
  }

  .hero-content {
    width: min(630px, 78%);
  }

  .through-line,
  .timeline,
  .closing-inner {
    grid-template-columns: 1fr;
  }

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

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

  .record-item:nth-child(2) {
    border-right: 0;
  }

  .record-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .closing-inner {
    align-items: start;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 40px;
  }

  .hero-media {
    width: 80%;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .nav-row {
    min-height: 64px;
  }

  main section[id] {
    scroll-margin-top: 64px;
  }

  .brand span {
    display: none;
  }

  .brand::before {
    width: 18px;
    margin-right: 8px;
  }

  .nav-links {
    gap: 9px;
    font-size: 0.78rem;
  }

  .nav-links .nav-action {
    padding: 8px 9px;
  }

  .hero {
    min-height: 580px;
    height: calc(100svh - 112px);
    max-height: 760px;
  }

  .hero-media {
    inset: 0;
    width: 100%;
    object-position: 62% 24%;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(1, 6, 17, 0.98) 0%, rgba(1, 6, 17, 0.82) 58%, rgba(1, 6, 17, 0.15) 100%),
      linear-gradient(90deg, rgba(1, 6, 17, 0.72) 0%, transparent 100%);
  }

  .hero-content {
    width: 100%;
    padding: 110px 0 48px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-title {
    margin-top: 12px;
    font-size: 1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  main > section,
  .closing {
    padding: 64px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .section-head {
    margin-bottom: 34px;
  }

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

  .record-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .record-item:nth-child(3) {
    border-bottom: 1px solid var(--rule);
  }

  .record-item:last-child {
    border-bottom: 0;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline,
  .building-grid,
  .learning {
    grid-template-columns: 1fr;
  }

  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .certificate-copy {
    min-height: 122px;
    padding: 12px;
  }

  .certificate-copy h3 {
    font-size: 0.82rem;
  }

  .certificate-issuer {
    font-size: 0.68rem;
  }

  .learning {
    gap: 20px;
  }

  .property {
    min-height: 250px;
    padding: 26px;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

/* 2026 personal-site narrative pass */
.brand {
  width: 42px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand::before {
  content: none;
}

.brand img {
  width: 42px;
  height: auto;
}

.hero-media {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.62) 22%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.62) 22%, #000 48%);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(1, 6, 17, 1) 0%, rgba(1, 6, 17, 0.94) 36%, rgba(1, 6, 17, 0.2) 70%),
    linear-gradient(0deg, rgba(1, 6, 17, 0.88) 0%, transparent 46%);
}

.hero-content {
  width: min(760px, 70%);
}

h1 {
  font-size: 3.75rem;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.capabilities li {
  padding: 6px 9px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  color: var(--silver);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.3;
}

.chapter .meta {
  margin-bottom: 12px;
  color: #9eb1ff;
}

.chapter-proof {
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}

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

.proof-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--fk-deep-blue);
  border-radius: var(--radius-md);
  background: var(--near-black);
  transition:
    background 420ms var(--ease-mech),
    border-color 420ms var(--ease-mech);
}

.proof-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, var(--cobalt), transparent);
  transition: width 420ms var(--ease-mech);
}

.proof-card:hover {
  border-color: var(--cobalt);
  background: var(--surface-raised);
}

.proof-card:hover::before {
  width: 100%;
}

.proof-card h3 {
  margin-top: 18px;
}

.proof-card > p:not(.meta) {
  margin: 16px 0 28px;
  color: var(--silver);
}

.proof-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.proof-signals li {
  min-width: 0;
  padding-right: 10px;
}

.proof-signals li + li {
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}

.proof-signals strong,
.proof-signals span {
  display: block;
}

.proof-signals strong {
  color: var(--soft-white);
  font-size: 1.65rem;
  line-height: 1;
}

.proof-signals span {
  margin-top: 8px;
  color: var(--steel);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.work-action {
  margin-top: 34px;
}

.certificate-copy {
  min-height: 104px;
}

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

.content-section .text-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.closing-copy {
  max-width: 720px;
  margin: 20px 0 0;
  color: #4d535a;
}

.email-link {
  display: inline-block;
  margin-top: 18px;
  color: #4d535a;
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 13px;
    font-size: 0.8rem;
  }

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

  .proof-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero-content {
    width: min(650px, 82%);
  }

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

  .proof-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .brand,
  .brand img {
    width: 34px;
  }

  .hero-content {
    width: 100%;
    padding: 64px 0 24px;
  }

  .hero-media {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(1, 6, 17, 0.99) 0%, rgba(1, 6, 17, 0.9) 60%, rgba(1, 6, 17, 0.12) 100%),
      linear-gradient(90deg, rgba(1, 6, 17, 0.58) 0%, transparent 100%);
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero .actions {
    align-items: center;
    flex-direction: row;
  }

  .hero .button {
    width: auto;
  }

  .capabilities {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .capabilities li {
    flex: none;
  }

  .proof-card {
    padding: 24px 20px;
  }

  .proof-signals strong {
    font-size: 1.35rem;
  }

}

/* Personal profile visual rhythm */
.brand {
  width: auto;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 34px;
}

.brand span {
  color: var(--soft-white);
  font-weight: 700;
}

.hero-content {
  width: min(720px, 64%);
}

.hero h1 {
  margin-bottom: 12px;
  font-size: 5rem;
  line-height: 0.96;
}

.hero-role {
  max-width: 690px;
  margin: 0 0 20px;
  color: var(--silver);
  font-size: 1.3rem;
  line-height: 1.45;
}

.hero-role strong,
.hero-role span {
  display: block;
}

.hero-role strong {
  color: var(--soft-white);
}

.hero-note {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-head--wide {
  max-width: 980px;
}

.about-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-flow::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--cobalt), var(--emerald));
}

.about-flow li {
  position: relative;
  min-width: 0;
  padding: 0 28px 24px 0;
}

.about-flow li + li {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.flow-marker {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--cobalt);
  border-radius: 50%;
  background: var(--midnight);
  color: var(--soft-white);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 1.25rem;
}

.about-flow .meta {
  color: #9eb1ff;
}

.about-flow h3 {
  margin-top: 10px;
}

.about-flow p:last-child {
  margin: 12px 0 0;
  color: var(--silver);
  font-size: 0.94rem;
}

.about-note {
  max-width: 880px;
  margin: 30px 0 0;
  padding: 24px 0 0 24px;
  border-top: 1px solid var(--rule);
  border-left: 2px solid var(--emerald);
  color: var(--silver);
}

.timeline {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.chapter {
  display: grid;
  grid-template-columns: 76px minmax(260px, 0.8fr) minmax(440px, 1.2fr);
  gap: 30px;
  align-items: start;
  padding: 42px 0;
  border-left: 0;
  border-bottom: 1px solid var(--rule);
}

.chapter::before {
  content: none;
}

.chapter-number {
  color: var(--cobalt);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 2.35rem;
  line-height: 1;
}

.chapter-copy h3 {
  margin-top: 10px;
  font-size: 1.55rem;
}

.chapter-copy > p:last-child {
  margin: 14px 0 0;
  color: var(--silver);
}

.chapter-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-stats li {
  min-width: 0;
  padding: 0 16px;
}

.chapter-stats li:first-child {
  padding-left: 0;
}

.chapter-stats li + li {
  border-left: 1px solid var(--rule);
}

.chapter-stats strong,
.chapter-stats span {
  display: block;
}

.chapter-stats strong {
  color: var(--soft-white);
  font-size: 1.85rem;
  line-height: 1;
}

.chapter-stats span {
  margin-top: 9px;
  color: var(--steel);
  font-size: 0.72rem;
  line-height: 1.35;
}

.chapter-qualifier,
.chapter-principle {
  grid-column: 3;
  margin: -10px 0 0;
  color: var(--steel);
  font-size: 0.75rem;
}

.chapter-principle {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--emerald);
  color: var(--silver);
  font-size: 0.94rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

.section-action {
  flex: none;
}

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

.proof-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  column-gap: 52px;
}

.proof-card--featured .meta,
.proof-card--featured h3,
.proof-card--featured > p {
  grid-column: 1;
}

.proof-card--featured .proof-signals {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  padding: 0;
  border-top: 0;
}

.proof-card--featured .proof-signals strong {
  font-size: 2.65rem;
}

.proof-card:not(.proof-card--featured) .proof-signals li:first-child {
  grid-column: span 1;
}

.certificate-viewport {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--fk-deep-blue) transparent;
  scroll-snap-type: x mandatory;
}

.certificate-viewport::-webkit-scrollbar {
  height: 4px;
}

.certificate-viewport::-webkit-scrollbar-thumb {
  background: var(--fk-deep-blue);
}

.certificate-grid {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 5);
  grid-template-columns: none;
  gap: 12px;
}

.certificate-card {
  scroll-snap-align: start;
}

.content-rhythm {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  list-style: none;
}

.content-rhythm li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
}

.content-rhythm li + li {
  border-left: 1px solid var(--rule);
}

.content-rhythm strong {
  font-size: 0.78rem;
}

.conversation-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(600px, 2.28fr);
  gap: 52px;
  align-items: start;
}

.conversation-copy h2 {
  margin-top: 16px;
  font-size: 2.4rem;
}

.conversation-action {
  margin-top: 28px;
}

.calendar-shell {
  min-width: 0;
}

.calendar-embed {
  width: 100%;
  min-height: 640px;
  max-height: 760px;
  overflow: auto;
  border: 1px solid rgba(16, 19, 24, 0.2);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.calendar-fallback {
  margin: 10px 0 0;
  color: #4d535a;
  font-size: 0.78rem;
}

.calendar-fallback a {
  text-underline-offset: 3px;
}

.email-link a {
  font-weight: 700;
}

.footer-brand {
  font-size: 1rem;
}

.footer-brand span {
  color: var(--silver);
}

@media (max-width: 1100px) {
  .chapter {
    grid-template-columns: 64px minmax(220px, 0.7fr) minmax(360px, 1.3fr);
    gap: 24px;
  }

  .chapter-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .chapter-stats li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .proof-card--featured {
    grid-template-columns: 1fr 1fr;
  }

  .conversation-grid {
    grid-template-columns: minmax(220px, 0.85fr) minmax(480px, 2.15fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .hero-content {
    width: min(650px, 82%);
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .about-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 0;
  }

  .about-flow::before {
    content: none;
  }

  .about-flow li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .chapter {
    grid-template-columns: 56px 1fr;
  }

  .chapter-stats,
  .chapter-qualifier,
  .chapter-principle {
    grid-column: 2;
  }

  .proof-card--featured {
    display: flex;
  }

  .proof-card--featured .proof-signals {
    border-top: 1px solid var(--rule);
    padding-top: 18px;
  }

  .certificate-grid {
    grid-auto-columns: calc((100% - 24px) / 3);
  }

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

  .calendar-shell {
    margin-top: 12px;
  }
}

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

  .brand span {
    display: inline;
  }

  .brand,
  .brand img {
    width: auto;
  }

  .brand img {
    width: 28px;
  }

  .hero-content {
    padding: 54px 0 20px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-role {
    font-size: 1.05rem;
  }

  .hero-note {
    display: none;
  }

  .about-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-flow li,
  .about-flow li + li,
  .about-flow li:nth-child(3) {
    padding: 20px 0 24px 76px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .flow-marker {
    position: absolute;
    top: 20px;
    left: 0;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .chapter {
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .chapter-number {
    font-size: 1.55rem;
  }

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

  .section-head-row {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 34px;
  }

  .section-action {
    align-self: flex-start;
    width: auto;
  }

  .proof-card--featured .proof-signals strong {
    font-size: 1.35rem;
  }

  .certificate-grid {
    grid-auto-columns: 100%;
    gap: 10px;
  }

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

  .content-rhythm li:nth-child(3) {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .content-rhythm li:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .conversation-copy h2 {
    font-size: 2rem;
  }

  .calendar-embed {
    min-height: 620px;
  }
}
