:root {
  color-scheme: light;
  --background: #d7d9d8;
  --ink: #050505;
  --panel-surface: #e7e9e8;
  --card-surface: #e6e8e7;
  --media-surface: #f4f4f4;
  --soft-surface: rgba(231, 233, 232, 0.68);
  --soft-surface-hover: rgba(231, 233, 232, 0.9);
  --control-border: rgba(5, 5, 5, 0.22);
  --control-border-hover: rgba(5, 5, 5, 0.42);
  --focus-ring: rgba(5, 5, 5, 0.78);
}

.home-page.is-dark {
  color-scheme: dark;
  --background: #1d1f1f;
  --ink: #e2e0e0;
  --soft-surface: rgba(5, 5, 5, 0.58);
  --soft-surface-hover: rgba(5, 5, 5, 0.84);
  --control-border: rgba(226, 224, 224, 0.28);
  --control-border-hover: rgba(226, 224, 224, 0.56);
  --focus-ring: rgba(226, 224, 224, 0.86);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

html:has(body.about-page) {
  overflow-x: hidden;
}

.home-page {
  overflow: hidden;
}

.about-page {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  color: #252525;
}

.about-page.is-dark {
  color-scheme: dark;
  --background: #1d1f1f;
  --ink: #e2e0e0;
  --panel-surface: rgba(226, 224, 224, 0.035);
  --card-surface: rgba(226, 224, 224, 0.035);
  --media-surface: rgba(226, 224, 224, 0.035);
  background: var(--background);
  color: var(--ink);
}

html.about-dark,
html:has(body.about-page.is-dark) {
  background: #1d1f1f;
}

html:has(body.word-graph-page.word-graph-light) {
  background: #d7d9d8;
}

html.word-graph-light-root,
html.word-graph-light-root body.word-graph-page {
  background: #d7d9d8 !important;
}

html.word-graph-dark-root,
html.word-graph-dark-root body.word-graph-page {
  background: #1d1f1f !important;
}

body {
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

main {
  position: relative;
  width: 100vw;
  height: 100svh;
  background: var(--background);
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--background);
}

button {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

.reset-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.reset-button:hover {
  transform: translateY(-1px);
}

.reset-button:focus-visible,
.menu-particle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.theme-toggle {
  position: fixed;
  right: 112px;
  bottom: 24px;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.menu-particle {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    0 0 0 1px rgba(5, 5, 5, 0.04),
    0 1px 4px rgba(5, 5, 5, 0.12);
  cursor: pointer;
  transform: translate3d(-50%, -50%, 0) scale(var(--menu-scale, 1));
  transition:
    background 140ms ease,
    box-shadow 140ms ease;
}

.menu-particle:hover,
.menu-particle:focus-visible {
  background: var(--ink);
  box-shadow:
    0 0 0 4px rgba(5, 5, 5, 0.08),
    0 2px 8px rgba(5, 5, 5, 0.16);
}

.menu-callout {
  --line-x: 0px;
  --line-y: 0px;
  --line-length: 110px;
  --line-angle: 0rad;
  --label-x: 50vw;
  --label-y: 20vh;
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.menu-callout.is-visible,
.menu-particle:hover + .menu-callout,
.menu-particle:focus + .menu-callout {
  opacity: 1;
}

.menu-line {
  position: absolute;
  left: var(--line-x);
  top: var(--line-y);
  width: var(--line-length);
  height: 1.25px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(var(--line-angle));
  transform-origin: left center;
}

.menu-label {
  position: absolute;
  left: var(--label-x);
  top: var(--label-y);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  border: 1.25px solid var(--ink);
  border-radius: 5px;
  background: var(--background);
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
  .reset-button {
    right: 16px;
    bottom: 16px;
  }

  .theme-toggle {
    right: 104px;
    bottom: 16px;
  }

  .menu-particle {
    width: 16px;
    height: 16px;
  }

  .menu-callout {
    --line-length: 70px;
  }

  .menu-label {
    min-height: 32px;
    padding: 0 9px;
    font-size: 13px;
  }
}

.about-shell {
  width: min(100%, 1540px);
  min-height: 100%;
  margin: 0 auto;
  padding: 34px 36px 28px;
  background: var(--background);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.about-page.is-dark .about-shell {
  background: var(--background);
}

.about-topbar,
.about-footer,
.split-row,
.panel-heading,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-topbar,
.about-footer {
  color: rgba(37, 37, 37, 0.72);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-family: "Menlo", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.top-nav a {
  color: inherit;
  text-decoration: none;
}

.top-nav a[aria-current="page"] {
  color: #252525;
}

.home-nav {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 4;
  color: rgba(5, 5, 5, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.home-page.is-dark .home-nav {
  color: rgba(226, 224, 224, 0.72);
}

.home-page.is-dark .home-nav a[aria-current="page"] {
  color: #e2e0e0;
}

.about-page.is-dark .about-topbar,
.about-page.is-dark .about-footer,
.about-page.is-dark .panel-heading,
.about-page.is-dark .project-index,
.about-page.is-dark .panel-footer,
.about-page.is-dark .timeline article > span,
.about-page.is-dark .tag-row span {
  color: rgba(226, 224, 224, 0.72);
}

.about-page.is-dark .top-nav a[aria-current="page"] {
  color: #e2e0e0;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.about-theme-toggle,
.theme-toggle,
.reset-button,
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 30px;
  min-width: 78px;
  padding: 0 11px;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 999px;
  background: rgba(231, 233, 232, 0.42);
  color: #252525;
  font-family: "Menlo", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.mobile-menu-toggle {
  display: none;
  min-width: 0;
}

.theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
}

.theme-toggle-icon svg {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.theme-icon-moon {
  opacity: 1;
}

.theme-icon-sun {
  opacity: 0;
}

.about-page.is-dark .about-theme-toggle,
.about-page.is-dark .mobile-menu-toggle,
.home-page.is-dark .theme-toggle,
.home-page.is-dark .reset-button {
  border-color: rgba(226, 224, 224, 0.24);
  background: rgba(29, 31, 31, 0.72);
  color: var(--ink);
}

.about-page.is-dark .theme-icon-moon,
.home-page.is-dark .theme-icon-moon {
  opacity: 0;
}

.about-page.is-dark .theme-icon-sun,
.home-page.is-dark .theme-icon-sun {
  opacity: 1;
}

.about-theme-toggle:hover,
.about-theme-toggle:focus-visible,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle[aria-expanded="true"],
.theme-toggle:hover,
.theme-toggle:focus-visible,
.reset-button:hover,
.reset-button:focus-visible {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.24);
  outline: 0;
}

.about-page.is-dark .about-theme-toggle:hover,
.about-page.is-dark .about-theme-toggle:focus-visible,
.about-page.is-dark .mobile-menu-toggle:hover,
.about-page.is-dark .mobile-menu-toggle:focus-visible,
.about-page.is-dark .mobile-menu-toggle[aria-expanded="true"],
.home-page.is-dark .theme-toggle:hover,
.home-page.is-dark .theme-toggle:focus-visible,
.home-page.is-dark .reset-button:hover,
.home-page.is-dark .reset-button:focus-visible {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.16);
}

.about-theme-toggle:focus-visible,
.mobile-menu-toggle:focus-visible,
.theme-toggle:focus-visible,
.reset-button:focus-visible {
  outline: 0;
}

.system-mark,
.top-nav a,
.about-footer a,
.panel-heading a,
.connect-panel a {
  color: inherit;
  text-decoration: none;
}

.panel-heading h2::after,
.connect-panel h2::after {
  content: "•";
  margin-left: 18px;
}

.about-hero {
  display: block;
  padding: 58px 24px 58px;
}

.about-hero h1 {
  margin: 0 0 34px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(76px, 11vw, 170px);
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: 0;
}

.role {
  margin: 0 0 10px;
  font-size: 22px;
}

.tagline {
  margin: 0;
  font-size: 15px;
}

.section-kicker,
.panel-heading h2,
.connect-panel h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
}

.status-card,
.panel,
.project-card {
  border: 1px solid rgba(37, 37, 37, 0.13);
  border-radius: 24px;
  background: var(--panel-surface);
}

.about-page.is-dark .status-card,
.about-page.is-dark .panel,
.about-page.is-dark .project-card {
  border-color: rgba(226, 224, 224, 0.13);
  background: rgba(226, 224, 224, 0.035);
}

.status-card {
  padding: 26px;
}

.status-card p {
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.55;
}

.signal-bars {
  display: flex;
  align-items: end;
  height: 84px;
  gap: 4px;
  margin: 26px 0 18px;
}

.signal-bars span {
  flex: 1;
  min-width: 3px;
  background: rgba(37, 37, 37, 0.33);
}

.about-page.is-dark .signal-bars span {
  background: rgba(226, 224, 224, 0.36);
}

.signal-bars span:nth-child(3n) {
  height: 44%;
}

.signal-bars span:nth-child(3n + 1) {
  height: 72%;
}

.signal-bars span:nth-child(3n + 2) {
  height: 58%;
}

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

.panel {
  padding: 26px;
}

.panel-heading {
  margin-bottom: 24px;
  color: rgba(37, 37, 37, 0.86);
  font-size: 12px;
}

.experience-panel,
.connect-panel {
  grid-column: 1 / -1;
}

.bio-panel {
  grid-column: 1;
}

.location-panel,
.skills-panel {
  grid-column: 2;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 386px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: var(--card-surface);
}

.project-index {
  margin-bottom: 20px;
  color: rgba(37, 37, 37, 0.72);
  font-size: 12px;
}

.project-index a {
  color: inherit;
  text-decoration: none;
}

.project-visual {
  position: relative;
  height: 164px;
  margin-bottom: 26px;
  border-radius: 12px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  background:
    linear-gradient(135deg, rgba(37, 37, 37, 0.09), transparent 58%),
    var(--media-surface);
  overflow: hidden;
}

.about-page.is-dark .project-visual {
  border-color: rgba(226, 224, 224, 0.12);
  background:
    linear-gradient(90deg, rgba(226, 224, 224, 0.07) 12%, transparent 12%),
    repeating-linear-gradient(0deg, rgba(226, 224, 224, 0.08) 0 1px, transparent 1px 28px),
    rgba(226, 224, 224, 0.035);
}

.project-visual span {
  display: none;
}

.project-visual-image {
  display: grid;
  place-items: center;
  background: var(--media-surface);
}

.project-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-placeholder {
  height: 280px;
  margin-bottom: 22px;
}

.dashboard-one::after {
  content: none;
}

.project-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
}

.project-card p,
.bio-panel p,
.timeline p,
.location-panel p,
.connect-panel p {
  color: rgba(37, 37, 37, 0.84);
  font-size: 13px;
  line-height: 1.55;
}

.project-link {
  display: block;
  margin: -8px 0 14px;
  color: inherit;
  font-size: 11px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-page.is-dark .project-card p,
.about-page.is-dark .bio-panel p,
.about-page.is-dark .timeline p,
.about-page.is-dark .location-panel p,
.about-page.is-dark .connect-panel p {
  color: rgba(226, 224, 224, 0.82);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
}

.tag-row span,
.timeline article > span {
  padding: 5px 10px;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 999px;
  color: rgba(37, 37, 37, 0.72);
  font-size: 10px;
}

.timeline article > span {
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: right;
}

.about-page.is-dark .tag-row span,
.about-page.is-dark .timeline article > span {
  border-color: rgba(226, 224, 224, 0.16);
}

.about-page.is-dark .timeline article > span {
  border-color: transparent;
}

.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #ff8abd;
  color: #f7f2f4;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 300;
}

.about-page.is-dark .avatar {
  background: #ff8abd;
  color: #f7f2f4;
}

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

.skills-list li {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 16px;
  background: rgba(235, 234, 234, 0.26);
  color: rgba(37, 37, 37, 0.84);
  font-size: 13px;
}

.skill-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(37, 37, 37, 0.16);
  border-radius: 50%;
  color: rgba(37, 37, 37, 0.72);
  font-size: 10px;
  line-height: 1;
}

.about-page.is-dark .skills-list li {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.035);
  color: rgba(226, 224, 224, 0.82);
}

.about-page.is-dark .skill-icon {
  border-color: rgba(226, 224, 224, 0.18);
  color: rgba(226, 224, 224, 0.72);
}

.panel-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(37, 37, 37, 0.12);
  color: rgba(37, 37, 37, 0.62);
  font-size: 11px;
}

.about-page.is-dark .panel-footer,
.about-page.is-dark .timeline article,
.about-page.is-dark .location-panel dl {
  border-color: rgba(226, 224, 224, 0.12);
}

.timeline article {
  display: grid;
  grid-template-columns: 150px 210px minmax(0, 1fr) 150px;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(37, 37, 37, 0.12);
}

.timeline time,
.timeline h3,
.timeline article > span,
.location-panel dl,
.connect-panel {
  font-size: 12px;
  font-weight: 400;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline h3 a {
  display: block;
  margin-top: 6px;
  color: inherit;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(170px, 0.8fr);
  align-items: start;
  gap: 22px;
  margin-bottom: 30px;
}

.location-name {
  margin: 8px 0 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 34px !important;
  font-weight: 250;
  line-height: 1;
}

.texas-map {
  position: relative;
  width: min(100%, 230px);
  margin: 0 0 0 auto;
}

.texas-shape-img {
  display: block;
  width: 100%;
  height: auto;
}

.texas-marker {
  position: absolute;
  left: 52.5%;
  top: 54%;
  width: 15px;
  height: 15px;
  border: 3px solid #232323;
  border-radius: 50%;
  background: var(--background);
  transform: translate(-50%, -50%);
}

.texas-marker::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #232323;
}

.about-page.is-dark .texas-marker {
  border-color: #e2e0e0;
}

.about-page.is-dark .texas-marker::after {
  background: #e2e0e0;
}

.location-panel dl {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(37, 37, 37, 0.12);
}

.location-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0;
}

.location-panel dd {
  margin: 0;
}

.connect-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.25fr;
  gap: 32px;
}

