/* ─────────────────────────────────────────────
   ACP — America Copy & Printing
   Design system + page styles
   ───────────────────────────────────────────── */

:root {
  /* palette — printing-shop blue & red */
  --blue-900: #061434;
  --blue-800: #0B1E3F;
  --blue-700: #112A5C;
  --blue-600: #1E3A8A;
  --blue-500: #2949A6;
  --blue-400: #4F6BC4;
  --blue-100: #E4EAF7;

  --red-700: #9F1B1B;
  --red-600: #C0202B;
  --red-500: #DC2626;
  --red-400: #E94B52;
  --red-100: #FCE4E5;

  --ink: #0A0F1F;
  --ink-soft: #2A3142;
  --muted: #6B7280;
  --line: #E2E5EC;
  --paper: #FBFAF6;
  --paper-2: #F4F1E8;
  --white: #FFFFFF;

  /* type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* layout */
  --maxw: 1240px;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 30, 63, 0.06), 0 4px 12px rgba(11, 30, 63, 0.05);
  --shadow-md: 0 6px 16px rgba(11, 30, 63, 0.08), 0 18px 40px rgba(11, 30, 63, 0.10);
  --shadow-lg: 0 20px 60px rgba(11, 30, 63, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ───────── Reset ───────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea, button { font-family: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ───────── Type ───────── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--blue-900); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 600; }
h1 em { font-style: italic; color: var(--red-600); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-600);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 6px;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1px no-repeat,
    radial-gradient(circle, currentColor 1.4px, transparent 1.6px) right center/6px 6px no-repeat;
  flex: 0 0 auto;
}
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head h2 { margin-top: 0.6rem; }
.section-head__lede { color: var(--ink-soft); font-size: 1.08rem; margin-top: 0.9rem; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn--primary { background: var(--blue-800); color: var(--white); }
.btn--primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--blue-900); border-color: var(--blue-900); }
.btn--ghost:hover { background: var(--blue-900); color: var(--white); transform: translateY(-2px); }

/* ───────── Marquee ───────── */
.marquee {
  background: var(--blue-900);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  padding: 0.7rem 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee__track span { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.marquee__track span:nth-child(even) { color: var(--red-500); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───────── Nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem var(--pad);
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  padding-block: 0.6rem;
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 4px 18px rgba(11, 30, 63, 0.04);
}
.nav { transition: border-color 0.3s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.3s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: auto;
  transition: transform 0.3s var(--ease);
}
.nav__brand:hover { transform: translateX(-1px); }
.nav__brand .brand-slot {
  transition: transform 0.4s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__brand:hover .brand-slot {
  transform: rotate(-3deg) scale(1.04);
  box-shadow: 0 8px 22px rgba(11, 30, 63, 0.18);
}
.nav__brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1;
  white-space: nowrap;
}
.nav__brand-text strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue-900);
  letter-spacing: -0.01em;
}
.nav__brand-text em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--red-600);
}
@media (max-width: 560px) {
  .nav__brand-text strong { font-size: 1rem; }
  .nav__brand-text em { font-size: 0.85rem; }
}
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0.1rem;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red-600);
  transition: width 0.35s var(--ease);
  border-radius: 2px;
}
.nav__links a:hover { color: var(--blue-900); }
.nav__links a:hover::after { width: 100%; }
/* active page: persistent red dot before label */
.nav__links a.is-active::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-600);
  margin-right: 0.5rem;
  vertical-align: 1px;
  animation: navDotPulse 2.4s ease-in-out infinite;
}
@keyframes navDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.7; }
}
.nav__cta { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.nav__menu { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav__menu span { width: 22px; height: 2px; background: var(--blue-900); transition: transform 0.3s var(--ease), opacity 0.2s; }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  /* When the drawer is open, nav must not establish a containing block
     for the fixed drawer (otherwise the drawer can't fill the viewport). */
  .nav.is-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
    position: fixed;
    left: clamp(1.4rem, 6vw, 2.5rem);
    right: clamp(1.4rem, 6vw, 2.5rem);
    bottom: clamp(1.4rem, 6vw, 2.5rem);
    z-index: 41;
    justify-content: center;
    text-align: center;
    padding: 1.1rem 1.4rem;
    font-size: 1rem;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
    padding: clamp(5.5rem, 14vw, 7rem) clamp(1.4rem, 6vw, 2.5rem) 2.5rem;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 40;
    animation: navDrawerIn 0.32s var(--ease) both;
  }
  /* decorative print-shop cross-mark in the bottom-right of drawer */
  .nav.is-open .nav__links::after {
    content: '';
    position: absolute;
    right: clamp(1.5rem, 6vw, 3rem);
    bottom: clamp(2rem, 6vw, 3rem);
    width: 90px; height: 90px;
    background-image:
      radial-gradient(circle, transparent 26px, rgba(192, 32, 43, 0.32) 27px, rgba(192, 32, 43, 0.32) 28px, transparent 29px),
      linear-gradient(rgba(192, 32, 43, 0.32), rgba(192, 32, 43, 0.32)),
      linear-gradient(rgba(192, 32, 43, 0.32), rgba(192, 32, 43, 0.32));
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-size: 100% 100%, 1px 80%, 80% 1px;
    pointer-events: none;
  }
  .nav.is-open .nav__links a {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.7rem, 5vw, 2.2rem);
    color: var(--blue-900);
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--line);
    line-height: 1.15;
    letter-spacing: -0.01em;
    animation: navItemIn 0.45s var(--ease) both;
  }
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open .nav__links a::before {
    content: counter(navItem, decimal-leading-zero);
    counter-increment: navItem;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-right: 0.85rem;
    vertical-align: 0.6em;
    background: none;
    width: auto; height: auto;
    border-radius: 0;
    display: inline;
    animation: none;
  }
  .nav.is-open .nav__links { counter-reset: navItem; }
  .nav.is-open .nav__links a.is-active {
    color: var(--red-600);
  }
  .nav.is-open .nav__links a.is-active::before {
    content: counter(navItem, decimal-leading-zero);
    color: var(--red-600);
    background: none;
    margin-right: 0.85rem;
    width: auto; height: auto;
    animation: none;
  }
  /* Stagger the items in */
  .nav.is-open .nav__links a:nth-child(1) { animation-delay: 0.05s; }
  .nav.is-open .nav__links a:nth-child(2) { animation-delay: 0.10s; }
  .nav.is-open .nav__links a:nth-child(3) { animation-delay: 0.15s; }
  .nav.is-open .nav__links a:nth-child(4) { animation-delay: 0.20s; }
  .nav.is-open .nav__links a:nth-child(5) { animation-delay: 0.25s; }
  .nav.is-open .nav__cta { animation: navItemIn 0.45s var(--ease) 0.3s both; }
  /* Lock body scroll when drawer is open (JS sets .nav-locked) */
  body.nav-locked { overflow: hidden; }

  .nav__menu { z-index: 50; position: relative; }
  .nav.is-open .nav__menu span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@keyframes navDrawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes navItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ───────── Brand Slot (drop-in logo) ───────── */
