:root {
  --bg: #02050a;
  --bg-deep: #010207;
  --panel: rgba(5, 13, 22, 0.72);
  --panel-strong: rgba(8, 18, 30, 0.9);
  --line: rgba(135, 222, 245, 0.18);
  --line-bright: rgba(144, 238, 255, 0.42);
  --text: #edf7fb;
  --muted: #8fa3ae;
  --soft: #c4d8df;
  --cyan: #7feaff;
  --cyan-deep: #0d8daa;
  --green: #82ffc4;
  --copper: #caa06f;
  --copper-bright: #f1d3aa;
  --copper-deep: #74513e;
  --shadow: rgba(0, 0, 0, 0.42);
  --header-height-desktop: 68px;
  --header-height-tablet: 108px;
  --header-height-mobile: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 52% 38%, rgba(118, 232, 255, 0.22), transparent 30%),
    radial-gradient(circle at 43% 54%, rgba(224, 248, 255, 0.08), transparent 23%),
    radial-gradient(circle at 84% 16%, rgba(127, 234, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #06101c 0%, var(--bg) 48%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background-image:
    linear-gradient(rgba(127, 234, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 234, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.96) 0%, transparent 32%, transparent 66%, rgba(2, 5, 10, 0.92) 100%),
    linear-gradient(180deg, transparent 0%, rgba(2, 5, 10, 0.76) 86%, #02050a 100%);
  pointer-events: none;
}

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

main {
  padding-top: 0;
}

.ambient-glow,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 45%, rgba(174, 244, 255, 0.17), transparent 24%),
    radial-gradient(circle at 36% 24%, rgba(72, 146, 190, 0.17), transparent 28%),
    radial-gradient(circle at 72% 72%, rgba(20, 90, 128, 0.12), transparent 26%);
  filter: blur(8px);
}

.scanlines {
  z-index: 20;
  opacity: 0.055;
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(210, 248, 255, 0.35) 6px);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(127, 234, 255, 0.11);
  background: rgba(1, 4, 9, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-actions,
.header-status,
.entry-button,
.panel-top,
.module-list,
.system-kicker,
.construction-ribbon {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(127, 234, 255, 0.42), 0 0 18px rgba(127, 234, 255, 0.36);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.15vw, 30px);
  color: var(--muted);
  font-size: 0.74rem;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a,
.header-status {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(127, 234, 255, 0.16);
  border-radius: 50%;
  background: rgba(127, 234, 255, 0.025);
  color: rgba(196, 216, 223, 0.78);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.icon-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link:hover,
.icon-link:focus-visible {
  border-color: rgba(127, 234, 255, 0.48);
  background: rgba(127, 234, 255, 0.07);
  color: #dffbff;
  box-shadow: 0 0 18px rgba(127, 234, 255, 0.18);
}

.icon-link:focus-visible {
  outline: 1px solid rgba(127, 234, 255, 0.62);
  outline-offset: 3px;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(130, 255, 196, 0.23);
  background: rgba(130, 255, 196, 0.045);
  color: var(--green);
  font-size: 0.68rem;
  white-space: nowrap;
}

.header-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.header-status em {
  color: #d4ffe8;
  font-style: normal;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  min-height: 100vh;
  padding: 88px clamp(18px, 4vw, 58px) 34px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(127, 234, 255, 0.48), transparent);
  box-shadow: 0 0 34px rgba(127, 234, 255, 0.46);
}

.hero::after {
  position: absolute;
  inset: 13% 20% 14%;
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse at 50% 44%, rgba(166, 244, 255, 0.16), transparent 36%),
    radial-gradient(ellipse at 50% 52%, rgba(48, 169, 214, 0.15), transparent 45%);
  filter: blur(18px);
  pointer-events: none;
}

.construction-ribbon {
  position: absolute;
  top: 82px;
  left: clamp(18px, 4vw, 58px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(127, 234, 255, 0.22);
  background: linear-gradient(90deg, rgba(3, 12, 20, 0.84), rgba(5, 18, 29, 0.62));
  color: #c9f8ff;
  font-size: 0.68rem;
  white-space: nowrap;
  box-shadow: 0 0 28px rgba(127, 234, 255, 0.08), inset 0 0 18px rgba(127, 234, 255, 0.035);
}

.construction-ribbon span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(127, 234, 255, 0.72);
}

.hero-copy {
  justify-self: start;
  max-width: 540px;
  padding-top: 22px;
}

