/* Ishan Shrestha — dark bento / terminal portfolio */
:root {
  --bg: #090c12;
  --surface: #101620;
  --surface-2: #141e2b;
  --surface-3: #1a2635;
  --border: rgba(148, 166, 190, 0.16);
  --text: #edf3fb;
  --muted: #8e9bad;
  --subtle: #8191a8;
  --accent: #69b7ff;
  --accent-rgb: 105, 183, 255;
  --accent-2: #a78bfa;
  --green: #79e0b1;
  --danger: #ff7e86;
  --radius: 20px;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Manrope", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --shell: min(1600px, calc(100% - clamp(36px, 7vw, 112px)));
  color-scheme: dark;
}

:root[data-accent="violet"] {
  --accent: #a78bfa;
  --accent-rgb: 167, 139, 250;
  --accent-2: #69b7ff;
}

:root[data-accent="mint"] {
  --accent: #79e0b1;
  --accent-rgb: 121, 224, 177;
}

:root[data-accent="amber"] {
  --accent: #f2c46d;
  --accent-rgb: 242, 196, 109;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: clamp(100%, 0.86vw, 118.75%);
  overflow-x: clip;
  scrollbar-gutter: stable;
}

html.modal-open {
  overflow: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
  font-size: 1rem;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
  background-image: linear-gradient(rgba(120, 150, 190, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 190, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.mono {
  font-family: var(--mono);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  background: #287bd4;
  top: 80px;
  left: -180px;
}

.ambient-two {
  background: #8353c9;
  top: 520px;
  right: -220px;
}

.navbar {
  height: 78px;
  padding: 0 calc((100% - var(--shell)) / 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 12, 18, 0.78);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 15px var(--mono);
  letter-spacing: -0.7px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 9px;
  color: var(--accent);
  font-size: 20px;
}

.logo-muted {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 15px;
}

.nav-cta span {
  color: var(--accent);
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
}

.hero {
  min-height: 650px;
  padding-top: 112px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 0.91fr;
  align-items: center;
  gap: 74px;
  position: relative;
}

.eyebrow,
.overline,
.tiny-label,
.section-index {
  font: 10px var(--mono);
  letter-spacing: 1.45px;
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 31px;
}

.pulse-dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(121, 224, 177, 0.6);
  display: inline-block;
}

.eyebrow-line {
  height: 1px;
  width: 35px;
  background: var(--border);
}

.hero h1 {
  font-size: clamp(62px, 8vw, 100px);
  letter-spacing: -7px;
  line-height: 0.99;
  font-weight: 800;
  margin: 15px 0 24px;
}

.gradient-text {
  background: linear-gradient(105deg, #8bd1ff 4%, #7caeff 42%, #b49bff 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.subtitle {
  color: #a8b4c4;
  font-size: 16px;
  line-height: 1.85;
  max-width: 470px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 31px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s, background 0.22s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: #07111d;
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.13);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(var(--accent-rgb), 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
}

.hero-meta {
  display: flex;
  gap: 23px;
  margin-top: 42px;
  color: var(--muted);
  font: 10px var(--mono);
}

.meta-icon {
  font-style: normal;
  color: var(--accent);
  margin-right: 7px;
  font-size: 15px;
}

.terminal-card {
  border: 1px solid rgba(126, 159, 199, 0.24);
  border-radius: 15px;
  background: rgba(14, 21, 31, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, border-color 0.2s;
}

.terminal-card:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
}

.terminal-top {
  height: 45px;
  background: #111925;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 12px;
  color: #8796aa;
  font: 10px var(--mono);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fa6b6b;
}

.window-dots i:nth-child(2) {
  background: #e8bd63;
}

.window-dots i:nth-child(3) {
  background: #6ad39b;
}

.terminal-top > span {
  margin: auto;
}

.terminal-clear {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
}

.terminal-screen {
  position: relative;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  overflow-wrap: anywhere;
  height: 222px;
  padding: 22px 22px 8px;
  overflow-y: auto;
  font: 11px/2 var(--mono);
  color: #c7d5e7;
}

.terminal-screen p {
  margin-bottom: 2px;
}

.terminal-muted {
  color: var(--subtle);
}

.terminal-green {
  color: var(--green);
}

.terminal-blue {
  color: var(--accent);
}

.terminal-prompt {
  color: #8da0b8;
  margin-top: 10px;
}

.terminal-prompt b {
  color: var(--accent);
}

.terminal-caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--green);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  font: 11px var(--mono);
  color: var(--green);
}

.terminal-input-row input {
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  width: 100%;
  min-width: 0;
  font: 11px var(--mono);
}

.terminal-input-row:focus-within {
  background: rgba(var(--accent-rgb), 0.06);
  box-shadow: inset 2px 0 var(--accent);
}

.terminal-input-row button {
  background: none;
  border: 0;
  color: var(--accent);
  font: 10px var(--mono);
  white-space: nowrap;
  cursor: pointer;
}

.command-chips {
  display: flex;
  gap: 7px;
  padding: 0 18px 17px;
  flex-wrap: wrap;
}

.command-chips button {
  font: 9px var(--mono);
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #111a27;
  color: #9eafc4;
  cursor: pointer;
  transition: 0.2s;
}

.command-chips button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--subtle);
  font: 9px var(--mono);
  letter-spacing: 1.5px;
}

