/* Generated from assets/scss/theme.scss. Edit SCSS source files, not assets/css/theme.css. */
:root {
  --nt-bg: #08090d;
  --nt-bg-2: #10131a;
  --nt-surface: #151821;
  --nt-surface-2: #1d2230;
  --nt-text: #f4f1ec;
  --nt-muted: #a8acb8;
  --nt-line: rgba(244, 241, 236, 0.16);
  --nt-hot: #ff2f7d;
  --nt-lime: #a6ff00;
  --nt-cyan: #21d4ff;
  --nt-shadow: rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px), var(--nt-bg);
  color: var(--nt-text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(255, 47, 125, 0.07), transparent 18%, transparent 82%, rgba(33, 212, 255, 0.06)), repeating-linear-gradient(90deg, transparent 0 80px, rgba(255, 255, 255, 0.025) 80px 81px);
  mix-blend-mode: screen;
}

body.nt-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 0.9rem;
  clip: auto;
  background: var(--nt-lime);
  color: #050507;
}

.nt-shell {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.nt-main {
  overflow: hidden;
}

.nt-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.75rem max(1rem, (100vw - 1160px) / 2);
  border-bottom: 1px solid var(--nt-line);
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(16px);
}

.admin-bar .nt-header {
  top: 32px;
}

.nt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
}

.nt-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--nt-text);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--nt-hot) 0 48%, var(--nt-lime) 48% 66%, var(--nt-cyan) 66% 100%);
  color: #050507;
  box-shadow: 6px 6px 0 var(--nt-shadow);
}

.nt-brand__text {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nt-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--nt-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.nt-nav__link:hover,
.nt-nav__link:focus,
.nt-nav__link.is-active {
  border-color: var(--nt-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--nt-text);
  outline: none;
}

.nt-nav__link.is-active::before {
  position: absolute;
  right: 0.5rem;
  bottom: 0.25rem;
  left: 0.5rem;
  height: 3px;
  content: "";
  background: var(--nt-lime);
}

.nt-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: var(--nt-surface);
  color: var(--nt-text);
}

.nt-nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nt-hero {
  position: relative;
  display: grid;
  min-height: calc(72vh - 72px);
  align-items: start;
  padding: clamp(3rem, 7vh, 5rem) 0 4rem;
  background-image: linear-gradient(90deg, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.78) 42%, rgba(8, 9, 13, 0.4) 100%), var(--nt-hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.nt-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(112deg, transparent 0 56%, rgba(255, 47, 125, 0.88) 56% 58%, transparent 58% 66%, rgba(166, 255, 0, 0.82) 66% 68%, transparent 68%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  opacity: 0.72;
}

.nt-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 2rem;
  align-items: end;
}

.nt-hero__copy {
  max-width: 840px;
}

.nt-kicker,
.nt-section__label {
  margin: 0 0 0.9rem;
  color: var(--nt-lime);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-hero__title {
  max-width: 18ch;
  margin: 0;
  color: var(--nt-text);
  font-size: 4rem;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 5px 5px 0 rgba(255, 47, 125, 0.24);
}

.nt-hero__intro {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: #d9dce5;
  font-size: 1.16rem;
}

.nt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.nt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--nt-text);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--nt-shadow);
  font-weight: 800;
  text-decoration: none;
}

.nt-button--primary {
  background: var(--nt-lime);
  color: #050507;
}

.nt-button--ghost {
  background: rgba(8, 9, 13, 0.74);
  color: var(--nt-text);
}

.nt-button:hover,
.nt-button:focus {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--nt-shadow);
  outline: none;
}

.nt-terminal {
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(8, 9, 13, 0.86);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.nt-terminal__top {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--nt-line);
  background: #11131a;
}

.nt-terminal__top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--nt-hot);
}

.nt-terminal__top span:nth-child(2) {
  background: var(--nt-lime);
}

.nt-terminal__top span:nth-child(3) {
  background: var(--nt-cyan);
}

.nt-terminal__body {
  padding: 1.1rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95rem;
}

