/* ==========================================================================
   APPERDEV REDESIGN SYSTEM — MODERN MOBILE STUDIO STYLES
   ========================================================================== */

:root {
  --bg: #fbfbf7;
  --ink: #10110f;
  --muted: #71736d;
  --line: #e6e7df;
  --color-primary: #5956E9;
  --primary-hover: #4A47D5;
  --primary-light: #ECF0FF;
  --brand-purple: #5956E9;
  --brand-purple-hover: #4A47D5;
  --brand-purple-light: #EEF1FF;
  --brand-glow: rgba(89, 86, 233, 0.28);
  --deep: #10121a;
  --card: #f1f2eb;
  --blue: #dce9ff;
  --peach: #f1d2bd;
  --white: #ffffff;
  --max: 1240px;
}

/* Base resets & typography for site pages */
.redesign-body {
  margin: 0;
  font-family: 'Manrope', 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.redesign-body * {
  box-sizing: border-box;
}

.redesign-body a {
  color: inherit;
  text-decoration: none;
}

.redesign-body button,
.redesign-body input,
.redesign-body textarea,
.redesign-body select {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

/* --------------------------------------------------------------------------
   Navigation Bar (Redesign)
   -------------------------------------------------------------------------- */
.redesign-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 999;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  padding: 18px 0;
}

.redesign-nav.scrolled {
  background: rgba(251, 251, 247, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 17, 15, 0.08);
  padding: 12px 0;
}

.navin {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
  color: var(--ink);
}

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

.nav-links a.active {
  position: relative;
  font-weight: 700;
}

.nav-links a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--ink);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--color-primary);
}

.nav-dropdown-trigger.active {
  font-weight: 700;
}

.nav-dropdown-trigger .dropdown-chevron {
  font-size: 9px;
  transition: transform 0.22s ease;
  display: inline-block;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  min-width: 175px;
  box-shadow: 0 16px 36px rgba(16, 17, 15, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Invisible bridge so mouse hover doesn't break between trigger and menu */
.nav-dropdown-menu:before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}

.nav-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #f4f5f0;
  color: var(--color-primary);
}

.nav-dropdown-menu a.active {
  background: #eceee6;
  font-weight: 700;
  color: var(--ink);
}

.nav-dropdown-menu a.active:after {
  display: none;
}

.navcta,
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--ink);
  transition: all 0.22s ease;
  cursor: pointer;
}

.navcta {
  background: var(--ink);
  color: #fff !important;
}

.navcta:hover,
.btn-modern.dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 17, 15, 0.14);
}

.btn-modern.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-modern.light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-modern.light:hover {
  background: #f4f5f0;
  transform: translateY(-2px);
}

.btn-modern.accent {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #ffffff !important;
}

.btn-modern.accent:hover {
  background: var(--brand-purple-hover);
  border-color: var(--brand-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-glow);
}

.btn-modern.primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-modern.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(89, 86, 233, 0.25);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(16, 17, 15, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  width: min(340px, 85vw);
  height: 100%;
  background: #fff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu-drawer.open .mobile-menu-inner {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  font-weight: 700;
}

.mobile-menu-links a {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  padding: 140px 0 82px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(89, 86, 233, 0.14);
  filter: blur(60px);
  right: -160px;
  top: 70px;
  animation: drift 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow,
.eye {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.eyebrow i,
.eye:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand-purple);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(89, 86, 233, 0.18);
}

h1.hero-title,
.hero h1 {
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  margin: 24px 0 28px;
  max-width: 780px;
  color: var(--ink);
  font-weight: 800;
}

.accent {
  position: relative;
  display: inline-block;
}

.accent:after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: 5px;
  height: 18px;
  background: rgba(89, 86, 233, 0.2);
  z-index: -1;
  transform: rotate(-1.8deg);
  border-radius: 4px;
}

.heroCopy {
  max-width: 610px;
  font-size: 18px;
  line-height: 1.55;
  color: #54564f;
}