.scroll-line {
  height: 1px;
  width: 34px;
  background: var(--accent);
}

.section {
  padding-top: 105px;
  padding-bottom: 35px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-index {
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: clamp(35px, 5vw, 53px);
  line-height: 1.14;
  letter-spacing: -2.6px;
}

.muted-heading {
  color: #77869a;
}

.heading-note {
  max-width: 280px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  padding-bottom: 5px;
}

.bento-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(100px, 0.5fr) minmax(280px, 1.6fr);
    grid-template-rows: minmax(120px, auto) minmax(105px, auto);
    gap: 0.85rem;
    align-items: stretch;
}
.bento-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(20, 30, 43, 0.94), rgba(13, 19, 28, 0.94));
  border-radius: var(--radius);
  padding: 27px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.bento-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-2px);
}

.about-card {
  grid-row: span 2;
  min-height: 390px;
}

.tab-buttons {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 27px;
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--subtle);
  padding: 7px 10px;
  border-radius: 6px;
  font: 10px var(--mono);
  cursor: pointer;
  transition: 0.2s;
}

.tab-btn span {
  margin-left: 5px;
}

.tab-btn.active {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.tab-content[hidden] {
  display: none;
}

.tab-content {
  animation: fade-up 0.3s var(--ease);
}

.tiny-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--subtle);
}

.tab-content h3 {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.8px;
  margin: 12px 0;
}

.tab-content > p:not(.tiny-label) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
  max-width: 570px;
}

.mini-highlights {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.mini-highlights span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #a9b8ca;
  font: 9px var(--mono);
  background: rgba(255, 255, 255, 0.018);
}

.stat-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card strong {
  font-size: 52px;
  letter-spacing: -3px;
  line-height: 1.15;
  margin: 12px 0 4px;
}

.stat-card strong span {
  color: var(--accent);
}

.stat-card > p:not(.tiny-label) {
  font-size: 12px;
  color: #b8c5d5;
}

.stat-card small {
  color: var(--muted);
  font-size: 10px;
}

.stat-orbit {
  position: absolute;
  right: 24px;
  top: 20px;
  color: var(--accent-2);
  font-size: 23px;
}

