:root {
  --bg: #0b0b0a;
  --surface: rgba(23, 25, 30, 0.9);
  --card: rgba(15, 17, 22, 0.94);
  --accent: #6fb7a2;
  --accent-2: #3b4d6b;
  --muted: #b4b0a3;
  --text: #f3ecdc;
  --border: 1px solid rgba(243, 236, 220, 0.08);
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px at 20% 10%, rgba(111, 183, 162, 0.12), transparent 35%),
    radial-gradient(900px at 80% 0%, rgba(59, 77, 107, 0.18), transparent 32%),
    radial-gradient(900px at 55% 75%, rgba(93, 82, 62, 0.18), transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: "Gill Sans", "Gill Sans MT", "Manrope", "DM Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 1;
}
header {
  position: sticky;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(18px);
  background: transparent;
}
.nav-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}
nav {
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(18px);
}
.brand {
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  font-size: 18px;
}
.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, border 0.2s ease, transform 0.15s ease;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(59, 77, 107, 0.42);
  border-color: rgba(59, 77, 107, 0.55);
  transform: translateY(-1px);
}
.dropdown {
  position: relative;
}
.dropdown > a::after {
  content: "▾";
  font-size: 12px;
  margin-left: 6px;
  opacity: 0.8;
}
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 200px;
  background: rgba(10, 12, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48);
  padding: 8px;
  display: none;
  backdrop-filter: blur(18px);
}
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  background: transparent;
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}
.dropdown:hover .dropdown-menu { display: block; }
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px 96px;
  position: relative;
  z-index: 2;
}
.hero {
  position: relative;
  padding: 42px;
  border-radius: 0;
  border: none;
  background: linear-gradient(145deg, rgba(28, 32, 40, 0.92), rgba(18, 20, 26, 0.9));
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 92vh;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -40px;
}
.hero .parallax {
  position: absolute;
  inset: -20%;
  background: radial-gradient(1200px at 15% 20%, rgba(111, 183, 162, 0.26), transparent 40%),
              radial-gradient(1100px at 80% 18%, rgba(59, 77, 107, 0.32), transparent 38%),
              radial-gradient(1000px at 60% 80%, rgba(122, 62, 74, 0.3), transparent 35%);
  transform: translateY(-6px);
  background-attachment: fixed; /* simple parallax */
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(34px, 5.6vw, 56px);
  line-height: 1.05;
  margin: 14px 0 14px;
  letter-spacing: -0.02em;
  font-family: "Cormorant Garamond", "Gill Sans", serif;
}
h2, h3, h4 {
  font-family: "Cormorant Garamond", "Gill Sans", serif;
  letter-spacing: -0.01em;
}
.section-head h2 { font-size: 24px; }
.card h3 { font-size: 20px; }
.lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border 0.18s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #9be3cd);
  color: #0c1413;
  box-shadow: 0 12px 30px rgba(125, 217, 197, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn:hover { transform: translateY(-1px); }
.portrait {
  width: 100%;
  border-radius: calc(var(--radius) * 1.1);
  border: var(--border);
  background: var(--card);
  padding: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  filter: saturate(1.05);
}
.about-panel {
  position: relative;
  margin-top: 32px;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(243, 236, 220, 0.08);
  background: linear-gradient(135deg, rgba(37, 41, 48, 0.9), rgba(18, 20, 26, 0.9));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}
.about-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}
.about-photo {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(243, 236, 220, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}
.about-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.about-text h1 {
  margin-top: 0;
}
.about-text p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}
.about-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}
.about-visual-card {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid rgba(243, 236, 220, 0.12);
  background: rgba(15, 17, 22, 0.9);
  padding: 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}
.about-visual-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}
.logo-caption {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
  text-align: center;
}
section {
  margin-top: 64px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  background: linear-gradient(135deg, rgba(59, 77, 107, 0.2), rgba(15, 17, 22, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(243, 236, 220, 0.08);
  padding: 20px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px at 15% 20%, rgba(111, 183, 162, 0.12), transparent 40%),
              radial-gradient(200px at 85% 30%, rgba(59, 77, 107, 0.14), transparent 35%);
  opacity: 0.7;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 77, 107, 0.65);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.card-content { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(243, 236, 220, 0.04);
  border: 1px solid rgba(243, 236, 220, 0.08);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(243, 236, 220, 0.07);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card .meta { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(243, 236, 220, 0.05);
  border: 1px solid rgba(243, 236, 220, 0.08);
  color: var(--muted);
  font-size: 12px;
  margin: 4px 6px 0 0;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: var(--border);
  background: rgba(59, 77, 107, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}
.skill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(111, 183, 162, 0.12);
  border: 1px solid rgba(243, 236, 220, 0.08);
}
.skill-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.skill-text strong { font-size: 14px; font-family: "Cormorant Garamond", "Manrope", serif; }
.skill-text span { color: var(--muted); font-size: 13px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.timeline .card h4 { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.carousel-stack { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.carousel-header h3 { margin: 0; font-size: 20px; }
.carousel-header p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.carousel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}
.carousel-shell {
  position: relative;
  border: 1px solid rgba(243, 236, 220, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 17, 22, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.carousel-main {
  width: 100%;
  height: 420px;
  display: grid;
  place-items: center;
  background: radial-gradient(900px at 20% 20%, rgba(111, 183, 162, 0.12), transparent 45%),
              radial-gradient(800px at 80% 30%, rgba(59, 77, 107, 0.16), transparent 40%),
              rgba(12, 14, 18, 0.9);
}
.carousel-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
}
.carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}
.carousel-btn {
  pointer-events: all;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 220, 0.1);
  background: rgba(59, 77, 107, 0.35);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.carousel-btn:hover {
  transform: translateY(-1px);
  background: rgba(111, 183, 162, 0.35);
  border-color: rgba(243, 236, 220, 0.25);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px;
  background: rgba(0,0,0,0.25);
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 220, 0.5);
  background: transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.carousel-dot.active {
  background: rgba(111, 183, 162, 0.8);
  transform: scale(1.05);
}
.carousel-note {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}
.carousel-info {
  border: 1px solid rgba(243, 236, 220, 0.1);
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(15, 17, 22, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.carousel-kicker {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.carousel-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.carousel-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.carousel-counter {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}
footer {
  margin-top: 80px;
  padding: 28px 24px 56px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
a { color: var(--accent); }
.cursor-glow {
  position: fixed;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(125, 217, 197, 0.22), rgba(143, 177, 255, 0.14), rgba(10, 12, 15, 0));
  mix-blend-mode: screen;
  filter: blur(28px);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  z-index: 5;
}
@media (max-width: 720px) {
  nav { padding: 14px 16px; }
  .hero { padding: 32px; }
  .actions { width: 100%; }
  .btn { width: 100%; text-align: center; }
  .carousel-layout {
    grid-template-columns: 1fr;
  }
}
