/*
! tailwindcss v3.3.5 | 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.
*/

html {
  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, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", 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 */
}

/*
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. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: JetBrains Mono, Fira Code, Courier New, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
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 */
  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,
[type='button'],
[type='reset'],
[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] {
  display: none;
}

:root {
  --vh: 1vh;
}

*, ::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:  ;
}

::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:  ;
}

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

.container {
  width: 100%;
}

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

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

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

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

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

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

@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;
  }
}

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

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

.static {
  position: static;
}

.absolute {
  position: absolute;
}

.hidden {
  display: none;
}

.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));
}

.resize {
  resize: both;
}

.filter {
  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);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* =======================================
 * JPL-CERTIFIED RADIATION-HARDENED STYLES
 * Mission-critical visual interface with
 * triple-redundant layout properties and
 * fault-tolerant rendering guarantees
 * ======================================= */

:root {
  /* Triple-redundant color variables for fault tolerance */
  --jpl-bg-primary: #0a0e14;
  --jpl-bg-primary-backup1: #0a0e14;
  --jpl-bg-primary-backup2: #0a0e14;
  --jpl-accent-primary: #66d9ef;
  --jpl-accent-primary-backup1: #66d9ef;
  --jpl-accent-primary-backup2: #66d9ef;
  --jpl-accent-secondary: #a6e22e;
  --jpl-accent-secondary-backup1: #a6e22e;
  --jpl-accent-secondary-backup2: #a6e22e;
  --jpl-accent-alert: #f92672;
  --jpl-text-primary: #f8fafc;
  --jpl-text-primary-backup1: #f8fafc;
  --jpl-text-primary-backup2: #f8fafc;
  /* Dynamically calculated viewport height */
  --vh: 1vh;
}

/* Base styles with radiation-hardened properties */

html,
body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: var(--jpl-bg-primary);
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" 0, "calt" 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 60%, #171f2e 0%, #0a0e14 100%);
  font-size: 1.5rem;
  /* Hardware acceleration with triple-redundancy */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Primary container with iOS viewport height fix */

.radiation-hardened-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(var(--vh, 1vh) * 100);
  min-height: -webkit-fill-available;
  width: 100vw;
  color: var(--jpl-text-primary);
  position: relative;
  overflow: hidden;
  padding: max(env(safe-area-inset-top), 1rem)
    max(env(safe-area-inset-right), 1rem)
    max(env(safe-area-inset-bottom), 1rem)
    max(env(safe-area-inset-left), 1rem);
  /* Memory-safe hardware acceleration */
  transform: translateZ(0);
  will-change: transform;
}

/* A concise identity statement lets the Rust motif carry the technical detail. */

.identity-lockup {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1vh, 0.625rem);
  max-width: min(90vw, 52rem);
  margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
  text-align: center;
}

.identity-name {
  margin: 0;
  color: var(--jpl-text-primary);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 0 12px rgba(102, 217, 239, 0.2);
}

