/* ==========================================================================
   EMMPRESSIT · DESIGN SYSTEM
   Single source of truth for tokens, components, animations, and patterns.
   ========================================================================== */

/* ============ FONTS ============ */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@200,300,400,500,600,700&display=swap');

/* ============ DESIGN TOKENS ============ */
:root {
  /* Brand colour palette */
  --orange:        #ff6b36;
  --orange-dark:   #eb401a;
  --orange-light:  #ff8f70;
  --tan:           #fad9c7;
  --tan-light:     #ffe9de;
  --sky:           #62ebe8;
  --sky-light:     #d2ffff;
  --navy:          #001c33;
  --navy-soft:     #0a2942;
  --navy-light:    #62ebe8;

  /* Surfaces */
  --paper:         #fefcf7;
  --paper-2:       #f6f1e7;
  --ink:           #0e0e0e;
  --ink-soft:      #5a5a55;
  --ink-mute:      #8a857a;
  --hairline:      rgba(14,14,14,0.08);

  /* Layout */
  --max:           1480px;
  --gutter:        clamp(20px, 5vw, 80px);
  --section-pad:   clamp(56px, 6vw, 88px);
  --radius-sm:     8px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-pill:   999px;

  /* Motion */
  --ease:          cubic-bezier(.2,.8,.2,1);
  --ease-bounce:   cubic-bezier(.34,1.4,.6,1);
  --ease-out:      cubic-bezier(.16,1,.3,1);
  --t-fast:        .25s;
  --t:             .4s;
  --t-slow:        .8s;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a  { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--orange); color: var(--paper); }

/* ============ TYPOGRAPHY ============ */
.h-display { font-weight: 200; font-size: clamp(40px, 6.6vw, 96px);  line-height: 0.96; letter-spacing: -0.034em; }
.h-section { font-weight: 200; font-size: clamp(34px, 4.6vw, 72px);  line-height: 0.98; letter-spacing: -0.026em; }
.h-card    { font-weight: 300; font-size: clamp(20px, 1.8vw, 26px);  line-height: 1.18; letter-spacing: -0.016em; }
.h-eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 12px;
}
.h-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.h-eyebrow.on-dark  { color: rgba(255,255,255,0.7); }
.h-eyebrow.on-orange { color: rgba(14,14,14,0.7); }
.lede     { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); max-width: 56ch; line-height: 1.55; }

/* Inline accents */
.accent      { color: var(--orange); font-weight: 200; }
.accent-sky  { color: var(--sky); font-weight: 200; }
.accent-navy { color: var(--navy); font-weight: 200; }
.underline   {
  display: inline-block;
  position: relative;
  padding-bottom: 0.04em;
  border-bottom: 0.05em solid currentColor;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4vw;
  transition: padding var(--t) var(--ease);
}
.header.scrolled { padding: 12px var(--gutter); }
.header.scrolled .header-bg { opacity: 1; }
.header-bg {
  position: absolute; inset: 0;
  background: rgba(254,252,247,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
  height: 32px;
}
.brand img { height: 100%; width: auto; }
.brand-symbol-wrap { /* used when only symbol used in nav */ width: 36px; height: 36px; }

/* swap visible logo based on header state / theme of hero */
.brand .logo-on-dark  { display: block; }
.brand .logo-on-light { display: none; }
.header.scrolled .brand .logo-on-dark  { display: none; }
.header.scrolled .brand .logo-on-light { display: block; }
.theme-light .brand .logo-on-dark  { display: none; }
.theme-light .brand .logo-on-light { display: block; }

/* Nav */
.nav {
  display: flex;
  gap: clamp(20px, 2.4vw, 38px);
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 4px;
  color: var(--paper);
  position: relative;
  transition: color var(--t) var(--ease);
}
.header.scrolled .nav-link,
.theme-light .nav-link { color: var(--ink); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width var(--t) var(--ease), left var(--t) var(--ease);
}
.nav-item:hover .nav-link::after,
.nav-link[aria-current="page"]::after {
  width: 100%; left: 0;
}
.nav-link .chev {
  width: 10px; height: 10px;
  transition: transform var(--t) var(--ease);
}
.nav-item:hover .chev,
.nav-item.open .chev { transform: rotate(180deg); }

/* CTA pill in header */
.header-cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
}
.iconnect-login {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  padding: 0;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.iconnect-login svg { width: 18px; height: 18px; }
.iconnect-login:hover { background: var(--sky); color: var(--navy); border-color: var(--sky); transform: translateY(-1px); }
.header.scrolled .iconnect-login,
.theme-light .iconnect-login {
  background: rgba(14,14,14,0.06);
  color: var(--ink);
  border-color: rgba(14,14,14,0.1);
}
.header.scrolled .iconnect-login:hover,
.theme-light .iconnect-login:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Browse Promo — dark pill CTA, sibling to .cta-pill but inverted (dark) */
.promo-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-pill);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  white-space: nowrap;
}
.promo-link:hover { background: var(--paper); color: var(--ink); }
.header.scrolled .promo-link { background: var(--paper); color: var(--ink); }
.header.scrolled .promo-link:hover,
.theme-light .promo-link:hover { background: var(--orange); color: var(--ink); }
.theme-light .promo-link { background: var(--paper); color: var(--ink); }

.cta-pill {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  padding: 12px 22px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.cta-pill svg { width: 14px; height: 12px; transition: transform var(--t) var(--ease); }
.cta-pill:hover { background: var(--ink); color: var(--paper); }
.cta-pill:hover svg { transform: translateX(4px); }
.header.scrolled .cta-pill { background: var(--ink); color: var(--paper); }
.header.scrolled .cta-pill:hover,
.theme-light .cta-pill:hover { background: var(--orange); color: var(--ink); }
.theme-light .cta-pill { background: var(--ink); color: var(--paper); }

/* ============ MEGA MENU (horizontal, viewport-centered) ============ */
.mega {
  position: fixed;
  top: 84px;
  left: 50%;
  width: var(--max);
  max-width: calc(100vw - 2 * var(--gutter));
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, top .35s var(--ease);
  box-shadow: 0 30px 80px -28px rgba(0,28,51,0.32),
              0 0 0 1px rgba(14,14,14,0.04);
}
.header.scrolled .mega { top: 62px; }
.nav-item.has-mega:hover .mega,
.nav-item.has-mega:focus-within .mega,
.nav-item.has-mega.open .mega {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* invisible bridge so hovering the gap doesn't close the menu — strictly
   limited to the nav-item's own width so it can never overlap a sibling
   nav-item (which previously caused both mega panels to flicker) */
.nav-item.has-mega::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 44px;
  pointer-events: auto;
}
.mega-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 4px;
}
.mega-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 14px 12px;
  border-radius: 12px;
  gap: 6px;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.mega-item:hover { background: var(--paper-2); transform: translateY(-2px); }