.brand-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  flex-shrink: 0;
}
.brand-slot__img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-slot__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}
.brand-slot--nav  { width: 64px; height: 64px; border-radius: 14px; }
.brand-slot--footer { width: 48px; height: 48px; background: var(--paper); }
@media (max-width: 560px) {
  .brand-slot--nav { width: 52px; height: 52px; }
}
.brand-slot--footer .brand-slot__placeholder { color: var(--blue-900); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 8rem);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,30,63,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,30,63,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 80%);
}
.hero__blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite;
}
.hero__blob--red {
  background: var(--red-500);
  top: -120px; right: -120px;
  animation-delay: -5s;
}
.hero__blob--blue {
  background: var(--blue-500);
  bottom: -180px; left: -100px;
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
}

.hero__copy h1 { margin-top: 1rem; }
.hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 36em;
}
.hero__ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-900);
}
.hero__stats span { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

/* hero logo art */
.hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
}
.hero__logo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 30px 60px -20px rgba(11,30,63,0.35);
  animation: heroFrame 0.9s var(--ease) 0.2s both;
}
@keyframes heroFrame {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.hero__logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.hero__logo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  padding: 1rem;
}
.hero__logo-placeholder-eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.6rem;
}
.hero__logo-placeholder-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 6rem);
  letter-spacing: 0.05em;
  color: var(--paper);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0,0,0,0.25);
  background: linear-gradient(180deg, #ffffff 0%, #d3dcef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__logo-placeholder-meta {
  margin-top: 1rem;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
/* legacy sparks (no longer used in markup, kept harmless if reintroduced) */
.hero__logo-spark { display: none; }

/* ───── Print-themed hero animations (CMYK + paper sheets) ───── */

/* Animated paper sheets stacking behind the logo frame */
.hero__sheet {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 18px 32px -12px rgba(11, 30, 63, 0.18);
  border: 1px solid rgba(11, 30, 63, 0.06);
  pointer-events: none;
  animation: sheetSlide 7s var(--ease) infinite;
  z-index: 1;
}
.hero__sheet::before {
  /* faint horizontal "printed text" lines */
  content: '';
  position: absolute;
  inset: 14% 18%;
  background-image:
    linear-gradient(rgba(11, 30, 63, 0.08) 1px, transparent 1px);
  background-size: 100% 18px;
  border-radius: 6px;
}
.hero__sheet--1 {
  transform: translate(-32px, -24px) rotate(-7deg);
  animation-delay: 0s;
}
.hero__sheet--2 {
  transform: translate(28px, -10px) rotate(5deg);
  animation-delay: 1.2s;
  opacity: 0.85;
}
.hero__sheet--3 {
  transform: translate(-12px, 30px) rotate(-3deg);
  animation-delay: 2.4s;
  opacity: 0.7;
}
@keyframes sheetSlide {
  0%, 100% { transform: translate(var(--tx, -32px), var(--ty, -24px)) rotate(var(--r, -7deg)); }
  50%      { transform: translate(calc(var(--tx, -32px) + 6px), calc(var(--ty, -24px) - 4px)) rotate(calc(var(--r, -7deg) - 1.5deg)); }
}
.hero__sheet--1 { --tx: -32px; --ty: -24px; --r: -7deg; }
.hero__sheet--2 { --tx: 28px;  --ty: -10px; --r: 5deg;  }
.hero__sheet--3 { --tx: -12px; --ty: 30px;  --r: -3deg; }

/* Make sure the logo frame floats above the sheets */
.hero__logo-frame { z-index: 3; }

/* Registration crosshair marks at the four corners */
.hero__regmark {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
    radial-gradient(circle, transparent 6px, currentColor 6.5px, currentColor 7.5px, transparent 8px);
  color: rgba(11, 30, 63, 0.55);
  opacity: 0;
  animation: regMarkIn 0.6s var(--ease) 0.7s forwards;
}
.hero__regmark--tl { top: -16px; left: -16px; }
.hero__regmark--tr { top: -16px; right: -16px; }
.hero__regmark--bl { bottom: -16px; left: -16px; }
.hero__regmark--br { bottom: -16px; right: -16px; }
@keyframes regMarkIn {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 0.85; transform: scale(1); }
}

/* Tiny press tucked behind the logo — rollers rotate, paper feeds, ink drops */
.hero__press {
  position: absolute;
  bottom: -42px;
  left: -56px;
  width: 130px;
  height: 104px;
  color: rgba(11, 30, 63, 0.32);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: pressFadeIn 0.7s var(--ease) 1.6s both;
}
@keyframes pressFadeIn { to { opacity: 1; } }
.hero__press-roller { transform-origin: 60px 38px; transform-box: fill-box; }
.hero__press-roller--bottom { transform-origin: 60px 58px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__press-roller--top    { animation: pressSpin 4s linear infinite; }
  .hero__press-roller--bottom { animation: pressSpin 4s linear infinite reverse; }
  .hero__press-paper { animation: pressPaper 5s var(--ease) infinite 1.8s; }
  .hero__press-ink--1 { animation: pressInk 3.6s var(--ease) infinite 0.4s; }
  .hero__press-ink--2 { animation: pressInk 3.2s var(--ease) infinite 1.6s; }
}
@keyframes pressSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
@keyframes pressPaper {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(106px); opacity: 0; }
}
@keyframes pressInk {
  0%   { opacity: 0; transform: translateY(-6px) scale(0.6); }
  20%  { opacity: 1; transform: translateY(0) scale(1); }
  60%  { opacity: 1; transform: translateY(20px) scale(0.4); }
  100% { opacity: 0; transform: translateY(20px) scale(0.4); }
}