.system-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.72rem;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero-title {
  max-width: min(530px, 100%);
  margin-bottom: 18px;
  font-family: "Cinzel", "Cormorant Garamond", "Trajan Pro", "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: 0.88;
  text-align: center;
  text-wrap: balance;
  color: var(--copper);
  text-shadow:
    0 1px 0 rgba(255, 237, 210, 0.2),
    0 11px 22px rgba(0, 0, 0, 0.56),
    0 0 18px rgba(214, 156, 94, 0.16);
}

.title-line {
  display: block;
}

.title-algoritmos {
  font-size: 0.64em;
  letter-spacing: 0.32em;
  line-height: 1.04;
  text-transform: uppercase;
  color: transparent;
  background:
    linear-gradient(180deg, #fff1d9 0%, var(--copper-bright) 25%, var(--copper) 48%, #8f6850 72%, #ead4b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.title-de {
  width: max-content;
  margin: 0.07em auto 0.02em;
  padding-left: 0.3em;
  font-size: 0.28em;
  letter-spacing: 0.3em;
  line-height: 1.18;
  text-transform: uppercase;
  color: transparent;
  background:
    linear-gradient(180deg, #fff1d9 0%, var(--copper-bright) 30%, var(--copper) 58%, var(--copper-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 10px rgba(214, 156, 94, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.58);
}

.title-ira {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.15vw, 18px);
  margin-top: 0;
  line-height: 0.78;
  text-transform: none;
}

.title-ira strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0;
  color: transparent;
  filter: drop-shadow(0 0 11px rgba(123, 234, 255, 0.12));
}

.ira-letter {
  display: inline-block;
  font-size: 1.26em;
  line-height: 0.78;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 10px rgba(151, 239, 255, 0.18),
    0 12px 26px rgba(0, 0, 0, 0.58);
}

.ira-i,
.ira-a {
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.62) 0 8%, transparent 9% 16%, rgba(255, 255, 255, 0.2) 17% 20%, transparent 21%),
    linear-gradient(180deg, #f6fdff 0%, #d7f7fb 24%, #7edbe8 48%, #3aa9c2 70%, #c9f7ff 100%);
}

.ira-r {
  margin: 0 0.015em;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.45) 0 10%, transparent 11% 18%, rgba(35, 18, 11, 0.2) 19% 24%, transparent 25%),
    linear-gradient(180deg, #fff2dd 0%, var(--copper) 28%, #83654f 51%, #c4ced2 74%, #7d8790 100%);
  text-shadow:
    0 1px 0 rgba(255, 245, 222, 0.28),
    0 0 15px rgba(214, 156, 94, 0.26),
    0 12px 26px rgba(0, 0, 0, 0.6);
}

.circuit {
  position: relative;
  flex: 0 1 clamp(56px, 7.6vw, 112px);
  height: 26px;
  opacity: 0.5;
}

.circuit::before,
.circuit::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.circuit::before {
  top: 50%;
  width: 100%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(137, 238, 255, 0.52) 24%, rgba(137, 238, 255, 0.48) 68%, transparent);
  box-shadow: 0 0 5px rgba(127, 234, 255, 0.14);
}

.circuit::after {
  top: calc(50% - 9px);
  width: 38%;
  height: 18px;
  border-top: 1px solid rgba(137, 238, 255, 0.25);
  border-bottom: 1px solid rgba(137, 238, 255, 0.14);
}

.circuit-left::before {
  right: 0;
}

.circuit-left::after {
  right: 12%;
  border-left: 1px solid rgba(137, 238, 255, 0.22);
  box-shadow: -14px 9px 0 -10px rgba(137, 238, 255, 0.55), -28px -1px 0 -10px rgba(137, 238, 255, 0.44);
}

.circuit-right::before {
  left: 0;
  transform: scaleX(-1);
}

.circuit-right::after {
  left: 12%;
  border-right: 1px solid rgba(137, 238, 255, 0.22);
  box-shadow: 14px -1px 0 -10px rgba(137, 238, 255, 0.55), 28px 9px 0 -10px rgba(137, 238, 255, 0.44);
}

.hero-subtitle {
  max-width: 540px;
  margin-bottom: 22px;
  color: var(--soft);
  font-size: clamp(0.98rem, 1.32vw, 1.12rem);
}

.entry-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(127, 234, 255, 0.38);
  background: linear-gradient(90deg, rgba(127, 234, 255, 0.13), rgba(127, 234, 255, 0.04));
  color: #e8fbff;
  font-size: 0.74rem;
  box-shadow: inset 0 0 24px rgba(127, 234, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.entry-button:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 234, 255, 0.68);
  background: linear-gradient(90deg, rgba(127, 234, 255, 0.2), rgba(127, 234, 255, 0.075));
}

