:root {
  --paper: #fdf8f0;
  --ink: #1a1a1a;
  --yellow: #ffec6e;
  --red: #e05c3a;
  --blue: #3a7bd5;
  --green: #2db87a;
  --purple: #8e44ad;
  --orange: #e67e22;
  --teal: #16a085;
  --grid: rgba(80, 80, 80, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Playfair Display', sans-serif;
  background: #e8e2d8;
  color: var(--ink);
}

/* GRID PAPER */
.grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.grid-dark {
  background-color: #1a1a1a;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.grid-warm {
  background-color: #f0ebe0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* SVG FILTER */
.rough {
  filter: url(#rough);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  padding: 14px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 20px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--red);
  transition: transform 0.15s, box-shadow 0.15s !important;
}

.nav-cta:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0 var(--red) !important;
  color: var(--paper) !important;
}

.nav-cta::after {
  display: none !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  padding: 90px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2.5px solid var(--ink);
  position: relative;
}

.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--paper);
  z-index: -1;
}

.eyebrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tag {
  font-size: 16px;
  padding: 4px 14px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-1deg);
  display: inline-block;
}

.tag.blue {
  background: #d0e4ff;
  transform: rotate(0.5deg);
}

.tag.green {
  background: #d0ffe8;
  transform: rotate(-0.8deg);
}

h1 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  line-height: 1.05;
  margin-bottom: 24px;
}

h1 span {
  color: var(--red);
}

.hero-sub {
  font-size: 19px;
  color: #555;
  line-height: 1.6;
  letter-spacing: -0.2px;
  max-width: 420px;
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  font-family: 'Playfair Display', sans-serif;
  font-size: 20px;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--red);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

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

/* STATS STRIP */
.stats-strip {
  margin-top: 52px;
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 2px dashed #ccc;
}

.stat-item {}

.stat-num {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--red);
  display: block;
}

.stat-label {
  font-size: 16px;
  color: #888;
}

/* HERO RIGHT - CARDS */
.hero-right {
  padding: 100px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-right::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--paper);
  z-index: -2;
}

.hero-right-label {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  color: #888;
  margin-bottom: 4px;
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(45, 184, 122, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(45, 184, 122, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(45, 184, 122, 0);
  }
}

.project-card {
  background: white;
  border: 2.5px solid var(--ink);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 6px 6px 0 var(--ink);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.pcard-1 {
  transform: translateX(0);
}

.pcard-2 {
  transform: translateX(20px);
}

.pcard-3 {
  transform: translateX(40px);
}

.pcard-1:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--blue);
}

.pcard-2:hover {
  transform: translate(16px, -4px);
  box-shadow: 10px 10px 0 var(--green);
}

.pcard-3:hover {
  transform: translate(36px, -4px);
  box-shadow: 10px 10px 0 var(--orange);
}

.project-card-left {}

.project-type {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.project-name {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 2px;
}

.project-sub {
  font-size: 14px;
  color: #888;
}

.project-card-right {
  text-align: right;
  transition: transform 0.3s ease;
  transform-origin: right center;
  z-index: 2;
  padding-right: 30px;
}

.project-card:hover .project-card-right {
  transform: scale(1.1);
}

.project-metric {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--ink);
  display: block;
  transition: color 0.3s ease;
}

.pcard-1:hover .project-metric {
  color: var(--blue);
}

.pcard-2:hover .project-metric {
  color: var(--green);
}

.pcard-3:hover .project-metric {
  color: var(--orange);
}

.project-meta {
  font-size: 14px;
  color: #aaa;
}

.pc-arrow {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

.pcard-1:hover .pc-arrow {
  right: 20px;
  color: var(--blue);
}

.pcard-2:hover .pc-arrow {
  right: 20px;
  color: var(--green);
}

.pcard-3:hover .pc-arrow {
  right: 20px;
  color: var(--orange);
}

@media (max-width: 1200px) {

  .pcard-1,
  .pcard-2,
  .pcard-3 {
    transform: translateX(0);
  }

  .pcard-1:hover {
    transform: translate(-4px, -4px);
  }

  .pcard-2:hover {
    transform: translate(-4px, -4px);
  }

  .pcard-3:hover {
    transform: translate(-4px, -4px);
  }
}

.card-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 2px 8px;
  border: 1.5px solid;
  margin-bottom: 6px;
}

