/* ============================================================
   PORTDEVELOPMENT — style.css
   portdigitalco.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

/* ---- Custom Properties ---- */
:root {
  --white:    #ffffff;
  --black:    #0a0a0a;
  --navy:     #0f1e3d;
  --blue:     #2563eb;
  --gray-50:  #fafafa;
  --gray-100: #f4f4f4;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;

  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --nav-h:    72px;
  --max-w:    1200px;
  --pad-x:    48px;
  --sec-py:   128px;

  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart:  cubic-bezier(0.76, 0, 0.24, 1);
  --spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}

.section { padding: var(--sec-py) 0; }

/* ---- Typography ---- */
.disp-xl {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.disp-lg {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.disp-md {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.disp-sm {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.body-lg {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  color: var(--gray-600);
}
.body-md {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-600);
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background 0.35s var(--ease-expo), border-color 0.35s var(--ease-expo), box-shadow 0.35s;
}
.nav .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: var(--black);
  z-index: 201;
  user-select: none;
  white-space: nowrap;
}
.logo-bracket {
  display: inline-block;
  color: var(--black);
  transition: color 0.3s;
}
.logo-letters {
  display: inline-block;
  /* min-width keeps brackets from collapsing during typewriter */
  min-width: 1ch;
  transition: color 0.3s;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

/* Nav action buttons (Contact + Schedule) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.35s var(--ease-expo);
}
.nav-link:hover::after { width: 100%; }

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid var(--black);
  transition: background 0.25s, transform 0.25s var(--spring), color 0.25s;
}
.nav-cta-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* Schedule button in nav */
@keyframes schedule-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(37,99,235,0); }
}
.nav-schedule-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid var(--blue);
  transition: background 0.25s, transform 0.25s var(--spring), box-shadow 0.25s, border-color 0.25s;
  animation: schedule-pulse 2.8s ease-in-out infinite;
  white-space: nowrap;
}
.nav-schedule-btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
  animation: none;
}

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 201;
}
.ham-line {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-expo), opacity 0.35s, background 0.3s;
  transform-origin: center;
}
.nav-ham.is-open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.is-open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-ham.is-open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 var(--pad-x);
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-expo);
  pointer-events: none;
}
.nav-drawer.is-open {
  transform: translateX(0);
  pointer-events: all;
}
.nav-drawer a {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.15;
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--blue); }
.drawer-contact {
  margin-top: 40px;
  font-size: 14px;
  color: var(--gray-500);
}
.drawer-contact a {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: var(--gray-500) !important;
}
.drawer-contact a:hover { color: var(--black) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 40px;
}
.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 20px;
  display: inline-flex;
}
.footer-brand .logo-bracket,
.footer-brand .logo-letters { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--spring), box-shadow 0.3s, background 0.25s, border-color 0.25s, color 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.22);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,255,255,0.2);
}
.btn-schedule {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid var(--blue);
}
.btn-schedule:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,99,235,0.35);
}
.btn-arrow-icon {
  display: inline-block;
  transition: transform 0.25s var(--ease-expo);
}
.btn:hover .btn-arrow-icon { transform: translateX(4px); }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-dots {
  position: absolute;
  inset: -80px;
  background-image: radial-gradient(circle, rgba(0,0,0,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  will-change: transform;
}
.hero-deco-text {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(160px, 22vw, 340px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.042);
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 64px) 0 96px;
}
.hero-eyebrow {
  overflow: hidden;
  margin-bottom: 28px;
}
.hero-eyebrow-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-expo) 0.05s;
}
.hero h1 {
  margin-bottom: 28px;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-expo);
}
.hero-line:nth-child(1) .hero-line-inner { transition-delay: 0.08s; }
.hero-line:nth-child(2) .hero-line-inner { transition-delay: 0.2s;  }
.hero-line:nth-child(3) .hero-line-inner { transition-delay: 0.32s; }

.hero-sub {
  overflow: hidden;
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-sub-inner {
  transform: translateY(110%);
  transition: transform 0.95s var(--ease-expo) 0.42s;
}
.hero-ctas {
  overflow: hidden;
}
.hero-ctas-inner {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  transform: translateY(110%);
  transition: transform 0.95s var(--ease-expo) 0.56s;
}

/* Reveal state (added by JS) */
.hero.is-revealed .hero-eyebrow-inner,
.hero.is-revealed .hero-line-inner,
.hero.is-revealed .hero-sub-inner,
.hero.is-revealed .hero-ctas-inner {
  transform: translateY(0);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  overflow: hidden;
  padding: 18px 0;
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.trust-dot {
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.trust-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--white); }
.section-header { margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gray-200);
}
.svc-card {
  padding: 52px 44px;
  border-right: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.35s var(--spring), box-shadow 0.35s;
}
.svc-card:last-child { border-right: none; }
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
.svc-card:hover::after  { transform: scaleX(1); }
.svc-card:hover {
  background: var(--gray-50);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  z-index: 1;
}

.svc-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 36px;
}
.svc-icon {
  width: 36px; height: 36px;
  color: var(--black);
  margin-bottom: 24px;
}
.svc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.svc-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
}

