/* ============================================================
   UK PRINT AND PUBLISH - DESIGN SYSTEM
   Brand navy + red (sampled from the logo artwork).
   Type: Instrument Serif (display) / Plus Jakarta Sans (UI).

   This sheet loads AFTER style.css and owns everything the new
   layout uses. New sections are namespaced `u-` so they never
   collide with the inherited stylesheet, which is kept only for
   shared machinery (popup form, Swiper, reCAPTCHA, lightbox).
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --navy:      #2a2c70;
  --navy-d:    #1c1e4e;
  --navy-xd:   #12143a;
  --navy-l:    #4a4d8c;
  --red:       #df1a38;
  --red-d:     #b31329;
  --red-tint:  #fdeaee;
  --ink:       #10132e;
  --body:      #4a4f6b;
  --muted:     #6b6f8d;
  --line:      #e4e5f0;
  --line-2:    #eef0f7;
  --tint:      #f5f6fb;
  --white:     #fff;

  --r:    4px;
  --r-md: 8px;
  --r-lg: 16px;

  --f-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --sec:    clamp(64px, 7vw, 112px);
  --gutter: clamp(18px, 4vw, 48px);
  --max:    1240px;

  --sh-sm: 0 2px 10px rgba(16, 19, 46, .06);
  --sh-md: 0 12px 34px rgba(16, 19, 46, .10);
  --sh-lg: 0 30px 70px rgba(16, 19, 46, .16);
}

/* ---------- 2. BASE ---------- */
body {
  font-family: var(--f-body);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
}
.u-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.u-sec  { padding: var(--sec) 0; position: relative; }
.u-sec--tint { background: var(--tint); }
.u-sec--navy { background: var(--navy-d); color: rgba(255,255,255,.8); }

