/* ==========================================================================
   The Merch House — Design System
   A print-studio editorial system: warm paper, deep ink, one loud spot colour.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Ink & paper */
  --ink: #14130f;
  --ink-soft: #4a4740;
  --ink-mute: #837e73;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --paper-3: #e4dfd3;
  --white: #fffefb;

  /* Spot colours */
  --spot: #ff4a17;
  --spot-dark: #d93505;
  --spot-soft: #ffe9e1;
  --riso: #1b47ff;
  --riso-soft: #e6ebff;
  --mint: #0d8a63;

  /* Lines */
  --line: #d9d4c7;
  --line-strong: #14130f;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow — hard offset, like misregistered print */
  --shadow-sm: 0 1px 2px rgba(20, 19, 15, 0.06);
  --shadow: 0 10px 30px -12px rgba(20, 19, 15, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(20, 19, 15, 0.35);
  --hard: 6px 6px 0 var(--ink);
  --hard-spot: 6px 6px 0 var(--spot);
  --hard-sm: 3px 3px 0 var(--ink);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Layout */
  --wrap: 1240px;
  --wrap-narrow: 780px;
  --header-h: 76px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--spot);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--riso);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 10px;
}

/* ---------- 3. Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
}

h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.2;
}

h4 {
  font-size: 1.06rem;
  line-height: 1.3;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--spot-dark);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--spot);
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

.text-spot {
  color: var(--spot);
}

.text-riso {
  color: var(--riso);
}

.mark {
  background: linear-gradient(180deg, transparent 58%, var(--spot-soft) 58%);
  padding: 0 2px;
}

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: clamp(58px, 8vw, 112px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 66px);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .lead {
  color: rgba(247, 245, 240, 0.72);
}

.section--paper2 {
  background: var(--paper-2);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head__text {
  max-width: 62ch;
}

.section-head h2 {
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stack-sm > * + * {
  margin-top: 12px;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--hard-sm);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn--spot {
  --btn-bg: var(--spot);
  --btn-fg: #fff;
  border-color: var(--ink);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: rgba(247, 245, 240, 0.45);
}

.btn--outline-light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  border-bottom: 2px solid var(--spot);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.tlink:hover {
  gap: 14px;
  color: var(--spot-dark);
}

.tlink i {
  font-size: 0.8em;
}

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header--over {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.header--solid {
  background: rgba(247, 245, 240, 0.94);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
  flex: none;
}

.brand__mark::after {
  content: '';
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 70%;
  background: var(--spot);
  border-radius: 50%;
}

.brand__mark span {
  position: relative;
  z-index: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav__link {
  position: relative;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.nav__link[aria-current='page'] {
  color: var(--ink);
  background: var(--paper-3);
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--spot);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 8px 4px;
}

.header__phone:hover {
  color: var(--spot-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex: none;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 26px clamp(18px, 4vw, 40px) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.drawer[data-open='true'] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}

.drawer__nav a[aria-current='page'] {
  color: var(--spot);
}

.drawer__nav a i {
  font-size: 0.72em;
  color: var(--ink-mute);
}

.drawer__foot {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.drawer__meta {
  margin-top: 26px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

body[data-drawer='open'] {
  overflow: hidden;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(46px, 7vw, 88px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.hero__title {
  margin-top: 20px;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--spot);
  letter-spacing: -0.02em;
}

.hero__lead {
  margin-top: 24px;
  max-width: 54ch;
}

.hero__actions {
  margin-top: 32px;
}

.hero__trust {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero__trust-item i {
  color: var(--spot);
  font-size: 1rem;
}

.hero__trust-item strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

/* Hero art */
.hero__art {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  aspect-ratio: 4 / 4.4;
  background: var(--paper-3);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  background: var(--spot);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--hard-sm);
  max-width: 210px;
}

.hero__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__badge span {
  display: block;
  margin-top: 5px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.hero__swatch {
  position: absolute;
  right: -14px;
  top: 40px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 12px 14px;
  box-shadow: var(--hard-sm);
}

.hero__swatch span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.hero__dots {
  display: flex;
  gap: 5px;
}

.hero__dots i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 19, 15, 0.18);
  display: block;
}

