/* Generated file. Edit projects/web-profile-anghel-lab-202609/src/assets/css instead. */

/* projects/web-profile-anghel-lab-202609/src/assets/css/tokens.css */
:root {
  --color-bg: #060506;
  --color-bg-soft: #0d090a;
  --color-surface: rgb(18 10 12 / 72%);
  --color-text: #f4efef;
  --color-text-muted: #a99fa1;
  --color-line: rgb(255 255 255 / 12%);
  --color-line-strong: rgb(255 255 255 / 22%);
  --color-red-deep: #3b080d;
  --color-red: #7c111d;
  --color-red-bright: #b52634;
  --color-red-glow: rgb(151 18 31 / 28%);
  --color-blue: #1268a8;
  --color-blue-bright: #2697e8;
  --color-blue-glow: rgb(38 151 232 / 32%);
  --color-focus: #ef6a73;
  --font-sans: "Inter", "Helvetica Neue", arial, "Noto Sans JP", sans-serif;
  --font-display: "Arial Narrow", "Helvetica Neue", arial, sans-serif;
  --size-content: 82rem;
  --size-copy: 43rem;
  --space-page: clamp(1.25rem, 4vw, 4rem);
  --space-section: clamp(6rem, 12vw, 11rem);
  --space-section-mobile: clamp(5rem, 18vw, 8rem);
  --radius-small: 0.25rem;
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-reveal: 720ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-reveal: cubic-bezier(0.16, 0.8, 0.2, 1);
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/reset.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/base.css */
html {
  background: var(--color-bg);
  color-scheme: dark;
}

body {
  min-width: 20rem;
  background:
    radial-gradient(circle at 18% 8%, rgb(111 12 24 / 28%), transparent 34rem),
    radial-gradient(circle at 82% 42%, rgb(75 5 14 / 20%), transparent 38rem),
    linear-gradient(145deg, #090607 0%, var(--color-bg) 42%, #030303 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.015em;
  overflow-x: hidden;
}

body::selection {
  background: var(--color-red-bright);
  color: #fff;
}

main,
.site-footer,
.site-nav {
  position: relative;
  z-index: 2;
}

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

h1 {
  font-size: clamp(2.5rem, 7vw, 7rem);
  letter-spacing: -0.055em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 6rem);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  max-width: var(--size-copy);
}

small {
  color: var(--color-text-muted);
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 0.3rem;
}

[hidden] {
  display: none !important;
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/layout.css */
.hero {
  min-height: clamp(17.5rem, 34svh, 21rem);
  display: grid;
  place-items: center;
  position: relative;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--space-page) max(1.5rem, env(safe-area-inset-bottom));
}

.hero-copy {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.section-index,
.work-project,
.lab-status,
.note-period {
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-hebrew {
  position: absolute;
  right: var(--space-page);
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  color: rgb(244 239 239 / 70%);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  letter-spacing: 0.08em;
}

.section {
  padding: var(--space-section-mobile) var(--space-page);
}

#about {
  padding-top: 0;
}

.section-shell {
  width: min(100%, var(--size-content));
  margin-inline: auto;
}

.section-heading {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 8vw, 7rem);
}

.section-heading > div {
  display: grid;
  gap: 1rem;
}

.section-heading p:not(.section-index) {
  color: var(--color-text-muted);
}

.labs-list,
.works-list,
.notes-list,
.review-list {
  display: grid;
}

.works-list {
  gap: clamp(5rem, 12vw, 10rem);
}

.work {
  display: grid;
  gap: 2rem;
}

.work-copy {
  display: grid;
  align-content: center;
  gap: 1.25rem;
}

.about-grid,
.contact-inner {
  display: grid;
  gap: 2rem;
}

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

.site-footer {
  width: min(calc(100% - (var(--space-page) * 2)), var(--size-content));
  margin-inline: auto;
  padding: 2rem 0 max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.menu-toggle {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: var(--space-page);
  z-index: 20;
  width: 2.75rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 0.28rem;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background: rgb(10 7 8 / 72%);
  backdrop-filter: blur(0.75rem);
  cursor: pointer;
}

.menu-toggle span {
  width: 1rem;
  height: 1px;
  background: var(--color-text);
  transition: transform var(--duration-base) var(--ease), opacity var(--duration-fast) ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.36rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.36rem) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: max(4.35rem, calc(env(safe-area-inset-top) + 3.5rem));
  right: var(--space-page);
  z-index: 19;
  width: min(78vw, 18rem);
  display: grid;
  gap: 0;
  border: 1px solid var(--color-line);
  background: rgb(10 7 8 / 92%);
  backdrop-filter: blur(1rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition:
    opacity var(--duration-fast) ease,
    transform var(--duration-base) var(--ease),
    visibility var(--duration-fast) ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav a {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.back-to-top {
  position: fixed;
  right: var(--space-page);
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 18;
  width: 2.75rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background: rgb(10 7 8 / 72%);
  backdrop-filter: blur(0.75rem);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity var(--duration-fast) ease,
    transform var(--duration-base) var(--ease),
    color var(--duration-fast) ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (width >= 768px) {
  .section-heading {
    grid-template-columns: minmax(7rem, 0.25fr) 1fr;
  }

  .about-grid,
  .contact-inner {
    grid-template-columns: minmax(7rem, 0.25fr) minmax(0, 1fr);
  }
}

@media (width >= 1024px) {
  .review-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(2.5rem, 4vw, 4.5rem);
  }

  .hero {
    min-height: 100svh;
  }

  .section {
    padding-block: var(--space-section);
  }

  #about {
    padding-top: var(--space-section);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    top: 2rem;
    right: var(--space-page);
    width: auto;
    display: flex;
    gap: 1.5rem;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 0;
    border: 0;
    font-size: 0.68rem;
  }

  .work {
    grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
  }

  .work.is-reverse .work-visual {
    order: 2;
  }

  .work.is-reverse .work-copy {
    order: 1;
  }

  .about-grid {
    min-height: 32rem;
    align-items: start;
  }

  .about-copy {
    max-width: 58rem;
    padding-top: clamp(2rem, 5vw, 5rem);
  }
}

@media (width >= 1440px) {
  .section-heading {
    grid-template-columns: 12rem 1fr;
  }

  .about-grid,
  .contact-inner {
    grid-template-columns: 12rem 1fr;
  }
}

@media (width >= 1920px) {
  .section-shell,
  .site-footer {
    max-width: 85rem;
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/components.css */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 35%, rgb(126 17 28 / 14%), transparent 20rem),
    radial-gradient(circle at 75% 68%, rgb(100 9 20 / 12%), transparent 24rem);
}

.ambient-orbit {
  position: absolute;
  border: 1px solid rgb(181 38 52 / 16%);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.ambient-orbit::after {
  content: "";
  position: absolute;
  width: 0.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-red-bright);
  box-shadow: 0 0 1.5rem var(--color-red-bright);
}

.ambient-orbit-a {
  width: min(72vw, 62rem);
  aspect-ratio: 1.7;
  top: 5%;
  right: -24%;
}

.ambient-orbit-a::after {
  top: 15%;
  left: 18%;
}

.ambient-orbit-b {
  width: min(60vw, 48rem);
  aspect-ratio: 1.45;
  bottom: 5%;
  left: -26%;
}

.ambient-orbit-b::after {
  right: 12%;
  bottom: 20%;
}

.ambient-node {
  position: absolute;
  width: 0.34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(241 91 105 / 70%);
  box-shadow: 0 0 1rem rgb(181 38 52 / 70%);
}

.ambient-node-a {
  top: 28%;
  left: 13%;
}

.ambient-node-b {
  top: 62%;
  right: 18%;
}

.ambient-node-c {
  top: 82%;
  left: 57%;
}

.brand {
  position: absolute;
  top: max(1.5rem, env(safe-area-inset-top));
  left: var(--space-page);
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "slogan slogan"
    "name loop";
  align-items: end;
  column-gap: 0.7rem;
  width: max-content;
}

.brand-slogan {
  grid-area: slogan;
  margin-bottom: 0.15rem;
  color: var(--color-text-muted);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand-name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.85;
}

.brand-name > span {
  color: var(--color-red-bright);
  font-size: 0.48em;
  letter-spacing: -0.03em;
}

.brand-loop {
  grid-area: loop;
  color: var(--color-red-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
}

.text-link {
  width: max-content;
  border-bottom: 1px solid var(--color-line-strong);
  padding-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color var(--duration-fast) ease;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  transition: color var(--duration-fast) ease;
}

.site-nav a {
  transition: color var(--duration-fast) ease;
}

.site-nav a:hover,
.text-link:hover,
.footer-brand:hover,
.back-to-top:hover {
  color: var(--color-red-bright);
}

.lab {
  border-top: 1px solid var(--color-line);
}

.lab:last-child {
  border-bottom: 1px solid var(--color-line);
}

.lab > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.6rem, 5vw, 3rem) 0;
  cursor: pointer;
}

.lab-title-block {
  display: grid;
  gap: 0.65rem;
}

.lab-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
}

.lab-summary {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.lab-toggle {
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid rgb(119 192 231 / 75%);
  background: rgb(83 168 214 / 16%);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--duration-base) ease;
}

.lab-toggle::before,
.lab-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1px;
  background: #b7e3ff;
  transform: translate(-50%, -50%);
  transition: opacity var(--duration-fast) ease;
}

