/* =========================================================
   Miracle Print — site stylesheet
   Designed & maintained by IRI Technologies Ltd.
   Layout concept: bright CMYK "press sheet" — white paper ground,
   brush-stroke banners and colour-coded service pills lifted from
   the printed flyer, navy ink for structure.
   ========================================================= */
:root {
  /* Brand colour tokens (from the flyer) */
  --ink: #14237a;          /* navy — headings, structure */
  --magenta: #ec1c7e;      /* PRINT / primary action */
  --cyan: #1e7fe0;         /* process blue */
  --yellow: #ffe01b;       /* brush highlight */
  --green: #19a44b;        /* school & office supplies */
  --orange: #f7861c;       /* laminating */
  --purple: #6b3fb8;       /* other services */
  --key: #111318;          /* black (the K in CMYK) */
  --wa: #25d366;           /* WhatsApp green (buttons only) */
  --wa-dark: #1da851;

  /* Neutrals with a slight navy bias */
  --paper: #ffffff;
  --paper-2: #f4f6fd;
  --line: #dfe3f3;
  --text: #22263a;
  --muted: #5a6080;
  --on-dark: #ffffff;

  /* Type */
  --f-display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-script: "Kaushan Script", "Segoe Script", "Brush Script MT", cursive;
  --f-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Scale */
  --s-1: .875rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.6rem; --s3: 2.1rem; --s4: 2.9rem; --s5: 3.8rem;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(20, 35, 122, .28);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.08; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--on-dark); font-size: var(--s-1); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; align-items: center; padding-block: 7px; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-tag { font-family: var(--f-script); color: var(--yellow); letter-spacing: .02em; }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .topbar .tb-tag { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 52px; height: 56px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.brand-name b { color: var(--magenta); font-weight: 800; }
.brand-tag { font-family: var(--f-script); color: var(--key); font-size: .95rem; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  text-decoration: none; padding: 8px 12px; border-radius: 999px; position: relative;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 5px;
  background: var(--yellow); border-radius: 4px; z-index: -1; transform: skewX(-12deg);
}
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 12px; width: 46px; height: 42px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 4px solid var(--magenta);
    padding: 10px var(--gutter-r) 18px var(--gutter-l);
    box-shadow: var(--shadow);
  }
  .nav:not(.open) { display: none; }
  .nav a { padding: 12px 14px; font-size: 1.1rem; }
  .nav a[aria-current="page"] { background: var(--paper-2); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
  .brand-name { font-size: 1.35rem; }
  .brand img { width: 44px; height: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 8px 18px -8px rgba(236,28,126,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(236,28,126,.75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0d1960; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { transform: translateY(-2px); }
.nav .btn { padding: 11px 18px; font-size: 1rem; }

/* ---------- Brush & script devices ---------- */
.script { font-family: var(--f-script); font-weight: 400; }
.brush {
  display: inline-block; position: relative; padding: .05em .45em .12em; isolation: isolate;
}
.brush::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brush, var(--yellow));
  clip-path: polygon(2% 14%, 9% 4%, 30% 9%, 52% 2%, 76% 8%, 97% 3%, 100% 40%, 96% 72%, 99% 94%, 74% 99%, 48% 92%, 22% 99%, 3% 93%, 0 60%);
  transform: rotate(-1.4deg);
}
.brush-magenta { --brush: var(--magenta); color: #fff; }
.brush-cyan { --brush: var(--cyan); color: #fff; }
.brush-yellow { --brush: var(--yellow); color: var(--ink); }
.underline-swash { position: relative; display: inline-block; }
.underline-swash::after {
  content: ""; position: absolute; left: 2%; right: -2%; bottom: -.12em; height: .16em;
  background: var(--magenta); border-radius: 50%; transform: rotate(-1.5deg);
}

/* Corner CMYK ribbons (like the flyer corners) */
.ribbons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ribbons i { position: absolute; width: 360px; height: 30px; transform-origin: center; }
.ribbons .r1 { background: var(--magenta); top: 18px; left: -110px; transform: rotate(-38deg); }
.ribbons .r2 { background: var(--cyan); top: 52px; left: -100px; transform: rotate(-38deg); height: 22px; }
.ribbons .r3 { background: var(--yellow); top: 82px; left: -100px; transform: rotate(-38deg); height: 16px; }
.ribbons .r4 { background: var(--yellow); bottom: 40px; right: -110px; transform: rotate(-38deg); height: 18px; }
.ribbons .r5 { background: var(--cyan); bottom: 12px; right: -100px; transform: rotate(-38deg); height: 22px; }
.ribbons .r6 { background: var(--magenta); bottom: -18px; right: -100px; transform: rotate(-38deg); }

/* CMYK splash petals */
.splash { display: inline-block; width: 90px; height: 70px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 400px at 85% 10%, rgba(30,127,224,.10), transparent 60%),
  radial-gradient(700px 380px at 10% 100%, rgba(236,28,126,.08), transparent 60%),
  var(--paper); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 64px 70px; }
.hero-copy { min-width: 0; display: grid; gap: 22px; }
.hero .kicker { font-family: var(--f-script); font-size: 1.55rem; color: var(--key); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -.01em; }
.hero h1 .line { display: block; }
.hero h1 .brush { margin-top: .12em; }
.hero-lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phone { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-phone .num { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.hero-phone .lbl { font-family: var(--f-script); color: var(--magenta); font-size: 1.4rem; }

/* Hero collage — printed pieces fanned out */
.collage { position: relative; height: 440px; min-width: 0; }
.piece { position: absolute; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(20,35,122,.45); transition: transform .4s ease; }
.collage:hover .p-flyer { transform: rotate(-9deg) translateY(-6px); }
.collage:hover .p-card { transform: rotate(8deg) translateY(-6px); }
.p-flyer {
  width: 58%; aspect-ratio: 3 / 4; max-width: 100%; left: 2%; top: 6%; transform: rotate(-7deg);
  background: #fff; padding: 14px; border: 10px solid transparent;
  background-image: linear-gradient(#fff, #fff), conic-gradient(from 20deg, var(--magenta), var(--orange), var(--yellow), var(--green), var(--cyan), var(--purple), var(--magenta));
  background-origin: border-box; background-clip: padding-box, border-box;
  display: grid; place-items: center; text-align: center;
}
.p-flyer span { font-family: var(--f-script); color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; }
.p-card {
  width: 54%; aspect-ratio: 1.75; right: 0; top: 60%; transform: rotate(6deg);
  background: linear-gradient(135deg, var(--ink) 0 58%, var(--cyan) 58% 72%, var(--magenta) 72% 86%, var(--yellow) 86%);
  color: #fff; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between;
}
.p-card .script { font-size: 1.3rem; }
.p-card small { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; font-size: .72rem; opacity: .9; }
.p-label {
  width: 38%; right: 4%; top: 2%; transform: rotate(9deg); background: var(--yellow);
  padding: 14px 16px; border-radius: 12px; text-align: center;
}
.p-label strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.25rem; line-height: 1; }
.p-label em { font-family: var(--f-script); font-style: normal; color: var(--magenta); font-size: 1rem; }
.p-stamp {
  width: 112px; height: 112px; left: 50%; top: 30%; z-index: 2; border-radius: 50%;
  background: var(--magenta); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 800; line-height: 1; font-size: .95rem; transform: rotate(-12deg);
  border: 4px dashed rgba(255,255,255,.7); outline: 6px solid var(--magenta);
}
.p-stamp b { font-size: 1.6rem; display: block; }
.dots { position: absolute; left: 0; bottom: 4%; display: flex; gap: 10px; }
.dots i { width: 22px; height: 22px; border-radius: 50%; display: block; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 50px; }
  .collage { height: 360px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .collage { height: 300px; }
  .p-stamp { width: 88px; height: 88px; font-size: .78rem; }
  .p-stamp b { font-size: 1.25rem; }
  .p-card .script { font-size: 1.05rem; }
  .p-label strong { font-size: 1rem; }
  .hero-phone .num { font-size: 1.7rem; }
}

/* ---------- Pillars band ---------- */
.pillars { background: var(--ink); color: #fff; }
.pillars ul { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 18px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); max-width: calc(var(--max) + 32px); margin-inline: auto; }
.pillars li { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .98rem; padding: 6px 10px; text-align: center; }
.pillars li + li { border-left: 1px solid rgba(255,255,255,.25); }
.pillars svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 760px) {
  .pillars ul { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li { font-size: .8rem; justify-content: flex-start; text-align: left; letter-spacing: .04em; }
}

/* ---------- Sections ---------- */
.section { padding-block: 84px; position: relative; }
.section.tint { background: var(--paper-2); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-family: var(--f-script); font-size: 1.4rem; color: var(--magenta); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
@media (max-width: 600px) { .section { padding-block: 60px; } .section-head { margin-bottom: 30px; } }

/* Service pill heading — circle icon + rounded banner, as on the flyer */
.pill-head { display: flex; align-items: center; margin-bottom: 18px; }
.pill-head .ico {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 5px solid var(--c);
  display: grid; place-items: center; color: var(--c); flex: none; position: relative; z-index: 1;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.25);
}
.pill-head .ico svg { width: 30px; height: 30px; }
.pill-head h2, .pill-head h3 {
  background: var(--c); color: #fff; font-size: 1.28rem; letter-spacing: .03em; text-transform: uppercase;
  padding: 10px 22px 10px 32px; margin-left: -22px; border-radius: 0 999px 999px 0; line-height: 1.1;
}
.c-magenta { --c: var(--magenta); }
.c-orange { --c: var(--orange); }
.c-green { --c: var(--green); }
.c-purple { --c: var(--purple); }
.c-cyan { --c: var(--cyan); }
.c-ink { --c: var(--ink); }
.c-yellow { --c: var(--yellow); }

/* Service category cards (home) */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 6px; min-width: 0; position: relative; overflow: hidden;
}
.cat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .07; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--text); }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--c, var(--magenta));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checks.multi li:nth-child(5n+1)::before { background-color: var(--magenta); }
.checks.multi li:nth-child(5n+2)::before { background-color: var(--cyan); }
.checks.multi li:nth-child(5n+3)::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2314237a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks.multi li:nth-child(5n+4)::before { background-color: var(--green); }
.checks.multi li:nth-child(5n)::before { background-color: var(--purple); }
.cat .more { margin-top: 18px; font-family: var(--f-display); font-weight: 800; color: var(--c); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.cat .more:hover { text-decoration: underline; }
.cat .more svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } .pill-head h2, .pill-head h3 { font-size: 1.05rem; padding-left: 28px; } .pill-head .ico { width: 54px; height: 54px; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px 22px; border-top: 6px solid var(--c); counter-increment: step; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--c); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Covered banner */
.covered { position: relative; overflow: hidden; background: var(--paper); }
.covered .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding-block: 76px; }
.covered h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; }
.covered h2 .script { font-weight: 400; font-size: .9em; }
.covered .brush { transform: rotate(-2deg); }
.covered-side { display: grid; gap: 16px; justify-items: start; }
.covered-side p { font-size: 1.14rem; color: var(--muted); }
@media (max-width: 860px) { .covered .wrap { grid-template-columns: 1fr; padding-block: 56px; } }