/* ---------- 8. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 16px;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-2), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper-2), transparent);
}

.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: slide 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink-mute);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 46px;
}

.marquee__item::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spot);
  flex: none;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 9. Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard);
  border-color: var(--ink);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: var(--r-pill);
}

.service-card__from {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--spot);
  color: #fff;
  border: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.service-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__body h3 {
  margin-top: 4px;
}

.service-card__body p {
  margin-top: 11px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  flex: 1;
}

.service-card__meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.service-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__meta i {
  color: var(--spot);
  font-size: 0.9em;
}

.techniques {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 0.71rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.chip--spot {
  background: var(--spot-soft);
  color: var(--spot-dark);
  border-color: #ffd0c0;
}

/* Stat */
.stat {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.stat b span {
  color: var(--spot);
  font-size: 0.5em;
  margin-left: 2px;
  letter-spacing: 0;
}

.stat p {
  margin-top: 9px;
  font-size: 0.86rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* Step */
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  height: 100%;
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 0.85;
  color: var(--paper-3);
  letter-spacing: -0.05em;
}

.step__icon {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--spot-soft);
  color: var(--spot-dark);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.step h3 {
  margin-top: 16px;
  font-size: 1.18rem;
}

.step p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Gallery */
.gal-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  aspect-ratio: 4 / 3.2;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  display: block;
}

.gal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), opacity 0.4s var(--ease);
}

.gal-card:hover img,
.gal-card:focus-visible img {
  transform: scale(1.06);
  opacity: 0.55;
}

.gal-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(0deg, rgba(20, 19, 15, 0.92) 6%, rgba(20, 19, 15, 0.5) 45%, transparent 78%);
  color: var(--white);
}

.gal-card__cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spot);
}

.gal-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  margin-top: 5px;
  line-height: 1.15;
}

.gal-card__client {
  font-size: 0.79rem;
  color: rgba(255, 254, 251, 0.66);
  margin-top: 3px;
}

.gal-card__blurb {
  font-size: 0.84rem;
  color: rgba(255, 254, 251, 0.86);
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease);
}

.gal-card:hover .gal-card__blurb,
.gal-card:focus-visible .gal-card__blurb {
  max-height: 120px;
  opacity: 1;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.filter {
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: all 0.18s var(--ease);
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Testimonial */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-card__mark {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--spot);
}

.quote-card blockquote {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
  flex: 1;
}

.quote-card__who {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
}

.quote-card__who img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--ink);
  flex: none;
}

.quote-card__who b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-card__who span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-mute);
  line-height: 1.35;
}

/* ---------- 10. Forms ---------- */
.form {
  display: grid;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field > label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field > label .req {
  color: var(--spot);
}

.field__hint {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: #b3ada1;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--spot-soft);
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2314130f' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
}

.textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--spot);
  flex: none;
  cursor: pointer;
}

.form__note {
  font-size: 0.8rem;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form__note i {
  color: var(--mint);
}

.form__status {
  border-radius: var(--r-md);
  padding: 15px 18px;
  font-size: 0.9rem;
  display: none;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.5;
}

.form__status[data-state='ok'] {
  display: flex;
  background: #e6f5ee;
  border: 1.5px solid #9fd8c0;
  color: #0a5c42;
}

.form__status[data-state='err'] {
  display: flex;
  background: #fdecea;
  border: 1.5px solid #f3b5ac;
  color: #8d2416;
}

.form__status[data-state='loading'] {
  display: flex;
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
}

.form__status i {
  margin-top: 2px;
  flex: none;
}

.btn[data-loading='true'] {
  opacity: 0.6;
  pointer-events: none;
}

.quote-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 42px);
  box-shadow: var(--shadow);
}

/* ---------- 11. Info panel / aside ---------- */
.aside-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px 26px;
}

.aside-card h3 {
  font-size: 1.2rem;
}

