:root {
  --bg: #f5efe2;
  --bg-2: #ede7d8;
  --ink: #141416;
  --ink-soft: #2a2a2d;
  --mute: #8a8780;
  --line: #dad4c2;
  --red-pale: #ffdbcc;
  --red: #ff5511;
  --red-2: #ff4400;
  --red-deep: #cc3600;
  --red-card: #ffc2b3;
  --gray-card: #eae7dd;
  --pill: #141416;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background: radial-gradient(120% 70% at 50% 0%,
      #f8f4ea 0%,
      #f0ebdc 60%,
      #e8e2d0 100%);
  min-height: 100vh;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 0;
  z-index: 50;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 229, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.5s cubic-bezier(0.6, 0, 0.2, 1);
  border: 1px solid transparent;
}

.nav.scrolled {
  top: 20px;
  max-width: 1100px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  width: 92%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 4px 2px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a svg {
  transition: transform 0.3s;
}

.nav-links a:hover svg {
  transform: rotate(180deg);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-pill {
  background: var(--pill);
  color: #fafaf7;
  border: none;
  padding: 13px 32px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.4),
    0 4px 8px -2px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}

.contact-pill:hover {
  transform: translateY(-2px);
}

/* HERO */
.hero {
  padding: 130px 40px 60px;
  text-align: center;
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.headline {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7.2vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 1300px;
  margin: 0 auto 26px;
}

.headline .line {
  display: block;
  overflow: hidden;
  padding: 6px 0;
}

.headline .line>span {
  display: inline-block;
  transform: translateY(105%);
}

.subhead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 50px;
}

.get-started {
  background: var(--red-2);
  color: var(--ink);
  border: none;
  padding: 14px 40px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 24px -10px rgba(255, 68, 0, 0.45),
    0 4px 8px -2px rgba(255, 68, 0, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 5px rgba(204, 54, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.4s;
  min-width: 200px;
}

.get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 32px -10px rgba(255, 68, 0, 0.5),
    0 6px 12px -3px rgba(255, 68, 0, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 5px rgba(204, 54, 0, 0.3);
}

.try-demo {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(20, 20, 22, 0.15);
  padding: 12px 38px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: border-color 0.3s, background 0.3s, transform 0.4s;
  min-width: 200px;
}

.try-demo:hover {
  border-color: rgba(20, 20, 22, 0.4);
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Floating accent badges */
.accent {
  position: absolute;
  z-index: 6;
  will-change: transform;
}

.acc-plus {
  top: 26%;
  left: 6%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 22px -8px rgba(255, 68, 0, 0.45),
    0 4px 8px -2px rgba(255, 68, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(204, 54, 0, 0.3);
  color: var(--ink);
}

.acc-down {
  top: 37%;
  left: 11%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
}

.acc-mail {
  top: 28%;
  right: 14%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-deep);
  box-shadow: 0 10px 18px -6px rgba(255, 68, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(204, 54, 0, 0.3);
}

.acc-chart {
  top: 26%;
  right: 7%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-card);
  box-shadow: 0 10px 18px -6px rgba(40, 70, 20, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(20, 40, 10, 0.5);
}

.acc-square {
  top: 24%;
  right: 4%;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fafaf7;
  box-shadow: 0 10px 18px -6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.acc-bars {
  top: 42%;
  right: 6%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-deep);
  box-shadow: 0 10px 18px -6px rgba(255, 68, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

/* Card row */
.card-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr 1fr 1.05fr;
  gap: 16px;
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  padding-top: 30px;
}

.card {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.5s;
  will-change: transform;
}

.card:hover {
  transform: translateY(-10px);
}

/* Card 1: Green mission card with topographic waves */
.card-mission {
  background: var(--red-card);
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 0.78 / 1;
  box-shadow: 0 24px 40px -16px rgba(255, 68, 0, 0.28),
    0 10px 18px -6px rgba(255, 68, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(204, 54, 0, 0.2);
}

.card-mission .waves {
  width: 100%;
  height: 50%;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  margin-bottom: 20px;
}

.card-mission .waves svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.65;
}

.arrow-c-card {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 0.3s, transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}

.card:hover .arrow-c-card {
  background: var(--ink);
  color: var(--red-card);
  transform: rotate(45deg);
}

.card-mission .mtxt {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
}

/* Card 2: 350% stat card */
.card-stat {
  background: var(--gray-card);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 0.85 / 1;
  box-shadow: 0 22px 38px -16px rgba(40, 30, 10, 0.2),
    0 8px 16px -4px rgba(40, 30, 10, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

.card-stat.green-stat {
  background: var(--red-card);
  box-shadow: 0 24px 40px -16px rgba(255, 68, 0, 0.28),
    0 10px 18px -6px rgba(255, 68, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(204, 54, 0, 0.2);
}

.card-stat .stat-num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

.card-stat .stat-lbl {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 180px;
}

/* Card 3: Photo with "Show the results" */
.card-photo {
  aspect-ratio: 0.95 / 1;
  background: #0e0e10;
  box-shadow: 0 24px 42px -16px rgba(0, 0, 0, 0.35),
    0 10px 20px -6px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1);
}

.card-photo:hover img {
  transform: scale(1.05);
}

.card-photo .photo-cta {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  color: #fafaf7;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 2;
}

.card-photo .photo-cta::after {
  content: "→";
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}

.card-photo:hover .photo-cta::after {
  transform: translateX(6px);
}

.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

/* Card 5: Portrait photo with floating chart badge */
.card-portrait {
  aspect-ratio: 0.78 / 1;
  background: #dad3c5;
  border-radius: 28px;
  box-shadow: 0 24px 42px -16px rgba(40, 30, 10, 0.28),
    0 10px 20px -6px rgba(40, 30, 10, 0.14),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.card-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1);
}

.card-portrait:hover img {
  transform: scale(1.04);
}

.card-portrait .chart-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-deep);
  z-index: 2;
  box-shadow: 0 10px 18px -4px rgba(255, 68, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(204, 54, 0, 0.3);
}

/* ============ SECTION 2: WORKFLOW ============ */
.workflow {
  padding: 140px 40px 100px;
  position: relative;
  z-index: 5;
}

.wf-head {
  max-width: 1300px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 3px rgba(255, 68, 0, 0.3);
}

.wf-head h2 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 720px;
}

.wf-head h2 em {
  font-style: italic;
  font-weight: 700;
  color: var(--red-deep);
}

.wf-head p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 340px;
}

.wf-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wf-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 22px 40px -16px rgba(40, 30, 10, 0.2),
    0 8px 16px -4px rgba(40, 30, 10, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.wf-card:hover {
  transform: translateY(-8px);
}

.wf-card .step-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--red-deep);
}

.wf-card .step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-deep);
  box-shadow: 0 12px 22px -6px rgba(255, 68, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(204, 54, 0, 0.3);
}

.wf-card.dark {
  background: var(--ink);
  color: #f4edde;
}

.wf-card.dark .step-num {
  color: var(--red);
}

.wf-card.dark h3 {
  color: #fafaf7;
}

.wf-card.dark p {
  color: rgba(255, 255, 255, 0.6);
}

.wf-card.dark .step-icon {
  background: var(--red-deep);
  color: var(--red);
  box-shadow: 0 12px 22px -6px rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.wf-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.wf-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}

/* ============ SECTION 3: CTA ============ */
.cta-section {
  padding: 40px 40px 140px;
  position: relative;
  z-index: 5;
}

.cta-inner {
  max-width: 1300px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 90px 60px;
  color: #f4edde;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20, 12, 0, 0.45),
    0 16px 32px -12px rgba(20, 12, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -3px 8px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta-inner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 68, 0, 0.3),
      transparent 65%);
  top: -200px;
  left: -100px;
  filter: blur(30px);
}

.cta-inner h2 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.8vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.cta-inner h2 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-right {
  position: relative;
  z-index: 1;
}

.cta-right p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.cta-btn {
  background: var(--red-2);
  color: var(--ink);
  border: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 26px -10px rgba(255, 68, 0, 0.5),
    0 5px 10px -2px rgba(255, 68, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(204, 54, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.cta-btn .ar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--red-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}

.cta-btn:hover .ar {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 1100px) {
  .card-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .card-row> :nth-child(4),
  .card-row> :nth-child(5) {
    grid-column: span 1.5;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 60px 30px;
  }

  .wf-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 90px 16px 30px;
  }

  .accent {
    display: none;
  }

  .card-row {
    grid-template-columns: 1fr 1fr;
  }

  .card-row> :nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 1.6/1;
  }

  .workflow {
    padding: 60px 18px;
  }

  .wf-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 20px 18px 60px;
  }

  .cta-inner {
    padding: 50px 24px;
    border-radius: 28px;
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 1.2s cubic-bezier(0.7, 0, 0.2, 1);
}

.preloader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--ink);
  overflow: hidden;
}