.mega-item .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--paper-2);
  border-radius: 10px;
  margin-bottom: 6px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform .6s var(--ease-bounce);
}
.mega-item:hover .ico { background: var(--orange); color: var(--paper); }
.mega-item.dig:hover .ico { background: var(--sky); color: var(--navy); }
.mega-item:hover .meta .name { color: var(--orange); }
.mega-item.dig:hover .meta .name { color: var(--navy); }
.mega-item .ico svg { width: 18px; height: 18px; }
.mega-item .meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mega-item .meta .name {
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1.2;
  display: block;
  transition: color var(--t) var(--ease);
}
.mega-item .meta .desc {
  font-size: 11.5px; color: var(--ink-soft);
  letter-spacing: 0; line-height: 1.4;
  display: block;
}
.mega-item .arr { display: none; }

/* ============ MOBILE MENU ============ */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  align-items: center; justify-content: center;
  position: relative; z-index: 1;
  background: rgba(254,252,247,0.1);
}
.menu-toggle .bar {
  width: 18px; height: 1.5px;
  background: currentColor;
  position: absolute;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), top var(--t) var(--ease);
}
.menu-toggle .bar.b1 { top: 16px; }
.menu-toggle .bar.b2 { top: 22px; }
.menu-toggle .bar.b3 { top: 28px; }
.menu-toggle.open .b1 { top: 22px; transform: rotate(45deg); }
.menu-toggle.open .b2 { opacity: 0; }
.menu-toggle.open .b3 { top: 22px; transform: rotate(-45deg); }
.menu-toggle { color: var(--paper); }
.header.scrolled .menu-toggle,
.theme-light .menu-toggle { color: var(--ink); background: rgba(14,14,14,0.06); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 150;
  padding: 100px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out);
  display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu.open { transform: translateY(0); }

.m-nav { display: flex; flex-direction: column; }
.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 30px; font-weight: 200; letter-spacing: -0.02em;
  transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.m-link:hover { color: var(--orange); padding-left: 8px; }
.m-section:has(> a[href="digital"]) > .m-link:hover { color: var(--sky); }
.m-link .num {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
}
.m-section.has-children .m-link::after { content: ''; }
.m-section .toggle {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  font-size: 18px; font-weight: 300;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.m-section.open .toggle { transform: rotate(45deg); background: var(--orange); color: var(--ink); }

.m-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.m-section.open .m-children { max-height: 600px; }
.m-children a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  font-size: 16px; color: rgba(255,255,255,0.78);
  border-left: 1.5px solid rgba(255,255,255,0.1);
  margin-left: 8px;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.m-children a:hover { color: var(--paper); border-color: var(--orange); padding-left: 22px; }
.m-section:has(> a[href="digital"]) .m-children a:hover { border-color: var(--sky); }

.m-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.m-foot a { font-size: 15px; color: rgba(255,255,255,0.65); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 14px; transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-solid    { background: var(--ink);  color: var(--paper); }
.btn-solid:hover { background: var(--orange); color: var(--ink); }

.btn-orange   { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--ink); color: var(--paper); }

.btn-paper    { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--ink); color: var(--paper); }

.btn-outline  { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-outline.dark { color: var(--ink); border-color: var(--ink); }
.btn-outline.dark:hover { background: var(--ink); color: var(--paper); }

.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
  transition: color var(--t) var(--ease);
}
.btn-link svg { transition: transform var(--t) var(--ease); }
.btn-link:hover { color: var(--orange); }
.btn-link:hover svg { transform: translateX(3px); }
.btn-link.on-dark:hover { color: var(--sky); }

/* ============ SECTION HELPERS ============ */
.section {
  padding: var(--section-pad) var(--gutter);
  position: relative;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head .col-l { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ HERO PATTERNS ============ */
.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  padding: max(96px, 12vh) var(--gutter) clamp(72px, 10vh, 110px);
}
.hero.short { height: auto; min-height: auto; padding: 200px var(--gutter) clamp(80px, 10vw, 140px); }
.hero-orange { background: var(--orange); color: var(--paper); }
.hero-sky    { background: var(--sky);    color: var(--navy); }
.hero-navy   { background: var(--navy);   color: var(--paper); }
.hero-paper  { background: var(--paper);  color: var(--ink); }
.hero-tan    { background: var(--tan-light); color: var(--ink); }

.hero-bg-mark { display: none; }

/* Hero video background — sized to cover the hero (16:9) */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}
/* Orange gradient overlay — solid on the left over the headline,
   fades to transparent on the right where the video is visible */
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--orange) 0%,
    var(--orange) 40%,
    rgba(255, 107, 54, 0.65) 60%,
    rgba(255, 107, 54, 0.10) 85%,
    rgba(255, 107, 54, 0) 100%
  );
}
/* When the hero has a video, soften the spinning watermark
   so it doesn't compete with the footage */
.hero.has-video .hero-bg-mark { opacity: 0.06; z-index: 1; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(20px, 3vh, 36px);
}
.hero.short .hero-inner {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 56px);
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: start;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .9s var(--ease) forwards;
  animation-delay: .2s;
}
.hero-meta .trust {
  max-width: 240px; text-align: right; line-height: 1.5;
}
@media (max-width: 760px) {
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-meta .trust { text-align: left; max-width: none; }
}

.hero-headline {
  font-weight: 200;
  font-size: clamp(38px, 7.8vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.032em;
  margin: 0;
  align-self: center;
}
.hero.short .hero-headline { font-size: clamp(38px, 5.8vw, 84px); align-self: auto; }
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s var(--ease) forwards;
}
.hero-headline .word.w1 { animation-delay: .12s; }
.hero-headline .word.w2 { animation-delay: .26s; }
.hero-headline .word.w3 { animation-delay: .4s; }
.hero-headline .underline {
  display: inline;
  border-bottom: 0;
  padding-bottom: 0;
}
.hero-headline .underline::after {
  content: none;
  animation-delay: 1.05s;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 4vw;
}
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
}

.hero-sub {
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: -0.012em;
  max-width: 22ch;
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards;
  animation-delay: .55s;
}
.hero-sub strong { font-weight: 600; }
.hero-sub .small {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-top: 14px; opacity: 0.82;
}

