:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --bg-deep: #090909;
  --bg-elevated: #151515;
  --bg-soft: #202020;
  --surface: rgba(18, 18, 18, 0.86);
  --surface-strong: rgba(15, 15, 15, 0.94);
  --surface-soft: rgba(26, 26, 26, 0.82);
  --text: #f2f2f2;
  --text-soft: #bfbfbf;
  --text-muted: #737373;
  --line: rgba(191, 191, 191, 0.16);
  --line-strong: rgba(242, 242, 242, 0.28);
  --accent: #f2f2f2;
  --accent-soft: #f2f2f2;
  --accent-strong: #d9d9d9;
  --accent-hot: #f2f2f2;
  --accent-violet: #cccccc;
  --header-bg: rgba(13, 13, 13, 0.94);
  --header-border: rgba(191, 191, 191, 0.14);
  --header-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  --header-text: #f2f2f2;
  --header-text-soft: #bfbfbf;
  --header-text-muted: #737373;
  --header-button-bg: rgba(18, 18, 18, 0.82);
  --header-button-border: rgba(191, 191, 191, 0.16);
  --header-accent: #f2f2f2;
  --header-min-height: 4.75rem;
  --header-brand-size: 3rem;
  --header-brand-name-size: 1rem;
  --header-brand-role-size: 0.72rem;
  --header-nav-font-size: 0.95rem;
  --header-nav-gap: 1.55rem;
  --section-hero-height: clamp(31rem, 44vw, 42rem);
  --section-hero-copy-top: clamp(7rem, 10vw, 8.5rem);
  --section-hero-copy-bottom: clamp(3rem, 5vw, 4.5rem);
  --section-heading-size: clamp(3rem, 5.8vw, 4.85rem);
  --section-heading-max: 14ch;
  --section-prose-size: clamp(0.98rem, 1.12vw, 1.04rem);
  --section-prose-line: 1.72;
  --section-card-heading-size: clamp(1.9rem, 3vw, 2.55rem);
  --section-card-padding: 1.45rem;
  --section-grid-gap: 1.15rem;
  --section-shell-width: 1260px;
  --section-immersive-overlap: 0rem;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.24);
  --radius: 24px;
  --radius-tight: 10px;
  --content-width: 1260px;
  --visual-width: 1480px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(242, 242, 242, 0.08), transparent 24%),
    linear-gradient(180deg, #171717 0%, #0d0d0d 42%, #090909 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 24% 22%, rgba(242, 242, 242, 0.04), transparent 0 18%),
    radial-gradient(circle at 74% 18%, rgba(242, 242, 242, 0.035), transparent 0 16%),
    radial-gradient(circle at 50% 82%, rgba(242, 242, 242, 0.03), transparent 0 18%);
  filter: blur(20px);
  animation: drift-glow 16s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  opacity: 0.2;
  background:
    linear-gradient(rgba(242, 242, 242, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 242, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%);
  background-size: 72px 72px, 72px 72px, auto;
  animation: drift-grid 20s linear infinite;
}

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

a {
  color: inherit;
}

p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-family: "Chakra Petch", "Sora", sans-serif;
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95em;
}

ul {
  padding-left: 1.2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #0d0d0d;
  border-radius: var(--radius-tight);
  z-index: 30;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.inner {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-min-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-mark {
  width: var(--header-brand-size);
  height: var(--header-brand-size);
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  filter: grayscale(1) brightness(0.92) contrast(1.06);
}

.brand-lockup {
  display: grid;
  gap: 0.16rem;
}

.brand-name {
  color: var(--header-text);
  font-family: "Chakra Petch", "Sora", sans-serif;
  font-size: var(--header-brand-name-size);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-role {
  color: var(--header-text-muted);
  font-size: var(--header-brand-role-size);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--header-nav-gap);
}

.site-nav a {
  position: relative;
  color: var(--header-text-soft);
  text-decoration: none;
  font-size: var(--header-nav-font-size);
  font-weight: 500;
  transition: color 160ms ease;
}

.inline-link {
  color: var(--accent-soft);
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--header-text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--header-button-border);
  border-radius: var(--radius-tight);
  background: var(--header-button-bg);
  color: var(--header-text);
  padding: 0.65rem 0.9rem;
  font: inherit;
}

.hero,
.project-hero {
  position: relative;
  min-height: min(88vh, 56rem);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: clip;
}

.hero::before,
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1.03);
}

