/* ============================================
   AE CUTTING — inner pages
   ============================================ */

.page-hero {
  position: relative;
  padding: var(--space-9) 0 var(--space-7);
  border-bottom: 1px solid var(--border-faint);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 152, 172, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 152, 172, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 30% 50%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 30% 50%, #000 40%, transparent 80%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 30%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30, 159, 255, 0.1), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: var(--space-5); }
.page-hero h1 { margin-bottom: var(--space-5); }
.page-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-section {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
}
.services-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.services-nav-inner {
  position: sticky;
  top: 120px;
}
.services-nav .eyebrow { margin-bottom: var(--space-4); }
.services-list {
  list-style: none;
  padding: 0; margin: 0;
  border-left: 1px solid var(--border-faint);
}
.services-list li {
  position: relative;
}
.services-list a {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s var(--easing);
}
.services-list .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver-600);
  min-width: 22px;
}
.services-list a:hover { color: var(--text-primary); }
.services-list a.is-active {
  color: var(--text-primary);
  border-left-color: var(--blue-300);
  background: linear-gradient(90deg, rgba(30, 159, 255, 0.06), transparent);
}
.services-list a.is-active .num { color: var(--blue-300); }

.services-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.service-block {
  scroll-margin-top: 120px;
}
.service-number {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-faint);
}
.num-big {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--blue-300);
  font-weight: 600;
}
.num-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.service-block h2 { margin-bottom: var(--space-5); }
.service-block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-4);
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue-300);
  transition: all 0.2s var(--easing);
}
.service-cta:hover {
  color: var(--blue-200);
  border-color: var(--blue-200);
}
.service-cta .arrow { transition: transform 0.2s var(--easing); }
.service-cta:hover .arrow { transform: translateX(3px); }

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .services-nav-inner {
    position: relative;
    top: auto;
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-faint);
    margin-bottom: var(--space-5);
  }
  .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-left: none;
  }
  .services-list a { padding: 10px; font-size: 13px; }
  .services-content { gap: var(--space-7); }
  .service-block p { font-size: 15px; }
}
@media (max-width: 480px) {
  .services-list { grid-template-columns: 1fr; }
  .page-hero h1.h-display { font-size: 44px; }
}

/* ============================================
   CLOSING CTA (used on multiple pages)
   ============================================ */
.closing-cta {
  position: relative;
  padding: var(--space-9) 0 var(--space-10);
  text-align: center;
  border-top: 1px solid var(--border-faint);
}
.closing-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--blue-300);
  box-shadow: 0 0 16px var(--blue-glow);
}
.closing-cta h2 { margin-bottom: var(--space-4); }

/* ============================================
   WORK PAGE
   ============================================ */
.work-section {
  padding: var(--space-7) 0 var(--space-9);
}
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px var(--space-4);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s var(--easing);
}
.filter-chip .count {
  font-size: 10px;
  color: var(--text-muted);
}
.filter-chip:hover {
  border-color: var(--border-blue);
  color: var(--text-primary);
}
.filter-chip.is-active {
  background: rgba(30, 159, 255, 0.1);
  border-color: var(--blue-300);
  color: var(--blue-300);
}
.filter-chip.is-active .count { color: var(--blue-300); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.work-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-mid);
  border: 1px solid var(--border-faint);
  transition: transform 0.4s var(--easing-out), border-color 0.3s var(--easing), box-shadow 0.3s var(--easing);
  opacity: 0;
  transform: translateY(20px);
}
.work-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.work-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: 0 12px 32px rgba(30, 159, 255, 0.18);
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing-out);
}
.work-item:hover img { transform: scale(1.04); }

.work-item-placeholder {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, var(--bg-mid) 0, var(--bg-mid) 10px, var(--bg-raised) 10px, var(--bg-raised) 20px);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-4);
}

.work-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.95));
  transform: translateY(100%);
  transition: transform 0.4s var(--easing-out);
}
.work-item:hover .work-caption { transform: translateY(0); }
.work-caption-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 0;
}
.work-caption-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.work-empty-state {
  grid-column: 1 / -1;
  padding: var(--space-9);
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  border: 1px dashed var(--border-faint);
  border-radius: var(--radius-md);
}