.heroActions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid var(--bg);
  margin-left: -8px;
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(1) { background: #c9d6ff; }
.avatars span:nth-child(2) { background: #ffd0b8; }
.avatars span:nth-child(3) { background: #c7efc9; }

/* --------------------------------------------------------------------------
   Hero Visual / Phone Mockups
   -------------------------------------------------------------------------- */
.heroVisual {
  height: 620px;
  position: relative;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb.a {
  width: 310px;
  height: 310px;
  background: var(--green);
  right: 58px;
  top: 95px;
}

.orb.b {
  width: 180px;
  height: 180px;
  background: #d9e7ff;
  left: 12px;
  bottom: 65px;
}

.phone {
  position: absolute;
  width: 236px;
  height: 486px;
  background: #111;
  border-radius: 42px;
  padding: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
  will-change: transform;
  z-index: 2;
}

.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background: #f7f7f2;
  overflow: hidden;
  position: relative;
  padding: 30px 18px 18px;
}

.phone:before {
  content: "";
  position: absolute;
  z-index: 5;
  width: 80px;
  height: 20px;
  background: #111;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
}

.phone.one {
  left: 52px;
  top: 65px;
  transform: rotate(-8deg);
  animation: floatA 6s ease-in-out infinite;
}

.phone.two {
  right: 18px;
  top: 118px;
  transform: rotate(8deg);
  animation: floatB 7s ease-in-out infinite;
}

.phone.three {
  left: 212px;
  bottom: -6px;
  width: 190px;
  height: 392px;
  transform: rotate(1deg);
  animation: floatC 8s ease-in-out infinite;
}

.miniTop {
  font-size: 10px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  opacity: 0.8;
}

.appTitle {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-top: 32px;
}

.wallet {
  margin-top: 18px;
  border-radius: 22px;
  background: var(--deep);
  color: white;
  padding: 18px;
}

.wallet small {
  opacity: 0.65;
}

.wallet strong {
  display: block;
  font-size: 28px;
  margin-top: 4px;
}

.chart {
  height: 84px;
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.chart i {
  flex: 1;
  background: var(--green);
  border-radius: 4px 4px 1px 1px;
}

.tileRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.tile {
  border-radius: 15px;
  background: #eceee6;
  padding: 12px;
  font-size: 10px;
}

.tile strong {
  font-size: 16px;
  display: block;
  margin-top: 6px;
}

.wellness .screen {
  background: #173329;
  color: #fff;
}

.wellness .appTitle {
  font-weight: 600;
}

.mood {
  display: flex;
  gap: 6px;
  margin-top: 22px;
}

.mood span {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.audio {
  margin-top: 25px;
  background: var(--green);
  color: #152116;
  padding: 14px;
  border-radius: 18px;
}

.wave {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wave i {
  width: 3px;
  background: #152116;
  border-radius: 3px;
}

.security .screen {
  background: #f1d8c5;
}

.lock {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 46px auto 15px;
  background: #111;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 32px;
}

.security {
  text-align: center;
}

.security p {
  font-size: 10px;
  color: #5f5148;
  line-height: 1.4;
}

.spark {
  position: absolute;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.spark.s1 {
  right: 6px;
  top: 55px;
  animation: spin 9s linear infinite;
}

.spark.s2 {
  left: 12px;
  top: 250px;
  color: #7d8da5;
  animation: spin 12s linear infinite reverse;
}

/* --------------------------------------------------------------------------
   Logo Ticker / Marquee
   -------------------------------------------------------------------------- */
.logoBar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 62px;
  padding: 20px 0;
  animation: marquee 24s linear infinite;
}

.marquee span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #777a72;
  font-weight: 700;
  white-space: nowrap;
}

.marquee b {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Sections & Layout Grids
   -------------------------------------------------------------------------- */
.section {
  padding: 120px 0;
  position: relative;
}

.sectionHead {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  margin-bottom: 58px;
}

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.sectionHead h2,
.splitCopy h2,
.stickyCopy h2,
.sideCopy h2,
.sticky h2,
.head h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.97;
  letter-spacing: -0.055em;
  margin: 0;
  max-width: 830px;
  font-weight: 800;
  color: var(--ink);
}

.sectionHead p,
.splitCopy p,
.stickyCopy p,
.sideCopy p,
.sticky p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 630px;
  margin: 22px 0 0;
}

/* --------------------------------------------------------------------------
   Project & Case Study Cards
   -------------------------------------------------------------------------- */
.projectGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.projectCard {
  min-height: 620px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.7s, transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.projectCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(16, 17, 15, 0.08);
}

.case {
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(16, 17, 15, 0.08);
}

.back-nav-link {
  transition: transform 0.2s ease, color 0.2s ease;
}

.back-nav-link:hover {
  color: var(--brand-purple) !important;
  transform: translateX(-4px);
}

.back-nav-link:hover span {
  background: var(--brand-purple-light) !important;
  color: var(--brand-purple) !important;
}

.projectCard.big {
  grid-row: span 2;
  background: var(--blue);
}

.projectCard.green {
  background: #173329;
  color: #fff;
}

.projectCard.green h3,
.projectCard.green p,
.projectCard.green small,
.projectCard.green .projectTop span {
  color: #fff !important;
}

.projectCard.green p {
  opacity: 0.85;
}

.projectCard.peach {
  background: var(--peach);
}

.projectTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.projectTop small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.projectCard h3 {
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 12px 0;
  font-weight: 800;
}

.projectCard p {
  max-width: 420px;
  opacity: 0.74;
  font-size: 14px;
  line-height: 1.55;
}

.stage {
  height: 360px;
  position: relative;
}

.projectCard.big .stage {
  height: 480px;
  margin-top: 24px;
}

.stage .phone {
  width: 200px;
  height: 410px;
  top: 8px;
  animation: none;
  transition: transform 0.5s ease;
}

.projectCard.big .stage .phone {
  width: 230px;
  height: 460px;
}

.stage .aPhone {
  left: 18%;
  transform: rotate(-6deg);
}

.projectCard.big .stage .aPhone {
  left: 10%;
}

.stage .bPhone {
  right: 15%;
  transform: rotate(5deg);
}

.projectCard.big .stage .bPhone {
  right: 8%;
}

.projectCard:hover .stage .phone:first-child {
  transform: translate(-12px, -8px) rotate(-9deg);
}

.projectCard:hover .stage .phone:last-child {
  transform: translate(12px, -18px) rotate(7deg);
}

/* --------------------------------------------------------------------------
   Proof / Stats Section
   -------------------------------------------------------------------------- */
.proof {
  background: var(--deep);
  color: #fff;
}

.proof .sectionHead h2,
.proof h2 {
  color: #fff;
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 0;
  font-weight: 800;
}

.proofGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: flex-end;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #373c37;
}

.stat {
  padding: 28px 0;
  border-bottom: 1px solid #373c37;
}

.stat:nth-child(odd) {
  border-right: 1px solid #373c37;
  padding-right: 30px;
}

.stat:nth-child(even) {
  padding-left: 30px;
}

.stat strong {
  font-size: 54px;
  letter-spacing: -0.06em;
  display: block;
  font-weight: 800;
}

.stat span {
  font-size: 12px;
  color: #a3a8a3;
}

/* --------------------------------------------------------------------------
   Services Split & Service Stack
   -------------------------------------------------------------------------- */
.servicesGrid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.splitCopy {
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.service {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  transition: all 0.25s ease;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.4);
}

.service span:first-child {
  font-size: 11px;
  color: var(--muted);
}

.service h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.service em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.serviceStack {
  display: grid;
  gap: 18px;
}

.serviceCard {
  border-radius: 30px;
  min-height: 520px;
  padding: 38px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  overflow: hidden;
  position: relative;
}

.serviceCard:nth-child(1) { background: var(--green); }
.serviceCard:nth-child(2) { background: var(--blue); }
.serviceCard:nth-child(3) { background: #173329; color: #fff; }
.serviceCard:nth-child(3) h3,
.serviceCard:nth-child(3) .serviceNum,
.serviceCard:nth-child(3) p,
.serviceCard:nth-child(3) .pill {
  color: #fff !important;
}
.serviceCard:nth-child(3) p {
  opacity: 0.85;
}
.serviceCard:nth-child(3) .serviceNum {
  opacity: 0.75;
}
.serviceCard:nth-child(3) .pill {
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.serviceCard:nth-child(4) { background: var(--peach); }
.serviceCard:nth-child(5) { background: var(--card); }

.serviceTop {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.serviceNum {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.serviceCard h3 {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 18px 0;
  font-weight: 800;
}

.serviceCard p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 430px;
  opacity: 0.75;
}

.serviceMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.serviceVisual {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.34);
  min-height: 440px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.serviceCard:nth-child(3) .serviceVisual {
  background: rgba(255, 255, 255, 0.07);
}

.flow {
  display: grid;
  gap: 10px;
  position: absolute;
  inset: 45px;
}

.flow div {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(16, 17, 15, 0.06);
}

.flow div:nth-child(2) { margin-left: 40px; }
.flow div:nth-child(3) { margin-left: 80px; }
.flow small { font-size: 10px; color: var(--muted); }
.flow strong { display: block; font-size: 17px; margin-top: 5px; }

.wire {
  position: absolute;
  inset: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}

.wire div {
  height: 310px;
  border-radius: 28px;
  background: #fff;
  padding: 18px;
}

.wire div:nth-child(2) { transform: translateY(22px); }
.wire i { display: block; background: #eceee6; border-radius: 10px; height: 14px; margin: 12px 0; }
.wire i.big { height: 130px; border-radius: 18px; background: var(--green); }

.codepane {
  position: absolute;
  inset: 36px;
  background: #101a14;
  border-radius: 22px;
  padding: 24px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
  overflow: hidden;
}

.codepane .muted { color: #6f8375; }

.apiGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: absolute;
  inset: 40px;
}

.apiGrid div {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.apiGrid b { font-size: 26px; letter-spacing: -0.04em; }

.checklist {
  position: absolute;
  inset: 42px;
  display: grid;
  gap: 10px;
}

.checklist div {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist i {
  font-style: normal;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Process Steps
   -------------------------------------------------------------------------- */
.process {
  background: #f0f2fd;
  border-top: 1px solid #dce0f5;
  border-bottom: 1px solid #dce0f5;
}

.process h2 {
  max-width: 880px;
}

.steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(89, 86, 233, 0.2);
}

.step {
  padding: 28px 26px 10px 0;
  border-right: 1px solid rgba(89, 86, 233, 0.2);
  min-height: 220px;
}

.step:not(:first-child) {
  padding-left: 26px;
}

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

.step small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--brand-purple);
}

.step h3 {
  font-size: 21px;
  margin: 30px 0 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step p {
  font-size: 13px;
  line-height: 1.6;
  color: #4a4f66;
}

/* --------------------------------------------------------------------------
   Call To Action Box
   -------------------------------------------------------------------------- */
.cta {
  padding: 70px 0;
}

.ctaBox {
  background: var(--deep);
  color: #fff;
  border-radius: 34px;
  padding: 74px;
  position: relative;
  overflow: hidden;
}

.ctaBox:after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(89, 86, 233, 0.5) 0%, rgba(89, 86, 233, 0) 70%);
  border-radius: 50%;
  right: -100px;
  bottom: -150px;
  pointer-events: none;
}

.ctaBox h2 {
  font-size: clamp(48px, 6.5vw, 90px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0;
  max-width: 850px;
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 800;
}

.ctaBox p {
  max-width: 520px;
  color: #b5b9b4;
  margin: 26px 0;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.ctaBox .btn-modern {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff !important;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.ctaBox .btn-modern:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 8px 24px var(--brand-glow);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-redesign {
  padding: 30px 0 50px;
  background: var(--bg);
}

.footerIn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   About Page Components
   -------------------------------------------------------------------------- */
.storyGrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.portrait {
  min-height: 620px;
  border-radius: 30px;
  background: #173329;
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: 34px;
  color: #fff;
}

.portrait:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: var(--green);
  border-radius: 50%;
  right: -110px;
  bottom: -80px;
}

.portraitCard {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 110px;
  background: #fbfbf7;
  color: #10110f;
  border-radius: 26px;
  padding: 30px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.portraitCard .mark {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: #111;
  position: relative;
}

.portraitCard .mark:after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  right: 12px;
  top: 12px;
}

.portraitCard h3 {
  font-size: 34px;
  letter-spacing: -0.05em;
  margin: 24px 0 8px;
  font-weight: 800;
}

.portraitCard p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.storyCopy .bigQuote {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 0 0 36px;
  font-weight: 700;
}

.storyCopy p {
  font-size: 16px;
  line-height: 1.8;
  color: #565951;
  margin: 0 0 24px;
}

.storyRule {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.storyRule strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.storyRule span {
  font-size: 12px;
  color: var(--muted);
}

.values {
  background: #f0f2fd;
  border-top: 1px solid #dce0f5;
  border-bottom: 1px solid #dce0f5;
}

.valuesGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value {
  background: #ffffff;
  border: 1px solid #dbe2ff;
  border-radius: 26px;
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(89, 86, 233, 0.05);
}

.value small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--brand-purple);
}

.value h3 {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0 0 12px;
  font-weight: 800;
}

.value p {
  font-size: 13px;
  line-height: 1.65;
  color: #555a6d;
  max-width: 430px;
}

.focusGrid,
.engagementGrid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
}

.focusItem,
.mode {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
}

.focusItem:last-child,
.mode:last-child {
  border-bottom: 1px solid var(--line);
}

.focusItem span,
.mode span {
  font-size: 11px;
  color: var(--muted);
}

.focusItem h3,
.mode h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
  font-weight: 700;
}

.focusItem p,
.mode p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 55px;
}

.time {
  padding: 28px 24px 0 0;
  border-right: 1px solid var(--line);
  min-height: 210px;
}

.time:not(:first-child) {
  padding-left: 24px;
}

.time:last-child {
  border-right: 0;
}

.time strong {
  font-size: 36px;
  letter-spacing: -0.055em;
  display: block;
  font-weight: 800;
}

.time small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.time p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Portfolio & Work Cards
   -------------------------------------------------------------------------- */
.filterbar {
  position: sticky;
  top: 68px;
  z-index: 20;
  background: rgba(251, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
}

.filter-btn {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font: 600 12px 'Manrope', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.case {
  border-radius: 32px;
  overflow: hidden;
  margin: 26px 0;
  min-height: 690px;
  position: relative;
  padding: 44px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: stretch;
}

/* 2-Column Portfolio Grid */
.portfolioTwoColGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .portfolioTwoColGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.portfolioTwoColGrid .case {
  margin: 0;
  min-height: 740px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  gap: 24px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolioTwoColGrid .case:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(16, 17, 15, 0.1);
}

.portfolioTwoColGrid .case .copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portfolioTwoColGrid .case h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 14px 0 10px;
  font-weight: 800;
}

.portfolioTwoColGrid .case p {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.portfolioTwoColGrid .caseLink {
  margin-top: 14px;
  font-size: 13px;
}

.portfolioTwoColGrid .case-visual {
  border-radius: 22px;
  position: relative;
  min-height: 380px;
  height: 380px;
  overflow: hidden;
  margin-top: auto;
}

.portfolioTwoColGrid .case-visual .phone {
  width: 180px;
  height: 370px;
}

.portfolioTwoColGrid .case-visual .p1 {
  left: 6%;
  top: 30px;
  transform: rotate(-6deg);
}

.portfolioTwoColGrid .case-visual .p2 {
  right: 5%;
  top: 55px;
  transform: rotate(6deg);
}

.portfolioTwoColGrid .case:hover .p1 {
  transform: translate(-8px, -10px) rotate(-8deg);
}

.portfolioTwoColGrid .case:hover .p2 {
  transform: translate(8px, -14px) rotate(8deg);
}

.case.blue { background: var(--blue); }
.case.green { background: #173329; color: #fff; }
.case.green h2,
.case.green p,
.case.green .num,
.case.green .tag,
.case.green .caseLink {
  color: #fff !important;
}
.case.green p {
  opacity: 0.85;
}
.case.green .tag {
  border-color: rgba(255, 255, 255, 0.35) !important;
}
.case.peach { background: var(--peach); }
.case.neutral { background: #eceee6; }

.copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.num {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.case h2 {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 18px 0;
  font-weight: 800;
}

.case p {
  max-width: 470px;
  line-height: 1.7;
  font-size: 15px;
  opacity: 0.75;
}

.caseLink {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  margin-top: 28px;
}

.case-visual {
  border-radius: 26px;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.case-visual.darkstage {
  background: rgba(0, 0, 0, 0.16);
}

.case-visual .p1 { left: 15%; top: 58px; transform: rotate(-7deg); }
.case-visual .p2 { right: 12%; top: 100px; transform: rotate(7deg); }

.case:hover .p1 { transform: translate(-10px, -12px) rotate(-9deg); }
.case:hover .p2 { transform: translate(10px, -18px) rotate(9deg); }

.midproof {
  background: var(--deep);
  color: #fff;
  padding: 100px 0;
}

.quote {
  border-top: 1px solid #353b35;
  padding-top: 26px;
}

.quote p {
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 26px;
}

.quote small {
  color: #a3a8a3;
}

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

.miniCard {
  background: var(--card);
  border-radius: 24px;
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease;
}

.miniCard:hover {
  transform: translateY(-5px);
}

.miniCard:nth-child(2) { background: #e5eefe; }
.miniCard:nth-child(3) { background: #f5dfcf; }
.miniCard small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.miniCard h3 { font-size: 30px; letter-spacing: -0.045em; margin: 10px 0; font-weight: 800; }
.miniArt { height: 160px; border-radius: 18px; background: #fff; display: grid; place-items: center; font-size: 40px; }

/* --------------------------------------------------------------------------
   Portfolio Detail Page
   -------------------------------------------------------------------------- */
.showcaseBox {
  min-height: 700px;
  border-radius: 36px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.showcaseBox .p1 { left: 18%; top: 105px; transform: rotate(-8deg); }
.showcaseBox .p2 { right: 18%; top: 80px; transform: rotate(8deg); }

.appBlock {
  height: 200px;
  border-radius: 22px;
  background: #111511;
  color: #fff;
  margin-top: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.appBlock.alt {
  background: var(--green);
  color: #111;
}

.appBlock strong {
  font-size: 30px;
}

.challengeGrid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
}

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

.principle {
  border: 1px solid #343b35;
  border-radius: 24px;
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
}

.principle small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aeb5ae !important;
}

.principle h3 {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
  font-weight: 700;
  color: #ffffff !important;
}

.principle p {
  font-size: 13px;
  line-height: 1.7;
  color: #cfd5cf !important;
}

.screens {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.screenCard {
  border-radius: 30px;
  min-height: 620px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.screenCard:nth-child(1) { background: var(--green); }
.screenCard:nth-child(2) { background: var(--peach); }
.screenCard.full { grid-column: 1 / -1; background: var(--blue); min-height: 500px; }
.screenCard small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.screenCard h3 { font-size: clamp(36px, 4.4vw, 60px); line-height: 0.95; letter-spacing: -0.055em; max-width: 650px; margin: 16px 0; font-weight: 800; }

.mock {
  position: absolute;
  width: 210px;
  height: 430px;
  background: #111;
  border-radius: 38px;
  padding: 7px;
  right: 10%;
  bottom: -55px;
  transform: rotate(7deg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

.mock.left { left: 10%; right: auto; transform: rotate(-7deg); }
.mock .inside { height: 100%; background: #f7f7f2; border-radius: 31px; padding: 28px 16px; }
.mock h4 { font-size: 20px; margin-top: 30px; }
.mockbox { height: 180px; border-radius: 18px; background: #111511; margin-top: 18px; }

.nextCard {
  background: var(--deep);
  color: #fff;
  border-radius: 34px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: flex-end;
}

.nextCard small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #a9b2aa; }
.nextCard h2 { font-size: clamp(44px, 5.5vw, 76px); line-height: 0.92; letter-spacing: -0.06em; margin: 18px 0 0; color: #fff; font-weight: 800; }

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricingGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricingCard {
  border-radius: 28px;
  padding: 32px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricingCard:nth-child(1) { background: var(--card); }
.pricingCard:nth-child(2) { background: var(--green); }
.pricingCard:nth-child(3) { background: var(--deep); color: #fff; }

.pricingCard:nth-child(3) h2,
.pricingCard:nth-child(3) .price strong,
.pricingCard:nth-child(3) .pricingFeature,
.pricingCard:nth-child(3) small,
.pricingCard:nth-child(3) p {
  color: #ffffff !important;
}

.pricingCard small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pricingCard:nth-child(3) small { opacity: 0.75; }
.pricingCard h2 { font-size: 36px; line-height: 1; letter-spacing: -0.05em; margin: 16px 0 12px; font-weight: 800; }
.pricingCard p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.pricingCard:nth-child(3) p { opacity: 0.85; }
.price strong { font-size: 48px; letter-spacing: -0.06em; font-weight: 800; }

.pricingFeatures {
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.pricingCard:nth-child(3) .pricingFeatures { border-color: #353b35; }
.pricingFeature { padding: 13px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); font-size: 12px; }
.pricingCard:nth-child(3) .pricingFeature { border-color: #353b35; }

.compareTable {
  border-top: 1px solid var(--line);
  overflow-x: auto;
}

.compareRow {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  min-width: 820px;
  border-bottom: 1px solid var(--line);
}

.compareRow div { padding: 18px; }
.compareRow div:not(:first-child) { border-left: 1px solid var(--line); }
.compareRow span { font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.teamGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.personCard {
  border-radius: 28px;
  overflow: hidden;
  background: #f1f2eb;
}

.personPortrait {
  height: 380px;
  position: relative;
  overflow: hidden;
  background: var(--blue);
}

.personCard:nth-child(1) .personPortrait { background: var(--green); }
.personCard:nth-child(2) .personPortrait { background: var(--blue); }
.personCard:nth-child(3) .personPortrait { background: var(--peach); }

.personBio {
  padding: 25px;
}

.personBio h3 { font-size: 24px; letter-spacing: -0.04em; margin: 0 0 5px; font-weight: 700; }
.personBio small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.personBio p { font-size: 13px; line-height: 1.65; color: var(--muted); margin-top: 10px; }

/* --------------------------------------------------------------------------
   Blog & Insights
   -------------------------------------------------------------------------- */
.featureCard {
  background: var(--deep);
  color: #fff;
  border-radius: 34px;
  min-height: 620px;
  padding: 46px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  overflow: hidden;
  position: relative;
}

.featureCopy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.featureCard h2 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.93;
  letter-spacing: -0.06em;
  margin: 20px 0;
  color: #fff;
  font-weight: 800;
}

.featureCard p {
  color: #b7bcb7;
  font-size: 14px;
  line-height: 1.7;
  max-width: 450px;
}

.featureArt {
  position: relative;
  border-radius: 26px;
  background: #173329;
  overflow: hidden;
  min-height: 500px;
}

.artOrb {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--green);
  right: -50px;
  top: 40px;
}

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

.postCard {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  transition: transform 0.25s ease;
}

.postCard:hover {
  transform: translateY(-4px);
}

.postThumb {
  height: 235px;
  border-radius: 22px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.postCard:nth-child(1) .postThumb { background: var(--blue); }
.postCard:nth-child(2) .postThumb { background: var(--green); }
.postCard:nth-child(3) .postThumb { background: var(--peach); }
.postCard:nth-child(4) .postThumb { background: #173329; }
.postCard:nth-child(5) .postThumb { background: var(--card); }
.postCard:nth-child(6) .postThumb { background: #e4e1ff; }

.postMeta {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.postCard h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 13px 0;
  font-weight: 700;
  color: var(--ink);
}

.postCard p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}

.newsletterBox {
  background: #f0f2fd;
  border: 1px solid #dce0f5;
  border-radius: 32px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: flex-end;
}

.newsletterBox h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.newsletterBox p {
  font-size: 13px;
  line-height: 1.65;
  color: #4a4f66;
}

.signup {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.signup input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 17, 15, 0.22);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 14px 15px;
  outline: none;
}

.signup button {
  border: 1px solid var(--brand-purple);
  background: var(--brand-purple);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signup button:hover {
  background: var(--brand-purple-hover);
  border-color: var(--brand-purple-hover);
}

/* --------------------------------------------------------------------------
   Contact Page Form
   -------------------------------------------------------------------------- */
.contactGrid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: flex-start;
}

.contactSide {
  position: sticky;
  top: 110px;
}

.contactSide h2 {
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 18px 0;
  font-weight: 800;
}

.expect {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.expect div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
}

.expect span { font-size: 11px; color: var(--muted); }
.expect strong { font-size: 15px; }

.contactCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 18px 60px rgba(16, 17, 15, 0.05);
}

.formIntro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 30px;
}

.formIntro h3 { font-size: 28px; letter-spacing: -0.04em; margin: 0; font-weight: 800; }
.formIntro span { font-size: 11px; color: var(--muted); }

.field { margin-top: 22px; }
.field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 9px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfbf7;
  border-radius: 14px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--ink);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #a8b274;
  box-shadow: 0 0 0 4px rgba(216, 255, 79, 0.18);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choiceGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice input { display: none; }
.choice label {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  cursor: pointer;
  background: #fbfbf7;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.choice input:checked + label {
  background: var(--brand-purple-light);
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.choice label small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 10px;
  margin-top: 4px;
}

.fieldHint { font-size: 11px; color: var(--muted); margin-top: 8px; }

.submitRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.submitRow small { color: var(--muted); max-width: 330px; line-height: 1.5; font-size: 11px; }

/* --------------------------------------------------------------------------
   Legal Pages (Privacy & Terms)
   -------------------------------------------------------------------------- */
.legalGrid {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 90px;
  justify-content: space-between;
  align-items: flex-start;
}

.toc {
  position: sticky;
  top: 110px;
}

.tocTitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}

.toc nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.toc a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}

.toc a:hover,
.toc a.active {
  color: var(--brand-purple);
  padding-left: 7px;
  font-weight: 700;
}

.tocCard {
  margin-top: 28px;
  background: var(--brand-purple-light);
  border: 1px solid #dce0f5;
  border-radius: 20px;
  padding: 20px;
}

.tocCard small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--brand-purple); font-weight: 700; }
.tocCard strong { font-size: 18px; line-height: 1.25; display: block; margin: 8px 0 14px; color: var(--ink); }
.tocCard a { font-size: 12px; font-weight: 700; color: var(--brand-purple); border: 0; padding: 0; }

.legal-content { min-width: 0; }
.legal-intro { font-size: 20px; line-height: 1.65; letter-spacing: -0.02em; color: #464941; margin: 0 0 64px; }

.legalSection {
  padding: 0 0 54px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.legalSection:last-child { border-bottom: 0; margin-bottom: 0; }
.sectionNum { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.legalSection h2 { font-size: 34px; line-height: 1.05; letter-spacing: -0.045em; margin: 12px 0 20px; font-weight: 800; }
.legalSection h3 { font-size: 18px; letter-spacing: -0.025em; margin: 30px 0 10px; font-weight: 700; }
.legalSection p,
.legalSection li { font-size: 14px; line-height: 1.8; color: #5f625b; }
.legalSection ul { padding-left: 20px; }
.legalSection li + li { margin-top: 8px; }

.callout {
  background: var(--card);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 24px 0;
}

.callout strong { font-size: 14px; }
.callout p { margin: 7px 0 0; }

/* --------------------------------------------------------------------------
   FAQ Accordions (<details>)
   -------------------------------------------------------------------------- */
.faqList,
.faqlist {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

summary {
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
}

summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; font-weight: 500; font-size: 24px; line-height: 1; }
details[open] summary:after { content: "–"; }

details p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  padding-right: 40px;
  margin: 14px 0 0;
}

/* --------------------------------------------------------------------------
   Animations & Keyframes
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.parallax {
  will-change: transform;
}

@keyframes floatA {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-18px); }
}

@keyframes floatB {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(15px); }
}

@keyframes floatC {
  0%, 100% { transform: rotate(1deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-12px); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 25px) scale(1.08); }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 950px) {
  .nav-links > a:not(.navcta) { display: none; }
  .mobile-nav-toggle { display: block; }
  .heroGrid,
  .projectGrid,
  .proofGrid,
  .servicesGrid,
  .storyGrid,
  .focusGrid,
  .engagementGrid,
  .challengeGrid,
  .contactGrid,
  .legalGrid,
  .pricingGrid,
  .teamGrid,
  .postGrid,
  .newsletterBox,
  .featureCard {
    grid-template-columns: 1fr;
  }
  .heroVisual { height: 540px; margin-top: 20px; }
  .hero { padding-top: 125px; }
  .sectionHead { grid-template-columns: 1fr; }
  .projectCard.big { grid-row: auto; }
  .splitCopy, .stickyCopy, .sideCopy, .sticky, .contactSide, .portrait, .toc { position: static; }
  .steps, .timeline, .valuesGrid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2), .time:nth-child(2) { border-right: 0; }
  .section { padding: 80px 0; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 120px; }
  .heroVisual { height: 440px; }
  .phone.one { left: 0; top: 40px; width: 190px; height: 392px; }
  .phone.two { right: -20px; top: 95px; width: 180px; height: 370px; }
  .phone.three { display: none; }
  .orb.a { width: 220px; height: 220px; right: 5px; }
  .section { padding: 64px 0; }
  .projectCard { min-height: 560px; border-radius: 22px; padding: 24px; }
  .stage .phone { width: 165px; height: 338px; }
  .stage .aPhone { left: 0; }
  .stage .bPhone { right: 0; }
  .stats, .steps, .timeline, .valuesGrid, .two-col, .choiceGrid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }
  .step { border-right: 0; border-bottom: 1px solid rgba(16, 17, 15, 0.25) !important; padding-left: 0 !important; }
  .ctaBox { padding: 44px 28px; }
  .footerIn { align-items: flex-start; gap: 18px; flex-direction: column; }
  .submitRow { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .reveal,
  .projectCard {
    opacity: 1;
    transform: none;
  }
}

/* Hide legacy floating theme switcher */
.my_switcher {
  display: none !important;
}
