/* Portfolio design system: ../../DESIGN.md */
html.splash-pending {
  overflow: hidden;
}

html.splash-pending body {
  overflow: hidden;
}

html.splash-pending .home-hero-intro {
  position: relative;
  z-index: var(--z-surface);
  transform-origin: center center;
}

html.splash-pending .home-hero-intro:not(.is-splash-positioned) {
  opacity: 0;
}

html.hero-intro-animating .home-hero-intro {
  z-index: var(--z-surface);
  transform-origin: center center;
}

html.splash-pending .home-affiliation,
html.splash-pending .home-tagline,
html.splash-pending .home-actions,
html.splash-pending .home-hero-portrait,
html.splash-pending .home-work,
html.splash-pending .footer {
  opacity: 0;
  visibility: hidden;
}

html.splash-pending .nav {
  opacity: 0;
  transform: translateY(-10px);
}

html.splash-revealing .nav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s var(--ease-expo) 0.1s,
              transform 0.85s var(--ease-expo) 0.1s;
}

html.splash-revealing .home-affiliation.reveal {
  transition-delay: 0.08s;
}

html.splash-revealing .home-tagline.reveal {
  transition-delay: 0.16s;
}

html.splash-revealing .home-actions.reveal {
  transition-delay: 0.26s;
}

html.splash-pending .chat-launcher,
html.hero-intro-animating .chat-launcher {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  visibility: hidden;
  pointer-events: none;
}

html.splash-revealing .chat-launcher {
  transition-delay: 0.26s;
}

html.splash-revealing .home-hero-portrait {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: opacity 1s var(--ease-expo) 0.2s,
              transform 1.1s var(--ease-expo) 0.2s;
}

html.splash-revealing .home-affiliation,
html.splash-revealing .home-tagline,
html.splash-revealing .home-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  visibility: visible;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html.splash-pending .home-hero-intro {
    transform: none !important;
    opacity: 1 !important;
  }

  html.splash-pending .home-affiliation,
  html.splash-pending .home-tagline,
  html.splash-pending .home-actions,
  html.splash-pending .home-hero-portrait,
  html.splash-pending .home-work,
  html.splash-pending .footer,
  html.splash-pending .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  html.splash-pending .chat-launcher,
  html.hero-intro-animating .chat-launcher {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}


.home-page {
  --home-max: var(--immersive-max);
  --home-gutter: var(--immersive-gutter);
}

.home-page main.home-main {
  flex: 1;
  padding: 0;
  overflow-x: clip;
}

.home-section-inner {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 var(--home-gutter);
  width: 100%;
}

.home-section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.home-hero-pin {
  height: 100vh;
  position: relative;
}

.home-page .home-hero {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 3rem) var(--home-gutter) 5rem;
}

.home-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 3rem) var(--home-gutter) 5rem;
}

.home-scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-warm);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), opacity var(--transition);
}

.home-scroll-hint.is-entering {
  animation: home-scroll-hint-arrive 1.1s var(--ease-expo) 0.2s both;
}

