/* U.K Printers — v7 redesign. Same colours as the logo (blue #07689d, red #ed3237, dark #063450).
   Loaded after site.css, so it only overrides and adds. */
:root { --ease: cubic-bezier(.2,.7,.2,1); --lift: 0 22px 46px rgba(4,38,59,.18); }
body { background: #fbfdfe; }

/* ---------- header ---------- */
.site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: transparent; transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(4,38,59,.12); background: rgba(255,255,255,.97); }
.header-bar { transition: min-height .3s var(--ease); }
.site-header.is-scrolled .header-bar { min-height: 66px; }
.nav a::before { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease); }
.nav a:hover::before { transform: scaleX(1); }
.nav a { transition: color .2s; }
@media (max-width: 959px) { .nav a::before { display: none; } }

/* ---------- buttons ---------- */
.btn { transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-red { position: relative; overflow: hidden; box-shadow: 0 10px 22px rgba(237,50,55,.3); }
.btn-red:hover { box-shadow: 0 14px 30px rgba(237,50,55,.42); }
.btn-red::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4.8s var(--ease) infinite; }
@keyframes shine { 0%, 55% { left: -80%; } 100% { left: 140%; } }
.btn-white { background: #fff; color: var(--black); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-white:hover { background: #fff; color: var(--red); }
.btn-outline-white { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--black); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(ellipse at 78% 35%, #0f7bb3 0%, var(--black) 62%), var(--black); }
.hero-grid { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(237,50,55,.26), transparent 65%); animation: float 14s ease-in-out infinite; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.hero-copy > *:nth-child(6) { animation-delay: .55s; }
.hero-art { animation: rise 1s var(--ease) .25s both; }
.hero-title { text-shadow: 0 6px 30px rgba(0,0,0,.25); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-34px, 26px); } }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: .95rem 0; white-space: nowrap; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--red), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--red), transparent); }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-group { display: inline-flex; align-items: center; flex: none; }
.marquee-group span { font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .92rem; padding: 0 1.4rem; }
.marquee-group span::after { content: "✦"; margin-left: 2.8rem; opacity: .75; font-size: .75rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section-head h2 { position: relative; }
.kicker { text-transform: uppercase; color: var(--red); font-weight: 700; }
.kicker::before { width: 34px; height: 3px; border-radius: 3px; }

/* services */
.svc a { position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.svc a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--red)); transition: transform .5s var(--ease); }
.svc a:hover { transform: translateY(-5px); box-shadow: var(--lift); border-color: transparent; }
.svc a:hover::before { transform: scaleX(1); }
.svc-icon { transition: transform .45s var(--ease); }
.svc a:hover .svc-icon { transform: rotate(-8deg) scale(1.1); }
.svc-more svg { transition: transform .3s var(--ease); }
.svc a:hover .svc-more svg { transform: translateX(5px); }

/* tiles (portfolio) */
.tile { transition: transform .4s var(--ease), box-shadow .4s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(180deg, transparent 45%, rgba(6,52,80,.8)); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.tile:hover::after { opacity: 1; }
.tile-label { z-index: 2; }

/* why us */
.why-points li { transition: transform .35s var(--ease), background-color .35s; }
.why-points li:hover { transform: translateY(-5px); background: rgba(255,255,255,.18); }
.why-points .wp-icon { transition: transform .4s var(--ease); }
.why-points li:hover .wp-icon { transform: scale(1.12) rotate(-6deg); }

/* ---------- inner page header ---------- */
.page-head { background: linear-gradient(120deg, var(--black) 0%, #08507c 100%); }
.page-head::after { content: ""; position: absolute; inset: -40%; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 85% 40%, #000 0%, transparent 70%);
  animation: drift 28s linear infinite; }
.ph-inner { z-index: 1; }
.ph-inner > div > * { animation: rise .7s var(--ease) both; }
.ph-inner > div > *:nth-child(2) { animation-delay: .1s; }
.ph-inner > div > *:nth-child(3) { animation-delay: .2s; }
.ph-slogan { animation: wobble 7s ease-in-out infinite; }
@keyframes drift { to { transform: translate(24px, 24px); } }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-3deg) translateY(-4px); } }

/* ---------- footer ---------- */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--blue)); background-size: 200% 100%; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: 200% 0; } }
.f-menu a { display: inline-block; transition: transform .25s var(--ease), color .2s; }
.f-menu a:hover { transform: translateX(4px); color: #fff; }
.f-policies a { transition: color .2s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal:not(.is-in) { opacity: 1 !important; transform: none !important; }
  .sheet-line { transform: scaleX(1); }
}
