/* app/static/css/input.css */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: JetBrains Mono, monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

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

:root {
  --bg:             #080c14;
  --surface:        #0e1525;
  --surface-raised: #131d30;
  --border:         rgba(255,255,255,0.07);
  --teal:           #00e5a0;
  --teal-dim:       rgba(0,229,160,0.12);
  --teal-glow:      rgba(0,229,160,0.06);
  --teal-bright:    #00ffb2;
  --amber:          #f59e0b;
  --amber-dim:      rgba(245,158,11,0.12);
  --purple:         #a78bfa;
  --purple-dim:     rgba(167,139,250,0.12);
  --blue:           #60a5fa;
  --blue-dim:       rgba(96,165,250,0.12);
  --slate:          #94a3b8;
  --slate-dim:      rgba(148,163,184,0.10);
  --text-primary:   #e8eaed;
  --text-secondary: #8b949e;
  --text-tertiary:  #5a6478;
  --text-mono:      #a8b3c4;
  --syn-key:     #60a5fa;
  --syn-str:     #fca5a5;
  --syn-bracket: #64748b;
  --red:    #ff5f57;
  --yellow: #ffbd2e;
  --green:  #28ca41;
}

html[data-theme="light"] {
  --bg: #fdfdfd;
  /* Oud papier wit */
  --surface: #2a2d3e;
  /* Softer console background */
  --surface-raised: #2a2d3e;
  /* Matched met terminal voor consistentie */
  --border: rgba(0, 0, 0, 0.15);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-mono: #008000;
  /* Donkergroene console tekst */
  --teal: #111111;
  /* Zwarte nodes/lijnen in light mode */
  --teal-bright: #00b300;
  --teal-dim: rgba(0, 128, 0, 0.10);
  --teal-glow: rgba(0, 128, 0, 0.04);
  --amber: #b45309;
  --amber-dim: rgba(180, 83, 9, 0.10);
  --purple: #6d28d9;
  --purple-dim: rgba(109, 40, 217, 0.10);
  --blue: #1d4ed8;
  --blue-dim: rgba(29, 78, 216, 0.10);
  --slate: #334155;
  --slate-dim: rgba(51, 65, 85, 0.10);
  --syn-key: #1d4ed8;
  --syn-str: #b91c1c;
  --syn-bracket: #475569;
  --topbar-bg: #111111;
  /* Zwarte elementen voor de nav */
  --footer-bg: #111111;
  /* Zwarte elementen voor de footer */
  --topbar-text: #fdfdfd;
  /* Witte tekst in zwarte balken */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

/* ── Portrait ── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
      linear-gradient(rgba(0,229,160,0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,160,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.\!container {
  width: 100% !important;
}

.container {
  width: 100%;
}

@media (min-width: 641px) {
  .\!container {
    max-width: 641px !important;
  }

  .container {
    max-width: 641px;
  }
}

@media (min-width: 1024px) {
  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}

.theme-slider {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 28px;
  border-radius: 9999px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
  touch-action: manipulation;
}

.theme-slider::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
}

.theme-slider:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.theme-slider-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00e5a0;
  display: grid;
  place-items: center;
  transition: transform 0.22s ease-in-out, background 0.22s ease;
  pointer-events: none;
}

html[data-theme="light"] .theme-slider-thumb {
  transform: translateX(24px);
  background: #f59e0b;
}

.theme-icon-sun,
  .theme-icon-moon {
  grid-area: 1 / 1;
  width: 11px;
  height: 11px;
  color: var(--bg);
  transition: opacity 0.15s ease;
}

.theme-icon-sun  {
  opacity: 0;
}

.theme-icon-moon {
  opacity: 1;
}

html[data-theme="light"] .theme-icon-sun  {
  opacity: 1;
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 0;
}

@media (hover: hover) {
  html[data-theme="dark"] .theme-slider:hover {
    border-color: var(--teal);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.2);
  }
}

/* Terminal Overrides for Light Mode - Better readability */

html[data-theme="light"] .\!terminal {
  --surface: #2a2d3e !important;
  --surface-raised: #1e2638 !important;
  --text-primary: #fdfdfd !important;
  --text-secondary: #cbd5e1 !important;
  --text-mono: #00e5a0 !important;
  --teal: #00e5a0 !important;
  --teal-bright: #00ffb2 !important;
  --syn-key: #60a5fa !important;
  --syn-str: #fca5a5 !important;
  --syn-bracket: #94a3b8 !important;
}

html[data-theme="light"] .terminal,
  html[data-theme="light"] .home-terminal {
  --surface: #2a2d3e;
  --surface-raised: #1e2638;
  --text-primary: #fdfdfd;
  --text-secondary: #cbd5e1;
  --text-mono: #00e5a0;
  --teal: #00e5a0;
  --teal-bright: #00ffb2;
  --syn-key: #60a5fa;
  --syn-str: #fca5a5;
  --syn-bracket: #94a3b8;
}

html[data-theme="light"] .mobile-nav-terminal {
  --surface: #2a2d3e;
  --text-primary: #fdfdfd;
  --text-secondary: #cbd5e1;
  --text-mono: #00e5a0;
  --teal: #00e5a0;
  --teal-bright: #00ffb2;
  --teal-dim: rgba(0,229,160,0.12);
  --syn-key: #60a5fa;
  --syn-str: #fca5a5;
}

html[data-theme="light"] .pill {
  color: #fdfdfd;
}

html[data-theme="light"] .typing-text {
  color: #0f766e;
}

body.is-overclocked .hero-name .accent {
  color: var(--red);
  text-shadow: 0 0 15px rgba(255, 95, 87, 0.9), 0 0 34px rgba(245, 158, 11, 0.55);
  animation: pulseExtreme 0.1s infinite;
}

html[data-theme="light"] body.is-overclocked .hero-name .accent {
  color: #b91c1c;
  /* Donkerder rood voor leesbaarheid in light mode */
  text-shadow: none;
  /* Geen shadow in light mode, dat wordt onleesbaar */
}

body.is-overclocked .typing-text {
  color: var(--amber);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.85), 0 0 28px rgba(255, 95, 87, 0.6);
}