.preloader-logo-mark {
  width: 40px;
  height: 40px;
}

.preloader-logo-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* ============================================================
   PAGE ROUTER TRANSITIONS
   ============================================================ */
#app-content {
  position: relative;
  min-height: 100vh;
}

.page-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.page-view.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero {
  padding: 180px 40px 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.services-hero h1 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 60px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-item {
  border-top: 2px solid var(--ink);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.service-item h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-item p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 200px 40px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero h2 {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--ink);
}

.about-hero h2 span {
  color: var(--red-2);
  font-weight: 700;
  font-style: italic;
  display: inline-block;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 180px 40px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info h1 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.contact-details h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  margin-bottom: 8px;
}

.contact-details p {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
}

.contact-form {
  border: 4px solid var(--ink);
  padding: 40px;
  background: var(--bg);
  box-shadow: 16px 16px 0 var(--red-2);
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  padding: 10px 0;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--red-2);
}

.submit-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background: var(--red-2);
  transform: translateY(-2px);
}

/* ============================================================
   WORKS SECTION
   ============================================================ */
.works-section {
  padding: 100px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.work-card {
  background: var(--bg-2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s;
  cursor: pointer;
  border: 1px solid var(--line);
}

.work-card:hover {
  transform: translateY(-8px);
}

.work-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  overflow: hidden;
}

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.work-card:hover .work-img img {
  transform: scale(1.05);
}

.work-info {
  padding: 24px;
}

.work-info h3 {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.work-info p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ============================================================
   CLIENTS / MARQUEE
   ============================================================ */
.clients-section {
  padding: 100px 0;
  border: none;
  overflow: hidden;
  background: transparent;
  margin: 0px 0;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

.marquee-content span {
  font-family: "Inter", sans-serif;
  font-size: 60px;
  font-weight: 800;
  margin: 0 40px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  transition: color 0.3s;
}

.marquee-content span:hover {
  color: var(--red-2);
  -webkit-text-stroke: 1.5px var(--red-2);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: transparent;
  color: var(--ink);
  padding: 80px 40px 40px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand h2 {
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--red-2);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 16px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.link-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 20px;
}

.link-col a {
  display: block;
  color: var(--bg);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 16px;
  transition: color 0.3s;
}

.link-col a:hover {
  color: var(--red-2);
}

.footer-bottom {
  max-width: 1300px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  opacity: 0.5;
}

@media (max-width: 700px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
}

/* Update Footer Styles for simple layout */
.footer-inner {
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  flex-direction: column;
}

.footer-left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-logo {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--red-2);
  margin: 0;
}

.footer-center {
  display: flex;
  gap: 40px;
}

.footer-center a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-center a:hover {
  color: var(--red-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-policies {
  display: flex;
  gap: 20px;
}

.footer-policies a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-policies a:hover {
  color: var(--red-2);
}

/* Adjust grid for works to be 3 columns */
.works-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-left {
    position: relative;
    top: auto;
    transform: none;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Marquee Icon Floating Styles */
.marquee-content {
  display: inline-flex;
  align-items: center;
  animation: marquee 50s linear infinite;
  padding: 20px 0;
}

.marquee-content img.float-icon {
  height: 160px;
  width: auto;
  margin: 0 40px;
  object-fit: contain;
  vertical-align: middle;
  animation: floatUpAndDown 3s ease-in-out infinite;
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.15));
}

@keyframes floatUpAndDown {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-icon.delay-1 {
  animation-delay: 0s !important;
}

.float-icon.delay-2 {
  animation-delay: 0.6s !important;
}

.float-icon.delay-3 {
  animation-delay: 1.2s !important;
}

.float-icon.delay-4 {
  animation-delay: 1.8s !important;
}

.float-icon.delay-5 {
  animation-delay: 2.4s !important;
}
/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.pt-150 {
  padding-top: 150px !important;
}
.service-item {
  display: grid;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.3s, background 0.3s;
}
.service-item:hover {
  padding-left: 20px;
  background: rgba(0,0,0,0.02);
}
.service-arrow {
  font-size: 30px;
  justify-self: end;
  transition: transform 0.3s;
}
.service-item:hover .service-arrow {
  transform: translateX(10px);
  color: var(--red-2);
}

.service-detail-hero {
  max-width: 1000px;
  margin: 0 auto 60px;
}
.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red-2);
  text-decoration: none;
  transition: opacity 0.3s;
}
.back-link:hover {
  opacity: 0.7;
}
.service-detail-hero h1 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.service-detail-hero p {
  font-size: 22px;
  line-height: 1.6;
  opacity: 0.8;
}

.sd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto 80px;
}
.sd-left h3 {
  font-size: 24px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 15px;
}
.sd-features {
  list-style: none;
  padding: 0;
}
.sd-features li {
  font-size: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  padding-left: 24px;
}
.sd-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red-2);
  font-weight: bold;
}
.sd-right {
  height: 100%;
}
.sd-image {
  background: var(--ink);
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: 20px;
  background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  box-shadow: 16px 16px 0 var(--red-2);
}

