/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --bg: #0a0a0d;
  --bg-card: #131317;
  --bg-cta: #16111f;
  --purple: #6d3df5;
  --purple-bright: #8b5cf6;
  --text: #f5f5f7;
  --text-dim: #a3a3ad;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   Shared / reusable across sections
   ========================================================================== */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 64px;
}

.eyebrow {
  color: var(--purple-bright);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-header h2 .dot { color: var(--purple-bright); }

.section-header p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
}

.section-header p .highlight {
  color: var(--purple-bright);
  font-weight: 600;
}

.btn-primary {
  background: var(--purple);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary-nav {
  background: var(--purple);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover { background: var(--purple-bright); transform: translateY(-1px); }

.btn-primary-nav:hover { background: var(--purple-bright); transform: translateY(-1px); }


.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* Generic dashed image placeholder, reused in every section */
.image-placeholder {
  width: 100%;
  border: 2px dashed rgba(139, 92, 246, 0.35);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(109, 61, 245, 0.06), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  text-align: center;
  padding: 16px;
}

.image-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

.image-placeholder .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.image-placeholder .hint {
  font-size: 11px;
  color: var(--text-dim);
}


/* ==========================================================================
   Hero section
   ========================================================================== */
.hero-glow {
  position: fixed;
  top: -20%;
  right: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(109, 61, 245, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-nav .logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-nav .logo span { color: var(--purple-bright); }

span { color: var(--purple-bright); }

.hero-nav .nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.hero-nav .nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.hero-nav .nav-links a:hover { color: var(--text); }

.hero-nav .nav-cta {
  background: var(--purple);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-nav .nav-cta:hover { background: var(--purple-bright); }


/* Services dropdown */
.hero-nav .nav-dropdown {
  position: relative;
}

.hero-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.hero-nav .nav-dropdown:hover > .dropdown-menu,
.hero-nav .nav-dropdown:focus-within > .dropdown-menu {
  display: block;
}

.hero-nav .dropdown-menu li {
  display: block;
  width: 100%;
}

.hero-nav .dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  white-space: nowrap;
}

.hero-nav .dropdown-menu li a:hover {
  background: #333;
}





.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

.hero {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 64px 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-copy p {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-steps {
  display: flex;
  justify-content: space-between;
  max-width: 520px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 5;
}

.hero-steps .step { text-align: left; }

.hero-steps .step .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--purple-bright);
  line-height: 1;
}

.hero-steps .step .label {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.hero-steps .step .underline {
  width: 28px;
  height: 2px;
  background: var(--purple);
  margin-top: 8px;
}

.hero-visual { position: relative; }

.hero-visual .image-placeholder { aspect-ratio: 4 / 3; }

.hero-visual .image-placeholder svg { width: 48px; height: 48px; }

.hero-visual .image-placeholder .label { font-size: 15px; }

.hero-visual .image-placeholder .hint { font-size: 13px; }

/* Responsive hero image */
.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* =========================================
   MY WORK — FULL-WIDTH CENTERED HERO
   ========================================= */

.hero.work-hero {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 80px 6% 55px;
  text-align: center;
}

.work-hero .hero-copy {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.work-hero .hero-copy h1 {
  max-width: 100%;
  margin: 20px auto;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.12;
}

.work-hero .hero-copy p {
  max-width: 850px;
  margin: 24px auto 0;
  line-height: 1.8;
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 760px) {
  .hero.work-hero {
    padding: 48px 24px 40px;
    text-align: center;
  }

  .work-hero .hero-copy h1 {
    font-size: clamp(32px, 7vw, 42px);
  }

  .work-hero .hero-copy p {
    max-width: 100%;
    text-align: center;
  }
}




/* ==========================================================================
   Featured services section
   ========================================================================== */

   .services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* .service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
} */

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-card .card-content {
  display: flex;
  flex-direction: column;
}

.service-card .badge {
  width: 32px;
  height: 32px;
  background: var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card .card-label {
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.service-card .card-content h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-card .card-content > p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card .feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.service-card .feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.service-card .feature-pill .icon-box {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-bright);
}

.service-card .feature-pill .icon-box svg { width: 15px; height: 15px; }

.card-link {
  color: var(--purple-bright);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.card-link:hover { color: var(--text); }

.service-card .image-placeholder { 
  
  aspect-ratio: 16 / 10;
  order: -1;
}

/* Service card images */

.service-image {
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
}

.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


/* Generic dashed image placeholder, reused in every section */
.image-placeholder-featured {
  width: 100%;
  /* border: 2px dashed rgba(139, 92, 246, 0.35); */
  /* border-radius: 12px; */
  /* background: linear-gradient(145deg, rgba(109, 61, 245, 0.06), rgba(255, 255, 255, 0.02)); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  text-align: center;
  padding: 16px;
}

.image-placeholder-featured svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

.image-placeholder-featured .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.image-placeholder-featured .hint {
  font-size: 11px;
  color: var(--text-dim);
}





/* Process bar */
.process-bar {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.6fr 1.6fr 1.6fr;
  gap: 24px;
  align-items: center;
}

.process-intro .eyebrow { margin-bottom: 12px; }

.process-intro h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
}

.process-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-bright);
  position: relative;
}

.process-icon svg { width: 20px; height: 20px; }

.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--purple);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}


/* ==========================================================================
   Case studies section
   ========================================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.case-card .card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.case-card .badge {
  width: 28px;
  height: 28px;
  background: var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.case-card .card-title-row h3 {
  font-size: 17px;
  font-weight: 700;
}

.case-card .image-placeholder {
  aspect-ratio: 16 / 11;
  margin-bottom: 20px;
}

.case-card p.desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.stat-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.stat-box .stat-num {
  color: var(--purple-bright);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.3;
}

.cta-banner {
  background: var(--bg-cta);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-bright);
}

.cta-icon svg { width: 24px; height: 24px; }

.cta-text .eyebrow { margin-bottom: 8px; }

.cta-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-text p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
  max-width: 480px;
}



/* ==========================================================================
   LIVE WEBSITE PREVIEWS
   ========================================================================== */

.website-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #1a1a1a;
  margin: 18px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.website-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.website-preview:hover img {
  transform: scale(1.04);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.website-preview:hover .preview-overlay,
.website-preview:focus-visible .preview-overlay {
  opacity: 1;
}

.website-preview:focus-visible {
  outline: 2px solid #CE2026;
  outline-offset: 4px;
}

@media (hover: none) {
  .preview-overlay {
    opacity: 1;
    inset: auto 0 0;
    justify-content: flex-start;
    padding: 12px 14px;
    background: linear-gradient(
      transparent,
      rgba(0, 0, 0, 0.85)
    );
  }
}







/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 64px 32px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer-brand .logo span { color: var(--purple-bright); }

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--text); }

.footer-contact li {
  color: var(--text-dim);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--purple-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-newsletter h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-newsletter p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.newsletter-form input::placeholder { color: var(--text-dim); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--purple-bright);
}

.newsletter-form button {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.newsletter-form button:hover { background: var(--purple-bright); }

.newsletter-form button svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: var(--text); }


/* ==========================================================================
   Service detail pages (website-design.html, seo.html, etc.)
   ========================================================================== */
.breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 64px 0;
  position: relative;
  z-index: 5;
}

.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--purple-bright); }

