/* ======================================
   THE PRINT EXPERT — Main Stylesheet
   White & Red | Premium Print Brand
   ====================================== */

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

:root {
  --red: #D4001A;
  --red-dark: #A8001A;
  --red-light: #FF1A35;
  --white: #FFFFFF;
  --off-white: #FAF9F7;
  --cream: #F5F3EF;
  --grey-100: #F0EEE9;
  --grey-200: #E2DED8;
  --grey-400: #9C9587;
  --grey-600: #5A5550;
  --grey-800: #2A2520;
  --black: #111010;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-serif-alt: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.18);
  --radius: 4px;
  --container: 1280px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--grey-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.section-pad { padding: 120px 0; }

/* ---- PRELOADER ---- */
.preloader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.preloader-logo {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 40px;
}
.pre-the {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--grey-400);
  margin-bottom: 4px;
}
.pre-print {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.01em;
}
.pre-expert {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.01em;
}

.preloader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin: 0 auto;
}
.preloader-fill {
  height: 100%;
  background: var(--red);
  width: 0;
  animation: fillBar 1.8s ease forwards;
}
@keyframes fillBar { to { width: 100%; } }

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  transition: all var(--transition);
}

.site-header.scrolled .header-inner {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 var(--grey-200), var(--shadow-sm);
}

/* LOGO */
.logo {
  display: flex; align-items: center;
  text-decoration: none;
  height: 44px;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition);
}

/* On transparent header (hero): show logodark, hide logo */
.logo-img--dark { display: block; }
.logo-img--light { display: none; }

/* Once header becomes white/scrolled: swap to logo */
.site-header.scrolled .logo-img--dark { display: none; }
.site-header.scrolled .logo-img--light { display: block; }

/* Footer always shows logodark (dark background) */
.logo-footer .logo-img { height: 48px; }

/* Services page header is always scrolled — only logo.png shown (handled inline) */

/* NAV */
.main-nav {
  display: flex; align-items: center; gap: 40px;
}
.nav-list {
  display: flex; gap: 36px; list-style: none;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header.scrolled .nav-link { color: var(--grey-800); }
.site-header.scrolled .nav-link:hover { color: var(--red); }

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 11px 26px;
  background: var(--red);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 32px; padding: 4px 0;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.site-header.scrolled .hamburger span { background: var(--black); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.mob-link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.mob-link:hover { color: var(--red); }
.mob-cta {
  margin-top: 16px;
  display: inline-block;
  padding: 14px 40px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,0,26,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.btn-full { width: 100%; }

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--red);
}
.section-label.light { color: rgba(255,255,255,0.7); }
.section-label.light::before { background: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
}
.section-title.centered { text-align: center; }
.section-title em { font-style: italic; color: var(--red); font-weight: 400; }

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-600);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head .section-label { justify-content: center; }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100svh; min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--black); /* base colour while everything loads */
}

/* Poster — full-cover static image, always visible instantly */
.hero-poster {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.8s ease;
  z-index: 1;
}
/* Fade poster out once video is playing */
.hero-poster.hidden { opacity: 0; pointer-events: none; }

/* Video element */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0; /* invisible until ready */
  transition: opacity 1.2s ease;
  will-change: opacity;
}
/* Fade video in once it can play */
.hero-video.ready { opacity: 1; }

/* Subtle buffering pulse in bottom-right — only while loading */
.hero-video-loader {
  position: absolute;
  bottom: 20px; right: 20px;
  z-index: 4;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hero-video-loader.active {
  opacity: 1;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.8); opacity: 0.15; }
}

.hero-overlay {
  position: absolute; inset: 0;
  z-index: 3;
  background: linear-gradient(
    105deg,
    rgba(10,8,8,0.82) 0%,
    rgba(10,8,8,0.60) 50%,
    rgba(10,8,8,0.25) 100%
  );
}
.hero-content {
  position: relative; z-index: 5;
  max-width: 720px;
  padding: 0 48px;
  margin-left: calc((100vw - var(--container)) / 2);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1.5px;
  background: var(--red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red-light);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 44px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 5;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.scroll-line {
  width: 1px; height: 50px;
  background: rgba(255,255,255,0.2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--red);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop { to { top: 200%; } }

/* Hero badge */
.hero-badge {
  position: absolute; right: 80px; bottom: 80px;
  z-index: 5;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--red);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  animation: rotateBadge 20s linear infinite;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.badge-text {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
@keyframes rotateBadge {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.03); }
}

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--red);
  overflow: hidden;
  padding: 14px 0;
}
.ticker {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 28px;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4) !important;
  padding: 0 !important;
  flex-shrink: 0;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- INTRO STRIP ---- */
.intro-strip { background: var(--off-white); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.intro-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-600);
  margin-bottom: 48px;
}