/* ============================================================
   FEATURED WORK CARD
   ============================================================ */
.featured-work { background: var(--gray-50); }
.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
  min-height: 500px;
}
.wc-visual {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.wc-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px,
    transparent 1px, transparent 44px
  );
}
.wc-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.wc-visual-inner .wc-browser {
  width: 180px;
  opacity: 0.35;
}
.wc-visual-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
}
.wc-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.wc-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.wc-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.wc-result {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  flex-grow: 1;
}
.wc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: border-color 0.2s, color 0.2s, gap 0.25s var(--ease-expo);
}
.wc-link:hover {
  border-color: var(--blue);
  color: #60a5fa;
  gap: 14px;
}

/* ============================================================
   LEAD CAPTURE / CTA FORM
   ============================================================ */
.lead-section { background: var(--white); text-align: center; }
.lead-section .lead-head { max-width: 520px; margin: 0 auto 12px; }
.lead-section .lead-sub  { max-width: 380px; margin: 0 auto 56px; color: var(--gray-500); font-size: 17px; }

/* Forms */
.form-wrap { max-width: 580px; margin: 0 auto; }
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
}
.field input,
.field textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 7px;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-400); }
.field textarea { resize: vertical; min-height: 120px; }

.form-btn {
  padding: 16px 32px;
  background: var(--black);
  color: var(--white);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.3s var(--spring), box-shadow 0.3s;
  border: none;
  margin-top: 4px;
}
.form-btn:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
}

.form-thanks {
  display: none;
  text-align: center;
  padding: 56px 40px;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.form-thanks.visible { display: block; }
.form-thanks .check-icon {
  width: 40px; height: 40px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}
.form-thanks h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.form-thanks p { color: var(--gray-500); }

.form-error {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(220,38,38,0.06);
  border: 1px solid rgba(220,38,38,0.18);
  border-radius: 7px;
  font-size: 14px;
  color: #b91c1c;
  line-height: 1.6;
}

/* ============================================================
   PRE-FOOTER CTA — SCHEDULE SECTION
   ============================================================ */
.pre-footer-cta {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}
.pfc-inner { max-width: 640px; margin: 0 auto; }
.pre-footer-cta .eyebrow {
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 20px;
}
.pfc-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}
.pfc-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
}
.btn-schedule-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid var(--blue);
  transition: background 0.25s, transform 0.3s var(--spring), box-shadow 0.3s, border-color 0.25s;
}
.btn-schedule-lg:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.4);
}
.btn-schedule-lg .btn-arrow-icon {
  display: inline-block;
  transition: transform 0.25s var(--ease-expo);
}
.btn-schedule-lg:hover .btn-arrow-icon { transform: translateX(4px); }

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 72px;
  background: var(--white);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero-sub {
  max-width: 560px;
  margin-top: 20px;
}
.page-hero-sub p {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  color: var(--gray-500);
}

.steps-section { background: var(--white); padding-top: 0; }
.step-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 56px;
  padding: 72px 0;
  border-top: 1px solid var(--gray-200);
  align-items: start;
}
.step-item:last-child { border-bottom: 1px solid var(--gray-200); }
.step-num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -0.05em;
}
.step-content { padding-top: 10px; }
.step-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.step-body {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--gray-500);
  max-width: 580px;
}

.cta-section {
  background: var(--black);
  color: var(--white);
  padding: var(--sec-py) 0;
  text-align: center;
}
.cta-section .eyebrow {
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.cta-section .cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 40px;
}

/* ============================================================
   CASE STUDY — WORK PAGE
   ============================================================ */
.case-hero {
  background: var(--black);
  color: var(--white);
  padding: calc(var(--nav-h) + 80px) 0 80px;
}
.case-hero .eyebrow { color: rgba(255,255,255,0.35); margin-bottom: 24px; }
.case-hero h1 { color: var(--white); }
.case-hero .page-hero-sub p { color: rgba(255,255,255,0.55); }

.results-strip {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.result-cell {
  padding: 52px 32px;
  background: var(--white);
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.result-cell:last-child { border-right: none; }
.result-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 10px;
}
.result-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-500);
}

.case-body { background: var(--white); }
.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.case-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}
.case-grafs { display: flex; flex-direction: column; gap: 24px; }
.case-grafs p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-500);
}
.case-visual {
  background: var(--navy);
  border-radius: 14px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px,
    transparent 1px, transparent 32px
  );
}
.case-visual-txt {
  position: relative;
  z-index: 1;
  text-align: center;
}
.case-visual-txt .client-nm {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 8px;
}
.case-visual-txt .vis-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: calc(var(--nav-h) + 80px) 0 var(--sec-py); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 24px;
}
.contact-info .c-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 360px;
  margin-bottom: 48px;
}
.c-details { display: flex; flex-direction: column; gap: 10px; }
.c-details a {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.c-details a:hover { text-decoration-color: var(--blue); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--black);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.25s var(--ease-expo), height 0.25s var(--ease-expo);
  opacity: 0;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(0,0,0,0.22);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-expo), height 0.35s var(--ease-expo),
              border-color 0.25s, opacity 0.3s;
  opacity: 0;
}
body.cursor-active .cursor-dot  { opacity: 1; }
body.cursor-active .cursor-ring { opacity: 1; }
.cursor-ring.is-hovering {
  width: 52px; height: 52px;
  border-color: rgba(37,99,235,0.45);
}

