:root {
  --bg: #061014;
  --bg-soft: #0d1a1f;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4fbff;
  --muted: #9eb0b7;
  --accent: #21e6d1;
  --accent-2: #45a8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(33, 230, 209, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 5%, rgba(69, 168, 255, 0.13), transparent 34rem),
    linear-gradient(145deg, var(--bg), #101317 58%, #071316);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 15, 18, 0.76);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.logo,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #001412;
  background: linear-gradient(135deg, var(--accent), #d4fff8);
  box-shadow: 0 0 24px rgba(33, 230, 209, 0.42);
}

.site-nav {
  padding-right: 8px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 200ms ease;
}

.nav-toggle span:last-child {
  transform: translateY(6px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 54px;
  align-items: center;
  padding-top: 130px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(3.5rem, 8vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 16px;
  border: 1px solid rgba(33, 230, 209, 0.34);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(33, 230, 209, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: #031616;
  background: linear-gradient(135deg, var(--accent), #a6fff4);
  box-shadow: 0 18px 40px rgba(33, 230, 209, 0.24);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--card), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-visual {
  position: relative;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  transform-style: preserve-3d;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  filter: saturate(1.06) contrast(1.02);
}

.floating-note {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(2, 14, 18, 0.7);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 800;
}

.note-one {
  top: 34px;
  left: 26px;
}

.note-two {
  right: 26px;
  bottom: 34px;
}

.stats-strip {
  position: absolute;
  right: -18px;
  bottom: -38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(420px, calc(100% + 18px));
  padding: 20px;
}

.stats-strip strong {
  display: block;
  font-size: 1.45rem;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.about p,
.brand-panel p,
.social-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
}

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

.skills-grid,
.project-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.skill-card,
.process-card,
.testimonial-grid blockquote {
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.skill-card:hover,
.process-card:hover,
.testimonial-grid blockquote:hover,
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(33, 230, 209, 0.46);
  background: linear-gradient(145deg, var(--card-strong), rgba(33, 230, 209, 0.055));
}

.skill-card span,
.process-card span,
.project-card span {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.82rem;
}

.skill-card h3,
.process-card h3,
.project-card h3,
.social-panel h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
}

.skill-card p,
.project-card p,
.testimonial-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.project-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  opacity: 0.92;
}

.project-card div {
  padding: 22px;
}

.project-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 900;
}

.brand-panel,
.inquiry-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
}

.brand-panel::before,
.inquiry-panel::before {
  content: "";
  position: absolute;
  inset: auto -12% -65% 36%;
  height: 300px;
  background: radial-gradient(circle, rgba(33, 230, 209, 0.22), transparent 70%);
}

.brand-panel p {
  max-width: 760px;
  margin-top: 22px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-card {
  min-height: 160px;
}

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

.testimonial-grid blockquote {
  margin: 0;
}

.testimonial-grid cite {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-style: normal;
  font-weight: 800;
}

.inquiry {
  padding-top: 40px;
}

.inquiry-panel {
  text-align: center;
}

.inquiry-panel p {
  margin: 16px auto 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

select option {
  color: #111;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(33, 230, 209, 0.7);
  box-shadow: 0 0 0 4px rgba(33, 230, 209, 0.1);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.social-panel {
  padding: 28px;
}

.social-panel p {
  margin-top: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 230, 209, 0.52);
  color: var(--accent);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 920px) {
  .hero,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
  }

  .skills-grid,
  .project-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header {
    border-radius: 26px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 10px 8px 4px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .section-shell {
    width: min(100% - 24px, 1120px);
    padding: 72px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .skills-grid,
  .project-grid,
  .testimonial-grid,
  .process-track,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