body.is-overclocked .typing-cursor {
  background: #ff3333;
  box-shadow: 0 0 10px rgba(255, 51, 51, 0.8);
}

body.is-overclocked .bg-glows::before {
  background: radial-gradient(ellipse at center, rgba(255, 51, 51, 0.15) 0%, transparent 65%);
}

body.is-overclocked .portrait {
  border-color: rgba(255, 51, 51, 0.6);
  box-shadow: 0 0 60px rgba(255, 51, 51, 0.3), 0 0 0 4px rgba(10, 15, 30, 0.8);
}

body.is-overclocked .home-terminal {
  box-shadow:
      0 0 0 1px rgba(255, 95, 87, 0.55),
      0 24px 64px rgba(0,0,0,0.65),
      0 0 28px rgba(255, 51, 51, 0.55),
      0 0 56px rgba(245, 158, 11, 0.35);
}

/* Add smooth transition to elements affected by overclock */

.portrait, .hero-name, .typing-text, .home-terminal-body {
  transition: border-color 0.4s ease, 
                  box-shadow 0.4s ease,
                  color 0.4s ease,
                  text-shadow 0.4s ease;
}

body.is-overclocked .home-terminal-body {
  animation: terminalOverclockShake 0.12s steps(2, end) infinite;
}

body.is-sanne-mode .hero-name .accent {
  color: #ff4d85;
  text-shadow: 0 0 15px rgba(255, 77, 133, 0.8), 0 0 30px rgba(255, 143, 163, 0.5);
}

body.is-sanne-mode .typing-text {
  color: #ff8fa3;
  text-shadow: 0 0 12px rgba(255, 143, 163, 0.8);
}

body.is-sanne-mode .typing-cursor {
  background: #ff4d85;
  box-shadow: 0 0 10px rgba(255, 77, 133, 0.8);
}

body.is-sanne-mode .portrait {
  border-color: rgba(255, 77, 133, 0.6);
  box-shadow: 0 0 60px rgba(255, 77, 133, 0.3), 0 0 0 4px rgba(10, 15, 30, 0.8);
}

body.is-sanne-mode .home-terminal {
  box-shadow:
      0 0 0 1px rgba(255, 77, 133, 0.4),
      0 24px 64px rgba(0,0,0,0.65),
      0 0 40px rgba(255, 77, 133, 0.2);
}

body.is-sanne-mode .portrait-glow {
  background: conic-gradient(
      from 180deg,
      rgba(255, 77, 133, 0.5),
      rgba(255, 143, 163, 0.4),
      rgba(255, 77, 133, 0.5)
    );
}

.sanne-emoji {
  position: fixed;
  top: -10vh;
  z-index: 1000;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  will-change: transform;
  animation: emojiFall linear forwards;
}

.bg-glows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glows::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(0,229,160,0.07) 0%, transparent 65%);
}

.bg-glows::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.04) 0%, transparent 60%);
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
      0deg, transparent, transparent 2px,
      rgba(0,0,0,0.018) 2px, rgba(0,0,0,0.018) 4px
    );
}

#node-bg {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

/* ── Top bar ── */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8,12,20,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background-color 0.3s ease;
}

html[data-theme="light"] .topbar {
  background: var(--topbar-bg);
}

html[data-theme="light"] .theme-slider {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

@media (hover: hover) {
  html[data-theme="light"] .theme-slider:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  }
}

html[data-theme="light"] .topbar-logo,
    html[data-theme="light"] .topbar-nav a,
    html[data-theme="light"] .telemetry-text {
  color: var(--topbar-text);
}

html[data-theme="light"] .online-status {
  color: #00e5a0;
}

html[data-theme="dark"] .online-dot {
  background: #00e5a0;
  box-shadow: 0 0 6px rgba(0, 229, 160, 0.8), 0 0 14px rgba(0, 229, 160, 0.45);
}