.nt-terminal__identity {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--nt-line);
}

.nt-terminal__identity img {
  width: 112px;
  aspect-ratio: 1;
  border: 2px solid var(--nt-text);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--nt-shadow);
  object-fit: cover;
  object-position: center 28%;
}

.nt-terminal__identity p {
  margin-top: 0;
}

.nt-terminal__body p {
  margin: 0.8rem 0 0.2rem;
  color: var(--nt-muted);
}

.nt-terminal__body p:first-child {
  margin-top: 0;
}

.nt-terminal__body p span {
  color: var(--nt-lime);
}

.nt-terminal__body strong {
  display: block;
  color: var(--nt-text);
  font-size: 1.25rem;
}

.nt-terminal__body ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0.5rem 0 0;
  list-style: none;
}

.nt-terminal__body li::before {
  margin-right: 0.45rem;
  color: var(--nt-hot);
  content: "//";
}

.nt-terminal__contact li,
.nt-terminal__contact a {
  overflow-wrap: anywhere;
}

.nt-terminal__contact a {
  color: var(--nt-text);
  text-decoration: none;
}

.nt-terminal__contact a:hover,
.nt-terminal__contact a:focus {
  color: var(--nt-lime);
  outline: none;
}

.nt-strip {
  border-block: 1px solid var(--nt-line);
  background: var(--nt-text);
  color: #050507;
  overflow: hidden;
}

.nt-strip__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.nt-strip span {
  padding: 0.85rem 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nt-strip span:nth-child(3n+1) {
  background: var(--nt-hot);
}

.nt-strip span:nth-child(3n+2) {
  background: var(--nt-lime);
}

.nt-strip span:nth-child(3n) {
  background: var(--nt-cyan);
}

.nt-section {
  position: relative;
  padding: 5rem 0;
  background: var(--nt-bg);
}

.nt-section--ink {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 12px), var(--nt-bg-2);
}

.nt-section__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.nt-section__header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.nt-section__header--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.48fr);
  gap: 2rem;
  max-width: none;
  align-items: end;
}

.nt-section__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.05;
  text-wrap: balance;
}

.nt-section__note,
.nt-prose {
  color: var(--nt-muted);
  font-size: 1.05rem;
}

.nt-prose p {
  max-width: 62rem;
  margin: 0;
}

.nt-prose .nt-prose__description {
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.nt-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0;
}

.nt-signal,
.nt-stack,
.nt-project-card {
  position: relative;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.24);
}

.nt-signal {
  padding: 1rem;
}

.nt-signal span,
.nt-project-card__meta {
  color: var(--nt-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-signal strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--nt-text);
  font-size: 1rem;
}

.nt-stack-grid,
.nt-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nt-stack {
  min-height: 260px;
  padding: 1.2rem;
  overflow: hidden;
}

.nt-stack::before {
  position: absolute;
  top: 0;
  right: 1rem;
  width: 2.2rem;
  height: 100%;
  content: "";
  background: var(--nt-hot);
  transform: skewX(-16deg);
  opacity: 0.82;
}

.nt-stack:nth-child(2)::before {
  background: var(--nt-lime);
}

.nt-stack:nth-child(3)::before {
  background: var(--nt-cyan);
}

.nt-stack h3 {
  position: relative;
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.nt-stack ul,
.nt-chip-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nt-stack li,
.nt-chip-list li {
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(8, 9, 13, 0.74);
  color: var(--nt-text);
  font-size: 0.88rem;
  font-weight: 800;
}

.nt-stack li {
  padding: 0.45rem 0.65rem;
}

.nt-project-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 1.15rem;
  overflow: hidden;
}

.nt-project-card--media {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 1.1rem;
  min-height: auto;
}

.nt-project-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.38rem;
  content: "";
  background: var(--project-accent, var(--nt-hot));
}