.hero::before {
  background:
    linear-gradient(135deg, rgba(15, 15, 15, 0.96) 0%, rgba(18, 18, 18, 0.84) 46%, rgba(10, 10, 10, 0.96) 100%),
    radial-gradient(circle at 18% 20%, rgba(242, 242, 242, 0.06), transparent 22%),
    radial-gradient(circle at 78% 24%, rgba(242, 242, 242, 0.05), transparent 18%),
    linear-gradient(rgba(242, 242, 242, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 242, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #151515 0%, #0d0d0d 100%);
  background-size: auto, auto, auto, auto, 54px 54px, 54px 54px, auto;
}

.project-hero::before {
  background:
    linear-gradient(135deg, rgba(12, 12, 12, 0.96) 0%, rgba(14, 14, 14, 0.86) 45%, rgba(12, 12, 12, 0.96) 100%),
    var(--hero-image) center / cover no-repeat;
}

.project-hero--tracker::before {
  background:
    linear-gradient(135deg, rgba(12, 12, 12, 0.96) 0%, rgba(17, 17, 17, 0.86) 46%, rgba(12, 12, 12, 0.96) 100%),
    radial-gradient(circle at 26% 30%, rgba(242, 242, 242, 0.06), transparent 20%),
    linear-gradient(rgba(242, 242, 242, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 242, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

.project-hero--book::before {
  background:
    linear-gradient(135deg, rgba(12, 12, 12, 0.96) 0%, rgba(17, 17, 17, 0.86) 46%, rgba(12, 12, 12, 0.96) 100%),
    radial-gradient(circle at 16% 18%, rgba(242, 242, 242, 0.05), transparent 22%),
    linear-gradient(rgba(242, 242, 242, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 242, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
  background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
}

.hero::after,
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.18) 0%, rgba(5, 8, 13, 0.88) 100%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.04), transparent 18%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(20rem, 0.94fr);
  gap: 1.6rem;
  align-items: end;
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.2rem);
}

.hero-content,
.project-hero-inner {
  padding: 0;
}

.hero-visual {
  align-self: stretch;
  display: flex;
}

.book-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.2rem);
}

.tracker-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.2rem);
}

.tracker-hero-shot {
  display: grid;
  gap: 0.9rem;
}

.tracker-hero-shot figure,
.tracker-hero-proof {
  margin: 0;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 12, 24, 0.82);
  box-shadow: var(--shadow);
}

.tracker-hero-shot figure::after,
.tracker-hero-proof::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 52%, var(--accent-hot) 100%);
}

.tracker-hero-shot img {
  width: 100%;
  border-radius: calc(var(--radius) - 0.25rem);
  border: 1px solid rgba(103, 215, 255, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  filter: brightness(0.97) contrast(1.08) saturate(1.04);
}

.tracker-hero-shot figcaption {
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.tracker-hero-proof {
  display: grid;
  gap: 0.45rem;
}

.tracker-hero-proof p {
  color: var(--text-soft);
}

.eyebrow,
.proof-kicker,
.project-label,
.meta-label,
.panel-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  margin-bottom: 1rem;
}

.hero h1,
.project-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  color: var(--text);
}

.hero-copy {
  max-width: 36rem;
  margin-top: 1.35rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-soft);
}

.badge-row,
.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge-row {
  margin-top: 1.2rem;
}

