/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --bg-dark:    #1e1e1e;
  --bg-light:   #f1efe5;
  --primary:    #fd51ab;
  --primary-text: #fd51ab;
  --secondary:  #bee82a;
  --text-dark:  #ffffff;
  --text-light: #000000;
  --text-muted: #4a4a4a;

  --font-serif: 'Libre Baskerville', serif;
  --font-sans:  'DM Sans', sans-serif;
  --font-mono:  'Montserrat', sans-serif;
}
/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-sans); background: var(--bg-dark); color: var(--text-dark); overflow-x: clip; padding-top: 70px; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: 12px 18px; border-radius: 999px;
  background: var(--bg-dark); color: #fff; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ═══════════════════════════════════════════
   SHARED UTILITIES
═══════════════════════════════════════════ */
.tag {
  display: inline-flex; align-items: center;
  background: var(--secondary); color: var(--text-light);
  font-family: var(--font-mono); font-weight: 600;
  font-size: 13px; letter-spacing: 0.2px;
  padding: 6px 14px; border-radius: 999px;
}

/* Approved CTA system: dark primary pill, lime arrow, and outlined secondary pill. */
.button-primary,
.button-secondary {
  min-height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border-radius: 999px; font-family: var(--font-sans); font-weight: 700;
  font-size: 16px; line-height: 1; text-decoration: none;
}
.button-primary {
  padding: 10px 12px 10px 26px;
  background: var(--bg-dark); color: #fff;
  border: 2px solid var(--bg-dark);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30,30,30,.22);
}
.button-arrow {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--secondary); color: var(--bg-dark); font-size: 18px;
}
.button-secondary {
  padding: 13px 28px; background: transparent; color: var(--bg-dark);
  border: 2px solid var(--bg-dark);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button-secondary:hover { background: #fff; color: var(--bg-dark); transform: translateY(-2px); }
.button-primary-compact { min-height: 48px; padding: 7px 8px 7px 20px; font-size: 14px; }
.button-primary-compact .button-arrow { width: 30px; height: 30px; flex-basis: 30px; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  background: var(--bg-light);
  display: block;
  padding: 12px 24px;
  width: 100%;
  box-shadow: 0 4px 18px rgba(30,30,30,.04);
  border-bottom: 1px solid rgba(30,30,30,.04); /* minimal horizontal divider matching hero */
  transition: box-shadow .2s ease;
}
.navbar-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; max-width: 1200px; margin: 0 auto;
  background: transparent;
  border-radius: 6px;
  padding: 6px 0;
}
/* Adjust logo and link layout for the sticky header */
.navbar-logo { height: 48px; width: auto; }
.navbar-links { display: flex; gap: 40px; justify-content: center; flex: 1; }
.navbar-links a { color: #2b2b2b; font-family: var(--font-sans); font-weight: 600; font-size: 16px; }
.navbar-links a:hover { color: var(--primary-text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.desktop-cta { display: inline-flex; }

.navbar-logo   { height: 44px; width: auto; object-fit: contain; flex-shrink: 0; }
.navbar-links  { display: flex; align-items: center; gap: 30px; }
.navbar-links a {
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  color: #4a4a4a; transition: color .2s; white-space: nowrap;
}
.navbar-links a:hover { color: var(--text-light); }

.navbar-cta {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; white-space: nowrap;
  background: var(--bg-dark); color: #fff;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(30,30,30,.28);
  transition: transform .2s ease, opacity .2s ease;
}
.navbar-cta:hover { transform: translateY(-2px); opacity: .9; color: #fff; }

/* Mobile toggle button (hidden on desktop) */
.navbar-toggle {
  display: none; /* shown in mobile media query */
  width: 44px; height: 44px; border-radius: 8px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(30,30,30,.06);
  cursor: pointer; padding: 6px;
}
.navbar-toggle .hamburger {
  width: 20px; height: 2px; background: rgba(30,30,30,.8); position: relative; display: block; border-radius: 2px;
}
.navbar-toggle .hamburger::before,
.navbar-toggle .hamburger::after {
  content: '';
  position: absolute; left: 0; width: 20px; height: 2px; background: rgba(30,30,30,.8); border-radius: 2px;
}
.navbar-toggle .hamburger::before { top: -6px; }
.navbar-toggle .hamburger::after  { top: 6px; }

/* Collapsible menu (desktop shows inline, mobile will hide and become overlay) */
.navbar-links { display: flex; align-items: center; gap: 30px; }
.navbar-links.open { display: flex; }

/* mobile-only CTA inside collapsed menu */
.navbar-cta-mobile { display: none; }

/* Mobile-specific overrides */
@media (max-width: 900px) {
  .navbar { padding: 8px 12px; }
  .navbar-pill { padding: 6px 8px; }
  .navbar-logo { height: 36px; }

  /* toggle visible on mobile, aligned to the right */
  .navbar-toggle { display: inline-flex; margin-left: 12px; }

  /* dropdown menu becomes full-width panel below the header */
  .navbar-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 12px; align-items: center;
    background: linear-gradient(90deg, #fbf6ef, #f6efe6);
    padding: 14px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.08);
    border-top: 1px solid rgba(0,0,0,.04);
  }
  .navbar-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 14px; color: #1e1e1e; font-size: 16px; }
  .navbar-links.open { display: flex; }

  .navbar-cta-mobile { display: inline-flex; }
  .desktop-cta { display: none; }
}
/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  background: var(--bg-light);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 60px 24px 90px; position: relative; overflow: hidden;
}

.hero-heading-v2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(32px, 5.6vw, 60px); line-height: 1.14; letter-spacing: -1.5px;
  color: var(--text-light); margin: 28px 0 0; max-width: 900px;
}
.hero-heading-v2 em { font-style: italic; color: var(--primary-text); }

.hero-subtext {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.75;
  color: rgba(30,30,30,.76); max-width: 640px; margin: 24px auto 0;
}

.hero-cta-v2 { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }

.hero-btn-dark {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-dark); color: #fff; font-family: var(--font-sans);
  font-weight: 600; font-size: 16px;
  padding: 14px 18px 14px 30px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,30,30,.25); color: #fff; }
.hero-btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--secondary); color: var(--text-light); font-size: 16px; line-height: 1;
}

