:root {
  --ink: #111111;
  --paper: #f7f3ea;
  --muted: #6b6258;
  --red: #e63946;
  --yellow: #ffd166;
  --blue: #1d3557;
  --green: #2a9d8f;
  --white: #ffffff;
  --line: rgba(17, 17, 17, .12);
  --shadow: 8px 8px 0 rgba(17, 17, 17, .16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 209, 102, .35), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(230, 57, 70, .14), transparent 24%),
    var(--paper);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand, .btn, .eyebrow, .comic-badge, .stat-value, .pipeline-step-num, .stamp-value {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Top Animated Marquee Strip */
.top-marquee-strip {
  background: var(--yellow);
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  z-index: 60;
}

.marquee-track {
  display: inline-flex;
  gap: 20px;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.top-marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-sep {
  color: var(--red);
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(247, 243, 234, .95);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.04em;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: rotate(-3deg) scale(1.04);
}

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

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

.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
  font-size: 15px;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

.site-nav a.nav-commission-btn {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-nav a.nav-commission-btn:hover {
  background: #ffc43a;
  color: var(--ink) !important;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.site-nav a.nav-commission-btn.active {
  background: var(--ink);
  color: var(--yellow) !important;
  border-color: var(--ink);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.site-nav a.nav-profile-link {
  background: rgba(255, 209, 102, 0.28);
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 8px 14px;
}

.site-nav a.nav-profile-link:hover,
.site-nav a.nav-profile-link.active {
  background: var(--ink);
  color: var(--paper) !important;
  border-color: var(--ink);
}

.site-nav a.nav-logout-link {
  color: var(--red);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-nav a.nav-logout-link:hover {
  background: var(--red);
  color: #ffffff !important;
}

.nav-toggle {
  display: none;
  border: 3px solid var(--ink);
  background: var(--yellow);
  border-radius: 12px;
  font-size: 22px;
  padding: 6px 10px;
  cursor: pointer;
}

.hero,
.page-hero,
.portfolio-detail-hero,
.section,
.cta {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding: 60px 0 40px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.eyebrow {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
}

h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(44px, 6.5vw, 84px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: 24px; }

.hero-highlight {
  background: var(--yellow);
  padding: 0 6px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-block;
  transform: rotate(-1.5deg);
  border-radius: 4px;
}

.hero-copy p.hero-lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.hero-copy p.hero-lead strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: all .16s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}

.btn.primary { background: var(--yellow); color: var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); }
.btn.danger { background: var(--red); color: var(--white); }

.btn-lg {
  padding: 14px 28px;
  font-size: 17px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px dashed var(--line);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img,
.avatar-stack-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  margin-left: -10px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.avatar-stack img:first-child,
.avatar-stack-item:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.proof-stars {
  color: #f59e0b;
  font-size: 14px;
  font-weight: 800;
}

/* Stats Counter Strip */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px auto 0;
  width: min(1180px, calc(100% - 36px));
}

.stat-box {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number.yellow { color: #d97706; }
.stat-number.red { color: var(--red); }
.stat-number.green { color: var(--green); }
.stat-number.blue { color: var(--blue); }

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.hero-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.slider-container {
  width: 100%;
  height: 100%;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
  color: var(--paper);
  background-color: var(--ink);
  background-image: 
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%),
    var(--bg-image, repeating-radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), rgba(255,255,255,.18) 2px, transparent 3px, transparent 9px));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  right: 34px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--paper);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: .3s ease;
}

.dot.active {
  background: var(--yellow);
  width: 24px;
}

.hero-slide a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  z-index: 2;
}

.hero-slide h2 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 8px;
  position: relative;
  z-index: 3;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-price {
  position: absolute;
  top: 82px;
  right: 28px;
  background: var(--green);
  color: var(--white);
  border: 3px solid var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
  z-index: 10;
}

.hero-slide p {
  color: rgba(255,255,255,.9);
  font-size: 17px;
  max-width: 480px;
  position: relative;
  z-index: 3;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.comic-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  transform: rotate(7deg);
  z-index: 10;
}

.panel-lines {
  position: absolute;
  inset: 26px;
  border: 3px solid rgba(255,255,255,.55);
  border-radius: 24px;
  transform: rotate(-4deg);
}

.hero-card h2 {
  position: relative;
  font-size: clamp(48px, 7vw, 80px);
}

.hero-card p {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 18px;
}

.section {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.text-link {
  font-weight: 900;
  color: var(--red);
}

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

.portfolio-card,
.service-card,
.contact-card,
.empty-state {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 3px solid var(--ink);
}

.portfolio-card-body {
  padding: 20px;
}

.portfolio-card span {
  color: var(--red);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

/* Pinterest Masonry Layout for Portfolio */
.portfolio-masonry {
  display: block !important;
  column-count: 5;
  column-gap: 18px;
}

.portfolio-masonry .portfolio-card {
  break-inside: avoid;
  margin-bottom: 18px;
  display: inline-block;
  width: 100%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-masonry .portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 0 var(--ink);
}

.portfolio-masonry .portfolio-card a {
  display: block;
  position: relative;
  height: 100%;
  text-decoration: none;
}

.portfolio-masonry .portfolio-card img {
  width: 100%;
  aspect-ratio: auto !important;
  height: auto !important;
  border-bottom: none !important;
  display: block;
}

.portfolio-masonry .portfolio-card:hover img {
  transform: none;
}

.portfolio-masonry .portfolio-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 70%, transparent 100%);
  padding: 34px 16px 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  color: #fff;
  box-sizing: border-box;
}

.portfolio-masonry .portfolio-card:hover .portfolio-card-body {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-masonry .portfolio-card-body h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 4px;
  line-height: 1.3;
}

.portfolio-masonry .portfolio-card-body p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-masonry .portfolio-card-body span {
  color: var(--yellow, #ffd166);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.portfolio-masonry .portfolio-card-body .artist-tag {
  color: #38bdf8 !important;
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

@media (max-width: 1200px) {
  .portfolio-masonry { column-count: 4; }
}

@media (max-width: 900px) {
  .portfolio-masonry { column-count: 3; }
}

@media (max-width: 600px) {
  .portfolio-masonry {
    column-count: 2;
    column-gap: 12px;
  }
  .portfolio-masonry .portfolio-card {
    margin-bottom: 12px;
    border-radius: 14px;
  }
  .portfolio-masonry .portfolio-card-body {
    opacity: 1;
    transform: translateY(0);
    padding: 20px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  }
  .portfolio-masonry .portfolio-card-body p {
    display: none;
  }
  .portfolio-masonry .portfolio-card-body h3 {
    font-size: 0.9rem;
  }
  .portfolio-masonry .portfolio-card-body span {
    font-size: 0.7rem;
  }
}

.portfolio-card p,
.service-card p,
.empty-state p {
  color: var(--muted);
}

.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.contact-card,
.empty-state {
  padding: 24px;
}

/* Studio Production Pipeline */
.studio-pipeline-section {
  padding: 60px 0;
}

.text-center-wrap {
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.section-subtext {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 8px auto 0;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.pipeline-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pipeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--ink);
}

.pipeline-card.highlight-step {
  background: #fdf6e2;
  border-color: var(--ink);
}

.pipeline-step-num {
  font-size: 28px;
  font-weight: 900;
  color: #d1c7b7;
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 18px;
}

.pipeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ink);
}

.pipeline-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.25;
}

.pipeline-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

.pipeline-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.pipeline-pill.gate {
  background: rgba(255, 209, 102, 0.4);
}

.pipeline-pill.ready {
  background: var(--green);
  color: var(--white);
  border-color: var(--ink);
}

/* Perforated Comic Coupon Banner */
.comic-coupon-banner {
  background: var(--blue);
  color: var(--white);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.coupon-left {
  flex: 1;
  padding: 44px 40px;
  position: relative;
  z-index: 2;
}

.coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 16px;
}

.coupon-left h2 {
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.coupon-left p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 0 24px;
}

.coupon-left p strong {
  color: var(--yellow);
}

.coupon-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.coupon-terms {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.coupon-divider {
  width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.notch-top,
.notch-bottom {
  width: 32px;
  height: 16px;
  background: var(--paper);
  border: 3px solid var(--ink);
  z-index: 3;
}

.notch-top {
  border-top: none;
  border-radius: 0 0 20px 20px;
}

.notch-bottom {
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

.dashed-line {
  flex-grow: 1;
  border-left: 3px dashed rgba(255, 255, 255, 0.35);
  margin: 8px 0;
}

.coupon-right {
  width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.15);
}

.stamp-box {
  background: var(--yellow);
  color: var(--ink);
  border: 3px dashed var(--ink);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
  width: 100%;
}

.stamp-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--red);
}

.stamp-value {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin: 4px 0;
  color: var(--ink);
}

.stamp-desc {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stamp-worth {
  font-size: 11px;
  font-weight: 900;
  background: var(--ink);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 8px;
}

/* Comic Speech Bubble Testimonials Slider */
.testimonials-section {
  padding: 60px 0;
  position: relative;
}

.testimonials-slider-container {
  position: relative;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.review-slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.16s ease;
  color: var(--ink);
  padding: 0;
}

.review-nav-btn:hover {
  background: var(--yellow);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.review-nav-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.review-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.review-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.review-dot.active {
  width: 32px;
  background: var(--yellow);
}

.speech-bubble {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 24px;
  position: relative;
  margin-bottom: 20px;
  flex-grow: 1;
}

.speech-bubble p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}

.bubble-tail {
  position: absolute;
  bottom: -15px;
  left: 36px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 14px 0 0;
  border-color: var(--white) transparent transparent transparent;
  z-index: 2;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 34px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 19px 17px 0 0;
  border-color: var(--ink) transparent transparent transparent;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.author-avatar.purple { background: #c084fc; }
.author-avatar.teal { background: #2dd4bf; }

.testimonial-author div {
  min-width: 0;
  flex: 1;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.page-hero {
  padding: 84px 0 34px;
}

.search-filter-bar {
  margin-bottom: 34px;
}

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

.search-input-group {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 300px;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  font: inherit;
  font-weight: 500;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--line);
  transition: all .2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 6px 6px 0 var(--blue);
}

.select-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.select-group select {
  padding: 14px 18px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  font: inherit;
  font-weight: 800;
  background: var(--white);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
  transition: all .2s ease;
}

.select-group select:hover {
  background: var(--paper);
}

.select-group select:focus {
  outline: none;
  border-color: var(--blue);
}

.portfolio-detail-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0 34px;
}

.portfolio-detail-info {
  display: flex;
  flex-direction: column;
}

.portfolio-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.portfolio-breadcrumb a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.portfolio-breadcrumb span.sep {
  opacity: 0.4;
}

.portfolio-detail-info h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
}

.portfolio-detail-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 20px;
}

.hero-gallery {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  max-height: 600px;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-gallery:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--ink);
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
}

.hero-gallery-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.88;
  transition: opacity .2s;
}