.status-chip,
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 191, 191, 0.24);
  background: rgba(18, 18, 18, 0.72);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.project-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 164, 208, 0.16);
  background: rgba(10, 15, 29, 0.4);
  color: rgba(224, 232, 247, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-status-live {
  border-color: rgba(242, 242, 242, 0.36);
  color: var(--text);
}

.project-status-warm {
  border-color: rgba(191, 191, 191, 0.28);
  color: var(--text);
}

.site-note {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(191, 191, 191, 0.2);
  background: rgba(18, 18, 18, 0.82);
  color: var(--text-soft);
  font-size: 0.94rem;
}

.hero-actions,
.contact-links,
.stacked-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-tight);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.project-card-link:hover,
.project-card-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary,
.button-secondary,
.button-ghost {
  background: rgba(18, 18, 18, 0.78);
  color: var(--text);
  border-color: rgba(191, 191, 191, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(242, 242, 242, 0.82);
  background: rgba(38, 38, 38, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button-primary:active,
.button-secondary:active,
.button-ghost:active {
  border-color: rgba(242, 242, 242, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.signal-panel,
.project-card-link,
.proof-grid article,
.skill-group,
.content-block,
.contact-console,
.book-cover-card,
.meta-grid div,
.hero-proof-card,
.resume-card,
.error-console {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-panel::before,
.project-card-link::before,
.proof-grid article::before,
.skill-group::before,
.content-block::before,
.contact-console::before,
.book-cover-card::before,
.hero-proof-card::before,
.resume-card::before,
.error-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(90deg, rgba(242, 242, 242, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(242, 242, 242, 0.025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
  pointer-events: none;
}

.signal-panel {
  display: grid;
  gap: 0.95rem;
  align-content: start;
  width: 100%;
  min-height: 100%;
  padding: 1.3rem;
  background:
    radial-gradient(circle at top right, rgba(242, 242, 242, 0.05), transparent 24%),
    linear-gradient(145deg, rgba(14, 14, 14, 0.96) 0%, rgba(18, 18, 18, 0.9) 100%);
}

.signal-panel::after,
.project-card-link::after,
.proof-grid article::after,
.skill-group::after,
.content-block::after,
.contact-console::after,
.book-cover-card::after,
.hero-proof-card::after,
.resume-card::after,
.error-console::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(242, 242, 242, 0.92) 0%, rgba(191, 191, 191, 0.72) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.signal-state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d7f6ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-state::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(103, 215, 255, 0.7);
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.signal-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.book-cover-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(242, 242, 242, 0.05), transparent 24%),
    linear-gradient(145deg, rgba(14, 14, 14, 0.96) 0%, rgba(18, 18, 18, 0.92) 100%);
}

.book-cover-art {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(191, 191, 191, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.signal-copy {
  color: var(--text-soft);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.metric-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  border-radius: var(--radius-tight);
  background: linear-gradient(145deg, rgba(16, 22, 40, 0.88) 0%, rgba(26, 20, 48, 0.84) 100%);
  border: 1px solid rgba(117, 155, 255, 0.2);
  box-shadow: var(--shadow-soft);
}

.metric-card span,
.metric-card small {
  font-family: "IBM Plex Mono", monospace;
}

.metric-card span {
  color: var(--text-muted);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-card strong {
  font-size: 1.5rem;
  color: var(--accent-soft);
  font-family: "Chakra Petch", sans-serif;
}

.metric-card small {
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.55;
}

.dossier-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
}

.dossier-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-tight);
  background: linear-gradient(145deg, rgba(12, 17, 31, 0.76) 0%, rgba(22, 16, 39, 0.76) 100%);
  border: 1px solid rgba(117, 155, 255, 0.18);
}

.dossier-list span {
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dossier-list strong {
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: right;
}

.section {
  padding: clamp(4rem, 6vw, 6.4rem) 0;
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(8, 10, 22, 0.7) 0%, rgba(6, 8, 18, 0.7) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-copy h2,
.contact-layout h2,
.content-block h2 {
  font-size: var(--section-card-heading-size);
  max-width: 18ch;
  text-wrap: balance;
}

.intro-strip {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.proof-grid,
.skill-groups,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

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

.proof-grid article,
.skill-group,
.content-block,
.project-card-link,
.contact-console {
  padding: var(--section-card-padding);
}

.proof-grid h2 {
  margin-bottom: 0.7rem;
  font-size: 1.42rem;
}

.proof-grid p,
.skill-group p,
.about-copy p,
.content-block p,
.content-block li,
.project-summary,
.project-copy li,
.meta-grid span,
.gallery-grid figcaption,
.contact-console p {
  color: var(--text-soft);
}

.content-block p,
.content-block li {
  font-size: var(--section-prose-size);
  line-height: var(--section-prose-line);
}

.proof-kicker,
.project-label,
.meta-label {
  display: block;
  margin-bottom: 0.5rem;
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 100%;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.project-card-featured {
  grid-column: span 2;
}

.project-card-link {
  height: 100%;
  color: inherit;
  text-decoration: none;
  padding: 0;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card-link:hover,
.project-card-link:focus-visible {
  border-color: rgba(103, 215, 255, 0.46);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.54), 0 0 0 1px rgba(138, 115, 255, 0.22);
}

.project-card-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-copy {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.project-copy h3 {
  font-size: 1.75rem;
  color: #f7fbff;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.project-points,
.detail-list {
  display: grid;
  gap: 0.72rem;
}

.project-points li::marker,
.detail-list li::marker {
  color: var(--accent-strong);
}

.text-link {
  width: fit-content;
  min-height: auto;
  padding: 0;
  color: var(--accent-soft);
  font-weight: 600;
}

.command-panel {
  position: relative;
}

.showcase-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(103, 215, 255, 0.24);
  background:
    radial-gradient(circle at top left, rgba(103, 215, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(8, 11, 24, 0.96) 0%, rgba(8, 10, 20, 0.94) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.showcase-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(103, 215, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 215, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.36;
  pointer-events: none;
}

.showcase-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 6, 12, 0.9) 62%);
  pointer-events: none;
}

.showcase-title,
.showcase-help {
  font-family: "IBM Plex Mono", monospace;
}

.showcase-title {
  color: #f8fcff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-help {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.showcase-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.showcase-readout article {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.85rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(103, 215, 255, 0.16);
  background: rgba(6, 10, 22, 0.8);
}

.showcase-readout span,
.mission-legend,
.mission-card-node,
.loadout-list span,
.quest-list span,
.stat-row span,
.showcase-readout strong,
.showcase-readout article span {
  font-family: "IBM Plex Mono", monospace;
}

.showcase-readout article span {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.showcase-readout article strong {
  color: #f6fbff;
  font-size: 0.92rem;
}

.mission-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.legend-dot-live {
  background: linear-gradient(135deg, rgba(103, 215, 255, 0.95), rgba(138, 115, 255, 0.9));
}

.legend-dot-build {
  background: linear-gradient(135deg, rgba(255, 95, 167, 0.95), rgba(138, 115, 255, 0.9));
}

.legend-dot-publish {
  background: linear-gradient(135deg, rgba(255, 178, 95, 0.95), rgba(255, 95, 167, 0.9));
}

.mission-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.mission-route {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(103, 215, 255, 0.08), rgba(103, 215, 255, 0.7), rgba(255, 95, 167, 0.62), rgba(255, 178, 95, 0.35));
  box-shadow: 0 0 16px rgba(103, 215, 255, 0.18);
}

.mission-route-alpha {
  top: 11.8rem;
  left: 26%;
  width: 24%;
  transform: rotate(-12deg);
}

.mission-route-beta {
  top: 25.8rem;
  left: 50%;
  width: 15%;
  transform: rotate(26deg);
}

.mission-node {
  position: relative;
  z-index: 1;
}

.mission-node-primary {
  grid-column: 1 / span 7;
}

.mission-node-secondary {
  grid-column: 8 / span 7;
  margin-top: 0;
}

.mission-node-tertiary {
  grid-column: 4 / span 8;
  margin-top: 1.2rem;
}

.mission-card {
  display: grid;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

[data-tilt] {
  perspective: 1400px;
}

.mission-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(103, 215, 255, 0.12);
}

.mission-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-card-media-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.98) 0%, rgba(15, 19, 34, 0.98) 100%);
}

.mission-card-ui-shot {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 0.7rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  filter: brightness(0.97) contrast(1.08) saturate(1.04);
}

.mission-card-node {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 7, 15, 0.82);
  color: #eff7ff;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission-card-aura {
  position: absolute;
  inset: auto 0 0 0;
  height: 0.28rem;
}

.mission-card-aura-live {
  background: linear-gradient(90deg, var(--accent), var(--accent-violet));
}

.mission-card-aura-build {
  background: linear-gradient(90deg, var(--accent-hot), var(--accent-violet));
}

.mission-card-aura-publish {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-hot));
}

.mission-copy {
  gap: 0.9rem;
}

.project-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-telemetry span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 24, 0.7);
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-action-button {
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
  justify-content: center;
  font-weight: 700;
}

.dossier-toggle[aria-expanded="true"] {
  border-color: rgba(103, 215, 255, 0.42);
  background: rgba(10, 16, 30, 0.76);
}

.dossier-drawer {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(103, 215, 255, 0.14);
  background: linear-gradient(145deg, rgba(7, 11, 22, 0.92) 0%, rgba(21, 16, 39, 0.88) 100%);
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.dossier-grid article {
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(117, 155, 255, 0.12);
  background: rgba(8, 11, 23, 0.72);
}

.dossier-grid span {
  color: #ffd4a1;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.dossier-grid p,
.dossier-grid li {
  color: var(--text-soft);
}

.dossier-wide {
  grid-column: 1 / -1;
}

.project-card.is-filtered-out {
  opacity: 0.38;
  transform: scale(0.985);
  filter: saturate(0.52);
}

.project-card.is-filter-match .mission-card {
  border-color: rgba(103, 215, 255, 0.44);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.54), 0 0 0 1px rgba(103, 215, 255, 0.18);
}

.mission-card-locked {
  background:
    radial-gradient(circle at top right, rgba(255, 95, 167, 0.12), transparent 28%),
    radial-gradient(circle at left bottom, rgba(138, 115, 255, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(10, 15, 30, 0.94) 0%, rgba(25, 18, 44, 0.9) 100%);
}

.mission-card-locked .text-link {
  color: #ffcadc;
}

.loadout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1rem;
}

.skill-map-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at top right, rgba(103, 215, 255, 0.14), transparent 28%),
    radial-gradient(circle at left bottom, rgba(255, 95, 167, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(10, 15, 30, 0.94) 0%, rgba(25, 18, 44, 0.9) 100%);
}

.skill-map-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 52%, var(--accent-hot) 100%);
}

.skill-map-copy {
  display: grid;
  gap: 0.7rem;
}

.skill-map-copy h3 {
  font-size: 1.55rem;
}

.skill-map-copy p {
  color: var(--text-soft);
}

.skill-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-map-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.skill-chip {
  min-height: 2.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 215, 255, 0.16);
  background: rgba(7, 11, 22, 0.76);
  color: var(--text-soft);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.skill-chip:hover,
.skill-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(103, 215, 255, 0.4);
  color: var(--text);
}

.skill-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #6ce5ff 0%, #91bcff 48%, #ff73af 100%);
  color: #07111c;
}