.connect-panel a {
  display: block;
  margin: 16px 0 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: #6ad671;
}

.about-page.is-dark .status-dot {
  background: #63ff6e;
}

.coordinate-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 110px;
  padding: 22px;
  border-radius: 20px;
  background: #232323;
  color: #e8e7e7;
}

.about-page.is-dark .coordinate-card {
  background: rgba(226, 224, 224, 0.06);
  color: #e2e0e0;
  border: 1px solid rgba(226, 224, 224, 0.12);
}

.about-footer {
  padding: 40px 24px 12px;
}

.undefined-shell {
  min-height: 100svh;
}

.projects-shell {
  min-height: 100svh;
}

.projects-hero h1 {
  font-size: clamp(72px, 11vw, 158px);
  line-height: 0.92;
}

.projects-section,
.additional-panel {
  width: 100%;
}

.projects-section {
  padding: 0 16px;
}

.screenshots-panel {
  padding: 0 16px;
}

.user-flow-panel {
  padding: 0 16px;
}

.additional-panel {
  margin: 36px 0 0;
  padding: 26px;
}

.project-detail-shell {
  min-height: 100svh;
}

.project-detail-hero {
  padding-bottom: 46px;
}

.project-detail-hero h1 {
  max-width: 1040px;
  font-size: clamp(72px, 11vw, 158px);
  line-height: 0.92;
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: rgba(37, 37, 37, 0.72);
  font-size: 12px;
  text-decoration: none;
}