.service-hero {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 64px 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-hero .badge-lg {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background: var(--purple);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-hero h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.service-hero > div > p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}

.service-hero .image-placeholder { aspect-ratio: 4 / 3; }

/* Feature detail grid — richer than the small pills used on the hub cards */
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.feature-detail-card .icon-box {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-bright);
  margin-bottom: 18px;
}

.feature-detail-card .icon-box svg { width: 20px; height: 20px; }

.feature-detail-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-detail-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* Detail stats strip */
.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 44px;
}

.detail-stats .stat {
  text-align: center;
}

.detail-stats .stat .stat-num {
  color: var(--purple-bright);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 6px;
}

.detail-stats .stat .stat-label {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.4;
}

/* Detail process — reuses .process-step, laid out in a row of cards */
.detail-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.detail-process-grid .process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

.detail-process-grid .process-icon { margin-bottom: 2px; }

.section-subheader {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-subheader h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subheader p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}



/* ==========================================================================
   Case study pages (web-case-study.html, seo-case-study.html, etc.)
   ========================================================================== */
.case-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
 
.case-hero-meta .meta-item .meta-label {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
 
.case-hero-meta .meta-item .meta-value {
  font-size: 15px;
  font-weight: 700;
}
 
.case-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
 
.case-content.reverse { direction: rtl; }
.case-content.reverse > * { direction: ltr; }
 
.case-content h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
 
.case-content p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
 
.case-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
 
.case-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
 
.case-content ul li svg {
  width: 18px;
  height: 18px;
  color: var(--purple-bright);
  flex-shrink: 0;
  margin-top: 2px;
}
 
.case-content .image-placeholder { aspect-ratio: 4 / 3; }
 
.testimonial-block {
  background: var(--bg-cta);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
 
.testimonial-block .quote-mark {
  color: var(--purple-bright);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
 
.testimonial-block p.quote {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
}
 
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
 
.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
 
.testimonial-author .name {
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
 
.testimonial-author .role {
  font-size: 13px;
  color: var(--text-dim);
  text-align: left;
}
 
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
 
.case-gallery .image-placeholder { aspect-ratio: 1 / 1; }
 
.next-case {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}
 
.next-case:hover { border-color: rgba(139, 92, 246, 0.4); }
 
.next-case .next-label {
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
 
.next-case .next-title {
  font-size: 19px;
  font-weight: 800;
}
 
.next-case .arrow {
  color: var(--purple-bright);
  flex-shrink: 0;
}
 
.next-case .arrow svg { width: 22px; height: 22px; }
 
 
/* ==========================================================================
   Portfolio / My Work page
   ========================================================================== */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
 
.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
 
.filter-tab:hover {
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--text);
}
 
.filter-tab.active {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
 
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
 
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
 
.portfolio-card .image-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  border-width: 0 0 2px 0;
}
 
.portfolio-card .portfolio-body {
  padding: 24px;
}
 
.portfolio-tag {
  display: inline-block;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
 
.portfolio-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
 
.portfolio-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
 
 
/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
 
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
 
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
 
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
 
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
 
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
 
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
 
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-bright);
}
 
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
 
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
 
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
 
.contact-info-row:last-child { margin-bottom: 0; }
 
.contact-info-row .icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-bright);
}
 
.contact-info-row .icon-box svg { width: 18px; height: 18px; }
 
.contact-info-row h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
 
.contact-info-row p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}
 