.entry-button i {
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.columa-portrait {
  position: relative;
  z-index: 0;
  width: clamp(280px, 31vw, 410px);
  height: clamp(280px, 31vw, 410px);
  aspect-ratio: 1;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 45%, rgba(238, 254, 255, 0.13) 0 23%, transparent 57%),
    radial-gradient(circle at 50% 50%, rgba(22, 68, 88, 0.22), rgba(2, 5, 10, 0.04) 62%, transparent 78%);
  filter: drop-shadow(0 0 44px rgba(127, 234, 255, 0.18));
}

.columa-portrait::before,
.columa-portrait::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.columa-portrait::before {
  inset: -12%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(127, 234, 255, 0.075) 55.2% 55.7%, transparent 56%),
    radial-gradient(circle at 50% 50%, transparent 70%, rgba(127, 234, 255, 0.045) 70.2% 70.7%, transparent 71%);
  box-shadow: 0 0 52px rgba(127, 234, 255, 0.1);
}

.columa-portrait::after {
  inset: 4.75%;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.028) 0 24%, transparent 55%),
    repeating-linear-gradient(180deg, rgba(127, 234, 255, 0.006) 0 1px, transparent 1px 12px);
  border: 1px solid rgba(127, 234, 255, 0.05);
  mix-blend-mode: screen;
  opacity: 0.24;
}

.portrait-core {
  position: absolute;
  inset: 5%;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(235, 254, 255, 0.04), rgba(2, 8, 13, 0.1) 70%);
  box-shadow:
    inset 0 0 0 1px rgba(127, 234, 255, 0.13),
    inset 0 0 32px rgba(2, 5, 10, 0.24),
    0 0 28px rgba(127, 234, 255, 0.1);
}

.columa-face-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: brightness(1.38) contrast(1.18) saturate(1.02);
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

.portrait-ring,
.data-orbit,
.digital-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.portrait-ring {
  z-index: 0;
  border: 1px solid rgba(127, 234, 255, 0.09);
  pointer-events: none;
}

.ring-one {
  inset: -8%;
  animation: breathe 7s ease-in-out infinite;
}

.ring-two {
  inset: -1.5%;
  border-style: dashed;
  opacity: 0.2;
  animation: slowSpin 24s linear infinite;
}

.ring-three {
  inset: 5%;
  z-index: 2;
  border-color: rgba(127, 234, 255, 0.11);
  box-shadow: inset 0 0 18px rgba(127, 234, 255, 0.025);
}

.digital-face {
  inset: 14%;
  z-index: 3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(127, 234, 255, 0.028), transparent 46%),
    linear-gradient(180deg, rgba(150, 242, 255, 0.018), rgba(150, 242, 255, 0.002));
  border: 1px solid rgba(127, 234, 255, 0.045);
  box-shadow: inset 0 0 26px rgba(127, 234, 255, 0.026);
  mix-blend-mode: screen;
  opacity: 0.055;
}

.face-line,
.face-eye {
  position: absolute;
  display: block;
  background: rgba(213, 252, 255, 0.22);
  box-shadow: 0 0 8px rgba(127, 234, 255, 0.16);
}

.brow {
  top: 27%;
  left: 28%;
  width: 44%;
  height: 1px;
}

.face-eye {
  top: 42%;
  width: 13%;
  height: 2px;
  background: rgba(222, 253, 255, 0.42);
  box-shadow: 0 0 10px rgba(127, 234, 255, 0.3);
}

.eye-left {
  left: 27%;
}

.eye-right {
  right: 27%;
}

.nose {
  top: 48%;
  left: 50%;
  width: 1px;
  height: 19%;
}

.mouth {
  left: 34%;
  bottom: 22%;
  width: 32%;
  height: 1px;
  opacity: 0.58;
}

.data-orbit {
  inset: -5%;
  z-index: 0;
  border: 1px solid transparent;
  border-top-color: rgba(127, 234, 255, 0.22);
  border-right-color: rgba(127, 234, 255, 0.055);
  animation: slowSpin 16s linear infinite;
}

.orbit-b {
  inset: -11%;
  animation-duration: 28s;
  animation-direction: reverse;
  opacity: 0.24;
}

.system-panel {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(100%, 300px);
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 28, 42, 0.76), rgba(3, 9, 15, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(127, 234, 255, 0.035) 19px);
  box-shadow: 0 24px 60px var(--shadow), inset 0 0 48px rgba(127, 234, 255, 0.045);
}

.system-panel::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(127, 234, 255, 0.08);
  pointer-events: none;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.72rem;
}

