/** Shopify CDN: Minification failed

Line 10:0 All "@import" rules must come first

**/
html {
  scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #f8f9fa;
  --card-bg: #050505;
  --accent: #6366f1;
  --accent-strong: #22c55e;
  --accent-soft: #0ea5e9;
  --text: #050505;
  --muted: #9ca3af;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8f9fa;
  color: var(--text);
}

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

.site-header, .site-footer {
  background: #f8f9fa;
  border-bottom: 1px solid rgba(31,41,55,1);
}

.site-footer {
  border-top: 1px solid rgba(148,163,184,0.35);
  border-bottom: none;
  margin-top: 40px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
}

.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #a855f7, #6366f1 60%, #22c55e 100%);
}

.brand-text {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.nav-links a {
  font-size: 14px;
  color: #9ca3af;
  margin-left: 18px;
}

.nav-links a:hover {
  color: #f9fafb;
}

.nav-portfolio {
  position: relative;
  display: inline-block;
}

.nav-portfolio-trigger {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 14px;
  cursor: pointer;
  margin-left: 18px;
}

.nav-portfolio-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 130%;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.35);
  min-width: 190px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.9);
  z-index: 50;
}

.nav-portfolio:hover .nav-portfolio-menu {
  display: block;
}

.nav-portfolio-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #e5e7eb;
}

.nav-portfolio-menu a:hover {
  background: rgba(55,65,81,0.9);
}

.hero {
  padding: 40px 0 10px 0;
}

.hero-text h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-text p {
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(to right, #6366f1, #22c55e);
  color: white;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(148,163,184,0.5);
  color: #e5e7eb;
}

.section {
  padding: 24px 0;
}

.section-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.portfolio-card {
  background: radial-gradient(circle at top, rgba(148,163,184,0.35), rgba(15,23,42,0.98));
  border-radius: 18px;
  padding: 12px 12px 16px 12px;
  border: 1px solid rgba(148,163,184,0.3);
  display: block;
}

.portfolio-card h3 {
  font-size: 16px;
  margin: 8px 4px 4px 4px;
}

.portfolio-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 4px;
}

.portfolio-img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.contact-details p {
  margin: 4px 0;
  font-size: 14px;
}

/* Case pages */
.hero-case {
  padding-top: 30px;
}

.case-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: center;
}

.case-hero-media img {
  width: 100%;
  border-radius: 20px;
}

.case-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.case-fashion .wrap {
  background: radial-gradient(circle at top left, rgba(244,114,182,0.22), transparent 60%);
}

.case-home .wrap {
  background: radial-gradient(circle at top left, rgba(52,211,153,0.22), transparent 60%);
}

.case-supplements .wrap {
  background: radial-gradient(circle at top left, rgba(250,204,21,0.26), transparent 60%);
}

@media (max-width: 800px) {
  .case-hero-inner {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

.btn-primary {
  background: linear-gradient(to right, var(--accent), var(--accent-soft));
  color: white;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(148,163,184,0.7);
  color: #e5e7eb;
}

.btn-fiverr {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #22c55e;
  background: rgba(22,163,74,0.12);
  color: #bbf7d0;
}

.btn-fiverr:hover {
  background: rgba(22,163,74,0.2);
}

.hero-text h1 {
  font-size: 32px;
}

.hero-text p {
  font-size: 15px;
  max-width: 520px;
}

.site-header .wrap {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-links a {
  font-size: 14px;
  color: #cbd5f5;
  margin-left: 22px;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  padding: 52px 0 14px 0;
}

.hero-logo { justify-self: flex-end; }


.hero-logo {
  max-width: 90px;
  justify-self: flex-end;
}

.hero-logo-img {
  max-width: 80px !important;
  height: auto;
}


/* v22: Heading font and brand logo circle */
.hero-text h1,
.section-title,
.portfolio-card h3,
.case-hero-text h1 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
}

/* Circular KIYO logo in header */
.brand-logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

/* v21/v22: Mobile nav override so links stay visible */
@media (max-width: 800px) {
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }
}

/* v21/v22: Portfolio dropdown JS hook & focus support */
.nav-portfolio-menu.is-open {
  display: block;
}

.nav-portfolio:focus-within .nav-portfolio-menu {
  display: block;
}

h1, h2, h3, .section-title, .hero-text h1, .case-hero-text h1 {
  color: #050505 !important;
}


/* v25: Layout polish for light theme */
body {
  background: #f8f9fa;
  color: var(--text);
}

.site-header, .site-footer {
  background: #f8f9fa;
}

.hero {
  padding: 60px 0 30px 0;
}

.section {
  padding: 32px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* Cards on white: soft shadows and rounded corners */
.portfolio-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px 18px 14px;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 18px 30px rgba(15,23,42,0.05);
}

/* Buttons: modern pill style */
.btn-primary,
.btn-secondary {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
}

.btn-primary {
  background: #050505;
  color: #f9fafb;
  border-color: #050505;
}

.btn-primary:hover {
  background: #111827;
  border-color: #111827;
}

.btn-secondary {
  background: #ffffff;
  color: #050505;
  border-color: rgba(15,23,42,0.15);
}

.btn-secondary:hover {
  border-color: rgba(15,23,42,0.35);
  box-shadow: 0 10px 20px rgba(15,23,42,0.08);
}

/* Dark mode toggle button */
.dark-toggle {
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.18);
  padding: 6px 10px;
  font-size: 12px;
  background: #ffffff;
  cursor: pointer;
}

