:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --fg: #ededec;
  --fg2: #b0b0af;
  --muted: #74746f;
  --faint: #4c4c4a;
  --border: #232322;
  --accent: #eb8c43;
  --blue: #7aa7ff;
  --green: #67d19c;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f4ef;
  --surface: #eeebe3;
  --fg: #14130f;
  --fg2: #403e38;
  --muted: #87837b;
  --faint: #aaa69d;
  --border: #e0dccf;
  --accent: #bd6a20;
  --blue: #3268bd;
  --green: #26784f;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg2);
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

a {
  color: inherit;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

button {
  font: inherit;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: var(--bg);
  border-radius: 0 0 var(--page-radius, 0px) var(--page-radius, 0px);
  transform: scale(var(--page-scale, 1));
  transform-origin: 50% 100%;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

.reveal-spacer {
  height: 55vh;
  pointer-events: none;
}

#portfolio {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 26px 70px;
}

.contact-anchor {
  height: 1px;
  scroll-margin-top: 24px;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--fg);
  transition: opacity 620ms ease, visibility 620ms ease;
}

.splash-loader {
  display: grid;
  gap: 20px;
  justify-items: center;
  transform-origin: center;
}

.rose-loader {
  width: min(26vmin, 116px);
  aspect-ratio: 1;
  overflow: visible;
  color: var(--muted);
}

.splash-meta {
  display: grid;
  gap: 5px;
  text-align: center;
}