@keyframes home-scroll-hint-arrive {
  from {
    opacity: 0;
    translate: 0 0.65rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.home-scroll-hint[hidden] {
  display: none;
}

.home-scroll-hint svg {
  width: 17px;
  height: 17px;
}

.home-scroll-hint:hover,
.home-scroll-hint:focus-visible {
  color: var(--text);
}

.home-scroll-hint:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 0.4rem;
  border-radius: 2px;
}

.home-hero-inner {
  max-width: var(--home-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  overflow: visible;
}

.home-hero-portrait {
  display: block;
  grid-row: 1;
  width: min(62vw, 220px);
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid color-mix(in srgb, white 14%, transparent);
  border-radius: 50%;
  box-shadow: 0 20px 70px rgb(0 0 0 / 24%);
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: no-preference) {
  html.splash-pending .home-hero-portrait {
    opacity: 0;
    transform: scale(0.96);
    visibility: hidden;
  }
}

.home-hero-copy {
  position: relative;
  grid-row: 2;
  z-index: 1;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.home-hero-intro {
  width: fit-content;
  max-width: 100%;
}

.home-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.home-name {
  font-size: clamp(2.75rem, 11vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
}

.home-affiliation {
  margin-bottom: 1.15rem;
  max-width: 36rem;
}

.home-affiliation-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1.35;
}

.home-affiliation-role {
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.home-affiliation-at {
  color: var(--text-dim);
  font-weight: 500;
}

.home-affiliation-company {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.home-affiliation-company:hover {
  color: var(--accent-warm);
}

.home-name-text {
  display: inline-block;
  color: var(--accent);
}

.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.home-role {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.home-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.home-location {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.home-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.65;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.65rem;
}

.home-action-follow-up {
  flex: 0 0 100%;
  display: flex;
}

.home-action-follow-up .link-btn {
  min-width: calc(2 * 7.25rem + 0.65rem);
}

@media (min-width: 769px) {
  .home-page .home-actions {
    display: grid;
    grid-template-columns: max-content max-content;
  }

  .home-page .home-action-follow-up {
    grid-column: 1 / -1;
  }

  .home-page .home-action-follow-up .link-btn[data-home-scroll] {
    width: 100%;
    min-width: 0;
  }
}

.home-page .home-actions .link-btn {
  min-width: 7.25rem;
  justify-content: center;
  padding: 0.68rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
}

.home-page .home-actions .link-btn[data-home-scroll],
.home-page .home-actions .link-btn[data-continue-exploring] {
  background: var(--accent);
  border-color: var(--accent);
  border-top-color: var(--accent-dim);
  color: var(--bg-deep);
  font-weight: 600;
}

.home-page .home-actions .link-btn[data-home-scroll] svg,
.home-page .home-actions .link-btn[data-continue-exploring] svg {
  opacity: 1;
}

.home-page .home-actions .link-btn[data-home-scroll]:hover,
.home-page .home-actions .link-btn[data-continue-exploring]:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--bg-deep);
}

.home-work {
  padding: clamp(3rem, 8vh, 5rem) 0 clamp(4rem, 10vh, 6rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.home-data-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: calc(100% - 2 * var(--home-gutter));
  max-width: var(--home-max);
  margin: 2rem auto;
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
}

.home-data-fallback[hidden] {
  display: none;
}

.home-data-fallback h2 {
  margin-bottom: 0.3rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.home-data-fallback p {
  font-size: 0.875rem;
}

.home-data-fallback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.home-work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.home-all-projects {
  flex-shrink: 0;
}

.home-all-projects span {
  display: inline-block;
  transition: transform 220ms var(--ease-expo);
}

.home-all-projects:is(:hover, :focus-visible) span {
  transform: translateX(3px);
}

.home-work-title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.home-projects-showcase {
  max-width: 100%;
}

.home-projects-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.home-projects-count {
  color: var(--accent-warm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-projects-controls {
  display: flex;
  gap: 0.45rem;
}

.home-projects-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  color: var(--text);
  background: #202429;
  border: 1px solid #383e44;
  border-radius: 0.65rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color var(--transition), border-color var(--transition), background var(--transition),
              transform 180ms var(--ease-expo);
}

.home-projects-control:active {
  transform: scale(0.93);
}

.home-projects-control:hover,
.home-projects-control:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.home-projects-control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.home-projects-stage {
  min-height: 21rem;
  touch-action: pan-y pinch-zoom;
}

.home-project-card {
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: inherit;
  transition: transform var(--transition-interactive), border-color var(--transition),
              background var(--transition);
}

.home-project-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.home-project-card-visual {
  width: 100%;
}

.home-project-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, white 18%, transparent);
}

.home-project-card:hover .home-project-card-visual {
  border-color: color-mix(in srgb, white 18%, transparent);
}

.home-project-card:focus-within {
  border-color: var(--accent);
}

.home-project-card-content {
  min-width: 0;
}

.home-project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.home-project-index {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-project-card-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, white 5%, transparent);
  border: 1px solid color-mix(in srgb, white 10%, transparent);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), transform var(--transition-interactive);
}

.home-project-card-arrow svg {
  width: 14px;
  height: 14px;
}

.home-project-card:hover .home-project-card-arrow {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  transform: translate(3px, -3px);
}

.home-project-card-title {
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.8rem;
}

.home-project-card .project-type-label {
  margin-bottom: 0.7rem;
}

.home-project-card-desc {
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.home-project-card-reading-time {
  display: block;
  margin: -0.55rem 0 0.8rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-project-card-cta {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.home-project-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, white 6%, transparent);
}

.home-projects-picker {
  margin-bottom: 1.25rem;
}

.home-projects-hint {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.home-projects-hint-touch {
  display: none;
}

.home-projects-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.5rem;
}

.home-projects-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  color: var(--text-muted);
  background: #191c20;
  border: 1px solid #383e44;
  border-radius: 0.65rem;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.home-projects-item:hover,
.home-projects-item[aria-pressed="true"] {
  color: var(--text);
  background: #202429;
  border-color: var(--accent);
}

.home-projects-item[aria-pressed="true"] {
  background: var(--accent-soft);
}

.home-projects-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.home-projects-item-number {
  flex-shrink: 0;
  color: var(--accent-warm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.home-projects-item-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (pointer: coarse) {
  .home-projects-hint-touch {
    display: inline;
  }
}

@media (min-width: 900px) {
  .home-hero-inner {
    grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
    align-items: center;
  }

  .home-hero-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .home-hero-portrait {
    width: min(100%, 320px);
    height: auto;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .home-hero-pin {
    height: auto;
    min-height: 100dvh;
  }

  .home-hero {
    padding-top: calc(var(--nav-height) + 1.5rem);
  }

  .home-project-card {
    min-height: auto;
  }

  .home-project-card-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-projects-stage {
    min-height: 0;
  }

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

@media (max-width: 480px) {
  .home-hero {
    padding-top: calc(var(--nav-height) + 0.5rem);
    padding-bottom: 0.5rem;
  }

  .home-hero-inner {
    gap: 1rem;
  }

  .home-hero-portrait {
    width: min(50vw, 180px);
  }

  .home-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .home-meta-dot {
    display: none;
  }

  .home-actions {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .home-scroll-hint {
    bottom: calc(1.25rem + 52px);
  }

  .home-page .home-actions .link-btn {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.65rem 0.8rem;
  }
}

@media (max-width: 480px) and (max-height: 740px) {
  .home-page .home-hero {
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + 0.5rem);
    padding-bottom: 1rem;
  }

  .home-page .home-hero .home-eyebrow {
    margin-bottom: 0.75rem;
  }

  .home-page .home-hero .home-name {
    margin-bottom: 0.65rem;
  }

  .home-page .home-hero .home-affiliation {
    margin-bottom: 0.8rem;
  }

  .home-page .home-hero .home-hero-meta {
    margin-bottom: 0.9rem;
  }

  .home-page .home-hero .home-actions {
    margin-top: 0.75rem;
  }

  .home-scroll-hint {
    display: none;
  }
}

@media (min-width: 600px) and (max-width: 899px) and (max-height: 500px) and (orientation: landscape) {
  .home-hero-pin {
    height: auto;
    min-height: 100svh;
  }

  .home-page .home-hero {
    position: relative;
    top: auto;
    min-height: 100svh;
    justify-content: center;
    padding: calc(var(--nav-height) + 0.75rem) var(--home-gutter) 1rem;
  }

  .home-hero-inner {
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 1.75rem);
  }

  .home-hero-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .home-hero-portrait {
    width: min(100%, 40vh, 190px);
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .home-eyebrow {
    margin-bottom: 0.65rem;
  }

  .home-name {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 5.5vw, 3rem);
  }

  .home-affiliation,
  .home-hero-meta {
    margin-bottom: 0.65rem;
  }

  .home-hero-meta {
    gap: 0.5rem;
  }

  .home-tagline {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.4;
  }

  .home-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .home-page .home-actions .link-btn {
    min-width: 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }

  .home-scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-pin {
    height: auto;
  }

  .home-page .home-hero {
    position: relative;
    top: auto;
  }

  .home-name-text {
    animation: none;
  }

  .home-all-projects span,
  .home-projects-control,
  .home-projects-item {
    transition: none;
  }

  .home-all-projects:is(:hover, :focus-visible) span,
  .home-projects-control:active {
    transform: none;
  }
}


/* Maker's Notebook — home */
.home-eyebrow,
.home-section-label {
  color: var(--accent-warm);
}

.home-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-name-text {
  color: var(--accent);
}

.home-affiliation-badge {
  background: #1c2024;
  border: 1px solid #383e44;
  border-radius: 8px;
}

.home-affiliation-company:hover {
  color: var(--accent-warm);
}

.home-project-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}

.home-project-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.home-work-title,
.home-project-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.home-project-index {
  color: var(--accent-warm);
}

.home-project-card-arrow {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
}

.home-project-card-skills {
  border-top-color: var(--glass-border);
}

.home-about {
  padding: clamp(2.5rem, 7vh, 4rem) 0 clamp(4rem, 10vh, 6rem);
}

.home-about-header {
  margin-bottom: 1.65rem;
}

.home-about-title {
  max-width: 42rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.home-about-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: inherit;
  text-decoration: none;
  background: var(--glass-bg);
  border-color: var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius);
  transition: transform var(--transition-interactive), border-color var(--transition),
              background var(--transition);
}

.home-about-card:hover,
.home-about-card:has(.home-about-card-link:focus-visible) {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.home-about-card-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-about-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.home-about-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-right: 3rem;
}

.home-about-throughline {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-about-kicker,
.home-about-milestone-label {
  display: block;
  color: var(--accent-warm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-about-timeline-frame {
  position: relative;
  margin-top: 2.5rem;
  --home-about-card-bg: var(--glass-bg);
}

.home-about-card:hover .home-about-timeline-frame,
.home-about-card:has(.home-about-card-link:focus-visible) .home-about-timeline-frame {
  --home-about-card-bg: var(--glass-bg-hover);
}

.home-about-timeline-frame::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3.5rem;
  content: "";
  background: linear-gradient(90deg, transparent, var(--home-about-card-bg) 82%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.home-about-timeline {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-about-timeline::-webkit-scrollbar {
  display: none;
}

.home-about-timeline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.home-about-scroll-indicator {
  position: absolute;
  z-index: 2;
  top: 0.15rem;
  right: 0.25rem;
  appearance: none;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  place-items: center;
  color: var(--accent-warm);
  background: #202429;
  border: 1px solid #383e44;
  border-radius: 50%;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity var(--transition), visibility var(--transition);
}

.home-about-scroll-indicator:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.home-about-timeline-frame.has-overflow:not(.is-at-end)::after {
  opacity: 1;
}

.home-about-timeline-frame.has-overflow:not(.is-at-end) .home-about-scroll-indicator {
  opacity: 1;
  visibility: visible;
}

.home-about-milestones {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  position: relative;
  margin: 0;
  padding: 1.5rem 0 0;
  list-style: none;
}

.home-about-milestones::before {
  position: absolute;
  top: 0.25rem;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: color-mix(in srgb, var(--accent-warm) 34%, transparent);
}

.home-about-milestone {
  position: relative;
  flex: 0 0 clamp(14rem, 28vw, 20rem);
}

.home-about-milestone-link {
  display: block;
  height: 100%;
  border-radius: 0.25rem;
  color: inherit;
  text-decoration: none;
}

.home-about-milestone-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.home-about-milestone-link:hover .home-about-milestone-title,
.home-about-milestone-link:focus-visible .home-about-milestone-title {
  color: var(--accent);
}

.home-about-milestone::before {
  position: absolute;
  top: -1.5rem;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  background: #191c20;
  border: 1px solid color-mix(in srgb, var(--accent-warm) 72%, white);
  border-radius: 50%;
}

.home-about-milestone-title {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.home-about-milestone-organization {
  display: block;
  margin-top: 0.28rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.home-about-milestone-date {
  display: block;
  margin-top: 0.65rem;
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.45;
}

.home-about-arrow {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  color: var(--text-dim);
  background: #202429;
  border: 1px solid #383e44;
  border-radius: 0.65rem;
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), transform var(--transition-interactive);
}

.home-about-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

.home-about-card:hover .home-about-arrow,
.home-about-card-link:focus-visible .home-about-arrow {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  transform: translate(3px, -3px);
}

@media (max-width: 768px) {
  .home-about-card {
    padding: 1.5rem;
  }

  .home-about-overview {
    display: block;
    padding-right: 1.6rem;
  }

  .home-about-throughline {
    margin-top: 1.1rem;
    font-size: 0.875rem;
  }

  .home-about-milestone {
    flex-basis: min(74vw, 18rem);
  }

  .home-about-milestone::before {
    top: -1.5rem;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-about-card,
  .home-about-timeline-frame::after,
  .home-about-scroll-indicator,
  .home-about-arrow {
    transition: none;
  }
}