.about-page.is-dark .back-link {
  color: rgba(226, 224, 224, 0.72);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 16px;
}

.detail-summary-panel,
.requirements-panel,
.screenshots-panel,
.user-flow-panel,
.outcome-panel {
  grid-column: 1 / -1;
}

.detail-summary-panel p,
.requirements-panel p,
.screen-card p,
.flow-list p,
.outcome-panel p {
  margin: 0;
  color: rgba(37, 37, 37, 0.84);
  font-size: 13px;
  line-height: 1.55;
}

.detail-summary-panel p + p {
  margin-top: 16px;
}

.detail-summary-panel .tag-row {
  margin-top: 28px;
}

.about-page.is-dark .detail-summary-panel p,
.about-page.is-dark .requirements-panel p,
.about-page.is-dark .screen-card p,
.about-page.is-dark .flow-list p,
.about-page.is-dark .outcome-panel p {
  color: rgba(226, 224, 224, 0.82);
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(37, 37, 37, 0.12);
}

.requirements-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
}

.detail-list dt,
.detail-list dd {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.detail-list dt {
  color: rgba(37, 37, 37, 0.62);
}

.about-page.is-dark .detail-list,
.about-page.is-dark .detail-list div {
  border-color: rgba(226, 224, 224, 0.12);
}

.about-page.is-dark .detail-list dt {
  color: rgba(226, 224, 224, 0.62);
}

.requirement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.requirement-list article {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 16px;
  background: var(--card-surface);
}

.requirement-list span,
.flow-list > li > span {
  display: block;
  margin-bottom: 34px;
  color: rgba(37, 37, 37, 0.62);
  font-size: 12px;
}

.about-page.is-dark .requirement-list article {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.035);
}