.splash-meta span {
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

.splash-meta small {
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.splash-screen.is-exiting {
  opacity: 0;
  visibility: hidden;
}

.splash-screen.is-exiting .splash-loader {
  animation: splash-scale-in 620ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

[data-enter] {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

body.is-ready [data-enter] {
  animation: page-enter 720ms cubic-bezier(0.2, 0.7, 0.16, 1) forwards;
  animation-delay: calc(var(--enter-order, 0) * 90ms);
}

[data-enter].has-entered {
  opacity: 1;
  transform: none;
}

@keyframes splash-scale-in {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.45);
  }
}

@keyframes page-enter {
  to {
    opacity: 1;
    transform: none;
  }
}

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions a {
  text-decoration: none;
}

.nav-actions a:hover,
.nav-actions a:focus-visible {
  color: var(--fg);
}

#theme-toggle {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

#theme-toggle:hover,
#theme-toggle:focus-visible {
  border-color: var(--border);
  color: var(--fg);
}

.theme-icon {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-icon-sun {
  opacity: 0;
  transform: scale(0.7) rotate(-35deg);
}

:root[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: scale(0.7) rotate(35deg);
}

:root[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.intro {
  margin-top: 64px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

.name {
  margin: 0;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

.role,
.date,
.stack,
.education span {
  font-family: "Geist Mono", monospace;
}

.role {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 12px;
}

h1 {
  max-width: 20ch;
  margin: 30px 0 0;
  color: var(--fg);
  font-size: clamp(25px, 5vw, 33px);
  font-weight: 600;
  line-height: 1.22;
  text-wrap: balance;
}

.lead {
  max-width: 54ch;
  margin: 18px 0 0;
}

strong {
  color: var(--fg);
  font-weight: 500;
}

.quick-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-contact button {
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.quick-contact button:hover,
.quick-contact button:focus-visible {
  filter: brightness(1.08);
}

.quick-contact button.is-copied {
  background: var(--green);
}

.quick-contact span {
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

kbd {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 6px;
  color: var(--fg2);
  font: inherit;
}

.section {
  margin-top: 72px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading span {
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--fg2);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading::after {
  content: "";
  height: 1px;
  background: var(--border);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px 16px;
}

.date {
  padding-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h3,
h4,
p {
  margin-top: 0;
}

.timeline h3,
.project h3,
.client-work h4 {
  margin-bottom: 6px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 400;
}

.timeline p,
.project p,
.client-work p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.browser-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0d0d0f;
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.7);
}

.frame-live {
  position: absolute;
  top: 9px;
  right: 11px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #232322;
  padding: 10px 14px;
  background: #151517;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-bar span:nth-child(1) {
  background: #e0695e;
}

.browser-bar span:nth-child(2) {
  background: #e0b13e;
}

.browser-bar span:nth-child(3) {
  background: #5cb176;
}

.browser-bar small {
  margin-left: 8px;
  color: #5a5a5e;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
}

.browser-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  object-position: top center;
}

.project-title,
.client-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.project-title h3,
.client-heading h3 {
  margin: 0;
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
}

.role-tag {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

.role-tag::before {
  content: "· ";
  color: var(--faint);
}

.role-tag.accent {
  color: var(--accent);
}

.role-tag.blue {
  color: var(--blue);
}

.project-title + p {
  margin-top: 7px;
}

.stack {
  margin-top: 9px;
  color: var(--faint);
  font-size: 11px;
}

.client-work > p {
  color: var(--muted);
  font-size: 14px;
}

.client-work article {
  padding: 18px 0 0;
}

.client-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.client-work h4 {
  margin-bottom: 0;
}

.client-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--fg2);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.client-name img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.client-name--plain {
  color: var(--muted);
}

/* ---- Expandable case study (grid-rows animation) ---- */
.case {
  margin-top: 14px;
}

.case-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.case-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 240ms ease;
}

.case.is-open .case-toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.case-toggle:hover,
.case-toggle:focus-visible {
  color: var(--fg);
}

/* The grid-template-rows 0fr → 1fr trick animates to content height
   without a fixed pixel value; the child must clip its overflow. */
.case-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case.is-open .case-reveal {
  grid-template-rows: 1fr;
}

.case-reveal > .case-body {
  min-height: 0;
  overflow: hidden;
}

.case-body {
  padding-top: 14px;
}

.case-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.case-body li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.case-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.case-body code {
  font-family: "Geist Mono", monospace;
  font-size: 0.9em;
  color: var(--fg2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 4px;
}

.case-impact {
  margin: 14px 0 0;
  color: var(--fg2);
  font-size: 13.5px;
  line-height: 1.55;
}

.case-tech {
  margin: 14px 0 0;
  color: var(--faint);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
}

.case-tech--inline {
  margin-top: 9px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}

.client-head h4 .live-tag {
  margin-left: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent);
  }
  70% {
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.stack-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stack-group h3 {
  margin-bottom: 11px;
  color: var(--faint);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skills span {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  background: var(--surface);
  color: var(--fg2);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

.skills .skill,
.skills .with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.skills .with-icon > img,
.codex-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.codex-chip {
  position: relative;
}

.skills .codex-chip .codex-icon-light,
.skills .ollama-chip .ollama-icon-light,
.skills .openai-chip .openai-icon-light,
.skills .aws-chip .aws-icon-light {
  display: none;
}

:root[data-theme="light"] .skills .codex-chip .codex-icon-dark,
:root[data-theme="light"] .skills .ollama-chip .ollama-icon-dark,
:root[data-theme="light"] .skills .openai-chip .openai-icon-dark,
:root[data-theme="light"] .skills .aws-chip .aws-icon-dark {
  display: none;
}

:root[data-theme="light"] .skills .codex-chip .codex-icon-light,
:root[data-theme="light"] .skills .ollama-chip .ollama-icon-light,
:root[data-theme="light"] .skills .openai-chip .openai-icon-light,
:root[data-theme="light"] .skills .aws-chip .aws-icon-light {
  display: block;
}

.ollama-icon,
.openai-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.aws-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.skill-logo {
  position: relative;
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  font-family: "Geist Mono", monospace;
  font-size: 6px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.skill-logo.azure {
  background: linear-gradient(135deg, #0078d4 0 52%, #50e6ff 52% 100%);
  clip-path: polygon(50% 0, 100% 100%, 58% 100%, 48% 72%, 30% 100%, 0 100%);
}

.skill-logo.azure-devops {
  background: #0078d4;
}

.skill-logo.azure-devops::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-left-color: transparent;
  transform: rotate(45deg);
}

/* Cypress brand mark is dark navy — give it a light backing on the
   dark theme so it stays visible inside the chip. */
:root:not([data-theme="light"]) .cypress-chip img {
  border-radius: 4px;
  background: #fff;
  padding: 1px;
}

.contact-line {
  margin: 0;
  color: var(--fg);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 600;
  line-height: 1.3;
}

.email {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-size: clamp(16px, 3.5vw, 22px);
  text-decoration: none;
  word-break: break-word;
}

.email:hover,
.email:focus-visible {
  color: var(--fg);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  margin-top: 26px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--fg2);
  font-size: 14px;
  text-decoration: none;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: var(--accent);
  color: var(--fg);
}

.contact-links span {
  width: 18px;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
}

.contact-links .link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.contact-links .link-icon img,
.contact-links .link-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.contact-links b {
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
}

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

/* ---- Time-of-day gradient backdrop + connect panel (revealed on scroll) ---- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--grad);
  transition: background 700ms ease;
}

.connect {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 55vh;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(22px, 5vw, 60px) clamp(30px, 5vh, 56px);
  color: var(--c-text);
}

.connect-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.connect-eyebrow {
  margin: 0 0 16px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-soft);
}

.connect-title-line {
  margin: 0;
  color: var(--c-text);
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.type-wrap {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.type-caret {
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 3px;
  border-radius: 1px;
  background: currentColor;
  transform: translateY(0.06em);
  animation: caret-blink 1s steps(1, end) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.connect-email {
  display: inline-block;
  margin-top: 16px;
  color: var(--c-text);
  font-family: "Geist Mono", monospace;
  font-size: clamp(15px, 2.4vw, 19px);
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 3px;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.connect-email:hover,
.connect-email:focus-visible {
  border-color: var(--c-text);
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.connect-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--c-glass-border);
  border-radius: 999px;
  padding: 9px 16px 9px 14px;
  color: var(--c-text);
  font-size: 13.5px;
  text-decoration: none;
  background: var(--c-glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
  box-shadow:
    inset 0 1px 0 var(--c-glass-hi),
    0 8px 22px -12px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}

.connect-link:hover,
.connect-link:focus-visible {
  background: var(--c-glass-bg-hover);
  transform: translateY(-1px);
}

.connect-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.connect-link b {
  color: var(--c-soft);
  font-weight: 400;
}

.connect-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-soft);
}

/* Time-of-day palettes */
body[data-time="sunrise"] {
  --grad: linear-gradient(180deg, #fcdcab 0%, #f6b585 45%, #ef9a86 78%, #e98f93 100%);
  --c-text: #5a3320;
  --c-soft: #8a5a3e;
  --c-line: rgba(90, 51, 32, 0.26);
  --c-glass-bg: rgba(255, 250, 245, 0.18);
  --c-glass-bg-hover: rgba(255, 250, 245, 0.3);
  --c-glass-border: rgba(255, 255, 255, 0.5);
  --c-glass-hi: rgba(255, 255, 255, 0.55);
}

body[data-time="day"] {
  --grad: linear-gradient(180deg, #8fbcef 0%, #a9cdf2 45%, #c6def4 78%, #dce9f6 100%);
  --c-text: #1f3350;
  --c-soft: #41597c;
  --c-line: rgba(31, 51, 80, 0.24);
  --c-glass-bg: rgba(255, 255, 255, 0.22);
  --c-glass-bg-hover: rgba(255, 255, 255, 0.36);
  --c-glass-border: rgba(255, 255, 255, 0.6);
  --c-glass-hi: rgba(255, 255, 255, 0.65);
}

body[data-time="sunset"] {
  --grad: linear-gradient(180deg, #5f5491 0%, #97648f 38%, #d27f64 80%, #f0ab7c 100%);
  --c-text: #3a2638;
  --c-soft: #5f4257;
  --c-line: rgba(58, 38, 56, 0.3);
  --c-glass-bg: rgba(255, 250, 248, 0.15);
  --c-glass-bg-hover: rgba(255, 250, 248, 0.26);
  --c-glass-border: rgba(255, 255, 255, 0.42);
  --c-glass-hi: rgba(255, 255, 255, 0.45);
}

body[data-time="night"] {
  --grad: linear-gradient(180deg, #0e1326 0%, #161c33 50%, #232043 100%);
  --c-text: #e7e8f0;
  --c-soft: #9aa0bd;
  --c-line: rgba(231, 232, 240, 0.2);
  --c-glass-bg: rgba(255, 255, 255, 0.07);
  --c-glass-bg-hover: rgba(255, 255, 255, 0.13);
  --c-glass-border: rgba(255, 255, 255, 0.18);
  --c-glass-hi: rgba(255, 255, 255, 0.16);
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 60;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast-message {
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--fg);
  color: var(--bg);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.toast-message.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 620px) {
  #portfolio {
    padding-inline: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  .splash-screen,
  .splash-loader,
  [data-enter],
  body.is-ready [data-enter] {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .live-dot,
  .type-caret {
    animation: none !important;
  }
}