.badge-lp {
  border-color: var(--blue);
  color: var(--blue);
  background: #f0f5ff;
}

.badge-em {
  border-color: var(--green);
  color: var(--green);
  background: #f0fff8;
}

.badge-cs {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff8f0;
}

/* SECTIONS */
section {
  border-top: 2.5px solid var(--ink);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px;
}

.section-label {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
  display: block;
}

h2 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
  line-height: 1.15;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 21px;
  color: #666;
  max-width: 600px;
  margin-bottom: 60px;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.service-card:hover {
  transform: translate(-4px, -4px);
}

.service-card .accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.s1 {
  box-shadow: 6px 6px 0 var(--red);
}

.s1:hover {
  box-shadow: 10px 10px 0 var(--red);
}

.s1 .accent-bar {
  background: var(--red);
}

.s2 {
  box-shadow: 6px 6px 0 var(--blue);
}

.s2:hover {
  box-shadow: 10px 10px 0 var(--blue);
}

.s2 .accent-bar {
  background: var(--blue);
}

.s3 {
  box-shadow: 6px 6px 0 var(--green);
}

.s3:hover {
  box-shadow: 10px 10px 0 var(--green);
}

.s3 .accent-bar {
  background: var(--green);
}

.service-num {
  font-size: 14px;
  letter-spacing: 3px;
  color: #bbb;
  margin-bottom: 10px;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.service-quote {
  font-size: 16px;
  font-style: italic;
  color: #888;
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 17px;
  padding: 5px 0;
  border-bottom: 1px dashed #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e05c3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8 L13 8 M9 4 L13 8 L9 12'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.service-footer {
  margin-top: 16px;
  font-size: 15px;
  color: #bbb;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.portfolio-card {
  background: white;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
}

.portfolio-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.portfolio-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--ink);
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 20px;
  position: relative;
  overflow: hidden;
}

.thumb-1 {
  background: #fff5f0;
  color: var(--red);
}

.thumb-2 {
  background: #f0fff8;
  color: var(--green);
}

.thumb-3 {
  background: #f0f5ff;
  color: var(--blue);
}

.thumb-4 {
  background: #fff8f0;
  color: var(--orange);
}

.thumb-5 {
  background: #fff0f5;
  color: var(--crimson);
}

.thumb-6 {
  background: #f5f0ff;
  color: var(--purple);
}

.thumb-sketch {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: repeating-linear-gradient(0deg, #666 0, #666 1px, transparent 0, transparent 50%);
  background-size: 100% 20px;
}

.portfolio-body {
  padding: 20px;
}

.portfolio-body h3 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 4px;
}

.portfolio-body .psub {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 12px;
}

.portfolio-metrics {
  display: flex;
  gap: 20px;
}

.pm {}

.pm-val {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--red);
  display: block;
}

.pm-key {
  font-size: 13px;
  color: #aaa;
}

.portfolio-link {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  color: var(--blue);
  text-decoration: none;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}

.portfolio-link:hover {
  color: var(--red);
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why-card {
  border: 2.5px solid var(--ink);
  padding: 32px;
  background: var(--paper);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translate(-3px, -3px);
}

.w1 {
  box-shadow: 5px 5px 0 var(--yellow);
}

.w1:hover {
  box-shadow: 8px 8px 0 var(--yellow);
}

.w2 {
  box-shadow: 5px 5px 0 var(--red);
}

.w2:hover {
  box-shadow: 8px 8px 0 var(--red);
}

.w3 {
  box-shadow: 5px 5px 0 var(--blue);
}

.w3:hover {
  box-shadow: 8px 8px 0 var(--blue);
}

.w4 {
  box-shadow: 5px 5px 0 var(--green);
}

.w4:hover {
  box-shadow: 8px 8px 0 var(--green);
}

.why-num {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: #e8e2d8;
  position: absolute;
  top: 10px;
  right: 20px;
}

.why-card h3 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.why-card p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2.5px solid var(--ink);
}

.step {
  padding: 36px 28px;
  border-right: 2.5px solid var(--ink);
  position: relative;
  background: transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.step:last-child {
  border-right: none;
}

.step:nth-child(1):hover {
  background: white;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--yellow);
  z-index: 2;
}