.nt-project-card::after {
  position: absolute;
  right: -1.8rem;
  bottom: -2.4rem;
  width: 8rem;
  height: 8rem;
  border: 1.2rem solid var(--project-accent, var(--nt-hot));
  content: "";
  transform: rotate(18deg);
  opacity: 0.18;
}

.nt-project-card__gallery {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.nt-project-card__image,
.nt-project-card__thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 47, 125, 0.18), rgba(33, 212, 255, 0.12)), rgba(8, 9, 13, 0.82);
  text-decoration: none;
}

.nt-project-card__image {
  aspect-ratio: 16/9;
  padding: 0.35rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.nt-project-card__image img,
.nt-project-card__thumb img {
  width: 100%;
  height: 100%;
  transition: transform 180ms ease, filter 180ms ease;
}

.nt-project-card__image img {
  object-fit: contain;
}

.nt-project-card__thumbs {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(4.7rem, 1fr);
  grid-auto-flow: column;
  gap: 0.45rem;
  padding: 0 0 0.18rem;
  overflow-x: auto;
  scrollbar-color: var(--project-accent, var(--nt-hot)) rgba(8, 9, 13, 0.74);
  scrollbar-width: thin;
}

.nt-project-card__thumb {
  aspect-ratio: 16/10;
}

.nt-project-card__thumb img {
  object-fit: cover;
  filter: saturate(1.04);
}

.nt-project-card__image:hover img,
.nt-project-card__thumb:hover img {
  transform: scale(1.035);
  filter: saturate(1.12);
}

.nt-project-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.nt-project-card--media .nt-chip-list {
  margin-top: 1rem;
}

.nt-project-card__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.nt-project-card__meta span {
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--nt-line);
  background: rgba(8, 9, 13, 0.74);
}

.nt-project-card h3 {
  position: relative;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.nt-project-card p {
  position: relative;
  margin: 1rem 0;
  color: var(--nt-muted);
}

.nt-chip-list {
  margin-top: auto;
}

.nt-chip-list li {
  padding: 0.36rem 0.52rem;
}

.nt-timeline {
  display: grid;
  gap: 1rem;
}

.nt-timeline__item,
.nt-education__item {
  position: relative;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.24);
}

.nt-timeline__item {
  padding: 1.25rem 1.25rem 1.25rem 1.55rem;
  overflow: hidden;
}

.nt-timeline__item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.38rem;
  content: "";
  background: var(--nt-hot);
}

.nt-timeline__item:nth-child(2n)::before {
  background: var(--nt-lime);
}

.nt-timeline__item:nth-child(3n)::before {
  background: var(--nt-cyan);
}

.nt-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--nt-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-timeline__meta span {
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--nt-line);
  background: rgba(8, 9, 13, 0.74);
}

.nt-timeline__item h3,
.nt-education__item h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.nt-timeline__company {
  margin: 0.25rem 0 0;
  color: var(--nt-text);
  font-weight: 800;
}

.nt-timeline__item p:not(.nt-timeline__company) {
  margin: 0.9rem 0 0;
  color: var(--nt-muted);
}

.nt-timeline__item ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.nt-timeline__item li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--nt-muted);
}

.nt-timeline__item li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  content: "";
  background: var(--nt-lime);
  transform: rotate(45deg);
}

.nt-education {
  margin-top: 2.2rem;
}

.nt-education__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.nt-education__item {
  padding: 1.15rem;
}

.nt-education__item span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--nt-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-education__item p {
  margin: 0.45rem 0 0;
  color: var(--nt-muted);
}

.nt-contact {
  background: linear-gradient(108deg, rgba(255, 47, 125, 0.18), transparent 42%), linear-gradient(252deg, rgba(166, 255, 0, 0.12), transparent 46%), var(--nt-bg-2);
}

.nt-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 2rem;
  align-items: start;
}

.nt-contact__links {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  gap: 0.75rem;
}

.nt-contact__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(8, 9, 13, 0.72);
  color: var(--nt-text);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nt-contact__links a::after {
  color: var(--nt-lime);
  content: ">";
}