.hero-gallery:hover .hero-gallery-zoom {
  opacity: 1;
}

/* Thumbnail Gallery Strip */
.portfolio-thumbs-strip {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.portfolio-thumb-btn {
  flex: 0 0 76px;
  height: 76px;
  border-radius: 14px;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  padding: 0;
  transition: transform .15s ease;
}

.portfolio-thumb-btn:hover {
  transform: scale(1.05);
}

.portfolio-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-inline {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-inline-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-inline .review-stars {
  font-size: 16px;
  letter-spacing: 2px;
}

.review-inline strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.review-inline em {
  color: #374151;
  font-style: italic;
}

.review-inline .review-author {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}

.detail-meta-pill {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.detail-meta-pill.price {
  background: var(--green);
  color: var(--white);
  border-color: var(--ink);
  font-size: 15px;
}

.detail-meta-pill.category {
  background: var(--yellow);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.detail-action-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
  border-top: 2px dashed var(--line);
}

.detail-share-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.share-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.share-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn.x { background: #000; }

.copy-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 3px 3px 0 var(--ink);
}

.copy-link-btn:hover {
  background: var(--paper);
  transform: translate(-1px, -1px);
}

.content-box {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 36px clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.content-box h2, .content-box h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.content-text {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.8;
  word-break: break-word;
}

.content-text p {
  margin: 0 0 1.15em;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text strong, .content-text b {
  font-weight: 800;
  color: var(--ink);
}

.content-text ul, .content-text ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
}

.content-text li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

.content-text h2, .content-text h3, .content-text h4 {
  color: var(--ink);
  font-weight: 800;
  margin: 1.4em 0 0.5em;
  line-height: 1.3;
}

.content-text a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  transition: opacity .15s ease;
}

.content-text a:hover {
  opacity: .8;
}

.gallery-grid figcaption {
  padding: 12px 16px;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  text-align: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}

.lightbox-content p {
  color: #fff;
  margin: 12px 0 0;
  font-size: 15px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 14px;
  line-height: 1;
  z-index: 10;
  transition: background .2s;
}

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

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.client-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 420px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.client-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 6px 6px 0 rgba(17, 17, 17, .16);
}

.client-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper);
}

