:root {
  color-scheme: dark;
  --bg-top: #04070f;
  --bg-mid: #081224;
  --bg-bottom: #050910;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-border: rgba(148, 163, 184, 0.18);
  --text-main: #e2e8f0;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --accent: #67e8f9;
  --accent-strong: #22d3ee;
  --shadow: rgba(2, 6, 23, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-main);
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  background-color: var(--bg-top);
  background-image:
    radial-gradient(70% 55% at 50% 0%, rgba(56, 189, 248, 0.12), transparent 65%),
    radial-gradient(65% 50% at 50% 100%, rgba(34, 211, 238, 0.1), transparent 70%),
    radial-gradient(120% 85% at 100% 35%, rgba(147, 51, 234, 0.12), transparent 75%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
  background-blend-mode: color-dodge, color-dodge, screen, normal;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    160deg,
    rgba(4, 9, 16, 0.85) 0%,
    rgba(8, 18, 36, 0.35) 45%,
    rgba(6, 10, 18, 0.8) 100%
  );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 75%);
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

::selection {
  background: rgba(94, 234, 212, 0.35);
  color: #0b1220;
}

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

.site-shell {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(51, 65, 85, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark__logo {
  width: 3rem;
  height: 3rem;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-mark__name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark__tag {
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(100, 116, 139, 0.65);
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.cta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(226, 232, 240, 0.65);
  background: rgba(226, 232, 240, 0.08);
}

.hero-section,
.services-section,
.portfolio-section,
.contact-section {
  position: relative;
}

.hero-section {
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 2.5rem;
  width: 24rem;
  height: 24rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  filter: blur(72px);
  pointer-events: none;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-copy {
  max-width: 42rem;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin-top: 1.5rem;
  max-width: 40rem;
  color: var(--text-main);
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-highlights {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-highlights li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #818cf8, #d946ef);
}

.services-section {
  padding: 3rem 0 4rem;
  background: rgba(2, 6, 23, 0.45);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-heading h2,
.contact-heading h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-heading p {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.text-link {
  flex: 0 0 auto;
  color: #67e8f9;
  font-size: 0.95rem;
  font-weight: 600;
}

.text-link::after {
  content: " ->";
}

.text-link:hover {
  color: #a5f3fc;
}

.service-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-section {
  padding: 3rem 0 4rem;
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, rgba(8, 18, 36, 0.94), rgba(15, 23, 42, 0.82)),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 1.5rem 3rem -1rem var(--shadow);
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.18), transparent 68%);
  pointer-events: none;
}

.portfolio-card__content {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.portfolio-card__eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.05;
}

.portfolio-card p {
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.portfolio-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.portfolio-inline-link {
  color: #a5f3fc;
  font-size: 0.95rem;
  word-break: break-all;
}

.portfolio-inline-link:hover {
  color: #cffafe;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 41, 59, 0.85);
  border-radius: 1.75rem;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 1.5rem 3rem -1rem var(--shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}

.service-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.15),
    rgba(129, 140, 248, 0.05),
    rgba(217, 70, 239, 0.15)
  );
}

.service-card:hover .service-card__glow {
  opacity: 1;
}

.service-card__content {
  position: relative;
  padding: 2rem;
}

.service-card h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-card p {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.chip-list li {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 999px;
  color: rgba(165, 243, 252, 0.95);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.contact-section__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 182, 212, 0.1),
    rgba(99, 102, 241, 0.1),
    rgba(217, 70, 239, 0.1)
  );
  pointer-events: none;
}

.contact-layout {
  position: relative;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem;
  border: 1px solid rgba(241, 245, 249, 0.15);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  transition: border-color 180ms ease;
}

.contact-card:hover {
  border-color: rgba(103, 232, 249, 0.4);
}

.contact-card__label {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.contact-card__value {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-card__action {
  color: rgba(165, 243, 252, 0.95);
  font-size: 0.9rem;
}

.contact-card:hover .contact-card__action {
  color: #cffafe;
}

.site-footer {
  background: rgba(2, 6, 23, 0.75);
  border-top: 1px solid rgba(30, 41, 59, 0.65);
}

.footer-layout {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand__logo {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-brand__name {
  display: block;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-brand__tag,
.footer-links__label {
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-brand__tag {
  display: block;
  margin-top: 0.2rem;
}

.kitten-image {
  width: auto;
  max-height: 6rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.footer-links {
  display: grid;
  gap: 1.5rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer__meta {
  border-top: 1px solid rgba(30, 41, 59, 0.65);
  padding: 1.5rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  text-align: center;
}

.pride-flag-banner {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #e40303 0,
    #e40303 calc(100% / 7),
    #ff8c00 calc(100% / 7),
    #ff8c00 calc(100% * 2 / 7),
    #ffff41 calc(100% * 2 / 7),
    #ffff41 calc(100% * 3 / 7),
    #008026 calc(100% * 3 / 7),
    #008026 calc(100% * 4 / 7),
    #0000f9 calc(100% * 4 / 7),
    #0000f9 calc(100% * 5 / 7),
    #86007d calc(100% * 5 / 7),
    #86007d calc(100% * 6 / 7),
    #e40303 calc(100% * 6 / 7),
    #e40303 100%
  );
}

.pride-flag-small {
  width: 3rem;
  height: 2rem;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  background: repeating-linear-gradient(
    90deg,
    #e40303 0,
    #e40303 calc(100% / 7),
    #ff8c00 calc(100% / 7),
    #ff8c00 calc(100% * 2 / 7),
    #ffff41 calc(100% * 2 / 7),
    #ffff41 calc(100% * 3 / 7),
    #008026 calc(100% * 3 / 7),
    #008026 calc(100% * 4 / 7),
    #0000f9 calc(100% * 4 / 7),
    #0000f9 calc(100% * 5 / 7),
    #86007d calc(100% * 5 / 7),
    #86007d calc(100% * 6 / 7),
    #e40303 calc(100% * 6 / 7),
    #e40303 100%
  );
}

@media (min-width: 48rem) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-layout {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    justify-content: space-between;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: end;
    justify-items: start;
  }
}

@media (max-width: 47.99rem) {
  .site-shell {
    width: min(100% - 2rem, 72rem);
  }

  .site-header__inner,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-mark {
    flex-wrap: wrap;
  }
}