.nt-contact__label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.nt-contact__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.nt-contact__icon--linkedin {
  color: #0a66c2;
}

.nt-contact__links a:hover,
.nt-contact__links a:focus {
  border-color: var(--nt-lime);
  outline: none;
}

.nt-contact-form {
  display: grid;
  grid-column: 1;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: -0.4rem;
  padding: 1rem;
  border: 1px solid var(--nt-line);
  border-left: 4px solid var(--nt-hot);
  border-radius: 6px;
  background: rgba(8, 9, 13, 0.82);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.24);
}

.nt-contact-form__title {
  grid-column: 1/-1;
  margin: 0;
  color: var(--nt-text);
  font-weight: 900;
  text-transform: uppercase;
}

.nt-contact-form__notice {
  grid-column: 1/-1;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--nt-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.nt-contact-form__notice--success {
  border-color: rgba(166, 255, 0, 0.54);
}

.nt-contact-form__notice--error {
  border-color: rgba(255, 47, 125, 0.66);
}

.nt-contact-form__notice[hidden] {
  display: none;
}

.nt-contact-form__field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.nt-contact-form__field--hidden {
  position: absolute;
  left: -999rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nt-contact-form__field--wide,
.nt-contact-form__submit {
  grid-column: 1/-1;
}

.nt-contact-form label {
  color: var(--nt-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-contact-form input,
.nt-contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(5, 5, 7, 0.76);
  color: var(--nt-text);
}

.nt-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.nt-contact-form input:focus,
.nt-contact-form textarea:focus {
  border-color: var(--nt-lime);
  outline: none;
}

.nt-contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--nt-lime);
  border-radius: 6px;
  background: var(--nt-lime);
  color: #050507;
  font-weight: 900;
  cursor: pointer;
}

.nt-contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.88;
}

.nt-contact-form__submit::after {
  content: ">";
}

.nt-contact-form__loader {
  display: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(5, 5, 7, 0.32);
  border-top-color: #050507;
  border-radius: 50%;
  animation: nt-contact-loader 0.75s linear infinite;
}

.nt-contact-form.is-sending .nt-contact-form__submit::after {
  display: none;
}

.nt-contact-form.is-sending .nt-contact-form__loader {
  display: inline-block;
  flex: 0 0 auto;
}

.nt-contact-form__submit:hover,
.nt-contact-form__submit:focus {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--nt-shadow);
  outline: none;
}

.nt-contact-form__submit:disabled:hover,
.nt-contact-form__submit:disabled:focus {
  transform: none;
  box-shadow: none;
}

@keyframes nt-contact-loader {
  to {
    transform: rotate(360deg);
  }
}
.nt-cv-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.nt-cv-modal[hidden] {
  display: none;
}

.nt-cv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(10px);
}

.nt-cv-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1080px, 100%);
  max-height: 92vh;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: var(--nt-bg-2);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.nt-cv-modal__header,
.nt-cv-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-color: var(--nt-line);
  background: rgba(8, 9, 13, 0.96);
}

.nt-cv-modal__header {
  border-bottom: 1px solid var(--nt-line);
}

.nt-cv-modal__footer {
  border-top: 1px solid var(--nt-line);
  justify-content: flex-end;
}

.nt-cv-modal__label {
  margin: 0 0 0.25rem;
  color: var(--nt-lime);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-cv-modal__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.nt-cv-modal__close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: var(--nt-surface);
  color: var(--nt-text);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nt-cv-modal__close:hover,
.nt-cv-modal__close:focus {
  border-color: var(--nt-lime);
  color: var(--nt-lime);
  outline: none;
}

.nt-cv-modal__preview {
  min-height: min(68vh, 720px);
  background: #050507;
}

.nt-cv-modal__preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  background: #ffffff;
}

.nt-gallery-modal__panel {
  width: min(1180px, 100%);
  min-width: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.nt-gallery-modal__body {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: min(70vh, 760px);
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 12px), #050507;
}

.nt-gallery-modal__figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.8rem;
  margin: 0;
}

