/* =====================================================================
   KRISHNA COPY CENTER — "PAPER & INK" STYLESHEET
   ---------------------------------------------------------------------
   Mobile-first: base styles are for phones, @media (min-width: …)
   blocks add the tablet/desktop layout.

   To change the main colours or fonts, edit the variables in :root.
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Paper */
  --paper: #FAF7F0;
  --paper-white: #FFFEFA;
  --cream: #F3ECDD;
  --manila: #EEDFBF;
  --kraft: #B98A56;

  /* Ink */
  --ink: #1B3A6B;
  --ink-dark: #122849;
  --ink-soft: #3a5a8f;
  --toner: #E8542F;
  --toner-dark: #C43E1C;
  --graphite: #3D3D3D;
  --graphite-soft: #66625b;
  --wa: #25D366;
  --wa-dark: #128C4A;
  --wa-text: #06341B;
  --sticky: #FFF1A8;
  --sticky-blue: #DCEBFA;

  /* Lines & shadows */
  --rule: rgba(27, 58, 107, .085);
  --margin-red: rgba(232, 84, 47, .32);
  --line: rgba(61, 61, 61, .18);
  --shadow-sm: 0 1px 1px rgba(60, 45, 20, .08), 0 3px 8px -3px rgba(60, 45, 20, .22);
  --shadow-md: 0 2px 2px rgba(60, 45, 20, .06), 0 12px 24px -10px rgba(60, 45, 20, .35);
  --shadow-lg: 0 3px 4px rgba(60, 45, 20, .06), 0 24px 40px -16px rgba(60, 45, 20, .42);

  /* Type */
  --font-head: "Zilla Slab", Rockwell, Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-type: "Courier New", Courier, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: 16px;
  --header-h: 64px;
  --radius: 10px;
  --ease: cubic-bezier(.22, .8, .3, 1);

  /* Paper grain (tiny SVG noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Rubber-stamp ink speckle mask */
  --stamp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 76px; }
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--paper);
  background-image: var(--grain);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; } /* stops pre-animation stamps from widening the page */
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--toner-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--toner); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(232, 84, 47, .22); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000; padding: .6rem 1rem;
  background: var(--ink); color: #fff; border-radius: 6px; transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; color: #fff; }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: 56px; }
.section--tight { padding-block: 36px 48px; }
@media (min-width: 768px) {
  .section { padding-block: 88px; }
  .section--tight { padding-block: 48px 72px; }
}

/* Faint ruled notebook lines + red margin line */
.bg-ruled {
  background-color: var(--paper-white);
  background-image:
    linear-gradient(90deg, transparent calc(max(10px, 50% - 620px) - 1px), var(--margin-red) calc(max(10px, 50% - 620px) - 1px), var(--margin-red) calc(max(10px, 50% - 620px) + 1px), transparent calc(max(10px, 50% - 620px) + 1px)),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px),
    var(--grain);
}
.bg-cream { background-color: var(--cream); background-image: var(--grain); }

.lead { font-size: 1.08rem; color: var(--graphite); }
.center-actions { display: flex; justify-content: center; margin-top: 36px; }
.hand-note, .margin-note, .hand-title { font-family: var(--font-hand); font-weight: 700; }

/* ---------- 4. RUBBER-STAMP HEADINGS ---------- */
.section-head { margin-bottom: 32px; text-align: center; }
.stamp {
  --stamp-color: var(--toner);
  position: relative;
  display: inline-block;
  margin: 0;
  padding: .32em .75em .28em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 5.2vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--stamp-color);
  border: 3px solid currentColor;
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--paper-white), inset 0 0 0 5px currentColor;
  transform: rotate(-2deg);
  -webkit-mask-image: var(--stamp-mask);
          mask-image: var(--stamp-mask);
  -webkit-mask-size: 220px;
          mask-size: 220px;
  mix-blend-mode: multiply;
}
.stamp--ink { --stamp-color: var(--ink); transform: rotate(1.5deg); }
.margin-note {
  margin: 14px 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ink-soft);
}
.margin-note::before { content: "↳ "; color: var(--toner); }

/* Stamp "thump" animation (JS adds .is-stamped when visible) */
.js .stamp { opacity: 0; transform: scale(1.6) rotate(-9deg); }
.js .stamp.is-stamped { animation: stamp-down .6s cubic-bezier(.2, .9, .3, 1.25) forwards; }
.js .stamp--ink.is-stamped { animation-name: stamp-down-ink; }
@keyframes stamp-down {
  0%   { opacity: 0; transform: scale(1.6) rotate(-9deg); }
  55%  { opacity: 1; transform: scale(.93) rotate(-2deg); }
  75%  { transform: scale(1.03) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1) rotate(-2deg); }
}
@keyframes stamp-down-ink {
  0%   { opacity: 0; transform: scale(1.6) rotate(8deg); }
  55%  { opacity: 1; transform: scale(.93) rotate(1.5deg); }
  75%  { transform: scale(1.03) rotate(1.5deg); }
  100% { opacity: 1; transform: scale(1) rotate(1.5deg); }
}

/* ---------- 5. BUTTONS (ink fills in from the left on hover) ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-fill: var(--toner);
  --btn-fill-fg: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7em 1.35em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color .35s var(--ease), transform .2s var(--ease), box-shadow .3s;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px -30% -2px -30%;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: 45% 55% 50% 50% / 60% 40% 60% 40%;
  transform: translateX(-105%) skewX(-18deg);
  transition: transform .5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-18deg); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn span { position: relative; }

.btn--primary { --btn-bg: var(--toner); --btn-fill: var(--ink); }
.btn--ink     { --btn-bg: var(--ink); --btn-fill: var(--toner); }
.btn--wa      { --btn-bg: var(--wa); --btn-fg: var(--wa-text); --btn-fill: var(--wa-dark); --btn-fill-fg: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--paper   { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-fill: var(--toner); }
.btn--sm { min-height: 42px; padding: .5em 1.05em; font-size: .93rem; }
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- 6. PENCIL SCROLL-PROGRESS BAR ---------- */
.pencil-progress {
  --p: 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 3px;
  pointer-events: none;
}
.pencil-progress__line {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--graphite);
  transform-origin: left;
  transform: scaleX(var(--p));
  opacity: .85;
}
.pencil-progress__pencil {
  position: absolute;
  top: -4px;
  left: 0;
  width: 44px;
  height: 12px;
  transform: translateX(calc(var(--p) * 100vw - 42px));
  opacity: 0;
  transition: opacity .3s;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}