.hero-btn-outline-v2 {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--text-light); font-family: var(--font-sans);
  font-weight: 600; font-size: 16px;
  padding: 14px 30px 14px 18px; border-radius: 999px; border: 1.6px solid var(--text-light);
  transition: background .25s ease, color .25s ease;
}
.hero-btn-outline-v2:hover { background: var(--bg-dark); color: #fff; }
.hero-btn-dots { display: inline-grid; grid-template-columns: repeat(2, 7px); gap: 3px; flex-shrink: 0; }
.hero-btn-dots span { width: 7px; height: 7px; border-radius: 2px; background: var(--primary); }

.hero-stage { position: relative; width: 100%; max-width: 1100px; margin: 48px auto 0; flex-shrink: 0; }

/* ── Browser-chrome frame with an animated moving lime-gradient edge ── */
.hero-video-frame {
  border-radius: 32px; padding: 3px;
  background: linear-gradient(120deg, var(--secondary), #f4fbd4, #a8d420, var(--secondary));
  background-size: 300% 300%;
  animation: heroBorderFlow 7s linear infinite;
  box-shadow: 0 30px 70px -24px rgba(30,30,30,.28);
}
@keyframes heroBorderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-video-frame-inner {
  background: #f4f2ea; border-radius: 29px; overflow: hidden;
}
.hero-browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px;
}
.hero-browser-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.hero-browser-dot.dot-r { background: #ff5f57; }
.hero-browser-dot.dot-y { background: #febc2e; }
.hero-browser-dot.dot-g { background: #28c840; }

.hero-video-wrap {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: #e9e6da;
}
.hero-video { width: 100%; height: 100%; border: 0; display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-video-frame { animation: none; background-position: 0% 50%; }
}

.hero-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 26px;
}
.hero-stat {
  border-radius: 22px; padding: 30px 24px; text-align: center;
  box-shadow: 0 16px 36px -14px rgba(30,30,30,.28);
}
.hero-stat-lime { background: var(--secondary); }
.hero-stat-dark { background: var(--bg-dark); }
.hero-stat-pink { background: var(--primary); }

.hero-stat-num {
  font-family: var(--font-serif); font-weight: 700; font-size: 42px; line-height: 1;
}
.hero-stat-star { font-size: 26px; vertical-align: middle; }
.hero-stat-label {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase; margin-top: 12px;
}

.hero-stat-lime .hero-stat-num  { color: #1e1e1e; }
.hero-stat-lime .hero-stat-label{ color: rgba(30,30,30,.72); }
.hero-stat-dark .hero-stat-num  { color: #fff; }
.hero-stat-dark .hero-stat-label{ color: rgba(255,255,255,.78); }
.hero-stat-pink .hero-stat-num  { color: #1e1e1e; }
.hero-stat-pink .hero-stat-label{ color: #1e1e1e; }
.hero-stat-pink .hero-stat-star { color: #ffd83d; }

/* ═══════════════════════════════════════════
   TOOLS / LOGOS STRIP
═══════════════════════════════════════════ */
.tools-section {
  background: var(--bg-light);
  padding: 56px 0 52px;
  border-radius: 40px 40px 0 0;
  margin-top: -36px;
  position: relative; z-index: 2;
}
.tools-label {
  text-align: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px;
  letter-spacing: 2.5px; color: rgba(0,0,0,.32);
  margin-bottom: 24px;
}
/* centred, fixed-width container so logos don't span full viewport */
.tools-marquee-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.tools-track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: toolsScroll 28s linear infinite;
}
.tools-track:hover { animation-play-state: paused; }
@keyframes toolsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tool-logo {
  height: 52px; width: auto;
  object-fit: contain; flex-shrink: 0;
  border-radius: 10px;
  transition: transform .25s ease;
}
.tool-logo:hover { transform: scale(1.08); }

/* ═══════════════════════════════════════════
   HERO WAVE
═══════════════════════════════════════════ */
.hero-wave { width: 100%; display: block; margin-top: -3px; }

/* ═══════════════════════════════════════════
   SAMPLES GALLERY — dual marquee, browser cards
═══════════════════════════════════════════ */
.samples-section {
  background: var(--bg-dark);
  padding: 100px 0 110px;
  overflow: hidden;
  border-radius: 48px 48px 0 0;
}
.samples-header { text-align: center; margin-bottom: 64px; padding: 0 24px; }
.samples-eyebrow {
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 16px;
}
.samples-heading {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(30px, 4vw, 52px); letter-spacing: -1px; line-height: 1.15;
  color: var(--text-dark);
}
.samples-heading em { font-style: italic; color: var(--primary); }

.samples-marquee {
  display: flex; flex-direction: column; gap: 36px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.samples-row { overflow: hidden; }
.samples-track {
  display: flex; gap: 32px;
  width: max-content;
  padding: 4px 0;
}
.samples-row-ltr .samples-track { animation: samplesDriftLTR 55s linear infinite; }
.samples-row-rtl .samples-track { animation: samplesDriftRTL 55s linear infinite; }
@keyframes samplesDriftLTR {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes samplesDriftRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Browser-window card ── */
.browser-card {
  width: 400px; flex-shrink: 0;
  border-radius: 18px; overflow: hidden;
  background: #2b2b2b;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.browser-card:hover {
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 34px 80px -18px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #333333, #292929);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.browser-url {
  margin-left: 12px; flex: 1;
  font-family: var(--font-mono); font-weight: 500; font-size: 10.5px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06);
  border-radius: 999px; padding: 4px 14px;
  text-align: center; white-space: nowrap; overflow: hidden;
}
.browser-card img {
  width: 100%; aspect-ratio: 3 / 2; height: auto; display: block;
  object-fit: cover; object-position: top center;
  transition: transform .6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.browser-card:hover img { transform: scale(1.08); }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about {
  background: var(--bg-light); padding: 110px 100px;
  display: flex; gap: 55px; align-items: center;
  position: relative; overflow: hidden;
}
.about-images   { position: relative; flex-shrink: 0; width: 500px; height: 620px; }
.about-img-main { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 30px; }
.about-copy     { max-width: 640px; }

.about-name-heading      { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); color: #000; letter-spacing: -3px; line-height: 1; }
.about-name-heading .pink { color: var(--primary-text); }
.about-body              { font-family: var(--font-sans); font-size: 17px; color: var(--text-light); line-height: 1.7; margin: 26px 0 40px; }
.about-body strong       { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }

/* ═══════════════════════════════════════════
   FEATURED WORK
═══════════════════════════════════════════ */
#work {
  background: var(--bg-dark);
  padding: 110px 0 120px;
  overflow: hidden;
}

.work-showcase { width: 100%; }

.work-header {
  width: min(calc(100% - 48px), 1600px);
  margin: 0 auto 72px;
  text-align: center;
}
.work-header-copy { width: 100%; margin: 0 auto; }
.work-kicker {
  margin: 0 0 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--secondary);
}
.work-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 66px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -3px;
  color: var(--text-dark);
}
.work-title em {
  color: var(--primary);
  font-style: italic;
}
.work-carousel-shell { position: relative; width: 100%; }

.section-eyebrow      { margin-bottom: 10px; }
.section-heading-pink  { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.05; color: var(--primary); }
.section-heading-dark  { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.05; color: var(--text-light); }
.section-heading-white { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.05; color: var(--text-dark); }
.work-subtext { font-family: var(--font-sans); font-size: 17px; color: rgba(255,255,255,.5); margin: 12px 0 0; }

/* Nav arrows — dark bg style with lime fill on hover */
.nav-arrow {
  width: 76px; height: 76px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
  background: transparent; font-size: 1.3rem; color: #fff;
  cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .35s ease, color .35s ease;
}
.nav-arrow::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--secondary);
  transform: scale(0);
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-arrow:hover { border-color: var(--secondary); color: #1e1e1e; }
.nav-arrow:hover::before { transform: scale(1); }
.nav-arrow i { position: relative; z-index: 1; transition: transform .3s ease; }
#prevArrow:hover i { transform: translateX(-4px); }
#nextArrow:hover i { transform: translateX(4px); }
@keyframes arrowPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(0.88); } }
.nav-arrow.clicked { animation: arrowPulse .25s ease; }

.work-carousel-shell .work-side-arrow {
  position: absolute;
  top: calc(44.5% - 38px);
  z-index: 30;
  transform: none;
  margin: 0;
  background: rgba(30,30,30,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.work-carousel-shell .work-side-arrow-left  { left: 18px; right: auto; }
.work-carousel-shell .work-side-arrow-right { right: 18px; left: auto; }

/* Portfolio carousel */
.work-cards {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.work-cards::-webkit-scrollbar { display: none; }

.work-card {
  flex: 0 0 clamp(300px, 21vw, 390px);
  min-width: 0;
  position: relative;
  cursor: pointer;
  scroll-snap-align: center;
  transition: opacity .4s ease, transform .45s cubic-bezier(.2,.75,.25,1);
  animation: cardEnter .7s cubic-bezier(0.25,0.46,0.45,0.94) forwards; opacity: 0;
}
.work-card:nth-child(1) { animation-delay: .04s; }
.work-card:nth-child(2) { animation-delay: .10s; }
.work-card:nth-child(3) { animation-delay: .16s; }
.work-card:nth-child(4) { animation-delay: .22s; }
.work-card:nth-child(5) { animation-delay: .28s; }
.work-card:nth-child(6) { animation-delay: .34s; }
.work-card:nth-child(7) { animation-delay: .40s; }
.work-card:nth-child(8) { animation-delay: .46s; }

.card-media {
  aspect-ratio: .78;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.055), transparent 46%),
    linear-gradient(145deg, #292929 0%, #1c1c1c 62%, #171717 100%);
  box-shadow:
    0 28px 55px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .5s cubic-bezier(.2,.75,.25,1), border-color .4s ease, box-shadow .4s ease;
}

/* Focus attention on the active project without affecting touch devices */
@media (hover: hover) {
  .work-cards:hover .work-card { filter: brightness(.58) saturate(.8); }
  .work-cards:hover .work-card:hover { filter: brightness(1) saturate(1); }
}
@keyframes cardEnter { from { opacity:0; transform: translateY(50px); } to { opacity:1; transform: translateY(0); } }

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.28));
  transition: transform .55s cubic-bezier(.2,.75,.25,1);
}
.work-card:hover .card-media {
  transform: scale(1.015);
  border-color: rgba(190,232,42,.2);
  box-shadow: 0 34px 68px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.05);
}
.work-card:hover .card-img { transform: scale(1.045); }

.card-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.88) 100%); }
.card-info { padding: 27px 8px 0; text-align: center; }
.card-label {
  display: block;
  font-family: var(--font-sans); font-weight: 600; font-size: clamp(20px, 1.55vw, 28px); color: #fff; white-space: nowrap;
  letter-spacing: -.3px;
  transition: transform .3s ease;
}
.work-card:hover .card-label { transform: translateY(-5px); }