@media (max-width: 880px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .work-filters { gap: var(--space-2); }
  .filter-chip { padding: 8px var(--space-3); font-size: 10px; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-caption { transform: translateY(0); }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.96);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-7);
}
.lightbox.is-open { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  text-align: center;
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: 14px;
}
.lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--easing);
}
.lightbox-close:hover { border-color: var(--border-blue); background: rgba(30, 159, 255, 0.1); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 48px; height: 48px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.2s var(--easing);
}
.lightbox-nav.prev { left: var(--space-5); }
.lightbox-nav.next { right: var(--space-5); }
.lightbox-nav:hover { border-color: var(--border-blue); background: rgba(30, 159, 255, 0.1); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-block {
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--border-faint);
}
.about-block:last-of-type { border-bottom: none; }
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-8);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.about-eyebrow { padding-top: 6px; }
.about-content h2 { margin-bottom: var(--space-5); }
.about-content p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-4);
}
.about-quote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  padding: var(--space-5) 0 var(--space-5) var(--space-5);
  border-left: 2px solid var(--blue-300);
  max-width: 640px;
  margin: var(--space-5) 0;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-block { padding: var(--space-6) 0; }
  .about-content p { font-size: 15.5px; }
}

/* ============================================
   CONTACT PAGE — phone-first
   ============================================ */
.contact-call-section {
  padding: var(--space-7) 0 var(--space-9);
}

/* The big tap-to-call card */
.call-card {
  display: block;
  position: relative;
  padding: var(--space-7) var(--space-6) var(--space-6);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(30, 159, 255, 0.04) 0%, rgba(8, 13, 24, 0.7) 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s var(--easing);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(30, 159, 255, 0.2);
}
.call-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(30, 159, 255, 0.15), transparent 60%);
  pointer-events: none;
}
.call-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--easing);
  pointer-events: none;
}
.call-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(30, 159, 255, 0.25), 0 0 0 1px var(--blue-200);
}
.call-card:hover::after { transform: translateX(100%); }

.call-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}
.call-card-eyebrow .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  position: relative;
  flex-shrink: 0;
}
.call-card-eyebrow .live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
  animation: livePulse 1.8s ease-out infinite;
}

.call-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: rgba(30, 159, 255, 0.1);
  border: 1px solid var(--border-blue);
  color: var(--blue-300);
  position: relative;
  z-index: 1;
  animation: callPulse 2.5s ease-in-out infinite;
}
@keyframes callPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 159, 255, 0.5); }
  50% { box-shadow: 0 0 0 14px rgba(30, 159, 255, 0); }
}

.call-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.call-card-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.call-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 16px var(--space-7);
  background: var(--blue-grad);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 1;
  transition: transform 0.25s var(--easing);
}
.call-card:hover .call-card-cta {
  transform: translateY(-1px);
}
.call-card-cta .arrow {
  display: inline-block;
  transition: transform 0.25s var(--easing);
}
.call-card:hover .call-card-cta .arrow {
  transform: translateX(3px);
}

/* secondary contact option (email) */
.contact-alt {
  margin: var(--space-7) 0 var(--space-7);
  text-align: center;
}
.contact-alt-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.contact-alt-line {
  flex: 1;
  height: 1px;
  background: var(--border-faint);
}
.contact-alt-or {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px var(--space-5);
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.2s var(--easing);
}
.email-link:hover {
  border-color: var(--border-blue);
  color: var(--text-primary);
  background: rgba(30, 159, 255, 0.04);
}
.email-icon {
  display: inline-flex;
  color: var(--blue-300);
}

/* meta grid below */
.contact-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  padding-top: var(--space-7);
  border-top: 1px solid var(--border-faint);
}
.contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.contact-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-meta-value {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

@media (max-width: 720px) {
  .call-card {
    padding: var(--space-6) var(--space-5);
  }
  .call-card-icon {
    width: 72px; height: 72px;
  }
  .call-card-number {
    font-size: 40px;
  }
  .call-card-cta {
    padding: 14px var(--space-5);
    font-size: 12px;
  }
  .contact-meta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .contact-meta-item {
    text-align: left;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-faint);
  }
  .contact-meta-item:last-child { border-bottom: none; }
}

/* ============================================
   SERVICE PAGE — photo gallery inside each block
   ============================================ */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-5);
  max-width: 720px;
}
.service-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-faint);
  background: var(--bg-mid);
  transition: transform 0.35s var(--easing-out), border-color 0.25s var(--easing), box-shadow 0.25s var(--easing);
  cursor: zoom-in;
}
.service-gallery img:hover {
  transform: translateY(-3px);
  border-color: var(--border-blue);
  box-shadow: 0 12px 28px rgba(30, 159, 255, 0.18);
}

/* on smaller phones, switch to 2-up */
@media (max-width: 560px) {
  .service-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* lightbox for service gallery (lightweight, just CSS-driven) */
.service-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.96);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  cursor: zoom-out;
}
.service-lightbox.is-open {
  display: flex;
}
.service-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.service-lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--easing);
}
.service-lightbox-close:hover {
  border-color: var(--border-blue);
  background: rgba(30, 159, 255, 0.1);
}