.service-detail-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 40px;
  text-align: center;
  border-radius: 40px;
  max-width: 1300px;
  margin: 0 auto 80px;
}
.service-detail-cta h2 {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.btn-heavy {
  display: inline-block;
  background: var(--red-2);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  padding: 24px 48px;
  border-radius: 100px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  box-shadow: 0 10px 20px -5px rgba(255, 68, 0, 0.4);
}
.btn-heavy:hover {
  transform: translateY(-5px);
}


/* Anti-FOUC (Flash of Unstyled Content) */
html.js-loading body {
  opacity: 0;
  visibility: hidden;
}
html.js-loading.js-loaded body {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 1000px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .work-info {
    padding: 16px;
  }
  .work-info h3 {
    font-size: 18px;
  }
  .work-info p {
    font-size: 13px;
  }
}

/* ============================================================
   RESPONSIVE OVERHAUL & FOOTER
   ============================================================ */

/* Footer */
.site-footer {
  background: transparent;
  color: var(--ink);
  padding: 80px 40px 40px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto 60px;
  gap: 30px;
}
.footer-logo {
  font-family: "Inter", sans-serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red-2);
  margin: 0;
}
.footer-center {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-center a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-center a:hover {
  color: var(--red-2);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  color: var(--mute);
  font-size: 14px;
  margin: 0;
}
.footer-policies {
  display: flex;
  gap: 24px;
}
.footer-policies a {
  color: var(--mute);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-policies a:hover {
  color: var(--red-2);
}

/* Responsive Fixes */
@media (max-width: 1100px) {
  .site-footer {
    padding: 60px 20px 20px;
    border-radius: 20px 20px 0 0;
  }
}

@media (max-width: 900px) {
  .sd-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .service-detail-hero h1 {
    font-size: 50px !important;
  }
  .service-detail-hero p {
    font-size: 18px !important;
  }
  .service-detail-cta {
    padding: 60px 20px !important;
  }
  .service-detail-cta h2 {
    font-size: 32px !important;
  }
  .services-hero {
    padding: 120px 20px 40px !important;
  }
  .services-hero h1 {
    font-size: 50px !important;
  }
  .btn-heavy {
    font-size: 14px !important;
    padding: 16px 32px !important;
  }
}

/* Hamburger Toggle (Hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
  margin-left: 15px;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    padding: 16px 20px !important;
    flex-wrap: nowrap !important;
    position: relative;
    background: var(--bg);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column !important;
    align-items: center;
    padding: 30px 0 !important;
    border-bottom: 1px solid var(--line);
    margin-top: 0 !important;
    
    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.6, 0, 0.2, 1);
    
    /* Override display:none/flex */
    display: flex !important;
    gap: 30px !important;
    font-size: 18px !important;
    z-index: 999;
    box-shadow: 0 20px 20px -20px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .contact-pill {
    margin-left: auto;
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
  
  .footer-inner {
    flex-direction: column;
  }
  .footer-center {
    flex-direction: column;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .works-section {
    padding: 60px 16px !important;
  }
  .accent {
    display: none !important;
  }
  .wf-head h2 {
    font-size: 40px !important;
  }
}

/* Custom Logo Image Styles */
.site-logo-img {
  height: 36px;
  object-fit: contain;
}
.footer-logo-img {
  height: 48px;
  object-fit: contain;
}
.preloader-logo-img {
  height: 80px;
  object-fit: contain;
}

/* Contact Page Styles */
.contact-hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.contact-info {
  flex: 1;
}
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-details h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--ink);
}
.contact-details p {
  font-size: 16px;
  color: var(--mute);
}
.contact-form-wrapper {
  flex: 1;
  background: var(--gray-card);
  padding: 40px;
  border-radius: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}
.submit-btn {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 32px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}
.submit-btn:hover {
  background: var(--ink-soft);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .contact-hero {
    flex-direction: column;
    padding: 120px 24px 60px;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
}