/* Hide the press on small screens — too cluttered with the limited stage */
@media (max-width: 720px) { .hero__press { display: none; } }

/* Brand ink-drop dots orbiting the frame (red + blue, varying sizes) */
.hero__ink {
  position: absolute;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 6px 14px rgba(11, 30, 63, 0.18);
  opacity: 0;
  animation: inkDrop 0.7s var(--ease) forwards, inkBob 4.5s ease-in-out infinite;
}
.hero__ink--1 { width: 18px; height: 18px; background: var(--red-600);  top:  8%;  left: -14px; animation-delay: 0.9s, 1.6s; }
.hero__ink--2 { width: 26px; height: 26px; background: var(--blue-700); top: 22%;  right:-22px; animation-delay: 1.05s, 1.8s; }
.hero__ink--3 { width: 14px; height: 14px; background: var(--red-500);  top: 40%;  left: -10px; animation-delay: 1.2s, 2.0s; }
.hero__ink--4 { width: 22px; height: 22px; background: var(--blue-500); top: 56%;  right:-18px; animation-delay: 1.35s, 2.2s; box-shadow: 0 6px 14px rgba(30, 58, 138, 0.32); }
.hero__ink--5 { width: 16px; height: 16px; background: var(--red-700);  bottom:18%; left: -12px; animation-delay: 1.5s, 2.4s; }
.hero__ink--6 { width: 24px; height: 24px; background: var(--blue-900); bottom: 4%; right:-18px; animation-delay: 1.65s, 2.6s; }
.hero__ink--7 { width: 12px; height: 12px; background: var(--red-400);  top: 70%;  left:  3%;  animation-delay: 1.8s, 2.8s; }
.hero__ink--8 { width: 14px; height: 14px; background: var(--blue-400); top:  -8px; left: 38%;  animation-delay: 1.95s, 3.0s; }
@keyframes inkDrop {
  from { opacity: 0; transform: translateY(-12px) scale(0.4); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes inkBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sheet, .hero__ink, .hero__regmark {
    animation: none !important;
    opacity: 1 !important;
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--blue-700);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: var(--blue-700);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ───────── Services ───────── */
.services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.service {
  padding: 2rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service::before {
  /* subtle halftone wash that fades in on hover */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(17, 42, 92, 0.08) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000);
  mask-image: linear-gradient(180deg, transparent 30%, #000);
  z-index: -1;
}
.service::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--red-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--white);
}
.service:hover::before { opacity: 1; }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: 1.25rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.4s var(--ease);
}
.service:hover .service__icon {
  background: var(--blue-700);
  color: var(--white);
  transform: rotate(-4deg) scale(1.04);
}
.service__icon svg { width: 32px; height: 32px; }
/* Stroke draw-in: each path animates from offset 100% → 0 when the
   parent .service has .reveal.is-visible. Stagger across paths. */