html[data-theme="light"] .online-dot {
  background: #00e5a0;
  box-shadow: 0 0 6px rgba(0, 229, 160, 0.5), 0 0 12px rgba(0, 229, 160, 0.2);
}

html[data-theme="light"] .site-footer,
  html[data-theme="light"] .site-footer a {
  color: var(--topbar-text);
}

.topbar-logo {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.topbar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.35rem;
}

.topbar-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                text-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-nav a:hover {
  color: var(--teal);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(0, 229, 160, 0.35);
}

.topbar-nav a:hover::after {
  width: 100%;
}

/* Topbar is dark in light mode — use bright teal so hover stays visible */

html[data-theme="light"] .topbar-nav a:hover {
  color: #00e5a0;
  text-shadow: 0 0 12px rgba(0, 229, 160, 0.4);
}

html[data-theme="light"] .topbar-nav a::after {
  background: #00e5a0;
}

.mobile-nav-overlay[hidden],
  .mobile-nav-toggle[hidden],
  .mobile-nav-panel[hidden] {
  display: none !important;
}

.system-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.telemetry-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mono);
}

.online-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--teal);
  white-space: nowrap;
}

.mobile-nav-panel.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(0,229,160,0.45);
  flex-shrink: 0;
}

.main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 2rem 6rem;
  min-height: 100vh;
}

/* ── Hero ── */

.portrait-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeScale 0.7s ease 0.2s forwards;
}

.portrait-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(
      from 180deg,
      rgba(0,229,160,0.24),
      rgba(245,158,11,0.17),
      rgba(0,229,160,0.24)
    );
  filter: blur(25px);
  z-index: 0;
  animation: rotateSlow 8s linear infinite;
  transition: background 0.3s ease;
}

body.is-overclocked .portrait-glow {
  background: conic-gradient(
      from 180deg,
      rgba(255,51,51,0.5),
      rgba(245,158,11,0.4),
      rgba(255,95,87,0.55),
      rgba(245,158,11,0.4),
      rgba(255,51,51,0.5)
    );
  filter: blur(35px);
  animation: rotateSlow 2s linear infinite;
}

.portrait {
  position: relative;
  z-index: 1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 15%;
     object-position: center 15%;
  border: 2px solid rgba(0,229,160,0.31);
  box-shadow: 0 0 46px rgba(0,229,160,0.12), 0 0 0 4px var(--bg);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.portrait:hover {
  border-color: rgba(0,229,160,0.55);
  box-shadow: 0 0 60px rgba(0,229,160,0.18), 0 0 0 4px var(--bg);
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.hero-name .accent {
  color: var(--teal);
}

/* ── Typing ── */

.typing-wrapper {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}

.typing-prefix {
  font-size: 14px;
  color: var(--text-secondary);
  margin-right: 10px;
}

.typing-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--teal-bright);
  min-width: 1px;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--teal);
  margin-left: 3px;
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}

.\!terminal {
  width: 100% !important;
  max-width: 640px !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 2.5rem !important;
  box-shadow:
      0 0 0 1px rgba(0,0,0,0.5),
      0 24px 64px rgba(0,0,0,0.55),
      0 0 40px rgba(0,229,160,0.03) !important;
  opacity: 0 !important;
  animation: fadeUp 0.7s ease 1s forwards !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.terminal {
  width: 100%;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow:
      0 0 0 1px rgba(0,0,0,0.5),
      0 24px 64px rgba(0,0,0,0.55),
      0 0 40px rgba(0,229,160,0.03);
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.\!terminal.terminal-tap-glow {
  border-color: #00e5a0 !important;
  box-shadow:
      0 0 0 1px rgba(0, 229, 160, 0.85),
      0 24px 64px rgba(0,0,0,0.55),
      0 0 26px rgba(0, 229, 160, 0.55),
      0 0 56px rgba(0, 229, 160, 0.32) !important;
}

.terminal.terminal-tap-glow {
  border-color: #00e5a0;
  box-shadow:
      0 0 0 1px rgba(0, 229, 160, 0.85),
      0 24px 64px rgba(0,0,0,0.55),
      0 0 26px rgba(0, 229, 160, 0.55),
      0 0 56px rgba(0, 229, 160, 0.32);
}

.home-terminal {
  max-width: 640px;
  position: relative;
  margin: 0 auto 2.5rem auto;
}

.home-terminal-body {
  display: grid;
  gap: 1rem;
}

.terminal-output-line {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.045);
}

.terminal-tagline {
  margin: 0;
  color: var(--text-mono);
  font-size: 15px;
  line-height: 1.75;
}

.terminal-tagline strong {
  color: var(--teal-bright);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(0,229,160,0.22);
}

.terminal-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red    {
  background: var(--red);
}

.dot-yellow {
  background: var(--yellow);
}

.dot-green  {
  background: var(--green);
}

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 118px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--text-tertiary);
  pointer-events: none;
}