.about-page.is-dark .requirement-list span,
.about-page.is-dark .flow-list > li > span {
  color: rgba(226, 224, 224, 0.62);
}

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

.screen-card {
  padding: 18px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 18px;
  background: var(--card-surface);
}

.screen-image-frame {
  display: grid;
  place-items: center;
  min-height: 280px;
  margin: 0 0 22px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 14px;
  background: var(--media-surface);
  overflow: hidden;
}

.screen-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-mock {
  position: relative;
  min-height: 280px;
  margin-bottom: 22px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(37, 37, 37, 0.1) 0 18%, transparent 18%),
    linear-gradient(180deg, rgba(37, 37, 37, 0.08) 0 22%, transparent 22%),
    var(--media-surface);
  overflow: hidden;
}

.screen-mock span {
  position: absolute;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.screen-agent span:nth-child(1) {
  left: 22%;
  top: 28%;
  width: 30%;
  height: 22%;
}

.screen-agent span:nth-child(2) {
  right: 6%;
  top: 28%;
  width: 38%;
  height: 22%;
}

.screen-agent span:nth-child(3) {
  left: 22%;
  bottom: 10%;
  width: 72%;
  height: 30%;
}

.screen-agent span:nth-child(4) {
  left: 5%;
  bottom: 10%;
  width: 11%;
  height: 54%;
}

.screen-flow span:nth-child(1) {
  left: 7%;
  top: 30%;
  width: 24%;
  height: 24%;
}

.screen-flow span:nth-child(2) {
  left: 38%;
  top: 30%;
  width: 24%;
  height: 24%;
}

.screen-flow span:nth-child(3) {
  right: 7%;
  top: 30%;
  width: 24%;
  height: 24%;
}

.screen-flow span:nth-child(4) {
  left: 7%;
  bottom: 12%;
  width: 86%;
  height: 22%;
}

.screen-card h3,
.flow-list h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

.about-page.is-dark .screen-card {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.035);
}

.about-page.is-dark .screen-image-frame {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.035);
}

.about-page.is-dark .screen-mock {
  border-color: rgba(226, 224, 224, 0.12);
  background:
    linear-gradient(90deg, rgba(226, 224, 224, 0.08) 0 18%, transparent 18%),
    linear-gradient(180deg, rgba(226, 224, 224, 0.07) 0 22%, transparent 22%),
    rgba(226, 224, 224, 0.035);
}

.about-page.is-dark .screen-mock span {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.04);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 16px;
  background: var(--card-surface);
}

.about-page.is-dark .flow-list li {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.035);
}

.undefined-hero h1 {
  max-width: 100%;
  font-size: clamp(64px, 10vw, 156px);
  line-height: 0.92;
  overflow-wrap: anywhere;
  word-break: normal;
}

.undefined-hero h1 span {
  display: inline;
}

.undefined-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: 1fr;
  width: 100%;
  padding: 0 24px;
}

.favorites-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.favorite-list {
  display: grid;
  align-content: start;
  justify-items: stretch;
  justify-content: start;
  gap: 20px;
  flex: 1;
}

.games-list {
  grid-template-columns: repeat(3, minmax(0, 330px));
}

.book-list {
  grid-template-columns: repeat(2, minmax(0, 400px));
}

.favorite-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  border-radius: 16px;
  background: var(--card-surface);
}

.games-list .favorite-item {
  grid-template-columns: 1fr;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 20px;
}

.book-list .favorite-item {
  grid-template-columns: minmax(74px, 92px) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 150px;
  padding: 16px 30px;
}

.about-page.is-dark .favorite-item {
  border-color: rgba(226, 224, 224, 0.12);
  background: rgba(226, 224, 224, 0.035);
}

.favorite-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(37, 37, 37, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 37, 37, 0.16), transparent 52%),
    repeating-linear-gradient(0deg, rgba(37, 37, 37, 0.08) 0 1px, transparent 1px 12px),
    var(--media-surface);
  color: rgba(37, 37, 37, 0.58);
  font-size: 9px;
  overflow: hidden;
}

.favorite-thumb span {
  padding: 4px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.book-thumb {
  width: 72px;
  aspect-ratio: 2 / 3;
  justify-self: center;
  background:
    linear-gradient(90deg, rgba(37, 37, 37, 0.18) 0 10%, transparent 10%),
    linear-gradient(145deg, rgba(37, 37, 37, 0.16), transparent 56%),
    rgba(245, 245, 245, 0.68);
}

.experience-table {
  display: grid;
  border-top: 1px solid rgba(37, 37, 37, 0.12);
}

.experience-table article {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 28px;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
}

.experience-table h3,
.experience-table p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.experience-table h3 {
  text-transform: uppercase;
}

.experience-table h3 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}

.experience-table .tag-row {
  justify-content: flex-end;
  margin: 0;
}

.about-page.is-dark .experience-table,
.about-page.is-dark .experience-table article {
  border-color: rgba(226, 224, 224, 0.12);
}

.alt-thumb {
  filter: contrast(0.88);
}

.about-page.is-dark .favorite-thumb {
  border-color: rgba(226, 224, 224, 0.12);
  background:
    linear-gradient(135deg, rgba(226, 224, 224, 0.13), transparent 52%),
    repeating-linear-gradient(0deg, rgba(226, 224, 224, 0.08) 0 1px, transparent 1px 12px),
    rgba(226, 224, 224, 0.035);
  color: rgba(226, 224, 224, 0.64);
}

