@charset "UTF-8";

:root {
  --color-canvas: #050505;
  --color-surface: #0a0a0a;
  --color-ink: #f1f0ec;
  --color-muted: #a09f9a;
  --color-faint: #7a7a76;
  --color-rule: #292929;
  --color-rule-strong: #444440;
  --color-silver: #b8bdc6;
  --color-seal: #9a4742;
  --content-max: 1440px;
  --page-gutter: 28px;
  --header-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 20;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--color-canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-silver);
  color: var(--color-canvas);
}

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

button,
a {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--color-silver);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-header) + 1);
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--color-ink);
  color: var(--color-canvas);
  transition: transform 180ms var(--ease-out);
}

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

.header-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--color-rule);
  background: rgba(5, 5, 5, 0.97);
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 104px;
  min-width: 0;
  min-height: 44px;
}

.brand-signature {
  display: block;
  width: 104px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--color-muted);
  font-size: 13px;
}

.primary-nav a,
.footer-inner a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 180ms ease;
}

.primary-nav a::after,
.footer-inner a::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 240ms var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"],
.footer-inner a:hover {
  color: var(--color-ink);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after,
.footer-inner a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-rule-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--color-ink);
  font-size: 12px;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-command span:last-child {
  margin-left: 8px;
  color: var(--color-muted);
  font-size: 12px;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}

.header-command:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-canvas);
}

.header-command:hover span:last-child {
  transform: translate(2px, 2px);
  color: var(--color-canvas);
}

.hero {
  min-height: calc(100svh - 80px);
  background: var(--color-canvas);
}

.hero-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: inherit;
  padding-top: 102px;
  padding-bottom: 26px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-faint);
  font-size: 11px;
  line-height: 1.4;
}

.hero-meta-top {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-rule);
}

.hero-meta-bottom {
  min-height: 46px;
  padding-top: 15px;
  border-top: 1px solid var(--color-rule);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-muted);
}

.availability > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-silver);
}

.hero-stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  min-height: 570px;
  padding-block: 36px;
}

.hero-copy {
  grid-column: 1 / span 7;
  align-self: center;
  padding-top: 22px;
}

.hero-role {
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 14px;
}

.hero h1 {
  max-width: 7ch;
  font-size: 96px;
  font-weight: 600;
  line-height: 0.94;
}

.hero-positioning {
  max-width: 20ch;
  margin-top: 28px;
  color: var(--color-ink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.45;
}

.hero-thesis {
  max-width: 50ch;
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.text-command {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 34px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--color-rule-strong);
  color: var(--color-muted);
  font-size: 14px;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-command span {
  transition: transform 240ms var(--ease-out);
}

.text-command:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.text-command:hover span {
  transform: translateY(3px);
}

.identity-portrait {
  position: relative;
  grid-column: 9 / span 4;
  justify-self: end;
  width: min(100%, 440px);
  outline: none;
}

.identity-portrait::before {
  position: absolute;
  inset: 12px 12px 46px;
  z-index: 1;
  border: 1px solid rgba(241, 240, 236, 0.22);
  pointer-events: none;
  content: "";
}

.identity-portrait picture {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface);
}

.identity-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.9) contrast(1.04) brightness(0.92);
  transition: filter 700ms var(--ease-out), transform 900ms var(--ease-out);
}

.identity-portrait:hover img {
  transform: scale(1.018);
  filter: saturate(1.03) contrast(1.02) brightness(0.98);
}

.portrait-annotation {
  position: absolute;
  right: 24px;
  bottom: 58px;
  z-index: 2;
  display: grid;
  gap: 2px;
  justify-items: end;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8px;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.82);
}

.identity-portrait figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  color: var(--color-faint);
  font-size: 10px;
  line-height: 1.3;
}

.section-shell {
  scroll-margin-top: var(--header-height);
  border-top: 1px solid var(--color-rule);
}

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

.section-label {
  color: var(--color-muted);
  font-size: 13px;
}