.hero-actions {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards;
  animation-delay: .75s;
}
@media (max-width: 760px) {
  .hero-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee.light { background: var(--paper); color: var(--ink-soft); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.marquee.tan { background: var(--tan-light); color: var(--ink); }
.marquee-track {
  display: flex;
  white-space: nowrap;
  font-weight: 200;
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: -0.025em;
  animation: scroll 36s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track > span {
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track .marquee-symbol {
  height: 0.5em;
  width: auto;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ ICONS / VISUAL PRIMITIVES ============ */
.icon-tile {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--paper-2);
  border-radius: 14px;
  color: var(--ink);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease-bounce);
}
.icon-tile svg { width: 24px; height: 24px; }

/* Curved image mask using SVG clip-path-like effect via container */
.curved-mask {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

/* ============ UTILITIES ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.delay-5 { transition-delay: .5s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes scaleX  { to { transform: scaleX(1); } }
@keyframes pulse   { 50% { opacity: 0.4; } }
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--gutter) 32px;
  position: relative;
  overflow: hidden;
}
.footer-bg { display: none; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 5vw;
  position: relative;
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

.footer .brand img { height: 28px; }
.footer-pos {
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 22px;
  max-width: 24ch;
}
.footer-addr {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}
.footer h4 {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px; font-weight: 600;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.footer ul a:hover { color: var(--orange); padding-left: 4px; }

/* Last column — contact column with prominent email/phone, CTA, and quick links */
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact .footer-line {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.008em;
  padding: 8px 0;
  transition: color var(--t) var(--ease);
}
.footer-contact .footer-line .ic {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(255,107,54,0.12);
  border-radius: 10px;
  color: var(--orange);
  flex-shrink: 0;
  transition: background var(--t), color var(--t), transform var(--t) var(--ease-bounce);
}
.footer-contact .footer-line .ic svg { width: 16px; height: 16px; }
.footer-contact .footer-line:hover { color: var(--orange); padding-left: 0; }
.footer-contact .footer-line:hover .ic { background: var(--orange); color: var(--ink); transform: scale(1.06) rotate(-4deg); }

.footer-contact .footer-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--ink);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 18px;
  align-self: flex-start;
  transition: background var(--t), color var(--t);
}
.footer-contact .footer-cta:hover { background: var(--paper); color: var(--ink); padding-left: 18px; }
.footer-contact .footer-cta svg {
  width: 14px; height: 14px;
  transition: transform var(--t) var(--ease);
}
.footer-contact .footer-cta:hover svg { transform: translateX(4px); }


.footer-base {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em; text-transform: uppercase;
  position: relative;
}
@media (max-width: 560px) { .footer-base { flex-direction: column; gap: 12px; text-align: center; } }
.footer-base-link {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--t) var(--ease);
}
.footer-base-link:hover { color: var(--orange); }

/* ============ SHARED CARDS ============ */
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 24px 48px -24px rgba(0,28,51,0.18);
}
.card.dark {
  background: var(--navy);
  color: var(--paper);
  border-color: rgba(255,255,255,0.06);
}
.card.dark:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }

.card-num {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.card-num::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.card.dark p { color: rgba(255,255,255,0.78); }

/* ============ FORM ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.field {
  position: relative;
  display: flex; flex-direction: column;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  padding: 24px 0 14px;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  border-radius: 0;
  transition: border-color var(--t) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field label {
  position: absolute;
  top: 24px; left: 0;
  font-size: 16px;
  color: var(--ink-soft);
  pointer-events: none;
  transition: top var(--t) var(--ease), font-size var(--t) var(--ease), color var(--t) var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field.has-value label {
  top: 0;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--orange);
}
.field .hint {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 6px;
}

.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
  font-size: 13px; color: var(--ink-soft);
}
.checkbox-row input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: background var(--t) var(--ease);
}
.checkbox-row input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.checkbox-row input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: var(--ink); font-weight: 700; font-size: 11px;
}

/* Tag selector */
.tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px;
}
.tag {
  padding: 8px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  background: transparent;
  color: var(--ink);
}
.tag:hover { background: var(--ink); color: var(--paper); }
.tag.active { background: var(--orange); color: var(--ink); border-color: var(--orange); }

/* ============ CAROUSEL ============ */
.carousel {
  position: relative;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
  padding-right: var(--gutter);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.carousel-controls {
  display: flex; gap: 16px;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
}
.carousel-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.carousel-arrow:hover { background: var(--ink); color: var(--paper); }
.carousel-arrow:disabled { opacity: 0.3; cursor: not-allowed; transform: none; background: var(--paper); color: var(--ink); }
.carousel-arrow svg { width: 16px; height: 16px; }

.carousel-progress {
  flex: 0 0 200px;
  height: 2px;
  background: var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  max-width: 200px;
}
.carousel-progress span {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--orange);
  transition: width var(--t) var(--ease), left var(--t) var(--ease);
  border-radius: 2px;
  width: 30%;
}

/* Image gallery carousel — used on Print/Promo/Signage/Activations */
.gallery-section {
  padding: clamp(50px, 6vw, 80px) var(--gutter) var(--section-pad);
  background: var(--paper);
}
.gallery-inner { max-width: var(--max); margin: 0 auto; }
.gallery-track { padding-left: 0; }
.gallery-tile {
  position: relative;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  cursor: grab;
}
.gallery-tile:active { cursor: grabbing; }
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
  display: block;
}
.gallery-tile:hover img { transform: scale(1.05); }
/* Captions hidden — gallery uses visual-only presentation */
.gallery-tile .caption { display: none; }

/* ============ ICONNECT MOCK COMPONENT ============ */
.iconnect-mock {
  position: relative;
  aspect-ratio: 1.15 / 1;
  background: var(--navy-soft);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6),
              0 0 0 1px rgba(255,255,255,0.04);
  color: var(--paper);
}
.iconnect-mock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  background: #0a1f33;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.iconnect-mock::after {
  content: '';
  position: absolute;
  top: 12px; left: 18px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 16px 0 0 var(--tan), 32px 0 0 var(--sky);
}
.mock-bar {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 32px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-bar .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sky);
}
.mock-bar .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: pulse 1.6s ease-in-out infinite;
}
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.mock-card {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.05);
}
.mock-card .label {
  font-size: 11px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 10px; display: block;
}
.mock-card .val {
  font-size: 42px; font-weight: 200;
  letter-spacing: -0.025em;
  color: var(--paper); display: block; line-height: 1;
}
.mock-card .delta {
  display: block;
  font-size: 12px;
  color: var(--sky);
  margin-top: 8px;
}
.mock-card.alt .val   { color: var(--orange); }
.mock-card.alt .delta { color: var(--orange-light); }

.mock-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 60px; margin-top: auto;
}
.mock-bars span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  animation: grow 2.4s var(--ease-bounce) infinite alternate;
}
@keyframes grow {
  0%   { height: 30%; }
  100% { height: 90%; }
}
.mock-bars span:nth-child(1) { background: var(--orange);       animation-delay: 0s;  }
.mock-bars span:nth-child(2) { background: var(--orange-light); animation-delay: .1s; }
.mock-bars span:nth-child(3) { background: var(--tan);          animation-delay: .2s; }
.mock-bars span:nth-child(4) { background: var(--sky);          animation-delay: .3s; }
.mock-bars span:nth-child(5) { background: var(--tan);          animation-delay: .4s; }
.mock-bars span:nth-child(6) { background: var(--orange);       animation-delay: .5s; }
.mock-bars span:nth-child(7) { background: var(--orange-light); animation-delay: .6s; }
.mock-bars span:nth-child(8) { background: var(--sky);          animation-delay: .7s; }

