:root {
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-title: #ffffff;
  --text-body: rgba(244, 245, 248, 0.92);
  --text-muted: rgba(220, 224, 232, 0.68);
  --text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);

  --glass-fill: linear-gradient(
    160deg,
    rgba(16, 18, 22, 0.34) 0%,
    rgba(10, 12, 16, 0.28) 55%,
    rgba(18, 20, 24, 0.36) 100%
  );
  --glass-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.34),
    inset 0 -1px 1px rgba(255, 255, 255, 0.16),
    inset 0 0 18px rgba(0, 0, 0, 0.24),
    0 22px 52px -12px rgba(0, 0, 0, 0.52);

  --hairline: rgba(255, 255, 255, 0.11);
}

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

html {
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.58;
  color: var(--text-body);
  background-color: #06080c;
  overflow-x: hidden;
}

.svg-defs {
  position: fixed;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Fixed Background & Neutral Dark Scrim (zero blue cast) */
.bg-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.bg-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 50%;
}

.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 12, 0.34) 0%,
    rgba(6, 8, 12, 0.16) 50%,
    rgba(5, 7, 11, 0.36) 100%
  );
}

/* Modular 5-Card Shell */
.shell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(38px, 6.5vh, 68px) 20px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

/* Neutral Smoked Liquid Glass Card (Chromium SDF refraction upgraded in main.js) */
.glass-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 24px 26px;
  background: var(--glass-fill);
  backdrop-filter: blur(7px) saturate(108%);
  -webkit-backdrop-filter: blur(7px) saturate(108%);
  box-shadow: var(--glass-shadow);
  text-shadow: var(--text-shadow);
  isolation: isolate;
}

/* Curved Specular Glass Rim */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.48) 0%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.06) 64%,
    rgba(255, 255, 255, 0.34) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Subtle Pointer-Reactive Surface Sheen */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.09),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 240ms ease-out;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover::after {
  opacity: 1;
}

.glass-card > * {
  position: relative;
  z-index: 3;
}

/* Card 1: Profile */
.card-profile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.avatar-frame {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  -webkit-mask-image: radial-gradient(circle 10.5px at 54px 54px, transparent 10px, #000 10.5px);
  mask-image: radial-gradient(circle 10.5px at 54px 54px, transparent 10px, #000 10.5px);
}

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

.discord-status {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
}

.discord-status svg {
  display: block;
}

.discord-status .st-online,
.discord-status .st-idle,
.discord-status .st-dnd,
.discord-status .st-offline {
  display: none;
}

.discord-status[data-status="online"] .st-online,
.discord-status[data-status="idle"] .st-idle,
.discord-status[data-status="dnd"] .st-dnd,
.discord-status[data-status="offline"] .st-offline {
  display: block;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.name-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.name-line h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-title);
}

.handle-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.live-activity {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.38;
  color: rgba(240, 242, 248, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-bio {
  margin: auto 0;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.62;
  color: var(--text-body);
}

.profile-note {
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Card 2: Stack (kuro-inspired circular icon rows) */
.card-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.card-heading {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-title);
}

.stack-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.stack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack-key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stack-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.94);
}

.stack-val {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-title);
  text-align: right;
}

/* Card 3: Socials */
.card-socials {
  padding: 16px 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: var(--text-title);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 150ms ease-out;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.pill:active {
  transform: scale(0.98);
}

.pill-split {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.pill-main {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 10px 0 14px;
  border: 0;
  background: transparent;
  color: var(--text-title);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: inherit;
  cursor: pointer;
}

.pill-main:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pill-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 11px 0 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease-out, background-color 150ms ease-out;
}

.pill-ext:hover {
  color: var(--text-title);
  background: rgba(255, 255, 255, 0.08);
}

.pill-icon {
  width: 36px;
  padding: 0;
  justify-content: center;
}

.mono-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
}

.mono-mark {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Card 4: Projects */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.filter-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.filter-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  pointer-events: none;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-toggle.is-all .filter-thumb {
  transform: translateX(100%);
}

.filter-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-shadow: none;
  cursor: pointer;
  transition: color 180ms ease-out;
}

.filter-btn:hover {
  color: var(--text-title);
}

.filter-btn.is-active {
  color: var(--text-title);
}

.project-list {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}

.extra-projects {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease-out,
    visibility 0s linear 340ms;
}

.extra-projects.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease-out 40ms,
    visibility 0s linear 0s;
}

.extra-projects-inner {
  overflow: hidden;
}