.aside-card .lead {
  color: rgba(247, 245, 240, 0.7);
  font-size: 0.92rem;
  margin-top: 10px;
}

.aside-list {
  margin-top: 22px;
  display: grid;
  gap: 15px;
}

.aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 0.91rem;
  color: rgba(247, 245, 240, 0.86);
}

.aside-list i {
  color: var(--spot);
  margin-top: 3px;
  width: 18px;
  text-align: center;
  flex: none;
}

.aside-list a:hover {
  color: var(--spot);
}

.aside-contact {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 245, 240, 0.16);
  display: grid;
  gap: 10px;
}

.aside-contact a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--paper);
}

.aside-contact a:hover {
  color: var(--spot);
}

.aside-contact i {
  color: var(--spot);
  width: 18px;
  text-align: center;
}

/* ---------- 12. Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.9rem;
}

table.data th,
table.data td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data thead th {
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}

table.data tbody tr:last-child td {
  border-bottom: 0;
}

table.data tbody tr:hover {
  background: var(--paper);
}

table.data td strong {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- 13. Pricing ---------- */
.price-card {
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.price-card--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.price-card--dark .price-card__sub,
.price-card--dark .price-card__unit,
.price-card--dark .price-card__min {
  color: rgba(247, 245, 240, 0.66);
}

.price-card--dark .price-card__feat li {
  color: rgba(247, 245, 240, 0.88);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--spot);
  color: #fff;
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: var(--r-pill);
}

.price-card h3 {
  font-size: 1.35rem;
}

.price-card__sub {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--ink-mute);
}

.price-card__amount {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-card--dark .price-card__amount {
  border-bottom-color: rgba(247, 245, 240, 0.18);
}

.price-card__amount b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-card__unit {
  font-size: 0.83rem;
  color: var(--ink-mute);
}

.price-card__min {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spot-dark);
}

.price-card--dark .price-card__min {
  color: var(--spot);
}

.price-card__feat {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.price-card__feat li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.price-card__feat i {
  color: var(--mint);
  margin-top: 4px;
  font-size: 0.82rem;
  flex: none;
}

.price-card--dark .price-card__feat i {
  color: #4ade9f;
}

.price-card .btn {
  margin-top: 26px;
}

/* ---------- 14. FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}

.faq__q:hover {
  color: var(--spot-dark);
}

.faq__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.faq__q[aria-expanded='true'] .faq__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: rotate(180deg);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s var(--ease);
}

.faq__a-inner {
  padding: 0 0 26px;
  max-width: 78ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- 15. CTA band ---------- */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(38px, 5.5vw, 76px);
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--spot);
  opacity: 0.16;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 34px;
  align-items: center;
}

.cta h2 {
  margin-top: 16px;
}

.cta p {
  margin-top: 18px;
  color: rgba(247, 245, 240, 0.74);
  max-width: 56ch;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.cta__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.5);
  text-align: center;
  margin-top: 4px;
}

/* ---------- 16. Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(50px, 7vw, 84px);
}

.footer a {
  color: rgba(247, 245, 240, 0.72);
  transition: color 0.18s var(--ease);
}

.footer a:hover {
  color: var(--spot);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 48px;
}

.footer__brand .brand__mark {
  background: var(--paper);
  color: var(--ink);
}

.footer__brand .brand__name {
  color: var(--paper);
}

.footer__brand .brand__sub {
  color: rgba(247, 245, 240, 0.5);
}

.footer__about {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(247, 245, 240, 0.66);
  max-width: 38ch;
  line-height: 1.65;
}

.footer__social {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247, 245, 240, 0.22);
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  color: rgba(247, 245, 240, 0.8);
}

.footer__social a:hover {
  background: var(--spot);
  border-color: var(--spot);
  color: #fff;
}

.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.44);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer__links {
  display: grid;
  gap: 11px;
  font-size: 0.9rem;
}

.footer__contact {
  display: grid;
  gap: 14px;
  font-size: 0.88rem;
}

.footer__contact div {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.55;
}

.footer__contact i {
  color: var(--spot);
  margin-top: 4px;
  width: 16px;
  text-align: center;
  flex: none;
}

.footer__bottom {
  border-top: 1px solid rgba(247, 245, 240, 0.14);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.79rem;
  color: rgba(247, 245, 240, 0.5);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- 17. Floating WhatsApp ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px 13px 15px;
  background: #22c55e;
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--hard-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.fab:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--hard);
}

.fab i {
  font-size: 1.2rem;
}

.fab span {
  display: inline;
}

/* ---------- 18. Page hero (inner pages) ---------- */
.phero {
  padding-block: clamp(38px, 5.5vw, 72px) clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--line);
}

