:root {
  --bg: #09040f;
  --bg-soft: rgba(9, 4, 15, 0.82);
  --panel: rgba(15, 9, 28, 0.72);
  --panel-strong: rgba(13, 7, 23, 0.92);
  --cyan: #00efff;
  --cyan-soft: rgba(0, 239, 255, 0.16);
  --pink: #ff1e9c;
  --pink-soft: rgba(255, 30, 156, 0.16);
  --text: #f6f4ff;
  --muted: #b7afd0;
  --line: rgba(255, 255, 255, 0.1);
  --header-height: 84px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fixed page background. The image is embedded so it works even when index.html
   is opened directly or moved without its assets folder. */
.site-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(6, 3, 12, 0.10), rgba(6, 3, 12, 0.43)),
    url("assets/hacker.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: translateZ(0);
}


/* Performance: delay rendering of sections until they approach the viewport. */
main > section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  color: #fff;
  background: var(--pink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #08030d;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #08030d;
  border-radius: 10px;
  background: linear-gradient(var(--pink), var(--cyan));
}

.page-noise,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

.page-noise {
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.scanline {
  z-index: 998;
  opacity: 0.08;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255, 255, 255, 0.08) 4px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5, 2, 10, 0.78), rgba(5, 2, 10, 0.2));
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(7, 3, 13, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(255, 30, 156, 0.45);
}

.brand-word span,
.brand-bracket {
  color: var(--pink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.nav-link {
  position: relative;
  color: #ded9ed;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 10px var(--pink);
  transition: right 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.nav-cta {
  padding: 12px 17px;
  border: 1px solid rgba(255, 30, 156, 0.65);
  border-radius: 5px;
  background: rgba(255, 30, 156, 0.09);
  box-shadow: inset 0 0 18px rgba(255, 30, 156, 0.07), 0 0 18px rgba(255, 30, 156, 0.1);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 5, 16, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  position: relative;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: calc(var(--header-height) + 45px) clamp(20px, 5vw, 72px) 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 2, 8, 0.03) 0%, rgba(4, 2, 8, 0.01) 48%, rgba(4, 2, 8, 0.34) 75%, rgba(4, 2, 8, 0.60) 100%),
    linear-gradient(0deg, rgba(8, 4, 14, 0.48) 0%, transparent 38%);
}

.hero-console {
  justify-self: end;
  width: min(100%, 630px);
  padding: clamp(28px, 4vw, 52px);
}

.glass-panel {
  position: relative;
  border: 1px solid rgba(0, 239, 255, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(25, 13, 44, 0.84), rgba(9, 5, 18, 0.72)),
    rgba(12, 7, 20, 0.72);
  box-shadow: var(--shadow), inset 0 0 30px rgba(0, 239, 255, 0.025);
  backdrop-filter: blur(16px);
}

.glass-panel::before,
.glass-panel::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.glass-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  border-top-left-radius: var(--radius);
}

.glass-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  border-bottom-right-radius: var(--radius);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3cff9a;
  box-shadow: 0 0 13px #3cff9a;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  50% { opacity: 0.35; transform: scale(0.75); }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.16;
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(2.55rem, 5.3vw, 5.15rem);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 span,
.section-heading h2 span,
.about-copy h2 span,
.contact-copy h2 span {
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 30, 156, 0.42);
}

.hero-copy {
  max-width: 54ch;
  color: #d0c9df;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.button-primary {
  color: #fff;
  border-color: var(--pink);
  background: linear-gradient(110deg, #ce006f, var(--pink));
  box-shadow: 0 0 22px rgba(255, 30, 156, 0.35);
}

.button-primary:hover {
  box-shadow: 0 0 34px rgba(255, 30, 156, 0.58);
}

.button-secondary {
  color: var(--cyan);
  border-color: rgba(0, 239, 255, 0.72);
  background: rgba(0, 239, 255, 0.04);
  box-shadow: inset 0 0 20px rgba(0, 239, 255, 0.05);
}

.button-secondary:hover {
  background: rgba(0, 239, 255, 0.1);
  box-shadow: 0 0 24px rgba(0, 239, 255, 0.22);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  min-width: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #b8afca;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollline 1.5s ease-in-out infinite;
}

@keyframes scrollline {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

.content-section {
  padding: 110px clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(7, 3, 13, 0.64), rgba(9, 4, 15, 0.56));
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.content-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(12, 5, 20, 0.62), rgba(6, 3, 12, 0.68));
}