.lab-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lab[open] .lab-toggle {
  border-color: #9ad8ff;
}

.lab > summary:hover .lab-toggle,
.lab > summary:focus-visible .lab-toggle {
  border-color: #b7e3ff;
  background: rgb(83 168 214 / 26%);
}

.lab[open] .lab-toggle::after {
  opacity: 0;
}

.lab-body {
  padding: 0 0 clamp(2.5rem, 7vw, 5rem);
}

.pipeline {
  height: min(19rem, 52vh);
  max-width: 46rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-red) transparent;
  border-left: 1px solid var(--color-line);
  padding: 2rem 0 2rem clamp(1.5rem, 4vw, 3rem);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.pipeline ol {
  display: grid;
  gap: 2.2rem;
}

.pipeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2rem;
  color: var(--color-text-muted);
}

.pipeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.5rem, 4vw, 3rem));
  top: 50%;
  width: clamp(1.5rem, 4vw, 3rem);
  height: 1px;
  background: var(--color-line);
}

.pipeline-dot {
  width: 0.56rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid currentcolor;
  border-radius: 50%;
  background: var(--color-bg);
}

.pipeline-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.pipeline-date {
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.pipeline-item.is-done {
  color: rgb(244 239 239 / 66%);
}

.pipeline-item.is-done .pipeline-dot {
  background: currentcolor;
}

.pipeline-item.is-current {
  color: var(--color-text);
  font-weight: 700;
}

.pipeline-item.is-current .pipeline-dot {
  border-color: var(--color-red-bright);
  background: var(--color-red-bright);
  box-shadow: 0 0 1.2rem var(--color-red-glow);
}

.pipeline-item.is-current .pipeline-date {
  color: var(--color-red-bright);
}

.pipeline-item.is-future {
  opacity: 0.62;
  font-style: italic;
}

.work-visual {
  min-height: clamp(13rem, 50vw, 22rem);
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.work-visual::before,
.work-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(181 38 52 / 28%);
  border-radius: 50%;
}

.work-visual::before {
  width: 72%;
  aspect-ratio: 1;
}

.work-visual::after {
  width: 42%;
  aspect-ratio: 1;
}

.work-visual > span {
  position: relative;
  z-index: 1;
  color: var(--color-red-bright);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.work-network {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
}

.work-network-lines line {
  stroke: rgb(181 38 52 / 26%);
  stroke-width: 1;
}

.work-network-nodes circle {
  fill: var(--color-red-bright);
  opacity: 0.75;
}

.work-network-nodes circle:nth-child(2) {
  fill: var(--color-blue-bright);
}

.work-copy h2,
.work-copy h3 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.work-copy > p:not(.work-project) {
  color: var(--color-text-muted);
}

.work-tested {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-tested li {
  border: 1px solid var(--color-line);
  padding: 0.35rem 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.section-link {
  margin-top: 2rem;
}

.section-more-link {
  border-bottom-color: rgb(38 151 232 / 55%);
  color: var(--color-blue-bright);
}

.section-more-link:hover,
.section-more-link:focus-visible {
  border-bottom-color: var(--color-blue-bright);
  color: #63baff;
  text-shadow: 0 0 1rem var(--color-blue-glow);
}

.empty-state,
.review-pending {
  min-height: 14rem;
  display: grid;
  align-content: center;
  gap: 0.6rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-muted);
}

.empty-state-mark {
  width: 2.5rem;
  height: 1px;
  background: var(--color-red-bright);
  box-shadow: 0 0 1rem var(--color-red-glow);
}

.note-preview {
  display: grid;
  gap: 0.7rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-line);
}

.note-preview:last-child {
  border-bottom: 1px solid var(--color-line);
}

.about-lead {
  max-width: 58rem;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.about-copy > p:not(.about-lead) {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.review-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.review-lang {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 0.35rem 0.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.review-lang.is-active {
  border-bottom-color: var(--color-red-bright);
  color: var(--color-text);
}

.review-notice {
  margin-bottom: 3rem;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.review-item {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-line);
}

.review-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.review-item h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.review-gauge {
  height: 0.3rem;
  overflow: hidden;
  background: rgb(255 255 255 / 7%);
}

.review-gauge > span {
  display: block;
  width: var(--score);
  height: 100%;
  background: linear-gradient(90deg, #333, var(--color-red), var(--color-red-bright));
  box-shadow: 0 0 0.6rem var(--color-red-glow);
}

.review-item [data-review-copy] {
  display: grid;
  gap: 0.8rem;
  color: var(--color-text-muted);
}

.review-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact {
  padding-bottom: clamp(7rem, 18vw, 14rem);
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-message {
  color: var(--color-text-muted);
}

@media (width >= 1024px) {
  .pipeline {
    margin-left: 24%;
  }

  .lab > summary {
    grid-template-columns: minmax(0, 1fr) 3.5rem;
  }

  .lab-title-block {
    grid-template-columns: 8rem minmax(14rem, 0.45fr) minmax(18rem, 1fr);
    align-items: baseline;
    gap: 2rem;
  }

  .lab-summary {
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-orbit-a {
    animation: drift-a 32s ease-in-out infinite alternate;
  }

  .ambient-orbit-b {
    animation: drift-b 38s ease-in-out infinite alternate;
  }

  @keyframes drift-a {
    to {
      transform: translate3d(-4vw, 3vh, 0) rotate(-10deg);
    }
  }

  @keyframes drift-b {
    to {
      transform: translate3d(5vw, -3vh, 0) rotate(-26deg);
    }
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/utilities.css */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--color-text);
  color: var(--color-bg);
  padding: 0.65rem 0.9rem;
  transition: transform var(--duration-fast) ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lab-heading {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lab-summary {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Phase 7 visual experiment: red/black field, blue motion accents, restrained red pulse points. */
.brand-name > span,
.brand-loop {
  color: var(--color-blue-bright);
}

.ambient-orbit::after {
  top: 0;
  left: 50%;
  width: 0.46rem;
  transform: translate(-50%, -50%);
  background: var(--color-blue-bright);
  box-shadow:
    0 0 0.45rem var(--color-blue-bright),
    0 0 1.7rem var(--color-blue-glow);
  will-change: top, left;
}

.ambient-node {
  background: rgb(194 44 58 / 54%);
  box-shadow:
    0 0 0.48rem rgb(194 44 58 / 28%),
    0 0 0.95rem rgb(160 24 38 / 20%);
}

@media (width < 768px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (width >= 1024px) {
  .lab-summary {
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-orbit-a::after {
    animation: orbital-node 19s linear infinite;
  }

  .ambient-orbit-b::after {
    animation: orbital-node 24s linear infinite reverse;
  }

  .ambient-node-a {
    animation: node-breathe 5.8s ease-in-out infinite;
  }

  .ambient-node-b {
    animation: node-breathe 7.2s ease-in-out 1.1s infinite;
  }

  .ambient-node-c {
    animation: node-breathe 6.4s ease-in-out 2.4s infinite;
  }

  @keyframes orbital-node {
    0%, 100% {
      top: 0%;
      left: 50%;
    }

    8.33% {
      top: 6.7%;
      left: 75%;
    }

    16.67% {
      top: 25%;
      left: 93.3%;
    }

    25% {
      top: 50%;
      left: 100%;
    }

    33.33% {
      top: 75%;
      left: 93.3%;
    }

    41.67% {
      top: 93.3%;
      left: 75%;
    }

    50% {
      top: 100%;
      left: 50%;
    }

    58.33% {
      top: 93.3%;
      left: 25%;
    }

    66.67% {
      top: 75%;
      left: 6.7%;
    }

    75% {
      top: 50%;
      left: 0%;
    }

    83.33% {
      top: 25%;
      left: 6.7%;
    }

    91.67% {
      top: 6.7%;
      left: 25%;
    }
  }

  @keyframes node-breathe {
    0%, 100% {
      opacity: 0.34;
      transform: scale(0.92);
    }

    50% {
      opacity: 0.74;
      transform: scale(1.1);
    }
  }
}

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

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

/* projects/web-profile-anghel-lab-202609/src/assets/css/hero-refinement.css */
/* HERO first-view refinement: display font, wide background glow, ambient motion timing. */

:root {
  --font-serif-jp: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
}

.hero-network {
  display: none;
}

@media (width >= 1024px) {
  .hero-network {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .hero-network-lines line {
    stroke: rgb(181 38 52 / 22%);
    stroke-width: 1;
  }

  .hero-network-nodes circle {
    fill: rgb(241 91 105 / 55%);
  }

  .hero-network-nodes circle:nth-child(4n) {
    fill: rgb(38 151 232 / 60%);
  }
}

@media (width >= 1024px) and (prefers-reduced-motion: no-preference) {
  .hero-network-nodes circle {
    animation: hero-node-breathe 6.5s ease-in-out infinite;
  }

  .hero-network-nodes circle:nth-child(2n) {
    animation-delay: -2.2s;
    animation-duration: 7.8s;
  }

  .hero-network-nodes circle:nth-child(3n) {
    animation-delay: -4.1s;
    animation-duration: 5.6s;
  }

  @keyframes hero-node-breathe {
    0%, 100% {
      opacity: 0.55;
    }

    50% {
      opacity: 1;
    }
  }
}

.hero-copy h1,
.note-preview h3,
.about-lead {
  font-family: var(--font-serif-jp);
  font-weight: 400;
}

.hero-copy h1 {
  letter-spacing: -0.045em;
}

.note-preview h3 {
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.about-lead {
  letter-spacing: -0.035em;
}

@media (width < 768px) {
  #labs .section-index {
    display: none;
  }
}

@media (width >= 1024px) {
  body {
    background:
      radial-gradient(circle at 88% 14%, rgb(132 24 42 / 18%), transparent 26rem),
      radial-gradient(ellipse at 50% 43%, rgb(124 14 32 / 27%), transparent 48rem),
      radial-gradient(circle at 18% 10%, rgb(138 20 38 / 36%), transparent 40rem),
      radial-gradient(circle at 84% 42%, rgb(108 13 29 / 33%), transparent 44rem),
      linear-gradient(145deg, #10090b 0%, #0b0708 46%, #050304 100%);
  }

  .hero {
    min-height: clamp(32rem, 58svh, 39rem);
    place-items: initial;
  }

  .hero-copy {
    position: absolute;
    top: 31%;
    left: clamp(10rem, 24vw, 30rem);
    text-align: left;
  }

  .hero-hebrew {
    top: 68%;
    right: var(--space-page);
    bottom: auto;
  }

  #about {
    padding-top: clamp(2.75rem, 4vw, 4.5rem);
  }

  #about .section-heading {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
  }

  .ambient-node-c::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(56vw, 50rem);
    aspect-ratio: 2 / 1;
    border: 1px solid rgb(181 38 52 / 14%);
    border-radius: 50%;
    transform: translate(-48%, -54%) rotate(16deg);
  }

  .ambient::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.46rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--color-blue-bright);
    box-shadow:
      0 0 0.45rem var(--color-blue-bright),
      0 0 1.55rem var(--color-blue-glow);
    opacity: 0.82;
    will-change: transform, opacity;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-orbit-a::after {
    animation-delay: -6s;
    animation-duration: 21s;
  }

  .ambient-orbit-b::after {
    animation-delay: -14s;
    animation-duration: 27s;
  }
}


@media (width >= 1024px) and (width < 1200px) {
  .hero-copy {
    left: 14vw;
  }

  .hero-copy h1 {
    font-size: clamp(4.5rem, 8vw, 5.2rem);
  }
}

@media (width >= 1024px) and (prefers-reduced-motion: no-preference) {
  .ambient::after {
    animation: roam-blue-c 31s linear -11s infinite;
  }

  @keyframes roam-blue-c {
    0%,
    100% {
      opacity: 0.55;
      transform: translate3d(-34vw, -23vh, 0);
    }

    16% {
      opacity: 0.86;
      transform: translate3d(-9vw, -34vh, 0);
    }

    32% {
      opacity: 0.68;
      transform: translate3d(28vw, -18vh, 0);
    }

    49% {
      opacity: 0.9;
      transform: translate3d(34vw, 11vh, 0);
    }

    66% {
      opacity: 0.64;
      transform: translate3d(9vw, 28vh, 0);
    }

    82% {
      opacity: 0.84;
      transform: translate3d(-27vw, 19vh, 0);
    }
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/density-tuning.css */
/* Section density and typography tuning on top of the shared layout/components base. */

.brand {
  display: block;
  width: clamp(8.5rem, 30vw, 10rem);
  aspect-ratio: 700 / 339;
  background: url("/assets/images/anghel-logo-white.webp") left top / contain no-repeat;
}

.brand > span {
  display: none;
}

/* Keep prominent copy deliberate: resize before introducing awkward extra wraps. */
.hero-copy h1 {
  font-size: clamp(2.05rem, 9.5vw, 6.5rem);
  white-space: nowrap;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 10.5vw, 5.5rem);
  white-space: nowrap;
}

.section-heading p,
.lab-summary,
.about-copy > p,
.work-copy > p:not(.work-project),
.note-preview h3,
.review-notice,
.review-item [data-review-copy],
.contact-message {
  line-break: strict;
  text-wrap: pretty;
}

.lab-heading,
.about-name {
  word-break: keep-all;
  overflow-wrap: normal;
}

.about-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vw, 1.8rem);
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: clamp(1.35rem, 5.8vw, 1.75rem);
  line-height: 1.45;
}

.about-lead-line {
  display: block;
}

/* Transparent sections read better as one continuous surface.
 * Use rules and typography for separation instead of large empty gaps.
 */
.section {
  padding-block: clamp(1.25rem, 4vw, 2.25rem);
}

#about {
  padding-top: 0.75rem;
}

.section-heading {
  display: block;
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.section-heading > div {
  gap: 0.45rem;
}

.lab > summary {
  padding-block: clamp(0.95rem, 3vw, 1.35rem);
}

.lab-body {
  padding-bottom: clamp(1rem, 3vw, 1.5rem);
}

.pipeline {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pipeline ol {
  gap: 1.5rem;
}

.works-list {
  gap: 0;
}

.work {
  gap: 1.25rem;
  padding-block: clamp(1rem, 3vw, 1.75rem);
  border-top: 1px solid var(--color-line);
}

.work:last-child {
  border-bottom: 1px solid var(--color-line);
}

.work-copy {
  gap: 0.8rem;
}

.section-link {
  margin-top: 1rem;
}

.empty-state,
.review-pending {
  min-height: 7rem;
}

.note-preview,
.review-item {
  padding-block: 1rem;
}

.note-preview[data-note-open] {
  cursor: pointer;
}

.note-preview[data-note-open]:focus-visible {
  outline: 1px solid var(--color-red-bright);
  outline-offset: 0.35rem;
}

html.note-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.note-dialog-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.note-dialog {
  width: min(calc(100% - 2rem), 56rem);
  max-height: 84svh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid var(--color-line-strong);
  background: rgb(14 7 9 / 96%);
  color: var(--color-text);
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 55%);
}

.note-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(0.35rem);
}

.note-dialog-inner {
  position: relative;
  max-height: 84svh;
  padding: clamp(1.5rem, 5vw, 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.note-dialog-inner > h2 {
  max-width: 46rem;
  margin-top: 0.55rem;
  font-size: clamp(1.65rem, 6vw, 3rem);
  line-height: 1.2;
  word-break: keep-all;
}

.note-dialog-close {
  position: sticky;
  top: 0;
  z-index: 1;
  float: right;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background: rgb(14 7 9 / 88%);
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.note-dialog-summary {
  max-width: 46rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.note-dialog-body {
  display: grid;
  gap: 0.8rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.note-dialog-body h3 {
  margin-top: 0.85rem;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  line-height: 1.35;
}

.note-dialog .note-dialog-body p {
  color: var(--color-text-muted);
  line-height: 1.8;
  white-space: pre-line;
}

.review-item {
  gap: 0.8rem;
}

.review-toolbar {
  margin-bottom: 0.65rem;
}

.review-notice {
  margin-bottom: 1.25rem;
}

.about-grid,
.contact-inner {
  display: block;
}

.about-grid {
  min-height: 0;
}

.about-copy {
  gap: 0.8rem;
  padding-top: 0;
}

.contact {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-inner h2 {
  margin-bottom: 0.45rem;
}

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

.footer-copyright {
  color: var(--color-text-muted);
}

/* The archive is a reading list, not another full-screen landing page.
 * Shared across the Research Note, Works, and Labs archive pages. */
.notes-page .notes-archive,
.works-page .works-archive,
.labs-page .labs-archive {
  padding-top: clamp(4.5rem, 8vw, 6rem);
}

.notes-page .notes-archive-heading,
.works-page .works-archive-heading,
.labs-page .labs-archive-heading {
  display: grid;
  gap: 0.45rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.notes-page #notes-page-title,
.works-page #works-page-title,
.labs-page #labs-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.notes-page .notes-archive-heading .section-index,
.works-page .works-archive-heading .section-index,
.labs-page .labs-archive-heading .section-index {
  margin-bottom: 0.15rem;
}

.notes-page .notes-archive-heading div > p,
.works-page .works-archive-heading div > p,
.labs-page .labs-archive-heading div > p {
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: clamp(0.86rem, 1.8vw, 1rem);
  line-height: 1.65;
}

.notes-page .note-archive-item {
  gap: 0.45rem;
  padding-block: clamp(1rem, 2.2vw, 1.4rem);
}

.notes-page .note-archive-item h2 {
  max-width: 54rem;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-transform: none;
  text-wrap: pretty;
}

.notes-page .note-archive-summary {
  max-width: 50rem;
  color: var(--color-text-muted);
  font-size: clamp(0.84rem, 1.6vw, 0.96rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.notes-page .note-archive-item .work-project {
  margin-top: 0.15rem;
}

@media (hover: hover) {
  .notes-page .note-archive-item h2 {
    transition: color var(--duration-fast) ease;
  }

  .notes-page .note-archive-item:hover h2 {
    color: var(--color-red-bright);
  }
}

@media (width < 768px) {
  .brand {
    width: clamp(6rem, 24vw, 7rem);
  }

  .hero {
    min-height: clamp(17rem, 32svh, 20rem);
  }

  .lab > summary {
    grid-template-columns: minmax(0, 1fr) 2.35rem;
    gap: 0.85rem;
  }

  .lab-title-block {
    gap: 0.4rem;
  }

  .lab-heading {
    font-size: clamp(1.45rem, 6.3vw, 2rem);
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .lab-summary {
    font-size: clamp(0.82rem, 3.45vw, 0.9rem);
    line-height: 1.55;
  }

  .work-copy h2,
  .work-copy h3 {
    font-size: clamp(1.55rem, 6.6vw, 2rem);
    line-height: 1.15;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .note-preview h3 {
    font-size: clamp(1.2rem, 5.3vw, 1.55rem);
    line-height: 1.45;
  }

  .review-item h3 {
    font-size: clamp(1.2rem, 5.1vw, 1.55rem);
    word-break: keep-all;
  }

  .notes-page .notes-archive,
  .works-page .works-archive,
  .labs-page .labs-archive {
    padding-top: 2rem;
  }

  .notes-page #notes-page-title,
  .works-page #works-page-title,
  .labs-page #labs-page-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .notes-page .note-archive-item h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
  }
}

@media (width >= 768px) {
  .about-lead {
    font-size: clamp(1.8rem, 4vw, 4rem);
  }

  .work-copy h2,
  .work-copy h3 {
    font-size: clamp(2rem, 4vw, 4rem);
  }
}

@media (width >= 1024px) {
  .brand {
    width: clamp(13rem, 16vw, 17rem);
  }

  .section {
    padding-block: clamp(1.75rem, 2.5vw, 2.75rem);
  }

  #about {
    padding-top: clamp(1rem, 1.5vw, 1.5rem);
  }

  .section-heading {
    margin-bottom: clamp(1.25rem, 2vw, 2rem);
  }

  .lab > summary {
    grid-template-columns: minmax(0, 1fr) 3.5rem;
    gap: 1.5rem;
    padding-block: clamp(1rem, 1.6vw, 1.5rem);
  }

  .lab-heading {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    white-space: normal;
  }

  .lab-summary {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .work {
    gap: clamp(1.75rem, 3vw, 3rem);
    padding-block: clamp(1.5rem, 2.5vw, 2.5rem);
  }

  .about-grid {
    min-height: 0;
  }

  .about-copy {
    padding-top: 0;
  }

  .review-item {
    border-bottom: 0;
  }

  .review-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-line);
  }

  .review-gauge {
    height: 0.4rem;
  }

  .notes-page .notes-archive,
  .works-page .works-archive,
  .labs-page .labs-archive {
    padding-top: clamp(5rem, 7vw, 6.5rem);
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/note-modal-fix.css */
/* Research Note modal overflow and responsive title fix. */
.note-dialog,
.note-dialog-inner {
  overflow-x: hidden;
}

.note-dialog-inner > h2 {
  max-width: calc(100% - 3.75rem);
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
}

.note-dialog-summary,
.note-dialog-body {
  min-width: 0;
}

.note-dialog-summary,
.note-dialog-body p,
.note-dialog-body h3 {
  overflow-wrap: break-word;
  line-break: strict;
}

@media (width < 768px) {
  .note-dialog {
    width: min(calc(100% - 1rem), 56rem);
  }

  .note-dialog-inner {
    padding: 1.25rem;
  }

  .note-dialog-inner > h2 {
    max-width: calc(100% - 3rem);
    font-size: clamp(1.35rem, 6.8vw, 1.9rem);
    line-height: 1.3;
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/labs-roadmap-state.css */
/* LABS roadmap state colors.
 * done = passed / gray, current = present / white, todo + future = ahead / blue.
 */

.pipeline-item.is-done {
  color: var(--color-text-muted);
}

.pipeline-item.is-current {
  color: var(--color-text);
}

.pipeline-item.is-todo,
.pipeline-item.is-future {
  color: var(--color-blue-bright);
  opacity: 1;
}

.pipeline-item.is-todo .pipeline-dot,
.pipeline-item.is-future .pipeline-dot {
  border-color: var(--color-blue-bright);
  background: var(--color-blue-bright);
  box-shadow: 0 0 0.8rem var(--color-blue-glow);
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/human-ramblings.css */
.ramblings-archive {
  padding-top: clamp(8rem, 16vw, 12rem);
}

.ramblings-archive-heading {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.ramblings-intro-note {
  max-width: 36rem;
  margin-top: 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.rambling-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17rem)) 1fr;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line-strong);
}

.rambling-filter {
  display: grid;
  gap: 0.45rem;
  color: var(--color-text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.rambling-filter select {
  width: 100%;
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  background: rgb(6 5 6 / 82%);
  padding: 0.75rem 2.2rem 0.75rem 0.8rem;
  color: var(--color-text);
  font: inherit;
}

.rambling-count {
  place-self: center end;
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.ramblings-list,
.ramblings-home-list {
  display: grid;
}

.rambling-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4.5rem, 7rem) minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  border-top: 1px solid var(--color-line);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.rambling-card:last-child {
  border-bottom: 1px solid var(--color-line);
}

.rambling-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(90deg, rgb(124 17 29 / 12%), transparent 48%);
  transition: opacity var(--duration-base) ease;
}

.rambling-card:has(.rambling-open:hover)::before,
.rambling-card.is-focused::before {
  opacity: 1;
}

.rambling-index {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.rambling-number {
  width: max-content;
  color: var(--color-red-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.rambling-date {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.rambling-copy {
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}

.rambling-copy h2,
.rambling-copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  letter-spacing: -0.015em;
}

.rambling-context {
  max-width: 56rem;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.rambling-excerpt {
  max-width: 58rem;
  margin: 0.15rem 0 0;
  border-left: 2px solid var(--color-red-bright);
  padding-left: clamp(0.9rem, 2vw, 1.35rem);
  color: var(--color-text);
  font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  font-weight: 650;
  line-height: 1.6;
}

.rambling-excerpt.is-reconstructed {
  color: rgb(244 239 239 / 86%);
  font-weight: 560;
}

.rambling-comment {
  max-width: 48rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.rambling-comment strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-text);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.rambling-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.rambling-status,
.rambling-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  border: 1px solid var(--color-line);
  padding: 0.22rem 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.64rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.rambling-status {
  border-color: rgb(181 38 52 / 38%);
  color: rgb(239 106 115 / 88%);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rambling-actions {
  display: grid;
  justify-items: end;
  gap: 0.65rem;
  align-self: end;
}

.rambling-open,
.rambling-share {
  border: 1px solid var(--color-line-strong);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease, background var(--duration-fast) ease;
}

.rambling-open {
  min-width: 8.5rem;
  padding: 0.7rem 0.9rem;
  border-color: rgb(181 38 52 / 72%);
  color: #f36a75;
}

.rambling-share {
  border: 0;
  border-bottom: 1px solid var(--color-line);
  padding: 0.3rem 0;
  color: var(--color-text-muted);
}

.rambling-open:hover {
  background: rgb(124 17 29 / 12%);
  border-color: var(--color-red-bright);
}

.rambling-share:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-red-bright);
}

.ramblings-home-list .rambling-card {
  grid-template-columns: minmax(3.5rem, 5rem) minmax(0, 1fr) auto;
}

.ramblings-home-list .rambling-context,
.ramblings-home-list .rambling-comment {
  max-width: 46rem;
}

.ramblings-home-more {
  margin-top: 2rem;
}

.rambling-pager {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.4rem;
}

.rambling-pager[hidden] {
  display: none;
}

.rambling-pager-nav {
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.rambling-pager-pages {
  display: grid;
  grid-template-columns: repeat(6, 2.5rem);
}

.rambling-pager button {
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--color-line-strong);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}

.rambling-pager button.is-current {
  border-color: var(--color-red-bright);
  background: var(--color-red-bright);
  color: var(--color-text);
}

.rambling-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.rambling-dialog {
  width: min(54rem, calc(100vw - 2rem));
  max-height: min(52rem, calc(100dvh - 2rem));
  border: 1px solid var(--color-line-strong);
  background: rgb(8 6 7 / 98%);
  padding: 0;
  color: var(--color-text);
  box-shadow: 0 1.5rem 6rem rgb(0 0 0 / 58%);
}

.rambling-dialog::backdrop {
  background: rgb(0 0 0 / 76%);
  backdrop-filter: blur(6px);
}

.rambling-dialog-inner {
  position: relative;
  max-height: min(52rem, calc(100dvh - 2rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.5rem, 5vw, 3rem);
  scrollbar-width: thin;
  scrollbar-color: var(--color-red) transparent;
}

.rambling-dialog-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-line-strong);
  background: rgb(8 6 7 / 94%);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.25rem;
}

.rambling-dialog-header {
  display: grid;
  gap: 0.8rem;
  padding-right: 3.4rem;
  margin-bottom: 2.2rem;
}

.rambling-dialog-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.rambling-dialog-section {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-line);
}

.rambling-dialog-section h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rambling-dialog-section > p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.rambling-turns {
  display: grid;
  gap: 0.9rem;
}

.rambling-turn {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.8rem 0;
}

.rambling-speaker {
  width: max-content;
  border-left: 2px solid var(--color-red-bright);
  padding-left: 0.5rem;
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rambling-turn.is-ai .rambling-speaker {
  border-left-color: var(--color-blue-bright);
}

.rambling-turn p {
  line-height: 1.75;
}

.rambling-source-note {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

html.rambling-dialog-open,
body.rambling-dialog-open {
  overflow: hidden;
}

body.rambling-dialog-open {
  position: fixed;
  width: 100%;
}

@media (width <= 760px) {
  .rambling-filters {
    grid-template-columns: 1fr 1fr;
  }

  .rambling-count {
    grid-column: 1 / -1;
  }

  .rambling-card,
  .ramblings-home-list .rambling-card {
    grid-template-columns: 3.8rem minmax(0, 1fr);
  }

  .rambling-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-items: stretch;
  }

  .rambling-open {
    width: 100%;
  }

  .rambling-share {
    justify-self: end;
    width: max-content;
  }

  .rambling-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .rambling-dialog-inner {
    max-height: calc(100dvh - 1rem);
    padding: 1.25rem;
  }

  .rambling-turn {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (width <= 480px) {
  #ramblings-title,
  #ramblings-page-title {
    width: min-content;
    max-width: 100%;
  }

  .rambling-filters {
    grid-template-columns: 1fr;
  }

  .rambling-count {
    grid-column: auto;
  }

  .rambling-card,
  .ramblings-home-list .rambling-card {
    grid-template-columns: 1fr;
  }

  .rambling-index {
    grid-template-columns: auto 1fr;
    align-items: baseline;
  }

  .rambling-excerpt {
    font-size: 1.16rem;
  }

  .rambling-pager {
    gap: 0.4rem;
  }

  .rambling-pager-pages {
    grid-template-columns: repeat(6, 2.25rem);
  }

  .rambling-pager button {
    min-width: 2.25rem;
    min-height: 2.25rem;
  }
}

.rambling-filter select:focus-visible,
.rambling-open:focus-visible,
.rambling-share:focus-visible,
.rambling-pager button:focus-visible,
.rambling-dialog-close:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/works-case-study.css */
.works-case-page .case-study {
  position: relative;
  z-index: 1;
}

.case-hero {
  padding-top: clamp(8rem, 18vw, 14rem);
}

.case-hero-inner {
  display: grid;
  gap: 1.5rem;
}

.case-eyebrow,
.case-project,
.case-section-index,
.case-version-state {
  color: var(--color-red-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-project {
  color: var(--color-text-muted);
}

.case-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.case-lead {
  max-width: 56rem;
  color: var(--color-text-muted);
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  line-height: 1.65;
}

.case-condition {
  display: grid;
  gap: 0.75rem;
  max-width: 64rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 1.4rem 0;
}

.case-condition strong,
.case-version-points h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-condition p,
.case-version-summary,
.case-version-points li,
.case-metric > p,
.case-review-caveat,
.case-finding p,
.case-conclusion-copy {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.case-section-heading {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
}

.case-section-heading h2,
.case-conclusion h2 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.case-section-heading > div > p {
  max-width: 48rem;
  margin-top: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.case-version-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.case-version {
  display: grid;
  align-content: start;
  gap: 1.75rem;
  min-width: 0;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.case-version + .case-version {
  border-top: 1px solid var(--color-line);
}

.case-version-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.case-version-head h3 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.035em;
}

.case-version-score {
  flex: 0 0 auto;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: right;
}

.case-version-score span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-version-points {
  display: grid;
  gap: 1.5rem;
}

.case-version-points > div {
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}

.case-version-points ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.case-version-points li {
  position: relative;
  padding-left: 1rem;
}

.case-version-points li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 0.3rem;
  height: 1px;
  background: var(--color-red-bright);
}

.case-version-link {
  margin-top: 0.5rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  border-bottom: 1px solid var(--color-line);
}

.case-metric {
  min-width: 0;
  border-top: 1px solid var(--color-line);
  padding: 1.5rem 0 2rem;
}

.case-metric h3 {
  font-size: 1rem;
}

.case-metric-scores {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
}

.case-metric .case-metric-scores p {
  display: grid;
  gap: 0.1rem;
}

.case-metric-scores span {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-metric-scores strong {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 2rem;
}

.case-review-caveat {
  max-width: 58rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
}

.case-findings {
  border-top: 1px solid var(--color-line);
}

.case-finding {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--color-line);
  padding: clamp(1.75rem, 5vw, 3rem) 0;
}

.case-finding-number {
  color: var(--color-red-bright);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.case-finding h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.case-conclusion .section-shell {
  display: grid;
  gap: 1.5rem;
}

.case-conclusion blockquote {
  max-width: 62rem;
  border-left: 1px solid var(--color-red-bright);
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.case-conclusion-copy {
  max-width: 48rem;
}

@media (width >= 760px) {
  .case-condition {
    grid-template-columns: 12rem minmax(0, 1fr);
    align-items: baseline;
  }

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

@media (width >= 980px) {
  .case-version-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-version {
    padding-inline: clamp(2rem, 4vw, 4rem);
  }

  .case-version:first-child {
    padding-left: 0;
    border-right: 1px solid var(--color-line);
  }

  .case-version:last-child {
    padding-right: 0;
  }

  .case-version + .case-version {
    border-top: 0;
  }

  .case-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .case-metric {
    padding-right: 1.5rem;
  }
}

@media (width <= 560px) {
  .case-section-heading,
  .case-finding {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }

  .case-version-head {
    display: grid;
  }

  .case-version-score {
    text-align: left;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-conclusion blockquote {
    overflow-wrap: anywhere;
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/works-case-study-hierarchy.css */
/* WORKS 04 hierarchy refinement.
 * Section numbers identify the four major chapters.
 * Finding markers are intentionally non-numeric so nested content does not
 * look like a second competing chapter sequence.
 */

.case-section-index {
  color: #3b7dd8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.15rem, 3.35vw, 1.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.1em;
}

/* Keep scores informative, but visually subordinate to chapter and item headings. */
.case-version-score {
  font-size: clamp(1.25rem, 2.7vw, 2rem);
}

.case-metric-scores strong {
  font-size: 1.75rem;
}

.case-finding {
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.case-finding-number {
  align-self: start;
  width: 0.85rem;
  height: 2px;
  margin-top: 0.8rem;
  overflow: hidden;
  background: var(--color-red-bright);
  box-shadow: 0 0 0.7rem var(--color-red-glow);
  color: transparent;
  font-size: 0;
  line-height: 0;
}

@media (width <= 560px) {
  /* Keep all four chapter headers on the same vertical rhythm as ROLE SPLIT. */
  .case-section-heading {
    display: block;
    margin-bottom: clamp(2rem, 7vw, 3rem);
  }

  .case-section-heading .case-section-index,
  .case-conclusion .case-section-index {
    display: block;
    margin-bottom: 0.9rem;
  }

  .case-section-heading h2,
  .case-conclusion h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.02;
  }

  .case-section-heading > div > p {
    margin-top: 0.75rem;
  }

  .case-conclusion .section-shell {
    gap: 0;
  }

  .case-conclusion blockquote {
    margin-top: clamp(2rem, 7vw, 3rem);
  }

  .case-conclusion-copy {
    margin-top: clamp(1.5rem, 5vw, 2rem);
  }

  .case-conclusion .section-link {
    margin-top: 1.5rem;
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/game-works.css */
/* Game detail pages use reading-scale typography instead of the case-study hero scale. */
.game-work-page .section-shell,
.game-log-page .section-shell {
  max-width: 72rem;
}

.game-work-page .game-hero {
  padding-top: clamp(6rem, 10vw, 9rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.game-hero .case-hero-inner {
  gap: 1rem;
}

.game-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.game-hero .case-lead {
  max-width: 46rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.game-work-page .case-section-heading {
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1.25rem;
}


.game-hero .case-section-index {
  margin-bottom: 0.5rem;
}

.game-hero-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.game-hero-status-row time,
.game-playable-meta,
.game-roadmap-head,
.game-devlog-card time {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-status {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-red-bright);
  padding: 0.45rem 0.7rem;
  color: var(--color-red-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.game-summary {
  max-width: 50rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.game-hero-actions,
.game-play-action {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
  margin-top: 1rem;
}

.game-hero-actions p,
.game-play-action p {
  max-width: 38rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.game-primary-link {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--color-red-bright);
  padding: 0.9rem 1.15rem;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.game-primary-link:hover,
.game-primary-link:focus-visible {
  background: rgb(255 45 45 / 8%);
  box-shadow: 0 0 1.5rem var(--color-red-glow);
  transform: translateY(-2px);
}

.game-playable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
}

.game-playable-item {
  min-width: 0;
  border-bottom: 1px solid var(--color-line);
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
}

.game-playable-item:nth-child(odd) {
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.game-playable-item:nth-child(even) {
  border-left: 1px solid var(--color-line);
  padding-left: clamp(1rem, 3vw, 2.5rem);
}

.game-playable-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.game-playable-meta span:last-child {
  color: var(--color-red-bright);
}

.game-playable-item h3 {
  line-height: 1.4;
  margin-bottom: 0.7rem;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.game-playable-item > p,
.game-roadmap-copy > p,
.game-devlog-card > p,
.game-play-panel p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.game-roadmap {
  position: relative;
  display: grid;
  max-width: 62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-roadmap::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.4rem;
  width: 1px;
  background: var(--color-line);
  content: "";
}

.game-roadmap-item {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0 0 clamp(1.5rem, 2.8vw, 2.1rem);
}

.game-roadmap-marker {
  position: relative;
  z-index: 1;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.35rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-bg);
}

.game-roadmap-item.is-done .game-roadmap-marker {
  border-color: var(--color-text-muted);
  background: var(--color-text-muted);
}

.game-roadmap-item.is-current .game-roadmap-marker {
  border-color: var(--color-red-bright);
  background: var(--color-red-bright);
  box-shadow: 0 0 1.25rem var(--color-red-glow);
}

.game-roadmap-copy {
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}

.game-roadmap-item.is-current .game-roadmap-copy {
  border-color: var(--color-red-bright);
}

.game-roadmap-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
}

.game-roadmap-item.is-current .game-roadmap-state {
  color: var(--color-red-bright);
}

.game-roadmap-copy h3 {
  line-height: 1.4;
  margin: 0.65rem 0 0.6rem;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.game-roadmap-item.is-future {
  opacity: 0.62;
}

.game-devlog-list {
  display: grid;
  border-top: 1px solid var(--color-line);
}

.game-devlog-card {
  display: grid;
  gap: 0.85rem;
  border-bottom: 1px solid var(--color-line);
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
  align-content: start;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    padding-inline 180ms ease,
    background-color 180ms ease;
}

.game-devlog-card h3 {
  line-height: 1.4;
  max-width: 42rem;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
}

.game-devlog-card > p {
  max-width: 52rem;
}

.game-play-section {
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.game-play-panel {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 1.25rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.game-play-panel h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.game-log-archive {
  padding-top: clamp(6rem, 10vw, 9rem);
}

.game-log-heading h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.game-log-heading {
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.25rem;
}

.game-log-intro {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


@media (width >= 860px) {
  .game-devlog-list,
  .game-log-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-devlog-card:nth-child(odd),
  .game-log-card:nth-child(odd) {
    padding-right: 2rem;
  }

  .game-devlog-card:nth-child(even),
  .game-log-card:nth-child(even) {
    border-left: 1px solid var(--color-line);
    padding-left: 2rem;
  }

  .game-play-panel {
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
    align-items: end;
  }

  .game-play-action {
    justify-self: end;
  }
}

@media (width <= 640px) {
  .game-log-heading {
    display: block;
  }

  .game-log-heading .section-index {
    margin-bottom: 0.9rem;
  }

  .game-work-page .case-section-heading {
    display: block;
  }

  .game-work-page .case-section-heading .case-section-index {
    margin-bottom: 0.9rem;
  }

  .game-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
    word-break: keep-all;
    text-wrap: balance;
  }

  .game-play-panel h2 {
    max-width: 12ch;
    font-size: clamp(1.85rem, 7.7vw, 2.4rem);
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: keep-all;
    text-wrap: balance;
  }

  .game-playable-grid {
    grid-template-columns: 1fr;
  }

  .game-playable-item:nth-child(odd),
  .game-playable-item:nth-child(even) {
    border-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .game-roadmap-head {
    display: grid;
    justify-content: start;
  }

  .game-hero-actions .game-primary-link,
  .game-play-action .game-primary-link {
    width: 100%;
    justify-content: space-between;
  }
}

@media (width <= 360px) {
  .game-hero h1 {
    font-size: clamp(1.65rem, 8.75vw, 2.2rem);
  }

  .game-play-panel h2 {
    font-size: clamp(1.3rem, 7.4vw, 1.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-primary-link {
    transition: none;
  }

  .game-primary-link:hover,
  .game-primary-link:focus-visible {
    transform: none;
  }
}


/* Compact game work presentation: progressive disclosure, collapsible roadmap and modal development logs keep the detail page from becoming
 * one long uninterrupted document. */
.game-work-page .game-compact-section {
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

.game-work-page .game-compact-section .case-section-heading {
  margin-bottom: clamp(1.5rem, 2.8vw, 2.1rem);
}

.game-playable-item[hidden] {
  display: none;
}

.game-view-more {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.game-roadmap-disclosure > summary {
  grid-template-columns: 2rem minmax(0, 1fr);
  padding-block: 1.5rem;
  margin-bottom: 0;
}

.game-roadmap-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.game-roadmap-title-row .lab-toggle {
  flex-shrink: 0;
}

.game-roadmap-lead {
  grid-column: 2;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.game-roadmap-body {
  padding-bottom: 1.5rem;
}

.game-roadmap-body .game-roadmap {
  max-width: none;
}

.game-roadmap-body .game-roadmap-item:last-child {
  padding-bottom: 0;
}


.game-devlog-card:hover,
.game-devlog-card:focus-visible {
  border-color: var(--color-red-bright);
  background: rgb(255 45 45 / 4%);
  padding-inline: clamp(0.5rem, 2vw, 1rem);
  outline: 0;
}

.game-log-card-list {
  display: grid;
  border-top: 1px solid var(--color-line);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.game-log-card {
  display: grid;
  gap: 0.8rem;
  border-bottom: 1px solid var(--color-line);
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
  align-content: start;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    padding-inline 180ms ease,
    background-color 180ms ease;
}

.game-log-card:hover,
.game-log-card:focus-visible {
  border-color: var(--color-red-bright);
  background: rgb(255 45 45 / 4%);
  padding-inline: clamp(0.5rem, 2vw, 1rem);
  outline: 0;
}

.game-log-card time,
.game-log-dialog time {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-log-card h2 {
  max-width: 48rem;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.game-log-card > p {
  max-width: 54rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.game-log-dialog {
  width: min(92vw, 54rem);
  max-height: min(86dvh, 50rem);
  overflow: hidden;
  margin: auto;
  border: 1px solid var(--color-line);
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
}

.game-log-dialog::backdrop {
  background: rgb(0 0 0 / 78%);
  backdrop-filter: blur(0.25rem);
}

.game-log-dialog-inner {
  position: relative;
  max-height: min(calc(86dvh - 2px), calc(50rem - 2px));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: clamp(2rem, 5vw, 4rem);
}

.game-log-dialog-close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.game-log-dialog-inner h2 {
  max-width: 44rem;
  margin: 0.8rem 3.25rem 1rem 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.game-log-dialog-summary {
  max-width: 46rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.game-log-dialog-body {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--color-line);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.game-log-dialog-body h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

.game-log-dialog-body p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

html.game-log-dialog-open,
body.game-log-dialog-open {
  overflow: hidden;
}

body.game-log-dialog-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

.game-work-page .case-section-heading h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}


@media (width <= 640px) {
  .game-log-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .game-log-dialog-inner {
    max-height: calc(100dvh - 1rem - 2px);
    padding: 1.5rem 1.1rem 2rem;
  }

  .game-log-dialog-inner h2 {
    margin-right: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-devlog-card,
  .game-log-card {
    transition: none;
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/motion.css */
/* Motion layer (Issue #31): HERO intro sequence, scroll-linked reveals,
 * and interaction feedback on top of the existing static implementation.
 * Every rule here is neutralized under prefers-reduced-motion at the bottom
 * of this file.
 */

/* ---------- HERO intro sequence (plays once on load, CSS-only) ---------- */

.hero .brand {
  animation: hero-rise-in 900ms var(--ease-reveal) both;
  animation-delay: 120ms;
}

.hero-copy h1 {
  animation: hero-rise-in 900ms var(--ease-reveal) both;
  animation-delay: 620ms;
}

.hero-hebrew {
  animation: hero-fade-in 900ms var(--ease-reveal) both;
  animation-delay: 1050ms;
}

@keyframes hero-rise-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-network-lines line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hero-line-draw 1100ms var(--ease-reveal) both;
}

.hero-network-lines line:nth-child(1) { animation-delay: 80ms; }
.hero-network-lines line:nth-child(2) { animation-delay: 180ms; }
.hero-network-lines line:nth-child(3) { animation-delay: 280ms; }
.hero-network-lines line:nth-child(4) { animation-delay: 140ms; }
.hero-network-lines line:nth-child(5) { animation-delay: 240ms; }
.hero-network-lines line:nth-child(6) { animation-delay: 340ms; }
.hero-network-lines line:nth-child(7) { animation-delay: 400ms; }

@keyframes hero-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-network-nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-node-pop 560ms var(--ease-reveal) both;
}

.hero-network-nodes circle:nth-child(1) { animation-delay: 420ms; }
.hero-network-nodes circle:nth-child(2) { animation-delay: 520ms; }
.hero-network-nodes circle:nth-child(3) { animation-delay: 200ms; }
.hero-network-nodes circle:nth-child(4) { animation-delay: 620ms; }
.hero-network-nodes circle:nth-child(5) { animation-delay: 460ms; }
.hero-network-nodes circle:nth-child(6) { animation-delay: 700ms; }
.hero-network-nodes circle:nth-child(7) { animation-delay: 780ms; }
.hero-network-nodes circle:nth-child(8) { animation-delay: 860ms; }
.hero-network-nodes circle:nth-child(9) { animation-delay: 940ms; }

@keyframes hero-node-pop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Scroll-linked reveal (driven by main.js IntersectionObserver) ---------- */

[data-reveal] {
  --reveal-index: 0;
  --reveal-delay: calc(var(--reveal-index) * 90ms);

  opacity: 0;
  transition:
    opacity var(--duration-reveal) var(--ease-reveal),
    transform var(--duration-reveal) var(--ease-reveal),
    clip-path calc(var(--duration-reveal) * 1.25) var(--ease-reveal);
  transition-delay: var(--reveal-delay);
}

[data-reveal="up"] {
  transform: translateY(1.75rem);
}

[data-reveal="left"] {
  transform: translateX(-2.25rem);
}

[data-reveal="right"] {
  transform: translateX(2.25rem);
}

[data-reveal="gate"] {
  clip-path: inset(0 100% 0 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* ---------- WORKS index number hover / focus response, and the AI REVIEW
 * gauge fill below: selectors here are ordered by ascending specificity
 * (lint requirement), not by topic. ---------- */

.work-visual > span {
  transition: transform var(--duration-base) var(--ease), text-shadow var(--duration-base) ease;
}

.review-gauge > span {
  width: 0;
  transition: width 1000ms var(--ease-reveal);
  transition-delay: calc(var(--reveal-delay) + 160ms);
}

.work:hover .work-visual > span,
.work:focus-within .work-visual > span {
  transform: scale(1.08);
  text-shadow: 0 0 1.5rem var(--color-red-glow);
}

.review-item.is-visible .review-gauge > span {
  width: var(--score);
}

/* ---------- AI REVIEW language switch cross-fade ---------- */

.is-lang-entering {
  animation: review-copy-in var(--duration-base) var(--ease-reveal);
}

@keyframes review-copy-in {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Navigation underline sweep ---------- */

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: var(--color-red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Hamburger menu item stagger (mobile nav only; desktop nav
 * stays permanently visible and never gets the is-open class) ---------- */

.site-nav.is-open a {
  animation: nav-item-in 420ms var(--ease-reveal) both;
}

.site-nav.is-open a:nth-child(2) { animation-delay: 40ms; }
.site-nav.is-open a:nth-child(3) { animation-delay: 80ms; }
.site-nav.is-open a:nth-child(4) { animation-delay: 120ms; }
.site-nav.is-open a:nth-child(5) { animation-delay: 160ms; }
.site-nav.is-open a:nth-child(6) { animation-delay: 200ms; }

@keyframes nav-item-in {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Text link arrow nudge ---------- */

.text-link span[aria-hidden] {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease);
}

.text-link:hover span[aria-hidden],
.text-link:focus-visible span[aria-hidden] {
  transform: translate(0.2em, -0.2em);
}

/* ---------- Research Note connector line (hover / focus) ---------- */

.note-preview {
  position: relative;
  transition: padding-left var(--duration-base) var(--ease);
}

.note-preview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--color-red-bright);
  box-shadow: 0 0 1rem var(--color-red-glow);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--duration-base) var(--ease);
}

.note-preview:hover,
.note-preview:focus-visible {
  padding-left: 1rem;
}

.note-preview:hover::before,
.note-preview:focus-visible::before {
  transform: scaleY(1);
}

/* ---------- LABS accordion feedback ---------- */

.lab-toggle {
  transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease);
}

.lab[open] .lab-toggle {
  transform: rotate(90deg);
}

.lab.is-activating .lab-toggle {
  animation: control-pulse 480ms var(--ease-reveal);
}

@keyframes control-pulse {
  0%, 100% {
    transform: rotate(90deg) scale(1);
  }

  50% {
    transform: rotate(90deg) scale(1.16);
    box-shadow: 0 0 1.8rem var(--color-red-glow);
  }
}

.lab[open] .lab-body {
  animation: lab-body-in 460ms var(--ease-reveal);
}

@keyframes lab-body-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.pipeline-item {
  transition: color var(--duration-base) ease;
}

.pipeline-dot {
  transition: background var(--duration-base) ease, border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

@media (prefers-reduced-motion: no-preference) {
  .pipeline-item.is-current .pipeline-dot {
    animation: pipeline-pulse 2.6s ease-in-out infinite;
  }

  @keyframes pipeline-pulse {
    0%, 100% {
      box-shadow: 0 0 1.1rem var(--color-red-glow);
    }

    50% {
      box-shadow: 0 0 1.9rem var(--color-red-glow);
    }
  }
}

/* ---------- Research Note modal entrance ---------- */

.note-dialog[open] {
  animation: note-dialog-in 420ms var(--ease-reveal);
}

.note-dialog[open]::backdrop {
  animation: note-dialog-backdrop-in 420ms var(--ease-reveal);
}

@keyframes note-dialog-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes note-dialog-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- Back to top hover ---------- */

.back-to-top {
  transition:
    opacity var(--duration-fast) ease,
    transform var(--duration-base) var(--ease),
    color var(--duration-fast) ease,
    border-color var(--duration-base) ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--color-red-bright);
  transform: translateY(-0.15rem);
}

.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
  transform: translateY(-0.15rem);
}

/* ---------- Reduced motion: neutralize everything above ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero .brand,
  .hero-copy h1,
  .hero-hebrew,
  .hero-network-lines line,
  .hero-network-nodes circle {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: inset(0 0 0 0) !important;
    transition: none !important;
  }

  .review-gauge > span {
    transition: none !important;
    width: var(--score) !important;
  }

  .lab[open] .lab-body,
  .note-dialog[open],
  .note-dialog[open]::backdrop,
  .is-lang-entering,
  .site-nav.is-open a {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .lab-toggle,
  .back-to-top,
  .site-nav a::after,
  .text-link span[aria-hidden],
  .note-preview,
  .note-preview::before,
  .work-visual > span {
    transition: none !important;
  }

  .lab.is-activating .lab-toggle {
    /* Keep the existing [open] rotation intact; only stop the pulse itself. */
    animation: none !important;
    box-shadow: none !important;
  }
}

/* projects/web-profile-anghel-lab-202609/src/assets/css/mobile-overflow-fixes.css */
/* Targeted mobile overflow exceptions.
 * Keep global nowrap rules where they serve the design, and override only
 * elements that are intentionally allowed to wrap at narrow widths.
 */

@media (width <= 480px) {
  #ramblings-title,
  #ramblings-page-title {
    white-space: normal;
  }
}

/* Mobile Safari can expose horizontal rubber-band movement even when the
 * document itself has no measurable overflow. Keep the root from becoming a
 * horizontal pan surface without creating a new scroll container. */
@media (width < 768px) {
  html {
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  body {
    overscroll-behavior-x: none;
  }
}