/* ============ MEDIA QUERIES — RESPONSIVE NAV ============ */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  /* Compact the header CTA so it sits beside the menu toggle without wrapping */
  .header-cta { gap: 8px; }
  .header-cta .cta-pill {
    padding: 9px 14px;
    font-size: 13px;
    white-space: nowrap;
    gap: 6px;
  }
  .header-cta .cta-pill svg { display: none; }
  .iconnect-login { width: 44px; height: 44px; }
  .iconnect-login svg { width: 18px; height: 18px; }
  .promo-link { display: none; }
}
@media (max-width: 420px) {
  /* Very small phones: drop the iConnect icon, keep the CTA pill */
  .iconnect-login { display: none; }
}

/* Mobile breathing room: tighter section padding + slimmer marquee */
@media (max-width: 600px) {
  :root { --section-pad: clamp(40px, 8vw, 60px); }
  .marquee { padding: 18px 0; }
  .marquee-track { font-size: clamp(22px, 6vw, 40px); }
  .marquee-track > span { gap: 38px; }

  /* Process strip — swipeable carousel on mobile (matches subsvc/why pattern) */
  .process-strip { position: relative; overflow: hidden; }
  .process-strip-grid,
  .process-strip-grid.six {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    /* padding-top gives the floating step-badges (top:-32px) room within the grid box */
    padding: 50px var(--gutter) 14px;
    margin: 36px calc(-1 * var(--gutter)) 0;
    scroll-padding-left: var(--gutter);
  }
  .process-strip-grid::-webkit-scrollbar,
  .process-strip-grid.six::-webkit-scrollbar { display: none; }
  .process-strip-grid > .process-step {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
  }
  .process-strip::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 56px;
    background: linear-gradient(to left, var(--tan-light) 0%, rgba(255,233,222,0) 100%);
    pointer-events: none;
    z-index: 2;
  }

  /* Outcomes — "Why Emmpressit" 4-card row swipes on mobile */
  .solution { position: relative; overflow: hidden; }
  .outcomes {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 0 var(--gutter) 10px;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    scroll-padding-left: var(--gutter);
  }
  .outcomes::-webkit-scrollbar { display: none; }
  .outcomes > .outcome {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
    min-height: 0;
  }
  .solution::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 56px;
    background: linear-gradient(to left, var(--paper-2) 0%, rgba(246,241,231,0) 100%);
    pointer-events: none;
    z-index: 2;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   POPUP CONSULT FORM
   ========================================================================== */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 28, 51, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.popup-backdrop.open { opacity: 1; visibility: visible; }

.popup-modal {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 80px -20px rgba(0, 28, 51, 0.45);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: transform .45s var(--ease-bounce), opacity .35s var(--ease);
}
.popup-backdrop.open .popup-modal { transform: translateY(0) scale(1); opacity: 1; }

.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
  z-index: 2;
}
.popup-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.popup-close svg { width: 14px; height: 14px; }

.popup-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.popup-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }

.popup-title {
  font-weight: 200;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.popup-title .accent { color: var(--orange); font-weight: 200; }

.popup-intro {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 44ch;
}

.popup-modal form .field { margin-bottom: 14px; }
.popup-modal form .form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}
.popup-modal form .form-grid .field { margin-bottom: 0; }

.popup-foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
.popup-foot a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.popup-foot a:hover { color: var(--ink); }

.popup-success {
  text-align: center;
  padding: 20px 0 8px;
}
.popup-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--paper);
  margin: 0 auto 20px;
  display: grid; place-items: center;
  animation: pulse 1.4s var(--ease-bounce);
}
.popup-success .check svg { width: 28px; height: 28px; }
.popup-success h3 {
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.popup-success p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 auto;
}

@media (max-width: 540px) {
  .popup-backdrop { padding: 0; align-items: flex-end; }
  .popup-modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(40px);
    padding: 22px 20px 20px;
  }
  .popup-backdrop.open .popup-modal { transform: translateY(0) scale(1); }
  .popup-close { top: 10px; right: 10px; width: 32px; height: 32px; }
  .popup-eyebrow { margin-bottom: 8px; font-size: 10px; }
  .popup-title { font-size: 26px; margin-bottom: 8px; }
  .popup-intro { font-size: 13.5px; margin-bottom: 16px; }
  .popup-modal form .field { margin-bottom: 10px; }
  .popup-modal form .form-grid { gap: 10px; }
  .popup-modal form .field input,
  .popup-modal form .field select,
  .popup-modal form .field textarea { padding-top: 18px; padding-bottom: 8px; }
  .popup-modal form textarea { min-height: 70px; }
  .popup-modal form button[type="submit"] { margin-top: 14px !important; padding: 14px; }
  .popup-foot { margin-top: 12px; padding-top: 12px; font-size: 12.5px; }
}

body.popup-open { overflow: hidden; }

/* ==========================================================================
   SERVICE SUB-PAGE LAYOUT (shared by print, promotional, activations, signage,
   3pl, web, hosting, seo, paid-media, email, social)
   ========================================================================== */

/* Breadcrumb under header */
.breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 16px var(--gutter);
}
.breadcrumb-inner {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.breadcrumb a { color: inherit; transition: color var(--t) var(--ease); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .here { color: var(--ink); font-weight: 500; }

/* Overview block */
.svc-overview {
  padding: var(--section-pad) var(--gutter);
  background: var(--paper);
}
.svc-overview-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6vw;
  align-items: center;
}
@media (max-width: 880px) { .svc-overview-inner { grid-template-columns: 1fr; gap: 48px; } }
.svc-overview .copy h2 {
  font-weight: 200;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.026em;
  margin: 16px 0 24px;
}
.svc-overview .copy h2 .accent { color: var(--orange); font-weight: 200; }
.svc-overview .copy p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 18px;
}
.svc-overview .visual {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tan-light);
}
.svc-overview .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.svc-overview .visual:hover img { transform: scale(1.04); }
.svc-overview .visual .badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--orange); color: var(--ink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--radius-pill);
}

/* Sub-services grid */
.subsvc {
  padding: var(--section-pad) var(--gutter);
  background: var(--tan-light);
}
.subsvc-inner { max-width: var(--max); margin: 0 auto; }
.subsvc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
@media (max-width: 880px) { .subsvc-grid { grid-template-columns: 1fr 1fr; } }

/* Mobile: convert subsvc grid into a swipeable horizontal carousel
   (stops the 6-card stack on phones; cards scroll-snap on touch swipe) */