.dark-toggle:hover {
  border-color: rgba(15,23,42,0.4);
}

/* Dark mode overrides */
body.dark-mode {
  --bg: #050505;
  --card-bg: #050505;
  --text: #f9fafb;
  background: #050505;
  color: var(--text);
}

body.dark-mode .site-header,
body.dark-mode .site-footer {
  background: #050505;
  border-color: rgba(148,163,184,0.35);
}

body.dark-mode .hero,
body.dark-mode .section {
  background: #050505;
}

body.dark-mode .portfolio-card {
  background: radial-gradient(circle at top, rgba(148,163,184,0.25), rgba(15,23,42,0.98));
  border-color: rgba(148,163,184,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

body.dark-mode .btn-primary {
  background: #f9fafb;
  color: #050505;
  border-color: #f9fafb;
}

body.dark-mode .btn-secondary {
  background: transparent;
  color: #f9fafb;
  border-color: rgba(148,163,184,0.6);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode .section-title,
body.dark-mode .hero-text h1,
body.dark-mode .case-hero-text h1 {
  color: #f9fafb !important;
}


/* v26.2 — Matte-black header with white text */
.site-header {
  background: #050505 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .brand-text,
.site-header .nav-links a,
.site-header .dark-toggle {
  color: #ffffff !important;
}

.site-header .nav-links a:hover {
  color: #e5e5e5 !important;
}

.site-header .brand-logo-circle {
  filter: brightness(1.2);
}

/* Fiverr button as black with white text */
.btn-fiverr,
.btn-fiverr:hover {
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
}

/* Hero secondary buttons */
.btn-secondary,
.btn-secondary:hover {
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
}

/* Primary button consistent */
.btn-primary,
.btn-primary:hover {
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
}


/* v27 — unify all buttons & portfolio dropdown in light mode */

/* All major CTAs: black background, white text */
.btn-primary,
.btn-secondary,
.btn-fiverr,
.btn-primary:hover,
.btn-secondary:hover,
.btn-fiverr:hover {
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
}

/* Portfolio dropdown menu in light mode */
.nav-portfolio-menu {
  background: #050505 !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.nav-portfolio-menu a {
  color: #ffffff !important;
  padding: 8px 12px !important;
  display: block;
}

.nav-portfolio-menu a:hover {
  background: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
}

/* Dropdown trigger text */
.nav-portfolio-trigger {
  color: #ffffff !important;
}

/* Ensure header text stays white on matte black background */
.site-header .brand-text,
.site-header .nav-links a,
.site-header .dark-toggle {
  color: #ffffff !important;
}

/* "What I do:" title uses heading font */
.section-title {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
}


/* v28 — Dark mode toggle matches other buttons */

/* Light mode: dark toggle is black with white text */
.site-header .dark-toggle {
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
  border-radius: 999px !important;
}

/* Hover state */
.site-header .dark-toggle:hover {
  background: #111111 !important;
}

/* Dark mode: invert for contrast */
body.dark-mode .site-header .dark-toggle {
  background: #f9fafb !important;
  color: #050505 !important;
  border-color: #f9fafb !important;
}



/* === Pricing & package layouts === */
.pricing-grid,
.pricing-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.pricing-card {
  padding: 16px 16px 20px 16px;
}

/* Pricing typographic styles */
.pricing-price {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.pricing-tagline {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  font-size: 14px;
}

.pricing-features li {
  margin-bottom: 4px;
}

/* Preview images */
.pricing-preview-image {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    box-shadow 0.3s ease;
}

/* Card + hover effects */
.portfolio-card.pricing-card,
.pricing-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* Subtle accent gradient overlay on hover */
.portfolio-card.pricing-card::before,
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left,
      color-mix(in srgb, var(--accent, #6366f1) 45%, transparent),
      transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Lift + stronger shadow on hover */
.portfolio-card.pricing-card:hover,
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.portfolio-card.pricing-card:hover::before,
.pricing-card:hover::before {
  opacity: 1;
}

/* Image zoom on hover */
.portfolio-card.pricing-card:hover .pricing-preview-image,
.pricing-card:hover .pricing-preview-image {
  transform: scale(1.04);
  filter: contrast(1.05) saturate(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

/* Best Value badge – keep fully inside the card */
.best-value-card {
  border-width: 2px;
  border-style: solid;
  border-color: var(--accent, #6366f1);
}

.best-value-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent, #6366f1);
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Inline badge on Professional package page */
.package-badge-inline {
  position: static;
  display: inline-block;
  margin: 8px 0 10px 0;
}

/* Package page layout */
.package-page {
  padding-top: 24px;
  padding-bottom: 24px;
}

.package-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 20px;
}

.package-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.package-main h2,
.package-main h3 {
  margin-top: 18px;
}

.package-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.package-price-card {
  border-radius: 16px;
  padding: 16px 16px 18px;
  background: radial-gradient(circle at top, rgba(148,163,184,0.18), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.45);
  color: #e5e7eb;
}

.package-price {
  font-size: 24px;
  font-weight: 700;
}

.package-price-meta {
  font-size: 14px;
  opacity: 0.9;
}

.package-meta {
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.package-book-btn {
  display: inline-block;
  margin-top: 4px;
  position: relative;
  z-index: 20;
}

.package-note {
  font-size: 12px;
  margin-top: 10px;
  opacity: 0.9;
}

.package-compare {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(148,163,184,0.09);
  font-size: 13px;
}

/* Make sure dark mode keeps strong contrast */
body.dark-mode .package-price-card {
  background: radial-gradient(circle at top, rgba(148,163,184,0.2), rgba(15,23,42,1));
  border-color: rgba(148,163,184,0.6);
}

/* Dark mode tweaks for pricing cards */
body.dark-mode .portfolio-card.pricing-card,
body.dark-mode .pricing-card {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
}

body.dark-mode .portfolio-card.pricing-card:hover,
body.dark-mode .pricing-card:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
}

body.dark-mode .best-value-badge {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

/* Responsive layout for package pages */
@media (max-width: 800px) {
  .package-layout {
    grid-template-columns: 1fr;
  }
}



/* Comparison strip and FAQ on package pages */
.package-compare-strip {
  margin-top: 32px;
  padding: 18px 16px 20px;
  border-radius: 16px;
  background: rgba(148,163,184,0.08);
}

.package-compare-strip h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.package-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.package-compare-item {
  border-radius: 12px;
  padding: 12px 12px 14px;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 13px;
}

.package-compare-item h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.package-compare-item p {
  margin: 0 0 6px;
  opacity: 0.9;
}

.package-compare-item ul {
  padding-left: 18px;
  margin: 0 0 8px;
}

.package-compare-link {
  font-size: 12px;
  padding: 6px 10px;
}

/* FAQ styles */
.package-faq {
  margin-top: 28px;
}

.package-faq h3 {
  margin-bottom: 10px;
}

.package-faq details {
  margin-bottom: 8px;
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(148,163,184,0.08);
  font-size: 13px;
}

.package-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.package-faq summary::-webkit-details-marker {
  display: none;
}

.package-faq details p {
  margin-top: 6px;
}

/* Dark mode */
body.dark-mode .package-compare-item {
  background: radial-gradient(circle at top, rgba(148,163,184,0.25), rgba(15,23,42,1));
}

body.dark-mode .package-faq details {
  background: rgba(15,23,42,0.9);
}


/* === Global smooth scroll === */
html {
  scroll-behavior: smooth;
}

/* === CTA buttons === */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--accent, #6366f1);
  background: transparent;
  color: var(--accent, #6366f1);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background: var(--accent, #6366f1);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: 10px;
}

/* Ghost secondary button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.8);
  background: transparent;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: var(--accent, #6366f1);
  color: var(--accent, #6366f1);
}

/* Dark mode tweaks */
body.dark-mode .btn-cta {
  border-color: #e5e7eb;
  color: #e5e7eb;
}
body.dark-mode .btn-cta:hover {
  background: #e5e7eb;
  color: #020617;
}

/* === Hero layout inspired by collage look === */
.hero {
  padding: 32px 0 24px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-text h1 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-subcopy {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 12px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-bullets li {
  margin-bottom: 4px;
}

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

.hero-packages {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.hero-packages-label {
  font-weight: 500;
  margin-right: 4px;
}

.hero-package-chip {
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.85);
  padding: 6px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-package-chip:hover {
  border-color: var(--accent, #6366f1);
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent, #6366f1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

/* Collage on the right */
.hero-collage {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  aspect-ratio: 4 / 3;
}

.hero-collage-blob {
  position: absolute;
  inset: 8%;
  border-radius: 40px;
  background:
    radial-gradient(circle at 20% 0, rgba(148, 163, 184, 0.4), transparent 55%),
    linear-gradient(135deg, #0f172a, #020617);
  opacity: 0.9;
}

.hero-collage-item {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
}

.hero-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main image */
.hero-collage-main {
  inset: 16% 18% 12% 6%;
}

/* Side images */
.hero-collage-side {
  width: 42%;
}

.hero-collage-top {
  top: 6%;
  right: 2%;
}

.hero-collage-bottom {
  bottom: 6%;
  right: 10%;
}

/* Portfolio collage page */
.portfolio-intro {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}

.portfolio-collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.portfolio-collage-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.portfolio-collage-item figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-collage {
    max-width: 100%;
    margin: 12px auto 0;
  }
}


/* === Soft global background gradient + subtle glow === */
body {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #f1f5f9 40%,
    #eef2f4 100%
  );
}

/* soft abstract glow shapes in the corners */
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at center,
    rgba(147, 197, 253, 0.28),
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(70px);
}

body::after {
  bottom: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at center,
    rgba(167, 139, 250, 0.25),
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(80px);
}


/* === Light card-like sections over gradient === */
.section {
  padding: 32px 0;
  background: rgba(248, 250, 252, 0.9);
}

.section-muted {
  background: rgba(241, 245, 249, 0.95);
}

/* Hero with subtle panel + stroke */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(238, 242, 255, 0.96));
  border-radius: 0 0 28px 28px;
}

/* subtle abstract stroke inspired by reference */
.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 220px;
  height: 120px;
  border-radius: 999px;
  border: 2px solid rgba(99, 102, 241, 0.45);
  border-color: rgba(99, 102, 241, 0.45) transparent rgba(56, 189, 248, 0.4) transparent;
  transform: rotate(-12deg);
  pointer-events: none;
  opacity: 0.6;
}

/* Dark mode keeps simpler backgrounds */
body.dark-mode .section,
body.dark-mode .section-muted {
  background: #020617;
}

body.dark-mode .hero {
  background: #020617;
  border-radius: 0 0 24px 24px;
}



/* Clickable portfolio collage cards */
.portfolio-collage-trigger {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  text-align: inherit;
  cursor: pointer;
}

.portfolio-collage-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #020617;
  color: #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.portfolio-collage-trigger:hover .portfolio-collage-item,
.portfolio-collage-trigger:focus-visible .portfolio-collage-item {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.7);
  filter: brightness(1.03);
}



/* Portfolio lightbox overlay */
body.portfolio-lightbox-open {
  overflow: hidden;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.portfolio-lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.portfolio-lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  padding: 12px 12px 16px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.4), #020617);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s ease;
}

.portfolio-lightbox[aria-hidden="false"] .portfolio-lightbox-inner {
  transform: scale(1) translateY(0);
}

.portfolio-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
}

.portfolio-lightbox-caption {
  margin-top: 8px;
  font-size: 13px;
  color: #e5e7eb;
}

.portfolio-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
}