.nt-gallery-modal__figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 680px);
  place-self: center;
  object-fit: contain;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 47, 125, 0.12), rgba(33, 212, 255, 0.1)), rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.38);
}

.nt-gallery-modal__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--nt-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nt-gallery-modal__figure figcaption span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nt-gallery-modal__figure figcaption span:last-child {
  flex: 0 0 auto;
  color: var(--nt-lime);
}

.nt-gallery-modal__nav {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: var(--nt-surface);
  color: var(--nt-text);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.nt-gallery-modal__nav:hover,
.nt-gallery-modal__nav:focus {
  border-color: var(--nt-lime);
  color: var(--nt-lime);
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--nt-shadow);
}

.nt-gallery-modal__footer {
  min-width: 0;
  justify-content: stretch;
}

.nt-gallery-modal__thumbs {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-auto-columns: minmax(5.5rem, 1fr);
  grid-auto-flow: column;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-color: var(--nt-lime) rgba(8, 9, 13, 0.74);
  scrollbar-width: thin;
}

.nt-gallery-modal__thumb {
  display: block;
  aspect-ratio: 16/10;
  padding: 0.18rem;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  opacity: 0.72;
}

.nt-gallery-modal__thumb.is-active {
  border-color: var(--nt-lime);
  box-shadow: 0 0 0 2px rgba(166, 255, 0, 0.18);
  opacity: 1;
}

.nt-gallery-modal__thumb:hover,
.nt-gallery-modal__thumb:focus {
  border-color: var(--nt-cyan);
  outline: none;
  opacity: 1;
}

.nt-gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.nt-page {
  padding: 6rem 0;
}

.nt-entry {
  max-width: 820px;
}

.nt-entry h1 {
  margin: 0 0 1rem;
  font-size: 2.6rem;
}

.nt-entry__content {
  color: var(--nt-muted);
}

.nt-spotify {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.nt-spotify__fab,
.nt-spotify__panel {
  pointer-events: auto;
}

.nt-spotify__fab {
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(166, 255, 0, 0.68);
  border-radius: 50%;
  background: #1ed760;
  color: #050507;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.nt-spotify__fab:hover,
.nt-spotify__fab:focus {
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.38);
  filter: saturate(1.08);
}

.nt-spotify.is-open .nt-spotify__fab {
  border-color: var(--nt-text);
}

.nt-spotify:not(.is-connected) .nt-spotify__fab {
  animation: nt-spotify-pulse 5s ease-in-out infinite;
}

.nt-spotify.is-open .nt-spotify__fab,
.nt-spotify.is-busy .nt-spotify__fab {
  animation: none;
}

.nt-spotify__fab-icon {
  --nt-spotify-logo-x: 0.08rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.nt-spotify__fab-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  transform: translateX(var(--nt-spotify-logo-x));
}

.nt-spotify__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  display: grid;
  width: min(360px, 100vw - 2rem);
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(30, 215, 96, 0.14), transparent 42%), rgba(8, 9, 13, 0.96);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.nt-spotify__panel[hidden] {
  display: none;
}

.nt-spotify__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nt-spotify__eyebrow,
.nt-spotify__title,
.nt-spotify__status,
.nt-spotify__artist,
.nt-spotify__device {
  margin: 0;
}

.nt-spotify__eyebrow {
  color: #1ed760;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nt-spotify__title {
  font-size: 1.3rem;
  line-height: 1.1;
}

.nt-spotify__close,
.nt-spotify__control {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--nt-text);
  cursor: pointer;
}

.nt-spotify__close {
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 1;
}

.nt-spotify__close:hover,
.nt-spotify__close:focus,
.nt-spotify__control:hover,
.nt-spotify__control:focus {
  border-color: #1ed760;
  color: #1ed760;
  outline: none;
}