.terminal-body {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mono);
}

.profile-terminal-body {
  min-height: 290px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: none;
  cursor: default;
}

.profile-terminal-body::-webkit-scrollbar {
  display: none;
}

.profile-terminal-body:focus {
  outline: none;
}

.profile-query {
  margin-top: 0.15rem;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.35;
  white-space: normal;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,229,160,0.35) transparent;
}

.profile-query-line {
  display: grid;
  grid-template-columns: 1.45rem max-content;
  align-items: baseline;
  min-width: -moz-max-content;
  min-width: max-content;
  margin: 0;
  white-space: nowrap;
}

.profile-query-gutter {
  width: 1.45rem;
}

.sql-keyword {
  color: var(--syn-key);
  font-weight: 500;
}

.sql-string {
  color: var(--syn-str);
}

.terminal-hint {
  margin-top: 0.85rem;
  color: var(--text-tertiary);
  font-size: 11px;
}

.terminal-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--teal);
  font: inherit;
}

.t-line    {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.t-prompt  {
  color: var(--teal);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
}

.t-cmd     {
  color: var(--text-primary);
}

.t-key     {
  color: var(--syn-key);
}

.t-str     {
  color: var(--syn-str);
}

.t-bracket {
  color: var(--syn-bracket);
}

.t-error   {
  color: var(--red);
}

.t-warning {
  color: var(--amber);
}

.t-indent  {
  padding-left: 18px;
}

.t-sp      {
  height: 4px;
}

.t-sp-lg   {
  height: 12px;
}

#cli-container {
  align-items: baseline;
  gap: 0;
  min-width: 0;
  cursor: text;
}

#cli-container .t-prompt {
  margin-right: 10px;
}

#cli-input {
  min-width: 1ch;
  max-width: calc(100% - 26px);
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  caret-color: transparent;
  font: inherit;
  font-family: 'JetBrains Mono', monospace;
  line-height: inherit;
}

#cli-cursor {
  flex-shrink: 0;
  margin-left: 1px;
}

.t-json-line {
  display: grid;
  grid-template-columns: 86px 18px minmax(0, max-content);
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.9;
}

.t-json-line .t-bracket:nth-child(2) {
  text-align: center;
}

.blink-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--teal);
  vertical-align: baseline;
  position: relative;
  top: 2px;
  animation: cursorBlink 1.1s step-end infinite;
  margin-left: 4px;
}

/* ── Pills per category ── */

.stack-section {
  width: 100%;
  max-width: 760px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.2s forwards;
}

.stack-group {
  margin-bottom: 1.5rem;
}

.stack-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.6rem;
  padding-left: 2px;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: var(--surface-raised);
  cursor: default;
  transition: all 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0.45;
  transition: opacity 0.28s ease;
  flex-shrink: 0;
}

.pill-data   .pill-dot {
  background: var(--teal);
}

.pill-ai     .pill-dot {
  background: var(--purple);
}

.pill-infra  .pill-dot {
  background: var(--amber);
}

.pill-lang   .pill-dot {
  background: var(--blue);
}

.pill-bi     .pill-dot {
  background: var(--slate);
}

.pill-analytics .pill-dot {
  background: var(--amber);
}

@media (hover: hover) {
  .pill-data:hover   {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,229,160,0.12);
  }

  .pill-ai:hover     {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167,139,250,0.12);
  }

  .pill-infra:hover  {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.12);
  }

  .pill-lang:hover   {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96,165,250,0.12);
  }

  .pill-bi:hover     {
    border-color: var(--slate);
    color: var(--slate);
    background: var(--slate-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148,163,184,0.10);
  }

  .pill-analytics:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.12);
  }

  .pill:hover .pill-dot {
    opacity: 1;
  }
}

.pill-data:active   {
  background: var(--teal-dim);
  border-color: var(--teal);
  transform: translateY(-1px) scale(0.98);
}

.pill-ai:active     {
  background: var(--purple-dim);
  border-color: var(--purple);
  transform: translateY(-1px) scale(0.98);
}

.pill-infra:active  {
  background: var(--amber-dim);
  border-color: var(--amber);
  transform: translateY(-1px) scale(0.98);
}

.pill-lang:active   {
  background: var(--blue-dim);
  border-color: var(--blue);
  transform: translateY(-1px) scale(0.98);
}

.pill-bi:active     {
  background: var(--slate-dim);
  border-color: var(--slate);
  transform: translateY(-1px) scale(0.98);
}

.pill-analytics:active {
  background: var(--amber-dim);
  border-color: var(--amber);
  transform: translateY(-1px) scale(0.98);
}

/* ── Progress block ── */

.progress-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--teal-glow);
  max-width: 400px;
  width: 100%;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.4s forwards;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.progress-block:hover {
  border-color: rgba(0,229,160,0.18);
  box-shadow: 0 0 24px rgba(0,229,160,0.06);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
}