@media (max-width: 600px) {
  .subsvc { position: relative; overflow: hidden; }
  .subsvc-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-top: 40px;
    padding-bottom: 10px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    scroll-padding-left: var(--gutter);
  }
  .subsvc-grid::-webkit-scrollbar { display: none; }
  .subsvc-grid > .subsvc-card {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
    min-height: 0;
  }
  /* Edge fade — hints "more cards over there" */
  .subsvc::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 56px;
    background: linear-gradient(to left, var(--tan-light) 0%, rgba(255,233,222,0) 100%);
    pointer-events: none;
    z-index: 2;
  }
}
.subsvc-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.subsvc-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -28px rgba(0,28,51,0.22);
}
.subsvc-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--tan-light);
  display: grid; place-items: center;
  color: var(--orange);
  margin-bottom: 22px;
}
.subsvc-card .ico svg { width: 22px; height: 22px; }
.subsvc-card h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.subsvc-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: auto;
}
.subsvc-card .more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Image variant — replaces icon with a banner image at the top of the card */
.subsvc-card.has-image { padding: 0; overflow: hidden; }
.subsvc-card.has-image .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--tan-light);
}
.subsvc-card.has-image .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter .6s var(--ease);
  filter: grayscale(10%);
  display: block;
}
.subsvc-card.has-image:hover .thumb img { transform: scale(1.05); filter: grayscale(0%); }
.subsvc-card.has-image .body {
  padding: 24px 26px 26px;
  display: flex; flex-direction: column;
  flex: 1;
}

/* Adjacent services cross-sell */
.adjacent {
  padding: var(--section-pad) var(--gutter);
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}
.adjacent-inner { max-width: var(--max); margin: 0 auto; }
.adjacent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 880px) { .adjacent-grid { grid-template-columns: 1fr; } }
.adj-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  aspect-ratio: 4/3;
  background: var(--ink);
}
.adj-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.adj-card:hover img { transform: scale(1.05); }
.adj-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,14,0.85) 0%, rgba(14,14,14,0.15) 50%, transparent 100%);
  z-index: 1;
}
.adj-card .label {
  position: absolute; left: 26px; right: 26px; bottom: 26px;
  z-index: 2; color: var(--paper);
}
.adj-card .label .tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--orange); color: var(--ink);
  padding: 6px 12px; border-radius: var(--radius-pill);
  display: inline-block; margin-bottom: 12px;
}
.adj-card.dig .label .tag { background: var(--sky); color: var(--navy); }
.adj-card .label h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.adj-card .label p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
}

/* "Why Emmpressit" / outcomes block */
.solution {
  padding: var(--section-pad) var(--gutter);
  background: var(--paper-2);
}
.solution-inner { max-width: var(--max); margin: 0 auto; }
.solution-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6vw;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 880px) { .solution-head { grid-template-columns: 1fr; gap: 24px; } }
.solution-head h2 {
  font-weight: 200;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.026em;
}
.solution-head h2 .accent { color: var(--orange); }

.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .outcomes { grid-template-columns: 1fr; } }

.outcome {
  background: var(--orange);
  color: var(--ink);
  padding: 32px 28px;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease);
}
.outcome:hover { transform: translateY(-6px); }
.outcome:nth-child(2) { background: var(--tan); }
.outcome:nth-child(3) { background: var(--sky); }
.outcome:nth-child(4) { background: var(--ink); color: var(--paper); }

.outcome .num {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}
.outcome h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.outcome p {
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: auto;
  opacity: 0.85;
}

/* 5-step process strip */
.process-strip {
  padding: var(--section-pad) var(--gutter);
  background: var(--tan-light);
}
.process-strip-inner { max-width: var(--max); margin: 0 auto; }

.process-strip-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 88px;  /* extra space so floating badges clear the heading */
}
.process-strip-grid.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) {
  .process-strip-grid.six { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.process-strip-rail {
  position: absolute;
  top: 50%;
  left: calc((100% - 4 * 18px) / 10);
  right: calc((100% - 4 * 18px) / 10);
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(to right, var(--orange) 0%, var(--orange-light) 50%, var(--tan) 100%);
  border-radius: 2px;
  z-index: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s var(--ease) .4s;
  box-shadow: 0 4px 16px -4px rgba(255,107,54,0.35);
}
.process-strip-grid.six .process-strip-rail {
  left: calc((100% - 5 * 18px) / 12);
  right: calc((100% - 5 * 18px) / 12);
}
.process-strip-grid.in .process-strip-rail { clip-path: inset(0 0 0 0); }

.process-step {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 50px 24px 28px;
  text-align: center;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 56px -22px rgba(0,28,51,0.22);
}
.step-badge {
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-weight: 300; font-size: 22px;
  letter-spacing: -0.02em;
  border: 4px solid var(--paper);
  box-shadow: 0 8px 22px -8px rgba(0,28,51,0.35);
  transition: background var(--t) var(--ease), transform .8s var(--ease-bounce), box-shadow var(--t) var(--ease);
  z-index: 2;
}
.process-step:hover .step-badge {
  background: var(--orange);
  color: var(--ink);
  transform: translateX(-50%) rotate(360deg) scale(1.06);
  box-shadow: 0 10px 28px -6px rgba(255,107,54,0.5);
}
.step-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 10px;
}
.process-step h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 300;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .process-strip-grid { grid-template-columns: 1fr 1fr; }
  .process-strip-rail { display: none; }
}
@media (max-width: 540px) { .process-strip-grid { grid-template-columns: 1fr; } }

/* Recent work tile grid (also used on service sub-pages) */
.work {
  padding: clamp(50px, 6vw, 80px) var(--gutter) var(--section-pad);
  background: var(--paper);
}
.work-inner { max-width: var(--max); margin: 0 auto; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .work-grid { display: none; } }

.work-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  isolation: isolate;
  text-decoration: none;
}
.work-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.work-tile:hover img { transform: scale(1.06); }

.work-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,14,0.85) 0%, rgba(14,14,14,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--paper);
  z-index: 1;
}
.work-tile .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px;
  align-self: flex-start;
  background: var(--orange); color: var(--ink);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.work-tile.dig .tag { background: var(--sky); color: var(--navy); }