.profile {
  background: var(--color-surface);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.profile-grid > .section-label {
  grid-column: 1 / span 2;
}

.profile-copy {
  grid-column: 3 / span 7;
}

.profile-copy h2 {
  font-size: 52px;
  line-height: 1.17;
}

.profile-copy > p {
  max-width: 58ch;
  margin-top: 36px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.85;
}

.profile-note {
  grid-column: 11 / span 2;
  color: var(--color-faint);
  font-size: 11px;
  line-height: 1.65;
}

.principles-ledger {
  grid-column: 3 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 86px 0 0;
  padding: 0;
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  list-style: none;
}

.principle-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-height: 218px;
  padding: 30px 24px 28px 0;
}

.principle-item + .principle-item {
  padding-left: 24px;
  border-left: 1px solid var(--color-rule);
}

.principle-index {
  color: var(--color-seal);
  font-size: 11px;
}

.principle-item > div > p:first-child {
  color: var(--color-faint);
  font-size: 11px;
}

.principle-item h3 {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.45;
}

.principle-item > div > p:last-child {
  margin-top: 17px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.section-heading > div {
  grid-column: 1 / span 7;
}

.section-heading > p {
  grid-column: 9 / span 4;
  max-width: 45ch;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: 54px;
  line-height: 1.08;
}

.practice-list,
.system-index {
  margin-top: 78px;
  border-bottom: 1px solid var(--color-rule);
}

.practice-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  min-height: 158px;
  padding-block: 31px;
  border-top: 1px solid var(--color-rule);
  transition: background-color 240ms ease, border-color 240ms ease;
}

.practice-row:hover {
  border-color: var(--color-rule-strong);
  background: var(--color-surface);
}

.practice-code {
  grid-column: 1 / span 1;
  color: var(--color-faint);
  font-size: 11px;
}

.practice-row h3 {
  grid-column: 2 / span 3;
  font-size: 25px;
  line-height: 1.25;
}

.practice-row > p:nth-of-type(2) {
  grid-column: 5 / span 4;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.75;
}

.practice-detail {
  grid-column: 9 / span 4;
  color: var(--color-faint);
  font-size: 13px;
  line-height: 1.75;
  transition: color 240ms ease;
}

.practice-row:hover .practice-detail {
  color: var(--color-muted);
}

.systems {
  background: var(--color-surface);
}

.system-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding-block: 26px;
  border-top: 1px solid var(--color-rule);
  transition: background-color 240ms ease, border-color 240ms ease;
}

a.system-row:hover {
  border-color: var(--color-rule-strong);
  background: var(--color-canvas);
}

.system-kind {
  grid-column: 1 / span 2;
  color: var(--color-faint);
  font-size: 10px;
}

