* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #f5f5ff;
  background: #09070f;
  --bg: #09070f;
  --bg-soft: rgba(15, 10, 24, 0.85);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #b860ff;
  --accent-strong: #c480ff;
  --text: #f7f5ff;
  --muted: #b8b0d7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

html[data-theme='light'] {
  color-scheme: light;
  background: #f8f8ff;
  --bg: #f8f8ff;
  --bg-soft: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.75);
  --glass-strong: rgba(255, 255, 255, 0.85);
  --border: rgba(0, 0, 0, 0.08);
  --accent: #8a5cff;
  --accent-strong: #6b4bff;
  --text: #1f1b2a;
  --muted: #5d5d77;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(137, 82, 255, 0.24), transparent 24%),
    radial-gradient(circle at 30% 20%, rgba(134, 229, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #0d0820 0%, #09070f 100%);
  color: var(--text);
  overflow-x: hidden;
}

::selection {
  background: rgba(184, 96, 255, 0.42);
  color: #fff;
}

button,
a {
  border: none;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 18, 0.96);
  display: grid;
  place-items: center;
  z-index: 9999;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-ring {
  width: 4rem;
  height: 4rem;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 20px clamp(20px, 4vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  background: rgba(12, 8, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links.active {
  display: flex;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.top-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: 100vh;
  position: relative;
  padding: 120px clamp(20px, 4vw, 50px) 80px;
  display: grid;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(184, 96, 255, 0.22), transparent 26%),
    radial-gradient(circle at bottom right, rgba(111, 215, 255, 0.14), transparent 28%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 3, 11, 0.3), rgba(4, 3, 11, 0.72));
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  z-index: 1;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(3rem, 4.8vw, 5.4rem);
  line-height: 0.95;
  max-width: 810px;
}

.hero-text {
  margin: 1.8rem 0 2.2rem;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.hero-meta div {
  padding: 1.25rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #fff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #7b5cff);
  color: #fff;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
}

.hero-card-image {
  position: relative;
  min-height: 420px;
  background: linear-gradient(180deg, rgba(184, 96, 255, 0.28), rgba(12, 8, 24, 0.72));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-image img {
  width: min(100%, 420px);
  object-fit: cover;
  border-radius: 28px;
}

.hero-card-body {
  padding: 2rem;
}

.hero-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-card-body h2 {
  margin-bottom: 1rem;
  font-size: 2.1rem;
}

.hero-card-body p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero-tags span {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: 100px clamp(20px, 4vw, 50px);
}

.section-header {
  max-width: 920px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header span {
  display: inline-flex;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: clamp(2.05rem, 3.3vw, 3.4rem);
  line-height: 1.05;
}

.about-grid,
.business-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: 1.35fr 0.9fr;
  align-items: start;
}

.about-copy p {
  margin-bottom: 1.3rem;
  color: var(--muted);
  line-height: 1.9;
}

.about-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.about-highlights div {
  padding: 1.4rem 1.6rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-highlights h3 {
  margin-bottom: 0.55rem;
}

.about-cards {
  display: grid;
  gap: 1.25rem;
}

.glass-card {
  padding: 1.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.glass-card h3 {
  margin-bottom: 1rem;
}

.identity-grid,
.photography-grid,
.skills-grid {
  display: grid;
  gap: 1.5rem;
}

.identity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.identity-card {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 18px;
  background: rgba(184, 96, 255, 0.16);
  font-size: 1.8rem;
}

.identity-card h3 {
  margin-bottom: 1rem;
}

.photography-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(9, 7, 15, 0.88));
}

.photo-card div {
  position: relative;
  z-index: 1;
}

.photo-card h3 {
  margin-bottom: 0.55rem;
}

.photography-cta {
  margin-top: 1.8rem;
  text-align: center;
  color: var(--muted);
}

.business-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-grid ul {
  margin-top: 1rem;
  list-style: none;
  padding-left: 0;
}

.business-grid li {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.skills-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-bar {
  display: grid;
  gap: 0.5rem;
}

.skill-bar span {
  font-weight: 600;
}

.skill-bar div {
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.skill-bar div span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), #7f81ff);
}

.contact-grid {
  grid-template-columns: 1.4fr 0.9fr;
}

.contact-copy p {
  margin-bottom: 1.8rem;
  color: var(--muted);
  line-height: 1.85;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details div {
  padding: 1.2rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details strong {
  display: block;
  margin-bottom: 0.45rem;
}

.contact-box {
  display: grid;
  gap: 1.25rem;
}

.contact-box ul {
  list-style: none;
  padding: 0;
}

.contact-box li {
  color: var(--muted);
}

.footer {
  padding: 2rem clamp(20px, 4vw, 50px);
  text-align: center;
  color: var(--muted);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #7b5cff);
  z-index: 60;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(184, 96, 255, 0.65);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 999;
}

@media (max-width: 1080px) {
  .hero-content,
  .about-grid,
  .business-grid,
  .contact-grid,
  .identity-grid,
  .photography-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    background: rgba(12, 8, 24, 0.94);
    border-radius: 20px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    width: 100%;
    border-radius: 16px;
    color: var(--text);
  }

  .hero {
    padding: 90px 18px 70px;
  }

  .hero-copy,
  .hero-card {
    width: 100%;
  }

  .hero-card-image {
    min-height: 300px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section {
    padding: 70px 18px;
  }

  .section-header h2 {
    font-size: 2.4rem;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