.identity-statement {
  margin: 0;
  max-width: 44ch;
  color: rgba(248, 250, 252, 0.78);
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.identity-accent {
  color: var(--jpl-accent-primary);
  font-weight: 500;
}

/* Animation container with better alignment */

.transformium-container {
  position: relative;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  perspective: 1000px;
  margin-bottom: clamp(1rem, 4vh, 2rem);
  /* Radiation-hardened rendering */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Core type system text with no right margin */

.base-text {
  color: var(--jpl-text-primary);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 600;
  opacity: 0.95;
  z-index: 10;
  margin-right: 0;
  text-shadow: 0 0 10px rgba(102, 217, 239, 0.25);
  white-space: nowrap;
  letter-spacing: -0.02em;
  /* Memory-safe hardware acceleration */
  transform: translateZ(0);
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.base-text:hover {
  text-shadow: 0 0 15px rgba(102, 217, 239, 0.4);
  transform: translateZ(0) scale(1.02);
}

/* Fixed animation field placement */

.transformium-field {
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  flex: 0 0 300px;
  height: clamp(55px, 15vw, 93px);
  font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  z-index: 20;
  color: var(--jpl-accent-primary);
  /* Ensure text color is cyan */
  /* Display properties */
  display: inline-block;
  vertical-align: baseline;
  /* No negative margin by default */
  margin-left: 0;
  /* Prevent any text wrapping */
  white-space: nowrap;
  /* GPU acceleration */
  transform: translateZ(0);
}

/* Visual cue that reveals functionality */

.transformium-field::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--jpl-accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
  opacity: 0.7;
}

.transformium-field:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Particles container with radiation hardening */

.transformium-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* Triple-redundant 3D context */
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

/* SVG connections layer for particle system */

.connections-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.8;
  overflow: visible;
  filter: drop-shadow(0 0 3px rgba(102, 217, 239, 0.35));
  transform: translateZ(0);
}

/* Individual particle styling with SEU protection */

.particle {
  position: absolute;
  text-shadow: 0 0 6px currentColor;
  backface-visibility: hidden;
  will-change: transform, opacity, color;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  line-height: 1;
  display: inline-block;
  font-feature-settings: "liga" 0;
  transform: translateZ(0);
}

.text-particle {
  filter: drop-shadow(0 0 2px currentColor);
}

/* Metallic glow effect with bounded execution */

@keyframes metallic-pulse {
  0% {
    text-shadow: 0 0 4px currentColor, 0 0 8px currentColor;
    filter: brightness(1.0);
  }

  50% {
    text-shadow: 0 0 8px currentColor, 0 0 16px currentColor;
    filter: brightness(1.3);
  }

  100% {
    text-shadow: 0 0 4px currentColor, 0 0 8px currentColor;
    filter: brightness(1.0);
  }
}

.metallic-glow {
  animation: metallic-pulse 2.5s infinite ease-in-out;
}

/* Improved social links container with better positioning */

.social-links {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: max(env(safe-area-inset-bottom), 2rem);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0 clamp(1rem, 3vw, 2rem);
  transform: translateZ(0);
  pointer-events: auto;
}

.social-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 1.5rem);
  max-width: 100%;
  padding: 0 clamp(0.5rem, 3vw, 2rem) env(safe-area-inset-bottom, 1rem);
}

/* Triple-redundant individual social link */

.social-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--jpl-accent-primary);
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-family: 'JetBrains Mono', monospace;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1rem, 3vw, 1.2rem);
  border-radius: 6px;
  background: rgba(102, 217, 239, 0.12);
  letter-spacing: 0.02em;
  border: 1px solid rgba(102, 217, 239, 0.25);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(102, 217, 239, 0.1);
  /* Touch target optimization for mobile */
  min-height: 44px;
  min-width: 80px;
  transform: translateZ(0);
}

.social-link-item:hover, .social-link-item.hovered {
  color: var(--jpl-accent-secondary);
  background: rgba(166, 226, 46, 0.1);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 5px 15px rgba(166, 226, 46, 0.25);
  border-color: rgba(166, 226, 46, 0.3);
}

/* Enhancement for keyboard navigation */

.social-link-item:focus-visible {
  box-shadow: 0 0 0 2px var(--jpl-accent-primary), 0 0 0 4px rgba(102, 217, 239, 0.3);
  transform: translateY(-2px);
}

/* Icon container with guaranteed dimensions */

.icon-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.icon-container img {
  width: clamp(16px, 5vw, 24px);
  height: clamp(16px, 5vw, 24px);
  opacity: 0.9;
  filter: brightness(1.1);
}

.link-label {
  display: inline-block;
  transform: translateZ(0);
}

/* Mission-critical data visualization effect */