.panel-top strong {
  color: var(--green);
  font-weight: 600;
}

.presence {
  margin-bottom: 28px;
  color: #f2fbff;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 54px;
  margin-bottom: 30px;
  padding: 0 2px;
}

.voice-wave span {
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 13px rgba(127, 234, 255, 0.62);
  animation: wave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(2) { animation-delay: 0.08s; }
.voice-wave span:nth-child(3) { animation-delay: 0.16s; }
.voice-wave span:nth-child(4) { animation-delay: 0.24s; }
.voice-wave span:nth-child(5) { animation-delay: 0.32s; }
.voice-wave span:nth-child(6) { animation-delay: 0.4s; }
.voice-wave span:nth-child(7) { animation-delay: 0.48s; }

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

.module-list span {
  min-height: 34px;
  padding: 10px;
  border: 1px solid rgba(127, 234, 255, 0.14);
  background: rgba(127, 234, 255, 0.035);
  color: #b9d3dc;
  font-size: 0.67rem;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(118px, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 58px) 38px;
  margin-top: -18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 234, 255, 0.3) transparent;
}

.access-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-width: 118px;
  min-height: 178px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(127, 234, 255, 0.16);
  background: linear-gradient(145deg, rgba(9, 20, 31, 0.88), rgba(2, 6, 11, 0.78));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  scroll-snap-align: start;
}

.access-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(127, 234, 255, 0.08), transparent);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 160ms ease, transform 260ms ease;
}

.access-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 234, 255, 0.42);
  background: linear-gradient(145deg, rgba(12, 29, 44, 0.94), rgba(2, 6, 11, 0.84));
}

.access-card:hover::after {
  opacity: 1;
  transform: translateX(32%);
}

.card-visual {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(127, 234, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.42)),
    radial-gradient(circle at 52% 40%, rgba(127, 234, 255, 0.24), transparent 18%),
    linear-gradient(135deg, rgba(127, 234, 255, 0.09), rgba(255, 255, 255, 0.01)),
    #030910;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 18px rgba(127, 234, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.26);
  transition: filter 220ms ease, transform 220ms ease;
}

.access-card:hover .card-visual {
  filter: brightness(1.1) contrast(1.06);
  transform: scale(1.015);
}

.access-card:nth-child(1) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/arcel.jpg");
}

.access-card:nth-child(2) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/liv.jpg");
}

.access-card:nth-child(3) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/lucia.jpg");
}

.access-card:nth-child(4) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/bjarni.jpg");
}

.access-card:nth-child(5) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/proyecto-ia.jpg");
}

.access-card:nth-child(6) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/aureon.jpg");
}

.access-card:nth-child(7) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/fragmentos.jpg");
}

.access-card:nth-child(8) .card-visual {
  background-image: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.48)), url("assets/img/cards/playlist.jpg");
}

.access-card h2 {
  margin-bottom: 5px;
  color: #f4fbfd;
  font-size: 0.88rem;
  font-weight: 620;
  line-height: 1.1;
}

.access-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.28;
}

.card-arrow {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(127, 234, 255, 0.62);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 58px) 26px;
  border-top: 1px solid rgba(127, 234, 255, 0.08);
  color: rgba(196, 216, 223, 0.62);
  font-size: 0.78rem;
}

.footer-identity,
.contact-strip,
.contact-email,
.social-links {
  display: flex;
  align-items: center;
}

.footer-identity {
  gap: 18px;
}

.signature {
  color: rgba(237, 247, 251, 0.72);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0;
}