.about-page.is-dark .book-thumb {
  background:
    linear-gradient(90deg, rgba(226, 224, 224, 0.14) 0 10%, transparent 10%),
    linear-gradient(145deg, rgba(226, 224, 224, 0.13), transparent 56%),
    rgba(226, 224, 224, 0.035);
}

.favorite-item h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.1;
}

.favorite-item p {
  margin: 0;
  color: rgba(37, 37, 37, 0.64);
  font-size: 10px;
}

.about-page.is-dark .favorite-item p {
  color: rgba(226, 224, 224, 0.68);
}

@media (max-width: 900px) {
  .about-hero,
  .about-grid,
  .connect-panel {
    grid-template-columns: 1fr;
  }

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

  .projects-section,
  .experience-panel,
  .connect-panel,
  .bio-panel,
  .location-panel,
  .skills-panel {
    grid-column: auto;
  }

  .status-card {
    max-width: 520px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline article > span {
    text-align: left;
  }

  .location-hero-row {
    grid-template-columns: 1fr;
  }

  .texas-map {
    width: min(82%, 240px);
    margin: 18px auto 0;
  }

  .games-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 300px));
  }

  .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }

  .project-detail-grid,
  .screen-grid,
  .flow-list,
  .requirement-list {
    grid-template-columns: 1fr;
  }

  .detail-summary-panel,
  .requirements-panel,
  .screenshots-panel,
  .user-flow-panel,
  .outcome-panel {
    grid-column: auto;
  }

  .requirements-detail-grid {
    grid-template-columns: 1fr;
  }

  .experience-table article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .experience-table .tag-row {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .about-shell {
    padding: 20px 16px 24px;
  }

  .about-topbar {
    position: relative;
  }

  .about-topbar,
  .about-footer {
    font-size: 10px;
  }

  .about-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
  }

  .about-footer span:nth-child(2) {
    display: none;
  }

  .about-topbar {
    align-items: center;
  }

  .about-topbar.has-mobile-menu .mobile-menu-toggle {
    display: inline-flex;
  }

  .about-topbar.has-mobile-menu .top-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 10;
    display: none;
    min-width: min(280px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 20px;
    background: rgba(231, 233, 232, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 12px;
  }

  .about-topbar.has-mobile-menu .top-nav.is-open {
    display: flex;
  }

  .about-page.is-dark .about-topbar.has-mobile-menu .top-nav {
    border-color: rgba(226, 224, 224, 0.12);
    background: rgba(5, 5, 5, 0.82);
  }

  .topbar-actions {
    margin-left: auto;
  }

  .home-nav {
    max-width: calc(100vw - 32px);
    top: 18px;
    left: 16px;
    font-size: 10px;
  }

  .about-hero {
    padding: 42px 0 22px;
  }

  .about-hero h1 {
    font-size: clamp(62px, 19vw, 96px);
  }

  .projects-hero h1 {
    font-size: clamp(64px, 19vw, 96px);
    overflow-wrap: anywhere;
  }

  .undefined-hero h1 {
    font-size: clamp(72px, 22vw, 96px);
  }

  .undefined-hero h1 span {
    display: block;
  }

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

  .projects-section,
  .undefined-grid,
  .project-detail-grid {
    padding: 0;
  }

  .project-detail-hero h1 {
    font-size: clamp(64px, 19vw, 96px);
  }

  .screen-mock {
    min-height: 220px;
  }

  .panel {
    padding: 18px;
    border-radius: 20px;
  }

  .games-list {
    grid-template-columns: 1fr;
  }

  .games-list .favorite-item {
    grid-template-columns: 1fr;
    max-width: none;
    min-height: 0;
    padding: 18px;
  }

  .book-list .favorite-item {
    grid-template-columns: minmax(72px, 88px) minmax(0, 1fr);
    max-width: none;
    min-height: 112px;
    padding: 14px 16px;
  }

  .games-list .favorite-thumb {
    width: min(100%, 240px);
  }

  .book-thumb {
    width: min(100%, 74px);
    justify-self: start;
  }
}

.word-graph-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ink);
}

.word-graph-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--background);
  pointer-events: none;
}

.word-graph-page.word-graph-light {
  --background: #d7d9d8;
  --ink: #252525;
  --panel-surface: #e7e9e8;
  --card-surface: #e6e8e7;
  --media-surface: #f4f4f4;
  background: var(--background);
  color: #252525;
}

.word-graph-page.word-graph-light::before {
  background: #d7d9d8;
}

.word-graph-page.is-dark:not(.word-graph-light)::before {
  background: #1d1f1f;
}

.word-graph-page main {
  min-height: 100svh;
  height: auto;
}

.word-graph-loading {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: #19191d;
  color: rgba(226, 224, 224, 0.7);
  font-size: 12px;
  text-transform: uppercase;
}

.word-graph-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(100%, 1540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 34px 36px 28px;
  background: transparent;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.word-graph-light .word-graph-shell {
  background: #d7d9d8;
  box-shadow: 0 0 0 100vmax #d7d9d8;
  clip-path: inset(0 -100vmax);
}

.word-graph-page.is-dark:not(.word-graph-light) .word-graph-shell {
  background: #1d1f1f;
  box-shadow: 0 0 0 100vmax #1d1f1f;
  clip-path: inset(0 -100vmax);
}

.word-graph-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 0 0 auto;
}

.word-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 30px;
  min-width: 0;
  padding: 0 11px;
  border: 1px solid rgba(226, 224, 224, 0.24);
  border-radius: 999px;
  background: rgba(29, 31, 31, 0.72);
  color: var(--ink);
  font-family: "Menlo", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.word-mobile-menu-toggle:hover,