.work-tile .title {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.work-tile .result {
  font-size: 12.5px; color: rgba(255,255,255,0.78);
  margin-top: 6px; letter-spacing: 0.02em;
}
.work-tile.s7 { grid-column: span 7; aspect-ratio: 7/4.4; }
.work-tile.s5 { grid-column: span 5; aspect-ratio: 5/4.4; }
.work-tile.s4 { grid-column: span 4; aspect-ratio: 4/4.6; }
.work-tile.s8 { grid-column: span 8; aspect-ratio: 8/4.6; }
.work-tile.s6 { grid-column: span 6; aspect-ratio: 6/4; }
.work-foot {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}

/* Closing CTA (shared by service sub-pages and most other pages) */
.closing {
  background: var(--orange);
  color: var(--ink);
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  position: relative; overflow: hidden;
  text-align: center;
}
.closing-bg {
  position: absolute;
  right: -8%; bottom: -22%;
  width: 42%; max-width: 520px;
  opacity: 0.10;
  pointer-events: none;
  object-fit: contain;
  filter: brightness(0);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.closing h2 {
  font-weight: 200;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.038em;
  margin: 22px 0 24px;
}
.closing h2 .underline { border-bottom: 0.06em solid var(--ink); padding-bottom: 0.04em; }
.closing h2 .accent { color: var(--paper); }
.closing p {
  font-size: clamp(16px, 1.4vw, 21px);
  max-width: 50ch;
  margin: 0 auto 32px;
  line-height: 1.45;
  font-weight: 300;
}
.closing-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.closing-tags {
  display: flex; justify-content: center; gap: 28px; margin-top: 40px; flex-wrap: wrap;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.closing-tags span { display: inline-flex; align-items: center; gap: 8px; }
.closing-tags svg { width: 12px; height: 12px; }

/* ==========================================================================
   DIGITAL THEME — body.digital-theme overrides shift orange accents to
   navy/sky/sky-light across the digital pillar and all six sub-pages.
   ========================================================================== */
.digital-theme .accent { color: var(--navy-light); }
.digital-theme .h-eyebrow { color: var(--navy-light); }

/* Process timeline — blue rail + sky badge hover */
.digital-theme .process-strip-rail,
.digital-theme .process-rail {
  background: linear-gradient(to right, var(--navy-light) 0%, var(--sky) 50%, var(--sky-light) 100%);
  box-shadow: 0 4px 16px -4px rgba(98,235,232,0.45);
}
.digital-theme .step-label { color: var(--navy-light); }
.digital-theme .process-step:hover .step-badge {
  background: var(--sky);
  color: var(--navy);
  box-shadow: 0 10px 28px -6px rgba(98,235,232,0.55);
}

/* Tan-light section backgrounds → cool/warm tints on digital pages so adjacent sections actually look different */
.digital-theme .subsvc { background: #eaf7f7; }      /* pale sky tint */
.digital-theme .solution { background: var(--paper); }  /* warm white — base default is paper-2, force lighter so it contrasts with neighbours */
.digital-theme .process-strip { background: var(--paper-2); }  /* warm cream */
.digital-theme .svc-overview .visual,
.digital-theme .subsvc-card.has-image .thumb {
  background: #eaf7f7;
}

/* Sub-services cards */
.digital-theme .subsvc-card .ico {
  background: rgba(98,235,232,0.18);
  color: var(--navy-light);
}
.digital-theme .subsvc-card .more { color: var(--navy-light); }

/* Outcomes block — orange/tan/sky/ink → sky/sky-light/navy-soft/navy */
.digital-theme .outcome { background: var(--sky); color: var(--navy); }
.digital-theme .outcome:nth-child(2) { background: var(--sky-light); color: var(--navy); }
.digital-theme .outcome:nth-child(3) { background: var(--navy-soft); color: var(--paper); }
.digital-theme .outcome:nth-child(4) { background: var(--navy); color: var(--paper); }

/* Adjacent cross-sell tag */
.digital-theme .adj-card .label .tag { background: var(--sky); color: var(--navy); }

/* Service eyebrow num pill (used on traditional/digital pillar service blocks) */
.digital-theme .service-eyebrow { color: var(--navy-light); }
.digital-theme .service-eyebrow .num { background: var(--navy-light); color: var(--paper); }
.digital-theme .service h2 .accent { color: var(--navy-light); }
.digital-theme .service-bullets li::before { background: var(--navy-light); }

/* Solution head accent */
.digital-theme .solution-head h2 .accent { color: var(--navy-light); }

/* Overview section heading accent (the page-specific rule outranks the
   generic .digital-theme .accent, so it needs its own override) */
.digital-theme .svc-overview .copy h2 .accent { color: var(--navy-light); }

/* Adjacent section gradient — keep but with subtle blue tint at base */
.digital-theme .adjacent {
  background: linear-gradient(180deg, #eaf7f7 0%, var(--paper) 100%);
}

/* Closing CTA — sky bg on digital pages (matches digital pillar) */
.digital-theme .closing {
  background: var(--sky);
  color: var(--navy);
}
.digital-theme .closing-bg { opacity: 0.18; filter: none; }
.digital-theme .closing h2 { color: var(--navy); }
.digital-theme .closing h2 .accent { color: var(--paper); }
.digital-theme .closing h2 .underline { border-bottom-color: var(--navy); }
.digital-theme .closing p { color: rgba(0,28,51,0.78); }
.digital-theme .closing-tags span { color: rgba(0,28,51,0.78); }
.digital-theme .closing-tags svg { color: var(--navy); }
.digital-theme .closing-actions .btn-solid { background: var(--navy); color: var(--paper); }
.digital-theme .closing-actions .btn-solid:hover { background: var(--paper); color: var(--navy); }
.digital-theme .closing-actions .btn-outline.dark { color: var(--navy); border-color: var(--navy); }
.digital-theme .closing-actions .btn-outline.dark:hover { background: var(--navy); color: var(--paper); }

/* Gallery captions on digital pages — sky tag instead of orange */
.digital-theme .gallery-tile .caption .tag { background: var(--sky); color: var(--navy); }

/* Digital pages — buttons hover blue, not orange */
.digital-theme .btn-solid:hover { background: var(--sky); color: var(--navy); }
.digital-theme .btn-orange:hover { background: var(--navy); color: var(--paper); }
.digital-theme .btn-link:hover { color: var(--navy-light); }
.digital-theme .cta-pill:hover { background: var(--sky); color: var(--navy); }

/* Digital pages — section pills (overview badge, work-tile tags) navy, not orange */
.digital-theme .svc-overview .visual .badge { background: var(--navy); color: var(--paper); }
.digital-theme .work-tile .tag { background: var(--navy); color: var(--paper); }

/* ==========================================================================
   LOGIN POPUP — compact iConnect client portal sign-in
   ========================================================================== */
.popup-modal.login-modal {
  max-width: 420px;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(32px, 4vw, 44px) clamp(28px, 4vw, 40px) clamp(28px, 4vw, 36px);
  text-align: left;
  overflow: hidden;
}
.popup-modal.login-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--sky), var(--orange));
  z-index: 3;
}
.login-modal .popup-close { background: rgba(255,255,255,0.08); color: var(--paper); }
.login-modal .popup-close:hover { background: var(--sky); color: var(--navy); }
.login-modal .popup-eyebrow { color: var(--sky); }
.login-modal .popup-title { color: var(--paper); }
.login-modal .popup-title .accent { color: var(--sky); }
.login-modal .popup-intro { color: rgba(255,255,255,0.7); }

.login-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  outline: none;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  border-color: var(--sky);
  background: rgba(98,235,232,0.06);
}
.login-form input::placeholder { color: rgba(255,255,255,0.45); }
.login-form input[type="submit"],
.login-form .login-submit {
  margin-top: 6px;
  padding: 14px 22px;
  background: var(--sky);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.login-form input[type="submit"]:hover,
.login-form .login-submit:hover { background: var(--paper); transform: translateY(-1px); }

.login-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.login-foot a {
  color: var(--sky);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--t) var(--ease);
}
.login-foot a:hover { color: var(--paper); }
@media (max-width: 540px) {
  .popup-modal.login-modal {
    padding: 24px 22px 22px;
  }
}

/* ==========================================================================
   INNER PAGE HERO — image-on-right + gradient (matches homepage but no video)
   ========================================================================== */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Orange-tinted gradient overlay (Traditional / promo / etc.) */
.hero-orange .hero-fade {
  background: linear-gradient(
    to right,
    var(--orange) 0%,
    var(--orange) 38%,
    rgba(255, 107, 54, 0.68) 58%,
    rgba(255, 107, 54, 0.10) 86%,
    rgba(255, 107, 54, 0) 100%
  );
}
/* Sky/cyan gradient overlay (Digital sub-pages) */
.hero-sky .hero-fade {
  background: linear-gradient(
    to right,
    var(--sky) 0%,
    var(--sky) 38%,
    rgba(98, 235, 232, 0.7) 58%,
    rgba(98, 235, 232, 0.12) 86%,
    rgba(98, 235, 232, 0) 100%
  );
}
/* Navy gradient overlay (if used) */
.hero-navy .hero-fade {
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    var(--navy) 38%,
    rgba(0, 28, 51, 0.7) 58%,
    rgba(0, 28, 51, 0.12) 86%,
    rgba(0, 28, 51, 0) 100%
  );
}

