/* ==========================================================================
   ILLUSTR8 PRINTS — Design System
   A light, airy print-shop look: white and ivory paper, soft pastel versions
   of cyan, magenta, yellow and key, rounded cards and pill buttons, with
   swooshes that draw across the page on scroll.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:ital,wght@1,500;1,600&display=swap');

:root {
  /* Color tokens — soft inks */
  --cyan: #2F86A8;
  --cyan-dark: #246C88;
  --magenta: #C93F6B;
  --magenta-dark: #A62C54;
  --magenta-light: #F5B3C6;
  --yellow: #F9E48F;
  --ink: #1F1D2B;
  --muted: #555262;
  --line: #ECE8E1;
  /* Pastel washes */
  --wash-cyan: #A9DDF1;
  --wash-pink: #F5B3C6;
  --wash-yellow: #F9E48F;
  --wash-key: #CFCDD6;
  --tint-cyan: #E8F5FB;
  --tint-pink: #FDE9EF;
  --tint-yellow: #FEF6DC;
  /* Paper stock */
  --cream: #FFFDF9;
  --cream-light: #FFFFFF;
  --white: #FFFFFF;

  /* Type tokens */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Sans', system-ui, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;

  /* Layout tokens */
  --max-width: 1180px;
  --edge: clamp(1.25rem, 5vw, 3.5rem);
  --radius: 18px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Loading screen — spinning 8-ball sprite shown while the page loads
   -------------------------------------------------------------------------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  transition: opacity 0.45s var(--ease);
}
#loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}
#loading-frame {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Halftone / paper texture (the signature print-shop texture)
   -------------------------------------------------------------------------- */
.halftone-bg {
  position: relative;
}
/* Soft color washes in opposite corners, so the type in the center sits on
   clean paper. */
.halftone-bg::before,
.halftone-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.halftone-bg::before {
  background: radial-gradient(ellipse at 95% 0%, rgba(169,221,241,0.5) 0, transparent 42%),
              radial-gradient(ellipse at 70% -10%, rgba(249,228,143,0.35) 0, transparent 34%);
}
.halftone-bg::after {
  background: radial-gradient(ellipse at 3% 75%, rgba(245,179,198,0.45) 0, transparent 42%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

/* --------------------------------------------------------------------------
   CMYK swooshes — speed-stripe ribbons (cyan / magenta / yellow / black)
   whose strokes are drawn in by js/script.js as the page scrolls.
   -------------------------------------------------------------------------- */
.swoosh {
  position: relative;
  height: clamp(110px, 16vw, 200px);
  margin: -1rem 0;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.swoosh svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.swoosh path {
  fill: none;
  stroke-linecap: round;
}

/* CMYK color-bar swatch strip (like the one on a press sheet margin) */
.color-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1.8rem;
}
.color-bar i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.color-bar i:nth-child(1) { background: var(--wash-cyan); }
.color-bar i:nth-child(2) { background: var(--wash-pink); }
.color-bar i:nth-child(3) { background: var(--wash-yellow); }
.color-bar i:nth-child(4) { background: var(--wash-key); }

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Accent word — one colored italic word in a headline
   -------------------------------------------------------------------------- */
.misprint {
  color: var(--magenta);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-dark);
  background: var(--tint-pink);
  border-radius: 999px;
  padding: 0.35rem 1rem;
}

/* --------------------------------------------------------------------------
   Site header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,253,249,0.88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.nav-mark {
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--magenta);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}
.nav-links a[aria-current="page"] {
  color: var(--magenta);
}
.nav-links a.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  background: var(--magenta);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 1100px) {
  .nav-logo { height: 38px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav-links.is-open { max-height: 560px; border-bottom: 1px solid rgba(17,17,17,0.12); }
  .nav-links a {
    display: block;
    padding: 1rem var(--edge);
    border-bottom: 1px solid rgba(17,17,17,0.1);
  }
  .nav-links a::after { display: none; }
  .nav-links a.nav-cta {
    margin: 0.75rem var(--edge) 1rem;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Hero (centered logo)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6.5rem) var(--edge) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  overflow: hidden;
}
.hero.halftone-bg {
  /* Home page's hero height — trimmed down so the graphic clips at the
     bottom instead of leaving a tall stretch of empty halftone below the
     buttons. */
  min-height: clamp(260px, 30vw, 460px);
}
.hero.halftone-bg.hero--inner {
  /* Inner pages: shorter, so more of the top/bottom gets clipped off. */
  min-height: clamp(250px, 32vw, 480px);
}
.hero-frame {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2.5rem);
}

.hero-logo {
  width: min(520px, 86%);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s var(--ease) 0.15s forwards;
}
.hero-tagline {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.4s forwards;
}
.hero-sub {
  margin: 1.1rem auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--muted);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.55s forwards;
}
.hero-cta {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.7s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,29,43,0.18); }
.btn--outline {
  background: var(--cream-light);
  color: var(--ink);
}
.btn--outline:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,29,43,0.1); }
.btn--mono {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--mono:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,63,107,0.28); }

/* --------------------------------------------------------------------------
   Section shell + headings
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) var(--edge);
  position: relative;
}
.section--alt { background: var(--cream-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--tint-cyan); }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
  margin-top: 0.8rem;
  line-height: 1.12;
}
.section-desc {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Service list (numbered — this IS a real enumerated menu of services)
   -------------------------------------------------------------------------- */