.stat-focus {
  background: linear-gradient(145deg, #172238, #121927);
}

.focus-symbol {
  font-size: 30px;
  color: var(--accent-2);
  margin: 12px 0 0;
}

.stat-focus strong {
  font-size: 60px;
  letter-spacing: -0.7px;
  margin: 4px 0 10px;
}

.quote-card {
  grid-column: 2 / 4;
  min-height: 150px;
  padding: 23px 27px;
}

.quote-mark {
  font: 55px Georgia;
  color: var(--accent-2);
  line-height: 1;
}

.quote-card p {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0;
}

.skill-tag {
  background: #0b111b;
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 6px;
  color: #a9b7c9;
  font: 10px var(--mono);
  cursor: pointer;
  transition: 0.2s;
}

.skill-tag:hover,
.skill-tag.active {
  border-color: rgba(var(--accent-rgb), 0.6);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.skill-detail {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(5, 10, 17, 0.35);
  margin-top: 12px;
}

.detail-icon {
  font-size: 18px;
  color: var(--accent);
}

.skill-detail strong {
  font: 11px var(--mono);
  color: var(--text);
}

.skill-detail p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.7;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.interest-chip {
  padding: 11px 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(5, 10, 17, 0.3);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.interest-chip > span {
  font-size: 18px;
}

.interest-chip b {
  font-size: 10px;
}

.interest-chip small {
  font-size: 8px;
  color: var(--muted);
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.portfolio-toolbar > p {
  display: flex;
  align-items: center;
  gap: 9px;
}

.portfolio-toolbar > p span:last-child {
  color: var(--subtle);
  margin-left: 6px;
}

.filter-group {
  display: flex;
  gap: 5px;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--muted);
  font: 10px var(--mono);
  cursor: pointer;
  transition: 0.2s;
}

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

.filter-btn.active {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.25);
  color: var(--accent);
}

.filter-btn span {
  font-size: 8px;
  margin-left: 4px;
  color: inherit;
}

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

.project-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, opacity 0.2s;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.project-card.is-hidden {
  display: none;
}

.project-visual {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #142337;
}

.visual-top,
.visual-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: rgba(222, 237, 255, 0.63);
}

.visual-top {
  top: 17px;
}

.visual-bottom {
  bottom: 15px;
}

.beanflow-visual {
  background: radial-gradient(circle at 60% 55%, #8d6a47 0, #60412f 18%, #202b2d 19%, #15202a 52%, #101722 100%);
}

.coffee-art {
  position: absolute;
  inset: 35px 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-ring {
  width: 165px;
  height: 165px;
  border: 1px solid rgba(235, 198, 151, 0.65);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(235, 198, 151, 0.04), 0 0 0 28px rgba(235, 198, 151, 0.03);
}

.coffee-bean {
  position: absolute;
  font: italic 88px Georgia;
  color: #f1d0a5;
  text-shadow: 0 8px 30px #2b160b;
}

.coffee-caption {
  position: absolute;
  right: 14%;
  bottom: 9%;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 2px;
  color: #f3d8b7;
}

.event-visual {
  background: radial-gradient(circle at 50% 55%, #293c61, #141c2b 70%);
}

.ticket-stack {
  position: absolute;
  inset: 43px 0 20px;
  display: grid;
  place-items: center;
}

.ticket {
  position: absolute;
  width: 145px;
  height: 155px;
  background: #e8d8b7;
  color: #172033;
  padding: 15px;
  transform: rotate(-7deg);
  box-shadow: 0 15px 35px #080d17aa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-back {
  background: #8ca6d1;
  transform: rotate(9deg) translate(13px, 4px);
}

.ticket-label,
.ticket-code {
  font: 8px var(--mono);
  letter-spacing: 1px;
}

.ticket strong {
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.calendar-visual {
  background: radial-gradient(circle at 70% 30%, #244f52, #142b32 55%, #111c28);
}

.calendar-ui {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 205px;
  padding: 15px;
  border: 1px solid #8cc6b966;
  border-radius: 12px;
  background: #0c1b21cc;
  box-shadow: 0 15px 40px #06101380;
}

.calendar-month {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #9ac5b6;
}

.calendar-month b {
  float: right;
  color: #e3f4eb;
}

.calendar-date {
  font-size: 57px;
  line-height: 1.3;
  font-weight: 800;
  color: #e2f5eb;
}

.calendar-date small {
  font: 10px var(--mono);
  color: #a2c8b7;
}

.calendar-caption {
  font: 8px var(--mono);
  color: #8bb9a9;
}

.calendar-dots {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.calendar-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #83c8a6;
}

.calendar-dots i:nth-child(even) {
  background: #6e9dc9;
}

.finance-visual {
  background: radial-gradient(circle at 75% 30%, #38416c, #1c2038 65%, #15192b);
}

.finance-ui {
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%);
  width: 225px;
  padding: 17px;
  border: 1px solid #b0a5ef55;
  border-radius: 12px;
  background: #11152acc;
}

.finance-ui > span,
.finance-ui small {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #aaa9c8;
}

.finance-ui strong {
  display: block;
  font-size: 27px;
  margin: 5px 0 13px;
}

.finance-bars {
  height: 45px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.finance-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#a99bff, #5b7cba);
  height: 40%;
}

.finance-bars i:nth-child(2) {
  height: 70%;
}

.finance-bars i:nth-child(3) {
  height: 55%;
}

.finance-bars i:nth-child(4) {
  height: 90%;
}

.finance-bars i:nth-child(5) {
  height: 62%;
}

.finance-bars i:nth-child(6) {
  height: 78%;
}

.finance-bars i:nth-child(7) {
  height: 48%;
}

.finance-bars i:nth-child(8) {
  height: 100%;
}

.finance-ui small {
  display: block;
  margin-top: 12px;
}

.project-info {
  padding: 21px 22px 19px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  color: var(--subtle);
  font: 8px var(--mono);
  letter-spacing: 1px;
}

.project-type {
  color: var(--accent);
}

.project-info h3 {
  font-size: 20px;
  letter-spacing: -0.7px;
  margin: 14px 0 7px;
}

.project-info h3 span {
  color: #9aa8ba;
}

.project-info > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  min-height: 60px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  margin-top: 17px;
  padding-top: 14px;
}

.tech-stack {
  font: 8px var(--mono);
  color: var(--subtle);
}

.text-link {
  border: 0;
  background: none;
  color: var(--accent);
  font: 10px var(--mono);
  white-space: nowrap;
  cursor: pointer;
}

.text-link span {
  margin-left: 5px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(125deg, #121d2b, #0e151f);
}

.contact-info {
  padding: 38px 35px;
  position: relative;
  overflow: hidden;
}

.contact-orbit {
  font-size: 42px;
  color: var(--accent-2);
  margin-bottom: 24px;
}

.contact-info h3 {
  font-size: 31px;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 13px 0;
}

.contact-info > p:not(.tiny-label) {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 300px;
}

.email-link {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 25px;
  text-decoration: none;
  color: #8292a7;
  font-size: 10px;
}

.email-link span {
  color: var(--accent);
}

.contact-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 35px;
  color: #8292a7;
  font: 9px var(--mono);
}

.contact-form {
  padding: 39px 37px;
  border-left: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-group {
  margin-bottom: 17px;
}

.input-group label {
  display: block;
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #91a0b4;
  margin-bottom: 8px;
}

.input-group input,
.input-group textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0a111a;
  color: var(--text);
  padding: 12px 13px;
  font-size: 11px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--subtle);
}

.form-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-bottom .btn {
  padding: 12px 17px;
}

.form-note {
  font: 8px var(--mono);
  color: var(--subtle);
}

.feedback-msg {
  font-size: 11px;
  margin-top: 14px;
  min-height: 18px;
}

.feedback-msg.success {
  color: var(--green);
}

.feedback-msg.error {
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -5000px !important;
  opacity: 0 !important;
}

.footer {
  margin-top: 105px;
  border-top: 1px solid var(--border);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  font: 9px var(--mono);
}

.footer > p:nth-child(2) {
  font: 11px var(--sans);
}

.back-top {
  color: var(--accent);
  text-decoration: none;
  font: 9px var(--mono);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 7, 12, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop[hidden] {
  display: none;
}

.project-modal {
  width: min(540px, 100%);
  max-height: calc(100vh - 44px);
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, #172334, #0e151f);
  padding: 36px;
  box-shadow: 0 30px 100px #0009;
  animation: modal-in 0.25s var(--ease);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: none;
  color: #a5b2c2;
  font-size: 27px;
  cursor: pointer;
}

.project-modal h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 12px 0;
}

#modalDescription {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.modal-detail-grid > div {
  padding: 13px;
  background: #0b121c;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.modal-detail-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.6;
}

.modal-actions,
.modal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-actions a,
.modal-actions button,
.modal-pager button {
  font: 10px var(--mono);
  text-decoration: none;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 10px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.modal-actions button {
  color: #a9b7c9;
  border-color: var(--border);
}

.modal-actions a:hover,
.modal-actions button:hover,
.modal-pager button:hover:enabled {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.5);
}

.modal-status {
  min-height: 2.4em;
  padding-top: 8px;
  font: 10px var(--mono);
  color: var(--green);
}

.modal-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.modal-pager span {
  display: grid;
  text-align: center;
  font: 10px var(--mono);
}

.modal-pager small {
  color: var(--subtle);
}

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

.clipboard-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

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

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 120;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #07111d;
  font: 700 12px var(--mono);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

main:focus,
section[tabindex="-1"]:focus {
  outline: none;
}

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

html.no-ambient .ambient,
html.no-ambient body::before {
  display: none;
}

/* ---------- Contact quick start + character counter ---------- */
.prompt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
}

.prompt-row .tiny-label {
  margin-right: 5px;
}

.prompt-chip {
  font: 10px var(--mono);
  padding: 7px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0b111b;
  color: #a9b7c9;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.prompt-chip:hover {
  transform: translateY(-2px);
}

.prompt-chip:hover,
.prompt-chip[aria-pressed="true"] {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.6);
  background: rgba(var(--accent-rgb), 0.08);
}

.char-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font: 10px var(--mono);
  color: var(--subtle);
}