.progress-pct {
  color: var(--teal);
  font-weight: 500;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: 2px;
  transition: width 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.progress-fill.animate {
  width: 60%;
}

/* About page */

.about-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Placeholder pages */

.ascii-bar {
  color: var(--teal);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Mobile ── */

@media (max-width: 640px) {
  .topbar {
    padding: 0.75rem 1.25rem;
    gap: 1rem;
  }

  .topbar-nav {
    display: none;
  }

  .topbar-status {
    display: flex;
    margin-left: auto;
  }

  .system-status {
    align-items: flex-start;
    padding: 0.34rem 0.5rem;
    border: 1px solid rgba(0,229,160,0.22);
    border-radius: 6px;
    background: rgba(0,229,160,0.055);
  }

  .telemetry-text {
    font-size: 8.5px;
  }

  .online-status {
    font-size: 9px;
  }

  .main {
    padding: 5.5rem 1.25rem 6.75rem;
  }

  .portrait-wrapper {
    width: 168px;
    height: 168px;
    margin-bottom: 1.65rem;
  }

  .hero {
    margin-bottom: 1.35rem;
  }

  .hero-name {
    font-size: clamp(1.45rem, 9vw, 2rem);
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .terminal-body {
    padding: 12px 14px;
    font-size: 11.5px;
  }

  .home-terminal-body {
    gap: 0.85rem;
  }

  .terminal-output-line {
    gap: 8px;
    padding-bottom: 0.8rem;
  }

  .terminal-tagline {
    font-size: 12px;
    line-height: 1.65;
  }

  .profile-terminal-body {
    min-height: 210px;
  }

  .profile-query {
    overflow-x: hidden;
    font-size: 11.5px;
    scrollbar-width: none;
  }

  .profile-query::-webkit-scrollbar {
    display: none;
  }

  .profile-query-line {
    grid-template-columns: 1.2rem minmax(0, 1fr);
    min-width: 0;
    white-space: normal;
  }

  .profile-query-line > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .profile-terminal-body .t-indent {
    padding-left: 8px;
  }

  .t-json-line {
    grid-template-columns: 66px 10px minmax(0, 1fr);
    -moz-column-gap: 2px;
         column-gap: 2px;
    font-size: 12px;
    line-height: 1.65;
  }

  .t-json-line .t-str {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .typing-wrapper {
    height: 30px;
    margin-bottom: 0;
  }

  .typing-text {
    font-size: 14px;
  }

  .hero-desc {
    font-size: 14px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .mobile-nav-overlay[hidden] {
    display: none;
  }

  .mobile-nav-toggle {
    position: fixed !important;
    left: 50%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 2147483647 !important;
    /* max 32-bit int — guard against any utility class trying to outrank this */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 112px;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0,229,160,0.34);
    border-radius: 8px;
    background: rgba(14,21,37,0.94);
    color: var(--teal);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.44),
        0 14px 36px rgba(0,0,0,0.42),
        0 0 24px rgba(0,229,160,0.08);
    font: 500 12px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateX(-50%);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  }

  html[data-theme="light"] .mobile-nav-toggle {
    background: var(--topbar-bg);
    border-color: rgba(0, 229, 160, 0.4);
    color: var(--topbar-text);
  }

  .mobile-nav-toggle:hover,
    .mobile-nav-toggle:focus-visible,
    .mobile-nav-toggle.is-open {
    border-color: var(--teal);
    color: var(--teal-bright);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.44),
        0 16px 44px rgba(0,0,0,0.5),
        0 0 28px rgba(0,229,160,0.16);
    outline: none;
  }

  .mobile-nav-toggle-icon {
    color: var(--amber);
    font-size: 14px;
  }

  .mobile-nav-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    padding: 0 1rem calc(4.95rem + env(safe-area-inset-bottom));
    transform: translateY(110%);
    transition: transform 0.32s cubic-bezier(0.2, 0.85, 0.24, 1);
    pointer-events: none;
  }

  .mobile-nav-panel.is-open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav-terminal {
    overflow: hidden;
    width: min(100%, 420px);
    margin: 0 auto;
    border: 1px solid rgba(0,229,160,0.22);
    border-radius: 10px;
    background: rgba(14,21,37,0.98);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.46),
        0 -18px 56px rgba(0,0,0,0.46),
        0 0 42px rgba(0,229,160,0.08);
  }

  .mobile-nav-command {
    padding: 1rem 1rem 0.65rem;
    color: var(--teal);
    font-size: 12px;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255,255,255,0.055);
  }

  .mobile-nav-links {
    display: grid;
    padding: 0.45rem;
  }

  .mobile-nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 0.9rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
    touch-action: manipulation;
  }

  .mobile-nav-links a::before {
    content: ">";
    margin-right: 0.75rem;
    color: var(--teal);
  }

  .mobile-nav-links a:hover,
    .mobile-nav-links a:focus-visible {
    background: var(--teal-dim);
    color: var(--teal-bright);
    transform: translateX(3px);
    outline: none;
  }

  .mobile-nav-links a:active {
    transform: translateX(3px) scale(0.98);
    background: var(--teal-dim);
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-meta-list div,
    .stack-snapshot div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.75rem;
  }

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

  .ascii-bar {
    white-space: normal;
  }

  .mobile-cmd-buttons {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem;
    margin-top: 0.6rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 5;
  }

  .mobile-cmd-buttons button,
    .mobile-cmd-btn {
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface-raised);
    color: var(--text-secondary);
    font: 500 12px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.08s ease-out, border-color 0.08s ease-out, color 0.08s ease-out;
  }

  .mobile-cmd-buttons button:active,
    .mobile-cmd-btn:active {
    transform: scale(0.95);
    border-color: var(--teal);
    color: var(--teal-bright, var(--teal));
  }

  .mobile-cmd-buttons button:focus-visible,
    .mobile-cmd-btn:focus-visible {
    outline: none;
    border-color: var(--teal);
    color: var(--teal-bright, var(--teal));
  }

  .mobile-cmd-btn.easter-egg-btn {
    border-color: rgba(167, 139, 250, 0.45);
    color: var(--purple);
    background: rgba(167, 139, 250, 0.05);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.18);
  }

  .mobile-cmd-btn.easter-egg-btn:active,
    .mobile-cmd-btn.easter-egg-btn:focus-visible {
    transform: scale(0.95);
    border-color: var(--purple);
    color: var(--purple);
    outline: none;
  }
}