.client-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card-initial {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  background: var(--blue);
}

.client-card-info h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.cta {
  margin-block: 48px 84px;
  padding: 42px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta p { color: rgba(255,255,255,.75); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p { color: rgba(255,255,255,.72); margin: 8px 0 0; }

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--yellow);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .site-nav.open { display: flex; }

  .hero,
  .split,
  .portfolio-detail-hero {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero { min-height: auto; padding-top: 46px; }
  .hero-card { min-height: 360px; }

  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .comic-coupon-banner {
    flex-direction: column;
  }

  .coupon-divider {
    width: 100%;
    height: 28px;
    flex-direction: row;
  }

  .notch-top {
    width: 16px;
    height: 28px;
    border-radius: 0 20px 20px 0;
    border: 3px solid var(--ink);
    border-left: none;
  }

  .notch-bottom {
    width: 16px;
    height: 28px;
    border-radius: 20px 0 0 20px;
    border: 3px solid var(--ink);
    border-right: none;
  }

  .dashed-line {
    border-left: none;
    border-top: 3px dashed rgba(255, 255, 255, 0.35);
    width: 100%;
    margin: 0 8px;
  }

  .coupon-right {
    width: 100%;
    padding: 24px 30px;
  }

  .stamp-box {
    transform: rotate(0);
    max-width: 280px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 38px; }
  .portfolio-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .coupon-left {
    padding: 30px 20px;
  }

  .coupon-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-meta {
    gap: 6px 8px;
    margin-bottom: 16px;
  }

  .portfolio-detail-master-card {
    padding: 16px 14px !important;
    border-radius: 18px !important;
    box-shadow: 4px 4px 0 var(--ink) !important;
  }

  .portfolio-detail-info h1 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.2 !important;
    margin: 0 0 10px !important;
  }

  .hero-gallery {
    min-height: 220px !important;
    max-height: 380px !important;
    border-radius: 16px !important;
    box-shadow: 3px 3px 0 var(--ink) !important;
  }

  .hero-gallery img {
    max-height: 380px !important;
  }

  .detail-action-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .detail-action-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .detail-action-buttons .btn {
    padding: 11px 6px !important;
    font-size: 13px !important;
    width: 100% !important;
    justify-content: center !important;
    box-shadow: 3px 3px 0 var(--ink) !important;
    white-space: nowrap !important;
  }

  .detail-share-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .section-heading,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 32px;
    padding: 6px 12px;
  }

  .filter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .search-input-group {
    min-width: 100%;
  }

  .select-group {
    flex-direction: column;
    align-items: stretch;
  }

  /* Compact Horizontal Swipe Track for More Works on Mobile */
  .more-works-grid {
    display: flex !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .more-works-grid::-webkit-scrollbar {
    display: none;
  }

  .more-works-grid .portfolio-card {
    flex: 0 0 74vw;
    max-width: 270px;
    scroll-snap-align: start;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
  }

  .more-works-grid .portfolio-card img {
    aspect-ratio: 16 / 10;
    height: 140px;
    object-fit: cover;
  }

  .more-works-grid .portfolio-card-body {
    padding: 14px;
  }

  .more-works-grid .portfolio-card-body span {
    font-size: 11px;
  }

  .more-works-grid .portfolio-card-body h3 {
    font-size: 16px;
    margin: 4px 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .more-works-grid .portfolio-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
  }
}

/* More Works Header & Grid (Desktop Default) */
.more-works-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}

.more-works-viewall {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
  transition: all .15s ease;
}

.more-works-viewall:hover {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.more-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