/* Who we serve chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--c, var(--ink)); color: var(--ink); font-weight: 700; font-family: var(--f-display); }

/* CTA call band */
.callband { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.callband::before { content: ""; position: absolute; inset: auto -5% -60% 45%; height: 160%; background: var(--magenta); transform: rotate(-8deg); border-radius: 40px; opacity: .95; }
.callband .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; }
.callband .call { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.callband .call-ico { width: 74px; height: 74px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; border: 4px solid #fff; flex: none; }
.callband .call-ico svg { width: 36px; height: 36px; color: #fff; }
.callband .call-word { font-family: var(--f-script); font-size: 2.6rem; color: var(--yellow); line-height: 1; }
.callband .call-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: .02em; color: #fff; text-decoration: none; line-height: 1; }
.callband .call-sub { font-family: var(--f-script); font-size: 1.7rem; color: #fff; line-height: 1.2; max-width: 14em; }
@media (max-width: 700px) { .callband::before { inset: 55% -20% -60% -20%; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-banner .ribbons .r1, .page-banner .ribbons .r2, .page-banner .ribbons .r3 { display: none; }
.page-banner .wrap { position: relative; z-index: 1; padding-block: 56px 50px; display: grid; gap: 14px; }
.page-banner h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-banner p { color: var(--muted); font-size: 1.15rem; max-width: 40em; }
.crumbs { font-size: var(--s-1); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* In-page jump links */
.jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jumps a { text-decoration: none; padding: 8px 16px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; background: #fff; color: var(--ink); border: 2px solid var(--c, var(--ink)); }
.jumps a:hover { background: var(--c, var(--ink)); color: #fff; }

/* Service detail grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: grid; grid-template-rows: auto auto 1fr; gap: 10px; min-width: 0; transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .s-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; }
.svc .s-ico svg { width: 26px; height: 26px; }
.svc.light .s-ico { color: var(--ink); }
.svc h3 { font-size: 1.32rem; }
.svc p { color: var(--muted); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.split .copy { display: grid; gap: 16px; }
.split .copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.split .copy p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Laminated certificate illustration */
.laminate {
  position: relative; max-width: 420px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 3;
  border-radius: 22px; padding: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(220,232,255,.55) 40%, rgba(255,255,255,.85) 60%, rgba(230,238,255,.6));
  border: 2px solid #c9d6f2; box-shadow: var(--shadow);
}
.laminate .cert { height: 100%; background: #fff; border: 6px double #c7a24a; border-radius: 6px; display: grid; place-items: center; text-align: center; padding: 14px; }
.laminate .cert strong { font-family: var(--f-display); letter-spacing: .14em; color: var(--ink); font-size: 1.4rem; }
.laminate .cert span { font-family: var(--f-script); color: var(--muted); }
.laminate .seal { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, var(--cyan) 40%, #6aa9ef 41% 60%, var(--cyan) 61%); margin: 0 auto; }
.laminate::after { content: ""; position: absolute; top: 10%; left: 8%; width: 30%; height: 70%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); border-radius: 20px; }

/* Supplies shelf illustration */
.shelf { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 8px; height: 260px; padding: 0 16px; border-bottom: 14px solid var(--ink); max-width: 460px; margin-inline: auto; width: 100%; }
.shelf i { display: block; border-radius: 6px 6px 2px 2px; position: relative; }
.shelf i::after { content: ""; position: absolute; left: 18%; right: 18%; top: 18%; height: 10%; background: rgba(255,255,255,.6); border-radius: 3px; }
.shelf .pencil { width: 40%; justify-self: center; border-radius: 0; clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); }
.shelf .pencil::after { display: none; }

/* Gift mockups */
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.mock { display: grid; justify-items: center; gap: 10px; text-align: center; }
.mock svg { width: 100%; max-width: 180px; height: auto; }
.mock figcaption { font-family: var(--f-display); font-weight: 700; color: var(--ink); }
@media (max-width: 520px) { .mock-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters button { font: 700 1rem var(--f-display); padding: 9px 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: auto auto; min-width: 0; }
.tile .art { aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; padding: 22px; position: relative; overflow: hidden; }
.tile .meta { padding: 14px 18px 18px; display: grid; gap: 4px; }
.tile .meta strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); }
.tile .meta span { font-size: .9rem; color: var(--muted); }
.tag { display: inline-block; font: 800 .72rem var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--c); padding: 4px 10px; border-radius: 999px; justify-self: start; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* Gallery art pieces */
.a-bcard { width: 78%; aspect-ratio: 1.75; border-radius: 10px; background: linear-gradient(120deg, var(--ink) 0 62%, var(--magenta) 62%); color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 24px -12px rgba(0,0,0,.4); transform: rotate(-4deg); }
.a-bcard b { font-family: var(--f-display); font-size: 1.1rem; }
.a-bcard small { font-size: .7rem; letter-spacing: .1em; opacity: .85; }
.a-flyer { width: 56%; aspect-ratio: 3/4; background: var(--yellow); border-radius: 8px; padding: 12px; display: grid; align-content: space-between; box-shadow: 0 14px 24px -12px rgba(0,0,0,.4); transform: rotate(3deg); }
.a-flyer b { font-family: var(--f-display); color: var(--magenta); font-size: 1.5rem; line-height: .95; }
.a-flyer span { font-family: var(--f-script); color: var(--ink); }
.a-invite { width: 58%; aspect-ratio: 5/7; background: #fff; border-radius: 6px; border: 2px solid #e9c46a; display: grid; place-items: center; text-align: center; padding: 10px; box-shadow: 0 14px 24px -12px rgba(0,0,0,.35); }
.a-invite span { font-family: var(--f-script); color: var(--purple); font-size: 1.3rem; line-height: 1.2; }
.a-banner { width: 92%; padding: 18px 10px; background: var(--magenta); color: #fff; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; border-radius: 6px; position: relative; box-shadow: 0 14px 24px -12px rgba(0,0,0,.4); }
.a-banner::before, .a-banner::after { content: ""; position: absolute; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.a-banner::before { left: 8px; } .a-banner::after { right: 8px; }
.a-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 82%; }
.a-labels i { font-style: normal; background: #fff; border-radius: 10px; border: 3px solid var(--c); padding: 8px; text-align: center; font-family: var(--f-script); color: var(--ink); font-size: .9rem; }
.a-book { width: 54%; aspect-ratio: 3/4; border-radius: 4px 12px 12px 4px; background: repeating-linear-gradient(45deg, var(--green) 0 14px, #2bbf61 14px 28px); border-left: 12px solid #0f7a37; display: grid; place-items: center; box-shadow: 0 14px 24px -12px rgba(0,0,0,.4); }
.a-book span { background: #fff; padding: 6px 12px; border-radius: 6px; font-family: var(--f-script); color: var(--ink); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.value .v-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; }
.value .v-ico svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.2rem; }
.value p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); min-width: 0; }
.ccard .c-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; flex: none; }
.ccard .c-ico svg { width: 24px; height: 24px; }
.ccard div { min-width: 0; }
.ccard small { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.ccard strong { display: block; font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); overflow-wrap: anywhere; }
a.ccard:hover { border-color: var(--c); }
.form-card { background: #fff; border-radius: 22px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, var(--magenta) 0 25%, var(--cyan) 25% 50%, var(--yellow) 50% 75%, var(--key) 75%); }
.form-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 20px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .95rem; color: var(--ink); }
.field label span { color: var(--magenta); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line);
  background: var(--paper-2); color: var(--text); width: 100%; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); background: #fff; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .88rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 700; margin-bottom: 18px; }
.alert.ok { background: #e3f6ea; color: #0d6b31; border: 2px solid var(--green); }
.alert.err { background: #fde6f0; color: #9c0e50; border: 2px solid var(--magenta); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); padding: 14px 0; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--magenta); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Prose (privacy etc.) */
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.6rem; margin-top: 12px; }
.prose p, .prose li { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #0e1a5c; color: #dfe4ff; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--magenta) 0 25%, var(--cyan) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%); }
.site-footer .wrap { padding-block: 56px 26px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.f-grid > * { min-width: 0; }
.f-brand { display: grid; gap: 14px; align-content: start; }
.f-brand .brand-name { color: #fff; }
.f-brand .brand-tag { color: var(--yellow); }
.f-brand p { color: #b9c1ea; font-size: .98rem; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe4ff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.f-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--yellow); }
.f-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .9rem; color: #aab3e0; }
.f-bottom strong { color: #fff; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp + call buttons */
.fabs { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; gap: 12px; }
.fab { width: 58px; height: 58px; border-radius: 50%; color: #fff; display: grid; place-items: center; text-decoration: none; transition: transform .15s ease; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: var(--wa); box-shadow: 0 10px 24px -8px rgba(37,211,102,.8); }
.fab-wa svg { width: 32px; height: 32px; }
.fab-call { background: var(--magenta); box-shadow: 0 10px 24px -8px rgba(236,28,126,.8); display: none; }
@media (max-width: 760px) { .fab-call { display: grid; } }

/* WhatsApp elements */
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font: 800 1rem var(--f-display); }
.wa-chip:hover { background: var(--wa-dark); }
.wa-chip svg { width: 20px; height: 20px; }
.c-wa { --c: var(--wa); }
.call-side { display: grid; gap: 12px; justify-items: start; }

/* 404 — "Paper jam!": a press sheet with a mis-registered CMY 404 that drops into place */
.notfound { position: relative; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.nf-wrap { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 56px 48px; }
.notfound .eyebrow { font-size: 1.9rem; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.nf-sheet { position: relative; padding: 30px 54px 20px; background: var(--paper); border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-2.5deg); }
.nf-404 { display: grid; isolation: isolate; font: 800 clamp(6rem, 24vw, 12rem)/.9 var(--f-display); letter-spacing: -.02em; user-select: none; }
.nf-404 span { grid-area: 1 / 1; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2,.8,.3,1.2); }
.ink-c { color: var(--cyan);    transform: translate(-6px, -3px); }
.ink-m { color: var(--magenta); transform: translate(6px, 2px); }
.ink-y { color: var(--yellow);  transform: translate(1px, 7px); }
.nf-sheet:hover .nf-404 span { transform: none; }   /* hover "clears the jam" — plates snap into register */
.crop { position: absolute; width: 18px; height: 18px; border: 0 solid var(--key); }
.crop.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.crop.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.crop.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.crop.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }
.reg { position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: none; stroke: var(--key); stroke-width: 1.5; }
.reg-a { left: 14px; } .reg-b { right: 14px; }
.nf-lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.nf-actions { justify-content: center; }
.nf-links { display: grid; gap: 10px; justify-items: center; margin-top: 6px; }
.nf-links > span { font: 700 1.05rem var(--f-display); color: var(--ink); }
.nf-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nf-links a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 2px solid var(--c); color: var(--ink); font: 700 1rem var(--f-display); text-decoration: none; transition: background .15s ease, color .15s ease; }
.nf-links a:hover, .nf-links a:focus-visible { background: var(--c); color: #fff; }
.nf-slug { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 12px; font: 700 .76rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.colour-bar { display: inline-flex; border: 1px solid var(--line); }
.colour-bar i { width: 18px; height: 14px; }
.cb-c { background: var(--cyan); } .cb-m { background: var(--magenta); } .cb-y { background: var(--yellow); } .cb-k { background: var(--key); }
.colour-bar .t { opacity: .4; }
@media (max-width: 480px) { .nf-sheet { padding: 24px 40px 16px; } .reg-a { left: 9px; } .reg-b { right: 9px; } }
@media (prefers-reduced-motion: no-preference) {
  .nf-404 span { animation: nf-register .9s cubic-bezier(.2,.8,.3,1.2) both; }
  .nf-404 .ink-c { --from: -42px -18px; }
  .nf-404 .ink-m { --from: 44px 14px; animation-delay: .12s; }
  .nf-404 .ink-y { --from: 6px 40px; animation-delay: .24s; }
  .nf-sheet { animation: nf-feed .7s ease-out both; }
  @keyframes nf-register { from { translate: var(--from); opacity: 0; } to { translate: 0 0; opacity: 1; } }
  @keyframes nf-feed { from { transform: translateY(-28px) rotate(-6deg); opacity: 0; } to { transform: rotate(-2.5deg); opacity: 1; } }
}

/* Shop map (contact page) — Leaflet, CMYK-striped card, logo pin */
.map-card { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-card::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--key) 75%); }
.map { height: clamp(320px, 48vw, 460px); background: var(--paper-2); display: grid; place-items: center; z-index: 0; }
.map.leaflet-container { font-family: var(--f-body); display: block; }
.map-fallback { font: 800 1.1rem var(--f-display); color: var(--ink); }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 22px; background: var(--ink); color: var(--on-dark); }
.map-brand { display: flex; align-items: center; gap: 12px; }
.map-brand span { display: grid; gap: 2px; }
.map-brand strong { font: 800 1.35rem/1 var(--f-display); letter-spacing: .02em; }
.map-brand b, .mp-pop b { color: var(--magenta); }
.map-brand em { font: 400 1rem var(--f-script); font-style: normal; color: var(--yellow); }
.map-address { display: flex; align-items: flex-start; gap: 8px; font-style: normal; color: #dfe4ff; line-height: 1.45; }
.map-address svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--yellow); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) { .map-actions, .map-actions .btn { width: 100%; justify-content: center; } }

.visit-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); align-items: start; } }
.hours-card { overflow: hidden; padding: 0 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hours-card::before { content: ""; display: block; height: 6px; margin: 0 -24px 22px; background: linear-gradient(90deg, var(--magenta) 0 25%, var(--cyan) 25% 50%, var(--yellow) 50% 75%, var(--key) 75%); }
.hours-head { display: flex; align-items: center; gap: 12px; }
.hours-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); flex: none; }
.hours-ico svg { width: 24px; height: 24px; }
.hours-head h3 { font-size: 1.5rem; color: var(--ink); }
.hours-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 999px; font: 800 .95rem var(--f-display); color: #fff; }
.hours-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.hours-status.is-open { background: var(--green); }
.hours-status.is-closed { background: var(--magenta); }
.hours-list { margin: 16px 0 0; display: grid; gap: 4px; }
.hours-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 11px 12px; border-radius: 12px; border-bottom: 1px solid var(--line); }
.hours-list dt { font: 700 1.02rem var(--f-display); color: var(--ink); }
.hours-list dd { margin: 0; color: var(--text); font-weight: 700; }
.hours-list .closed dd { color: var(--magenta); }
.hours-list .is-today { background: var(--paper-2); border-bottom-color: transparent; box-shadow: inset 4px 0 0 var(--yellow); }
.hours-list .is-today dt::after { content: "Today"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.hours-note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .hours-status.is-open::before { animation: hours-blink 1.6s ease-in-out infinite; }
  @keyframes hours-blink { 50% { opacity: .35; } }
}

.mp-marker { background: none; border: 0; }
.mp-pin {
  position: absolute; left: 3px; top: 2px; width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff;
  background: linear-gradient(225deg, var(--magenta), var(--cyan));
  box-shadow: 0 8px 16px -6px rgba(20, 35, 122, .6); transition: transform .2s ease;
}
.mp-logo { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; transform: rotate(45deg); }
.leaflet-container .leaflet-marker-pane .mp-logo img { width: 23px; height: auto; display: block; } /* beats Leaflet's marker img reset */
.mp-marker:hover .mp-pin, .mp-marker:focus .mp-pin { transform: rotate(-45deg) translate(3px, -3px); }
.mp-pulse { position: absolute; left: 50%; top: 62px; width: 24px; height: 10px; margin: -5px 0 0 -12px; border-radius: 50%; background: rgba(20, 35, 122, .35); }
.mp-pop { display: grid; gap: 4px; text-align: center; padding: 2px 4px; }
.mp-pop strong { font: 800 1.2rem/1 var(--f-display); color: var(--ink); letter-spacing: .02em; }
.mp-pop em { font: 400 .95rem var(--f-script); font-style: normal; color: var(--muted); }
.mp-pop span { font-size: .9rem; color: var(--text); line-height: 1.4; }
.mp-pop a { margin-top: 6px; font: 800 .95rem var(--f-display); color: var(--magenta); }
.map .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) {
  .mp-pulse { animation: mp-pulse 2s ease-out infinite; }
  @keyframes mp-pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s ease both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .piece { animation: drop .7s cubic-bezier(.2,.8,.3,1.2) both; }
  .p-label { animation-delay: .15s; } .p-card { animation-delay: .3s; } .p-stamp { animation-delay: .45s; }
}
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes drop { from { translate: 0 -18px; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.tile .meta .tag { color: #fff; font-size: .72rem; }
@media (max-width: 420px) { .ccard strong { font-size: 1.02rem; } .ccard { gap: 12px; padding: 16px; } }
.f-bottom .iri { color: #fff; text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.f-bottom .iri:hover { color: var(--yellow); }