.service-svg__draw {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.9s var(--ease);
}
.service.is-visible .service-svg__draw { stroke-dashoffset: 0; }
.service.is-visible .service-svg__draw:nth-child(2) { transition-delay: 0.08s; }
.service.is-visible .service-svg__draw:nth-child(3) { transition-delay: 0.16s; }
.service.is-visible .service-svg__draw:nth-child(4) { transition-delay: 0.24s; }
.service.is-visible .service-svg__draw:nth-child(5) { transition-delay: 0.32s; }
.service.is-visible .service-svg__draw:nth-child(6) { transition-delay: 0.40s; }
/* Ink dots: scale-pop after the lines draw in */
.service-svg__ink {
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.45s var(--ease) 0.6s;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
}
.service.is-visible .service-svg__ink { transform: scale(1); }
.service-svg__ink--2 { transition-delay: 0.78s; }
/* Scanner beam: traces left→right after the body draws */
.service-svg__beam {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: scanBeam 2.4s var(--ease) infinite 1.2s;
}
@keyframes scanBeam {
  0%   { stroke-dashoffset: 32; opacity: 0.6; }
  50%  { stroke-dashoffset: 0;  opacity: 1; }
  100% { stroke-dashoffset: -32; opacity: 0.6; }
}
/* Laminator shine: a 45° gleam that loops */
.service-svg__shine {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: lamShine 3.2s var(--ease) infinite 1s;
}
@keyframes lamShine {
  0%   { stroke-dashoffset: 50;  opacity: 0; }
  35%  { stroke-dashoffset: 0;   opacity: 0.65; }
  70%  { stroke-dashoffset: -50; opacity: 0; }
  100% { stroke-dashoffset: -50; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .service-svg__draw { stroke-dashoffset: 0 !important; }
  .service-svg__ink { transform: scale(1) !important; }
  .service-svg__beam, .service-svg__shine { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
}

/* ───────── Why-us paper stack: fan out on enter ───────── */
.why__art .why__paper {
  /* Collapse to the center stack while not yet visible */
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
  transform-origin: center;
}
.why__art:not(.is-visible) .why__paper {
  transform: rotate(0deg) translate(0, 0) scale(0.85);
  opacity: 0.6;
}
.why__art.is-visible .why__paper--1 { transform: rotate(-8deg) translate(0, 20px); transition-delay: 0.05s; }
.why__art.is-visible .why__paper--2 { transform: rotate(2deg) translate(10px, 10px); transition-delay: 0.18s; }
.why__art.is-visible .why__paper--3 { transform: rotate(7deg) translate(20px, -10px); transition-delay: 0.32s; }

/* ───────── Popular cards: cascade from right ───────── */
.popular__grid .card-pop.reveal { transform: translateX(40px); }
.popular__grid .card-pop.reveal.is-visible { transform: translateX(0); }
.popular__grid .card-pop.reveal:nth-child(1) { transition-delay: 0.00s; }
.popular__grid .card-pop.reveal:nth-child(2) { transition-delay: 0.10s; }
.popular__grid .card-pop.reveal:nth-child(3) { transition-delay: 0.20s; }
.popular__grid .card-pop.reveal:nth-child(4) { transition-delay: 0.30s; }
.popular__grid .card-pop.reveal:nth-child(5) { transition-delay: 0.40s; }

/* ───────── Testimonials: quote-mark scale-up + body fade in ───────── */
.testimonials__grid .quote.reveal::before {
  transform: scale(0) rotate(-25deg);
  transform-origin: bottom left;
  transition: transform 0.6s var(--ease);
}
.testimonials__grid .quote.reveal.is-visible::before {
  transform: scale(1) rotate(0deg);
  transition-delay: 0.15s;
}
.testimonials__grid .quote.reveal blockquote,
.testimonials__grid .quote.reveal figcaption {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.testimonials__grid .quote.reveal.is-visible blockquote { opacity: 1; transition-delay: 0.35s; }
.testimonials__grid .quote.reveal.is-visible figcaption { opacity: 1; transition-delay: 0.55s; }
.testimonials__grid .quote.reveal:nth-child(2).is-visible::before { transition-delay: 0.30s; }
.testimonials__grid .quote.reveal:nth-child(2).is-visible blockquote { transition-delay: 0.50s; }
.testimonials__grid .quote.reveal:nth-child(2).is-visible figcaption { transition-delay: 0.70s; }
.testimonials__grid .quote.reveal:nth-child(3).is-visible::before { transition-delay: 0.45s; }
.testimonials__grid .quote.reveal:nth-child(3).is-visible blockquote { transition-delay: 0.65s; }
.testimonials__grid .quote.reveal:nth-child(3).is-visible figcaption { transition-delay: 0.85s; }

@media (prefers-reduced-motion: reduce) {
  .why__art .why__paper,
  .popular__grid .card-pop.reveal,
  .testimonials__grid .quote.reveal::before,
  .testimonials__grid .quote.reveal blockquote,
  .testimonials__grid .quote.reveal figcaption {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.service h3 {
  color: var(--blue-900);
  transition: color 0.3s var(--ease);
}
.service p { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.95rem; }
.service__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-600);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.service:hover .service__more { opacity: 1; transform: translateX(0); }

/* ───────── Popular ───────── */
.popular {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--paper);
}
.popular__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 1000px) { .popular__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .popular__grid { grid-template-columns: 1fr; } }

.card-pop {
  --accent: var(--blue-700);
  position: relative;
  padding: 2rem 1.7rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.card-pop--wide { grid-column: span 4; min-height: auto; padding: 2.5rem; }
@media (max-width: 1000px) { .card-pop--wide { grid-column: span 2; } }
@media (max-width: 540px)  { .card-pop--wide { grid-column: span 1; } }

.card-pop::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at top right, var(--accent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.card-pop > * { position: relative; z-index: 1; }
.card-pop:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-pop:hover::before { opacity: 0.18; }
.card-pop__tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  z-index: 1;
}
.card-pop h3 {
  color: var(--blue-900);
  margin-bottom: 0.7rem;
}
.card-pop p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin: 0 0 1.4rem;
  flex: 1;
}
.card-pop__more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-pop:hover .card-pop__more { color: var(--red-600); }

/* ───────── Catalog ───────── */
.catalog { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); border-top: 1px dashed var(--line); }
.catalog__filter {
  position: sticky;
  top: 70px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  background: rgba(251, 250, 246, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.catalog__filter:focus-within {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.10), var(--shadow-sm);
  background: var(--white);
}
.catalog__filter-icon {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  color: var(--muted);
}
.catalog__filter:focus-within .catalog__filter-icon { color: var(--blue-700); }
.catalog__filter input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
  font-size: 0.98rem;
  outline: none;
  color: var(--ink);
}
.catalog__filter input::placeholder { color: var(--muted); }
.catalog__filter-clear {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.catalog__filter-clear:hover { background: var(--blue-700); color: var(--white); transform: scale(1.08); }
.catalog__filter-clear svg { width: 14px; height: 14px; }
.catalog__count {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0 0.9rem 0 0.4rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 500;
}
.catalog__empty {
  margin: 0 0 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--blue-100);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}
.catalog__empty strong { display: block; color: var(--blue-900); font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.2rem; }
.catalog__empty a { color: var(--red-600); font-weight: 600; border-bottom: 1px solid currentColor; }
.catalog__group { margin-bottom: 3rem; }
.catalog__group-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px dashed var(--line);
}
.catalog__group-letter {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-900);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
}
.catalog__group-name {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--blue-900);
  font-weight: 600;
}

.catalog__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.8rem;
}
.catalog__item {
  display: block;
  padding: 1.1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.catalog__item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red-500);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.catalog__item:hover {
  transform: translateY(-3px);
  border-color: var(--blue-700);
  background: var(--white);
}
.catalog__item:hover::before { transform: scaleY(1); }
.catalog__item-name {
  font-weight: 600;
  color: var(--blue-900);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.catalog__item-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.45;
}
.catalog__item.is-hidden { display: none; }
.catalog__group.is-empty { display: none; }

/* ───────── Process ───────── */
.process {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(220,38,38,0.18), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(30,58,138,0.4), transparent 50%);
  pointer-events: none;
}
.process .container { position: relative; }
.process .section-head h2,
.process .eyebrow { color: var(--paper); }
.process .eyebrow { color: var(--red-400); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.process__steps li {
  position: relative;
  padding: 2rem 1.7rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.process__steps li:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
}
.process__num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red-500);
  display: block;
  margin-bottom: 0.6rem;
}
.process__steps h3 { color: var(--paper); margin-bottom: 0.5rem; }
.process__steps p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin: 0; }

/* ───────── Feature shelf (home: Quote / Subs / Process) ───────── */
.feature-shelf {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--white);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.feature-shelf__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
  max-width: 880px;
  margin-inline: auto;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px circle at 100% 0%, rgba(192, 32, 43, 0.08), transparent 55%),
    radial-gradient(360px circle at 0% 100%, rgba(30, 58, 138, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card__tag {
  display: inline-block;
  width: max-content;
  padding: 0.3rem 0.7rem;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}
.feature-card:nth-child(2) .feature-card__tag { background: rgba(192, 32, 43, 0.10); color: var(--red-600); }
.feature-card:nth-child(3) .feature-card__tag { background: rgba(11, 30, 63, 0.08); color: var(--blue-900); }
.feature-card h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  color: var(--blue-900);
  margin: 0 0 0.55rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.feature-card p {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
  flex: 1;
}
.feature-card__more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.25s var(--ease);
}
.feature-card:hover .feature-card__more { transform: translateX(4px); }

@media (max-width: 880px) { .feature-shelf__grid { grid-template-columns: 1fr; } }

/* ───────── Why Us ───────── */
.why { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper); }
.why__inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .why__inner { grid-template-columns: 1fr; } }

