/* The Sign Hub: palette sampled from the client logo (pink, teal, gold paint splashes on charcoal). */
/* The "Exceeding Expectations" tagline only. The logo's tagline was set in Alana Bold (Adobe Fonts, paid); Dancing
   Script Bold is the closest free match (SIL Open Font License, assets/fonts/dancing-script-OFL.txt). To use the real
   Alana Bold later, put its name first in --font-tagline. Nothing else on the site uses this font. */
@font-face { font-family: "Dancing Script"; src: url("/assets/fonts/dancing-script-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
:root {
  --ink: #2b2c31;
  --font-tagline: "Dancing Script", "Segoe Script", cursive;
  --ink-2: #45474d;
  --paper: #ffffff;
  --paper-2: #f4f5fa;
  --text: #1c1c2e;
  --muted: #5d5f76;
  --line: #e2e4ee;
  --cyan: #0993b6;
  --magenta: #d9449a;
  --yellow: #d8b33c;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 44, 49, .10);
  --font-display: "Archivo Black", Impact, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--magenta); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--magenta); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 8px 20px rgba(217, 68, 154, .35); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-wa { background: var(--wa); color: #0b3d20; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; color: #fff; }
.brand-logo { height: 66px; width: auto; display: block; }
.brand-footer { background: #fff; border-radius: 12px; padding: 8px 12px; }
.brand-footer .brand-logo { height: 64px; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-menu a:not(.btn):hover { color: var(--magenta); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(9,147,182,.28), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(217,68,154,.25), transparent 60%), var(--ink); color: #fff; padding: clamp(56px, 9vw, 110px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
.hero .hl { background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.78); }
.hero .eyebrow { color: var(--yellow); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: rgba(255,255,255,.7); font-size: .95rem; }
.hero-facts strong { color: #fff; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 440px; justify-self: center; width: 100%; }
.sign-card { position: absolute; inset: 24% 12%; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-4deg); border: 6px solid var(--ink); padding: 14px; }
.sign-card img { width: 100%; height: auto; }
.sign-big { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; color: var(--magenta); }
.sign-small { font-family: var(--font-tagline); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.1; color: var(--ink); }

/* Sections */
section[id] { scroll-margin-top: 76px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* A last card alone on its row sits in the middle (13 services). */
.services > .service:last-child:nth-child(3n+1) { grid-column: 2; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service p { color: var(--muted); margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px; color: #fff; background: var(--ink); }
.service:nth-child(3n+1) .ico { background: var(--cyan); }
.service:nth-child(3n+2) .ico { background: var(--magenta); }
.service:nth-child(3n) .ico { background: var(--ink); color: var(--yellow); }

.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-item { margin: 0; }
.work-item img, .work-ph { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; object-position: center 45%; border-radius: var(--radius); }
.work-ph { display: flex; align-items: flex-end; padding: 18px; color: #fff; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.ph-1 { background: linear-gradient(160deg, var(--cyan), var(--ink)); }
.ph-2 { background: linear-gradient(160deg, var(--magenta), var(--ink)); }
.ph-3 { background: linear-gradient(160deg, #ffb300, var(--magenta)); }
.ph-4 { background: linear-gradient(160deg, var(--ink-2), var(--cyan)); }
.work-item figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.more { margin-top: 28px; font-weight: 600; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 26px; border-radius: var(--radius); background: var(--paper-2); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 12px; color: var(--magenta); }
.steps p { color: var(--muted); margin: 0; }

/* Quote */
.section-quote { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-list a { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(9,147,182,.2); }
[aria-invalid="true"] { border-color: var(--magenta); }
.form-error { color: var(--magenta); font-weight: 600; margin: 0 0 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-ok { background: #e7f5ee; color: #1d6b40; border-radius: 10px; padding: 12px 14px; font-weight: 600; margin: 0 0 12px; }
/* Honeypot: off-screen for people, filled in by form bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 44px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.tagline { margin: 10px 0 0; font-family: var(--font-tagline); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #fff; text-decoration: none; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 0; font-size: .85rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); }

/* ---------- Wow layer ---------- */
.hero { position: relative; overflow: visible; overflow-x: clip; }
.hero-art { perspective: 900px; }
.ink { position: absolute; inset: -14%; width: 128%; height: 128%; overflow: visible; }
.sign-card { transition: transform .25s ease-out; will-change: transform; z-index: 1; }

/* Print-registration intro: the C/M/Y plates start misaligned and snap into register */
.register { animation: register 1.4s cubic-bezier(.2,.9,.2,1) .15s both; }
.register .hl { text-shadow: none; }
@keyframes register {
  0%   { text-shadow: -14px -6px 0 rgba(9,147,182,.9), 12px 4px 0 rgba(217,68,154,.9), 2px 14px 0 rgba(216,179,60,.9); opacity: 0; }
  25%  { opacity: 1; }
  70%  { text-shadow: -2px -1px 0 rgba(9,147,182,.8), 2px 1px 0 rgba(217,68,154,.8), 0 2px 0 rgba(216,179,60,.8); }
  100% { text-shadow: 0 0 0 rgba(9,147,182,0), 0 0 0 rgba(217,68,154,0), 0 0 0 rgba(216,179,60,0); }
}

/* Paint dripping off the hero into the next section */
.drips { position: absolute; left: 0; right: 0; bottom: -88px; width: 100%; height: 90px; fill: var(--ink); z-index: 2; pointer-events: none; }
.drop { animation: drip 3.6s cubic-bezier(.55,0,.9,.45) infinite; transform-box: fill-box; transform-origin: center; }
.d2 { animation-delay: 1.3s; animation-duration: 4.2s; }
.d3 { animation-delay: 2.4s; animation-duration: 3.2s; }
@keyframes drip {
  0%, 35% { transform: translateY(0) scale(1, 1); opacity: 1; }
  80% { transform: translateY(70px) scale(.8, 1.3); opacity: 1; }
  100% { transform: translateY(95px) scale(.4, .6); opacity: 0; }
}
#services { padding-top: calc(clamp(56px, 8vw, 96px) + 60px); }


/* Halftone dots on service cards */
.service { position: relative; overflow: hidden; isolation: isolate; }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease, transform .6s ease;
  background: radial-gradient(circle at 100% 0%, rgba(217,68,154,.22) 0, transparent 55%),
              radial-gradient(rgba(9,147,182,.35) 1.4px, transparent 1.6px) 0 0 / 11px 11px;
  -webkit-mask: radial-gradient(circle at 100% 0%, #000 0, transparent 70%); mask: radial-gradient(circle at 100% 0%, #000 0, transparent 70%);
  transform: scale(.9); transform-origin: top right; }
.service:hover::after { opacity: 1; transform: scale(1); }
.service:nth-child(3n+2)::after { background: radial-gradient(circle at 100% 0%, rgba(9,147,182,.2) 0, transparent 55%), radial-gradient(rgba(217,68,154,.35) 1.4px, transparent 1.6px) 0 0 / 11px 11px; }
.service:nth-child(3n)::after { background: radial-gradient(circle at 100% 0%, rgba(216,179,60,.28) 0, transparent 55%), radial-gradient(rgba(43,44,49,.3) 1.4px, transparent 1.6px) 0 0 / 11px 11px; }

/* Scroll reveal (only when JS runs, so content can never stay hidden) */
.js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in, .js .reveal-group.in > * { opacity: 1; transform: none; }
.js .reveal-group.in > *:nth-child(2) { transition-delay: .07s; }
.js .reveal-group.in > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-group.in > *:nth-child(4) { transition-delay: .21s; }
.js .reveal-group.in > *:nth-child(5) { transition-delay: .28s; }
.js .reveal-group.in > *:nth-child(6) { transition-delay: .35s; }
.js .reveal-group.in > *:nth-child(n+7) { transition-delay: .42s; }

/* ---------- Portfolio page (work.html) ---------- */
.nav-menu a[aria-current="page"] { color: var(--magenta); }
.work-hero { position: relative; overflow: visible; overflow-x: clip; color: #fff; padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px);
  background: radial-gradient(900px 420px at 90% 0%, rgba(9,147,182,.3), transparent 60%), radial-gradient(800px 420px at 0% 100%, rgba(217,68,154,.28), transparent 60%), var(--ink); }
.work-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.work-hero .hl { background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-hero .lead { color: rgba(255,255,255,.78); }
.work-hero .eyebrow { color: var(--yellow); }
.work-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* Fanned stack of real prints; fans out further on hover */
.print-stack { position: relative; height: 380px; perspective: 1000px; }
.print-stack .print { position: absolute; left: 50%; top: 50%; width: 46%; margin: 0; background: #fff; padding: 8px 8px 26px; border-radius: 6px;
  box-shadow: 0 24px 50px rgba(0,0,0,.45); transform: translate(-50%, -50%) rotate(var(--r)) translateX(var(--x)); transition: transform .6s cubic-bezier(.2,.8,.2,1);
  animation: deal .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--n) * .12s + .2s); }
.print-stack .print img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.print-stack:hover .print { transform: translate(-50%, -50%) rotate(calc(var(--r) * 1.8)) translateX(calc(var(--x) * 2.1)); }
@keyframes deal { from { opacity: 0; transform: translate(-50%, 40%) rotate(0deg) scale(.8); } }

/* Featured project */
.feature { overflow-x: clip; }
.feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-media { position: relative; }
.feature-media::before { content: ""; position: absolute; inset: 8% -4% -4% 8%; border-radius: 22px; background: linear-gradient(135deg, var(--cyan), var(--magenta) 60%, var(--yellow)); transform: rotate(3deg); }
.feature-media img { position: relative; display: block; width: 100%; max-height: 560px; object-fit: cover; object-position: center 35%; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
.feature-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.lead-dark { font-size: 1.12rem; color: var(--muted); }
.feature-facts { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.feature-facts li span { color: var(--muted); font-weight: 500; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.feature-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 32px; }
.chip { font: inherit; font-weight: 600; font-size: .95rem; padding: .55em 1.05em; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip span { display: inline-block; min-width: 1.6em; margin-left: .3em; padding: 0 .4em; border-radius: 999px; background: var(--paper-2); font-size: .8rem; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { background: var(--magenta); color: #fff; }

/* Masonry gallery */
.pf-grid { columns: 3 300px; column-gap: 22px; }
.pf-item { break-inside: avoid; margin: 0 0 22px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px rgba(43,44,49,.08); transition: transform .25s ease, box-shadow .25s ease; }
.pf-item:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 22px 44px rgba(43,44,49,.16); }
.pf-item[hidden] { display: none; }
.pf-item.pop { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.pf-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.pf-open img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pf-open:hover img, .pf-open:focus-visible img { transform: scale(1.05); }
.pf-zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); opacity: 0; transform: scale(.7); transition: .25s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2c31' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E"); background-size: 22px; background-position: center; background-repeat: no-repeat; }
.pf-open:hover .pf-zoom, .pf-open:focus-visible .pf-zoom { opacity: 1; transform: none; }
.pf-item figcaption { padding: 16px 18px 18px; display: grid; gap: 6px; }
.pf-item strong { font-size: 1.05rem; line-height: 1.3; }
.pf-sum { color: var(--muted); font-size: .93rem; }
.pf-quote { margin-top: 4px; font-weight: 700; font-size: .9rem; color: var(--magenta); text-decoration: none; }
.pf-quote:hover { text-decoration: underline; }
.pf-tag { justify-self: start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3em .7em; border-radius: 999px; background: rgba(9,147,182,.12); color: #06708b; }
.tag-banners { background: rgba(217,68,154,.12); color: #b02a78; }
.tag-clothing { background: rgba(216,179,60,.2); color: #7a5f0c; }
.tag-promo { background: rgba(9,147,182,.12); color: #06708b; }
.tag-print, .tag-design { background: rgba(43,44,49,.08); color: var(--ink); }

/* Videos */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reel { position: relative; display: grid; gap: 8px; align-content: end; min-height: 300px; padding: 22px; border-radius: 18px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .25s ease; }
.reel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, var(--cyan), var(--ink) 75%); }
.reel-banners::before { background: linear-gradient(160deg, var(--magenta), var(--ink) 75%); }
.reel-clothing::before { background: linear-gradient(160deg, var(--yellow), var(--ink) 75%); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background: radial-gradient(rgba(255,255,255,.35) 1.2px, transparent 1.5px) 0 0 / 12px 12px;
  -webkit-mask: linear-gradient(#000, transparent 70%); mask: linear-gradient(#000, transparent 70%); }
.reel:hover { transform: translateY(-4px) rotate(-.6deg); }
.reel .pf-tag { background: rgba(255,255,255,.18); color: #fff; }
.reel strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.reel .pf-sum { color: rgba(255,255,255,.8); }
.reel-go { font-weight: 700; font-size: .9rem; }
.reel-play { position: absolute; top: 22px; right: 22px; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: ping 2.4s infinite; }
.reel-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 18px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 80%, 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--magenta), #b8347f 45%, var(--cyan)); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* Lightbox */
.lightbox { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: #111; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(15,15,18,.86); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .3s cubic-bezier(.2,.8,.2,1); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox figure { margin: 0; display: grid; }
.lightbox img { display: block; width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 18px 18px 0 0; background: #111; }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; }
.lightbox figcaption div { display: grid; gap: 4px; }
.lightbox .pf-sum { color: rgba(255,255,255,.7); }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.9rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.35); display: grid; place-items: center; padding: 0 0 4px; }
.lb-btn:hover { background: var(--yellow); }
.lb-close { top: -14px; right: -14px; }
.lb-prev { left: -22px; top: 40%; }
.lb-next { right: -22px; top: 40%; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
.lb-count { position: absolute; top: 12px; left: 16px; margin: 0; padding: .2em .7em; border-radius: 999px; background: rgba(0,0,0,.55); font-size: .85rem; font-weight: 600; }

/* Home teaser button */
.more-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .services > .service:last-child:nth-child(3n+1) { grid-column: auto; }
  .services > .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .work, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .services, .work, .steps, .field-row { grid-template-columns: 1fr; }
  .services > .service:last-child:nth-child(odd) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}
@media (max-width: 760px) {
  .drips { height: 50px; bottom: -48px; }
  #services { padding-top: calc(clamp(56px, 8vw, 96px) + 30px); }
}
@media (max-width: 960px) {
  .work-hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .print-stack { height: 300px; max-width: 460px; width: 100%; justify-self: center; }
  .reels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .reels { grid-template-columns: 1fr; }
  .reel { min-height: 220px; }
  .print-stack { height: 250px; }
  .feature-facts li { grid-template-columns: 96px 1fr; }
  .lb-prev { left: 6px; top: auto; bottom: 84px; }
  .lb-next { right: 6px; top: auto; bottom: 84px; }
  .lb-close { top: 8px; right: 8px; }
  .lightbox { width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
}

/* ---------- home: catalogue sneak peek ---------- */
.peek { padding-top: 0; }
.peek > .wrap { border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 80px); }
.peek .hl { background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.peek-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.peek-tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.peek-tile:hover, .peek-tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.peek-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.peek-mosaic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 6%; transition: transform .35s ease; }
.peek-tile:hover .peek-mosaic img { transform: scale(1.05); }
.peek-cap { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.peek-name { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; }
.peek-n { font-size: .85rem; font-weight: 600; color: var(--magenta); }
.peek-sub { margin: 36px 0 12px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.peek-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.peek-pick { flex: 0 0 160px; scroll-snap-align: start; text-decoration: none; color: var(--ink); }
.peek-pick-img { display: block; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; transition: border-color .2s, box-shadow .2s; }
.peek-pick-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.peek-pick:hover .peek-pick-img { border-color: transparent; box-shadow: var(--shadow); }
.peek-pick-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: .88rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) { .peek-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .peek-tiles { gap: 10px; } .peek-cap { padding: 10px; } .peek-name { font-size: .92rem; } .peek-pick { flex-basis: 130px; } }

/* ---------- catalogue (catalogue.html, product.html) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ql-open { font: inherit; font-weight: 600; color: var(--ink); background: none; border: 2px solid var(--ink); border-radius: 999px; padding: .35em .9em; cursor: pointer; display: inline-flex; align-items: center; gap: .45em; }
.ql-open:hover { border-color: var(--magenta); color: var(--magenta); }
.ql-count { min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: .8rem; display: inline-grid; place-items: center; }
.ql-count:not([data-n="0"]) { background: var(--magenta); color: #fff; }

.cat-hero { color: #fff; background: radial-gradient(1200px 400px at 85% -10%, rgba(217,68,154,.35), transparent 60%), radial-gradient(900px 380px at 0% 110%, rgba(9,147,182,.35), transparent 60%), var(--ink); padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.cat-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.cat-hero .hl { background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cat-hero .lead { color: rgba(255,255,255,.8); }
.cat-hero .eyebrow { color: var(--yellow); }
.cat-search { display: flex; gap: 10px; max-width: 640px; margin-top: 22px; }
.cat-search input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: .8em 1.1em; border-radius: 999px; border: 2px solid transparent; background: #fff; color: var(--ink); }
.cat-search input:focus { outline: none; border-color: var(--cyan); }

.cat-section { padding-top: 28px; }
.cat-tops { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 18px; scrollbar-width: thin; }
.cat-top { flex: none; font: inherit; font-weight: 600; font-size: .92rem; padding: .5em 1em; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.cat-top span { margin-left: .2em; color: var(--muted); font-weight: 500; font-size: .8rem; }
.cat-top:hover { border-color: var(--ink); }
.cat-top[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-top[aria-pressed="true"] span { color: var(--yellow); }

.cat-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.cat-filters { position: sticky; top: 96px; display: grid; gap: 20px; }
.cf-title { font-family: var(--font-body); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px; }
.cf-list { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; }
.cf-sub { font: inherit; font-size: .92rem; text-align: left; display: flex; justify-content: space-between; gap: 8px; padding: .35em .6em; border-radius: 8px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.cf-sub span { color: var(--muted); font-size: .8rem; }
.cf-sub:hover { background: var(--paper-2); }
.cf-sub[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cf-sub[aria-pressed="true"] span { color: var(--yellow); }
.cf-swatches, .pd-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--sw, #ccc); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.sw-lg { width: 36px; height: 36px; }
.sw-none { background: repeating-linear-gradient(45deg, #eee 0 4px, #fff 4px 8px); }
.sw-out { opacity: .4; }
.cat-filters select, .cat-bar select, .pd-form select, .pd-form input, .ql input, .ql textarea { font: inherit; font-size: .95rem; width: 100%; padding: .55em .7em; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.cat-filters select:focus, .pd-form select:focus, .pd-form input:focus, .ql input:focus, .ql textarea:focus { outline: none; border-color: var(--cyan); }
.cf-check { display: flex; align-items: center; gap: 8px; font-size: .95rem; padding: 3px 0; cursor: pointer; }
.cf-check input { width: 18px; height: 18px; accent-color: var(--magenta); }

.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-crumbs { margin: 0; font-weight: 600; color: var(--muted); }
.cat-bar-right { display: flex; gap: 8px; align-items: center; }
.cat-bar select { width: auto; }
.cf-toggle { display: none; }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.prod-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.prod-img { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 8px; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; }
.noimg { width: 100%; height: 100%; background: var(--paper-2); }
.prod-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25em .6em; border-radius: 999px; background: var(--ink); color: #fff; }
.b-new { background: var(--magenta); }
.b-gift { background: var(--yellow); color: var(--ink); }
.b-made { background: var(--cyan); }
.prod-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; border-top: 1px solid var(--line); flex: 1; }
.prod-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.prod-name { font-weight: 600; line-height: 1.3; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; gap: 6px; font-size: .78rem; color: var(--muted); }
.prod-code { font-family: ui-monospace, Consolas, monospace; }
.cat-loading, .cat-empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }
.cat-more { text-align: center; margin-top: 28px; }

/* product page */
.pd-section { padding-top: 24px; }
.pd-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.pd-crumbs a { color: var(--muted); }
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-gallery { position: sticky; top: 96px; }
.pd-main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; place-items: center; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pd-thumb { flex: none; width: 72px; height: 72px; padding: 3px; border-radius: 10px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb[aria-pressed="true"] { border-color: var(--ink); }
.pd-brand { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--magenta); font-weight: 700; margin-bottom: .3em; }
.pd-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.pd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: var(--paper-2); padding: .25em .6em; border-radius: 6px; }
.stock { font-size: .82rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; }
.st-in { background: #e3f6ea; color: #17673a; }
.st-low { background: #fbf2d9; color: #7a5b07; }
.st-out { background: #fde4ef; color: #9c1f62; }
.st-made, .st-ask { background: #e0f2f7; color: #076680; }
.pd-note { color: var(--muted); font-size: .95rem; margin: 0 0 .4em; }
.pd-form { display: grid; gap: 16px; margin-top: 22px; padding: 22px; border-radius: var(--radius); background: var(--paper-2); }
.pd-field { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; font-weight: 600; font-size: .92rem; min-width: 0; }
.pd-field legend { padding: 0; margin-bottom: 8px; }
.pd-field legend strong { font-weight: 500; color: var(--muted); }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-size { font: inherit; font-weight: 600; min-width: 46px; padding: .45em .7em; border-radius: 8px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.pd-size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pd-size.sz-out { opacity: .45; text-decoration: line-through; }
.pd-hint { font-weight: 400; font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-actions .btn { flex: 1 1 180px; text-align: center; }
.pd-promise { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.pd-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px 48px; margin-top: 12px; }
.pd-block { min-width: 0; }
.pd-block h2 { font-size: 1.35rem; }
.pd-desc { color: var(--ink-2); }
.pd-desc ul { padding-left: 1.2em; }
.pd-desc table { border-collapse: collapse; font-size: .9rem; }
.pd-desc td, .pd-desc th { border: 1px solid var(--line); padding: 4px 8px; }
.pd-specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.pd-specs dt { font-weight: 600; color: var(--muted); }
.pd-specs dd { margin: 0; }
.pd-table-wrap { overflow-x: auto; }
.pd-brand-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pd-brand-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--line); padding: 6px 8px; }
.pd-brand-table td { border-bottom: 1px solid var(--line); padding: 8px; vertical-align: top; }
.pd-brand-table small { display: block; color: var(--muted); }
.pd-video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.pd-related { padding-top: 56px; }
.pd-related h2 { font-size: 1.6rem; }
.prod-grid-sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* quote list drawer */
.ql { position: fixed; inset: 0; z-index: 90; }
.ql[hidden] { display: none; }
.ql-backdrop { position: absolute; inset: 0; background: rgba(28,28,46,.5); }
.ql-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
.ql-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ql-head h2 { font-size: 1.3rem; margin: 0; }
.ql-x, .ql-rm { font-size: 1.6rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); cursor: pointer; flex: none; }
.ql-rm { font-size: 1.2rem; width: 32px; height: 32px; }
.ql-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.ql-empty { color: var(--muted); padding: 30px 0; }
.ql-done { background: #e7f5ee; color: #1d6b40; border-radius: 10px; padding: 14px 16px; font-weight: 600; margin: 20px 0; }
.ql-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ql-item > img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.ql-info { display: grid; gap: 2px; min-width: 0; }
.ql-name { font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.ql-meta { font-size: .8rem; color: var(--muted); }
.ql-qty { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; margin-top: 4px; }
.ql .ql-qty input { width: 110px; padding: .3em .5em; }
.ql-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: grid; gap: 10px; background: var(--paper-2); }
.ql-foot[hidden] { display: none; }
.ql-foot label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.ql-help { font-size: .9rem; color: var(--muted); margin: 0; }
.ql-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ql-fields label:first-child { grid-column: 1 / -1; }
.ql-send { display: flex; gap: 8px; flex-wrap: wrap; }
.ql-send .btn { flex: 1 1 160px; }
body.ql-on { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); animation: toast-in .25s ease-out; transition: opacity .4s; }
.toast.out { opacity: 0; }
.toast-btn { font: inherit; font-weight: 700; background: var(--magenta); color: #fff; border: 0; border-radius: 999px; padding: .35em .9em; cursor: pointer; }
@keyframes toast-in { from { transform: translate(-50%, 20px); opacity: 0; } }

@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-filters { position: static; display: none; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
  body.cf-open .cat-filters { display: grid; }
  .cf-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
}
@media (max-width: 760px) {
  .ql-open { margin-top: 14px; justify-content: center; padding: .6em 1em; }
}
@media (max-width: 560px) {
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prod-body { padding: 10px; }
  .prod-name { font-size: .88rem; }
  .prod-foot .prod-cols { display: none; }
  .cat-bar { flex-wrap: wrap; }
  .cat-search .btn { display: none; }
  .pd-more { grid-template-columns: 1fr; }
  .ql-fields { grid-template-columns: 1fr; }
}

/* ---------- recent work from Admin > Our work (app/work.php, page.php) */
.work-link { display: block; color: inherit; text-decoration: none; }
.work-link img { transition: transform .4s ease, box-shadow .4s ease; }
.work-link:hover img, .work-link:focus-visible img { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-item figcaption strong { display: block; color: var(--text); font-size: 1rem; line-height: 1.3; }
.work-item figcaption span { display: block; margin-top: 2px; }
.work-empty { color: var(--muted); }
.service-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .92rem; color: var(--magenta); text-decoration: none; }
.service-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card opens the work */
.service-link span:first-of-type { color: var(--muted); font-weight: 600; }
.service:has(.service-link) { cursor: pointer; }
.service-link:hover, .service:hover .service-link { text-decoration: underline; }
.pf-open { position: relative; }
.pf-count { position: absolute; left: 12px; bottom: 12px; padding: .25em .7em; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; font-weight: 700; }
.pf-item strong a { color: inherit; text-decoration: none; }
.pf-item strong a:hover { text-decoration: underline; }
.tag-design { background: rgba(43,44,49,.08); color: var(--ink); }
.tag-signage { background: rgba(9,147,182,.12); color: #06708b; }
.tag-safety { background: rgba(216,179,60,.22); color: #6d5408; }
.tag-corex { background: rgba(9,147,182,.08); color: #055d73; }
.tag-vehicle { background: rgba(217,68,154,.1); color: #9c2369; }
.tag-contravision { background: rgba(43,44,49,.08); color: var(--ink); }
.tag-canvas { background: rgba(216,179,60,.2); color: #7a5f0c; }
.tag-stickers { background: rgba(217,68,154,.1); color: #9c2369; }
.tag-print { background: rgba(9,147,182,.1); color: #055d73; }
.tag-events { background: rgba(217,68,154,.12); color: #b02a78; }
.tag-other { background: var(--paper-2); color: var(--muted); }

/* a piece's own page: /work/<slug> */
.wk-page { padding-top: clamp(28px, 4vw, 48px); }
.wk-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.wk-crumbs a { color: var(--muted); }
.wk-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.wk-main { margin: 0; }
.wk-main img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: var(--paper-2); border-radius: 18px; box-shadow: var(--shadow); }
.wk-main figcaption { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.wk-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wk-thumb { padding: 0; border: 3px solid transparent; border-radius: 10px; background: none; cursor: pointer; overflow: hidden; width: 84px; height: 84px; }
.wk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-thumb[aria-current="true"] { border-color: var(--magenta); }
.wk-thumb:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.wk-copy h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 10px 0 14px; }
.wk-copy > p { color: var(--ink-2); }
.wk-quote { margin: 0 0 22px; padding: 16px 20px; border-left: 4px solid var(--magenta); background: var(--paper-2); border-radius: 0 12px 12px 0; }
.wk-quote p { margin: 0; font-size: 1.05rem; font-style: italic; }
.wk-quote footer { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.wk-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.wk-tags li { padding: .25em .75em; border-radius: 999px; background: var(--paper-2); font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .wk-grid { grid-template-columns: 1fr; } }

/* Service landing pages (/services/<slug>, app/seo.php) */
.svc-hero .wk-crumbs { margin-bottom: 18px; color: rgba(255,255,255,.75); }
.svc-hero .wk-crumbs a { color: rgba(255,255,255,.85); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.svc-grid h2 { margin-top: 0; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-list li { position: relative; padding-left: 28px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--magenta); box-shadow: 6px 0 0 -2px var(--cyan); }
.svc-why li strong { display: block; color: var(--ink); }
.svc-related { margin-top: 48px; }
.svc-related h2 { font-size: 1.4rem; margin: 0 0 12px; }
.svc-related h3 { font-size: 1rem; margin: 22px 0 10px; color: var(--muted); }
.svc-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-related a { display: inline-block; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: var(--paper); }
.svc-related a:hover { border-color: var(--magenta); color: var(--magenta); }
.svc-others a { font-weight: 500; font-size: .92rem; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* Footer: the services, privacy and cookie settings */
.footer-services { grid-column: 1 / -1; }
.footer-services p { margin: 0 0 8px; color: #fff; font-weight: 700; font-size: .9rem; }
.footer-services ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-services a, .legal a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; }
.footer-services a:hover, .legal a:hover { color: #fff; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.legal .link-btn { margin-left: .5em; color: rgba(255,255,255,.75); }

/* Privacy notice */
.legal-wrap { max-width: 760px; }
.legal-page h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.legal-page li { margin-bottom: .7em; }

/* Cookie choice (js/consent.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.consent p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.consent-actions { display: flex; gap: 10px; }
.consent[hidden] { display: none; }

/* Videos managed in Admin > Our work > Our work page (app/workpage.php): a linked piece's photo behind the card,
   the type filter hiding cards, and the "On video" block on service pages. */
.reel[hidden], .reels-section[hidden] { display: none; }
.reel-cover { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.reel-has-cover::before { background: linear-gradient(180deg, rgba(20,20,30,.05) 20%, rgba(20,20,30,.88) 85%); }
.reel-has-cover::after { opacity: .15; }
.svc-videos-head { margin: 40px 0 16px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