/* ============================================================
   DIVIDERS & UTILITIES
   ============================================================ */
.line-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
}
.text-center { text-align: center; }
.mb-4  { margin-bottom: 4px;  }
.mb-8  { margin-bottom: 8px;  }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --sec-py: 96px; --pad-x: 40px; }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .result-cell:nth-child(3) { border-right: none; }
  .result-cell:nth-child(4) { border-top: 1px solid var(--gray-200); }
  .result-cell:nth-child(5) { border-top: 1px solid var(--gray-200); border-right: none; }
}

@media (max-width: 900px) {
  :root { --sec-py: 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .svc-card:last-child { border-bottom: none; }
  .work-card { grid-template-columns: 1fr; }
  .wc-visual { min-height: 280px; }
  .wc-content { padding: 48px 40px; }
  .case-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  .nav-links    { display: none; }
  .nav-actions  { display: none; }
  .nav-ham      { display: flex; }
  .step-item { grid-template-columns: 56px 1fr; gap: 28px; }
  .step-num  { font-size: 56px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-cell:nth-child(3) { border-right: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200); }
  .result-cell:nth-child(4) { border-right: none; }
  .result-cell:nth-child(5) { border-top: 1px solid var(--gray-200); grid-column: 1 / -1; border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 520px) {
  .hero-ctas-inner { flex-direction: column; }
  .hero-ctas-inner .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.page-transition-overlay.is-leaving {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.about-text { display: flex; flex-direction: column; gap: 28px; }
.about-text p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--gray-500);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}
.about-stat {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.25s;
}
.about-stat:hover { background: var(--gray-50); }
.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 8px;
}
.about-stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-500);
}

.why-section { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  padding: 44px 38px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  transition: transform 0.35s var(--spring), box-shadow 0.35s, border-color 0.25s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}
.why-card-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.why-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.why-card-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .why-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-block {
  padding: var(--sec-py) 0;
  border-top: 1px solid var(--gray-200);
}
.service-block:first-child { border-top: none; }
.service-block-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 80px;
  align-items: start;
}
.service-num-lg {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -0.05em;
  padding-top: 8px;
}
.service-block:nth-child(even) {
  background: rgba(37,99,235,0.028);
}
.service-main h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--blue);
}
.service-grafs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.service-grafs p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--gray-500);
}
.service-includes {
  margin-top: 8px;
}
.service-includes p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
}
.service-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .service-block-inner { grid-template-columns: 1fr; gap: 24px; }
  .service-num-lg { font-size: 48px; }
}

/* ============================================================
   CLIENTS PAGE
   ============================================================ */
.clients-intro {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--white);
}
.clients-intro .eyebrow { margin-bottom: 20px; display: block; }
.clients-intro-sub {
  max-width: 520px;
  margin-top: 16px;
}
.clients-intro-sub p {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  color: var(--gray-500);
}

.next-client-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 80px 60px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.3s, transform 0.35s var(--spring), box-shadow 0.35s;
  margin-top: 48px;
}
.next-client-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}
.next-client-card .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.next-client-card h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.next-client-card p {
  max-width: 400px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .next-client-card { padding: 56px 32px; }
}

/* ============================================================
   HOMEPAGE NEW SECTIONS
   ============================================================ */

/* Services teaser */
.services-teaser { background: var(--black); color: var(--white); }
.services-teaser .section-header .eyebrow { color: rgba(255,255,255,0.35); }
.services-teaser .section-header h2 { color: var(--white); }
.svct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.08);
}
.svct-card {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.svct-card:last-child { border-right: none; }
.svct-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
.svct-card:hover::after { transform: scaleX(1); }
.svct-card:hover { background: rgba(255,255,255,0.04); }
.svct-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}
.svct-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.svct-body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.svct-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  position: relative;
  transition: color 0.2s;
}
.svct-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-expo);
}
.svct-link:hover { color: var(--white); }
.svct-link:hover::after { width: 100%; }

/* About teaser */
.about-teaser { background: var(--white); }
.abt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.abt-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.abt-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 420px;
}
.abt-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 3px;
  transition: border-color 0.2s, gap 0.25s var(--ease-expo);
}
.abt-more-link:hover { border-color: var(--blue); gap: 10px; }

.abt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
}
.abt-stat {
  background: var(--white);
  padding: 32px 28px;
}
.abt-stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 6px;
}
.abt-stat-label {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .svct-grid { grid-template-columns: 1fr; }
  .svct-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .svct-card:last-child { border-bottom: none; }
  .abt-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-eyebrow-inner,
  .hero-line-inner,
  .hero-sub-inner,
  .hero-ctas-inner {
    transform: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
  .trust-track { animation: none; }
}