.pencil-progress.is-active .pencil-progress__pencil { opacity: 1; }

/* ---------- 7. HEADER & NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, .93);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.site-header::after { /* perforated bottom edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: radial-gradient(circle, rgba(61, 61, 61, .28) 1.3px, transparent 1.8px) 0 0 / 10px 4px repeat-x;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(40, 30, 10, .45); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo:hover { color: var(--ink); }
.logo__mark {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--toner);
  transform: rotate(-4deg);
  transition: transform .3s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(4deg); }
.logo__mark .icon { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; white-space: nowrap; }
.logo__sub { font-family: var(--font-hand); font-size: 1.02rem; color: var(--toner-dark); white-space: nowrap; }

.site-header__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-call { padding-inline: .8em; }
.header-call__text { display: none; }

.nav-toggle {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--paper-white);
  border: 2px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Mobile menu: a sheet of paper dropping down */
.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 18px var(--gutter) 28px;
  background-color: var(--paper-white);
  background-image: repeating-linear-gradient(to bottom, transparent 0 47px, var(--rule) 47px 48px);
  box-shadow: 0 20px 30px -18px rgba(40, 30, 10, .5);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s, visibility .3s;
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.main-nav__list { list-style: none; }
.main-nav__link {
  position: relative;
  display: block;
  padding: 10px 4px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.main-nav__link.is-current { color: var(--toner-dark); }
.main-nav__link.is-current::after { /* hand-drawn underline */
  content: "";
  position: absolute;
  left: 4px; bottom: 6px;
  width: 64px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8'%3E%3Cpath d='M2 5c10-3 20-3 30-1s20 1 30-2' fill='none' stroke='%23E8542F' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.main-nav__actions { margin-top: 18px; display: grid; gap: 10px; }
.main-nav__hours { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: .92rem; color: var(--graphite-soft); }
.main-nav__hours .icon { width: 18px; height: 18px; }

@media (max-width: 399px) {
  /* Small phones: shrink the logo so everything fits on one line */
  .site-header__inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__mark .icon { width: 20px; height: 20px; }
  .logo__name { font-size: .88rem; }
  .logo__sub { font-size: .9rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .header-call { min-height: 42px; padding-inline: .7em; }
}
@media (min-width: 480px) {
  .logo__name { font-size: 1.15rem; }
}
@media (min-width: 640px) {
  .header-call__text { display: inline; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    margin-left: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .main-nav__list { display: flex; gap: 2px; }
  .main-nav__link { padding: 8px 12px; font-size: 1.04rem; white-space: nowrap; }
  .main-nav__link:hover { color: var(--toner-dark); }
  .main-nav__link.is-current::after { left: 12px; right: 12px; bottom: 0; width: auto; }
  .main-nav__actions { display: none; }
  .site-header__cta { margin-left: 12px; }
  .logo__mark { width: 46px; height: 46px; }
  .logo__name { font-size: 1.25rem; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  /* Tight laptop widths: phone button shows the icon only */
  .header-call__text { display: none; }
  .main-nav__link { padding-inline: 9px; }
  .logo__name { font-size: 1.12rem; }
}

/* ---------- 8. HERO: PAGE COMING OUT OF THE COPIER ---------- */
.hero { position: relative; padding-bottom: 40px; }
.copier-slot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding-inline: var(--gutter);
  color: #bfe9d0;
  background: linear-gradient(to bottom, #203f73, var(--ink-dark));
  font-family: var(--font-type);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: 0 6px 12px -4px rgba(18, 40, 73, .45);
}
.copier-slot__led { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 8px var(--wa); animation: blink 2.4s infinite; }
.copier-slot__mouth {
  position: absolute;
  left: 50%; bottom: 5px;
  width: min(72%, 900px);
  height: 5px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #0a1830;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6);
}

.hero-sheet {
  position: relative;
  overflow: hidden;
  margin-top: -2px;
  padding: 40px 20px 36px;
  background-color: var(--paper-white);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px),
    var(--grain);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-lg), inset 0 14px 14px -12px rgba(18, 40, 73, .35);
  animation: sheet-out .9s var(--ease) both;
}
.hero-sheet::after { /* slight page curl at the bottom-right */
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 60px; height: 60px;
  background: linear-gradient(315deg, var(--paper) 0 45%, #e9e1cf 50%, #fffdf6 60%, transparent 62%);
  pointer-events: none;
}
@keyframes sheet-out { from { transform: translateY(-40px); } to { transform: none; } }

/* The copier light that sweeps down the page once */
.scan-bar {
  position: absolute;
  left: -5%; right: -5%;
  top: -80px;
  z-index: 5;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(90, 240, 170, 0) 0%,
    rgba(90, 240, 170, .18) 40%,
    rgba(200, 255, 230, .95) 50%,
    rgba(90, 240, 170, .18) 60%,
    rgba(90, 240, 170, 0) 100%);
  box-shadow: 0 0 40px 6px rgba(90, 240, 170, .25);
  opacity: 0;
  animation: scan-sweep 1.7s cubic-bezier(.45, 0, .4, 1) .35s 1 forwards;
}
@keyframes scan-sweep {
  0%   { top: -80px; opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
/* Page content "develops" as the light passes */
.js .hero-grid, .js .page-hero__sheet > :not(.scan-bar) {
  animation: copy-develop 1.7s cubic-bezier(.45, 0, .4, 1) .35s both;
}
@keyframes copy-develop {
  from { -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); }
  to   { -webkit-clip-path: inset(0 0 -20% 0); clip-path: inset(0 0 -20% 0); }
}

.hero-grid { position: relative; z-index: 2; display: grid; gap: 24px; align-items: center; }
.hand-note {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--toner-dark);
  transform: rotate(-2deg);
}
.hero-title {
  font-size: clamp(2rem, 8.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.marker { /* highlighter-pen stroke behind a word */
  position: relative;
  white-space: nowrap;
  background: linear-gradient(104deg, transparent .3em, rgba(255, 214, 64, .75) .35em, rgba(255, 214, 64, .55) 92%, transparent 97%) 0 88% / 100% .5em no-repeat;
}
.marker--orange { background-image: linear-gradient(104deg, transparent .3em, rgba(232, 84, 47, .35) .35em, rgba(232, 84, 47, .28) 92%, transparent 97%); }
.hero-sub { font-size: 1.07rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-actions--center { justify-content: center; }
.hero-actions--center .btn { flex: 0 1 auto; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; font-size: .92rem; font-weight: 700; color: var(--ink); }
.hero-badges li { display: flex; align-items: center; gap: 6px; }
.hero-badges .icon { width: 18px; height: 18px; color: var(--wa-dark); stroke-width: 2.6; }

.hero-art { max-width: 320px; margin: 0 auto; width: 100%; }
.copier { width: 100%; height: auto; overflow: visible; }
.copier__page { animation: page-out 6s var(--ease) 1.8s infinite; transform: translateY(-152px); }
@keyframes page-out {
  0%   { transform: translateY(-152px); opacity: 1; }
  40%  { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(0); opacity: 1; }
  92%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(-152px); opacity: 0; }
}
.copier__scan { animation: glass-scan 3s ease-in-out infinite alternate; }
@keyframes glass-scan { from { transform: translateX(0); } to { transform: translateX(160px); } }
.copier__led { animation: blink 1.6s infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 80% { opacity: .25; } 100% { opacity: 1; } }

/* Floating doodles */
.doodle { position: absolute; z-index: 1; pointer-events: none; opacity: .85; }
.doodle--plane  { width: 110px; top: 18px; right: 6%; animation: drift-plane 9s ease-in-out infinite; }
.doodle--pencil { width: 90px; bottom: 26px; left: 46%; transform: rotate(-24deg); animation: drift-pencil 11s ease-in-out infinite; }
.doodle--clip   { width: 34px; top: 38%; left: -4px; animation: drift-clip 8s ease-in-out infinite; }
.doodle--star   { width: 26px; top: 14px; left: 44%; animation: drift-star 7s ease-in-out infinite; }
@keyframes drift-plane  { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-18px, 12px) rotate(-6deg); } }
@keyframes drift-pencil { 0%, 100% { transform: translate(0, 0) rotate(-24deg); } 50% { transform: translate(14px, -10px) rotate(-16deg); } }
@keyframes drift-clip   { 0%, 100% { transform: rotate(20deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes drift-star   { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.2) rotate(30deg); } }

@media (max-width: 767px) {
  .doodle--pencil, .doodle--clip { display: none; }
  .doodle--plane { width: 76px; top: 6px; right: 2%; opacity: .6; }
  .doodle--star { left: auto; right: 34%; top: 8px; }
}
@media (min-width: 900px) {
  .hero { padding-bottom: 64px; }
  .copier-slot { height: 36px; font-size: .78rem; }
  .hero-sheet { padding: 64px 56px 60px; border-radius: 0 0 8px 8px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero-art { max-width: 420px; }
  .hero-actions .btn { flex: 0 1 auto; }
}

/* ---------- 9. INNER PAGE HEADER ---------- */
.page-hero { padding-top: 18px; }
.page-hero__sheet {
  position: relative;
  overflow: hidden;
  padding: 26px 18px 30px;
  text-align: center;
  background-color: var(--paper-white);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px), var(--grain);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.page-hero__sheet .section-head { margin: 10px 0 14px; }
.page-hero__sheet .stamp { font-size: clamp(1.5rem, 6.5vw, 2.6rem); }
.page-hero__lead { max-width: 40em; margin: 0 auto; font-size: 1.05rem; }
@media (min-width: 768px) {
  .page-hero { padding-top: 32px; }
  .page-hero__sheet { padding: 38px 40px 44px; }
}
.big-404 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(4.5rem, 20vw, 9rem); line-height: 1; color: var(--ink); opacity: .9; }
.big-404 span { display: inline-block; color: var(--toner); transform: rotate(12deg); }

.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .88rem; color: var(--graphite-soft); }
.breadcrumb a { color: var(--graphite-soft); }
.breadcrumb a:hover { color: var(--toner-dark); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }
.product-detail .breadcrumb { justify-content: flex-start; margin-bottom: 20px; }

/* ---------- 10. TRUST STRIP (receipt tape) ---------- */
.trust { position: relative; z-index: 2; margin-top: -8px; }
.trust__tape {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 14px 10px;
  background: var(--paper-white);
  box-shadow: var(--shadow-md);
  /* zig-zag receipt edges top & bottom */
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 14px 51% repeat-x;
          mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 14px 51% repeat-x;
}
.trust__item { display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-size: .86rem; line-height: 1.3; }
.trust__item > .icon { flex: none; width: 34px; height: 34px; padding: 7px; color: var(--ink); background: var(--cream); border-radius: 50%; }
.trust__item strong { display: block; color: var(--ink); font-size: .92rem; }
.trust__item small { display: block; color: var(--graphite-soft); font-size: .8rem; }
.open-status { font-weight: 800; }
.open-status.is-open { color: var(--wa-dark) !important; }
.open-status.is-closed { color: var(--toner-dark) !important; }
@media (min-width: 900px) {
  .trust__tape { grid-template-columns: repeat(4, 1fr); padding: 20px 16px; }
  .trust__item { padding: 6px 16px; border-left: 2px dashed var(--line); }
  .trust__item:first-child { border-left: 0; }
}

/* ---------- 11. DOODLE MARQUEE ---------- */
.doodle-marquee {
  overflow: hidden;
  padding: 14px 0;
  background: var(--cream);
  border-block: 2px dashed rgba(27, 58, 107, .25);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.doodle-marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.doodle-marquee:hover .doodle-marquee__track { animation-play-state: paused; }
.doodle-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 22px;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.doodle-marquee__item .icon { width: 30px; height: 30px; color: var(--toner); stroke-width: 1.6; }
.doodle-marquee__item:nth-child(even) .icon { color: var(--ink); transform: rotate(-10deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. DIVIDERS: perforation + torn edge ---------- */
.tear-line {
  position: relative;
  height: 24px;
  margin-block: 8px;
  background: radial-gradient(circle, rgba(61, 61, 61, .35) 2.2px, transparent 2.7px) 0 50% / 14px 6px repeat-x;
}
.tear-line__label {
  position: absolute;
  top: 50%; left: 8%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  transform: translateY(-50%);
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--graphite-soft);
  background: var(--paper);
}
.tear-line__label .icon { width: 22px; height: 22px; transform: rotate(-90deg); color: var(--graphite); }

.torn-edge { position: absolute; left: 0; width: 100%; height: 26px; color: var(--ink); pointer-events: none; }
.torn-edge--top { top: -25px; }
.torn-edge--bottom { bottom: -25px; transform: scaleY(-1); }
@media (min-width: 768px) { .torn-edge { height: 36px; } .torn-edge--top { top: -35px; } .torn-edge--bottom { bottom: -35px; } }

/* ---------- 13. CATEGORY FOLDERS ---------- */
.folder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 14px; padding-top: 16px; }
.folder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 150px;
  padding: 18px 14px 14px;
  color: var(--graphite);
  text-decoration: none;
  background: var(--manila) var(--grain);
  border-radius: 0 10px 10px 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.folder-card:hover { color: var(--graphite); transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-md); }
.folder-card__tab { /* the tab sticking up from the folder */
  position: absolute;
  top: -26px; left: 0;
  display: grid; place-items: center;
  width: 64px; height: 28px;
  color: var(--ink);
  background: var(--manila);
  border-radius: 8px 8px 0 0;
  -webkit-clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
          clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.folder-card__tab .icon { width: 20px; height: 20px; }
.folder-card:nth-child(3n+2) .folder-card__tab { left: 30%; }
.folder-card:nth-child(3n+3) .folder-card__tab { left: auto; right: 12px; }
.folder-card:nth-child(3n+3) { border-radius: 10px 0 10px 10px; }
.folder-card:nth-child(3n+2) { border-radius: 10px; }
.folder-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.2; color: var(--ink); }
.folder-card__blurb { font-size: .85rem; line-height: 1.4; color: var(--graphite-soft); }
.folder-card__count { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-hand); font-size: 1.2rem; font-weight: 700; color: var(--toner-dark); }
.folder-card__count .icon { width: 16px; height: 16px; transition: transform .3s; }
.folder-card:hover .folder-card__count .icon { transform: translateX(4px); }
.folder-card--ask, .folder-card--ask .folder-card__tab { background-color: var(--sticky); }
@media (min-width: 900px) {
  .folder-grid { grid-template-columns: repeat(4, 1fr); gap: 44px 22px; }
  .folder-card { min-height: 180px; padding: 22px 20px 18px; }
  .folder-card__name { font-size: 1.28rem; }
  .folder-card__blurb { font-size: .92rem; }
}

/* ---------- 14. PRODUCT CARDS (index cards with folded corner) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (max-width: 359px) { .product-grid { grid-template-columns: 1fr; } }
@media (min-width: 700px)  { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; } }
@media (min-width: 980px)  { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card-wrap {
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(60, 45, 20, .1)) drop-shadow(0 8px 10px rgba(60, 45, 20, .16));
  transition: filter .35s var(--ease);
}
.card-wrap:hover { filter: drop-shadow(0 2px 2px rgba(60, 45, 20, .1)) drop-shadow(0 20px 18px rgba(60, 45, 20, .24)); }
.card-wrap:nth-child(3n+1)::before { /* washi tape on some cards */
  content: "";
  position: absolute;
  z-index: 3;
  top: -9px; left: 50%;
  width: 70px; height: 20px;
  margin-left: -35px;
  background: repeating-linear-gradient(45deg, rgba(232, 84, 47, .45) 0 6px, rgba(232, 84, 47, .3) 6px 12px);
  transform: rotate(-4deg);
  opacity: .9;
}
.product-card {
  --fold: 26px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper-white);
  -webkit-clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
          clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
  border-radius: 3px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .4s var(--ease);
}
.product-card::before { /* the folded-down corner */
  content: "";
  position: absolute;
  z-index: 2;
  top: 0; right: 0;
  width: var(--fold); height: var(--fold);
  background: linear-gradient(to bottom left, transparent 50%, #e4dac6 50%, #f3ecdc 80%);
  box-shadow: -2px 2px 3px rgba(0, 0, 0, .08);
}
.product-card--tone0 { --tilt: -.8deg; }
.product-card--tone1 { --tilt: .7deg; background: #FFF8D6; }
.product-card--tone2 { --tilt: -.4deg; }
.product-card--tone3 { --tilt: .9deg; background: #F1F5FB; }
.card-wrap:hover .product-card { transform: translateY(-8px) rotate(calc(var(--tilt) * -1.8)); }

.card-media {
  display: block;
  margin: 10px 10px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, .06);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-wrap:hover .card-media img { transform: scale(1.05); }

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 14px;
  background-image: linear-gradient(to bottom, transparent 30px, var(--margin-red) 30px, var(--margin-red) 31px, transparent 31px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.card-cat { font-family: var(--font-hand); font-size: 1.08rem; font-weight: 700; line-height: 1.2; color: var(--toner-dark); padding-bottom: 8px; }
.card-title { margin: 0 0 6px; font-size: 1rem; line-height: 1.25; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--toner-dark); }
.card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 10px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--graphite-soft);
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; margin-bottom: 10px; }
.price-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  padding: 1px 8px;
  border: 2px dashed rgba(27, 58, 107, .35);
  border-radius: 6px;
  white-space: nowrap;
}
.card-more { display: inline-flex; align-items: center; gap: 2px; font-size: .84rem; font-weight: 700; color: var(--graphite-soft); text-decoration: none; }
.card-more .icon { width: 15px; height: 15px; }
.card-more:hover { color: var(--toner-dark); }
@media (max-width: 480px) {
  .product-card { --fold: 20px; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card-more { display: none; }
  .price-tag { font-size: 1rem; }
  .card-body { padding: 8px 10px 12px; }
  .card-title { font-size: .93rem; }
}
@media (min-width: 700px) {
  .card-title { font-size: 1.1rem; }
  .card-media { margin: 12px 12px 0; }
  .card-body { padding: 12px 14px 16px; }
}

/* ---------- 15. CATALOGUE: FOLDER TABS + SEARCH ---------- */
.folder-tabs {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  overflow-x: auto;
  padding: 10px 4px 0;
  margin: 0 calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.folder-tabs::-webkit-scrollbar { display: none; }
.folder-tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 12px;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  color: var(--graphite);
  text-decoration: none;
  background: #E4D2AC;
  border-radius: 10px 10px 0 0;
  -webkit-clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
          clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -8px 10px -8px rgba(60, 45, 20, .35);
  transform: translateY(6px);
  transition: transform .25s var(--ease), background .25s, color .25s;
  scroll-snap-align: start;
}
.folder-tab:nth-child(odd) { background: #DCC89F; }
.folder-tab:hover { color: var(--ink); transform: translateY(2px); }
.folder-tab .icon { width: 18px; height: 18px; }
.folder-tab__count { font-size: .75rem; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--graphite-soft); }
.folder-tab.is-active { z-index: 2; color: var(--ink); background: var(--manila); box-shadow: none; transform: none; }
.folder-tab.is-active .folder-tab__count { background: var(--toner); color: #fff; }

.folder {
  position: relative;
  padding: 18px 12px 28px;
  background: var(--manila) var(--grain);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-md);
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  padding: 6px 6px 6px 14px;
  background: var(--paper-white);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
}
.catalog-search__icon .icon { width: 20px; height: 20px; color: var(--graphite-soft); }
.catalog-search__input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.catalog-search__input::-webkit-search-cancel-button { cursor: pointer; }
.catalog-search:focus-within { box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 3px var(--toner); }
.catalog-count { margin: 14px 0 18px; font-family: var(--font-hand); font-size: 1.3rem; color: var(--ink-soft); }
.catalog-empty { max-width: 460px; margin: 20px auto 0; padding: 28px 20px; text-align: center; background: var(--sticky); box-shadow: var(--shadow-sm); transform: rotate(-1deg); }
.catalog-empty__title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
@media (min-width: 768px) {
  .folder-tabs { margin: 0; padding-inline: 4px; }
  .folder { padding: 28px 28px 40px; border-radius: 0 14px 14px 14px; }
  .folder-tab { font-size: .95rem; }
}

/* ---------- 16. PRODUCT DETAIL ---------- */
.product-detail__grid { display: grid; gap: 34px; align-items: start; }
.product-photo { position: relative; padding: 12px 12px 8px; background: var(--paper-white); box-shadow: var(--shadow-md); transform: rotate(-1deg); }
.product-photo__frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.product-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.product-photo__caption { margin: 8px 0 0; text-align: center; font-family: var(--font-hand); font-size: 1.2rem; color: var(--graphite-soft); }
.product-info__cat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; color: var(--toner-dark); text-decoration: none; }
.product-info__cat .icon { width: 22px; height: 22px; }
.product-info__title { font-size: clamp(1.6rem, 6vw, 2.4rem); margin: 4px 0 10px; }
.product-info__short { font-size: 1.08rem; }
.product-info__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0 22px; }
.price-stamp {
  display: inline-block;
  padding: .15em .6em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--toner);
  border: 3px solid currentColor;
  border-radius: 8px;
  transform: rotate(-3deg);
  -webkit-mask-image: var(--stamp-mask);
          mask-image: var(--stamp-mask);
  -webkit-mask-size: 220px;
          mask-size: 220px;
}
.product-info__stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--wa-dark); }
.product-info__stock .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.product-info__actions { display: grid; gap: 10px; max-width: 460px; }
.product-info__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-info__desc { margin-top: 28px; padding: 18px 18px 6px; background: var(--paper-white); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--rule) 27px 28px); border-left: 3px solid var(--margin-red); box-shadow: var(--shadow-sm); }
.hand-title { margin: 0 0 6px; font-size: 1.7rem; color: var(--toner-dark); }
.product-info__perks { list-style: none; display: grid; gap: 8px; margin-top: 20px; font-size: .94rem; }
.product-info__perks li { display: flex; align-items: center; gap: 10px; }
.product-info__perks .icon { flex: none; width: 20px; height: 20px; color: var(--ink); }
@media (min-width: 900px) {
  .product-detail__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .product-photo { position: sticky; top: calc(var(--header-h) + 24px); padding: 16px 16px 10px; }
}