.word-mobile-menu-toggle:focus-visible,
.word-mobile-menu-toggle[aria-expanded="true"] {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.16);
  outline: 0;
}

.word-graph-light .word-mobile-menu-toggle {
  border-color: rgba(37, 37, 37, 0.18);
  background: rgba(231, 233, 232, 0.42);
  color: #252525;
}

.word-graph-light .word-mobile-menu-toggle:hover,
.word-graph-light .word-mobile-menu-toggle:focus-visible,
.word-graph-light .word-mobile-menu-toggle[aria-expanded="true"] {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.24);
}

.word-graph-topbar .top-nav a {
  color: rgba(226, 224, 224, 0.72);
}

.word-graph-light .word-graph-topbar .top-nav a {
  color: rgba(37, 37, 37, 0.72);
}

.word-graph-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 28px;
  flex: 1 1 auto;
  min-height: 0;
}

.word-graph-copy {
  max-width: none;
  padding: 58px 0 0;
}

.word-graph-copy h1 {
  margin: 0 0 34px;
  color: #e2e0e0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(76px, 11vw, 170px);
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: 0;
}

.word-graph-light .word-graph-copy h1 {
  color: #252525;
}

.word-graph-copy p,
.word-zoom-field,
.word-node text,
.word-detail-label,
.word-detail-panel h2,
.word-detail-panel > p:not(.word-detail-label),
.word-page-list a,
.word-page-list em {
  font-family: "Menlo", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.word-graph-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(226, 224, 224, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.word-graph-light .word-graph-copy p {
  color: rgba(37, 37, 37, 0.84);
}

.word-graph-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.word-zoom-field {
  border: 1px solid rgba(226, 224, 224, 0.28);
  color: rgba(226, 224, 224, 0.82);
  background: rgba(226, 224, 224, 0.035);
}

.word-zoom-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  line-height: 1;
  box-sizing: border-box;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.word-zoom-field {
  width: fit-content;
  gap: 8px;
}

.word-zoom-field span {
  color: rgba(226, 224, 224, 0.52);
  font-size: 10px;
  white-space: nowrap;
}

.word-zoom-value {
  display: inline-block;
  width: 34px;
  text-align: left;
}

.word-zoom-field input {
  width: 140px;
  accent-color: #ff8abd;
}

.word-zoom-field input[type="range"] {
  appearance: none;
  height: 18px;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.word-zoom-field input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid rgba(226, 224, 224, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 138, 189, 0.72) 0%,
      rgba(255, 138, 189, 0.72) var(--zoom-progress),
      rgba(37, 37, 37, 0.28) var(--zoom-progress),
      rgba(37, 37, 37, 0.28) 100%
    );
}

.word-zoom-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid rgba(37, 37, 37, 0.42);
  border-radius: 999px;
  background: #ffb8d5;
  box-shadow: 0 0 0 2px rgba(226, 224, 224, 0.18);
}

.word-zoom-field input[type="range"]::-moz-range-track {
  height: 8px;
  border: 1px solid rgba(226, 224, 224, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 138, 189, 0.72) 0%,
      rgba(255, 138, 189, 0.72) var(--zoom-progress),
      rgba(37, 37, 37, 0.28) var(--zoom-progress),
      rgba(37, 37, 37, 0.28) 100%
    );
}

.word-zoom-field input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(37, 37, 37, 0.42);
  border-radius: 999px;
  background: #ffb8d5;
  box-shadow: 0 0 0 2px rgba(226, 224, 224, 0.18);
}

.word-interaction-toggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.word-interaction-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(226, 224, 224, 0.28);
  border-radius: 999px;
  background: rgba(226, 224, 224, 0.035);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.word-interaction-toggle button:hover,
.word-interaction-toggle button:focus-visible {
  border-color: rgba(255, 138, 189, 0.48);
  background: rgba(255, 138, 189, 0.14);
  outline: 0;
}

.word-interaction-toggle button.is-active {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.22);
}

.word-interaction-toggle img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.78;
}

.word-interaction-toggle button.is-active img {
  opacity: 1;
}

.word-graph-light .word-zoom-field {
  border-color: rgba(37, 37, 37, 0.18);
  color: #252525;
  background: rgba(231, 233, 232, 0.42);
}

.word-graph-light .word-zoom-field:hover {
  border-color: rgba(37, 37, 37, 0.36);
  background: rgba(231, 233, 232, 0.72);
}

.word-graph-light .word-interaction-toggle button {
  border-color: rgba(37, 37, 37, 0.18);
  background: rgba(231, 233, 232, 0.42);
}

.word-graph-light .word-interaction-toggle button:hover,
.word-graph-light .word-interaction-toggle button:focus-visible {
  border-color: rgba(37, 37, 37, 0.34);
  background: rgba(255, 138, 189, 0.22);
}

.word-graph-light .word-interaction-toggle button.is-active {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.28);
}

.word-graph-light .word-interaction-toggle img {
  filter: none;
  opacity: 0.74;
}

.word-zoom-field input[type="range"]:focus-visible {
  outline: 0;
}

.word-graph-light .word-zoom-field input[type="range"]:focus-visible {
  outline: 0;
}

.word-graph-light .word-zoom-field span {
  color: rgba(37, 37, 37, 0.62);
}

.word-graph-light .word-zoom-field input[type="range"]::-webkit-slider-runnable-track {
  border-color: rgba(37, 37, 37, 0.24);
  background:
    linear-gradient(
      90deg,
      rgba(255, 138, 189, 0.66) 0%,
      rgba(255, 138, 189, 0.66) var(--zoom-progress),
      rgba(37, 37, 37, 0.22) var(--zoom-progress),
      rgba(37, 37, 37, 0.22) 100%
    );
}