html:not([data-theme="dark"]) .scanlines {
  opacity: 0.03;
}

html:not([data-theme="dark"]) .bg-glows {
  opacity: 0.4;
}

/* Bug 1: replace invisible teal grid with visible gray lines on white bg */

html[data-theme="light"] body::before {
  background-image:
      linear-gradient(rgba(0,0,0,0.09) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.09) 1px, transparent 1px);
  opacity: 1;
}

/* Bug 1: increase canvas node network opacity so lines are visible on white */

html[data-theme="light"] #node-bg {
  opacity: 0.9;
}

/* Bug 2: restore accent color for hero name — --teal is repurposed to black for canvas in light mode */

html[data-theme="light"] .hero-name .accent {
  color: #0f766e;
}

/* "Press Enter" hint — --text-tertiary is dark gray, invisible on dark terminal bg in light mode */

html[data-theme="light"] .\!terminal .terminal-hint {
  color: var(--text-secondary) !important;
}

html[data-theme="light"] .terminal .terminal-hint,
  html[data-theme="light"] .home-terminal .terminal-hint {
  color: var(--text-secondary);
}

html[data-theme="light"] .\!terminal .terminal-hint kbd {
  color: var(--teal) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

html[data-theme="light"] .terminal .terminal-hint kbd,
  html[data-theme="light"] .home-terminal .terminal-hint kbd {
  color: var(--teal);
  border-color: rgba(255,255,255,0.2);
}

/* Bug 3: explicit SQL syntax colors inside terminal in light mode */

html[data-theme="light"] .\!terminal .sql-keyword {
  color: #60a5fa !important;
}

html[data-theme="light"] .terminal .sql-keyword,
  html[data-theme="light"] .home-terminal .sql-keyword {
  color: #60a5fa;
}

html[data-theme="light"] .\!terminal .sql-string {
  color: #fca5a5 !important;
}

html[data-theme="light"] .terminal .sql-string,
  html[data-theme="light"] .home-terminal .sql-string {
  color: #fca5a5;
}

/* About bento — JSON/CLI cards reuse the global `.terminal`; pill/stat cards
     reuse `.bento-card`. All four cards share the same scroll-reveal hook and
     the same light-mode console palette so syntax stays readable on either theme. */

.bento-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
      opacity .65s cubic-bezier(.2,.7,.2,1),
      transform .65s cubic-bezier(.2,.7,.2,1),
      border-color .25s ease,
      box-shadow .25s ease;
  will-change: opacity, transform;
}

.bento-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.bento-card:nth-child(2).is-revealed {
  transition-delay: .08s, .08s, 0s, 0s;
}

.bento-card:nth-child(3).is-revealed {
  transition-delay: .16s, .16s, 0s, 0s;
}

.bento-card:nth-child(4).is-revealed {
  transition-delay: .24s, .24s, 0s, 0s;
}

/* Modifier so `.terminal` fits a bento cell: no width cap, no bottom margin,
     full cell height, and no auto-fadeUp keyframe (we drive reveal via JS). */

.bento-terminal {
  max-width: none;
  margin-bottom: 0;
  height: 100%;
  animation: none;
}

@media (hover: hover) {
  .bento-card.is-revealed:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--teal-glow);
    transition-delay: 0s;
  }
}

.bento-row {
  padding: 4px 0;
  border-radius: 4px;
  transition: background-color .2s ease;
}

@media (hover: hover) {
  .bento-row:hover {
    background-color: var(--teal-dim);
  }
}