.system-name {
  grid-column: 3 / span 3;
  color: var(--color-ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.system-description {
  grid-column: 6 / span 5;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.system-action,
.system-status {
  grid-column: 12;
  justify-self: end;
  color: var(--color-muted);
}

.system-action {
  font-size: 20px;
  transition: color 180ms ease, transform 240ms var(--ease-out);
}

a.system-row:hover .system-action {
  transform: translate(3px, -3px);
  color: var(--color-ink);
}

.system-status {
  font-size: 9px;
}

.contact {
  background: var(--color-canvas);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  min-height: 680px;
}

.contact-main {
  grid-column: 1 / span 7;
}

.contact-main h2 {
  max-width: 14ch;
  margin-top: 22px;
  font-size: 58px;
  line-height: 1.12;
}

.contact-intro {
  max-width: 52ch;
  margin-top: 32px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.85;
}

.contact-signature {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 66px;
}

.contact-signature-art {
  display: block;
  width: min(300px, 62%);
  height: auto;
}

.contact-signature small {
  padding-bottom: 4px;
  color: var(--color-faint);
  font-size: 9px;
  font-weight: 400;
}

.contact-details {
  grid-column: 9 / span 4;
  display: grid;
  gap: 34px;
  padding-bottom: 10px;
}

.detail-label {
  margin-bottom: 12px;
  color: var(--color-faint);
  font-size: 10px;
}

.contact-details time {
  width: fit-content;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
  transition: color 180ms ease;
}

.contact-register {
  border-bottom: 1px solid var(--color-rule);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  border-top: 1px solid var(--color-rule);
}

.contact-row > div:not(.contact-actions) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact-row span {
  color: var(--color-faint);
  font-size: 10px;
}

.contact-row strong {
  overflow-wrap: anywhere;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 400;
}

.contact-jump,
.contact-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 12px;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-jump {
  min-width: 32px;
  color: var(--color-faint);
  opacity: 0;
  transform: translateX(4px);
  transition: color 180ms ease, opacity 180ms ease, transform 220ms var(--ease-out);
}

.contact-jump > span {
  color: inherit;
  font-size: 18px;
  line-height: 1;
}

.contact-row:hover .contact-jump,
.contact-jump:focus-visible {
  color: var(--color-ink);
  opacity: 1;
  transform: translateX(0);
}

@media (hover: none), (pointer: coarse) {
  .contact-jump {
    opacity: 1;
    transform: none;
  }
}

.contact-row button:hover,
.contact-row button[data-copy-state="copied"] {
  color: var(--color-ink);
}

.contact-row button:active {
  transform: translateY(1px);
}

.contact-row button[data-copy-state="failed"] {
  color: #d8877f;
}

.contact-time {
  display: grid;
}

.clipboard-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 80px;
  color: var(--color-faint);
  font-size: 11px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.footer-meta a {
  min-height: 20px;
}

.footer-inner > a:last-child {
  justify-self: end;
}

[data-reveal-state="pending"] {
  opacity: 0.35;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

[data-reveal-state="visible"] {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.error-main {
  width: min(100% - 36px, 680px);
  padding-block: 80px;
}

.error-code {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-rule);
  color: var(--color-muted);
  font-size: 12px;
}

.error-main h1 {
  margin-top: 48px;
  font-size: 54px;
  line-height: 1.1;
}

.error-main > p:not(.error-code) {
  margin: 24px 0 40px;
  color: var(--color-muted);
}

.error-main .header-command {
  justify-self: start;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 80px;
  }

  .hero-positioning {
    font-size: 24px;
  }

  .identity-portrait {
    grid-column: 8 / span 5;
    width: min(100%, 410px);
  }

  .profile-copy {
    grid-column: 3 / span 8;
  }

  .principles-ledger {
    grid-column: 3 / -1;
  }

  .profile-note {
    display: none;
  }

  .profile-copy h2,
  .section-heading h2 {
    font-size: 46px;
  }

  .practice-row {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .practice-row > p:nth-of-type(2) {
    grid-column: 5 / span 6;
  }

  .practice-detail {
    grid-column: 5 / span 6;
    margin-top: -34px;
    padding-top: 74px;
  }

  .system-description {
    grid-column: 6 / span 6;
  }

  .system-action,
  .system-status {
    grid-column: 12;
  }

  .contact-main h2 {
    font-size: 52px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 18px;
    --header-height: 64px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .brand-mark {
    display: flex;
    width: 88px;
    min-width: 0;
  }

  .brand-signature {
    width: 88px;
  }

  .primary-nav {
    justify-content: center;
    gap: 16px;
    font-size: 12px;
  }

  .primary-nav a:first-child {
    display: none;
  }

  .header-command {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-rows: auto auto auto;
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 18px;
  }

  .hero-meta {
    font-size: 9px;
  }

  .hero-meta-top {
    padding-bottom: 12px;
  }

  .hero-meta-top p:last-child,
  .hero-meta-bottom > p:last-child {
    display: none;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(124px, 0.82fr);
    gap: 16px;
    min-height: 0;
    padding-block: 28px 36px;
  }

  .hero-copy {
    grid-column: 1;
    padding-top: 0;
  }

  .hero-role {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-positioning {
    max-width: 12ch;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero-thesis {
    display: none;
  }

  .text-command {
    gap: 16px;
    margin-top: 20px;
    font-size: 12px;
  }

  .identity-portrait {
    grid-column: 2;
    width: 100%;
  }

  .identity-portrait::before {
    inset: 8px 8px 38px;
  }

  .identity-portrait picture {
    aspect-ratio: 1 / 1;
  }

  .identity-portrait figcaption {
    padding-top: 9px;
    font-size: 8px;
  }

  .portrait-annotation {
    right: 14px;
    bottom: 45px;
    font-size: 7px;
  }

  .hero-meta-bottom {
    min-height: 34px;
    padding-top: 11px;
  }

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

  .profile-grid,
  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-grid > .section-label,
  .profile-copy,
  .section-heading > div,
  .section-heading > p,
  .contact-main,
  .contact-details {
    grid-column: 1;
  }

  .profile-copy h2,
  .section-heading h2 {
    margin-top: 20px;
    font-size: 35px;
    line-height: 1.2;
  }

  .profile-copy > p {
    margin-top: 28px;
    font-size: 15px;
  }

  .principles-ledger {
    grid-column: 1;
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .principle-item {
    min-height: 0;
    padding: 26px 0;
  }

  .principle-item + .principle-item {
    padding-left: 0;
    border-top: 1px solid var(--color-rule);
    border-left: 0;
  }

  .section-heading > p {
    margin-top: 28px;
    font-size: 14px;
  }

  .practice-list,
  .system-index {
    margin-top: 54px;
  }

  .practice-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0 12px;
    min-height: 0;
    padding-block: 26px;
  }

  .practice-code {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .practice-row h3,
  .practice-row > p:nth-of-type(2),
  .practice-detail {
    grid-column: 2;
  }

  .practice-row h3 {
    font-size: 21px;
  }

  .practice-row > p:nth-of-type(2) {
    margin-top: 17px;
    font-size: 14px;
  }

  .practice-detail {
    margin-top: 13px;
    padding-top: 0;
    font-size: 12px;
  }

  .system-row {
    grid-template-columns: 70px minmax(0, 1fr) 28px;
    gap: 0 10px;
    min-height: 0;
    padding-block: 23px;
  }

  .system-kind {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 4px;
    font-size: 8px;
  }

  .system-name,
  .system-description {
    grid-column: 2;
  }

  .system-name {
    font-size: 18px;
  }

  .system-description {
    margin-top: 9px;
    font-size: 12px;
  }

  .system-action,
  .system-status {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .contact-grid {
    min-height: 620px;
  }

  .contact-main h2 {
    margin-top: 20px;
    font-size: 39px;
    line-height: 1.18;
  }

  .contact-intro {
    margin-top: 28px;
    font-size: 14px;
  }

  .contact-signature {
    margin-top: 48px;
  }

  .contact-signature-art {
    width: min(230px, 62%);
  }

  .contact-details {
    gap: 34px;
    margin-top: 64px;
    padding-bottom: 0;
  }

  .contact-row {
    min-height: 76px;
  }

  .contact-jump {
    opacity: 1;
    transform: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0;
    min-height: 84px;
    padding-block: 10px;
  }

  .footer-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  .footer-inner > a:last-child {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .footer-meta a {
    min-height: 20px;
  }

  .error-main h1 {
    font-size: 40px;
  }
}

@media (max-width: 374px) {
  .primary-nav {
    gap: 10px;
  }

  .header-command {
    padding-inline: 8px;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 12px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-positioning {
    font-size: 17px;
  }

  .identity-portrait figcaption span:last-child {
    display: none;
  }

  .profile-copy h2,
  .section-heading h2 {
    font-size: 32px;
  }

  .contact-main h2 {
    font-size: 36px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal-state="pending"],
  [data-reveal-state="visible"] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .skip-link,
  .text-command,
  .contact-actions,
  .site-footer {
    display: none;
  }

  body,
  .profile,
  .systems {
    background: #fff;
    color: #111;
  }

  .hero,
  .contact {
    background: #fff;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section-inner {
    padding-block: 32px;
  }

}