/* When the hero has an image, soften the spinning watermark and ensure
   inner content sits above the image + fade layers */
.hero.has-image .hero-bg-mark { opacity: 0.05; z-index: 1; }
.hero.has-image .hero-fade { z-index: 1; }
.hero.has-image .hero-inner { z-index: 2; }

/* On narrow screens, drop the fade right-edge so image becomes a tiny
   background detail rather than competing with the text */
@media (max-width: 760px) {
  .hero-orange .hero-fade,
  .hero-sky .hero-fade,
  .hero-navy .hero-fade {
    background: linear-gradient(
      to bottom,
      var(--orange) 0%,
      var(--orange) 60%,
      rgba(255, 107, 54, 0.92) 100%
    );
  }
  .hero-sky .hero-fade {
    background: linear-gradient(
      to bottom,
      var(--sky) 0%,
      var(--sky) 60%,
      rgba(98, 235, 232, 0.92) 100%
    );
  }
  .hero-navy .hero-fade {
    background: linear-gradient(
      to bottom,
      var(--navy) 0%,
      var(--navy) 60%,
      rgba(0, 28, 51, 0.92) 100%
    );
  }
}

/* ==========================================================================
   SERVICE-VISUAL — let image match the height of adjacent text column.
   Previously fixed aspect-ratio caused mismatches on traditional/digital service
   sections. Stretch to grid row, fall back to min-height for short text.
   ========================================================================== */
.service .service-inner { align-items: stretch; }
.service .service-visual {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}
/* Image taken out of flow so it can't push the container taller than the
   text column — container height is driven purely by align-items: stretch.
   Desktop only: on mobile the layout is single-column stacked, and absolute
   positioning was causing the image to overflow its container on small viewports. */
@media (min-width: 881px) {
  .service .service-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.service .service-text { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 880px) {
  .service .service-visual { min-height: 300px; height: auto; aspect-ratio: 4/3; max-width: 100%; overflow: hidden; }
  .service .service-visual img { max-width: 100%; max-height: 100%; }
}

/* Svc-overview pages (print / promo / activations / signage / 3pl / web / etc.) */
.svc-overview-inner { align-items: stretch; }
.svc-overview .visual {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}
@media (min-width: 881px) {
  .svc-overview .visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 880px) {
  .svc-overview .visual { max-width: 100%; overflow: hidden; }
  .svc-overview .visual img { max-width: 100%; max-height: 100%; }
}
.svc-overview .copy {
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 880px) {
  .svc-overview .visual { height: auto; aspect-ratio: 5/6; min-height: 320px; }
}

/* iConnect side-by-side — image matches copy height */
.iconnect-inner { align-items: stretch; }
.iconnect-mock { height: 100%; aspect-ratio: auto; min-height: 360px; }
@media (max-width: 880px) {
  .iconnect-mock { aspect-ratio: 1.15/1; min-height: 0; height: auto; }
}

/* ==========================================================================
   PROJECT TILES — non-link cards with hover-reveal description paragraph.
   Used on Home (.work-tile) and Projects (.proj). Override pointer/decoration.
   ========================================================================== */
.work-tile {
  cursor: default;
  text-decoration: none;
}
.work-tile-overlay {
  background: linear-gradient(to top, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.08) 45%, transparent 100%);
  transition: background .5s var(--ease);
}
.work-tile:hover .work-tile-overlay {
  background: linear-gradient(to top, rgba(14,14,14,0.92) 0%, rgba(14,14,14,0.35) 60%, rgba(14,14,14,0.05) 100%);
}
.work-tile .detail {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height .45s var(--ease), opacity .35s var(--ease), transform .45s var(--ease), margin-top .3s var(--ease);
}
.work-tile:hover .detail {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .work-tile-overlay {
    background: linear-gradient(to top, rgba(14,14,14,0.92) 0%, rgba(14,14,14,0.35) 55%, transparent 100%);
  }
  .work-tile .detail { max-height: 240px; opacity: 1; transform: none; }
}

/* Projects-page proj tile: same treatment, plus hover description */
.proj { cursor: default; text-decoration: none; }
.proj .proj-detail {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height .45s var(--ease), opacity .35s var(--ease) .08s, transform .45s var(--ease);
}
.proj:hover .proj-detail {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .proj-overlay {
    background: linear-gradient(to top, rgba(14,14,14,0.88) 0%, rgba(14,14,14,0.2) 55%, transparent 100%);
  }
  .proj .proj-detail { max-height: 240px; opacity: 1; transform: none; }
}

/* ==========================================================================
   ICONNECT LANDING PAGE
   ========================================================================== */
.ic-features {
  padding: var(--section-pad) var(--gutter);
  background: var(--paper-2);
}
.ic-features-inner { max-width: var(--max); margin: 0 auto; }
.ic-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
@media (max-width: 880px) { .ic-feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ic-feat-grid { grid-template-columns: 1fr; } }