.phero__inner {
  max-width: 74ch;
}

.phero h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
}

.phero p {
  margin-top: 20px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.crumbs a:hover {
  color: var(--spot-dark);
}

.crumbs i {
  font-size: 0.62rem;
  opacity: 0.6;
}

/* ---------- 19. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4.5vw, 62px);
  align-items: center;
}

.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  aspect-ratio: 4 / 3.3;
  background: var(--paper-3);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split--flip .split__media {
  order: -1;
}

.checklist {
  margin-top: 24px;
  display: grid;
  gap: 13px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.checklist i {
  color: var(--spot);
  margin-top: 4px;
  flex: none;
  font-size: 0.9rem;
}

.checklist strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 20. Detail spec list ---------- */
.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.spec-list dt {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-top: 3px;
  flex: none;
}

.spec-list dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

/* ---------- 21. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }
.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;
}
.hide { display: none !important; }
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
}
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.badge-soft i { color: var(--spot); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__art {
    max-width: 520px;
  }
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }
  .nav,
  .header__phone {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header__bar {
    justify-content: space-between;
  }
  .brand__sub {
    display: none;
  }
  .hero__badge,
  .hero__swatch {
    display: none;
  }
  .split--flip .split__media {
    order: 0;
  }
  .fab {
    right: 14px;
    bottom: 14px;
    padding: 14px;
  }
  .fab span {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .btn {
    padding: 14px 22px;
  }
  .btn-row .btn {
    flex: 1 1 auto;
  }
  .cta {
    border-radius: var(--r-lg);
  }
  .quote-panel {
    padding: 22px 18px;
  }
  .stat {
    padding: 20px 18px;
  }
  .table-wrap {
    border-radius: var(--r-sm);
  }
}

@media print {
  .header,
  .footer,
  .fab,
  .drawer {
    display: none !important;
  }
}

/* ---------- 23. No-JS and hidden guarantees ---------- */
/* `.gal-card { display:block }` and similar class rules would otherwise
   out-specify the UA `[hidden]` rule and break JS filtering. */
[hidden] {
  display: none !important;
}

/* Reveal animations are opt-in: elements stay visible unless JS is running,
   so the page is fully readable if the script fails to load. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   24. Articles — index cards and article reading view
   ========================================================================== */

.wrap--narrow {
  max-width: var(--wrap-narrow);
  margin-inline: auto;
}

/* ---------- Filter bar (reuses the gallery chip language) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chip--link {
  text-decoration: none;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.chip--link:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: var(--white);
}

.chip--link[aria-current='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip__n {
  font-family: var(--font-mono);
  font-size: 0.68em;
  opacity: 0.6;
  margin-left: 5px;
}

/* ---------- Index card ---------- */
.post-card {
  height: 100%;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.post-card__link:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard-sm);
  border-color: var(--ink);
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card__link:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__media--empty {
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--ink-mute);
}

.post-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 0;
}

.post-card__cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spot);
}

.post-card__pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.post-card__title {
  padding: 9px 20px 0;
  font-size: 1.12rem;
  line-height: 1.28;
}

.post-card__excerpt {
  padding: 9px 20px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 20px 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.post-card__more {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--spot);
}

.post-card__link:hover .post-card__more i {
  transform: translateX(4px);
}

.post-card__more i {
  transition: transform 0.22s var(--ease);
  font-size: 0.8rem;
}

/* Featured variant — full width, media beside text on wide screens */
.post-card--wide .post-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
}