.extra-projects .project-row {
  transform: translateY(-6px);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.extra-projects.is-expanded .project-row {
  transform: translateY(0);
}

.project-list > .project-row:last-child,
.extra-projects .project-row:last-child {
  padding-bottom: 2px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.project-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-title);
  text-decoration: none;
}

.project-title:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}

.project-title:hover .mono-mark {
  color: var(--text-title);
}

.project-sublinks {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}

.sub-link:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--text-title);
}

.sub-link .mono-mark {
  color: inherit;
}

.project-desc p {
  margin: 0;
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.62;
  color: var(--text-body);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--text-title);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Card 5: Contact */
.card-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-heading {
  margin-bottom: 16px;
}

.contact-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border-radius: 16px;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
  color: var(--text-title);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.contact-form textarea {
  resize: vertical;
  min-height: 106px;
}

.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.36);
}

/* True Liquid Glass Capsule Submit Button */
.liquid-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 46px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 52%,
    rgba(255, 255, 255, 0.14) 100%
  );
  backdrop-filter: blur(6px) saturate(108%);
  -webkit-backdrop-filter: blur(6px) saturate(108%);
  box-shadow:
    inset 0 1px 1.5px rgba(255, 255, 255, 0.58),
    inset 0 -1px 1px rgba(255, 255, 255, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  isolation: isolate;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, transform 160ms ease-out, opacity 160ms ease-out;
}

.liquid-btn:hover:not(:disabled) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.12) 52%,
    rgba(255, 255, 255, 0.18) 100%
  );
  border-color: rgba(255, 255, 255, 0.48);
}

.liquid-btn:active:not(:disabled) {
  transform: scale(0.985);
}

.liquid-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  margin: 2px 0 0;
  min-height: 1.2em;
  font-size: 0.83rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

.form-status.is-success {
  color: var(--text-title);
}

.form-status.is-error {
  color: #fecaca;
}

/* Minimal Footer */
.site-footer {
  padding: 6px 4px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(228, 232, 240, 0.7);
  text-shadow: var(--text-shadow);
}

/* Neutral Smoked Liquid Glass Modals */
.glass-modal {
  position: fixed;
  margin: auto;
  padding: 24px 26px;
  width: min(350px, calc(100vw - 32px));
  border: 0;
  border-radius: 28px;
  background: linear-gradient(
    160deg,
    rgba(24, 26, 32, 0.56) 0%,
    rgba(12, 14, 18, 0.52) 55%,
    rgba(22, 24, 30, 0.58) 100%
  );
  backdrop-filter: blur(12px) saturate(108%);
  -webkit-backdrop-filter: blur(12px) saturate(108%);
  box-shadow: var(--glass-shadow);
  color: var(--text-title);
  text-shadow: var(--text-shadow);
  overflow: visible;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.36) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.glass-modal[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .glass-modal[open] {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
}

.glass-modal.is-closing {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}

.glass-modal::backdrop {
  background: rgba(4, 6, 10, 0.58);
  opacity: 0;
  transition: opacity 220ms ease-out;
}

.glass-modal[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .glass-modal[open]::backdrop {
    opacity: 0;
  }
}

.glass-modal.is-closing::backdrop {
  opacity: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-title);
}

.modal-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-title);
}

/* Payments Modal Content */
.payment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-title);
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

a.payment-row:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.payment-row-static {
  cursor: default;
}

.payment-name {
  font-size: 0.92rem;
  font-weight: 700;
}

.payment-action {
  font-size: 0.76rem;
}

.modal-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.inline-copy {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-title);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
  cursor: pointer;
}

/* QR Modal Content */
.qr-modal {
  width: min(310px, calc(100vw - 32px));
  text-align: center;
}

.qr-plate {
  display: inline-flex;
  padding: 12px;
  border-radius: 18px;
  background: #fafafa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.qr-plate svg {
  display: block;
}

.qr-url {
  margin: 14px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  color: var(--text-body);
}

.modal-action-btn {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-title);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}

.modal-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.36);
}

/* Toast Notification (lightweight, no backdrop-filter) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 14px);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(14, 16, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: var(--text-title);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Focus & Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

/* Mobile Layout (<680px) */
@media (max-width: 680px) {
  .shell {
    padding: 26px 14px 36px;
    gap: 14px;
  }

  .top-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .card-socials {
    padding: 14px 14px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .project-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card::after,
  .pill,
  .filter-thumb,
  .extra-projects,
  .extra-projects .project-row,
  .liquid-btn,
  .glass-modal,
  .glass-modal::backdrop,
  .payment-row,
  .toast {
    transition: none;
  }
}