/* Tape pieces (map + photo frames) */
.tape { position: absolute; z-index: 3; top: -10px; width: 90px; height: 24px; background: rgba(255, 241, 168, .85); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.tape--left { left: -14px; transform: rotate(-32deg); top: 8px; }
.tape--right { right: -14px; transform: rotate(32deg); top: 8px; }

/* ---------- 17. SERVICES + CLIPBOARD RATE LIST ---------- */
.services-highlight__grid, .rate-layout { display: grid; gap: 40px; align-items: center; }
.services-highlight .section-head, .rate-layout .section-head { text-align: left; }
.service-mini { list-style: none; display: grid; gap: 12px; margin: 22px 0 8px; }
.service-mini li { display: flex; gap: 12px; align-items: flex-start; }
.service-mini .icon { flex: none; width: 40px; height: 40px; padding: 8px; color: var(--toner); background: var(--paper-white); border: 2px dashed rgba(232, 84, 47, .4); border-radius: 10px; }
@media (min-width: 900px) {
  .services-highlight__grid, .rate-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.clipboard {
  position: relative;
  max-width: 500px;
  width: 100%;
  margin: 24px auto 0;
  padding: 34px 14px 16px;
  background: linear-gradient(135deg, #C89A64, var(--kraft) 50%, #A8784A);
  border-radius: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .12);
  transform: rotate(1.2deg);
}
.clipboard__clip {
  position: absolute;
  z-index: 3;
  top: -18px; left: 50%;
  width: 140px; height: 50px;
  margin-left: -70px;
  background: linear-gradient(to bottom, #f1f1f1, #b8bcc4 45%, #8e939c 55%, #d9dce2);
  border-radius: 10px 10px 16px 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
}
.clipboard__clip::before { content: ""; position: absolute; top: 8px; left: 50%; width: 46px; height: 14px; margin-left: -23px; border-radius: 8px; background: #6f747c; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5); }
.clipboard__sheet { position: relative; overflow: hidden; padding: 30px 16px 18px; background: var(--paper-white); box-shadow: 0 2px 3px rgba(0, 0, 0, .18); font-family: var(--font-type); }
.clipboard__head { text-align: center; padding-bottom: 12px; border-bottom: 2px dashed var(--line); margin-bottom: 6px; }
.clipboard__shop { margin: 0; font-weight: 700; letter-spacing: .14em; font-size: .82rem; color: var(--graphite-soft); }
.clipboard__title { margin: 2px 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.clipboard__meta { margin: 0; font-size: .74rem; color: var(--graphite-soft); }
.rate-table thead th { padding: 8px 0 4px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite-soft); text-align: left; }
.rate-table tbody tr { border-bottom: 1px dotted rgba(61, 61, 61, .35); }
.rate-table tbody th { padding: 10px 8px 10px 0; text-align: left; font-weight: 400; }
.rate-table__name { display: block; font-weight: 700; color: var(--graphite); font-size: .95rem; }
.rate-table__detail { display: block; font-size: .74rem; color: var(--graphite-soft); line-height: 1.35; }
.rate-table__price { text-align: right !important; white-space: nowrap; vertical-align: middle; }
.rate-table td.rate-table__price strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--toner-dark); }
.rate-table td.rate-table__price span { font-size: .76rem; color: var(--graphite-soft); }
.clipboard__foot { margin: 12px 0 0; font-size: .74rem; color: var(--graphite-soft); }
.clipboard__stamp {
  position: absolute;
  right: 10px; top: 16px;
  display: grid; place-items: center;
  width: 70px; height: 70px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  color: rgba(27, 58, 107, .55);
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--paper-white), inset 0 0 0 5px currentColor;
  transform: rotate(18deg);
  -webkit-mask-image: var(--stamp-mask);
          mask-image: var(--stamp-mask);
}
@media (min-width: 768px) {
  .clipboard { padding: 40px 22px 22px; }
  .clipboard__sheet { padding: 34px 24px 22px; }
  .clipboard__stamp { width: 84px; height: 84px; font-size: .9rem; right: 18px; }
}

.service-grid { display: grid; gap: 18px; }
.service-card {
  position: relative;
  padding: 24px 20px 18px;
  background: var(--paper-white);
  border-top: 5px solid var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:nth-child(even) { border-top-color: var(--toner); }
.service-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.service-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 12px; color: var(--ink); background: var(--cream); border-radius: 14px; transform: rotate(-5deg); }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card__title { font-size: 1.35rem; margin-bottom: 6px; }
.service-card p { font-size: .95rem; }
.service-card__from { margin: 0; font-family: var(--font-hand); font-size: 1.3rem; color: var(--graphite-soft); }
.service-card__from strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--toner-dark); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.check-list { list-style: none; display: grid; gap: 8px; margin: 18px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; }
.check-list .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--wa-dark); stroke-width: 2.6; }
.send-file { margin-top: 24px; padding: 18px 20px; background: var(--sticky); box-shadow: var(--shadow-sm); transform: rotate(-.8deg); }
.send-file__title { margin: 0 0 8px; font-family: var(--font-hand); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.send-file ol { padding-left: 1.2em; display: grid; gap: 4px; font-size: .95rem; }

/* ---------- 18. WHY CHOOSE US (pinned notes) ---------- */
.notes-grid { display: grid; gap: 30px 20px; padding-top: 8px; }
.pin-note {
  position: relative;
  padding: 30px 22px 20px;
  background: var(--paper-white);
  box-shadow: var(--shadow-md);
  transform: rotate(var(--r, -1.2deg));
  transition: transform .35s var(--ease);
}
.pin-note:nth-child(2) { --r: 1.3deg; background: var(--sticky); }
.pin-note:nth-child(3) { --r: -.6deg; }
.pin-note:nth-child(4) { --r: 1deg; background: var(--sticky-blue); }
.pin-note:hover { transform: rotate(0) translateY(-4px); }
.pin-note__pin { position: absolute; top: -9px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a7c, var(--toner) 45%, #a8311a); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); }
.pin-note__num { position: absolute; top: 10px; right: 14px; font-family: var(--font-hand); font-size: 1.7rem; font-weight: 700; color: rgba(27, 58, 107, .3); }
.pin-note__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 10px; color: var(--toner); border: 2px dashed currentColor; border-radius: 50%; }
.pin-note__icon .icon { width: 26px; height: 26px; }
.pin-note__title { font-size: 1.25rem; margin-bottom: 6px; }
.pin-note p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .notes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .notes-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 19. STATS (ink section with torn edges) ---------- */
.stats {
  position: relative;
  margin-block: 36px;
  padding-block: 44px 48px;
  color: var(--paper);
  background-color: var(--ink);
  background-image: var(--grain);
}
.stats__inner { text-align: center; }
.stats__kicker { margin: 0 0 18px; font-family: var(--font-hand); font-size: 1.5rem; color: #ffb49f; }
.stats__grid { display: grid; gap: 26px; }
.stat__number { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 11vw, 3.8rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--toner); }
.stat__label { margin: 6px 0 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: #c8d4ea; }
.stat { padding-bottom: 20px; border-bottom: 2px dashed rgba(250, 247, 240, .22); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 768px) {
  .stats { margin-block: 56px; padding-block: 60px 64px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat { padding: 0 20px; border-bottom: 0; border-left: 2px dashed rgba(250, 247, 240, .22); }
  .stat:first-child { border-left: 0; }
}

/* ---------- 20. HOW TO ORDER ---------- */
.steps { list-style: none; display: grid; gap: 34px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 22px 22px;
  text-align: center;
  background: var(--paper-white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
}
.step__num {
  position: absolute;
  top: -20px; left: 50%;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  margin-left: -20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  background: var(--toner);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper-white);
}
.step__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin: 4px 0 10px; color: var(--ink); background: var(--cream); border-radius: 50%; }
.step:nth-child(2) .step__icon { color: var(--wa-dark); }
.step__icon .icon { width: 30px; height: 30px; }
.step__title { font-size: 1.3rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .95rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .step:not(:last-child)::after { /* dashed arrow to the next step */
    content: "";
    position: absolute;
    top: 50%; right: -52px;
    width: 46px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 20'%3E%3Cpath d='M2 12c12-8 26-8 38-2' fill='none' stroke='%23E8542F' stroke-width='2.2' stroke-dasharray='4 4' stroke-linecap='round'/%3E%3Cpath d='m34 4 7 6-8 4' fill='none' stroke='%23E8542F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  }
}

/* ---------- 21. LOCATION / MAP ---------- */
.location__grid { display: grid; gap: 30px; align-items: stretch; }
.map-frame { position: relative; padding: 10px; background: var(--paper-white); box-shadow: var(--shadow-md); transform: rotate(-.6deg); }
.map-frame iframe { width: 100%; height: 320px; border: 0; background: var(--cream); filter: sepia(.18) saturate(.9); }
.address-card { padding: 24px 22px; background-color: var(--paper-white); background-image: repeating-linear-gradient(to bottom, transparent 0 29px, var(--rule) 29px 30px); border-left: 4px solid var(--toner); box-shadow: var(--shadow-sm); }
.address-card__label { margin: 0 0 4px; font-family: var(--font-hand); font-size: 1.4rem; font-weight: 700; color: var(--toner-dark); }
.address-card address { font-size: 1.02rem; line-height: 1.6; }
.address-card address strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.address-card__list { list-style: none; display: grid; gap: 8px; margin: 16px 0 20px; font-size: .95rem; }
.address-card__list li { display: flex; align-items: flex-start; gap: 10px; }
.address-card__list .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ink); }
.address-card__list a { word-break: break-word; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .location__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .map-frame iframe { height: 100%; min-height: 400px; }
}