.section-heading {
  max-width: 790px;
  margin-bottom: 50px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4.7vw, 4.2rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-heading > p:last-child,
.about-copy > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 30, 156, 0.55);
  transform: translateY(-7px);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 30, 156, 0.08);
}

.service-index {
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 0.7rem;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
  border: 1px solid rgba(0, 239, 255, 0.35);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(0, 239, 255, 0.06);
  font-family: var(--font-display);
  font-size: 1.35rem;
  box-shadow: inset 0 0 18px rgba(0, 239, 255, 0.06), 0 0 18px rgba(0, 239, 255, 0.08);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.service-card > p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 6px;
  margin-top: 19px;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #ddd7e8;
  font-size: 0.92rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 1px;
  background: var(--pink);
  box-shadow: 0 0 7px var(--pink);
}

.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 32px;
}

.filter-button {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(10, 5, 18, 0.72);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.filter-button:hover,
.filter-button.active {
  color: #fff;
  border-color: var(--pink);
  background: rgba(255, 30, 156, 0.15);
  box-shadow: 0 0 18px rgba(255, 30, 156, 0.13);
}

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

.project-card {
  min-width: 0;
  padding: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.project-card:hover,
.project-card:focus-visible {
  outline: none;
  border-color: rgba(0, 239, 255, 0.58);
  transform: translateY(-6px);
}

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

.project-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  isolation: isolate;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.project-visual > span {
  position: absolute;
  top: 17px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}

.project-visual-one { background: radial-gradient(circle at 70% 30%, rgba(0,239,255,.26), transparent 35%), linear-gradient(135deg, #0c1e32, #100719 70%); }
.project-visual-two { background: radial-gradient(circle at 30% 30%, rgba(255,30,156,.28), transparent 34%), linear-gradient(135deg, #2a0b22, #090816 70%); }
.project-visual-three { background: radial-gradient(circle at 70% 20%, rgba(128,76,255,.3), transparent 35%), linear-gradient(135deg, #140a2d, #061320 70%); }
.project-visual-four { background: radial-gradient(circle at 30% 20%, rgba(0,239,255,.2), transparent 35%), linear-gradient(135deg, #071d25, #140713 75%); }
.project-visual-five { background: radial-gradient(circle at 60% 25%, rgba(255,30,156,.22), transparent 36%), linear-gradient(135deg, #1d0818, #0d1028 75%); }
.project-visual-six { background: radial-gradient(circle at 50% 20%, rgba(0,239,255,.22), transparent 36%), linear-gradient(135deg, #0d142b, #180825 75%); }

.mock-browser,
.mock-store,
.mock-dashboard,
.mock-property,
.mock-vault,
.mock-flow {
  position: relative;
  width: min(76%, 380px);
  height: 178px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(4, 4, 12, 0.75);
  box-shadow: 0 24px 45px rgba(0,0,0,.4), 0 0 28px rgba(0,239,255,.08);
  transform: perspective(800px) rotateX(4deg) rotateY(-7deg);
}

.mock-browser::before,
.mock-store::before,
.mock-dashboard::before,
.mock-property::before,
.mock-vault::before,
.mock-flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(255,255,255,.1);
}

.mock-browser i {
  float: left;
  width: 7px;
  height: 7px;
  margin: 11px 0 0 8px;
  border-radius: 50%;
  background: var(--pink);
}

.mock-browser b,
.mock-store b,
.mock-dashboard b,
.mock-property b,
.mock-vault b,
.mock-flow b {
  position: absolute;
  top: 55px;
  left: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
}

.mock-browser b { color: var(--cyan); text-shadow: 0 0 18px var(--cyan); }
.mock-store b { color: var(--pink); text-shadow: 0 0 18px var(--pink); }
.mock-dashboard b { color: #a98bff; text-shadow: 0 0 18px #8a55ff; }
.mock-property b { color: var(--cyan); text-shadow: 0 0 18px var(--cyan); }
.mock-vault b { color: #ff74c4; text-shadow: 0 0 18px var(--pink); }
.mock-flow b { color: var(--cyan); text-shadow: 0 0 18px var(--cyan); }

.mock-store i,
.mock-vault i {
  position: relative;
  top: 112px;
  display: inline-block;
  width: 22%;
  height: 42px;
  margin-left: 7%;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.04);
}

.mock-dashboard i,
.mock-flow i {
  position: relative;
  top: 112px;
  display: inline-block;
  width: 16%;
  height: 30px;
  margin-left: 6%;
  border-bottom: 2px solid var(--cyan);
  background: linear-gradient(to top, rgba(0,239,255,.2), transparent);
}

.mock-dashboard i:nth-child(even),
.mock-flow i:nth-child(even) {
  height: 48px;
  border-color: var(--pink);
  background: linear-gradient(to top, rgba(255,30,156,.2), transparent);
}

.mock-property i {
  position: relative;
  top: 112px;
  display: inline-block;
  width: 34%;
  height: 42px;
  margin-left: 10%;
  border: 1px solid rgba(0,239,255,.2);
  background: linear-gradient(135deg, rgba(0,239,255,.16), transparent);
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 6px 7px;
}

.project-info p {
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-info h3 {
  margin-top: 5px;
  font-size: 1.14rem;
  text-transform: uppercase;
}

.project-open {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(0,239,255,.3);
  border-radius: 50%;
  color: var(--cyan);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 1px;
  z-index: 0;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  opacity: 0.35;
}

.process-step {
  z-index: 1;
  min-height: 255px;
  padding: 30px;
}

.process-step > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--panel-strong);
  font-family: var(--font-display);
  font-size: 0.62rem;
  box-shadow: 0 0 18px rgba(0,239,255,.2);
}

.process-step h3 {
  margin-bottom: 11px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.process-step p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.about-copy > p + p {
  margin-top: 16px;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  margin-top: 25px;
  color: var(--cyan);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.about-terminal {
  padding: 0;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.terminal-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.terminal-bar i:nth-child(2) { background: #ffc83d; }
.terminal-bar i:nth-child(3) { background: #45e889; }

.terminal-bar span {
  margin-left: 8px;
  color: #8d85a0;
  font-family: monospace;
  font-size: 0.72rem;
}

.terminal-body {
  min-height: 420px;
  padding: 32px;
  background: rgba(3, 3, 9, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
}

.terminal-body p {
  margin-bottom: 8px;
}

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

.terminal-output {
  margin: 0 0 23px 20px !important;
  color: #8ebdc0;
}

.terminal-ready {
  margin-top: 30px;
  color: #48ff9c;
  letter-spacing: 0.08em;
}

.cursor-block {
  display: inline-block;
  width: 9px;
  height: 1em;
  margin-left: 7px;
  vertical-align: -2px;
  background: #48ff9c;
  animation: blink .85s steps(1) infinite;
}

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

.testimonial-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 34px;
}

.testimonial-track {
  min-height: 225px;
  display: grid;
  align-items: center;
}

.testimonial {
  display: none;
  text-align: center;
  animation: fadeup .35s ease;
}

.testimonial.active {
  display: block;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial > p {
  max-width: 760px;
  margin: 0 auto;
  color: #eee9f8;
  font-size: clamp(1.18rem, 2.3vw, 1.7rem);
  line-height: 1.45;
}

.testimonial div {
  margin-top: 25px;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial strong {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.testimonial span {
  margin-top: 4px;
  color: var(--pink);
  font-size: .86rem;
}

.slider-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,239,255,.3);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(0,239,255,.04);
  cursor: pointer;
  transition: .25s ease;
}

.slider-button:hover {
  border-color: var(--cyan);
  background: rgba(0,239,255,.1);
  box-shadow: 0 0 17px rgba(0,239,255,.16);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.23);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.faq-list {
  max-width: 1000px;
  display: grid;
  gap: 13px;
}

.faq-item {
  padding: 0 25px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-question i {
  color: var(--cyan);
  font-style: normal;
  font-size: 1.4rem;
  transition: transform .25s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding: 0 0 23px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(35px, 6vw, 80px);
  padding: clamp(28px, 5vw, 60px);
}

.contact-details {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.contact-details a,
.contact-details div {
  text-decoration: none;
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  color: var(--pink);
  font-family: var(--font-display);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-details strong {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-form label > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: #d9d3e4;
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px;
  outline: none;
  color: #fff;
  background: rgba(4,3,10,.7);
  transition: border-color .2s ease, box-shadow .2s ease;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 135px;
  padding: 13px 14px;
  resize: vertical;
}

select option {
  color: #fff;
  background: #10091a;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,239,255,.08), 0 0 15px rgba(0,239,255,.07);
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,30,156,.07);
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  color: #ff78bd;
  font-size: .72rem;
  line-height: 1.2;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .85rem;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--pink);
}

.consent-field span {
  display: inline !important;
  margin: 0 !important;
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.consent-error {
  margin-top: -13px;
}

.submit-button {
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--pink);
}

.submit-button i {
  font-style: normal;
  font-size: 1.15rem;
}

.form-status {
  min-height: 24px;
  color: var(--cyan);
  font-size: .9rem;
}

.site-footer {
  padding: 54px clamp(20px, 5vw, 72px) 28px;
  border-top: 1px solid var(--line);
  background: rgba(4, 2, 8, .94);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding-bottom: 35px;
}

.footer-top > p {
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #81798d;
  font-size: .78rem;
}

.back-to-top {
  position: fixed;
  right: 23px;
  bottom: 23px;
  z-index: 700;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,239,255,.4);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(7,3,13,.86);
  box-shadow: 0 0 20px rgba(0,239,255,.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  cursor: pointer;
  transition: .25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,1,7,.84);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(850px, 90svh);
  overflow: auto;
  padding: clamp(28px, 5vw, 52px);
  transform: translateY(18px) scale(.98);
  transition: transform .3s ease;
}

.modal.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  font-size: 1.4rem;
}

.modal-dialog h2 {
  margin: 12px 0 15px;
  padding-right: 30px;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  text-transform: uppercase;
}

.modal-dialog > p:not(.eyebrow) {
  color: var(--muted);
}

.modal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 25px;
  margin: 30px 0;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-columns h3 {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.modal-columns p {
  color: var(--muted);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.modal-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255,30,156,.25);
  border-radius: 3px;
  color: #ffc2e2;
  background: rgba(255,30,156,.07);
  font-size: .72rem;
}

.noscript-message {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 5000;
  padding: 14px;
  border: 1px solid var(--pink);
  color: #fff;
  background: #160713;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: .8fr 1.2fr;
  }

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

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

  .process-grid::before {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

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

@media (max-width: 1180px) {
  :root { --header-height: 72px; }

  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .site-header {
    padding-inline: 20px;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 29px;
    padding: 95px 25px 45px;
    background: rgba(5,2,10,.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .28s ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: .9rem;
  }

  .nav-cta {
    margin-top: 5px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 100svh;
    padding-top: 150px;
  }

  .hero-spacer {
    min-height: 22vh;
  }

  .hero-console {
    justify-self: stretch;
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

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

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .content-section {
    padding-block: 80px;
  }

  .hero {
    padding-inline: 15px;
    padding-bottom: 38px;
  }

  .hero-console {
    padding: 25px 20px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .hero-metrics div {
    display: flex;
    align-items: center;
    gap: 11px;
  }

  .hero-metrics span {
    margin-top: 0;
  }

  .services-grid,
  .projects-grid,
  .process-grid,
  .form-grid,
  .modal-columns {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .project-visual {
    min-height: 220px;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .slider-button {
    position: absolute;
    bottom: 20px;
  }

  .slider-button.previous { left: 22px; }
  .slider-button.next { right: 22px; }

  .testimonial-track {
    min-height: 270px;
    padding-bottom: 50px;
  }

  .contact-layout {
    padding: 25px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: .9rem;
  }

  .brand-bracket:last-child {
    display: none;
  }

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

  .faq-item {
    padding-inline: 17px;
  }

  .faq-question {
    font-size: .74rem;
  }
}

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

/* Who We Are */
.who-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.who-copy > p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 16px;
  color: var(--muted);
}

.who-copy strong {
  color: #fff;
}

.who-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 32px;
}

.who-values > div {
  min-height: 135px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(0, 239, 255, 0.04), rgba(255, 30, 156, 0.06));
}

.who-values strong,
.who-values span {
  display: block;
}

.who-values strong {
  margin-bottom: 9px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.who-values span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.founder-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}

.founder-card::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -110px;
  right: -90px;
  border-radius: 50%;
  background: rgba(255, 30, 156, 0.16);
  filter: blur(25px);
  pointer-events: none;
}

.founder-code {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(0, 239, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
}

.founder-avatar {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 8px auto 24px;
  border: 1px solid rgba(0, 239, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(255, 30, 156, 0.55), rgba(10, 5, 20, 0.94) 68%);
  box-shadow: 0 0 0 7px rgba(0, 239, 255, 0.04), 0 0 32px rgba(255, 30, 156, 0.2);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.founder-role {
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.founder-card h3 {
  margin: 9px 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.founder-card > p:last-of-type {
  color: var(--muted);
}

.founder-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 239, 255, 0.18);
  border-radius: 999px;
  color: #c7c1d7;
  background: rgba(0, 239, 255, 0.04);
  font-size: 0.78rem;
}

.founder-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45e889;
  box-shadow: 0 0 12px #45e889;
}

@media (max-width: 1100px) {
  .who-layout {
    grid-template-columns: 1fr;
  }

  .founder-card {
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  .who-values {
    grid-template-columns: 1fr;
  }

  .who-values > div {
    min-height: 0;
  }
}


/* Contact Directory */
.contact-directory-section {
  position: relative;
}

.contact-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.contact-channel {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-channel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -95px;
  right: -75px;
  border-radius: 50%;
  background: rgba(255, 30, 156, 0.12);
  filter: blur(18px);
  pointer-events: none;
}

.contact-channel:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 239, 255, 0.32);
  box-shadow: var(--shadow), 0 0 30px rgba(0, 239, 255, 0.07);
}

.contact-channel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-channel-top p {
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

.contact-channel-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(0, 239, 255, 0.35);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(0, 239, 255, 0.05);
  box-shadow: inset 0 0 18px rgba(0, 239, 255, 0.04);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-channel h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 13px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.contact-channel > p {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  color: var(--muted);
}

.contact-channel > a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 15px 16px;
  border: 1px solid rgba(255, 30, 156, 0.28);
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 30, 156, 0.06);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel > a span {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(0.64rem, 1.2vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-channel > a i {
  flex: 0 0 auto;
  color: var(--cyan);
  font-style: normal;
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.contact-channel > a:hover {
  border-color: rgba(255, 30, 156, 0.7);
  background: rgba(255, 30, 156, 0.12);
  box-shadow: 0 0 22px rgba(255, 30, 156, 0.12);
}

.contact-channel > a:hover i {
  transform: translateX(4px);
}

.contact-directory-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #8f88a4;
  font-size: 0.84rem;
}

.contact-directory-note span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 239, 255, 0.8);
}

@media (max-width: 1100px) {
  .contact-directory-grid {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .contact-directory-grid {
    margin-top: 30px;
  }

  .contact-channel {
    padding: 24px;
  }
}