.word-graph-light .word-zoom-field input[type="range"]::-webkit-slider-thumb {
  border-color: rgba(37, 37, 37, 0.48);
  background: #ffb8d5;
  box-shadow: 0 0 0 2px rgba(247, 242, 244, 0.72);
}

.word-graph-light .word-zoom-field input[type="range"]::-moz-range-track {
  border-color: rgba(37, 37, 37, 0.24);
  background:
    linear-gradient(
      90deg,
      rgba(255, 138, 189, 0.66) 0%,
      rgba(255, 138, 189, 0.66) var(--zoom-progress),
      rgba(37, 37, 37, 0.22) var(--zoom-progress),
      rgba(37, 37, 37, 0.22) 100%
    );
}

.word-graph-light .word-zoom-field input[type="range"]::-moz-range-thumb {
  border-color: rgba(37, 37, 37, 0.48);
  background: #ffb8d5;
  box-shadow: 0 0 0 2px rgba(247, 242, 244, 0.72);
}

.word-graph-canvas {
  position: relative;
  grid-column: 1 / -1;
  height: clamp(620px, 54vw, 860px);
  min-height: 0;
  border: 1px solid rgba(226, 224, 224, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(226, 224, 224, 0.06), transparent 30%),
    radial-gradient(circle at 22% 72%, rgba(255, 138, 189, 0.11), transparent 30%),
    rgba(226, 224, 224, 0.025);
  cursor: grab;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.word-graph-canvas-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  justify-content: flex-end;
  margin-top: 0;
  pointer-events: auto;
}

.word-graph-canvas.is-dragging {
  cursor: grabbing;
}

.word-graph-light .word-graph-canvas {
  border-color: rgba(37, 37, 37, 0.1);
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 37, 37, 0.035), transparent 32%),
    radial-gradient(circle at 22% 72%, rgba(255, 138, 189, 0.1), transparent 30%),
    var(--panel-surface);
}

.word-graph-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.word-graph-links line {
  stroke: rgba(226, 224, 224, 0.18);
  transition: stroke 160ms ease, stroke-opacity 160ms ease, stroke-width 160ms ease;
  stroke-linecap: round;
  stroke-opacity: 0.56;
}

.word-graph-light .word-graph-links line {
  stroke: rgba(37, 37, 37, 0.14);
}

.word-graph-links line.is-related {
  stroke: rgba(255, 138, 189, 0.46);
  stroke-opacity: 0.86;
}

.word-graph-links line.is-active {
  stroke: #ff8abd;
  stroke-opacity: 0.96;
}

.word-node {
  cursor: pointer;
}

.word-node-aura {
  fill: rgba(226, 224, 224, 0.62);
  opacity: 0.12;
  transition: fill 160ms ease, opacity 160ms ease, r 160ms ease;
}

.word-node-dot {
  fill: rgba(226, 224, 224, 0.72);
  stroke: rgba(255, 255, 255, 0.64);
  stroke-width: 1;
  filter: drop-shadow(0 0 12px rgba(226, 224, 224, 0.28));
  transition: fill 160ms ease, stroke-width 160ms ease, filter 160ms ease;
}

.word-graph-light .word-node-aura {
  fill: rgba(37, 37, 37, 0.2);
}

.word-graph-light .word-node-dot {
  fill: #d8d8d8;
  stroke: rgba(37, 37, 37, 0.28);
  filter: drop-shadow(0 0 9px rgba(37, 37, 37, 0.14));
}

.word-node text {
  fill: rgba(226, 224, 224, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  text-transform: uppercase;
}

.word-graph-light .word-node text {
  fill: #252525;
}

.word-node.is-active .word-node-aura {
  fill: #ff8abd;
  opacity: 0.28;
}

.word-node.is-active .word-node-dot {
  fill: #ff8abd;
  stroke-width: 2;
  filter: drop-shadow(0 0 18px rgba(255, 138, 189, 0.45));
}

.word-node.is-hovered:not(.is-active) .word-node-aura {
  opacity: 0.2;
}

.word-node.is-hovered:not(.is-active) .word-node-dot {
  stroke-width: 1.5;
}

.word-detail-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(150px, 220px) minmax(140px, 190px) minmax(0, 1fr);
  gap: 12px 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(226, 224, 224, 0.08);
  border-radius: 22px;
  background: rgba(226, 224, 224, 0.035);
  overflow: visible;
}

.word-graph-canvas .word-detail-panel {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100% - 48px));
  max-height: calc(100% - 48px);
  overflow: auto;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.word-graph-light .word-detail-panel {
  border-color: rgba(37, 37, 37, 0.1);
  background: var(--panel-surface);
}

.word-graph-light .word-graph-canvas .word-detail-panel {
  background: rgba(231, 233, 232, 0.5);
}

.word-detail-label {
  grid-column: 1;
  margin: 0;
  color: rgba(226, 224, 224, 0.58);
  font-size: 12px;
  text-transform: uppercase;
}