.step:nth-child(2):hover {
  background: white;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--blue);
  z-index: 2;
}

.step:nth-child(3):hover {
  background: white;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--green);
  z-index: 2;
}

.step:nth-child(4):hover {
  background: white;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--orange);
  z-index: 2;
}

.step-num {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 64px;
  color: #e8e2d8;
  position: absolute;
  top: 8px;
  right: 12px;
  line-height: 1;
}

.step-day {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 10px;
  margin-bottom: 14px;
}

.step h3 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.step p {
  font-size: 17px;
  color: #666;
  line-height: 1.5;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translate(-3px, -3px);
}

.pc1 {
  box-shadow: 5px 5px 0 var(--ink);
}

.pc1:hover {
  box-shadow: 8px 8px 0 var(--ink);
}

.pc2 {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--red);
}

.pc2:hover {
  box-shadow: 8px 8px 0 var(--red);
}

.pc3 {
  box-shadow: 5px 5px 0 var(--ink);
}

.pc3:hover {
  box-shadow: 8px 8px 0 var(--ink);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 14px;
  padding: 3px 16px;
  border: 2px solid var(--ink);
  white-space: nowrap;
}

.plan-name {
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan-price {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
}

.plan-inr {
  font-size: 17px;
  color: #aaa;
  margin-bottom: 20px;
}

.pc2 .plan-inr {
  color: rgba(255, 255, 255, 0.5);
}

.plan-desc {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 24px;
  border-bottom: 2px dashed;
  padding-bottom: 20px;
}

.pc1 .plan-desc,
.pc3 .plan-desc {
  border-color: #ddd;
  color: #666;
}

.pc2 .plan-desc {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 17px;
  padding: 6px 0;
  border-bottom: 1px dashed;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pc1 .plan-features li,
.pc3 .plan-features li {
  border-color: #eee;
}

.pc2 .plan-features li {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.plan-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%232db87a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 L7 13 L15 5'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pc2 .plan-features li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23ffec6e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 L7 13 L15 5'/%3E%3C/svg%3E") no-repeat center;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border: 2.5px solid var(--ink);
  font-family: 'Playfair Display', sans-serif;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.pc1 .plan-btn,
.pc3 .plan-btn {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

.pc1 .plan-btn:hover,
.pc3 .plan-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--red);
}

.pc2 .plan-btn {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
  border-color: var(--yellow);
}

.pc2 .plan-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 236, 110, 0.6);
}

/* CASE STUDY */
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-metric {
  border: 2.5px solid var(--ink);
  padding: 20px 24px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

.case-metric-num {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--red);
  display: block;
}

.case-metric-label {
  font-size: 16px;
  color: #888;
}

.case-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.timeline-card {
  border: 2.5px solid var(--ink);
  padding: 24px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s;
}

.timeline-card:hover {
  transform: translate(-2px, -2px);
}

.tl-label {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 6px;
}

.tl-title {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 8px;
}

.tl-body {
  font-size: 17px;
  color: #666;
  line-height: 1.5;
}

/* QUOTE */
.quote-section {
  padding: 100px 80px;
  text-align: center;
}

.big-quote {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--yellow);
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto 20px;
}

.quote-attr {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
}

/* CTA */
.cta-section {
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-left h2 {
  margin-bottom: 16px;
}

.cta-left p {
  font-size: 21px;
  color: #666;
  margin-bottom: 36px;
  line-height: 1.6;
}

.contact-form {
  background: white;
  border: 2.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 40px;
}

.form-title {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 17px;
  color: #888;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  font-family: 'Playfair Display', sans-serif;
  font-size: 18px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 3px 3px 0 var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: var(--paper);
  border: 2.5px solid var(--ink);
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--red);
  transition: transform 0.15s, box-shadow 0.15s;
}

.submit-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--red);
}

.form-note {
  text-align: center;
  font-size: 15px;
  color: #aaa;
  margin-top: 12px;
}

.form-message {
  text-align: center;
  font-size: 16px;
  padding: 14px;
  border-radius: 4px;
  margin-top: 20px;
  display: none;
  font-weight: 500;
  border: 2px solid transparent;
}

.form-message.success {
  background: #f0fff8;
  color: var(--green);
  border-color: var(--green);
}

.form-message.error {
  background: #fff5f0;
  color: var(--red);
  border-color: var(--red);
}