.bento-row-custom {
  padding: 8px;
  margin: 0 -8px;
  border-radius: 6px;
  background-color: var(--amber-dim);
}

.bento-cursor {
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-left: 6px;
  background: var(--teal);
  vertical-align: baseline;
  animation: cursorBlink 1.1s step-end infinite;
}

/* Light mode: scope the dark-console palette inside every bento card so
     internals (JSON keys, CLI tags, dim labels) stay readable on the surface
     tokens. Same trick as `.terminal` / `.home-terminal` light-mode override. */

html[data-theme="light"] .bento-card,
  html[data-theme="light"] .bento-terminal {
  --surface: #2a2d3e;
  --surface-raised: #1e2638;
  --text-primary: #fdfdfd;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-mono: #00e5a0;
  --teal: #00e5a0;
  --teal-bright: #00ffb2;
  --teal-dim: rgba(0,229,160,0.12);
  --teal-glow: rgba(0,229,160,0.06);
  --syn-key: #60a5fa;
  --syn-str: #fca5a5;
  --syn-bracket: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --amber: #f59e0b;
  --amber-dim: rgba(245,158,11,0.12);
  --purple: #a78bfa;
  --purple-dim: rgba(167,139,250,0.12);
}

@media (prefers-reduced-motion: reduce) {
  .bento-card {
    opacity: 1;
    transform: none;
    transition: border-color .25s ease, box-shadow .25s ease;
  }
}

/* Mobile tactile feedback for the workloads CLI list. The `ontouchstart=""`
     attribute on each `<li class="bento-row">` is what unlocks `:active` on
     iOS Safari — keep both in sync. */