.ic-feat {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.ic-feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sky);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.ic-feat:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -28px rgba(0,28,51,0.22);
}
.ic-feat:hover::before { transform: scaleX(1); }
.ic-feat .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(98,235,232,0.16);
  color: var(--navy);
  border-radius: 12px;
  margin-bottom: 22px;
  transition: background var(--t) var(--ease), transform .8s var(--ease-bounce);
}
.ic-feat:hover .ico { background: var(--sky); transform: rotate(360deg); }
.ic-feat .ico svg { width: 22px; height: 22px; }
.ic-feat h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.ic-feat p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* iConnect benefits two-column callouts */
.ic-benefits {
  padding: var(--section-pad) var(--gutter);
  background: var(--navy);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.ic-benefits-bg {
  position: absolute;
  top: -10%; right: -10%;
  width: 50%;
  opacity: 0.05;
  pointer-events: none;
}
.ic-benefits-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.ic-benefits-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 880px) { .ic-benefits-head { grid-template-columns: 1fr; gap: 24px; } }
.ic-benefits-head h2 {
  font-weight: 200;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.ic-benefits-head h2 .accent { color: var(--sky); }
.ic-benefits-head .lede { color: rgba(255,255,255,0.75); }
.ic-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 880px) { .ic-benefit-grid { grid-template-columns: 1fr; } }
.ic-benefit {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.ic-benefit:hover { background: rgba(98,235,232,0.06); border-color: rgba(98,235,232,0.25); transform: translateY(-4px); }
.ic-benefit .n {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: grid; place-items: center;
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.ic-benefit h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.ic-benefit p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.78); }

/* =====================================================
   BLOG — shared styles for post pages + index
   ===================================================== */

/* Blog post hero */
.blog-hero {
  padding: clamp(120px, 14vw, 180px) var(--gutter) clamp(50px, 6vw, 80px);
  background: var(--paper-2);
  color: var(--ink);
}
.blog-hero-inner { max-width: 880px; margin: 0 auto; }
.blog-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color var(--t) var(--ease);
}
.blog-back svg { width: 14px; height: 14px; transform: rotate(180deg); }
.blog-back:hover { color: var(--orange); }
.blog-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.blog-meta .blog-tag {
  background: var(--orange);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.blog-meta .blog-tag.dig { background: var(--navy); color: var(--sky); }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); opacity: 0.6; }
.blog-title {
  font-weight: 200;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: 0 0 24px;
}
.blog-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
  font-weight: 300;
}

/* Hero image — straddles the cream hero and the paper body so the two
   backgrounds visually bridge rather than meet in a hard line. */
.blog-image {
  padding: 0 var(--gutter);
  background: linear-gradient(
    to bottom,
    var(--paper-2) 0%,
    var(--paper-2) 50%,
    var(--paper) 50%,
    var(--paper) 100%
  );
}
.blog-image-inner {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(0,28,51,0.22);
}
.blog-image-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Article body */
.blog-body {
  padding: clamp(50px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 100px);
  background: var(--paper);
}
.blog-body-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
}
.blog-body-inner > * + * { margin-top: 1.4em; }

/* Headings match site typography: thin display weights, tight tracking */
.blog-body-inner h2 {
  font-weight: 200;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-top: 1em;
  margin-bottom: 0.55em;
  color: var(--ink);
}
.blog-body-inner h3 {
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: var(--ink);
}

.blog-body-inner p { margin: 0; }
.blog-body-inner a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  transition: color var(--t) var(--ease);
}
.blog-body-inner a:hover { color: var(--orange); }
.blog-body-inner strong { font-weight: 600; color: var(--ink); }
.blog-body-inner em { font-style: italic; }

/* Restore list bullets — site global resets list-style to none */
.blog-body-inner ul,
.blog-body-inner ol {
  padding-left: 1.4em;
  margin: 0;
}
.blog-body-inner ul { list-style: disc; }
.blog-body-inner ol { list-style: decimal; }
.blog-body-inner ul li,
.blog-body-inner ol li {
  margin: 0.45em 0;
  padding-left: 0.25em;
}
.blog-body-inner ul li::marker { color: var(--orange); }
.blog-body-inner ol li::marker { color: var(--orange); font-weight: 600; }

.blog-body-inner blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.4em 0 0.4em 1.4em;
  margin: 1.8em 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.blog-body-inner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.8em 0;
  display: block;
}
.blog-body-inner hr {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 2.5em 0;
}

/* Related posts */
.blog-related {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
}
.blog-related-inner { max-width: var(--max); margin: 0 auto; }
.blog-related-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.blog-related-head h2 {
  font-weight: 200;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .blog-related-grid { grid-template-columns: 1fr; }
}

/* Blog card (used on index + related) */
.blog-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  border: 1px solid var(--hairline);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,28,51,0.18);
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink);
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
  filter: grayscale(10%);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.blog-card-body {
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.blog-card-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.blog-card-tag {
  background: var(--orange);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.blog-card-tag.dig { background: var(--navy); color: var(--sky); }
.blog-card-title {
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.blog-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-foot {
  margin-top: auto;
  padding-top: 4px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.blog-card-foot svg { width: 12px; height: 12px; }

/* Filter animation (same as projects) */
.blog-card.is-hidden { opacity: 0; pointer-events: none; }
.blog-card {
  opacity: 1;
  transition: opacity .26s ease, transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

/* =====================================================
   FAQ accordion — used on Contact page and inline within
   blog posts. Pairs with the .faq-item JS in script.js.
   ===================================================== */
.faq-list { margin-top: 32px; }
.faq-item {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.3;
  cursor: pointer;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 300;
  transition: transform var(--t) var(--ease), background var(--t);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.is-open summary .ico { background: var(--orange); transform: rotate(45deg); }
/* No-JS fallback — native [open] still rotates the icon */
.faq-item[open] summary .ico { background: var(--orange); transform: rotate(45deg); }
.js-faq .faq-item[open]:not(.is-open) summary .ico { background: var(--ink); transform: none; }
.faq-item .answer {
  padding-top: 14px;
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 70ch;
  transition: height 0.32s var(--ease);
}
/* Spacing for nested paragraphs/lists inside an answer
   (blog-body-inner's > * + * sibling spacing doesn't reach into here) */
.faq-item .answer > * + * { margin-top: 0.9em; }
.faq-item .answer ul,
.faq-item .answer ol { padding-left: 1.4em; }
.faq-item .answer ul { list-style: disc; }
.faq-item .answer ol { list-style: decimal; }
.faq-item .answer ul li::marker { color: var(--orange); }
.faq-item .answer ol li::marker { color: var(--orange); font-weight: 600; }
.faq-item .answer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.faq-item .answer a:hover { color: var(--orange); }
.faq-item .answer strong { font-weight: 600; color: var(--ink); }