/* FOOTER */
footer {
  border-top: 2.5px solid rgba(255, 255, 255, 0.15);
  padding: 40px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--yellow);
}

.footer-logo span {
  color: var(--red);
}

.footer-note {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.3);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left>* {
  animation: fadeUp 0.7s ease both;
}

.hero-left>*:nth-child(1) {
  animation-delay: 0s;
}

.hero-left>*:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-left>*:nth-child(3) {
  animation-delay: 0.2s;
}

.hero-left>*:nth-child(4) {
  animation-delay: 0.3s;
}

.hero-left>*:nth-child(5) {
  animation-delay: 0.4s;
}

.hero-right {
  animation: fadeUp 0.8s 0.3s ease both;
}

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

  .hero-left {
    border-right: none;
    border-bottom: 2.5px solid var(--ink);
    padding: 80px 40px 60px;
  }

  .hero-right {
    padding: 60px 40px;
  }

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

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

  .step:nth-child(2) {
    border-right: none;
  }

  .step:nth-child(3) {
    border-top: 2.5px solid var(--ink);
  }

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

  .cta-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-inner {
    padding: 80px 40px;
  }

  nav {
    padding: 14px 32px;
  }
}

@media (max-width: 700px) {

  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .step {
    border-right: none;
    border-bottom: 2.5px solid var(--ink);
  }

  .step:last-child {
    border-bottom: none;
  }

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

  .nav-links {
    display: none;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 32px;
  }

  .stats-strip {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* DECORATIVE ELEMENTS */
.deco-star {
  display: inline-block;
  color: var(--red);
  opacity: 0.4;
}

/* SKETCH ICONS */
.sketch-icon {
  display: block;
  margin-bottom: 14px;
}

.sketch-icon svg {
  width: 44px;
  height: 44px;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

/* ACCESSIBILITY: SKIP LINK & FOCUS */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

/* MOBILE NAV */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px;
    border-bottom: 2.5px solid var(--ink);
  }

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

/* TOUCH TARGET SPACING */
@media (max-width: 700px) {

  .btn,
  .plan-btn,
  .submit-btn,
  .nav-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
  }
}

/* GALLERY HUB: saaslandingpage.com style */
.gallery-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: white;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 8px 18px;
  font-family: 'Playfair Display', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

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

.filter-btn.active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

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

.gallery-card {
  background: white;
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

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

.gallery-thumb {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.gallery-meta {
  padding: 20px;
}

.gallery-meta h3 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
}

.gallery-meta h3 a {
  color: var(--ink);
  text-decoration: none;
}

.gallery-cta {
  font-family: 'Playfair Display', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.gallery-cta:hover {
  color: var(--red);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* GLOBAL SCROLL ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays for Grids - 1 to 10 */
.delay-0 {
  transition-delay: 0s !important;
}

.delay-1 {
  transition-delay: 0.1s !important;
}

.delay-2 {
  transition-delay: 0.2s !important;
}

.delay-3 {
  transition-delay: 0.3s !important;
}

.delay-4 {
  transition-delay: 0.4s !important;
}

.delay-5 {
  transition-delay: 0.5s !important;
}

.delay-6 {
  transition-delay: 0.6s !important;
}

/* Also override hover transforms to work nicely with animated base states */
.service-card.is-visible:hover,
.portfolio-card.is-visible:hover,
.gallery-card.is-visible:hover,
.why-card.is-visible:hover,
.price-card.is-visible:hover,
.timeline-card.is-visible:hover {
  transform: translate(-4px, -4px) !important;
}

/* Extracted Inline Styles */
.inline-style-1 { padding-top:160px; padding-bottom:100px; text-align: left; border-bottom: 2.5px solid var(--ink); overflow: hidden; }
.inline-style-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1300px; margin: 0 auto; padding: 40px 60px; }
.inline-style-3 { padding-right: 20px; }
.inline-style-4 { color: var(--yellow); margin-bottom: 16px; font-weight: bold; letter-spacing: 5px; }
.inline-style-5 { font-size: clamp(48px, 5.5vw, 64px); color: var(--paper); line-height: 1.1; font-family: 'Playfair Display', serif; font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; }
.inline-style-6 { font-size: 20px; color: #bbb; line-height: 1.6; margin-bottom: 50px; font-weight: 400; max-width: 500px; }
.inline-style-7 { display:flex; gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.inline-style-8 { font-family: 'Playfair Display', serif; font-size:52px; color:var(--red); font-weight:800; line-height:1; }
.inline-style-9 { color:#888; font-size:13px; text-transform:uppercase; letter-spacing:2px; margin-top:10px; }
.inline-style-10 { font-family: 'Playfair Display', serif; font-size:52px; color:var(--blue); font-weight:800; line-height:1; }
.inline-style-11 { position: relative; }
.inline-style-12 { height: 600px; border: 4px solid var(--paper); box-shadow: 16px 16px 0 var(--red); background-image: url('../img/portfolio/thumb-6.jpg'); background-size: cover; background-position: top center; transform: rotate(1deg); transition: transform 0.3s ease; }
.inline-style-13 { padding: 120px 0; border-bottom: 2.5px solid var(--ink); }
.inline-style-14 { max-width: 1300px; margin: 0 auto; padding: 0 60px; }
.inline-style-15 { display: grid; grid-template-columns: 1fr 2.5fr; gap: 80px; }
.inline-style-16 { position: sticky; top: 120px; }
.inline-style-17 { font-size: 56px; line-height: 1.1; margin-bottom:24px; color: var(--ink); }
.inline-style-18 { font-size: 19px; color: #666; line-height: 1.6; margin-bottom: 40px; }
.inline-style-19 { font-size:18px; padding:16px 32px; box-shadow: 6px 6px 0 var(--ink); }
.inline-style-20 { display:flex; flex-direction:column; gap:50px; }
.inline-style-21 { background:var(--paper); border:2.5px solid var(--ink); padding:60px 50px; position: relative; }
.inline-style-22 { position: absolute; top: -16px; right: 40px; background: var(--yellow); padding: 6px 20px; border: 2.5px solid var(--ink); font-weight: 800; font-size: 20px; font-family:'Playfair Display', serif; transform: rotate(2deg); }
.inline-style-23 { font-size:36px; font-family:'Playfair Display', serif; margin-bottom:24px; }
.inline-style-24 { font-size:20px; line-height:1.7; color:#555; }
.inline-style-25 { position: absolute; top: -16px; right: 40px; background: var(--blue); color: #fff; padding: 6px 20px; border: 2.5px solid var(--ink); font-weight: 800; font-size: 20px; font-family:'Playfair Display', serif; transform: rotate(-2deg); }
.inline-style-26 { background:var(--ink); color:var(--paper); border:2.5px solid var(--ink); padding:60px 50px; position: relative; }
.inline-style-27 { position: absolute; top: -16px; right: 40px; background: var(--red); color: #fff; padding: 6px 20px; border: 2.5px solid var(--ink); font-weight: 800; font-size: 20px; font-family:'Playfair Display', serif; transform: rotate(2deg); }
.inline-style-28 { font-size:36px; font-family:'Playfair Display', serif; margin-bottom:24px; color:var(--yellow); }
.inline-style-29 { font-size:20px; line-height:1.7; color:#ccc; }
.inline-style-30 { padding: 120px 0; text-align:center; }
.inline-style-31 { font-size:64px; margin-bottom:40px; color: var(--ink); }
.inline-style-32 { font-size:24px; padding:20px 50px; box-shadow: 8px 8px 0 var(--red); }
.inline-style-33 { display: flex; flex-direction: column; gap: 20px; }
.inline-style-34 { display:flex; gap:16px; }
.inline-style-35 { color:rgba(255,255,255,0.6); }
.inline-style-36 { text-align: right; }
.inline-style-37 { margin-bottom: 8px; }
.inline-style-38 { height: 600px; border: 4px solid var(--paper); box-shadow: 16px 16px 0 var(--red); background-image: url('../img/portfolio/thumb-d2.jpg'); background-size: cover; background-position: top center; transform: rotate(1deg); transition: transform 0.3s ease; }
.inline-style-39 { height: 600px; border: 4px solid var(--paper); box-shadow: 16px 16px 0 var(--red); background-image: url('../img/portfolio/thumb-w1.jpg'); background-size: cover; background-position: top center; transform: rotate(1deg); transition: transform 0.3s ease; }
.inline-style-40 { position:absolute; }
.inline-style-41 { background-image: url('../img/portfolio/thumb-1.jpg'); background-size: cover; background-position: top center; }
.inline-style-42 { background-image: url('../img/portfolio/thumb-2.jpg'); background-size: cover; background-position: top center; }
.inline-style-43 { background-image: url('../img/portfolio/thumb-w1.jpg'); background-size: cover; background-position: top center; }
.inline-style-44 { background-image: url('../img/portfolio/thumb-d2.jpg'); background-size: cover; background-position: top center; }
.inline-style-45 { background-image: url('../img/portfolio/thumb-a1.jpg'); background-size: cover; background-position: top center; }
.inline-style-46 { background-image: url('../img/portfolio/thumb-6.jpg'); background-size: cover; background-position: top center; }
.inline-style-47 { width:38px;height:38px;margin-bottom:12px;display:block; }
.inline-style-48 { color:rgba(255,255,255,0.5); }
.inline-style-49 { margin-bottom:50px; }
.inline-style-50 { font-size:22px; padding:14px 36px; box-shadow: 5px 5px 0 var(--red); }
.inline-style-51 { margin-top: 40px; }
.inline-style-52 { box-shadow: 4px 4px 0 var(--ink); }
.inline-style-53 { font-size:40px; color:var(--yellow); margin-bottom:10px; }
.inline-style-54 { font-style:italic; }
.inline-style-55 { margin-top:20px; font-family:'Caveat Brush', cursive; font-size: 20px; }
.inline-style-56 { max-width: 800px; margin-top: 40px; display:flex; flex-direction:column; gap:20px; }
.inline-style-57 { background:var(--paper); padding:24px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.inline-style-58 { font-family:'Caveat Brush', cursive; font-size:24px; margin-bottom:10px; }
.inline-style-59 { font-size:18px; color:#555; line-height:1.5; }
.inline-style-60 { padding:0; }
.inline-style-61 { margin-top:32px; }
.inline-style-62 { display:flex; flex-direction:column; gap:16px; }
.inline-style-63 { display:flex; gap:12px; align-items:center; font-size:19px; color:#666; }
.inline-style-64 { width:24px;height:24px;flex-shrink:0; }
.inline-style-65 { margin-top: 10px; }
.inline-style-66 { display:none; margin-top:16px; padding:12px; border-radius:4px; font-weight:500; }
.inline-style-67 { height: 600px; border: 4px solid var(--paper); box-shadow: 16px 16px 0 var(--red); background-image: url('../img/portfolio/thumb-2.jpg'); background-size: cover; background-position: top center; transform: rotate(1deg); transition: transform 0.3s ease; }
.inline-style-68 { padding-top:180px; padding-bottom:80px; border-bottom:2.5px solid var(--ink); }
.inline-style-69 { text-align:center; max-width:800px; padding-top:0; }
.inline-style-70 { margin: 16px auto 0; }
.inline-style-71 { padding-bottom: 120px; }
.inline-style-72 { padding-top: 60px; }
.inline-style-73 { padding-top:160px; padding-bottom:60px; border-bottom:2.5px solid var(--ink); }
.inline-style-74 { max-width:800px; padding-top:0; }
.inline-style-75 { margin: 16px 0 0; }
.inline-style-76 { padding-top: 60px; max-width:800px; font-size:18px; line-height:1.7; color:#444; }
.inline-style-77 { margin-bottom:24px; }
.inline-style-78 { font-family:'Raleway', sans-serif; font-weight:800; font-size:24px; color:var(--ink); margin: 40px 0 16px; }
.inline-style-79 { margin-bottom:16px; }
.inline-style-80 { margin-bottom:24px; padding-left:24px; }
.inline-style-81 { margin-bottom:8px; }
.inline-style-82 { height: 600px; border: 4px solid var(--paper); box-shadow: 16px 16px 0 var(--red); background-image: url('../img/portfolio/thumb-a1.jpg'); background-size: cover; background-position: top center; transform: rotate(1deg); transition: transform 0.3s ease; }
.inline-style-83 { height: 600px; border: 4px solid var(--paper); box-shadow: 16px 16px 0 var(--red); background-image: url('../img/portfolio/thumb-1.jpg'); background-size: cover; background-position: top center; transform: rotate(1deg); transition: transform 0.3s ease; }