h1, h2, h3, .u-dh {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.08;
}
.u-h1 { font-size: clamp(42px, 5.4vw, 78px); }
.u-h2 { font-size: clamp(32px, 3.6vw, 52px); }
.u-h3 { font-size: clamp(20px, 1.7vw, 25px); }
em, .u-em { font-style: italic; color: var(--red); }
.u-sec--navy h2, .u-sec--navy h3, .u-sec--navy .u-dh { color: #fff; }
.u-sec--navy em { color: #ff8fa1; }

/* Eyebrow - squared tag, replaces the old pill */
.u-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-size: 11.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px;
}
.u-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); flex: none; }
.u-sec--navy .u-eyebrow { color: #ff8fa1; }
.u-sec--navy .u-eyebrow::before { background: #ff8fa1; }

.u-lede { font-size: 17px; line-height: 1.75; color: var(--body); max-width: 62ch; }
.u-sec--navy .u-lede { color: rgba(255,255,255,.72); }

.u-head { max-width: 720px; margin: 0 0 clamp(38px, 4vw, 60px); }
.u-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.u-head p { margin: 16px 0 0; }

/* ---------- 3. BUTTONS - squared, not pills ---------- */
.btn, .u-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-size: 14px; font-weight: 700; letter-spacing: .01em;
  padding: 15px 28px; border-radius: var(--r); border: 1.5px solid var(--navy);
  background: var(--navy); color: #fff; cursor: pointer; line-height: 1;
  text-decoration: none; transition: transform .18s, background .18s, border-color .18s, color .18s;
}
.btn:hover, .u-btn:hover { transform: translateY(-2px); background: var(--navy-d); border-color: var(--navy-d); color: #fff; }
.btn-red, .u-btn--red { background: var(--red); border-color: var(--red); }
.btn-red:hover, .u-btn--red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-outline, .u-btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover, .u-btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.u-btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.u-btn--light:hover { background: rgba(255,255,255,.86); border-color: transparent; color: var(--navy); }
.u-btn--onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.u-btn--onnavy:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn .arr, .u-btn .arr { transition: transform .18s; }
.btn:hover .arr, .u-btn:hover .arr { transform: translateX(4px); }
.u-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 4. TOP BAR + NAV ---------- */
.u-util { background: var(--navy-xd); color: rgba(255,255,255,.72); font-size: 12.5px; }
.u-util .u-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.u-util-l, .u-util-r { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.u-util a, .u-util span { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.u-util a:hover { color: #fff; }
.u-util i { color: var(--red); font-size: 13px; }

.u-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.u-nav .u-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.u-brand { flex: none; display: flex; align-items: center; }
.u-brand img { height: 48px; width: auto; }
.u-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.u-links > a, .u-dd > button {
  font-family: var(--f-body); font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; position: relative;
}
.u-links > a::after, .u-dd > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.u-links > a:hover::after, .u-dd:hover > button::after, .u-links > a.is-active::after, .u-dd.is-active > button::after { transform: scaleX(1); }

/* Services dropdown */
.u-dd { position: relative; }
.u-dd > button i { font-size: 11px; transition: transform .22s; }
.u-dd:hover > button i { transform: rotate(180deg); }
.u-dd-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px);
  width: 620px; max-width: 90vw; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  /* visibility kept out of the transition so the open state applies instantly;
     only opacity and position animate. Avoids a delayed-visibility edge case. */
  transition: opacity .2s ease, transform .2s ease;
  z-index: 70;
}
/* Open states. `.is-open` is set by the JS click handler and is what makes
   the menu work for touch and for click-to-open; hover and focus-within
   cover mouse and keyboard. All three must stay in this selector list. */
.u-dd:hover .u-dd-menu,
.u-dd:focus-within .u-dd-menu,
.u-dd.is-open .u-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.u-dd.is-open > button i { transform: rotate(180deg); }
/* Hover-to-open is a mouse affordance; on touch it fires on first tap and
   sticks. Leave those devices to the explicit .is-open toggle. */
@media (hover: none) {
  .u-dd:hover .u-dd-menu { opacity: 0; visibility: hidden; pointer-events: none; }
  .u-dd.is-open .u-dd-menu { opacity: 1; visibility: visible; pointer-events: auto; }
}
.u-dd-menu a { display: flex; gap: 12px; padding: 12px; border-radius: var(--r); transition: background .16s; }
.u-dd-menu a:hover { background: var(--tint); }
.u-dd-menu i { color: var(--red); font-size: 17px; margin-top: 2px; flex: none; }
.u-dd-menu b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.u-dd-menu span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.u-dd-foot { grid-column: 1 / -1; border-top: 1px solid var(--line-2); margin-top: 6px; padding: 12px 12px 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.u-dd-foot span { font-size: 12.5px; color: var(--muted); }
.u-dd-foot a { font-size: 13px; font-weight: 700; color: var(--red); padding: 0; }
.u-dd-foot a:hover { background: none; text-decoration: underline; }

.u-navcta { display: flex; align-items: center; gap: 10px; flex: none; }
.u-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.u-burger span { width: 18px; height: 2px; background: var(--navy); display: block; }
@media (max-width: 1080px) { .u-links { display: none; } .u-burger { display: flex; } .u-nav .u-wrap { height: 72px; } .u-brand img { height: 40px; } }
@media (max-width: 560px) { .u-navcta .btn { display: none; } }

/* ---------- 5. HERO ---------- */
.u-hero { position: relative; background: var(--navy-xd); overflow: hidden; isolation: isolate; }
.u-hero-media { position: absolute; inset: 0; z-index: -2; }
.u-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.u-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,20,58,.95) 0%, rgba(18,20,58,.86) 42%, rgba(18,20,58,.42) 72%, rgba(18,20,58,.28) 100%),
    linear-gradient(180deg, rgba(18,20,58,.45) 0%, rgba(18,20,58,0) 40%);
}
.u-hero-inner { padding: clamp(72px, 8vw, 128px) 0 clamp(56px, 6vw, 96px); max-width: 700px; }
.u-hero .u-eyebrow { color: #ff8fa1; }
.u-hero .u-eyebrow::before { background: var(--red); }
.u-hero h1 { color: #fff; margin: 0 0 20px; }
.u-hero h1 em { color: #ff8fa1; }
.u-hero-sub { font-family: var(--f-display); font-size: clamp(19px, 2vw, 26px); color: rgba(255,255,255,.9); margin: 0 0 18px; font-style: italic; }
.u-hero p.u-lede { color: rgba(255,255,255,.74); margin: 0 0 16px; }
.u-hero .u-btns { margin-top: 30px; }

/* Hero stat rail */
.u-hero-rail { border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(4, 1fr); }
.u-hero-rail div { padding: 22px 24px 26px; border-right: 1px solid rgba(255,255,255,.14); }
.u-hero-rail div:last-child { border-right: 0; }
.u-hero-rail b { display: block; font-family: var(--f-display); font-size: 20px; color: #fff; line-height: 1.2; }
.u-hero-rail span { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
@media (max-width: 860px) { .u-hero-rail { grid-template-columns: 1fr 1fr; } .u-hero-rail div:nth-child(2n) { border-right: 0; } .u-hero-rail div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 992px) { .u-hero-scrim { background: linear-gradient(180deg, rgba(18,20,58,.9), rgba(18,20,58,.82)); } }

/* ---------- 6. MARQUEE STRIP ---------- */
.u-strip { background: var(--red); color: #fff; overflow: hidden; padding: 13px 0; }
.u-strip-track { display: flex; gap: 40px; width: max-content; animation: u-marquee 38s linear infinite; }
.u-strip-track span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.u-strip-track span::after { content: "◆"; font-size: 8px; opacity: .7; }
@keyframes u-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .u-strip-track { animation: none; } }

/* ---------- 7. SPLIT (about / process / distribution) ---------- */
.u-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.u-split--rev .u-split-media { order: 2; }
@media (max-width: 900px) { .u-split { grid-template-columns: 1fr; } .u-split--rev .u-split-media { order: 0; } }

.u-figure { position: relative; }
/* Any image inside a split media column gets the finished treatment, whether or
   not it is wrapped in .u-figure. Keeps bare <figure> images looking intentional
   after the decorative wrapper is removed. */
.u-figure img,
.u-split-media figure img { width: 100%; border-radius: var(--r-lg); display: block; }
.u-split-media figure { margin: 0; }
/* red rule block behind the image */
.u-figure::before {
  content: ""; position: absolute; inset: auto auto -18px -18px; width: 46%; height: 62%;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); border-radius: 0 0 0 var(--r-lg); z-index: -1;
}
.u-figure--rev::before { inset: -18px -18px auto auto; border: 0; border-right: 3px solid var(--red); border-top: 3px solid var(--red); border-radius: 0 var(--r-lg) 0 0; }
.u-figure-tag {
  position: absolute; right: 20px; bottom: 20px; background: #fff; border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--sh-md); text-align: center;
}
.u-figure-tag b { display: block; font-family: var(--f-display); font-size: 22px; color: var(--navy); line-height: 1; }
.u-figure-tag span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* checklist */
.u-checks { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 12px; }
.u-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.u-checks i { color: var(--red); font-size: 16px; margin-top: 4px; flex: none; }
.u-sec--navy .u-checks li { color: rgba(255,255,255,.78); }
.u-sec--navy .u-checks i { color: #ff8fa1; }

/* ---------- 8. SERVICES ---------- */
.u-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .u-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .u-svc-grid { grid-template-columns: 1fr; } }
.u-svc {
  background: #fff; padding: clamp(26px, 3vw, 38px); position: relative;
  transition: background .2s, transform .2s; display: flex; flex-direction: column;
}
.u-svc:hover { background: var(--tint); }
.u-svc-n { font-family: var(--f-display); font-size: 15px; color: var(--red); margin-bottom: 14px; letter-spacing: .04em; }
.u-svc-ico { width: 46px; height: 46px; border-radius: var(--r); background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: 21px; margin-bottom: 18px; }
.u-svc h3 { margin: 0 0 10px; font-size: 23px; }
.u-svc p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; flex: 1; }
.u-svc-link { font-size: 13px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.u-svc-link i { transition: transform .18s; }
.u-svc:hover .u-svc-link { color: var(--red); }
.u-svc:hover .u-svc-link i { transform: translateX(4px); }
.u-svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.u-svc-tags span { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--navy-l); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.u-svc:hover .u-svc-tags span { background: #fff; }

/* ---------- 9. PROCESS RAIL ---------- */
.u-steps { display: grid; gap: 0; counter-reset: step; }
.u-step { display: grid; grid-template-columns: 92px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); }
.u-step:last-child { border-bottom: 1px solid var(--line); }
.u-step-n { font-family: var(--f-display); font-size: 42px; color: var(--line); line-height: 1; transition: color .2s; }
.u-step:hover .u-step-n { color: var(--red); }
.u-step h3 { margin: 0 0 8px; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.u-step h3 i { font-size: 16px; color: var(--red); }
.u-step p { margin: 0; font-size: 14.5px; }
@media (max-width: 620px) { .u-step { grid-template-columns: 56px 1fr; gap: 16px; } .u-step-n { font-size: 30px; } }

/* ---------- 10. PRINCIPLE / WHY CARDS ---------- */
.u-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .u-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .u-cards { grid-template-columns: 1fr; } }
.u-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.u-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.u-card i { font-size: 24px; color: var(--red); }
.u-card h3 { margin: 16px 0 8px; font-size: 20px; }
.u-card p { margin: 0; font-size: 14px; line-height: 1.65; }
.u-sec--navy .u-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.u-sec--navy .u-card p { color: rgba(255,255,255,.68); }
.u-sec--navy .u-card i { color: #ff8fa1; }

/* ---------- 11. FAQ ---------- */
.u-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .u-faq-grid { grid-template-columns: 1fr; } }
.u-acc { border-top: 1px solid var(--line); }
.u-acc details { border-bottom: 1px solid var(--line); }
.u-acc summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-body); font-size: 16.5px; font-weight: 700; color: var(--ink); }
.u-acc summary::-webkit-details-marker { display: none; }
.u-acc summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--red); line-height: 1; }
.u-acc details[open] summary::after { content: "–"; }
.u-acc details[open] summary { color: var(--red); }
.u-acc-body { padding: 0 44px 24px 0; font-size: 15px; line-height: 1.75; color: var(--body); }
.u-acc-body a { color: var(--red); text-decoration: underline; }

/* ---------- 12. FORM PANEL ---------- */
.u-formsec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
@media (max-width: 940px) { .u-formsec { grid-template-columns: 1fr; } }
.u-formcard { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(26px, 3vw, 40px); }
.u-formcard h3 { margin: 0 0 6px; font-size: 27px; }
.u-formcard > p { margin: 0 0 22px; font-size: 14px; color: var(--muted); }

/* ---------- 13. CTA BAND ---------- */
.u-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-d); }
.u-cta-media { position: absolute; inset: 0; z-index: -2; }
.u-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.u-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,20,58,.94), rgba(18,20,58,.72)); }
.u-cta-inner { padding: clamp(56px, 6vw, 90px) 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.u-cta h2 { color: #fff; margin: 0 0 12px; max-width: 18ch; }
.u-cta p { color: rgba(255,255,255,.74); margin: 0; max-width: 46ch; font-size: 15px; }

/* ---------- 14. FOOTER ---------- */
.u-foot { background: var(--navy-xd); color: rgba(255,255,255,.66); font-size: 14px; }
.u-foot-top { display: grid; grid-template-columns: 1.55fr .75fr 1fr .95fr 1.3fr; gap: clamp(24px, 3vw, 48px); padding: clamp(52px, 6vw, 84px) 0 46px; }
@media (max-width: 1120px) { .u-foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 980px) { .u-foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .u-foot-top { grid-template-columns: 1fr; } }
.u-foot-logo img { height: 46px; width: auto; filter: brightness(10); border-radius: var(--r); }
.u-foot-about { margin: 20px 0; line-height: 1.75; max-width: 38ch; }
.u-foot h5 { font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.u-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.u-foot ul a { color: rgba(255,255,255,.66); transition: color .16s, padding-left .16s; display: inline-block; }
.u-foot ul a:hover { color: #fff; padding-left: 5px; }
.u-foot-contact { display: grid; gap: 14px; }
.u-foot-contact a, .u-foot-contact span { display: flex; gap: 11px; align-items: flex-start; color: rgba(255,255,255,.66); line-height: 1.6; }
.u-foot-contact i { color: var(--red); font-size: 15px; margin-top: 3px; flex: none; }
.u-foot-contact a:hover { color: #fff; }
.u-foot-socials { display: flex; gap: 9px; margin-top: 22px; }
.u-foot-socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: background .18s, color .18s, border-color .18s; }
.u-foot-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.u-foot-pledges { border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .u-foot-pledges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .u-foot-pledges { grid-template-columns: 1fr; } }
.u-pledge { padding: 24px 26px 24px 0; display: flex; gap: 13px; align-items: flex-start; }
.u-pledge i { color: var(--red); font-size: 19px; margin-top: 2px; }
.u-pledge b { display: block; color: #fff; font-size: 13.5px; font-weight: 700; }
.u-pledge span { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 3px; line-height: 1.5; }

.u-foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 34px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.u-foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.u-foot-legal a:hover { color: #fff; }

/* ---------- 15. PAGE HERO (inner pages) ---------- */
.u-phero { background: var(--navy-d); position: relative; overflow: hidden; isolation: isolate; }
.u-phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000, transparent);
}
.u-phero-inner { padding: clamp(58px, 6.5vw, 100px) 0; max-width: 780px; }
.u-phero h1 { color: #fff; margin: 0 0 16px; font-size: clamp(38px, 4.6vw, 64px); }
.u-phero h1 em { color: #ff8fa1; }
.u-phero p { color: rgba(255,255,255,.72); font-size: 16.5px; max-width: 60ch; margin: 0; }
.u-phero .u-eyebrow { color: #ff8fa1; }
.u-phero .u-eyebrow::before { background: var(--red); }
.u-phero .u-btns { margin-top: 28px; }
.u-crumbs { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.u-crumbs a:hover { color: #fff; }

/* ---------- 16. PORTFOLIO TICKER (restyle of shared markup) ---------- */
.portfolio-sec { padding: var(--sec) 0; background: var(--tint); }
.portfolio-sec .head { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 54px); text-align: center; padding: 0 var(--gutter); }
.portfolio-sec .head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); color: var(--ink); }
.portfolio-sec .head p { font-size: 16px; color: var(--body); margin-top: 14px; }
.pf-slide { width: 232px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.pf-cover { display: block; position: relative; aspect-ratio: 2 / 3; background: var(--tint); }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-cat { position: absolute; top: 10px; left: 10px; background: rgba(18,20,58,.86); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; }
.pf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; }
.pf-info h4 { font-family: var(--f-body); font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 0 0 3px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-info span { font-size: 12px; color: var(--muted); }
.pf-amazon { width: 32px; height: 32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.pf-amazon svg { width: 18px; height: 18px; }

/* ---------- 17. MOBILE DRAWER ---------- */
.u-drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 120; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; }
.u-drawer.is-open { transform: translateX(0); }
.u-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.u-drawer-head img { height: 38px; }
.u-drawer-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--navy); }
.u-drawer nav { padding: 12px 20px; display: grid; }
.u-drawer nav > a, .u-drawer-trigger { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; font-weight: 600; color: var(--ink); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-body); width: 100%; }
.u-drawer-sub { display: none; padding: 4px 0 10px 14px; }
.u-drawer-sub.is-open { display: grid; }
.u-drawer-sub a { padding: 9px 0; font-size: 14px; color: var(--muted); }
.u-drawer-sub a:hover { color: var(--red); }
.u-drawer-foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.u-scrim { position: fixed; inset: 0; background: rgba(16,19,46,.5); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.u-scrim.is-open { opacity: 1; visibility: visible; }
body.u-locked { overflow: hidden; }

/* ---------- 18. BACK TO TOP ---------- */
.u-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: var(--r); background: var(--navy); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, background .2s; z-index: 90; }
.u-top.is-on { opacity: 1; visibility: visible; }
.u-top:hover { background: var(--red); }

/* ---------- 19. BLOG COMING SOON ---------- */
.u-soon { text-align: center; max-width: 620px; margin: 0 auto; }
.u-soon-ico { width: 74px; height: 74px; margin: 0 auto 26px; border-radius: var(--r-lg); background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: 32px; }
.u-soon h2 { margin: 0 0 16px; }
.u-soon .u-btns { justify-content: center; margin-top: 28px; }

/* ---------- 20. A11Y ---------- */
/* The [hidden] attribute must win over any component that sets `display`
   (e.g. .popup-success uses display:grid, which otherwise keeps it visible
   even while hidden). Without this the quote popup shows its success panel
   and the form at the same time. */
[hidden] { display: none !important; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- 18. SERVICE PAGE ADD-ONS ----------
   Styles for the data-driven service pages (service-page-template.php)
   plus shared polish: icon chips on cards, centred flexible card rows,
   card-style checklists, and the five-column footer. */

/* Icon chip on every principle/service card */
.u-card > i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(223, 26, 56, .08);
  font-size: 24px;
}
.u-sec--navy .u-card > i { background: rgba(255, 143, 161, .12); }

/* Flexible card rows: odd counts centre on the last row instead of
   leaving a ragged gap (used by the service page 'cards' sections). */
.u-cards--svc { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.u-cards--svc .u-card {
  flex: 1 1 262px; max-width: 392px; min-width: 250px;
  display: flex; flex-direction: column;
}
.u-cards--svc .u-card h3 { font-size: 21px; }
@media (max-width: 620px) { .u-cards--svc .u-card { max-width: 100%; } }

/* Card-style checklist: bold lead-ins flow inline with the copy */
.u-checklist {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1060px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.u-checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px; font-size: 15px; line-height: 1.7; color: var(--body);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.u-checklist li:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: transparent; }
.u-checklist li i { color: var(--red); font-size: 18px; margin-top: 2px; flex: none; }
.u-checklist li b { color: var(--ink); }
.u-checklist li span { display: block; }
/* A lone last item spans the full row and centres its content width */
.u-checklist li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 640px; justify-self: center; width: 100%; }
.u-checklist li:only-child { max-width: none; }
@media (max-width: 760px) {
  .u-checklist { grid-template-columns: 1fr; }
  .u-checklist li:last-child:nth-child(odd) { max-width: none; }
}

/* u-checks items keep icon + copy as exactly two flex items; the copy
   lives in a span so inline <b> lead-ins wrap naturally. */
.u-checks li > span { display: block; }

/* ---------- 19. SERVICE HERO WITH QUOTE FORM ----------
   Two-column page hero: copy left, quote form card right.
   Stacks under 1024px with the form below the intro. */
.u-phero-grid { display: grid; grid-template-columns: 1.2fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.u-phero--form .u-phero-inner { max-width: none; padding: clamp(44px, 5vw, 84px) 0; }
.u-phero--form h1 { font-size: clamp(30px, 3.3vw, 48px); }
.u-phero-formwrap { padding: clamp(44px, 5vw, 84px) 0; }
.u-phero-formwrap .best-form { padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 32px); }
@media (max-width: 1023px) {
  .u-phero-grid { grid-template-columns: 1fr; gap: 0; }
  .u-phero--form .u-phero-inner { padding-bottom: 28px; }
  .u-phero-formwrap { padding-top: 0; }
}

/* ---------- 20. EQUAL-HEIGHT CARDS WITH SCROLLING COPY ----------
   Long card paragraphs scroll inside the card instead of stretching
   the whole row, so mixed-length copy still lines up. */
.u-cards--svc .u-card p {
  max-height: 236px; overflow-y: auto; padding-right: 10px;
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(223,26,56,.4) rgba(16,19,46,.06);
}
.u-cards--svc .u-card p::-webkit-scrollbar { width: 6px; }
.u-cards--svc .u-card p::-webkit-scrollbar-thumb { background: rgba(223,26,56,.35); border-radius: 99px; }
.u-cards--svc .u-card p::-webkit-scrollbar-thumb:hover { background: rgba(223,26,56,.6); }
.u-cards--svc .u-card p::-webkit-scrollbar-track { background: rgba(16,19,46,.06); border-radius: 99px; }

/* ---------- 21. SECTION CONTENT POLISH ---------- */
/* Centered section heads keep their lede measured and centred */
.u-head--center .u-lede { max-width: 62ch; margin-left: auto; margin-right: auto; }
/* Checks read better with a touch more air between rows */
.u-checks { gap: 13px; }
.u-checks li { line-height: 1.65; }
/* Split copy blocks: keep paragraphs measured for readability */
.u-split .u-lede { max-width: 58ch; }
/* Steps inside a narrow (imageless) container centre themselves */
.u-steps-narrow { max-width: 860px; margin: 0 auto; }

/* ---------- 22. MOBILE CARD SLIDERS ----------
   Built by main.js below 768px from .u-svc-grid / .u-cards /
   .u-checklist. Slides stretch to equal height; pagination
   dots pick up the brand colours. */
.u-card-slider { padding: 4px 4px 40px; margin: 0 -4px; }
.u-card-slider .swiper-slide { height: auto; display: flex; }
.u-card-slider .swiper-slide > * { width: 100%; height: 100%; margin: 0; }
/* Directory cells normally get their frame from the grid wrapper -
   inside a slide they need their own card styling. */
.u-card-slider .u-svc { border: 1px solid var(--line); border-radius: var(--r-lg); }
/* Checklist rows become standalone cards inside slides */
.u-card-slider li.swiper-slide-item { list-style: none; }
.u-card-slider li { list-style: none; }
/* Card copy shows in full on touch - no nested scrollbars in a swipe UI */
.u-card-slider .u-card p { max-height: none; overflow: visible; padding-right: 0; }
/* Pagination dots */
.u-card-slider .swiper-pagination { bottom: 6px; }
.u-card-slider .swiper-pagination-bullet { background: var(--navy); opacity: .22; }
.u-card-slider .swiper-pagination-bullet-active { background: var(--red); opacity: 1; }
.u-sec--navy .u-card-slider .swiper-pagination-bullet { background: #fff; opacity: .35; }
.u-sec--navy .u-card-slider .swiper-pagination-bullet-active { background: #ff8fa1; opacity: 1; }
/* Checklist items keep their card look inside slides (they leave the
   .u-checklist scope when the slider adopts them). */
.u-card-slider li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px; font-size: 15px; line-height: 1.7; color: var(--body);
}
.u-card-slider li i { color: var(--red); font-size: 18px; margin-top: 2px; flex: none; }
.u-card-slider li b { color: var(--ink); }
.u-card-slider li span { display: block; }

/* ---------- 23. QUOTE FORM FIELD ALIGNMENT ----------
   Paired fields keep their controls on one baseline even if a
   label ever wraps to two lines. */
.best-form .bf-row label > input,
.best-form .bf-row label > select { margin-top: auto; }
/* In the narrow hero form card, pairs stack a little earlier */
@media (max-width: 1200px) and (min-width: 1024px) {
  .u-phero-formwrap .bf-row { grid-template-columns: 1fr; margin-bottom: 0; }
  .u-phero-formwrap .bf-row label { margin-bottom: 18px; }
}