@keyframes data-transmission {
  0% {
    opacity: 0.8;
    width: 0;
  }

  50% {
    opacity: 1;
    width: 100%;
  }

  51% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/*.transformium-container::after {*/

/*    content: "";*/

/*    position: absolute;*/

/*    bottom: -10px;*/

/*    left: 0;*/

/*    height: 1px;*/

/*    background: linear-gradient(to right, transparent, var(--jpl-accent-primary), transparent);*/

/*    opacity: 0;*/

/*    animation: data-transmission 8s infinite;*/

/*}*/

/* Advanced background with subtle grid effect */

.radiation-hardened-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
            linear-gradient(rgba(23, 31, 46, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(23, 31, 46, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  z-index: -1;
  opacity: 0.5;
  transform: perspective(500px) rotateX(60deg) scale(2.5, 2.5) translateZ(-200px);
  pointer-events: none;
  animation: grid-fade 15s infinite alternate ease-in-out;
}

@keyframes grid-fade {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.3;
  }
}

/* Interactive particle system that follows cursor/touch */

.interactive-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Radiation-hardened focus states */

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

:focus:not(:focus-visible) {
  outline: none;
}

/* Orientation change animation */

@media (orientation: portrait) {
  .radiation-hardened-container {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
}

@media (orientation: landscape) {
  .radiation-hardened-container {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
}

/* Responsive adjustments with better positioning for social links */

@media screen and (max-width: 768px) {
  .social-link-item {
    padding: 0.5rem 0.8rem;
    min-width: 70px;
  }

  .icon-container {
    gap: 0.5rem;
  }

  .transformium-container {
    transform: scale(0.9);
  }

  /* Ensure social links are visible on tablets */

  .social-links {
    bottom: max(env(safe-area-inset-bottom), 1.5rem);
    position: absolute;
  }
}

/* Small device optimization with guaranteed visibility of social links */

@media screen and (max-width: 480px) {
  .radiation-hardened-container {
    padding: 1rem 0.8rem;
    justify-content: center;
    /* Center content vertically */
  }

  .social-links-container {
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .identity-lockup {
    max-width: 92vw;
    margin-bottom: 1.25rem;
  }

  .social-link-item {
    padding: 0.4rem 0.7rem;
    min-width: 60px;
    font-size: 0.85rem;
  }

  .transformium-container {
    transform: scale(0.85);
    margin-bottom: 6rem;
    /* Add more space for social links */
    width: 100%;
    /* Full width container */
    justify-content: center;
    /* Center the content */
    left: 0;
  }

  /* Make social links fixed position on mobile */

  .social-links {
    position: fixed;
    bottom: env(safe-area-inset-bottom, 1rem);
    left: 0;
    right: 0;
    padding-bottom: 1.5rem;
  }
}

/* iPhone/mobile portrait orientation fix */

@media screen and (max-width: 480px) and (orientation: portrait) {
  .transformium-container {
    transform: scale(0.85);
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: visible;
    /* Ensure text isn't clipped */
  }

  .base-text {
    font-size: clamp(1rem, 4vw, 1.6rem);
    /* Slightly smaller text */
    white-space: nowrap;
    /* Ensure text doesn't wrap */
  }

  .transformium-field {
    font-size: clamp(1rem, 4vw, 1.6rem);
    /* Match base text size */
    margin-left: 0;
    /* Remove negative margin */
    white-space: nowrap;
    /* move up a few ems */
    transform: translateY(-1.5em) translateZ(0);
  }

  /* Optimize the grid effect for performance on mobile */

  .radiation-hardened-container::before {
    background-size: 30px 30px;
    /* Larger grid for better performance */
    opacity: 0.3;
    animation: none;
    /* Disable animation on mobile for performance */
  }

  /* Improve touch targets for mobile */

  .social-link-item {
    min-height: 48px;
    /* Slightly larger for better touch targets */
  }
}

/* Additional fix for very narrow phones like iPhone SE */

@media screen and (max-width: 380px) and (orientation: portrait) {
  .transformium-container {
    transform: scale(0.75);
    /* Further reduce scale */
  }

  .base-text {
    font-size: clamp(0.9rem, 3.5vw, 1.4rem);
    /* Even smaller */
  }

  .transformium-field {
    font-size: clamp(0.9rem, 3.5vw, 1.4rem);
  }
}

/* Optimized night mode transitions */

@media (prefers-color-scheme: dark) {
  .radiation-hardened-container {
    background: radial-gradient(ellipse at 50% 60%, #131b29 0%, #08090e 100%);
  }

  .social-link-item {
    background: rgba(102, 217, 239, 0.06);
  }
}

@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;
  }

  .interactive-particles,
    .connections-layer {
    display: none;
  }
}