@media (min-width: 1200px) {
  .work-cards {
    width: min(calc(100% - 280px), 1760px);
    margin-inline: auto;
    padding: 14px 0 34px;
    gap: 48px;
  }
  .work-card { flex: 0 0 calc(25% - 36px); }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .work-cards {
    width: calc(100% - 150px);
    margin-inline: auto;
    padding: 14px 0 34px;
    gap: 28px;
  }
  .work-card { flex: 0 0 calc(33.333% - 19px); }
}

.stats-strip { background: #2a2a2a; border-radius: 175px; display: flex; align-items: center; justify-content: space-around; padding: 40px 60px; max-width: 1250px; margin: 80px auto 100px; }
.stat-blob   { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-num    { font-family: var(--font-sans); font-weight: 700; font-size: 60px; letter-spacing: -3px; line-height: 1; }
.stat-num.lime { color: var(--secondary); }
.stat-num.pink { color: var(--primary); }
.stat-label  { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--bg-light); margin-top: 4px; text-align: center; }

/* ═══════════════════════════════════════════
   SERVICES — gradient showcase cards
═══════════════════════════════════════════ */
#skills {
  background: var(--bg-dark);
  padding: 110px 100px 120px;
  position: relative; overflow: hidden;
}
.svc-header  { text-align: center; margin-bottom: 64px; }
.svc-eyebrow { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,.5); }
.svc-heading {
  font-family: var(--font-serif); font-style: italic; font-weight: 700;
  font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.08;
  margin: 14px auto 0; color: var(--text-dark);
}
.svc-heading em { font-style: italic; color: var(--secondary); }