.post-card--wide .post-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.post-card--wide .post-card__head {
  padding-top: 26px;
}

.post-card--wide .post-card__title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.post-card--wide .post-card__excerpt {
  font-size: 1rem;
}

@media (max-width: 780px) {
  .post-card--wide .post-card__link {
    grid-template-columns: 1fr;
  }
  .post-card--wide .post-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .post-card--wide .post-card__head {
    padding-top: 16px;
  }
}

/* ---------- Article reading view ---------- */
.post__head {
  padding: clamp(34px, 6vw, 68px) 0 clamp(20px, 3vw, 30px);
}

.post__title {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-top: 14px;
}

.post__lead {
  margin-top: 16px;
  max-width: 62ch;
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.post__cover {
  margin-bottom: clamp(26px, 4vw, 44px);
}

.post__cover img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

/* Prose — the rendered article body */
.prose {
  font-size: 1.055rem;
  line-height: 1.78;
  color: #23211c;
}

.prose > p {
  margin-top: 20px;
}

.prose > p:first-child {
  margin-top: 0;
  font-size: 1.14rem;
  color: var(--ink);
}

.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 1.22rem;
  margin-top: 32px;
}

.prose h4 {
  font-size: 1.05rem;
  margin-top: 26px;
}

.prose a {
  color: var(--riso);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.prose a:hover {
  color: var(--spot-dark);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose ul,
.prose ol {
  margin-top: 20px;
  padding-left: 24px;
}

.prose ul {
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 9px;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--spot);
  border-radius: 2px;
}

.prose ol {
  list-style: decimal;
}

.prose ol li {
  margin-top: 9px;
  padding-left: 4px;
}

.prose ol li::marker {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--spot);
  font-weight: 600;
}

.prose blockquote {
  margin-top: 26px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--spot);
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose img {
  margin-top: 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--paper-3);
  padding: 2px 6px;
  border-radius: var(--r-xs);
}

.prose pre {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.prose hr {
  margin: 38px 0;
  border-top: 1px solid var(--line);
}

.prose del {
  color: var(--ink-mute);
}

.post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 34px;
}

.post__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding: 24px;
  background: var(--paper-2);
}

.post__cta h3 {
  font-size: 1.2rem;
}

.post__cta-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .post__meta {
    gap: 6px 14px;
  }
  .prose {
    font-size: 1rem;
  }
  .post__cta {
    padding: 18px;
  }
}

/* ==========================================================================
   WordPress integration
   The design system above is shared with the Cloudflare build. Everything
   below adapts it to WordPress-generated markup and the block editor.
   ========================================================================== */

/* ---------- Announcement strip (Customizer) ---------- */
.announce {
  background: var(--spot);
  color: #fff;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
}

/* ---------- WordPress menu output ---------- */
.nav .menu-item > a,
.drawer__nav .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav .menu-item > a:hover { color: var(--ink); background: var(--paper-2); }
.nav .current-menu-item > a,
.nav .current_page_item > a { color: var(--ink); background: var(--paper-2); font-weight: 600; }

.drawer__nav .menu-item { display: block; }
.drawer__nav .menu-item > a {
  width: 100%;
  justify-content: space-between;
  font-size: 1.02rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
}

