:root {
  --bg-sky-light: #dff2fe;
  --bg-sky-mid: #bae6fd;
  --bg-pink-light: #fce7f3;
  --bg-pink-mid: #fbcfe8;
  --accent-blue: #0284c7;
  --accent-sky: #38bdf8;
  --accent-pink: #ec4899;
  --accent-rose: #f472b6;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --glass-bg: rgba(255, 255, 255, 0.44);
  --glass-bg-strong: rgba(255, 255, 255, 0.64);
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-highlight: rgba(255, 255, 255, 0.92);
  --glass-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(56, 189, 248, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 28%, #f5d0fe 62%, #fbcfe8 82%, #fce7f3 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.72;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-blue-1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, #7dd3fc 0%, #38bdf8 70%, transparent 100%);
  top: -120px;
  left: -100px;
}

.orb-pink-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f9a8d4 0%, #f472b6 68%, transparent 100%);
  top: 6%;
  right: -140px;
  animation-delay: -5s;
}

.orb-blue-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a5f3fc 0%, #60a5fa 70%, transparent 100%);
  bottom: 8%;
  left: 12%;
  animation-delay: -9s;
}

.orb-pink-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #fbcfe8 0%, #ec4899 65%, transparent 100%);
  bottom: -120px;
  right: 10%;
  animation-delay: -3s;
}

.orb-center {
  width: 440px;
  height: 440px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.75), rgba(249, 168, 212, 0.75));
  top: 42%;
  left: 38%;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -28px) scale(1.07); }
  100% { transform: translate(-25px, 32px) scale(0.95); }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.34) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%, rgba(244, 114, 182, 0.08) 100%);
  pointer-events: none;
}

.glass-pill, .glass-chip {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
}

.container {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(1320px, 94vw);
  margin: 16px auto 0;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-glass-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(186, 230, 253, 0.85), rgba(251, 207, 232, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #0369a1, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.22s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--accent-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-gradient, .btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 40%, #f472b6 85%, #ec4899 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -6px rgba(236, 72, 153, 0.45), 0 6px 16px -4px rgba(14, 165, 233, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(236, 72, 153, 0.58), 0 8px 20px -4px rgba(14, 165, 233, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

.full-width {
  width: 100%;
}

.hero-section {
  padding: 44px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-size: 0.81rem;
  font-weight: 700;
  color: #0369a1;
  width: fit-content;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #ec4899);
  box-shadow: 0 0 10px #ec4899;
}

.hero-title {
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(120deg, #0284c7 0%, #0ea5e9 35%, #db2777 75%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.stat-chip {
  padding: 14px 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  background: linear-gradient(120deg, #0284c7, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-main-frame {
  position: relative;
  height: 360px;
  cursor: pointer;
  padding: 12px;
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.hero-main-frame:hover .hero-showcase-img {
  transform: scale(1.03);
}

.hero-frame-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-frame-caption strong {
  display: block;
  font-size: 0.96rem;
}

.hero-frame-caption span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.zoom-badge {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(236, 72, 153, 0.2));
  font-weight: 700;
  color: #0369a1 !important;
}

.hero-floating-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-glass-card {
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-glass-card:hover {
  transform: translateY(-4px);
}

.mini-glass-card img {
  width: 78px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

.mini-card-meta strong {
  display: block;
  font-size: 0.9rem;
}

.mini-card-meta span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.section-header {
  padding: 28px 34px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #0284c7, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
}

.section-desc {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.collections-section {
  padding: 24px 0 36px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.collection-card {
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.collection-card:hover {
  transform: translateY(-6px);
  border-color: #ffffff;
}

.collection-img-wrap {
  position: relative;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
}

.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.collection-card:hover .collection-img-wrap img {
  transform: scale(1.06);
}

.collection-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.collection-body {
  padding: 4px 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.collection-body h3 {
  font-size: 1.12rem;
}

.collection-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  flex: 1;
}

.collection-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.portfolio-section {
  padding: 24px 0 44px;
}

.portfolio-toolbar {
  padding: 28px 32px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box {
  padding: 6px 18px;
  min-width: min(380px, 100%);
}

.search-box input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  padding: 6px 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #ec4899 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px -5px rgba(236, 72, 153, 0.45);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: #ffffff;
}

.gallery-thumb {
  position: relative;
  height: 225px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.06);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--text-primary);
}

.gallery-info {
  padding: 2px 8px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gallery-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
}

.gallery-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.gallery-open-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(244, 114, 182, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-weight: 700;
  color: #0369a1;
  flex-shrink: 0;
}

.about-section {
  padding: 24px 0 44px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
}

.portrait-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.portrait-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
}

.portrait-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-avatar-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portrait-avatar-badge img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.portrait-avatar-badge strong {
  display: block;
  font-size: 0.95rem;
}

.portrait-avatar-badge span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.resume-downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-content {
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.skills-heading {
  font-size: 1.05rem;
  margin-top: 8px;
}

.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.experience-section, .resumes-section {
  padding: 20px 0 44px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.timeline-card, .doc-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.doc-card:hover {
  transform: translateY(-5px);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-period {
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0369a1;
  width: fit-content;
}

.timeline-card h3, .doc-card h3 {
  font-size: 1.15rem;
  margin-top: 4px;
}

.timeline-role {
  font-size: 0.86rem;
  font-weight: 700;
  color: #db2777;
}

.timeline-card p, .doc-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
}

.contact-section {
  padding: 20px 0 56px;
}

.contact-card {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.contact-item {
  padding: 14px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.2s ease;
}

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

.contact-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-preview {
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px;
}

.contact-sub {
  font-weight: 700;
  color: var(--accent-pink);
  font-size: 0.88rem;
}

.site-footer {
  padding: 22px 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--accent-blue);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1040px, 94vw);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-img-container {
  width: 100%;
  max-height: 72vh;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.12);
  display: grid;
  place-items: center;
}

.lightbox-img-container img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 8px;
}

.lightbox-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

@media (max-width: 1080px) {
  .hero-grid, .about-grid, .contact-card {
    grid-template-columns: 1fr;
  }
  .collections-grid, .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .collections-grid, .docs-grid, .contact-links, .hero-stats, .hero-floating-cards {
    grid-template-columns: 1fr;
  }
  .hero-copy, .about-content, .contact-card {
    padding: 24px 20px;
  }
}
