:root {
  --ink: #06101c;
  --ink-soft: #1a2f45;
  --paper: #eef2f7;
  --paper-2: #ffffff;
  --line: rgba(6, 16, 28, 0.1);
  --accent: #1ea8ff;
  --accent-deep: #0b6fd4;
  --navy: #071a33;
  --cyan: #3ecbff;
  --glow: rgba(30, 168, 255, 0.28);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 20px;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  backdrop-filter: blur(16px);
  background: rgba(7, 26, 51, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.logo-img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta):hover {
  color: #fff;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #041018;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--cyan);
  transform: translateY(-1px);
}

/* HERO — full-bleed cover */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 10, 22, 0.88) 0%, rgba(4, 10, 22, 0.72) 38%, rgba(4, 10, 22, 0.35) 68%, rgba(4, 10, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.45) 0%, transparent 28%, rgba(4, 10, 22, 0.7) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(5.5rem, 12vw, 8rem) 1.25rem clamp(3.5rem, 8vw, 5rem);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}

.hero-logo {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero .eyebrow {
  color: var(--cyan);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #041018;
  box-shadow: 0 12px 28px var(--glow);
}

.btn-primary:hover {
  background: var(--cyan);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* SECTIONS */
.services,
.projects,
.about,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.section-head p {
  margin: 0;
  color: rgba(6, 16, 28, 0.7);
}

.section-head .eyebrow {
  color: var(--accent-deep);
}

/* SERVICES */
.service-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid rgba(6, 16, 28, 0.07);
  box-shadow: 0 12px 30px rgba(6, 16, 28, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(6, 16, 28, 0.09);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(30, 168, 255, 0.18), rgba(7, 26, 51, 0.12));
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: rgba(6, 16, 28, 0.68);
  font-size: 0.98rem;
}

/* PROJECTS */
.project-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 13rem;
  padding: 1.6rem 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid rgba(6, 16, 28, 0.07);
  box-shadow: 0 14px 34px rgba(6, 16, 28, 0.045);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--navy));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 168, 255, 0.4);
  box-shadow: 0 22px 46px rgba(6, 16, 28, 0.1);
}

.project-card:hover::before {
  opacity: 1;
}

.project-tag {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 168, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.project-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.project-card p {
  margin: 0;
  flex: 1;
  color: rgba(6, 16, 28, 0.68);
  font-size: 0.98rem;
}

.project-url {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-deep);
}

/* ABOUT */
.about-inner {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper-2);
  border: 1px solid rgba(6, 16, 28, 0.07);
  box-shadow: 0 18px 44px rgba(6, 16, 28, 0.05);
}

.about-photo {
  width: 12rem;
  height: 12rem;
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(7, 26, 51, 0.25);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text .eyebrow {
  color: var(--accent-deep);
}

.about-text h2 {
  margin: 0.4rem 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.about-text p {
  margin: 0 0 0.9rem;
  color: rgba(6, 16, 28, 0.72);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* CONTACT */
.contact {
  padding-bottom: 5rem;
}

.contact-panel {
  padding: clamp(2.2rem, 5vw, 3.4rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(62, 203, 255, 0.25), transparent 50%),
    linear-gradient(135deg, #0b6fd4 0%, #071a33 55%, #040c18 100%);
  color: #fff;
  box-shadow: 0 28px 55px var(--glow);
}

.contact-panel h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}

.contact-panel .btn-primary {
  background: var(--cyan);
  color: #041018;
  box-shadow: none;
}

.contact-panel .btn-primary:hover {
  background: #7adbff;
  color: #041018;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* FOOTER */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: rgba(6, 16, 28, 0.55);
}

.footer-note {
  font-weight: 600;
  color: rgba(6, 16, 28, 0.7);
}

/* REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero {
    min-height: min(85vh, 44rem);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 12, 24, 0.55) 0%, rgba(4, 12, 24, 0.82) 45%, rgba(4, 12, 24, 0.94) 100%);
  }

  .hero-bg img {
    object-position: 70% center;
  }

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

@media (max-width: 760px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

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

  .hero-logo {
    width: 3rem;
    height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .project-card:hover,
  .service-card:hover,
  .nav-cta:hover {
    transform: none;
  }
}