/* ---------- 22. CONTACT PAGE ---------- */
.contact-grid { display: grid; gap: 34px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: var(--graphite);
  text-decoration: none;
  background: var(--paper-white);
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s;
}
.contact-card:hover { color: var(--graphite); transform: translateX(4px); border-color: var(--ink); }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--ink); border-radius: 12px; }
.contact-card--wa .contact-card__icon { background: var(--wa); color: var(--wa-text); }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__label { display: block; font-family: var(--font-hand); font-size: 1.2rem; font-weight: 700; line-height: 1.1; color: var(--toner-dark); }
.contact-card__value { display: block; font-weight: 800; font-size: 1.05rem; color: var(--ink); word-break: break-word; }
.contact-card__value--small { font-weight: 600; font-size: .92rem; line-height: 1.45; }
.hours-card { padding: 18px 20px; background: var(--sticky); box-shadow: var(--shadow-sm); transform: rotate(-.6deg); }
.hours-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.hours-card__title .icon { width: 20px; height: 20px; }
.hours-card__title .open-status { margin-left: auto; font-family: var(--font-body); font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.hours-table th, .hours-table td { padding: 6px 0; border-bottom: 1px dashed rgba(61, 61, 61, .25); text-align: left; font-size: .95rem; }
.hours-table th { font-weight: 700; }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.notepad {
  position: relative;
  padding: 44px 20px 24px;
  background-color: var(--paper-white);
  background-image:
    linear-gradient(90deg, transparent 33px, var(--margin-red) 33px, var(--margin-red) 35px, transparent 35px),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.notepad__rings { position: absolute; top: -12px; left: 24px; right: 24px; height: 26px; background: radial-gradient(circle at 50% 60%, transparent 5px, #8e939c 5.5px, #cdd1d8 8px, transparent 8.5px) 0 0 / 30px 26px repeat-x; }
.notepad__title { font-size: 1.6rem; margin-bottom: 4px; padding-left: 22px; }
.notepad__intro { padding-left: 22px; color: var(--graphite-soft); font-size: .95rem; }
.wa-form { padding-left: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 2px; font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.field__opt { font-size: 1rem; color: var(--graphite-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .8);
  border: 0;
  border-bottom: 2px solid rgba(27, 58, 107, .35);
  border-radius: 6px 6px 0 0;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--toner); background: #fff; }
.field .is-invalid { border-bottom-color: var(--toner-dark); background: #fff3ef; }
.form-status { min-height: 1.4em; margin: 0 0 10px; font-weight: 700; font-size: .92rem; color: var(--wa-dark); }
.form-status.is-error, .form-error { color: var(--toner-dark); }
.form-error { margin-left: 22px; padding: 10px 12px; background: #fff3ef; border-radius: 8px; font-weight: 700; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .notepad { padding: 50px 36px 32px 30px; }
}

/* ---------- 23. ABOUT PAGE ---------- */
.about-grid { display: grid; gap: 34px; align-items: start; }
.letter {
  position: relative;
  padding: 30px 22px 26px 48px;
  font-size: 1.04rem;
  line-height: 32px;
  background-color: var(--paper-white);
  background-image:
    linear-gradient(90deg, transparent 32px, var(--margin-red) 32px, var(--margin-red) 34px, transparent 34px),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  background-position: 0 14px;
  box-shadow: var(--shadow-lg);
}
.letter p { margin-bottom: 16px; }
.letter__date { text-align: right; font-family: var(--font-hand); font-size: 1.3rem; color: var(--graphite-soft); }
.letter__greeting { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.letter__sign { font-family: var(--font-hand); font-size: 1.7rem; font-weight: 700; color: var(--toner-dark); text-align: right; transform: rotate(-2deg); }
.about-aside { display: grid; gap: 26px; }
.sticky-note { padding: 22px 22px 16px; background: var(--sticky); box-shadow: var(--shadow-md); transform: rotate(1.5deg); }
.sticky-note--blue { background: var(--sticky-blue); transform: rotate(-1.2deg); }
.sticky-note__title { margin: 0; font-family: var(--font-hand); font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.sticky-note .check-list { margin: 8px 0 4px; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.5fr 1fr; gap: 50px; }
  .letter { padding: 44px 44px 36px 72px; background-image: linear-gradient(90deg, transparent 52px, var(--margin-red) 52px, var(--margin-red) 54px, transparent 54px), repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px); }
}
.cta-card { max-width: 760px; margin: 0 auto; padding: 36px 20px; text-align: center; background: var(--paper-white); border: 2px dashed rgba(27, 58, 107, .35); border-radius: 14px; }

/* ---------- 24. FOOTER ---------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  color: #d5deee;
  background-color: var(--ink-dark);
  background-image: var(--grain);
  font-size: .95rem;
}
.site-footer__perf { height: 10px; background: radial-gradient(circle at 50% 0, var(--paper) 5px, transparent 5.5px) 0 0 / 18px 10px repeat-x; }
.site-footer__grid { display: grid; gap: 34px; padding-block: 44px 34px; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__mark { background: var(--paper); color: var(--ink); }
.logo--light .logo__sub { color: #ffb49f; }
.footer-about { margin: 16px 0; color: #b9c6dd; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-title { margin: 0 0 14px; font-size: 1.15rem; color: #fff; }
.footer-title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 6px; background: var(--toner); border-radius: 2px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #d5deee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--wa { color: var(--wa-text); }
.site-footer .btn--wa:hover, .site-footer .btn:hover { color: #fff; text-decoration: none; }
.site-footer .btn--paper { color: var(--ink); }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: #ffb49f; }
.footer-contact a { word-break: break-word; }
.site-footer__bottom { border-top: 2px dashed rgba(255, 255, 255, .15); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 18px 90px; font-size: .85rem; color: #9fb0cc; }
.site-footer__bottom p { margin: 0; }
.site-footer__note { font-family: var(--font-hand); font-size: 1.15rem; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 44px; }
  .site-footer__bottom-inner { padding-right: 190px; }
}

/* ---------- 25. FLOATING WHATSAPP BUTTON ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wa-float__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  color: #fff;
  background: var(--wa);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(18, 140, 74, .45);
  transition: transform .3s var(--ease);
}
.wa-float__icon::before { /* soft pulse ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float__icon .icon { width: 32px; height: 32px; stroke-width: 1.6; }
.wa-float__label {
  padding: 7px 14px;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  background: var(--paper-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
.wa-float:hover .wa-float__icon { transform: scale(1.08) rotate(-8deg); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (min-width: 1000px) {
  .wa-float { right: 24px; bottom: 24px; }
  .wa-float__label { opacity: 1; transform: none; }
}

/* ---------- 26. SCROLL ANIMATIONS ---------- */
/* Fade + slide up (only when JS is running, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* "Printing" image reveal: the picture appears top-to-bottom */
.print-reveal { position: relative; }
.js .print-reveal img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0 48%, transparent 52% 100%);
          mask-image: linear-gradient(to bottom, #000 0 48%, transparent 52% 100%);
  -webkit-mask-size: 100% 200%;
          mask-size: 100% 200%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 0 100%;
          mask-position: 0 100%;
}
.js .print-reveal.is-printed img { animation: print-in 1.3s steps(24, end) .15s forwards; }
.js .print-reveal::after { /* the print head passing down */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ink), transparent);
  opacity: 0;
  pointer-events: none;
}
.js .print-reveal.is-printed::after { animation: print-head 1.3s steps(24, end) .15s forwards; }
@keyframes print-in {
  from { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
  to   { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes print-head {
  0%   { top: 0; opacity: .8; }
  95%  { opacity: .8; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- 27. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .scan-bar, .doodle, .pencil-progress__pencil { display: none; }
  .doodle-marquee__track { animation: none; }
  .copier__page { animation: none !important; transform: none; }
}
