:root {
  color-scheme: dark;
  --bg: #03080f;
  --ink: #f7fbff;
  --muted: #c6d5de;
  --quiet: #7f98a8;
  --line: rgba(154, 240, 255, 0.2);
  --panel: rgba(4, 12, 20, 0.62);
  --panel-strong: rgba(3, 9, 17, 0.84);
  --aurora: #7ff7df;
  --aurora-blue: #18a8ff;
  --aurora-violet: #8b68ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
}

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

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

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

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

.site-background,
.depth-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.02);
}

.depth-overlay {
  background:
    radial-gradient(circle at 72% 38%, rgba(8, 21, 34, 0.16), transparent 26rem),
    linear-gradient(180deg, rgba(2, 6, 12, 0.28) 0%, rgba(2, 6, 12, 0.42) 42%, rgba(2, 6, 12, 0.9) 100%),
    linear-gradient(90deg, rgba(2, 6, 12, 0.38) 0%, rgba(2, 6, 12, 0.18) 45%, rgba(2, 6, 12, 0.5) 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 8px 0;
  border-bottom: 1px solid rgba(190, 236, 245, 0.1);
  background: rgba(3, 8, 15, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(152px, 18vw, 230px);
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(190, 236, 245, 0.2);
  border-radius: 8px;
  background: rgba(3, 10, 18, 0.34);
  color: rgba(241, 249, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
  backdrop-filter: blur(14px);
}

.nav-link:hover,
.nav-link.is-active {
  border-color: rgba(127, 247, 223, 0.56);
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--aurora);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.35rem, 3.55vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.lede {
  max-width: 700px;
  margin: 0 0 32px;
  color: rgba(236, 247, 255, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(127, 247, 223, 0.72);
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, var(--aurora), #8be7ff);
  color: #021116;
  box-shadow: 0 18px 48px rgba(40, 222, 220, 0.22);
}

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

.header-cta {
  min-height: 34px;
  padding: 0 16px;
  white-space: nowrap;
}

.page-section {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: clamp(86px, 13vh, 136px) 0 120px;
}

.hero-section {
  display: grid;
  min-height: calc(100vh - 70px);
  place-items: center;
  padding-top: clamp(64px, 10vh, 112px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.home-page .section-heading {
  max-width: 880px;
}

.section-heading h1,
.section-heading h2 {
  margin-left: 0;
  margin-right: 0;
}

.section-heading p {
  max-width: 660px;
}

.home-page .lede {
  max-width: 760px;
}

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

.content-card,
.home-panel,
.contact-form,
.contact-panel,
.portrait-slot,
.about-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 27, 40, 0.86), rgba(4, 11, 20, 0.76)),
    rgba(4, 12, 20, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.content-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 240px;
  padding: clamp(22px, 3vw, 34px);
}

.service-card-body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 8px;
}

.service-icon-wrap {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(127, 247, 223, 0.12), transparent 66%),
    rgba(1, 6, 11, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.service-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  animation: iconFloat 5.4s ease-in-out infinite;
}

.content-card:nth-child(2) .service-icon {
  animation-delay: -0.7s;
}

.content-card:nth-child(3) .service-icon {
  animation-delay: -1.4s;
}

.content-card:nth-child(4) .service-icon {
  animation-delay: -2.1s;
}

.content-card:nth-child(5) .service-icon {
  animation-delay: -2.8s;
}

.content-card:nth-child(6) .service-icon {
  animation-delay: -3.5s;
}

.content-card:hover .service-icon-wrap {
  background:
    radial-gradient(circle at 50% 44%, rgba(127, 247, 223, 0.18), transparent 66%),
    rgba(1, 6, 11, 0.24);
  transform: translateY(-3px);
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-icon {
    animation: none;
  }
}

.home-panel {
  display: grid;
  gap: 22px;
  max-width: 900px;
  padding: clamp(24px, 4vw, 38px);
}

.example-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.example-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(236, 247, 255, 0.88);
  line-height: 1.55;
}

.example-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--aurora);
  box-shadow: 0 0 18px rgba(127, 247, 223, 0.42);
  content: "";
}

.content-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--aurora);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-card p {
  margin-bottom: 0;
}

.content-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.05;
  white-space: nowrap;
}

.hero-layout {
  width: min(100%, 900px);
}

.hero-panel {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 27, 40, 0.86), rgba(4, 11, 20, 0.76)),
    rgba(4, 12, 20, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(18px);
}

.hero-panel h1 {
  margin-bottom: 22px;
}

.hero-panel .lede {
  margin: 0 auto;
}

.about-section {
  min-height: calc(100vh - 70px);
}

.about-portrait {
  aspect-ratio: 599 / 470;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 27, 40, 0.86), rgba(4, 11, 20, 0.76)),
    rgba(4, 12, 20, 0.72);
  box-shadow: var(--shadow);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% top;
  transform: scale(1.04);
  transform-origin: center center;
}

.services-section,
.contact-section {
  border-top: 1px solid rgba(190, 236, 245, 0.08);
  padding-top: clamp(60px, 9vh, 100px);
}

.services-section .eyebrow {
  margin-bottom: 22px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 27, 40, 0.86), rgba(4, 11, 20, 0.76)),
    rgba(4, 12, 20, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.about-copy h1,
.about-copy p {
  margin-bottom: 0;
}

.about-copy .button {
  justify-self: start;
  margin-top: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 22px;
  align-items: start;
}

.contact-form,
.contact-panel {
  padding: clamp(22px, 4vw, 36px);
}

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

label {
  display: grid;
  gap: 8px;
  color: rgba(241, 249, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(190, 236, 245, 0.2);
  border-radius: 8px;
  background: rgba(1, 6, 11, 0.56);
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
textarea:focus {
  border-color: rgba(127, 247, 223, 0.7);
  outline: 2px solid rgba(127, 247, 223, 0.14);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(190, 236, 245, 0.16);
  border-radius: 8px;
  background: rgba(1, 6, 11, 0.28);
}

.contact-method span {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--ink);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(190, 236, 245, 0.1);
}

.site-footer p {
  margin: 0;
  color: rgba(198, 213, 222, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 32px, 1240px);
  }

  .page-section {
    width: min(100% - 32px, 1120px);
  }

  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  h1,
  .lede {
    margin-left: 0;
    margin-right: 0;
  }

  .site-nav {
    justify-content: flex-start;
    margin-left: 0;
  }

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

  .hero-section {
    min-height: auto;
  }

  .about-portrait {
    max-width: 320px;
  }

  .header-cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 180px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-panel {
    padding: 28px 18px;
  }

  .hero-panel h1 {
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.06;
    overflow-wrap: normal;
    text-wrap: wrap;
  }

  .nav-link {
    flex: 1 1 auto;
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.82rem;
  }
}