.svc-cards { display: flex; flex-direction: column; gap: 36px; max-width: 1180px; margin: 0 auto; }

.svc-card {
  position: relative;
  display: flex; align-items: center; gap: clamp(32px, 5vw, 72px);
  border-radius: 30px; padding: 56px 64px;
  overflow: hidden;
  transition: opacity .7s ease, transform .7s ease;
}
.svc-card-1 { background: linear-gradient(120deg, #ffe3f0 0%, #f8f3e6 58%, #eef3d8 100%); }
.svc-card-2 { background: linear-gradient(120deg, #edf6cf 0%, #f8f4e8 55%, #ffe9f4 100%); flex-direction: row-reverse; }
.svc-card-3 { background: linear-gradient(120deg, #fdeef6 0%, #f3f0e2 50%, #e7f2cf 100%); }

/* entrance animation — added by JS when a card scrolls into view */
.svc-card.will-animate            { opacity: 0; transform: translateY(45px); }
.svc-card.will-animate.is-visible { opacity: 1; transform: translateY(0); }

.svc-info  { flex: 1 1 0; min-width: 0; }
.svc-meta  {
  margin: 0; font-family: var(--font-mono); font-weight: 700;
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(30,30,30,.5);
}
.svc-meta-label { margin-left: 10px; padding-left: 12px; border-left: 1.5px solid rgba(30,30,30,.2); }
.svc-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.5px;
  color: #1e1e1e; margin: 14px 0 14px;
}
.svc-body { font-family: var(--font-sans); font-size: 15.5px; color: rgba(30,30,30,.7); line-height: 1.8; margin: 0; max-width: 430px; }

.svc-arrow {
  position: absolute; top: 26px; right: 26px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #1e1e1e; color: var(--secondary); font-size: 15px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.svc-arrow:hover, .svc-arrow:focus-visible { background: var(--secondary); color: #1e1e1e; transform: translateY(-2px); }
.svc-arrow:focus-visible { outline: 2px solid #1e1e1e; outline-offset: 3px; }

.svc-media {
  flex: 1 1 0; min-width: 0;
  position: relative; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.svc-img {
  position: absolute; height: 290px; width: auto;
  border-radius: 14px;
  box-shadow: 0 24px 50px -18px rgba(30,30,30,.45);
}
.svc-img-back  { transform: rotate(6deg) translateX(58px);  height: 255px; opacity: .9; }
.svc-img-front { transform: rotate(-4deg) translateX(-42px); border: 5px solid rgba(255,255,255,.85); }
.svc-card:hover .svc-img-front { transform: rotate(-2deg) translateX(-42px) translateY(-6px); }
.svc-card:hover .svc-img-back  { transform: rotate(8deg) translateX(62px); }
.svc-img { transition: transform .45s cubic-bezier(0.25,0.46,0.45,0.94); }

@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-img { transition: none; }
  .svc-card.will-animate { opacity: 1; transform: none; }
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin-top: 28px;
  padding: 15px 30px;
  border: 2px solid rgba(190, 232, 42, 0.75);
  border-radius: 999px;
  background: #1e1e1e;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.svc-cta:hover {
  transform: translateY(-2px);
  background: #151515;
  color: var(--secondary);
  box-shadow: 0 14px 32px -18px rgba(30, 30, 30, .55);
}

.svc-cta i {
  font-size: 15px;
  transition: transform .25s ease;
}

.svc-cta:hover i {
  transform: translate(3px, -3px);
}

@media (max-width: 520px) {
  .svc-cta {
    width: 100%;
    padding: 15px 22px;
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════ */
#process { background: var(--bg-light); padding: 110px 100px 110px; }

.process-header  { text-align: center; margin-bottom: 72px; }
.process-eyebrow { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 3px; color: #555; }
.process-heading {
  font-family: var(--font-serif); font-style: italic; font-weight: 700;
  font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.08;
  margin: 14px auto 0; max-width: 820px; color: var(--text-light);
}
.process-heading em { font-style: italic; color: var(--primary-text); }

.process-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 90px); align-items: start;
  max-width: 1180px; margin: 0 auto;
}

/* ── Left visual ── */
.process-visual       { position: sticky; top: 110px; }
.process-visual-inner { position: relative; padding: 0 30px 56px 0; }
.process-img-main {
  width: 100%; border-radius: 26px; display: block;
  border: 1px solid rgba(30,30,30,.08);
  box-shadow: 0 22px 55px -22px rgba(30,30,30,.28);
}
.process-img-float {
  position: absolute; right: 0; bottom: 0;
  width: clamp(130px, 34%, 190px); border-radius: 16px; display: block;
  border: 4px solid var(--bg-light);
  box-shadow: 0 16px 38px -12px rgba(30,30,30,.32);
}
.process-annotation {
  position: absolute; left: 26px; top: 24px;
  background: rgba(253,252,247,.92);
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; color: #1e1e1e;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(30,30,30,.08);
}
.process-arrow {
  position: absolute; right: 130px; bottom: 130px;
  width: 74px; opacity: .75; transform: rotate(18deg);
  filter: invert(1);   /* white arrow — sits over the dark editorial photo */
  pointer-events: none;
}

/* ── Right timeline ── */
.process-steps { position: relative; padding: 6px 0; }
.process-line, .process-line-progress {
  position: absolute; left: 23px; top: 34px; bottom: 34px;
  width: 1.5px; background: rgba(30,30,30,.12); border-radius: 2px;
}
.process-line-progress {
  bottom: auto; height: calc((100% - 68px) * var(--progress, 0));
  background: var(--secondary); width: 2px; margin-left: -.25px;
  transition: height .25s linear;
}

.pstep { position: relative; display: flex; gap: 22px; padding: 24px 0; }
.pstep-icon {
  position: relative; z-index: 2; flex-shrink: 0;
  width: 47px; height: 47px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(30,30,30,.1);
  color: #1e1e1e; font-size: 17px;
  box-shadow: 0 3px 10px rgba(30,30,30,.05);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.pstep.is-active .pstep-icon { background: var(--secondary); border-color: var(--secondary); }
.pstep:hover .pstep-icon     { background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px); }

.pstep-meta {
  margin: 2px 0 0; font-family: var(--font-mono); font-weight: 700;
  font-size: 10.5px; letter-spacing: 2px; color: #555;
  text-transform: uppercase;
}
.pstep-label { margin-left: 10px; padding-left: 12px; border-left: 1.5px solid rgba(30,30,30,.18); }
.pstep-title { font-family: var(--font-serif); font-weight: 700; font-size: 23px; color: var(--text-light); margin: 7px 0 8px; }
.pstep-body  { font-family: var(--font-sans); font-size: 15px; color: rgba(30,30,30,.68); line-height: 1.65; margin: 0; max-width: 440px; }

/* reveal on scroll (staggered via nth-child) */
.process-visual, .pstep { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
#process.in-view .process-visual, #process.in-view .pstep { opacity: 1; transform: none; }
#process.in-view .pstep:nth-child(3) { transition-delay: .1s; }
#process.in-view .pstep:nth-child(4) { transition-delay: .2s; }
#process.in-view .pstep:nth-child(5) { transition-delay: .3s; }
#process.in-view .pstep:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .process-visual, .pstep { opacity: 1; transform: none; transition: none; }
  .process-line-progress  { transition: none; }
  .pstep-icon             { transition: none; }
}

/* ═══════════════════════════════════════════
   WHY ME
═══════════════════════════════════════════ */
#why { background: var(--bg-light); padding: 90px 60px; position: relative; overflow: hidden; }

/* big lime showcase card that holds the whole section */
.why-card {
  max-width: 1280px; margin: 0 auto;
  background: radial-gradient(130% 130% at 50% 0%, #cdf34d 0%, var(--secondary) 58%, #b2dc1e 100%);
  border-radius: 48px;
  padding: 88px clamp(32px, 6vw, 96px) 0;
  box-shadow: 0 40px 90px -40px rgba(120,150,20,.55), inset 0 1px 0 rgba(255,255,255,.35);
  overflow: hidden;
}

.why-header  { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.why-heading { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.05; color: #1e1e1e; }
.why-heading .pink { color: var(--primary-text); }
.why-subtext { font-family: var(--font-sans); font-size: 17px; color: rgba(30,30,30,.82); margin: 18px 0 0; line-height: 1.7; }

.why-grid  { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: end; }
.why-media { align-self: end; }
.why-media img {
  width: 100%; max-width: 430px; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 26px 34px rgba(60,80,0,.28));
}

.why-list  { display: flex; flex-direction: column; gap: 20px; align-self: center; padding-bottom: 72px; }
.why-item  {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border-radius: 999px;
  padding: 21px 30px;
  box-shadow: 0 18px 38px -18px rgba(60,80,0,.45), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .3s ease, box-shadow .3s ease;
}
#why.in-view .why-item:hover {
  transform: translateX(6px);
  box-shadow: 0 24px 46px -18px rgba(60,80,0,.55), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-checkmark { width: 34px; height: 34px; border-radius: 50%; background: var(--secondary); color: #1e1e1e; display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; transition: background .3s ease, color .3s ease; }
#why.in-view .why-item:hover .why-checkmark { background: var(--primary); color: #1e1e1e; }
.why-item-text { font-family: var(--font-sans); font-weight: 700; font-size: 17.5px; color: var(--text-light); }

/* staggered reveal on scroll — matches the process section's entrance */
.why-media, .why-item { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
#why.in-view .why-media, #why.in-view .why-item { opacity: 1; transform: none; }
#why.in-view .why-item:nth-child(1) { transition-delay: .08s; }
#why.in-view .why-item:nth-child(2) { transition-delay: .18s; }
#why.in-view .why-item:nth-child(3) { transition-delay: .28s; }
#why.in-view .why-item:nth-child(4) { transition-delay: .38s; }
@media (prefers-reduced-motion: reduce) {
  .why-media, .why-item { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS — review-card marquee
═══════════════════════════════════════════ */
#testimonials {
  background: var(--bg-light);
  position: relative; overflow: hidden;
  padding: 100px 0 90px;
}
.tm-spiral { position: absolute; pointer-events: none; }
.tm-spiral-1 { width: 300px; left: -90px; top: -70px; opacity: .18; }
.tm-spiral-2 { width: 200px; right: 6%; top: 60%; opacity: .15; transform: rotate(140deg); }
.tm-spiral-3 { width: 130px; left: 4%; bottom: 40px; opacity: .14; transform: rotate(-60deg); }

.tm-header { position: relative; text-align: center; z-index: 2; padding: 0 24px; margin-bottom: 56px; }
.tm-eyebrow { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 3px; color: #555; }
.tm-heading { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.05; margin: 14px 0 0; color: var(--text-light); }
.tm-heading .pink { color: var(--primary-text); }
.tm-sub { font-family: var(--font-sans); font-size: 17px; color: #000; line-height: 1.7; margin: 16px auto 0; max-width: 560px; }

.tm-marquee {
  position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.tm-track {
  display: flex; align-items: stretch; gap: 28px;
  width: max-content; padding: 16px 14px 8px;
  animation: tmScroll 60s linear infinite;
}
.tm-marquee:hover .tm-track { animation-play-state: paused; }
@keyframes tmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tm-pal-0 { background: var(--secondary); color: #1e1e1e; }
.tm-pal-1 { background: var(--primary);   color: #1e1e1e; }
.tm-pal-2 { background: #1e1e1e;           color: var(--secondary); }
.tm-pal-3 { background: #ffd6ec;           color: #1e1e1e; }

.tcard { width: 348px; flex-shrink: 0; display: flex; flex-direction: column; }
.tcard-body {
  position: relative; background: #fff; border-radius: 22px;
  padding: 30px 30px 26px; min-height: 236px; flex: 1;
  display: flex; flex-direction: column;
  box-shadow: 0 14px 40px -14px rgba(30,30,30,.22), 0 2px 8px rgba(30,30,30,.06);
}
.tcard-text {
  margin: 0; flex: 1;
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: #3a3a3a;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.tcard-stars { margin-top: 18px; color: var(--primary); font-size: 15px; letter-spacing: 3px; }
.tcard-tail {
  position: absolute; left: 38px; bottom: -9px;
  width: 20px; height: 20px; background: #fff; transform: rotate(45deg);
  border-radius: 0 0 5px 0;
  box-shadow: 6px 6px 12px -6px rgba(30,30,30,.16);
}
.tcard-foot { display: flex; align-items: center; gap: 13px; margin: 22px 0 0 6px; }
.tcard-avatar {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 17px; letter-spacing: -.5px;
  overflow: hidden;
}
.tcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-position-top-20 { object-position: center 20%; }
.avatar-position-top-12 { object-position: center 12%; }
.avatar-position-left-18 { object-position: 18% center; }
.avatar-position-top-15 { object-position: center 15%; }
.tcard-foot > div:last-child { min-width: 0; }
.tcard-name { font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: #1e1e1e; white-space: nowrap; }
.tcard-role { font-family: var(--font-sans); font-size: 12.5px; color: #6a6a6a; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact { background: var(--bg-light); padding: 110px 100px; display: flex; gap: 56px; align-items: flex-start; position: relative; overflow: hidden; justify-content: center; }
.contact-left    { flex: 0 0 460px; max-width: 460px; }
.contact-heading { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 5vw, 66px); letter-spacing: -3px; line-height: 1.1; margin-bottom: 24px; }
.contact-heading .pink { color: var(--primary-text); }
.contact-heading .dark { color: var(--text-light); }
.contact-body    { font-family: var(--font-sans); font-size: 17px; color: rgba(30,30,30,.8); margin: 20px 0 40px; line-height: 1.75; }

.contact-email-bar   { position: relative; background: var(--bg-dark); border-radius: 999px; display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; box-shadow: 0 16px 36px -16px rgba(30,30,30,.45); text-decoration: none; }
.contact-email-bar i { font-size: 1rem; color: #1e1e1e; background: var(--secondary); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-email-bar > span { font-family: var(--font-sans); font-weight: 600; font-size: 15.5px; color: #fff; }

.contact-form {
  background: #0f0f0f; border-radius: 30px; padding: 40px 60px 48px;
  flex: 0 0 600px; max-width: 600px; min-width: 0;
  box-shadow: 0 40px 90px -35px rgba(0,0,0,.55), inset 0 1px 0 rgba(241,239,229,.08);
  border: 1px solid rgba(241,239,229,.08);
}
.form-label   { display: block; font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: var(--secondary); margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; background: var(--bg-light);
  border: 1px solid transparent; border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--font-sans); font-size: 15.5px; color: #2a2a2a; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: #8a8a80; }
.form-input:focus, .form-textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(190,232,42,.22); }
.form-textarea { height: 150px; resize: none; }
.form-group    { margin-bottom: 18px; }
.contact-submit-row { display: flex; justify-content: center; margin-top: 24px; }

/* ── animated submit button ── */
.contact-send {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-dark);
  color: var(--secondary); font-family: var(--font-sans); font-weight: 700; font-size: 18px;
  padding: 10px 12px 10px 26px; border: 2px solid var(--secondary); border-radius: 999px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  width: fit-content;
}
.contact-send:hover, .contact-send:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(190,232,42,.5);
}
.contact-send:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.contact-send-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1; transition: transform .25s ease;
}
.contact-send:hover .contact-send-arrow { transform: translateX(6px); }
.contact-send.is-sent .contact-send-arrow { display: none; }
/* periodic shine sweep across the button */
.contact-send::after {
  content: ''; position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.4s ease-in-out infinite;
}
@keyframes btnShine {
  0%       { left: -70%; }
  45%, 100% { left: 130%; }
}

.contact-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 13.5px; color: rgba(241,239,229,.6);
  margin: 20px 0 0;
}
.contact-status { min-height: 24px; margin-top: 14px; text-align: center; color: #fff; font-size: 14px; line-height: 1.5; }
.contact-note i { color: var(--secondary); }

@media (prefers-reduced-motion: reduce) {
  .contact-send::after { animation: none; display: none; }
  .contact-spark i { animation: none; }
  .contact-send, .contact-send-arrow { transition: none; }
}

@media (max-width: 900px) {
  #contact         { flex-direction: column; padding: 80px 24px; gap: 40px; }
  .contact-left    { flex: 0 1 auto; max-width: none; }
  .contact-form    { flex: 0 1 auto; width: 100%; max-width: none; padding: 40px 24px; }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--bg-dark);
  padding: 26px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.footer-social-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--secondary);
  font-size: 1.4rem;
  transition: background .2s, color .2s, border-color .2s;
}

.footer-social-btn:hover {
  background: var(--primary);
  color: #1e1e1e;
  border-color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  html, .work-cards { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .tm-track, .samples-track, .tools-track { animation: none !important; transform: none !important; }
}

.footer-upwork-btn .upwork-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  transition: opacity .2s ease, transform .2s ease;
}

.footer-upwork-btn .upwork-icon-white {
  position: absolute;
  opacity: 0;
}

.footer-upwork-btn:hover .upwork-icon-lime {
  opacity: 0;
  transform: scale(.92);
}

.footer-upwork-btn:hover .upwork-icon-white {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1100px)
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  #skills          { padding: 90px 60px 100px; }
  #skills          { padding: 100px 60px 110px; }
  .svc-card        { padding: 44px 44px; }
  .svc-media       { height: 270px; }
  .svc-img         { height: 240px; }
  .svc-img-back    { height: 210px; transform: rotate(6deg) translateX(44px); }
  .svc-img-front   { transform: rotate(-4deg) translateX(-34px); }
  #process         { padding: 100px 60px; }
  .process-img-float { width: clamp(110px, 30%, 150px); border-width: 3px; }
  .process-arrow   { right: 100px; bottom: 105px; width: 56px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .navbar              { padding: 14px 16px; }
  .navbar-pill         { padding: 6px 6px 6px 18px; gap: 14px; }
  .navbar-logo         { height: 34px; }
  .navbar-links        { gap: 14px; }
  .navbar-links a      { font-size: 14px; }
  .navbar-cta          { padding: 10px 16px; font-size: 13px; }
  #hero                { padding: 48px 16px 60px; }

  /* Mobile hero stage — scaled-down replica of the desktop composition:
     photo centered in the arch, cards floating around it at % coordinates */
  .hero-stage             { margin-top: 24px; }
  .hero-video-frame       { border-radius: 22px; }
  .hero-video-frame-inner { border-radius: 20px; }
  .hero-browser-bar       { padding: 10px 14px; }
  .hero-browser-dot       { width: 9px; height: 9px; }
  .hero-stats-row  { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
  .hero-stat       { padding: 12px 5px; border-radius: 14px; min-width: 0; }
  .hero-stat-num   { font-size: 20px; line-height: 1; }
  .hero-stat-star  { font-size: 12px; }
  .hero-stat-label { font-size: 6.8px; line-height: 1.18; letter-spacing: .25px; margin-top: 5px; overflow-wrap: anywhere; }
  .samples-section     { padding: 64px 0 70px; border-radius: 28px 28px 0 0; }
  .samples-header      { margin-bottom: 40px; }
  .samples-marquee     { gap: 22px; }
  .samples-track       { gap: 18px; }
  .browser-card        { width: 280px; border-radius: 14px; }
  .browser-bar         { padding: 8px 11px; }
  .browser-bar .dot    { width: 8px; height: 8px; }
  .browser-url         { font-size: 8.5px; padding: 3px 10px; margin-left: 8px; }
  #about               { flex-direction: column; padding: 80px 24px; }
  .about-images        { width: 100%; height: 400px; }
  #work                { padding: 80px 0 90px; }
  .work-header         { width: calc(100% - 40px); margin-bottom: 44px; }
  .work-kicker         { margin-bottom: 20px; font-size: 12px; letter-spacing: .26em; }
  .work-title          { font-size: 44px; letter-spacing: -1.5px; }
  .work-cards          { width: 100%; gap: 22px; padding: 10px 64px 26px; }
  .work-carousel-shell .work-side-arrow { width: 50px; height: 50px; top: calc(10px + min(50vw, 205px) - 25px); }
  .work-carousel-shell .work-side-arrow-left  { left: 8px; right: auto; }
  .work-carousel-shell .work-side-arrow-right { right: 8px; left: auto; }
  .work-card           { flex-basis: min(78vw, 320px); }
  .card-media          { padding: 0; border-radius: 32px; }
  .card-img            { border-radius: 32px; }
  .card-info           { padding-top: 20px; }
  .card-label          { font-size: 20px; }
  .stats-strip         { padding: 28px 24px; border-radius: 40px; margin: 60px auto 80px; }
  /* Services — stack info above the artwork */
  .svc-cards       { gap: 24px; }
  .svc-card,
  .svc-card-2      {
    flex-direction: column;
    align-items: stretch;
    padding: 34px 26px 40px;
    gap: 28px;
  }
  .svc-info {
    flex: 0 0 auto;
    width: 100%;
    padding-right: 54px; /* keep clear of the arrow button */
    position: relative;
    z-index: 2;
  }
  .svc-meta        { line-height: 1.6; }
  .svc-title       { font-size: clamp(30px, 8vw, 38px); line-height: 1.18; }
  .svc-body        { max-width: none; font-size: 16px; line-height: 1.65; }
  .svc-media {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(230px, 58vw, 300px);
    position: relative;
    z-index: 1;
  }
  .svc-img {
    top: 50%;
    left: 50%;
    height: clamp(190px, 50vw, 235px);
    max-width: 64vw;
    object-fit: contain;
  }
  .svc-img-back  { height: clamp(165px, 44vw, 205px); transform: translate(-34%, -50%) rotate(6deg); }
  .svc-img-front { transform: translate(-66%, -50%) rotate(-4deg); }
  .svc-card:hover .svc-img-front { transform: translate(-66%, -50%) rotate(-2deg) translateY(-6px); }
  .svc-card:hover .svc-img-back  { transform: translate(-34%, -50%) rotate(8deg); }
  .svc-arrow       { top: 20px; right: 20px; width: 42px; height: 42px; }
  /* Process — stack visual above the timeline */
  .process-header  { margin-bottom: 44px; }
  .process-grid    { grid-template-columns: 1fr; gap: 52px; }
  .process-visual  { position: static; max-width: 480px; margin: 0 auto; width: 100%; }
  .process-visual-inner { padding: 0 12px 44px 0; }
  .process-arrow   { right: 110px; bottom: 100px; width: 56px; }
  .pstep           { gap: 16px; padding: 20px 0; }
  .pstep-body      { max-width: none; }

  /* Testimonials — narrower cards, same marquee */
  #testimonials    { padding: 70px 0 60px; }
  .tm-header       { margin-bottom: 40px; }
  .tm-track        { gap: 18px; }
  .tcard           { width: min(300px, 82vw); }
  .tcard-body      { padding: 24px 24px 22px; min-height: 210px; }

  #contact         { flex-direction: column; padding: 80px 24px; }
  footer           { flex-direction: column; gap: 20px; padding: 30px 24px; }
  .section-heading-pink, .section-heading-dark, .section-heading-white { font-size: 44px; letter-spacing: -1.5px; }
  #skills, #process, #why { padding: 80px 24px; }
  #why         { padding: 60px 16px; }
  .why-card    { border-radius: 30px; padding: 52px 22px 0; }
  .why-header  { margin-bottom: 26px; }
  .why-grid    { grid-template-columns: 1fr; gap: 30px; }
  .why-list    { order: 1; padding-bottom: 0; }
  .why-media   { order: 2; max-width: 300px; margin: 0 auto; }
  .why-item    { padding: 16px 20px; gap: 12px; }
  .why-item-text { font-size: 15px; }
  .about-name-heading, .svc-heading, .process-heading, .process-intro-heading,
  .why-heading, .tm-heading, .contact-heading { font-size: 44px; letter-spacing: -1.5px; }
}

@media (max-width: 520px) {
  .hero-stats-row { gap: 5px; }
  .hero-stat { padding: 10px 4px; border-radius: 12px; }
  .hero-stat-num { font-size: 18px; }
  .hero-stat-star { font-size: 11px; }
  .hero-stat-label { font-size: 6px; letter-spacing: .15px; }
  #skills { padding: 64px 16px 72px; }
  .svc-header { margin-bottom: 36px; }
  .svc-heading { font-size: 36px; letter-spacing: -1px; }
  .svc-card,
  .svc-card-2 {
    border-radius: 28px;
    padding: 32px 22px 34px;
    gap: 24px;
  }
  .svc-info { padding-right: 50px; }
  .svc-meta { font-size: 10px; letter-spacing: 1.8px; }
  .svc-meta-label { margin-left: 8px; padding-left: 10px; }
  .svc-title { font-size: 34px; margin: 12px 0 16px; }
  .svc-body { font-size: 15.5px; line-height: 1.7; }
  .svc-media { height: 235px; }
  .svc-img { height: 205px; max-width: 70vw; }
  .svc-img-back { height: 178px; transform: translate(-31%, -50%) rotate(6deg); }
  .svc-img-front { transform: translate(-69%, -50%) rotate(-4deg); }
  .svc-card:hover .svc-img-front { transform: translate(-69%, -50%) rotate(-2deg) translateY(-6px); }
  .svc-card:hover .svc-img-back { transform: translate(-31%, -50%) rotate(8deg); }
}