.nt-spotify__status {
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--nt-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nt-spotify__player {
  display: grid;
  gap: 0.85rem;
}

.nt-spotify__player[hidden] {
  display: none;
}

.nt-spotify__track {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.nt-spotify__cover {
  width: 74px;
  height: 74px;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--nt-surface);
}

.nt-spotify__cover[hidden] {
  display: none;
}

.nt-spotify__meta {
  min-width: 0;
}

.nt-spotify__song {
  display: block;
  overflow: hidden;
  color: var(--nt-text);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-spotify__song:hover,
.nt-spotify__song:focus {
  color: #1ed760;
  outline: none;
}

.nt-spotify__artist,
.nt-spotify__device {
  overflow: hidden;
  color: var(--nt-muted);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-spotify__device {
  margin-top: 0.25rem;
  color: var(--nt-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nt-spotify__controls {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  justify-content: center;
  gap: 0.65rem;
}

.nt-spotify__control {
  width: 48px;
  height: 44px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.nt-spotify__control-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
}

.nt-spotify__control-icon--play {
  width: 20px;
  height: 20px;
}

.nt-spotify__control-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.nt-spotify__control--primary {
  background: #1ed760;
  color: #050507;
  border-color: #1ed760;
}

.nt-spotify__control--primary:hover,
.nt-spotify__control--primary:focus {
  border-color: var(--nt-text);
  color: #050507;
}

.nt-spotify.is-busy .nt-spotify__control,
.nt-spotify.is-busy .nt-spotify__logout {
  cursor: wait;
  opacity: 0.72;
}

.nt-spotify__range,
.nt-spotify__volume {
  display: grid;
  align-items: center;
  gap: 0.6rem;
}

.nt-spotify__range {
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  row-gap: 0.35rem;
}

.nt-spotify__time {
  color: var(--nt-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nt-spotify__time:first-of-type {
  grid-column: 1/2;
  text-align: right;
}

.nt-spotify__time:last-of-type {
  grid-column: 3/4;
  text-align: left;
}

.nt-spotify__range input[type=range] {
  grid-column: 2/3;
  grid-row: 1;
}

.nt-spotify__volume {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.nt-spotify__volume-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--nt-muted);
}

.nt-spotify__volume-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.nt-spotify input[type=range] {
  min-width: 0;
  width: 100%;
  accent-color: #1ed760;
}

.nt-spotify__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nt-spotify__login,
.nt-spotify__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 0.8rem;
  border: 1px solid #1ed760;
  border-radius: 6px;
  background: #1ed760;
  color: #050507;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.nt-spotify__logout {
  margin-left: auto;
  border-color: var(--nt-line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--nt-text);
}

.nt-spotify__login:hover,
.nt-spotify__login:focus,
.nt-spotify__logout:hover,
.nt-spotify__logout:focus {
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--nt-shadow);
}

.nt-spotify__login[hidden],
.nt-spotify__logout[hidden] {
  display: none;
}

@keyframes nt-spotify-pulse {
  0%, 72%, 100% {
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.32);
    transform: scale(1);
  }
  78% {
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.32), 0 0 0 0 rgba(30, 215, 96, 0.5);
    transform: scale(1);
  }
  88% {
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.32), 0 0 0 12px rgba(30, 215, 96, 0);
    transform: scale(1.06);
  }
}
@media (max-width: 600px) {
  .nt-spotify {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .nt-spotify__fab {
    width: 54px;
    height: 54px;
  }
  .nt-spotify__panel {
    right: -0.25rem;
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 6.5rem);
    max-height: calc(100svh - 6.5rem);
    overflow-y: auto;
  }
  .nt-spotify__track {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .nt-spotify__cover {
    width: 62px;
    height: 62px;
  }
  .nt-spotify__range {
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    gap: 0.45rem;
  }
  .nt-spotify__time {
    font-size: 0.72rem;
  }
}
.nt-footer {
  border-top: 1px solid var(--nt-line);
  background: #050507;
}

.nt-footer__inner {
  display: flex;
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--nt-muted);
  font-size: 0.92rem;
}

.nt-footer p {
  margin: 0;
}

.nt-footer__link {
  color: var(--nt-text);
  font-weight: 800;
}

@media (max-width: 900px) {
  .admin-bar .nt-header {
    top: 0;
  }
  .nt-nav-toggle {
    display: block;
  }
  .nt-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--nt-line);
    border-radius: 6px;
    background: rgba(8, 9, 13, 0.96);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  }
  .nt-nav.is-open {
    display: flex;
  }
  .nt-nav__link {
    justify-content: center;
  }
  .nt-hero {
    min-height: auto;
    padding: 3rem 0;
    background-position: center right;
  }
  .nt-hero__grid,
  .nt-section__grid,
  .nt-section__header--split,
  .nt-contact__grid {
    grid-template-columns: 1fr;
  }
  .nt-contact__links,
  .nt-contact-form {
    grid-column: auto;
    grid-row: auto;
  }
  .nt-hero__title {
    max-width: 18ch;
    font-size: 3rem;
  }
  .nt-stack-grid,
  .nt-project-grid,
  .nt-signal-grid,
  .nt-education__grid {
    grid-template-columns: 1fr;
  }
  .nt-project-card--media {
    grid-template-columns: 1fr;
  }
  .nt-section__title {
    font-size: 2.1rem;
  }
  .nt-cv-modal {
    padding: 1rem;
  }
  .nt-cv-modal__panel {
    max-height: 94vh;
  }
  .nt-gallery-modal__body {
    min-height: 60vh;
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    padding: 0.8rem;
  }
  .nt-gallery-modal__figure img {
    max-height: min(62vh, 620px);
  }
  .nt-gallery-modal__nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .nt-header {
    min-height: 64px;
  }
  .nt-brand__text {
    max-width: 10rem;
  }
  .nt-hero {
    padding-top: 4.5rem;
  }
  .nt-hero__title {
    font-size: 2.35rem;
  }
  .nt-hero__intro,
  .nt-section__note,
  .nt-prose {
    font-size: 1rem;
  }
  .nt-button,
  .nt-actions {
    width: 100%;
  }
  .nt-terminal__body {
    font-size: 0.88rem;
  }
  .nt-contact-form {
    grid-template-columns: 1fr;
  }
  .nt-terminal__identity {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .nt-terminal__identity img {
    width: 92px;
  }
  .nt-timeline__item,
  .nt-education__item {
    padding-right: 1rem;
  }
  .nt-section {
    padding: 3.4rem 0;
  }
  .nt-section__title,
  .nt-entry h1 {
    font-size: 1.8rem;
  }
  .nt-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .nt-cv-modal {
    padding: 0.65rem;
  }
  .nt-cv-modal__header {
    align-items: flex-start;
  }
  .nt-cv-modal__title {
    font-size: 1.05rem;
  }
  .nt-cv-modal__preview {
    min-height: 62vh;
  }
  .nt-gallery-modal__panel {
    max-height: calc(100vh - 1.3rem);
    max-height: calc(100svh - 1.3rem);
  }
  .nt-gallery-modal .nt-cv-modal__header,
  .nt-gallery-modal__footer {
    padding: 0.7rem;
  }
  .nt-gallery-modal__body {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0.55rem;
    overflow: hidden;
  }
  .nt-gallery-modal__figure {
    gap: 0.6rem;
  }
  .nt-gallery-modal__figure img {
    max-height: calc(100vh - 15.5rem);
    max-height: max(14rem, 100svh - 15.5rem);
  }
  .nt-gallery-modal__figure figcaption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    font-size: 0.82rem;
  }
  .nt-gallery-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.75rem;
    transform: translateY(-50%);
    background: rgba(21, 24, 33, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  }
  .nt-gallery-modal__nav--prev {
    left: 0.75rem;
  }
  .nt-gallery-modal__nav--next {
    right: 0.75rem;
  }
  .nt-gallery-modal__nav:hover,
  .nt-gallery-modal__nav:focus {
    transform: translateY(-50%);
  }
  .nt-gallery-modal__thumbs {
    grid-auto-columns: 4.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