.service-list {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.service-row:hover { background: rgba(0,174,239,0.06); }
.service-row:nth-child(3n+2):hover { background: rgba(230,0,126,0.05); }
.service-row:nth-child(3n):hover   { background: rgba(255,229,0,0.12); }
.service-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--magenta);
}
.service-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.service-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(17,17,17,0.65);
  margin-top: 0.35rem;
  max-width: 50ch;
}
.service-desc a {
  display: block;
  width: fit-content;
  margin-top: 0.4rem;
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.service-desc a:hover {
  color: var(--magenta-dark);
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.35rem 0.8rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .service-row { grid-template-columns: 50px 1fr; }
  .service-tag { grid-column: 2; justify-self: start; margin-top: 0.6rem; }
}

/* --------------------------------------------------------------------------
   Card grid (portfolio / values / general use)
   -------------------------------------------------------------------------- */
.grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wash-cyan);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 4px 18px rgba(31,29,43,0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31,29,43,0.1);
}
.card:nth-child(3n+2) { border-top-color: var(--wash-pink); }
.card:nth-child(3n) { border-top-color: var(--wash-yellow); }
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.95rem;
  color: rgba(17,17,17,0.7);
}
.card p a {
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.card p a.card-more {
  display: block;
  width: fit-content;
  margin-top: 0.6rem;
  white-space: nowrap;
}
.card p a:hover {
  color: var(--magenta-dark);
}
.card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--magenta-dark);
  background: var(--tint-pink);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.8rem;
}

/* --------------------------------------------------------------------------
   Print-menu card photos — a real product shot (or a placeholder tile,
   styled to match, for products where no photo has been added yet)
   -------------------------------------------------------------------------- */
.card--with-photo {
  padding: 0;
  overflow: hidden;
}
.card--with-photo[data-product],
.card--with-photo[data-card-link] {
  cursor: pointer;
}
.card-photo {
  aspect-ratio: 4 / 3;
  margin: 0.75rem 0.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tint-cyan);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
#web, #apps { scroll-margin-top: 100px; }

/* --------------------------------------------------------------------------
   Product search + category filter (print.html, driven by js/script.js)
   -------------------------------------------------------------------------- */
/* Cards keep their normal size when a search leaves only a few. */
.section:has([data-product]) .grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-search {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.product-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.product-search input,
.product-search select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--cream-light);
  border: 1px solid #D8D4CC;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
}
.product-search input {
  flex: 1 1 300px;
  min-width: 0;
}
.product-search select {
  flex: 1 1 200px;
  min-width: 0;
  font-weight: 500;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  padding-right: 3.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%231F1D2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 5l4.5 4.5L11.500 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
}
.product-search input:focus,
.product-search select:focus {
  border-color: var(--magenta);
  outline: 3px solid var(--tint-pink);
}
.product-count {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.product-empty {
  margin-top: 1.5rem;
  color: var(--muted);
}
.product-count a,
.product-empty a {
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Process steps (about page) — a real sequence, numbering is justified
   -------------------------------------------------------------------------- */
.steps {
  max-width: 760px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-mono);
  color: var(--magenta);
  font-size: 1.4rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: rgba(17,17,17,0.7); }

/* --------------------------------------------------------------------------
   Contact / form
   -------------------------------------------------------------------------- */
.contact-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.contact-info p { color: rgba(17,17,17,0.7); margin-bottom: 1.75rem; }
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}
.contact-line span:first-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
}
.contact-line a, .contact-line span:last-child {
  font-size: 1.05rem;
}
.social-row {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.social-row a {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.social-row a:hover { background: var(--ink); color: var(--cream); }

.form {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field {
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta-dark);
}
.field-optional {
  text-transform: none;
  letter-spacing: normal;
  color: rgba(17,17,17,0.45);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #D8D4CC;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--magenta);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(17,17,17,0.55);
  margin-top: 1rem;
}
.form-status {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 1.2em;
}
.form-status.is-success { color: var(--magenta); }

/* Hidden from people; bots fill it in and get ignored by api/quote.php. */
.field-trap {
  position: absolute;
  left: -9999px;
}

/* --------------------------------------------------------------------------
   Print-menu "Configure & request quote" button (inside each product card)
   -------------------------------------------------------------------------- */
.card-quote-btn {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--magenta);
  cursor: pointer;
}
.card-quote-btn:hover,
.card-quote-btn:focus-visible {
  color: var(--magenta-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Configure & request quote — modal
   -------------------------------------------------------------------------- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.quote-modal.is-open {
  display: block;
}
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.6);
}
.quote-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: calc(100% - 2.5rem);
  margin: 6vh auto;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(31,29,43,0.2);
}
.quote-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream-light);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.quote-modal-close:hover { background: var(--magenta); color: var(--white); border-color: var(--magenta); }
.quote-modal-title {
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}
.quote-modal .field:first-of-type { margin-top: 0; }

/* Required two-option toggle fields (Sides, Spot UV, Rounded corners, etc.)
   — implemented as checkboxes per spec, styled as pill buttons, made
   mutually exclusive within a group by js/quote-modal.js. */
.yesno-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.yesno-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid #D8D4CC;
  border-radius: 20px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.yesno-pill:has(.yesno-checkbox:checked) {
  border-color: var(--magenta);
  background: var(--magenta);
  color: var(--white);
}
.yesno-checkbox {
  accent-color: var(--magenta);
  width: 15px;
  height: 15px;
  margin: 0;
}
.field--yesno.is-invalid .yesno-row {
  outline: 1.5px dashed var(--magenta);
  outline-offset: 4px;
  border-radius: 20px;
}
.yesno-error {
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--magenta-dark);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
}
.cta-band .section-title { margin-bottom: 1rem; }
.cta-band .btn { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 3rem var(--edge) 1.75rem;
}
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer-logo {
  width: 230px;
  height: auto;
}
.footer-mark {
  max-width: 420px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.footer-mark span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.footer-col li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--magenta); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Scroll reveal utility (driven by js/script.js)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