.why__art {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 380px;
  margin: 0 auto;
  perspective: 1000px;
}
.why__paper {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease);
}
.why__paper--1 {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  transform: rotate(-8deg) translateY(20px);
}
.why__paper--2 {
  background: var(--paper-2);
  transform: rotate(2deg) translate(10px, 10px);
  border: 1px solid var(--line);
}
.why__paper--3 {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  transform: rotate(7deg) translate(20px, -10px);
}
.why__paper::before {
  content: '';
  position: absolute;
  inset: 12% 14%;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 100% 22px;
}
.why__art:hover .why__paper--1 { transform: rotate(-12deg) translate(-12px, 26px); }
.why__art:hover .why__paper--3 { transform: rotate(11deg) translate(28px, -16px); }

.why__copy h2 { margin-top: 0.6rem; margin-bottom: 1.6rem; }
.why__list { display: grid; gap: 1rem; }
.why__list li {
  position: relative;
  padding: 1.1rem 1.3rem 1.1rem 2.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.why__list li::before {
  content: '✓';
  position: absolute;
  left: 1rem; top: 1.1rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.why__list li:hover { border-color: var(--blue-700); transform: translateX(4px); }
.why__list strong { color: var(--blue-900); margin-right: 0.3rem; }

/* ───────── Testimonials ───────── */
.testimonials { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); border-top: 1px dashed var(--line); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.quote {
  margin: 0;
  padding: 2.4rem 2rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.quote::after {
  /* corner perforation marks — print-shop touch */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 12px 12px, var(--white) 3px, transparent 3.5px) 0 0/100% 100% no-repeat,
    radial-gradient(circle at calc(100% - 12px) 12px, var(--white) 3px, transparent 3.5px) 0 0/100% 100% no-repeat,
    radial-gradient(circle at 12px calc(100% - 12px), var(--white) 3px, transparent 3.5px) 0 0/100% 100% no-repeat,
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--white) 3px, transparent 3.5px) 0 0/100% 100% no-repeat;
  z-index: -1;
}
.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--white);
}
.quote::before {
  content: '“';
  position: absolute;
  top: -8px;
  left: 1.4rem;
  font-family: var(--display);
  font-size: 4.5rem;
  color: var(--red-500);
  line-height: 1;
  text-shadow: 0 4px 12px rgba(220, 38, 38, 0.18);
  transition: transform 0.35s var(--ease);
}
.quote:hover::before { transform: rotate(-6deg) scale(1.06); }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--blue-900);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.quote figcaption {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}
.quote figcaption strong { color: var(--blue-900); font-weight: 600; }

/* ───────── Contact ───────── */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 100%);
}
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }

.contact__copy h2 { margin-top: 0.6rem; }
.contact__copy p { color: var(--ink-soft); margin-top: 1rem; max-width: 36em; }
.contact__meta { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact__meta li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.contact__meta strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red-600);
}
.contact__meta a, .contact__meta span { color: var(--blue-900); font-weight: 500; }
.contact__meta a:hover { color: var(--red-600); }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,58,138,0.12);
}

/* ───────── Contact page form/aside grid ───────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ───────── Floating-label fields ───────── */
.field--float {
  position: relative;
  gap: 0;
}
.field--float > input,
.field--float > select,
.field--float > textarea {
  padding: 1.35rem 1rem 0.55rem;
  background: var(--white);
  width: 100%;
  /* Fixed input height so the absolutely-positioned label always lands
     at the visual center of the INPUT, regardless of whether a
     field__hint follows. */
  min-height: 58px;
  box-sizing: border-box;
}
.field--float > textarea {
  padding-top: 1.55rem;
  resize: vertical;
  min-height: 110px;
}
.field--float > select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3142' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 18px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field--float > label {
  position: absolute;
  left: 1rem;
  /* Pinned to the center of the input (29px = half of 58px min-height),
     not the center of the field (which grows when a hint is present). */
  top: 29px;
  transform: translateY(-50%);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.2s var(--ease), font-size 0.2s var(--ease), color 0.2s var(--ease);
  background: transparent;
}
.field--float > textarea + label {
  top: 1.15rem;
  transform: none;
}
.field__optional {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.25rem;
}
/* Floated state — input has content OR is focused, OR field is forced-floated */
.field--float > input:focus + label,
.field--float > input:not(:placeholder-shown) + label,
.field--float > textarea:focus + label,
.field--float > textarea:not(:placeholder-shown) + label,
.field--float > select:focus + label,
.field--float > select:valid + label,
.field--always-float > label {
  top: 0.45rem;
  transform: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.field--float > input:focus,
.field--float > textarea:focus,
.field--float > select:focus { background: var(--white); }
.field--float .field__hint {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* File-drop styled upload area */
.field--file { gap: 0; }
.field--file input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.1rem 1.2rem;
  background: var(--paper);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  min-width: 0;
}
.file-drop__icon { flex: 0 0 28px; width: 28px; height: 28px; color: var(--blue-700); transition: transform 0.3s var(--ease), color 0.2s var(--ease); }
.file-drop__body {
  flex: 1;
  min-width: 0;
}
.file-drop__title {
  display: block;
  font-weight: 600;
  color: var(--blue-900);
  font-size: 0.96rem;
  word-break: break-word;
}
.file-drop__title-active { display: none; color: var(--blue-700); }
.file-drop__title u { text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.file-drop__meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
  word-break: break-word;
  line-height: 1.4;
}
.file-drop__remove {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--line);
  color: var(--ink-soft);
  border-radius: 50%;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.file-drop__remove svg { width: 14px; height: 14px; }
.file-drop__remove:hover { background: var(--red-600); color: var(--white); transform: rotate(90deg); }

/* Drag-over state */
.field--file.is-dragover .file-drop {
  border-style: solid;
  border-color: var(--blue-700);
  background: var(--blue-100);
  transform: scale(1.005);
}
.field--file.is-dragover .file-drop__icon {
  transform: translateY(-2px) scale(1.1);
  color: var(--blue-900);
}
.field--file.is-dragover .file-drop__title-default { display: none; }
.field--file.is-dragover .file-drop__title-active { display: block; }

/* Has-file state (success) */
.field--file.has-file .file-drop {
  border-style: solid;
  border-color: var(--blue-700);
  background: var(--white);
}
.field--file.has-file .file-drop__icon { color: var(--blue-900); }

/* Error state (wrong type / too big) */
.field--file.has-error .file-drop {
  border-color: var(--red-500);
  background: rgba(252, 228, 229, 0.4);
}
.field--file.has-error .file-drop__icon { color: var(--red-600); }
.field--file.has-error .file-drop__meta { color: var(--red-600); font-weight: 500; }

/* ───── Image preview with bleed/safe-zone overlay ───── */
.file-preview {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.6rem;
  animation: previewIn 0.3s var(--ease);
}
@keyframes previewIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.file-preview__stage {
  position: relative;
  background: #2a2f3d;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 18px;  /* visual room for bleed marks */
  min-height: 180px;
}
.file-preview__img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 1;
}
/* Bleed marks — red dashed border just inside the stage padding */
.file-preview__bleed {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1.5px dashed rgba(220, 38, 38, 0.85);
  border-radius: 4px;
  z-index: 2;
}
/* Safe-zone — blue dashed border further inside */
.file-preview__safe {
  position: absolute;
  inset: 30px;
  pointer-events: none;
  border: 1.5px dashed rgba(79, 107, 196, 0.85);
  border-radius: 4px;
  z-index: 2;
}
.file-preview__legend {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--muted);
}
.file-preview__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.file-preview__legend i {
  display: inline-block;
  width: 14px;
  height: 0;
  border-top: 1.5px dashed currentColor;
  border-color: var(--line);
}
.file-preview__legend span:nth-child(1) i { border-color: var(--red-500); }
.file-preview__legend span:nth-child(2) i { border-color: var(--blue-500); }