@media (max-width: 640px) {
  .bento-row {
    transition: transform 0.05s ease-out, background-color 0.05s ease-out;
  }

  .bento-row:active {
    transform: scale(0.97);
    background-color: var(--surface-raised);
  }
}

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

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-\[calc\(0\.9rem\+env\(safe-area-inset-bottom\)\)\] {
  bottom: calc(0.9rem + env(safe-area-inset-bottom));
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-3 {
  left: 0.75rem;
}

.right-0 {
  right: 0px;
}

.top-0 {
  top: 0px;
}

.top-3 {
  top: 0.75rem;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-\[70\] {
  z-index: 70;
}

.z-\[90\] {
  z-index: 90;
}

.z-\[95\] {
  z-index: 95;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-56 {
  height: 14rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.max-h-\[260px\] {
  max-height: 260px;
}

.max-h-\[320px\] {
  max-height: 320px;
}

.min-h-\[260px\] {
  min-height: 260px;
}

.min-h-\[48px\] {
  min-height: 48px;
}

.min-h-screen {
  min-height: 100vh;
}

.w-56 {
  width: 14rem;
}

.w-full {
  width: 100%;
}

.min-w-\[112px\] {
  min-width: 112px;
}

.max-w-\[1080px\] {
  max-width: 1080px;
}

.max-w-\[680px\] {
  max-width: 680px;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-\[110\%\] {
  --tw-translate-y: 110%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
  cursor: pointer;
}

.touch-manipulation {
  touch-action: manipulation;
}

.resize {
  resize: both;
}

.list-none {
  list-style-type: none;
}

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

.grid-cols-\[110px_minmax\(0\2c 1fr\)\] {
  grid-template-columns: 110px minmax(0,1fr);
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-\[10px\] {
  gap: 10px;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-border {
  border-color: var(--border);
}

.bg-\[rgba\(8\2c 12\2c 20\2c 0\.88\)\] {
  background-color: rgba(8,12,20,0.88);
}

.bg-black\/55 {
  background-color: rgb(0 0 0 / 0.55);
}

.bg-surface {
  background-color: var(--surface);
}

.bg-teal-glow {
  background-color: var(--teal-glow);
}

.bg-gradient-to-tr {
  background-image: linear-gradient(to top right, var(--tw-gradient-stops));
}

.via-transparent {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-2\.5 {
  padding: 0.625rem;
}

.p-4 {
  padding: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-\[6\.75rem\] {
  padding-bottom: 6.75rem;
}

.pb-\[calc\(4\.95rem\+env\(safe-area-inset-bottom\)\)\] {
  padding-bottom: calc(4.95rem + env(safe-area-inset-bottom));
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-28 {
  padding-top: 7rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-5 {
  padding-top: 1.25rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.font-display {
  font-family: Syne, sans-serif;
}

.font-mono {
  font-family: JetBrains Mono, monospace;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[10\.5px\] {
  font-size: 10.5px;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11\.5px\] {
  font-size: 11.5px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[12\.5px\] {
  font-size: 12.5px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[8\.5px\] {
  font-size: 8.5px;
}

.text-\[9px\] {
  font-size: 9px;
}

.text-\[clamp\(15px\2c 2vw\2c 18px\)\] {
  font-size: clamp(15px,2vw,18px);
}

.text-\[clamp\(2rem\2c 5vw\2c 3rem\)\] {
  font-size: clamp(2rem,5vw,3rem);
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-\[1\.1\] {
  line-height: 1.1;
}

.leading-\[1\.3\] {
  line-height: 1.3;
}

.leading-\[1\.4\] {
  line-height: 1.4;
}

.leading-\[1\.55\] {
  line-height: 1.55;
}

.leading-\[1\.65\] {
  line-height: 1.65;
}

.leading-\[1\.6\] {
  line-height: 1.6;
}

.leading-\[1\.7\] {
  line-height: 1.7;
}

.leading-\[1\.85\] {
  line-height: 1.85;
}

.leading-none {
  line-height: 1;
}

.tracking-\[0\.05em\] {
  letter-spacing: 0.05em;
}

.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}

.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}

.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}

.tracking-\[0\.22em\] {
  letter-spacing: 0.22em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-amber {
  color: var(--amber);
}

.text-blue {
  color: var(--blue);
}

.text-purple {
  color: var(--purple);
}

.text-slate {
  color: var(--slate);
}

.text-teal {
  color: var(--teal);
}

.text-text-mono {
  color: var(--text-mono);
}

.text-text-primary {
  color: var(--text-primary);
}

.text-text-secondary {
  color: var(--text-secondary);
}

.text-text-tertiary {
  color: var(--text-tertiary);
}

.no-underline {
  text-decoration-line: none;
}

.opacity-0 {
  opacity: 0;
}

.drop-shadow-\[0_8px_16px_rgba\(0\2c 229\2c 160\2c 0\.12\)\] {
  --tw-drop-shadow: drop-shadow(0 8px 16px rgba(0,229,160,0.12));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_8px_16px_rgba\(245\2c 158\2c 11\2c 0\.08\)\] {
  --tw-drop-shadow: drop-shadow(0 8px 16px rgba(245,158,11,0.08));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition-\[border-color\2c box-shadow\2c color\] {
  transition-property: border-color,box-shadow,color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-\[320ms\] {
  transition-duration: 320ms;
}

.ease-\[cubic-bezier\(0\.2\2c 0\.85\2c 0\.24\2c 1\)\] {
  transition-timing-function: cubic-bezier(0.2,0.85,0.24,1);
}

@keyframes pulseExtreme {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes terminalOverclockShake {
  0% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(1px, -1px, 0);
  }

  50% {
    transform: translate3d(-2px, 1px, 0);
  }

  75% {
    transform: translate3d(2px, 1px, 0);
  }

  100% {
    transform: translate3d(-1px, -2px, 0);
  }
}

@keyframes heartbeat {
  0% {
    opacity: 0.4;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 0.4;
    transform: scale(0.95);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to   {
    transform: rotate(360deg);
  }
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }

  50%       {
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to   {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

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

@keyframes emojiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(115vh) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

.\[animation\:fadeUp_0\.6s_ease_0\.2s_forwards\] {
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.\[animation\:fadeUp_0\.7s_ease_0\.4s_forwards\] {
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:text-teal:hover {
  color: var(--teal);
}

@media (min-width: 641px) {
  .md\:absolute {
    position: absolute;
  }

  .md\:left-1\/2 {
    left: 50%;
  }

  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:mb-12 {
    margin-bottom: 3rem;
  }

  .md\:mb-8 {
    margin-bottom: 2rem;
  }

  .md\:mt-8 {
    margin-top: 2rem;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-\[360px\] {
    height: 360px;
  }

  .md\:max-h-\[320px\] {
    max-height: 320px;
  }

  .md\:min-h-\[360px\] {
    min-height: 360px;
  }

  .md\:w-\[360px\] {
    width: 360px;
  }

  .md\:-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-\[130px_minmax\(0\2c 1fr\)\] {
    grid-template-columns: 130px minmax(0,1fr);
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:gap-9 {
    gap: 2.25rem;
  }

  .md\:border-0 {
    border-width: 0px;
  }

  .md\:border-t-0 {
    border-top-width: 0px;
  }

  .md\:bg-transparent {
    background-color: transparent;
  }

  .md\:p-0 {
    padding: 0px;
  }

  .md\:p-6 {
    padding: 1.5rem;
  }

  .md\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .md\:py-3\.5 {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }

  .md\:pb-24 {
    padding-bottom: 6rem;
  }

  .md\:pb-32 {
    padding-bottom: 8rem;
  }

  .md\:pb-4 {
    padding-bottom: 1rem;
  }

  .md\:pt-0 {
    padding-top: 0px;
  }

  .md\:pt-28 {
    padding-top: 7rem;
  }

  .md\:pt-32 {
    padding-top: 8rem;
  }

  .md\:text-center {
    text-align: center;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-\[10px\] {
    font-size: 10px;
  }

  .md\:text-\[11px\] {
    font-size: 11px;
  }

  .md\:text-\[12px\] {
    font-size: 12px;
  }

  .md\:text-\[13px\] {
    font-size: 13px;
  }

  .md\:text-\[18px\] {
    font-size: 18px;
  }
}