.word-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.word-detail-toggle {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(226, 224, 224, 0.2);
  border-radius: 999px;
  background: rgba(226, 224, 224, 0.08);
  color: inherit;
  font-family: "Menlo", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

.word-detail-toggle:hover,
.word-detail-toggle:focus-visible {
  border-color: rgba(255, 138, 189, 0.6);
  background: rgba(255, 138, 189, 0.18);
  outline: 0;
}

.word-graph-light .word-detail-toggle {
  border-color: rgba(37, 37, 37, 0.18);
  background: rgba(231, 233, 232, 0.42);
  color: #252525;
}

.word-graph-light .word-detail-toggle:hover,
.word-graph-light .word-detail-toggle:focus-visible {
  border-color: rgba(255, 138, 189, 0.68);
  background: rgba(255, 138, 189, 0.24);
}

.word-graph-light .word-detail-label {
  color: rgba(37, 37, 37, 0.72);
}

.word-detail-panel h2 {
  grid-column: 1;
  margin: 0;
  color: #e2e0e0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.word-graph-light .word-detail-panel h2 {
  color: #252525;
}

.word-detail-panel > p:not(.word-detail-label) {
  grid-column: 2;
  margin: 0;
  align-self: center;
  color: rgba(226, 224, 224, 0.7);
  font-size: 13px;
  line-height: 1.55;
}

.word-graph-light .word-detail-panel > p:not(.word-detail-label) {
  color: rgba(37, 37, 37, 0.84);
}

.word-count-display {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: center;
  color: #ff8abd;
  font-size: 78px;
  font-weight: 300;
  line-height: 0.92;
}

.word-page-list {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 3;
  gap: 9px;
  max-height: 190px;
  overflow: auto;
  padding-left: 4px;
}

.word-graph-canvas .word-detail-label,
.word-graph-canvas .word-detail-panel h2,
.word-graph-canvas .word-count-display,
.word-graph-canvas .word-detail-panel > p:not(.word-detail-label),
.word-graph-canvas .word-page-list {
  grid-column: auto;
  grid-row: auto;
}

.word-graph-canvas .word-detail-label {
  margin: 0;
}

.word-graph-canvas .word-detail-panel.is-collapsed {
  bottom: auto;
  width: min(260px, calc(100% - 48px));
  max-height: none;
  padding: 16px 18px;
  overflow: visible;
}

.word-graph-canvas .word-detail-panel.is-collapsed .word-detail-header {
  margin-bottom: 0;
}

.word-graph-canvas .word-detail-panel h2 {
  overflow-wrap: anywhere;
}

.word-graph-canvas .word-count-display {
  margin-top: 20px;
  align-self: start;
}

.word-graph-canvas .word-detail-panel > p:not(.word-detail-label) {
  margin: 18px 0 24px;
  align-self: auto;
}

.word-graph-canvas .word-page-list {
  max-height: none;
  padding-left: 0;
  overflow: visible;
}

.word-page-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(226, 224, 224, 0.1);
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.word-graph-light .word-page-list a {
  color: #252525;
}

.word-graph-light .word-page-list a {
  border-color: rgba(37, 37, 37, 0.12);
}

.word-page-list a:hover span,
.word-page-list a:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.word-page-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.word-page-list em {
  color: rgba(226, 224, 224, 0.52);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.word-graph-light .word-page-list em {
  color: rgba(37, 37, 37, 0.62);
}

@media (max-width: 940px) {
  .word-graph-page {
    overflow: auto;
  }

  .word-graph-copy {
    padding: 44px 0 12px;
  }

  .word-graph-copy h1 {
    font-size: clamp(76px, 15vw, 118px);
  }

  .word-graph-copy p {
    max-width: 560px;
    font-size: 12px;
  }

  .word-graph-controls {
    margin-top: 18px;
  }

  .word-graph-stage {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .word-graph-canvas {
    grid-column: auto;
    height: clamp(500px, 76vw, 620px);
  }

  .word-graph-canvas-controls {
    top: 14px;
    right: 14px;
    left: 14px;
    margin-top: 0;
  }

  .word-detail-panel {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .word-graph-canvas .word-detail-panel {
    top: auto;
    bottom: 14px;
    left: 14px;
    width: min(300px, calc(100% - 28px));
    max-height: 38%;
    padding: 16px;
    border-radius: 18px;
  }

  .word-graph-canvas .word-detail-panel.is-collapsed {
    top: auto;
    bottom: 14px;
    width: min(250px, calc(100% - 28px));
    padding: 14px 16px;
  }

  .word-node text {
    font-size: 10px;
  }

  .word-detail-label,
  .word-detail-panel h2,
  .word-count-display,
  .word-detail-panel > p:not(.word-detail-label),
  .word-page-list {
    grid-column: auto;
    grid-row: auto;
  }

  .word-page-list {
    max-height: none;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .word-graph-shell {
    padding: 20px 16px 24px;
  }

  .word-graph-copy {
    padding: 40px 0 12px;
  }
}

@media (max-width: 640px) {
  .word-graph-topbar {
    align-items: center;
  }

  .word-graph-topbar .top-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 10;
    display: none;
    min-width: min(280px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(226, 224, 224, 0.12);
    border-radius: 20px;
    background: rgba(5, 5, 5, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  }

  .word-graph-topbar .top-nav.is-open {
    display: flex;
  }

  .word-graph-light .word-graph-topbar .top-nav {
    border-color: rgba(37, 37, 37, 0.12);
    background: rgba(231, 233, 232, 0.86);
  }

  .word-mobile-menu-toggle {
    display: inline-flex;
  }

  .word-graph-copy h1 {
    margin-bottom: 26px;
    font-size: clamp(58px, 16vw, 82px);
  }

  .word-graph-canvas {
    height: clamp(500px, 132vw, 620px);
    min-height: 0;
    border-radius: 18px;
  }

  .word-graph-canvas-controls.word-graph-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
  }

  .word-graph-canvas-controls .word-zoom-field {
    grid-column: 1 / -1;
    width: 100%;
  }

  .word-graph-canvas-controls .word-interaction-toggle {
    grid-column: 2;
    justify-self: end;
    width: auto;
  }

  .word-detail-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .word-page-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .word-graph-controls:not(.word-graph-canvas-controls),
  .word-zoom-field {
    width: 100%;
  }

  .word-graph-controls {
    gap: 12px;
  }

  .word-zoom-field input {
    flex: 1 1 auto;
    width: auto;
  }

  .word-interaction-toggle {
    width: 100%;
  }
}
