:root {
  --bg: #020713;
  --bg-2: #050d1a;
  --card: rgba(7, 17, 31, 0.72);
  --card-solid: #07111f;
  --text: #f8fafc;
  --muted: #a7b3c7;
  --line: rgba(125, 245, 255, 0.22);
  --cyan: #20e8e8;
  --cyan-2: #7dfff5;
  --cyan-dark: #0895a8;
  --shadow: 0 0 42px rgba(32, 232, 232, 0.16);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img,
svg {
  display: block;
}

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

.page-shell {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(32, 232, 232, 0.13), transparent 31%),
    radial-gradient(circle at 82% 22%, rgba(32, 232, 232, 0.12), transparent 28%),
    linear-gradient(180deg, #020713 0%, #020713 45%, #040b17 100%);
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 232, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 232, 232, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
  opacity: 0.32;
}

.orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.48;
}

.orb-a {
  left: -210px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(32, 232, 232, 0.18), transparent 64%);
}

.orb-b {
  right: -260px;
  top: -260px;
  background: radial-gradient(circle, rgba(13, 148, 173, 0.20), transparent 66%);
}

.grid-glow {
  position: absolute;
  inset: auto -10% -24% -10%;
  height: 330px;
  background: repeating-radial-gradient(ellipse at center, rgba(32, 232, 232, 0.16) 0 1px, transparent 2px 20px);
  transform: perspective(600px) rotateX(62deg);
  opacity: 0.22;
}

.site-header,
.hero,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand span {
  display: grid;
  gap: 1px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.brand small {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

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

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

.contact-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  min-height: calc(100vh - 152px);
  padding: 28px 0 42px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(32, 232, 232, 0.38);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--cyan-2);
  background: rgba(32, 232, 232, 0.06);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(32, 232, 232, 0.08);
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(32, 232, 232, 0.58);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(32, 232, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 232, 232, 0); }
}

.hero h1 {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(2.8rem, 7vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hero h1::after {
  content: "";
  display: block;
  width: 144px;
  height: 4px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.78;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 900;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary {
  background: linear-gradient(135deg, var(--cyan-2), var(--cyan));
  color: #03111b;
  box-shadow: 0 0 42px rgba(32, 232, 232, 0.23);
}

.secondary {
  border: 1px solid rgba(32, 232, 232, 0.42);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.value-list {
  display: grid;
  gap: 12px;
  max-width: 550px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 0 12px;
  color: #dbe6f7;
  font-weight: 700;
}

.value-list span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.preview-panel {
  position: relative;
  border: 1px solid rgba(32, 232, 232, 0.25);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.76), rgba(2, 7, 19, 0.74));
  box-shadow: 0 0 90px rgba(32, 232, 232, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.preview-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(32, 232, 232, 0.34);
  border-radius: 999px;
  box-shadow: 0 0 80px rgba(32, 232, 232, 0.18);
}

.panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  color: var(--cyan-2);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(32, 232, 232, 0.65);
}

.portfolio-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  padding: 18px;
}

.work-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(32, 232, 232, 0.24);
  border-radius: 22px;
  background: var(--card-solid);
  isolation: isolate;
}

.work-card.featured {
  grid-row: span 2;
  min-height: 378px;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.02);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 7, 19, 0.90));
}

.work-card div {
  position: absolute;
  inset: auto 16px 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.work-card span {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(32, 232, 232, 0.35);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--cyan-2);
  background: rgba(2, 7, 19, 0.52);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work-card strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 28px;
  color: #7f8ca3;
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 20px;
  }

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

  .portfolio-strip {
    grid-template-columns: 1fr 1fr;
  }

  .work-card.featured {
    grid-column: 1 / -1;
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .header-links {
    gap: 10px;
    font-size: 0.76rem;
  }

  .header-links a:not(.contact-link) {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .action-row,
  .button {
    width: 100%;
  }

  .value-list li {
    font-size: 0.92rem;
  }

  .portfolio-strip {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .work-card,
  .work-card.featured {
    min-height: 230px;
  }

  .hide-mobile {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