.contact-map .image-placeholder {
  aspect-ratio: 4 / 3;
}
 
 

/* ==========================================================================
   Responsive
   ========================================================================== */


/* ---------- Large tablets and smaller desktops ---------- */
@media (max-width: 1100px) {
  .process-bar {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding-bottom: 8px;
  }
}

/* ---------- Tablets ---------- */
@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile navigation and tablet layout ---------- */
@media (max-width: 960px) {
  /* Navigation bar */
  .hero-nav {
    position: relative;
    z-index: 1000;
    padding: 22px 24px;
  }

  .hero-nav .logo {
    position: relative;
    z-index: 1001;
  }

  /* Hamburger button */
  .hero-nav .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    padding: 6px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 28px;
  }

  /* Hide the desktop navigation by default */
  .hero-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 20px;
    list-style: none;
    background: #1a1a1a;
    border-top: 1px solid #333;
    box-sizing: border-box;
    z-index: 1000;
  }

  /* Show the navigation when the hamburger is clicked */
  .hero-nav .nav-links.active {
    display: flex;
  }

  .hero-nav .nav-links > li {
    display: block;
    width: 100%;
  }

  .hero-nav .nav-links > li > a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  /* Services dropdown */
  .hero-nav .nav-dropdown {
    position: relative;
  }

  .hero-nav .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 8px 12px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero-nav .nav-dropdown:hover > .dropdown-menu {
    display: none;
  }

  .hero-nav .nav-dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  .hero-nav .dropdown-menu li a {
    padding: 11px 12px;
    white-space: normal;
  }


 .hero-nav  .btn-primary-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 10px 22px;
  white-space: nowrap;
  flex-shrink: 0;
}

  .hero-nav .nav-links .btn-primary-nav {
    display: inline-flex;
  }

  /* Main hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-steps {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-visual {
    order: -1;
  }

  /* Service pages */
  .breadcrumb {
    padding: 24px 24px 0;
  }

  .service-hero {
    grid-template-columns: 1fr;
    padding: 24px 24px 56px;
  }

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

  .service-hero > div > p {
    max-width: 100%;
  }

  .service-hero .hero-visual-wrap {
    order: -1;
  }

  .detail-stats {
    grid-template-columns: 1fr 1fr;
  }

  .detail-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Case studies */
  .case-hero-meta {
    gap: 20px;
  }

  .case-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-content .image-placeholder {
    order: -1;
  }

  .case-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-block {
    padding: 32px 24px;
  }

  .testimonial-block p.quote {
    font-size: 17px;
  }

  .next-case {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Smaller tablets ---------- */
@media (max-width: 860px) {
  .section {
    padding: 60px 24px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .feature-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-subheader h2 {
    font-size: 26px;
  }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA sections */
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cta-left {
    flex-direction: column;
    align-items: flex-start;
  }


  /* Footer */
  .site-footer {
    padding: 56px 24px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }

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

  /* Service detail sections */
  .detail-stats {
    grid-template-columns: 1fr 1fr;
    padding: 28px 24px;
  }

  .detail-process-grid {
    grid-template-columns: 1fr;
  }

  /* Portfolio and forms */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .hero-nav {
    padding: 18px 20px;
  }

  .hero-nav .logo {
    font-size: 19px;
  }

  .hero-nav .nav-links {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .service-hero h1 {
    font-size: 28px;
  }

  .hero {
    padding: 32px 20px 48px;
  }

  .service-hero {
    padding: 20px 20px 44px;
  }

  .section {
    padding: 48px 20px;
  }

  .breadcrumb {
    padding: 20px 20px 0;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .service-card .feature-list {
    grid-template-columns: 1fr;
  }

  .detail-stats {
    padding: 24px 20px;
  }

  .contact-form-card {
    padding: 22px 18px;
  }

  .site-footer {
    padding: 44px 20px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: auto;
  }
}





/* ------------------------UPDATE INFO --------------------------------- */




/* ==========================================================================
   CREATIVE PORTFOLIO GALLERY
   ========================================================================== */

.portfolio-gallery {
  --gallery-gap: 16px;
  --gallery-accent: #8b5cf6;
  width: 100%;
   max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.gallery-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-color, #292929);
}

.gallery-section:first-child {
  padding-top: 0;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.gallery-heading-left {
  max-width: 720px;
}

.gallery-index {
  display: block;
  margin-bottom: 12px;
  color: var(--gallery-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-heading h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.gallery-heading > p {
  max-width: 300px;
  margin: 0 0 3px;
  color: var(--text-muted, #999);
  font-size: 14px;
  line-height: 1.7;
}

/* Gallery layouts */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-gap);
  align-items: start;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--surface, #171717);
  border-radius: 4px;
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-fit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-item img {
  transition: transform 0.45s ease;
}

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

.gallery-item-tall {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item-medium {
  grid-column: span 2;
  width: 100px;
  height: 100px;
}


/* .gallery-grid-print .gallery-item:not(.gallery-item-tall) {
  aspect-ratio: 4 / 5;
} */

.gallery-grid-social .gallery-item {
  aspect-ratio: 4 / 5;
}

.gallery-grid-photo .gallery-item {
  aspect-ratio: 4 / 5;
}

.gallery-grid-photo .gallery-item-wide {
  aspect-ratio: 16 / 9;
}

.gallery-grid-video {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item-video {
  aspect-ratio: 9 / 16;
}

.gallery-item-video video {
  object-fit: contain;
  background: #080808;
}

.gallery-grid-web .gallery-item {
  aspect-ratio: 4 / 3;
}

.gallery-grid-web .gallery-item-wide {
  aspect-ratio: 16 / 9;
}

.gallery-grid-branding .gallery-item {
  aspect-ratio: 4 / 5;
}

.gallery-grid-branding .gallery-item-tall {
  aspect-ratio: 3 / 5;
}

/* Tablet */

@media (max-width: 800px) {
  .gallery-section {
    padding: 52px 0;
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .gallery-heading > p {
    max-width: 500px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-grid-video {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 520px) {
  .gallery-section {
    padding: 40px 0;
  }

  .gallery-grid {
    gap: 9px;
  }

  .gallery-grid-print,
  .gallery-grid-social,
  .gallery-grid-photo,
  .gallery-grid-branding {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid-video {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-heading h2 {
    font-size: clamp(25px, 7vw, 34px);
  }
}

/* Tablet */
@media (max-width: 800px) {
  .portfolio-gallery {
    padding: 0 24px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .portfolio-gallery {
    padding: 0 16px;
  }
}





/* ==========================================================================
   PORTFOLIO LIGHTBOX
   ========================================================================== */

.gallery-item img {
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  inset: 0;
  margin: 0;
  padding: 60px 80px 50px;
  border: none;
  box-sizing: border-box;
  background: rgba(8, 8, 8, 0.97);
  color: #fff;
  overflow: hidden;
}

.gallery-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

.lightbox-caption {
  margin: 16px 0 0;
  color: #ccc;
  font-size: 13px;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  margin: 0;
  color: #aaa;
  font-size: 12px;
  transform: translateX(-50%);
}

.gallery-lightbox button:focus-visible,
.gallery-item img:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .gallery-lightbox {
    padding: 65px 16px 55px;
  }

  .gallery-lightbox[open] {
    gap: 8px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 150px);
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}





/* =========================================
   PORTFOLIO CATEGORY NAVIGATION
   ========================================= */

.portfolio-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  margin-bottom: 20px;
  box-sizing: border-box;
  background: rgba(45, 45, 59, 0.94);
  border-top: 3px solid #6d3df5;
  border-bottom: 3px solid #6d3df5;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portfolio-nav a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 6px;
  color: #c5c5d0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.portfolio-nav a:hover,
.portfolio-nav a:focus-visible {
  color: #ffffff;
  background: #6d3df5;
}

html {
  scroll-behavior: smooth;
}

#print,
#social-media,
#photography,
#video,
#websites,
#branding {
  scroll-margin-top: 85px;
}

/* Mobile: swipe horizontally through categories */
@media (max-width: 760px) {
  .portfolio-nav {
    justify-content: flex-start;
    gap: 4px;
    padding: 10px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .portfolio-nav::-webkit-scrollbar {
    display: none;
  }

  .portfolio-nav a {
    padding: 10px 13px;
    font-size: 12px;
  }
}