/* ---------- Post cards / archive ---------- */
.wp-posts { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.wp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.wp-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-sm); border-color: var(--ink); }
.wp-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.wp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wp-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.wp-card__cat {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--spot);
}
.wp-card__title { font-size: 1.14rem; line-height: 1.28; margin-top: 9px; }
.wp-card__title a { color: inherit; }
.wp-card__excerpt { color: var(--ink-soft); font-size: 0.92rem; margin-top: 9px; flex: 1; }
.wp-card__meta {
  display: flex; gap: 8px; align-items: center; margin-top: 14px;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- Single post / page content ---------- */
.entry {
  font-size: 1.055rem;
  line-height: 1.78;
  color: #23211c;
}
.entry > * { margin-top: 20px; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry h3 { font-size: 1.22rem; margin-top: 32px; }
.entry h4 { font-size: 1.05rem; margin-top: 26px; }
.entry a { color: var(--riso); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--spot-dark); }
.entry strong { color: var(--ink); font-weight: 700; }
.entry ul { list-style: none; padding-left: 0; }
.entry ul li { position: relative; padding-left: 22px; margin-top: 9px; }
.entry ul li::before {
  content: ''; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 7px; background: var(--spot); border-radius: 2px;
}
.entry ol { list-style: decimal; padding-left: 24px; }
.entry ol li { margin-top: 9px; }
.entry ol li::marker { font-family: var(--font-mono); color: var(--spot); font-weight: 600; }
.entry blockquote {
  margin-top: 26px; padding: 4px 0 4px 22px; border-left: 3px solid var(--spot);
  font-family: var(--font-serif); font-size: 1.24rem; font-style: italic; line-height: 1.55;
}
.entry blockquote p { margin: 0; }
.entry img, .entry .wp-block-image img { border-radius: var(--r-md); border: 1px solid var(--line); }
.entry figure { margin-top: 26px; }
.entry figcaption { font-size: 0.82rem; color: var(--ink-mute); margin-top: 8px; text-align: center; }
.entry code { font-family: var(--font-mono); font-size: 0.86em; background: var(--paper-3); padding: 2px 6px; border-radius: var(--r-xs); }
.entry pre {
  margin-top: 24px; padding: 18px 20px; background: var(--ink); color: var(--paper);
  border-radius: var(--r-sm); overflow-x: auto; font-size: 0.88rem;
}
.entry pre code { background: none; padding: 0; color: inherit; }
.entry table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry th { background: var(--paper-2); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.entry hr { margin: 38px 0; border-top: 1px solid var(--line); }
.entry .alignwide { max-width: 1100px; margin-inline: auto; }
.entry .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry .aligncenter { margin-inline: auto; }
.entry .alignleft { float: left; margin: 6px 24px 14px 0; }
.entry .alignright { float: right; margin: 6px 0 14px 24px; }
.entry .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--spot); color: #fff; border-radius: var(--r-pill);
  padding: 13px 24px; font-weight: 600; text-decoration: none;
}

/* ---------- Post meta row ---------- */
.entry-head { padding: clamp(30px, 5vw, 58px) 0 clamp(18px, 3vw, 28px); }
.entry-title { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.07; letter-spacing: -0.03em; margin-top: 14px; }
.entry-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute);
}
.entry-thumb img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-top: 38px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 13px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.88rem;
}
.pagination .page-numbers:hover { border-color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Comments ---------- */
.comments { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-list .children { margin-top: 20px; padding-left: 22px; }
.comment-body {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px;
}
.comment-meta { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); }
.comment-author { font-weight: 700; color: var(--ink); font-size: 0.92rem; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.search-form input[type="search"] {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--white); font-size: 0.95rem;
}
.comment-form textarea { min-height: 130px; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: var(--hard-sm); }
.comment-form label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; }
.comment-form p { margin-bottom: 15px; }
.comment-form .submit, .search-form button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-pill); border: 1.5px solid var(--spot);
  background: var(--spot); color: #fff; font-weight: 600;
}
.search-form { display: flex; gap: 9px; max-width: 520px; }

/* ---------- Services (mh_service) archive ---------- */
.service-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
}
.service-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 { font-size: 1.1rem; }
.service-card__body p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 8px; flex: 1; }

/* ---------- Location page blocks ---------- */
.map-frame { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 640px) { .map-frame iframe { height: 300px; } }

/* ---------- Screen-reader helper WP expects ---------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.screen-reader-text:focus {
  position: static !important; width: auto; height: auto; clip: auto;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--r-sm);
}
.alignleft { float: left; margin: 6px 24px 14px 0; }
.alignright { float: right; margin: 6px 0 14px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 0.82rem; color: var(--ink-mute); text-align: center; margin-top: 8px; }
.sticky .wp-card { border-color: var(--spot); }

/* ==========================================================================
   25. Quote form status, lead pills & shortcode polish
   --------------------------------------------------------------------------
   Added with the ready-made pages. Everything here is driven by the
   [mh_quote_form] and [mh_*] shortcodes, so the imported pages need no
   inline styles of their own.
   ========================================================================== */