.intro-stats {
  display: flex; gap: 48px;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* Intro image row */
.intro-image-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 16px;
  height: 380px;
}
.iir-item { overflow: hidden; }
.iir-item img { transition: transform 0.8s ease; }
.iir-item:hover img { transform: scale(1.04); }
.iir-tall { margin-top: -40px; height: calc(100% + 40px); }

/* ---- SERVICES ---- */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--grey-100);
}

.service-card {
  display: flex; flex-direction: column;
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
}
.service-card:hover { background: var(--off-white); }
.service-card--accent { background: var(--red); }
.service-card--accent:hover { background: var(--red-dark); }

.sc-image {
  height: 220px; overflow: hidden;
  position: relative;
}
.sc-image img { transition: transform 0.8s ease; }
.service-card:hover .sc-image img { transform: scale(1.06); }

.sc-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.sc-body {
  padding: 32px 32px 36px;
  flex: 1; display: flex; flex-direction: column;
}
.sc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.service-card--accent .sc-num { color: rgba(255,255,255,0.5); }

.sc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.service-card--accent .sc-title { color: var(--white); }

.sc-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--grey-600);
  flex: 1;
  margin-bottom: 24px;
}
.service-card--accent .sc-text { color: rgba(255,255,255,0.75); }

.sc-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: flex; align-items: center; gap: 8px;
  transition: gap var(--transition);
}
.service-card:hover .sc-link { gap: 14px; }
.service-card--accent .sc-link { color: var(--white); }

.sc-link .arrow { font-size: 16px; }

/* ---- FEATURE BAND ---- */
.feature-band {
  position: relative;
  padding: 120px 48px;
  overflow: hidden;
  display: flex; align-items: center;
}
.fb-image {
  position: absolute; inset: 0; z-index: 0;
}
.fb-image img { width: 100%; height: 100%; object-fit: cover; }
.fb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5,3,3,0.90) 0%,
    rgba(5,3,3,0.65) 55%,
    rgba(5,3,3,0.20) 100%
  );
}
.fb-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  max-width: 580px;
  margin-left: calc((100vw - var(--container)) / 2 + 48px);
}
.fb-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.fb-title em { font-style: italic; color: var(--red-light); font-weight: 400; }
.fb-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
  margin-bottom: 40px;
}

/* ---- PORTFOLIO ---- */
.portfolio { background: var(--off-white); }

.portfolio-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.pf-btn {
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  transition: all var(--transition);
}
.pf-btn:hover,
.pf-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 3px;
}
.port-item {
  overflow: hidden;
  position: relative;
  background: var(--grey-200);
}
.port-wide { grid-column: span 2; }
.port-tall { grid-row: span 2; }
.port-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.port-item:hover img { transform: scale(1.06); }

.port-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  opacity: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  transition: opacity var(--transition);
}
.port-item:hover .port-hover { opacity: 1; }

.port-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 6px;
  display: block;
}
.port-hover h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.port-cta { text-align: center; margin-top: 56px; }

/* ---- SIGNAGE FEATURE ---- */
.signage-feature { background: var(--cream); overflow: hidden; }

.sf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.sf-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-600);
  margin-bottom: 36px;
}

.sf-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 44px;
}
.sf-list li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--grey-800);
  display: flex; align-items: center; gap: 10px;
  padding-left: 0;
}
.sf-list li::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.sf-images {
  position: relative;
  height: 560px;
}
.sf-img { position: absolute; overflow: hidden; }
.sf-img img { transition: transform 0.8s ease; }
.sf-img:hover img { transform: scale(1.04); }

.sf-img--main {
  top: 0; left: 0;
  width: 78%; height: 85%;
  z-index: 1;
}
.sf-img--inset {
  bottom: 0; right: 0;
  width: 55%; height: 50%;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.sf-accent-block {
  position: absolute;
  bottom: 20px; left: 0;
  z-index: 3;
  background: var(--red);
  padding: 16px 22px;
  display: flex; flex-direction: column; gap: 2px;
}
.sa-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.sa-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---- PROCESS ---- */
.process { background: var(--white); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.process-step {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 24px;
}

.ps-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 28px;
  position: relative;
  background: var(--white);
  z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .ps-num {
  background: var(--red); color: var(--white);
  transform: scale(1.1);
}

.ps-body h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.ps-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--grey-600);
}

.process-connector {
  flex-shrink: 0;
  width: 80px; height: 2px;
  background: var(--grey-200);
  margin-top: 32px;
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--red);
}

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--off-white); overflow: hidden; }

.testi-slider { position: relative; overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
  flex: 0 0 100%;
  padding: 60px 120px;
  text-align: center;
}
.testi-quote {
  font-family: var(--font-serif-alt);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 44px;
  position: relative;
}
.testi-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--red);
  opacity: 0.12;
  line-height: 0;
  position: absolute;
  top: 30px; left: -20px;
}