.char-row.near-limit {
  color: #f2c46d;
}

.char-meter {
  height: 2px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.char-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

/* ---------- Project card micro-states (hover and keyboard focus) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .coffee-ring,
  .coffee-bean,
  .ticket,
  .calendar-ui,
  .finance-ui {
    transition: transform 0.45s var(--ease);
  }

  .finance-bars i {
    transform-origin: bottom;
  }

  .project-card:is(:hover, :focus-within) .coffee-ring {
    transform: scale(1.09);
  }

  .project-card:is(:hover, :focus-within) .coffee-bean {
    transform: rotate(-9deg) scale(1.06);
  }

  .project-card:is(:hover, :focus-within) .ticket:not(.ticket-back) {
    transform: rotate(-12deg) translate(-16px, -3px);
  }

  .project-card:is(:hover, :focus-within) .ticket-back {
    transform: rotate(15deg) translate(30px, 5px);
  }

  .project-card:is(:hover, :focus-within) .calendar-ui {
    transform: translate(-50%, -53%) scale(1.04);
  }

  .project-card:is(:hover, :focus-within) .calendar-dots i {
    animation: dot-wave 0.9s ease-in-out infinite;
  }

  .calendar-dots i:nth-child(2) { animation-delay: 0.08s !important; }
  .calendar-dots i:nth-child(3) { animation-delay: 0.16s !important; }
  .calendar-dots i:nth-child(4) { animation-delay: 0.24s !important; }
  .calendar-dots i:nth-child(5) { animation-delay: 0.32s !important; }
  .calendar-dots i:nth-child(6) { animation-delay: 0.4s !important; }
  .calendar-dots i:nth-child(7) { animation-delay: 0.48s !important; }

  .project-card:is(:hover, :focus-within) .finance-ui {
    transform: translate(-50%, -52%) scale(1.03);
  }

  .project-card:is(:hover, :focus-within) .finance-bars i {
    animation: bar-grow 0.7s var(--ease);
  }
}

@keyframes dot-wave {
  50% {
    transform: translateY(-4px);
  }
}

@keyframes bar-grow {
  from {
    transform: scaleY(0.25);
  }
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 75px;
  }

  .hero-content {
    max-width: 650px;
  }

  .terminal-card {
    max-width: 650px;
    width: 100%;
  }

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

  .about-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .quote-card {
    grid-column: 1 / -1;
  }

  .section {
    padding-top: 80px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 620px) {
  html {
    font-size: 16px;
  }

  .page-shell {
    width: calc(100% - 32px);
  }

  .navbar {
    height: 66px;
    padding: 0 16px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: 0;
  }

  .menu-toggle span {
    height: 2px;
    width: 21px;
    background: var(--text);
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    padding: 18px;
    background: #0d141e;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 58px;
    min-height: 0;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(58px, 16vw, 70px);
    letter-spacing: -5px;
    line-height: 0.98;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.75;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    flex-wrap: wrap;
  }

  .hero-meta {
    flex-direction: column;
    gap: 9px;
    margin-top: 28px;
    font-size: 10px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 9px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 12px 13px;
    font-size: 11px;
  }

  .scroll-cue {
    display: none;
  }

  .terminal-card {
    border-radius: 12px;
  }

  .terminal-top {
    height: 41px;
    padding-inline: 12px;
    font-size: 9px;
  }

  .terminal-screen {
    height: 188px;
    padding: 14px;
    font-size: 10px;
    line-height: 1.85;
  }

  .terminal-input-row {
    padding: 10px 13px;
  }

  .terminal-input-row,
  .terminal-input-row input {
    font-size: 10px;
  }

  .command-chips {
    padding: 0 13px 13px;
    gap: 6px;
  }

  .command-chips button {
    font-size: 9px;
    padding: 5px 8px;
  }

  .section {
    padding-top: 64px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: clamp(34px, 9.5vw, 41px);
  }

  .heading-note {
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.75;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .bento-card {
    border-radius: 15px;
  }

  .about-card {
    grid-column: 1 / -1;
    padding: 17px;
    min-height: 0;
  }

  .tab-buttons {
    gap: 2px;
    padding-bottom: 12px;
    margin-bottom: 21px;
  }

  .tab-btn {
    font-size: 9px;
    padding: 7px 8px;
  }

  .tab-content h3 {
    font-size: 21px;
  }

  .tab-content > p:not(.tiny-label) {
    font-size: 11px;
    line-height: 1.8;
  }

  .tiny-label {
    font-size: 8px;
  }

  .mini-highlights span {
    font-size: 8px;
    padding: 6px 8px;
  }

  .skill-tag {
    font-size: 9px;
    padding: 7px 8px;
  }

  .skill-detail {
    padding: 10px;
  }

  .skill-detail p {
    font-size: 10px;
  }

  .interest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .interest-chip {
    padding: 9px 8px;
  }

  .stat-card {
    min-height: 145px;
    padding: 15px;
  }

  .stat-card strong {
    font-size: 39px;
  }

  .stat-card > p:not(.tiny-label) {
    font-size: 10px;
  }

  .stat-focus strong {
    font-size: 17px;
  }

  .quote-card {
    grid-column: 1 / -1;
    padding: 19px;
  }

  .quote-card p {
    font-size: 13px;
  }

  .portfolio-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .portfolio-toolbar > p {
    font-size: 9px;
  }

  .filter-group {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    padding: 8px 7px;
    font-size: 9px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .project-visual {
    height: 190px;
  }

  .project-info {
    padding: 17px;
  }

  .project-meta {
    font-size: 7px;
  }

  .project-info h3 {
    font-size: 18px;
    margin-top: 11px;
  }

  .project-info > p {
    font-size: 10px;
    min-height: 0;
  }

  .project-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .tech-stack,
  .text-link {
    font-size: 9px;
  }

  .contact-wrapper {
    border-radius: 14px;
  }

  .contact-info,
  .contact-form {
    padding: 23px 18px;
  }

  .contact-info h3 {
    font-size: 27px;
  }

  .contact-info > p:not(.tiny-label) {
    font-size: 10px;
  }

  .contact-form {
    padding-top: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .input-group {
    margin-bottom: 14px;
  }

  .input-group label {
    font-size: 8px;
  }

  .input-group input,
  .input-group textarea {
    font-size: 11px;
    padding: 11px;
  }

  .form-note {
    font-size: 8px;
  }

  .footer {
    margin-top: 65px;
    padding: 25px 0;
    flex-wrap: wrap;
    gap: 13px;
    font-size: 8px;
  }

  .footer > p:nth-child(2) {
    order: 3;
    width: 100%;
  }

  .footer .logo {
    font-size: 13px;
  }

  .project-modal {
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    padding: 27px 19px;
  }

  .project-modal h2 {
    font-size: 24px;
    padding-right: 20px;
  }

  #modalDescription {
    font-size: 11px;
  }

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

/* --------------------------------------------------------------------------
   RESPONSIVE READABILITY PASS
   Tuned for large desktop displays at browser zoom levels around 80–100%,
   while keeping Android/mobile layouts compact and comfortable to scan.
   -------------------------------------------------------------------------- */
@media (min-width: 1500px) {
  .navbar {
    padding-inline: max(56px, calc((100vw - 1600px) / 2));
    height: 86px;
  }

  .hero {
    min-height: 740px;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(64px, 6vw, 110px);
    padding-top: clamp(100px, 7vw, 145px);
  }

  .hero h1 {
    font-size: clamp(88px, 6.2vw, 124px);
    letter-spacing: -0.075em;
  }

  .subtitle {
    font-size: clamp(17px, 1.12vw, 21px);
    max-width: 590px;
  }

  .eyebrow,
  .overline,
  .section-index {
    font-size: 0.72rem;
  }

  .btn {
    font-size: 0.78rem;
    padding: 15px 21px;
  }

  .hero-meta {
    font-size: 0.68rem;
  }

  .terminal-top {
    height: 52px;
    font-size: 0.7rem;
  }

  .terminal-screen {
    height: 260px;
    padding: 27px;
    font-size: 0.76rem;
    line-height: 2.05;
  }

  .terminal-input-row,
  .terminal-input-row input {
    font-size: 0.76rem;
  }

  .command-chips button {
    font-size: 0.65rem;
    padding: 7px 11px;
  }

  .section {
    padding-top: 130px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2 {
    font-size: clamp(54px, 3.5vw, 72px);
  }

  .heading-note {
    font-size: 0.82rem;
    max-width: 350px;
  }

  .bento-grid {
    gap: 18px;
  }

  .bento-card {
    padding: 34px;
  }

  .about-card {
    min-height: 470px;
  }

  .tab-btn {
    font-size: 0.7rem;
    padding: 9px 12px;
  }

  .tab-content h3 {
    font-size: 1.75rem;
  }

  .tab-content > p:not(.tiny-label) {
    font-size: 0.82rem;
  }

  .tiny-label {
    font-size: 0.66rem;
  }

  .mini-highlights span,
  .skill-tag {
    font-size: 0.68rem;
  }

  .skill-detail strong {
    font-size: 0.76rem;
  }

  .skill-detail p {
    font-size: 0.72rem;
  }

  .interest-chip b {
    font-size: 0.72rem;
  }

  .interest-chip small {
    font-size: 0.62rem;
  }

  .stat-card {
    min-height: 220px;
  }

  .stat-card strong {
    font-size: 4rem;
  }

  .stat-card > p:not(.tiny-label) {
    font-size: 0.84rem;
  }

  .quote-card p {
    font-size: 1.05rem;
  }

  .portfolio-toolbar > p,
  .filter-btn {
    font-size: 0.7rem;
  }

  .portfolio-grid {
    gap: 22px;
  }

  .project-visual {
    height: 280px;
  }

  .project-info {
    padding: 26px 28px 23px;
  }

  .project-meta {
    font-size: 0.62rem;
  }

  .project-info h3 {
    font-size: 1.4rem;
  }

  .project-info > p {
    font-size: 0.78rem;
    min-height: 5.2em;
  }

  .tech-stack,
  .text-link {
    font-size: 0.65rem;
  }

  .contact-info {
    padding: 48px;
  }

  .contact-info h3 {
    font-size: 2.3rem;
  }

  .contact-info > p:not(.tiny-label) {
    font-size: 0.78rem;
  }

  .contact-form {
    padding: 48px;
  }

  .input-group label {
    font-size: 0.65rem;
  }

  .input-group input,
  .input-group textarea {
    font-size: 0.78rem;
    padding: 14px 15px;
  }

  .form-note,
  .footer,
  .back-top {
    font-size: 0.65rem;
  }
}

@media (min-width: 621px) and (max-width: 1100px) {
  .page-shell {
    width: calc(100% - 56px);
  }

  .hero {
    gap: 38px;
    grid-template-columns: 1fr 0.95fr;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(62px, 7vw, 86px);
    letter-spacing: -0.07em;
  }

  .subtitle {
    font-size: 15px;
  }

  .bento-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .about-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .quote-card {
    grid-column: 1 / -1;
  }

  .portfolio-grid {
    gap: 13px;
  }

  .project-info {
    padding: 18px;
  }

  .project-info h3 {
    font-size: 18px;
  }

  .project-info > p {
    font-size: 11px;
  }

  .contact-info,
  .contact-form {
    padding: 28px;
  }
}

@media (max-width: 390px) {
  .page-shell {
    width: calc(100% - 26px);
  }

  .hero h1 {
    font-size: 57px;
  }

  .hero-actions .btn {
    font-size: 10px;
    gap: 9px;
    padding-inline: 10px;
  }

  .tab-btn {
    font-size: 8px;
    padding-inline: 6px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-card strong {
    font-size: 35px;
  }

  .stat-focus strong {
    font-size: 16px;
  }

  .filter-btn {
    padding-inline: 5px;
    font-size: 8px;
  }

  .project-visual {
    height: 175px;
  }

  .project-info h3 {
    font-size: 17px;
  }

  .footer .back-top {
    font-size: 8px;
  }
}

@media (max-width: 340px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .about-card,
  .quote-card {
    grid-column: 1;
  }

  .stat-card {
    min-height: 130px;
  }

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

  .filter-group {
    gap: 2px;
  }
}

/* Legibility floor for functional small text, plus touch-friendly controls */
@media (max-width: 1499px) {
  .command-chips button,
  .mini-highlights span,
  .interest-chip small,
  .tech-stack,
  .project-meta,
  .form-note,
  .input-group label,
  .tiny-label,
  .contact-status,
  .footer,
  .back-top,
  .filter-btn span {
    font-size: max(10px, 0.625rem);
  }
}

@media (min-width: 1500px) {
  .prompt-chip,
  .char-row,
  .modal-actions a,
  .modal-actions button,
  .modal-pager button,
  .modal-pager span,
  .modal-status {
    font-size: 0.68rem;
  }
}

@media (max-width: 620px) {
  .tab-buttons {
    flex-wrap: wrap;
  }

  .tab-btn,
  .filter-btn {
    font-size: 10px;
  }

  .char-hint {
    visibility: hidden;
  }
}

@media (pointer: coarse) {
  .command-chips button,
  .prompt-chip,
  .tab-btn,
  .skill-tag,
  .filter-btn,
  .modal-actions a,
  .modal-actions button,
  .modal-pager button,
  .text-link {
    min-height: 40px;
  }

  .terminal-clear,
  .modal-close,
  .menu-toggle {
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
  }

  /* 16px stops iOS from zooming the page when a field is focused */
  .input-group input,
  .input-group textarea,
  .terminal-input-row input {
    font-size: 16px;
  }

  .char-hint {
    visibility: hidden;
  }
}

@media (min-width: 1500px) {
  /* keeps the focus headline from inheriting the oversized stat number */
  .stat-card.stat-focus strong {
    font-size: 4rem;
  }
}

/* Compact card artwork so it never covers the captions */
@media (max-width: 1100px) {
  .calendar-ui,
  .finance-ui {
    padding: 8px 14px;
  }

  .calendar-date {
    font-size: 40px;
    line-height: 1.2;
  }

  .calendar-dots {
    margin-top: 6px;
  }

  .finance-ui strong {
    font-size: 21px;
    margin: 0 0 4px;
  }

  .finance-bars {
    height: 30px;
  }

  .finance-ui small {
    margin-top: 5px;
  }

  .ticket {
    width: 120px;
    height: 118px;
    padding: 10px 12px;
  }

  .ticket strong {
    font-size: 17px;
  }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .stat-card {
    padding-inline: 18px;
  }

  .stat-orbit {
    top: 10px;
    right: 12px;
  }
}

@media (max-width: 620px) {
  .finance-ui {
    top: 49%;
    padding-block: 6px;
  }

  .finance-bars {
    height: 24px;
  }

  .finance-ui strong {
    font-size: 19px;
    margin-bottom: 2px;
  }

  .ticket-stack {
    inset: 30px 0 34px;
  }

  .ticket {
    width: 108px;
    height: 100px;
    padding: 8px 10px;
  }

  .ticket strong {
    font-size: 15px;
  }
}

.menu-toggle span {
  transition: transform 0.22s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .terminal-card,
  .bento-card,
  .project-card,
  .btn,
  .prompt-chip {
    transform: none !important;
  }
}