.form__status {
	border-radius: var(--radius-sm, 10px);
	padding: 16px 18px;
	margin-bottom: 22px;
	border: 1px solid var(--line, rgba(20, 18, 16, .14));
	background: var(--paper2, #f6f1e7);
	line-height: 1.55;
}

.form__status strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-sans, inherit);
}

.form__status--ok {
	border-color: color-mix(in srgb, #1d7a4b 40%, transparent);
	background: color-mix(in srgb, #1d7a4b 9%, var(--paper2, #f6f1e7));
}

.form__status--err {
	border-color: color-mix(in srgb, #b5341f 40%, transparent);
	background: color-mix(in srgb, #b5341f 9%, var(--paper2, #f6f1e7));
}

/* Honeypot — hidden from people, irresistible to bots. */
.hide,
.field.hide {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Lead status pill, shown in wp-admin only. */
.mh-pill {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: #e6e6e6;
	color: #333;
}

.mh-pill--new       { background: #d9ecff; color: #0b4a86; }
.mh-pill--contacted { background: #fff0cc; color: #8a5a00; }
.mh-pill--quoted    { background: #e5defb; color: #4a2f9e; }
.mh-pill--won       { background: #d8f2e0; color: #14663c; }
.mh-pill--lost      { background: #f6dede; color: #8f2418; }

/* Spec list inside .prose keeps the theme's zebra treatment. */
.spec-list th {
	width: 38%;
}

@media (max-width: 620px) {
	.spec-list th,
	.spec-list td {
		display: block;
		width: 100%;
	}
	.spec-list th {
		border-bottom: 0;
		padding-bottom: 0;
	}
}

/* ==========================================================================
   26. Compact service row
   --------------------------------------------------------------------------
   The homepage shows the six non-featured product families as a compact
   horizontal row (thumbnail + category + name + from-price). The Cloudflare
   build sets this with inline styles; here it is a proper class so it can be
   themeable and responsive.
   ========================================================================== */

.service-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 16px;
}

.service-row img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: var(--r-md);
	flex: none;
	border: 1px solid var(--line);
}

.service-row__cat {
	color: var(--ink-mute);
}

.service-row__name {
	display: block;
	font-family: var(--font-display);
	font-size: 1.02rem;
	margin-top: 4px;
}

.service-row__from {
	font-size: 0.84rem;
	color: var(--ink-mute);
}

@media (max-width: 420px) {
	.service-row {
		align-items: flex-start;
	}

	.service-row img {
		width: 64px;
		height: 64px;
	}
}

/* ==========================================================================
   27. Pricing page cells, stat links & muted checklist
   --------------------------------------------------------------------------
   Added with the Gallery and Pricing page templates. The Cloudflare build
   drives these with inline styles; here they are classes so they stay
   themeable and responsive.
   ========================================================================== */

/* Rate figure in the indicative rate-card table. */
.price-cell {
	font-family: var(--font-display);
	font-weight: 700;
}

/* The "notes" column is deliberately quieter than the rate itself. */
.rate-note {
	color: var(--ink-mute);
	font-size: 0.85rem;
}

/* Compact product tile that links through to the quote form. */
.stat--link {
	display: block;
	transition: transform 0.2s var(--ease);
}

.stat--link:hover {
	transform: translateY(-2px);
}

.stat__cat {
	color: var(--ink-mute);
}

.stat__name {
	display: block;
	font-family: var(--font-display);
	font-size: 1rem;
	margin-top: 6px;
}

.stat__price {
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--spot);
	margin-top: 10px;
	letter-spacing: -0.03em;
}

.stat__moq {
	font-size: 0.79rem;
	color: var(--ink-mute);
}

/* "Quoted separately" list reads as informational, not as a benefit. */
.checklist__mute {
	color: var(--ink-mute);
}