.contact-strip {
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.contact-email {
  gap: 10px;
  min-height: 42px;
  min-width: 0;
  color: rgba(196, 216, 223, 0.7);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.contact-email svg {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-email span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #dffbff;
  text-shadow: 0 0 16px rgba(127, 234, 255, 0.28);
}

.contact-email:focus-visible {
  outline: 1px solid rgba(127, 234, 255, 0.62);
  outline-offset: 4px;
}

.social-links {
  gap: 8px;
}

.social-link {
  width: 42px;
  height: 42px;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link[aria-label^="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.02);
  }
}

@keyframes wave {
  0%,
  100% {
    height: 13px;
    opacity: 0.42;
  }
  50% {
    height: 48px;
    opacity: 1;
  }
}

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

@media (max-height: 820px) and (min-width: 721px) {
  .hero {
    gap: clamp(20px, 3vw, 42px);
    padding-top: 78px;
    padding-bottom: 28px;
  }

  .construction-ribbon {
    top: 76px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-title {
    max-width: 500px;
    margin-bottom: 14px;
    font-size: clamp(2.25rem, 4.2vw, 4.35rem);
  }

  .hero-subtitle {
    margin-bottom: 18px;
  }

  .columa-portrait {
    width: clamp(260px, 28vw, 340px);
    height: clamp(260px, 28vw, 340px);
  }

  .system-panel {
    min-height: 230px;
    padding: 16px;
  }

  .panel-top {
    margin-bottom: 24px;
  }

  .presence {
    margin-bottom: 18px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
  }

  .voice-wave {
    height: 42px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1080px) {
  main {
    padding-top: var(--header-height-tablet);
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 12px 22px;
    min-height: 82px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(127, 234, 255, 0.34) transparent;
    padding: 0 36px 2px 0;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .header-status {
    justify-self: end;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    min-height: calc(100vh - var(--header-height-tablet));
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .construction-ribbon {
    top: 14px;
    max-width: calc(100vw - 36px);
    white-space: normal;
  }

  .hero-copy {
    display: contents;
  }

  .system-kicker {
    display: none;
  }

  .hero-title {
    order: 1;
    justify-self: center;
    max-width: min(620px, 100%);
    margin: 36px auto 2px;
    font-size: clamp(2.45rem, 7vw, 4.35rem);
  }

  .columa-portrait {
    order: 2;
    width: min(48vw, 340px);
    height: min(48vw, 340px);
    min-width: 250px;
    min-height: 250px;
    margin: 0 auto;
  }

  .hero-subtitle {
    order: 3;
    justify-self: center;
    max-width: 560px;
    margin-bottom: 2px;
    text-align: center;
  }

  .entry-button {
    order: 4;
    justify-self: center;
  }

  .system-panel {
    order: 5;
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 520px);
    min-height: 0;
    padding: 12px;
  }

  .panel-top {
    margin-bottom: 10px;
    font-size: 0.66rem;
  }

  .presence {
    margin-bottom: 8px;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
  }

  .voice-wave {
    height: 26px;
    margin-bottom: 10px;
    gap: 6px;
  }

  .voice-wave span {
    height: 14px;
  }

  .module-list {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .module-list span {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 0.6rem;
  }

  .access-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 156px;
    margin-top: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: fixed;
  }

  main {
    padding-top: var(--header-height-mobile);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100vh - var(--header-height-mobile));
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 26px;
  }

  .construction-ribbon {
    top: 10px;
  }

  .hero-title {
    order: 1;
    max-width: 100%;
    margin-top: 30px;
    margin-bottom: 0;
    font-size: clamp(2.05rem, 10vw, 3.45rem);
    overflow-wrap: normal;
  }

  .title-algoritmos {
    letter-spacing: 0.25em;
  }

  .title-de {
    padding-left: 0.32em;
    letter-spacing: 0.32em;
  }

  .title-ira {
    gap: clamp(7px, 2.4vw, 12px);
  }

  .circuit {
    flex-basis: clamp(38px, 14vw, 70px);
    height: 24px;
    opacity: 0.46;
  }

  .columa-portrait {
    order: 2;
    width: min(72vw, 300px);
    height: min(72vw, 300px);
    min-width: 205px;
    min-height: 205px;
    margin: 0 auto 2px;
  }

  .hero-subtitle {
    order: 3;
    margin-bottom: 0;
  }

  .entry-button {
    order: 4;
  }

  .system-panel {
    order: 5;
    min-height: 0;
    padding: 10px;
  }

  .access-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 148px;
    padding-bottom: 24px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .access-card {
    min-height: 184px;
  }

  .scanlines {
    display: none;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: start;
  }

  .header-status {
    font-size: 0.62rem;
  }

  .main-nav {
    gap: 14px;
    width: 100%;
    font-size: 0.64rem;
    padding-right: 52px;
    -webkit-overflow-scrolling: touch;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.86rem, 10.5vw, 3rem);
    line-height: 0.94;
    overflow-wrap: normal;
  }

  .title-algoritmos {
    letter-spacing: 0.18em;
  }

  .title-de {
    padding-left: 0.28em;
    letter-spacing: 0.28em;
  }

  .title-ira {
    gap: 6px;
  }

  .circuit {
    flex-basis: clamp(30px, 12vw, 48px);
    opacity: 0.48;
  }

  .entry-button {
    width: 100%;
    justify-content: space-between;
  }

  .access-grid {
    grid-auto-columns: 142px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .module-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 28px;
    text-align: center;
  }

  .footer-identity,
  .contact-strip {
    justify-content: center;
  }

  .footer-identity {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .contact-strip {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .contact-email {
    max-width: 100%;
  }

  .contact-email span {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}