@media (max-width: 480px) {
  .file-drop { padding: 0.95rem 1rem; gap: 0.75rem; }
  .file-drop__title { font-size: 0.92rem; }
  .file-drop__meta { font-size: 0.72rem; }
  .file-preview__stage { min-height: 140px; padding: 12px; }
  .file-preview__bleed { inset: 8px; }
  .file-preview__safe { inset: 22px; }
}
.file-drop:hover { border-color: var(--blue-700); background: var(--white); }
.field--file:focus-within .file-drop { border-color: var(--blue-700); background: var(--white); box-shadow: 0 0 0 4px rgba(30,58,138,0.12); }
.field--file.has-file .file-drop { border-style: solid; border-color: var(--blue-700); background: var(--blue-100); }
.field--file.has-file .file-drop svg { color: var(--blue-900); }
.quote-form .btn { grid-column: 1 / -1; justify-self: start; }
.quote-form__ok {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--blue-100);
  color: var(--blue-900);
  border-radius: var(--radius);
  font-weight: 500;
}
@media (max-width: 540px) { .quote-form { grid-template-columns: 1fr; } }

/* ───────── Footer ───────── */
.footer {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.4rem;
  background: var(--blue-900);
  color: rgba(255,255,255,0.78);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: clamp(1.6rem, 4vw, 3rem);
}
.footer__heading {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
  margin: 0 0 1.1rem;
  letter-spacing: -0.005em;
}
.footer__details {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}
.footer__details li {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 1.4rem;
  row-gap: 0.15rem;
  align-items: baseline;
  list-style: none;
}
.footer__details li > * {
  font-size: 0.93rem;
  line-height: 1.45;
}
.footer__label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.5 !important;
}
.footer__details a {
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer__details a:hover {
  color: var(--red-400);
  border-bottom-color: var(--red-400);
}
.footer__cta { display: flex; }
.footer__cta .btn { white-space: nowrap; }
.footer__bottom {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
  margin: 0;
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cta .btn { width: 100%; justify-content: center; }
  .footer__details li {
    grid-template-columns: 1fr;
    row-gap: 0.05rem;
  }
}

/* ───────── Reveal animation ───────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }

/* utilities */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ───────── Site-wide search (Cmd+K) ───────── */
.nav__search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease);
  margin-right: 0.5rem;
}
.nav__search svg { width: 14px; height: 14px; }
.nav__search-label {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__search:hover {
  border-color: var(--blue-700);
  color: var(--blue-900);
  background: var(--white);
  transform: translateY(-1px);
}
.nav__search:hover .nav__search-label { color: var(--blue-900); }
@media (max-width: 880px) {
  /* On mobile (drawer mode) collapse to icon-only to save space */
  .nav__search { padding: 0.45rem; }
  .nav__search-label { display: none; }
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(8vh, 12vh, 14vh);
}
.site-search.is-open { display: flex; }
.site-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 30, 63, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: searchBgIn 0.2s var(--ease);
}
@keyframes searchBgIn { from { opacity: 0; } to { opacity: 1; } }
.site-search__panel {
  position: relative;
  width: min(640px, calc(100% - 2 * var(--pad)));
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(11, 30, 63, 0.5);
  overflow: hidden;
  animation: searchPanelIn 0.25s var(--ease);
}
@keyframes searchPanelIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.site-search__inputbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.site-search__icon { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.site-search__inputbar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--body);
}
.site-search__inputbar input::placeholder { color: var(--muted); }
.site-search__hint {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.15rem 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.site-search__results {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  max-height: min(60vh, 460px);
  overflow-y: auto;
}
.site-search__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.site-search__row.is-active { background: var(--blue-100); }
.site-search__kind {
  flex: 0 0 auto;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  width: 76px;
  text-align: center;
}
.site-search__row.is-active .site-search__kind {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}
.site-search__title {
  flex: 1;
  color: var(--blue-900);
  font-weight: 500;
  font-size: 0.93rem;
}
.site-search__title mark {
  background: rgba(220, 38, 38, 0.16);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 600;
}
.site-search__cue {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.site-search__row.is-active .site-search__cue { opacity: 1; color: var(--red-600); }
.site-search__empty {
  padding: 1.4rem 1.2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.site-search__empty strong { display: block; color: var(--blue-900); font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.2rem; }
.site-search__empty a { color: var(--red-600); font-weight: 600; border-bottom: 1px solid currentColor; }
.site-search__foot {
  display: flex;
  gap: 1.2rem;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.site-search__foot kbd {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0 0.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-right: 0.2rem;
  line-height: 1.5;
}
body.search-open { overflow: hidden; }

/* ───────── Scroll-progress bar ───────── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--red-600), var(--blue-700));
  z-index: 1000;
  pointer-events: none;
  will-change: transform;
}

/* ───────── Stagger reveal ─────────
   Add .reveal-stagger to a parent; JS gives each child a
   --stagger-delay var. Children reveal in sequence when the
   parent gains .is-visible. */
.reveal-stagger > .reveal-stagger__item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--stagger-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-stagger.is-visible > .reveal-stagger__item {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── Magnetic CTA — smoother return ───────── */
.btn--primary, .nav__cta {
  transition: transform 0.35s var(--ease),
              box-shadow 0.25s var(--ease),
              background 0.25s var(--ease),
              color 0.25s var(--ease);
}

/* ───────── Field polish (used on contact form) ───────── */
.field { position: relative; }
.field input, .field select, .field textarea {
  transition: border-color 0.25s var(--ease),
              background 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.field:focus-within label {
  color: var(--red-600);
}
.field input:focus, .field select:focus, .field textarea:focus {
  transform: translateY(-1px);
}

/* Success state — replaces the form briefly with a celebration */
.quote-form__ok {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.quote-form__ok.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.quote-form__ok::before {
  content: '';
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-700);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
  animation: ok-pop 0.55s var(--ease) both;
}
@keyframes ok-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.quote-form__ok.is-error::before {
  background: var(--red-600, #bf2519);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}

/* ───────── View Transitions (paper-sheet wipe) ─────────
   Old page slides off to the left while a fresh sheet slides in
   from the right. Subtle drop-shadow on the leading edge gives
   a paper-on-paper feel. */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 460ms;
    animation-timing-function: var(--ease);
    mix-blend-mode: normal;
  }
  ::view-transition-old(root) {
    animation-name: paperWipeOut;
  }
  ::view-transition-new(root) {
    animation-name: paperWipeIn;
  }
}
/* Trailing sheet slides off to the right, then becomes the destination
   with a brief shadow leading edge. */
@keyframes paperWipeOut {
  0%   { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}
@keyframes paperWipeIn {
  0%   { clip-path: inset(0 100% 0 0); filter: drop-shadow(-12px 0 20px rgba(11, 30, 63, 0.18)); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
/* fall back to fade if clip-path animation is unsupported */
@supports not (clip-path: inset(0)) {
  ::view-transition-old(root) { animation-name: vt-fade-out; }
  ::view-transition-new(root) { animation-name: vt-fade-in; }
}
@keyframes vt-fade-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-fade-in  { from { opacity: 0; transform: translateY(6px); } }

/* ───────── 3D tilt host ───────── */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.45s var(--ease), box-shadow 0.35s var(--ease);
}
[data-tilt]:hover { box-shadow: var(--shadow-lg, 0 24px 60px rgba(11, 30, 63, 0.15)); }

/* ───────── Cursor spotlight ───────── */
.spotlight-host {
  position: relative;
  overflow: hidden;
}
.spotlight-host::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(192, 32, 43, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: inherit;
}
.spotlight-host:hover::after { opacity: 1; }

/* ───────── Parallax layers (combine mouse + scroll) ───────── */
[data-parallax] [data-parallax-layer] {
  transform: translate3d(var(--px, 0), calc(var(--py, 0px) + var(--scroll-offset, 0px)), 0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
/* Scroll-parallax-only elements (no mouse parallax) */
[data-scroll-parallax]:not([data-parallax-layer]) {
  transform: translate3d(0, var(--scroll-offset, 0px), 0);
  will-change: transform;
}

/* Hero background subtly fades as the user scrolls past — adds depth */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg {
    /* --scroll-pct is unitless 0..1 of total page scroll, set on <body> by enhance.js.
       Multiplied by 4 so the hero fades out by ~25% page scroll. */
    opacity: max(0, calc(1 - var(--scroll-pct, 0) * 4));
    transition: opacity 0.25s var(--ease);
  }
}

/* ───────── Catalog item: smoother for FLIP ───────── */
.catalog__item {
  /* Keep existing transition, FLIP API handles its own animations. */
  backface-visibility: hidden;
}

/* ───────── FAQ hover lift ───────── */
.faq details {
  transition: border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.faq details:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(11, 30, 63, 0.06));
}

/* ───────── Timeline number polish ───────── */
.timeline__step::before {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.timeline__step:hover::before {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 10px 22px rgba(192, 32, 43, 0.45);
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  #scrollProgress { display: none; }
  .reveal, .reveal-stagger > .reveal-stagger__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-tilt], [data-parallax] [data-parallax-layer] { transform: none !important; transition: none !important; }
  .spotlight-host::after { display: none; }
}

/* ═══════════════════════════════════════════════════
   Responsive layer — width-specific refinements
   Order: small → large so later rules can override.
   ═══════════════════════════════════════════════════ */

/* ───── XS mobile (≤380): tightest layout ───── */
@media (max-width: 380px) {
  :root { --pad: 1rem; }
  h1 { font-size: clamp(2rem, 8vw, 2.4rem); line-height: 1.08; }
  h2 { font-size: clamp(1.55rem, 7vw, 1.9rem); line-height: 1.12; }
  .marquee { font-size: 0.7rem; padding: 0.5rem 0; }
  .nav { padding: 0.7rem var(--pad); }
  .nav__brand { gap: 0.55rem; }
  .nav__brand-text strong { font-size: 0.95rem; }
  .nav__brand-text em { font-size: 0.78rem; }
  .brand-slot--nav { width: 44px; height: 44px; border-radius: 11px; }
  .hero { padding: 2.2rem 0 3rem; }
  .hero__stats { gap: 1.1rem; margin-top: 2rem; padding-top: 1.4rem; }
  .hero__stats strong { font-size: 1.35rem; }
  .hero__stats span { font-size: 0.72rem; }
  .btn { padding: 0.85rem 1.3rem; font-size: 0.92rem; }
  .btn--lg { padding: 1rem 1.5rem; font-size: 1rem; }
  .hero__ctas .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
}

/* ───── Mobile (≤640): small phones up to large phones ───── */
@media (max-width: 640px) {
  h1 { font-size: clamp(2.1rem, 7.6vw, 3rem); line-height: 1.08; }
  h2 { font-size: clamp(1.7rem, 5.6vw, 2.4rem); line-height: 1.12; }
  body { font-size: 15px; }
  .container { padding-inline: var(--pad); }
  .hero { padding: clamp(2.4rem, 7vw, 4rem) 0 clamp(3rem, 9vw, 5.5rem); }
  .hero__copy h1 { margin-top: 0.6rem; }
  .hero__lede { margin-top: 1.1rem; font-size: 1rem; }
  .hero__ctas { gap: 0.6rem; margin-top: 1.6rem; }
  .hero__ctas .btn { flex: 1 1 calc(50% - 0.3rem); justify-content: center; min-width: 0; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 0.9rem; margin-top: 2.2rem; padding-top: 1.6rem; }
  .hero__stats li { min-width: 0; }
  .hero__stats strong { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .hero__stats span { font-size: 0.74rem; line-height: 1.25; }
  .hero__art { max-width: 260px; margin-inline: auto; margin-top: 1rem; }
  .hero__logo-stage { width: 100%; max-width: 260px; }
  .hero__inner { gap: 1.2rem; }
  .section-head { margin-bottom: 2rem; }
  .section-head h2 + p, .section-head__lede { font-size: 1rem; }
  .testimonials__grid { grid-template-columns: 1fr !important; }
  .cta-band { padding: 3rem 0; }
  .cta-band__buttons { flex-direction: column; gap: 0.6rem; }
  .cta-band__buttons .btn { width: 100%; justify-content: center; text-align: center; }
  .footer__inner { gap: 1.4rem; }
  /* catalog */
  .cat-filters { gap: 0.4rem; }
  .cat-chip { padding: 0.4rem 0.75rem; font-size: 0.78rem; }
  .catalog__items { grid-template-columns: 1fr; }
  /* contact form full width */
  .quote-form { padding: 1.4rem; gap: 0.8rem; }
  .quote-form .btn { width: 100%; justify-content: center; }
  /* timeline numbers don't poke out off-page */
  .timeline { gap: 1.4rem; }
  .timeline__step { padding: 1.7rem 1.2rem 1.3rem; }
  /* design page */
  .designer__panel { padding: 1.2rem; }
}

/* ───── Tablet (641-1023) — fix awkward in-between zone ───── */
@media (min-width: 641px) and (max-width: 1023px) {
  .container { padding-inline: clamp(1.4rem, 4vw, 2.4rem); }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__art { max-width: 360px; margin-inline: auto; }
  .hero__stats { gap: 1.6rem 2.2rem; flex-wrap: wrap; }
  .services__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .testimonials__grid { grid-template-columns: 1fr 1fr !important; }
  .testimonials__grid > :nth-child(3) { grid-column: 1 / -1; max-width: 540px; margin-inline: auto; }
  .cat-filters { gap: 0.5rem; }
  .catalog__items { grid-template-columns: repeat(2, 1fr); }
}

/* Hero stack also at 920 (already in main rules); pad above ensures nice looks at 768 */

/* ───── Desktop (1024-1599) — design baseline, no overrides needed ───── */

/* ───── Large desktop (≥1280) — slight container bump ───── */
@media (min-width: 1280px) {
  :root { --maxw: 1280px; }
}

/* ───── Wide desktop (≥1600) — mid-tier scale-up ───── */
@media (min-width: 1600px) {
  :root { --maxw: 1380px; }
  body { font-size: 17px; }
  h1 { font-size: clamp(3.2rem, 5.2vw, 5.4rem); }
  h2 { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
  .hero__inner { gap: clamp(3rem, 5vw, 5rem); }
  .hero__logo-stage { width: min(100%, 520px); }
}

/* ───── Ultrawide (≥1920): give the layout room to breathe ───── */
@media (min-width: 1920px) {
  :root { --maxw: 1440px; --pad: clamp(1.5rem, 3vw, 3.5rem); }
  body { font-size: 17px; }
  h1 { font-size: clamp(3.6rem, 4.8vw, 6rem); }
  h2 { font-size: clamp(2.4rem, 3vw, 3.6rem); }
  .hero { padding: clamp(5rem, 7vw, 8rem) 0 clamp(6rem, 9vw, 10rem); }
  .hero__inner { grid-template-columns: 1.15fr 1fr; }
  .hero__logo-stage { width: min(100%, 560px); }
  .hero__lede { font-size: 1.18rem; max-width: 42em; }
  .hero__stats strong { font-size: 2.2rem; }
  .nav__links { gap: 2rem; }
  .marquee { font-size: 0.85rem; }
  .services__grid { gap: 1.4rem; }
  .popular__grid { gap: 1.4rem; }
  .testimonials__grid { gap: 1.6rem; }
}

/* ───── 4K / super-ultrawide (≥2400): stop scaling at a humane max ───── */
@media (min-width: 2400px) {
  :root { --maxw: 1560px; --pad: 4rem; }
  body { font-size: 18px; }
  h1 { font-size: clamp(4rem, 4vw, 6.4rem); }
  h2 { font-size: clamp(2.6rem, 2.8vw, 3.8rem); }
  .hero__logo-stage { width: min(100%, 600px); }
}

/* ───────── Accessibility: focus-visible polish ───────── */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible {
  outline-color: var(--red-600);
  outline-offset: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
}
.field--float input:focus-visible,
.field--float select:focus-visible,
.field--float textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
  border-radius: var(--radius);
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--blue-900);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* ───────── Print stylesheet ───────── */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  html, body { background: #fff; }
  .marquee, .nav, .footer__cta, #scrollProgress, .hero__bg, .hero__scroll,
  .nav__menu, .cta-band, .why__art, .testimonials, .process, .designer,
  .design-quote, [data-tilt], [data-spotlight], .open-badge,
  .catalog__filter, .cat-filters, .catalog__empty, .cta-band__trust,
  .page-hero::after, .quote::after, .quote::before, button,
  iframe, svg.catalog__filter-icon { display: none !important; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after,
  a[href^="mailto"]::after,
  a[href^="tel"]::after {
    content: " (" attr(href) ")";
    font-size: 0.78em;
    color: #444 !important;
  }
  h1, h2, h3 { page-break-after: avoid; break-after: avoid; }
  p, li { orphans: 3; widows: 3; page-break-inside: avoid; break-inside: avoid; }
  .container, .hero__inner { max-width: 100% !important; padding: 0 1cm; }
  .hero { padding: 0 0 1cm; }
  .footer { border-top: 1px solid #000; padding-top: 1cm; }
  .footer__heading { color: #000 !important; }
}

/* ───── Pointer-coarse: bigger tap targets on touch devices ───── */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav__menu { width: 48px; height: 48px; }
  .cat-chip { min-height: 36px; }
  .nav__links a { padding: 0.5rem 0; }
  summary { min-height: 48px; }
}