.testi-author {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.testi-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-author strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  display: block;
}
.testi-author span {
  font-size: 12.5px;
  color: var(--grey-400);
  letter-spacing: 0.04em;
}

.testi-controls {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 40px;
}
.tc-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--grey-600);
  transition: all var(--transition);
  cursor: pointer;
}
.tc-btn:hover { border-color: var(--red); color: var(--red); }

.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey-200);
  transition: all var(--transition);
  cursor: pointer;
}
.testi-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ---- CLIENTS ---- */
.clients-strip {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
}
.cs-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 36px;
}
.clients-logos {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: space-between;
}
.cl-item {
  flex: 1;
  display: flex; justify-content: center;
  padding: 0 24px;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}
.cl-item:hover { opacity: 0.85; filter: grayscale(0); }
.cl-item img { max-height: 40px; width: auto; object-fit: contain; }

/* ---- CTA BAND ---- */
.cta-band {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: rgba(8,4,4,0.88);
}
.cta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--red-light); font-weight: 400; }

.cta-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

/* FORM */
.quote-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 18px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select { color: rgba(255,255,255,0.7); }
.form-group select option { background: var(--grey-800); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.09);
}
.form-group textarea { resize: vertical; }

/* Inline validation error styles */
.field-error {
  display: block;
  font-size: 11.5px;
  color: #ff4455;
  margin-top: 5px;
  font-weight: 500;
}
.input-error {
  border-color: #ff4455 !important;
  background: rgba(255,68,85,0.06) !important;
}

/* Validation error states */
.input-error { border-color: #ff4444 !important; }
.field-error {
  display: block;
  font-size: 11.5px;
  color: #ff6b6b;
  margin-top: 5px;
  letter-spacing: 0.02em;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  margin: 20px 0 28px;
  max-width: 300px;
}

.footer-social { display: flex; gap: 14px; }
.social-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.social-icon:hover { border-color: var(--red); color: var(--red); }
.social-icon svg { width: 16px; height: 16px; }

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--red); }

.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.footer-contact-list li svg {
  width: 14px; height: 14px;
  flex-shrink: 0; margin-top: 2px;
  color: var(--red);
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--red); }

/* Staff portal link — intentionally subtle */
.footer-staff-link {
  opacity: 0.45;
  font-size: 11px !important;
  letter-spacing: 0.06em;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.1);
  margin-left: 4px;
  transition: opacity 0.25s, color 0.25s !important;
}
.footer-staff-link:hover { opacity: 1 !important; color: rgba(255,255,255,0.6) !important; }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 36px; right: 36px;
  width: 48px; height: 48px;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---- ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.revealed {
  opacity: 1;
  transform: translate(0) !important;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .header-inner { padding: 20px 32px; }
  .site-header.scrolled .header-inner { padding: 14px 32px; }
  .hero-content { margin-left: 32px; padding: 0; }
  .fb-content { margin-left: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .port-wide { grid-column: span 1; }
  .sf-grid { gap: 60px; }
  .intro-grid { gap: 48px; }
  .cta-inner { gap: 48px; }
  .footer-top { gap: 48px; }
}

@media (max-width: 900px) {
  .section-pad { padding: 80px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-image-row { grid-template-columns: 1fr 1fr; height: 280px; }
  .iir-item:last-child { display: none; }
  .sf-grid { grid-template-columns: 1fr; }
  .sf-right { order: -1; }
  .sf-images { height: 400px; }
  .process-steps { flex-direction: column; gap: 36px; align-items: stretch; }
  .process-connector { display: none; }
  .process-step { flex-direction: row; text-align: left; gap: 24px; align-items: flex-start; }
  .ps-num { flex-shrink: 0; margin-bottom: 0; }
  .testi-card { padding: 40px 48px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-left { text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { display: none; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 18px 20px; }
  .hero-content { margin-left: 0; padding: 0 20px; }
  .hero-title { font-size: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid .port-wide,
  .portfolio-grid .port-tall { grid-column: span 1; grid-row: span 1; }
  .portfolio-grid { grid-auto-rows: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .testi-card { padding: 32px 24px; }
  .intro-image-row { grid-template-columns: 1fr; height: 220px; }
  .iir-tall { display: none; }
  .clients-logos { flex-wrap: wrap; gap: 16px; }
  .cl-item { flex: 0 0 calc(33% - 11px); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .fb-content { margin-left: 20px; }
  .section-title { font-size: 32px; }
  .footer-nav-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .intro-stats { gap: 24px; }
  .stat-num { font-size: 32px; }
}

/* Utility */
.br-desk { display: block; }
@media (max-width: 640px) { .br-desk { display: none; } }