.skill-filter-status {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.skill-reset {
  min-height: 2.4rem;
  padding: 0.55rem 0.95rem;
}

.skill-proof-panel {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(117, 155, 255, 0.14);
  background: rgba(8, 12, 24, 0.72);
}

.skill-proof-panel h3 {
  font-size: 1.22rem;
}

.skill-proof-panel p:last-child {
  color: var(--text-soft);
}

.loadout-card,
.stat-sheet,
.quest-card {
  min-height: 100%;
}

.loadout-list,
.quest-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.loadout-list {
  margin-top: 1rem;
}

.loadout-list li,
.quest-list li {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(103, 215, 255, 0.12);
  background: rgba(7, 10, 21, 0.76);
}

.loadout-list span,
.quest-list span {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loadout-list strong,
.quest-list strong {
  font-size: 0.95rem;
  color: #f4fbff;
}

.loadout-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.loadout-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 215, 255, 0.18);
  background: rgba(14, 18, 36, 0.76);
  color: var(--accent-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "IBM Plex Mono", monospace;
}

.stat-sheet h3,
.quest-card h3,
.loadout-card h3 {
  max-width: 15ch;
}

.stat-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(8rem, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.stat-row span {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-row strong {
  color: #f8fbff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-meter {
  height: 0.52rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.stat-meter span {
  display: block;
  width: var(--meter, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-violet), var(--accent-hot));
  box-shadow: 0 0 18px rgba(103, 215, 255, 0.24);
}

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

.skill-group h3,
.content-block h2,
.content-block h3 {
  margin-bottom: 0.85rem;
}

.about-layout,
.contact-layout,
.project-layout {
  display: grid;
  gap: 1rem;
}

.about-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 1fr);
  align-items: stretch;
}

.contact-console {
  display: grid;
  gap: 1rem;
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(255, 182, 110, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(103, 215, 255, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(10, 15, 30, 0.94) 0%, rgba(25, 18, 44, 0.9) 100%);
}

.site-footer {
  padding: 1.75rem 0 2rem;
}

.footer-content {
  display: grid;
  gap: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.hero-role-line,
.hero-value-line,
.summary-list li span,
.summary-list li strong,
.proof-list li span,
.proof-list li strong,
.evidence-list li span,
.evidence-list li strong,
.footer-role,
.footer-name,
.resume-list strong,
.resume-list span {
  text-wrap: balance;
}

.hero-role-line {
  margin-top: 0.75rem;
  color: var(--accent-soft);
  font-family: "Chakra Petch", "Sora", sans-serif;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-value-line {
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
}

.hero-subactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 1rem;
}

.recruiter-toggle {
  min-width: 11rem;
}

.hero-helper-text,
.resume-note {
  color: var(--text-muted);
  font-size: 0.84rem;
  max-width: 40rem;
}

.hero-helper-text {
  margin-top: 0.7rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.65rem;
  max-width: 39rem;
}

.operator-dossier {
  display: grid;
  gap: 1rem;
}

.operator-profile {
  display: grid;
  grid-template-columns: minmax(7rem, 8.3rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.operator-portrait {
  width: 100%;
  max-width: 8.3rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(103, 215, 255, 0.24);
  background: linear-gradient(145deg, rgba(8, 12, 24, 0.88) 0%, rgba(22, 16, 39, 0.84) 100%);
  box-shadow: var(--shadow-soft);
}

.operator-identity {
  display: grid;
  gap: 0.55rem;
}

.operator-service-record {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.6;
}

.signal-brief {
  color: var(--text-soft);
  max-width: 34rem;
}

.signal-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(117, 155, 255, 0.16);
  background: rgba(7, 11, 22, 0.7);
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.hero-proof-card,
.achievement-card,
.resume-card,
.featured-mission-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-proof-card,
.resume-card {
  padding: 1.35rem;
}

.summary-list,
.proof-list,
.evidence-list,
.resume-list,
.inventory-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.summary-list,
.proof-list,
.evidence-list,
.resume-list {
  display: grid;
  gap: 0.85rem;
}

.summary-list li,
.proof-list li,
.evidence-list li,
.resume-list li {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(117, 155, 255, 0.14);
}

.summary-list li:first-child,
.proof-list li:first-child,
.evidence-list li:first-child,
.resume-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.summary-list li span,
.proof-list li span,
.evidence-list li span,
.resume-list span,
.footer-role {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.summary-list li strong,
.proof-list li strong,
.evidence-list li strong,
.resume-list strong {
  font-size: 0.96rem;
  line-height: 1.55;
  font-weight: 600;
}

.quest-snapshot {
  display: grid;
  gap: 0.85rem;
}

.quest-snapshot article {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(117, 155, 255, 0.14);
  background: rgba(5, 9, 18, 0.58);
}

.quest-snapshot span,
.achievement-card .proof-kicker,
.resume-page .proof-kicker {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.quest-snapshot strong {
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-featured {
  padding-top: clamp(3rem, 5vw, 4rem);
}

.featured-mission-shell {
  display: grid;
  grid-template-columns: minmax(20rem, 0.94fr) minmax(0, 1.06fr);
  gap: 1.1rem;
}

.featured-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(117, 155, 255, 0.14);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  display: grid;
  gap: 0.95rem;
  padding: 1.45rem;
}

.featured-copy {
  color: var(--text-soft);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.featured-grid article {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(117, 155, 255, 0.14);
  background: linear-gradient(145deg, rgba(9, 13, 25, 0.92) 0%, rgba(18, 15, 36, 0.82) 100%);
}

.featured-grid span,
.achievement-card summary span {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.featured-grid p,
.achievement-card p {
  color: var(--text-soft);
}

.project-summary {
  max-width: 32rem;
}

.skill-map-copy h3,
.hero-proof-card h2,
.resume-card h2,
.featured-content h3 {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
}

.core-stats-card h3,
.inventory-card h3 {
  max-width: 14ch;
}

.inventory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.inventory-list li {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(117, 155, 255, 0.16);
  background: rgba(9, 13, 25, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--accent-soft);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.achievement-card {
  padding: 1.2rem 1.2rem 1.1rem;
  background: linear-gradient(145deg, rgba(10, 15, 30, 0.94) 0%, rgba(25, 18, 44, 0.9) 100%);
}

.achievement-card summary {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  cursor: pointer;
}

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

.achievement-card h3 {
  font-size: 1.22rem;
}

.achievement-proof {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(117, 155, 255, 0.14);
}

.footer-content-compact {
  display: grid;
  gap: 0.95rem;
  align-items: start;
}

.footer-identity {
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
}

.footer-stack {
  display: grid;
  gap: 0.28rem;
}

.footer-name {
  color: var(--text);
  font-family: "Chakra Petch", "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.footer-intro {
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.72;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.footer-links a {
  font-size: 0.92rem;
}

.footer-links-primary a {
  color: var(--text-soft);
}

.footer-links-utility a {
  color: var(--text-muted);
}

.footer-links-utility a:hover,
.footer-links-utility a:focus-visible {
  color: var(--text);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.resume-shell {
  padding-bottom: 1rem;
}

.resume-hero {
  min-height: auto;
  padding-top: 1rem;
}

.resume-hero-grid,
.resume-grid {
  display: grid;
  gap: 1rem;
}

.resume-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  align-items: start;
}

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

.resume-card .stacked-links {
  margin-top: 1rem;
}

.project-page .section {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 62rem;
}

.meta-grid div {
  padding: 1rem 1rem 1.05rem;
  background: rgba(9, 14, 24, 0.82);
}

.project-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.project-main {
  display: grid;
  gap: 1rem;
}

.project-side {
  display: grid;
  gap: 1rem;
  position: static;
}

.project-page .project-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.4rem, 6.8vw, 5.85rem);
}

.project-page .hero-copy {
  max-width: 60rem;
  font-size: clamp(1.14rem, 2.15vw, 1.32rem);
}

.project-page .project-hero-inner {
  display: grid;
  align-content: end;
  gap: 1.15rem;
}

.project-page .book-hero-grid,
.project-page .tracker-hero-grid {
  gap: 1.6rem;
}

.project-page .project-hero .eyebrow,
.project-page .project-hero .hero-copy,
.project-page .project-hero .badge-row,
.project-page .project-hero .meta-grid,
.project-page .project-hero .site-note,
.project-page .project-hero .hero-actions {
  margin-top: 0;
  margin-bottom: 0;
}

.project-page .status-chip {
  min-height: 2.15rem;
  padding: 0.42rem 0.82rem;
  font-size: 0.82rem;
}

.project-page .meta-label {
  font-size: 0.8rem;
}

.project-page .meta-grid {
  max-width: none;
  gap: 1.1rem;
}

.project-page .meta-grid div {
  padding: 1.1rem 1.1rem 1.15rem;
}

.project-page .meta-grid div > span:not(.meta-label) {
  font-size: 1.05rem;
  line-height: 1.7;
}

.project-page .project-main,
.project-page .project-side {
  gap: 1.2rem;
}

.project-page .content-block {
  padding: 1.65rem;
}

.project-page .content-block h2 {
  font-size: clamp(2.15rem, 3.8vw, 3rem);
  max-width: 20ch;
}

.project-page .content-block h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.project-page .content-block p,
.project-page .content-block li,
.project-page .gallery-grid figcaption,
.project-page .tracker-hero-shot figcaption,
.project-page .book-cover-card p,
.project-page .project-side .content-block p {
  font-size: 1.03rem;
  line-height: 1.78;
}

.project-page .detail-list {
  gap: 0.9rem;
}

.project-page .gallery-grid {
  gap: 1.15rem;
}

.project-page .gallery-grid figure {
  gap: 0.85rem;
}

.project-page--tracker-detail .project-hero h1 {
  font-size: clamp(4.2rem, 8.1vw, 6.8rem);
}

.project-page--tracker-detail .hero-copy {
  font-size: clamp(1.36rem, 2.65vw, 1.62rem);
  max-width: 62rem;
}

.project-page--tracker-detail .status-chip,
.project-page--tracker-detail .meta-label,
.project-page--tracker-detail .meta-grid div > span:not(.meta-label) {
  font-size: 0.98rem;
}

.project-page--tracker-detail .meta-grid div > span:not(.meta-label) {
  font-size: 1.2rem;
}

.project-page--tracker-detail .content-block {
  padding: 2.1rem;
}

.project-page--tracker-detail .content-block h2 {
  font-size: clamp(2.95rem, 5vw, 4rem);
}

.project-page--tracker-detail .content-block h3 {
  font-size: clamp(1.72rem, 3.15vw, 2.25rem);
}

.project-page--tracker-detail .content-block p,
.project-page--tracker-detail .content-block li,
.project-page--tracker-detail .gallery-grid figcaption,
.project-page--tracker-detail .tracker-hero-shot figcaption {
  font-size: 1.24rem;
  line-height: 1.9;
}

.project-page--tracker-detail .detail-list {
  gap: 1.05rem;
}

.project-reel {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.project-reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: reel-cycle 12s infinite;
}

.project-reel img:nth-child(1) {
  animation-delay: 0s;
}

.project-reel img:nth-child(2) {
  animation-delay: 4s;
}

.project-reel img:nth-child(3) {
  animation-delay: 8s;
}

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

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

.gallery-grid figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: brightness(0.97) contrast(1.08) saturate(1.04);
}

.zoomable-shot {
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.zoomable-shot:hover,
.zoomable-shot:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.zoomable-shot:focus-visible {
  outline: 2px solid rgba(103, 215, 255, 0.8);
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 0.9rem;
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(14px);
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox-dialog {
  width: min(100%, 112rem);
  max-height: calc(100vh - 1.8rem);
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(103, 215, 255, 0.24);
  background: linear-gradient(145deg, rgba(8, 12, 24, 0.98) 0%, rgba(18, 15, 36, 0.96) 100%);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.48);
}

.media-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.media-lightbox-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.media-lightbox-close {
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.75rem;
}

.media-lightbox-frame {
  display: grid;
  place-items: center;
  overflow: auto;
  border-radius: calc(var(--radius) - 0.2rem);
  border: 1px solid rgba(103, 215, 255, 0.14);
  background: rgba(5, 8, 18, 0.78);
}

.media-lightbox-frame img {
  display: block;
  max-width: min(100%, 108rem);
  max-height: calc(100vh - 8.25rem);
  width: auto;
  height: auto;
  border-radius: 0.7rem;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
}

.media-lightbox-caption {
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.72;
}

.gallery-grid figcaption {
  font-size: 0.95rem;
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.workflow-step {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1rem;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(103, 215, 255, 0.14);
  background: rgba(8, 12, 24, 0.74);
}

.workflow-step span {
  color: #ffd4a1;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.workflow-step h3 {
  font-size: 1.05rem;
  color: #f7fbff;
}

.workflow-step p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.volume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.volume-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.6rem;
  min-height: 100%;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(135deg, rgba(11, 16, 31, 0.94) 0%, rgba(24, 17, 42, 0.88) 100%);
  box-shadow: var(--shadow-soft);
}

.journey-grid {
  position: relative;
  display: grid;
  gap: 1rem;
  max-width: 64rem;
}

.journey-grid::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(103, 215, 255, 0.8) 0%, rgba(138, 115, 255, 0.58) 52%, rgba(255, 95, 167, 0.34) 100%);
  box-shadow: 0 0 18px rgba(103, 215, 255, 0.16);
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.2rem 1.2rem 0.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(135deg, rgba(11, 16, 31, 0.94) 0%, rgba(24, 17, 42, 0.88) 100%);
  box-shadow: var(--shadow-soft);
}

.journey-index {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6ce5ff 0%, #91bcff 48%, #ff73af 100%);
  color: #07111c;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
  box-shadow: 0 0 0 6px rgba(8, 11, 22, 0.9);
}

.journey-copy {
  display: grid;
  gap: 0.55rem;
}

.journey-copy h3 {
  font-size: 1.38rem;
  max-width: 22ch;
}

.journey-copy p:last-child {
  color: var(--text-soft);
}

.error-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 95, 167, 0.13), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(103, 215, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #080b15 0%, #04050d 100%);
}

.error-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.error-grid {
  width: min(calc(100% - 2rem), 54rem);
  display: grid;
  gap: 1.4rem;
}

.error-brand {
  width: fit-content;
}

.error-console {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding: 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at top right, rgba(103, 215, 255, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(255, 95, 167, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(10, 15, 30, 0.94) 0%, rgba(25, 18, 44, 0.9) 100%);
}

.error-console::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 55%, var(--accent-hot) 100%);
}

.error-console h1 {
  font-size: clamp(2.7rem, 7vw, 4.4rem);
  max-width: 11ch;
}

.error-dossier {
  margin-top: 0.4rem;
}

.volume-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 55%, var(--accent-strong) 100%);
}

.volume-card h3 {
  font-size: 1.25rem;
}

.preview-shell {
  display: grid;
  gap: 1.2rem;
}

.preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.preview-intro,
.preview-smallprint,
.preview-warning {
  color: var(--text-soft);
}

.preview-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.preview-button,
.preview-step {
  border: 1px solid rgba(103, 215, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 13, 28, 0.82);
  color: var(--text-soft);
  padding: 0.7rem 1rem;
  font: inherit;
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.preview-button:hover,
.preview-button:focus-visible,
.preview-step:hover,
.preview-step:focus-visible {
  color: var(--text);
  border-color: rgba(103, 215, 255, 0.42);
  transform: translateY(-1px);
}

.preview-button.is-active {
  color: #06101a;
  background: linear-gradient(135deg, #6ce5ff 0%, #91bcff 48%, #ff73af 100%);
  border-color: transparent;
}

.preview-controls {
  display: flex;
  gap: 0.7rem;
}

.preview-panel {
  display: none;
  gap: 0.9rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(103, 215, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(135deg, rgba(8, 13, 27, 0.96) 0%, rgba(20, 18, 40, 0.9) 100%);
}

.preview-panel.is-active {
  display: grid;
}

.preview-topline {
  color: #ffd4a1;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "IBM Plex Mono", monospace;
}

.preview-panel h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.preview-prose {
  display: grid;
  gap: 0.9rem;
}

.preview-prose p {
  color: var(--text-soft);
}

.preview-warning {
  font-size: 0.95rem;
}

.compact-list {
  gap: 0.55rem;
}

@keyframes reel-cycle {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }

  33%,
  95% {
    opacity: 0;
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.72;
  }
}

@keyframes drift-glow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(1.5%, -1.5%, 0) scale(1.04);
  }
}

@keyframes drift-grid {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, 18px, 0);
  }
}

@media (max-width: 980px) {
  .hero-shell,
  .book-hero-grid,
  .tracker-hero-grid,
  .proof-grid,
  .project-grid,
  .mission-map,
  .loadout-grid,
  .dossier-grid,
  .skill-groups,
  .gallery-grid,
  .workflow-diagram,
  .meta-grid,
  .about-layout,
  .contact-layout,
  .project-layout,
  .volume-grid {
    grid-template-columns: 1fr;
  }

  .project-card-featured {
    grid-column: span 1;
  }

  .project-side {
    position: static;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .mission-node-primary,
  .mission-node-secondary,
  .mission-node-tertiary {
    grid-column: auto;
    margin-top: 0;
  }

  .mission-route {
    display: none;
  }

  .journey-grid::before {
    left: 1.15rem;
  }
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  .site-header .inner {
    min-height: 4rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

   .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-lockup {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.25rem 0 0.75rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .project-hero {
    min-height: 36rem;
  }

  .hero h1,
  .project-hero h1 {
    max-width: 11ch;
  }

  .hero-shell {
    padding-top: 4.5rem;
  }

  .book-hero-grid,
  .tracker-hero-grid {
    padding-top: 4.5rem;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .hero-actions,
  .contact-links,
  .stacked-links,
  .preview-controls {
    flex-direction: column;
  }

  .project-copy,
  .proof-grid article,
  .skill-group,
  .content-block,
  .contact-console {
    padding: 1.15rem;
  }

  .brand-name {
    font-size: calc(var(--header-brand-name-size) * 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-role {
    font-size: calc(var(--header-brand-role-size) * 0.89);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

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

  .skill-chip-list,
  .project-actions,
  .error-actions {
    flex-direction: column;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .mission-legend {
    flex-direction: column;
    gap: 0.55rem;
  }

  .preview-nav {
    gap: 0.55rem;
  }

  .preview-button,
  .preview-step {
    width: 100%;
    justify-content: center;
  }

  .dossier-list li {
    align-items: start;
    flex-direction: column;
  }

  .dossier-list strong {
    text-align: left;
  }

  .journey-step {
    grid-template-columns: 1fr;
    padding-left: 1rem;
  }

  .journey-grid::before {
    display: none;
  }

  .journey-index {
    box-shadow: none;
  }

  .error-console {
    padding: 1.2rem;
  }
}

@media (max-width: 980px) {
  .hero-proof-grid,
  .featured-mission-shell,
  .featured-grid,
  .achievement-grid,
  .resume-hero-grid,
  .resume-grid,
  .footer-content-compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-subactions {
    flex-direction: column;
    align-items: stretch;
  }

  .operator-profile {
    grid-template-columns: 1fr;
  }

  .operator-portrait {
    max-width: 7.2rem;
  }

  .skill-map-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .signal-pill-row {
    flex-direction: column;
  }

  .hero-proof-card,
  .resume-card,
  .achievement-card,
  .featured-content {
    padding: 1.15rem;
  }

  .featured-media {
    min-height: 15rem;
    border-right: 0;
    border-bottom: 1px solid rgba(117, 155, 255, 0.14);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.brand--sigil .brand-lockup {
  gap: 0.16rem;
}

.brand-mark-sigil {
  width: var(--header-brand-size);
  height: var(--header-brand-size);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(242, 242, 242, 0.08);
}

.site-nav a.is-current {
  color: var(--header-text);
}

.site-nav a.is-current::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.35rem;
  background: var(--header-accent);
  border-radius: 999px;
}

.audio-toggle[aria-pressed="true"] {
  border-color: rgba(103, 215, 255, 0.58);
  background: linear-gradient(135deg, rgba(18, 28, 48, 0.96) 0%, rgba(34, 23, 57, 0.96) 100%);
  box-shadow: 0 16px 34px rgba(103, 215, 255, 0.14);
}

.landing-audio-note {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.section-page-main {
  padding-bottom: 4rem;
}

.section-page .section-page-hero .inner,
.section-page .section .inner,
.section-page .site-footer .inner {
  width: min(calc(100% - 2.5rem), var(--section-shell-width));
  max-width: none;
}

.section-page-hero {
  position: relative;
  min-height: var(--section-hero-height);
  padding: 0;
  overflow: hidden;
}

.section-page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
  min-height: var(--section-hero-height);
  padding: var(--section-hero-copy-top) 0 var(--section-hero-copy-bottom);
}

.section-page-hero h1 {
  max-width: var(--section-heading-max);
  font-size: var(--section-heading-size);
  color: var(--text);
}

.section-page .hero-copy {
  max-width: 60rem;
  font-size: var(--section-prose-size);
  line-height: var(--section-prose-line);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--section-grid-gap);
}

.stacked-links-inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.stacked-links-inline .button {
  min-width: 12rem;
}

@media (max-width: 980px) {
  .section-page-main {
    padding-bottom: 3rem;
  }

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

@media (max-width: 760px) {
  .brand-mark-sigil {
    width: calc(var(--header-brand-size) * 0.8833);
    height: calc(var(--header-brand-size) * 0.8833);
  }

  .section-page-hero {
    min-height: clamp(24rem, 86vw, 32rem);
  }

  .section-page-hero-inner {
    min-height: clamp(24rem, 86vw, 32rem);
    padding: clamp(5.6rem, 18vw, 6.6rem) 0 2rem;
  }

  .section-page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .section-page .hero-copy {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.68;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .site-header .inner {
    gap: 0.75rem;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-mark-sigil {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-name {
    font-size: calc(var(--header-brand-name-size) * 0.8);
  }

  .brand-role {
    display: none;
  }

  .menu-toggle {
    padding: 0.55rem 0.78rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .site-header .inner {
    width: min(calc(100% - 1.2rem), var(--content-width));
    gap: 0.55rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark-sigil {
    width: 2rem;
    height: 2rem;
  }

  .brand-name {
    font-size: 0.76rem;
  }

  .menu-toggle {
    padding: 0.5rem 0.66rem;
    font-size: 0.84rem;
  }
}
