/* ==========================================================================
   BM Industrial Solutions: design system
   Brand: red #CE171E, ink #231F20, grey #686868 (sampled from the logo)
   Layout language borrows the reference site's generous section rhythm,
   oversized display type, and tinted card surfaces.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand */
  --red: #ce171e;
  --red-600: #b3141a;
  --red-700: #8e1015;
  --red-tint: #fdf1f1;
  --red-tint-2: #f9e3e4;

  --ink: #231f20;
  --ink-900: #141112;
  --ink-800: #1e1a1b;
  --ink-700: #2e2829;

  --grey-600: #686868;
  --grey-500: #85858a;
  --grey-400: #a8a8ad;
  --grey-300: #cfcfd4;
  --grey-200: #e5e5e9;
  --grey-100: #eeeef0;
  --grey-50: #f6f6f7;
  --white: #fff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --text: var(--ink);
  --text-muted: var(--grey-600);
  --border: var(--grey-200);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-display-1: clamp(2.75rem, 1.4rem + 5.2vw, 5.25rem);
  --fs-display-2: clamp(2.125rem, 1.2rem + 3.4vw, 3.5rem);
  --fs-display-3: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-h4: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Rhythm: the reference site's defining trait is how much air it leaves */
  --section-y: clamp(4.5rem, 2rem + 8vw, 8.75rem);
  --section-y-lg: clamp(6rem, 2.5rem + 11vw, 12rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 0.5rem + 2.5vw, 2.5rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.06), 0 2px 8px rgba(35, 31, 32, 0.04);
  --shadow: 0 4px 12px rgba(35, 31, 32, 0.07), 0 16px 40px rgba(35, 31, 32, 0.07);
  --shadow-lg: 0 8px 24px rgba(35, 31, 32, 0.1), 0 32px 72px rgba(35, 31, 32, 0.13);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.35rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout primitives ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1400px; }

.section { padding-block: var(--section-y); }
.section--lg { padding-block: var(--section-y-lg); }
.section--tight { padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink-900); color: var(--white); }
.section--tint { background: var(--red-tint); }

/* Standard section intro: label, oversized headline, supporting line. */
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: 78ch; }
.section-head > * + * { margin-top: 1.25rem; }

/* Heading left, supporting copy right. The reference site's default for any
   section intro that has both. */
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 1rem + 3vw, 4.5rem);
  align-items: end;
}
.section-head--split > * + * { margin-top: 0; }
.section-head--split .eyebrow { margin-bottom: 1.25rem; }
.section-head--split .lead { max-width: 46ch; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
}

.stack > * + * { margin-top: 1.25rem; }
.stack-sm > * + * { margin-top: 0.6rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* --- Type ----------------------------------------------------------------- */
.display-1, .display-2, .display-3, .h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
  text-wrap: balance;
}
.display-1 { font-size: var(--fs-display-1); }
.display-2 { font-size: var(--fs-display-2); line-height: 1.06; }
.display-3 { font-size: var(--fs-display-3); line-height: 1.12; letter-spacing: -0.025em; }
.h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.section--ink .lead, .cta-panel .lead { color: rgba(255, 255, 255, 0.72); }

.muted { color: var(--text-muted); }
.text-red { color: var(--red); }

/* Plain letterspaced label. No leading rule; the colour carries it. */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--center { text-align: center; }
.section--ink .eyebrow { color: #ff6b70; }

.prose p { color: var(--text-muted); }
.prose > * + * { margin-top: 1.35rem; }
.prose h2 { font-family: var(--font-display); font-size: var(--fs-display-3); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin-top: 2.75rem; color: var(--text); }
.prose h3 { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; margin-top: 2rem; color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Checked list, used through the service pages */
.ticks { display: grid; gap: 0.9rem; }
.ticks li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--text-muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 1.15rem; height: 0.62rem;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--text); font-weight: 600; }
.section--ink .ticks li { color: rgba(255, 255, 255, 0.72); }
.section--ink .ticks strong { color: var(--white); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 1rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(206, 23, 30, 0.28); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 10px 26px rgba(206, 23, 30, 0.34); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-700); }

.btn--outline { border-color: var(--grey-300); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--grey-100); }

.btn--on-dark { border-color: rgba(255, 255, 255, 0.32); color: var(--white); }
.btn--on-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.9375rem; }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1.0625rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn-row--center { justify-content: center; }

/* Inline arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--red);
}
.arrow-link svg { transition: transform 0.25s var(--ease); flex: none; }
.arrow-link:hover svg { transform: translateX(5px); }

/* --- Top strip ------------------------------------------------------------ */
.topbar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-xs);
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: 0.4rem;
}
.topbar__items { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar a:hover { color: var(--white); }
.topbar strong { color: var(--white); font-weight: 600; }
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  box-shadow: 0 0 0 0 rgba(206, 23, 30, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(206, 23, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(206, 23, 30, 0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
@media (max-width: 820px) { .topbar__hide-sm { display: none; } }

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(35, 31, 32, 0.06); }
.nav .container { max-width: 1400px; }
.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 3rem);
  min-height: 86px;
}
.nav__logo { flex: none; display: flex; align-items: center; }
.nav__logo img { width: clamp(158px, 15vw, 200px); }
/* Auto margins on the nav element itself centre the menu in the space between
   the logo and the actions. Putting them on the inner <ul> did nothing, which
   left the whole bar bunched against the left edge. */
.nav__nav { margin-inline: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(0.25rem, 0.9vw, 1.1rem); }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover { background: var(--grey-100); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--red); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: clamp(0.75rem, 1.2vw, 1.35rem); flex: none; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ink);
  white-space: nowrap;
}
.nav__phone:hover { color: var(--red); }

/* Dropdown */
.nav__item { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__panel a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  transition: background-color 0.18s var(--ease);
}
.nav__panel a:hover { background: var(--grey-50); }
.nav__panel a span { display: block; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.15rem; }
.nav__panel strong { font-weight: 600; }
.nav__caret { transition: transform 0.2s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* Mobile drawer */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  position: relative;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  padding: 6.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.drawer__sub {
  display: block;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-left: 2px solid var(--border);
  margin-left: 0.15rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.drawer__sub:hover { color: var(--red); border-left-color: var(--red); }
.drawer__group { padding-block: 0.75rem; border-bottom: 1px solid var(--border); }
.drawer__group > .drawer__link { border-bottom: 0; padding-bottom: 0.5rem; }
.drawer__actions { margin-top: 2rem; display: grid; gap: 0.75rem; }

@media (max-width: 1040px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
}
/* Below this the logo, quote button and toggle no longer fit on one line.
   The sticky call bar already carries both actions, so drop the button. */
@media (max-width: 700px) {
  .nav__actions > .btn { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 1.5rem + 6vw, 7rem) clamp(3.5rem, 1.5rem + 6vw, 6.5rem); position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.hero__copy > * + * { margin-top: 1.6rem; }
.hero__copy .display-1 { margin-top: 1.5rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
/* Floating stat card overlapping the hero photo, borrowed from the reference. */
.hero__badge {
  position: absolute;
  left: -1.75rem;
  bottom: -1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  max-width: 19.5rem;
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red);
}
.hero__badge-txt { font-size: var(--fs-xs); line-height: 1.4; color: var(--text-muted); }
.hero__badge-txt strong { display: block; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  padding-top: 0.5rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}
.hero__trust li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .hero__badge { left: auto; right: 1rem; bottom: -1.25rem; padding: 1.1rem 1.25rem; }
}
@media (max-width: 480px) { .hero__badge { display: none; } }

/* Compact page hero for interior pages */
.pagehero { padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem) clamp(2.5rem, 1rem + 4vw, 4rem); }
.pagehero__inner { max-width: 56rem; }
.pagehero__inner > * + * { margin-top: 1.4rem; }
.pagehero--center .pagehero__inner { max-width: 52rem; margin-inline: auto; text-align: center; }
.pagehero--center .btn-row { justify-content: center; }

/* Full-width photo strip under an interior page hero */
.hero-strip { border-radius: var(--radius-xl); overflow: hidden; }
.hero-strip img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 860px) { .hero-strip img { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .hero-strip img { aspect-ratio: 4 / 3; } }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: var(--fs-xs); color: var(--grey-500); }
.crumbs a:hover { color: var(--red); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: "/"; color: var(--grey-300); }
.crumbs [aria-current] { color: var(--text-muted); }

/* --- Brand wall ----------------------------------------------------------- */
.brandwall { border-block: 1px solid var(--border); padding-block: clamp(2rem, 1rem + 2.5vw, 3rem); }
.brandwall__label {
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  margin-bottom: 1.75rem;
}
/* Set as a muted wordmark wall rather than a row of chips, closer to how the
   reference site handles its customer logos, and honest given we do not have
   licensed logo art for these manufacturers. */
.brandwall__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.1rem, 0.4rem + 2.4vw, 3.25rem);
}
.brandwall__list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.88rem + 0.6vw, 1.4rem);
  letter-spacing: -0.018em;
  color: var(--grey-400);
  transition: color 0.2s var(--ease);
}
.brandwall__list li:hover { color: var(--ink); }

/* --- Cards ---------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 0.5rem + 1.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--grey-50);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.2vw, 2.25rem);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card--link:hover { background: var(--white); border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow); }
.card--link:hover .arrow-link svg { transform: translateX(5px); }
/* Bare icon rather than the ubiquitous icon-in-a-rounded-white-square. */
.card__icon {
  display: block;
  color: var(--red);
  margin-bottom: 1.25rem;
  flex: none;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }
.card__foot { margin-top: auto; padding-top: 1.5rem; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link > a.card__hit { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

/* Tinted variants used to break up long card runs */
.card--tint { background: var(--red-tint); }
.card--ink { background: var(--ink-900); color: var(--white); }
.card--ink h3 { color: var(--white); }
.card--ink p { color: rgba(255, 255, 255, 0.7); }
.card--ink .card__icon { color: #ff6b70; }
.card--outline { background: var(--white); border-color: var(--border); }

/* Card with photo on top */
.card--photo { padding: 0; overflow: hidden; background: var(--white); border-color: var(--border); }
.card--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--photo .card__body { padding: clamp(1.35rem, 1rem + 1vw, 1.85rem); display: flex; flex-direction: column; flex: 1; }

/* --- Numbered steps ------------------------------------------------------- */
.steps { display: grid; gap: clamp(1.5rem, 0.5rem + 2.4vw, 3rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 1.6rem; border-top: 1px solid var(--border); }
.step__icon { color: var(--red); margin-bottom: 1.1rem; }
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: var(--fs-sm); color: var(--text-muted); }

/* --- Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 0.5rem + 3vw, 3.5rem); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .stats { grid-template-columns: 1fr; } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.5rem + 5.4vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--ink);
}
.section--ink .stat__num { color: var(--white); }
.stat__num em { font-style: normal; color: var(--red); }
.section--ink .stat__num em { color: #ff5a60; }
.stat__label { margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--text-muted); max-width: 22ch; }
.section--ink .stat__label { color: rgba(255, 255, 255, 0.62); }

/* --- Split (alternating image / copy) ------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 1.5rem + 6vw, 7rem); }
.split__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split__copy > * + * { margin-top: 1.35rem; }
.split--flip .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
}

/* Media stack: one tall + two short, a bit more visual variety */
.media-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1rem; }
.media-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.media-mosaic > :first-child { grid-row: span 2; }
.media-mosaic > :first-child img { aspect-ratio: 3 / 4.2; }
.media-mosaic > :not(:first-child) img { aspect-ratio: 4 / 3; }
@media (max-width: 560px) {
  .media-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .media-mosaic > :first-child { grid-row: span 1; grid-column: span 2; }
  .media-mosaic > :first-child img { aspect-ratio: 16 / 10; }
}

/* --- Feature band (full-bleed photo with copy card) ----------------------- */
.band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 17, 18, 0.94) 0%, rgba(20, 17, 18, 0.85) 42%, rgba(20, 17, 18, 0.45) 100%);
}
.band__inner { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem); max-width: 46rem; color: var(--white); }
.band__inner > * + * { margin-top: 1.35rem; }
.band__inner .lead { color: rgba(255, 255, 255, 0.76); }
@media (max-width: 700px) { .band::before { background: linear-gradient(180deg, rgba(20,17,18,0.9) 0%, rgba(20,17,18,0.95) 100%); } }

/* --- Testimonials --------------------------------------------------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote__stars { display: flex; gap: 3px; color: var(--red); }
.quote__stars svg { width: 17px; height: 17px; }
.quote p { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; }
.quote__by { display: flex; align-items: center; gap: 0.75rem; }
.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  flex: none;
}
.quote__name { font-weight: 600; font-size: var(--fs-sm); }
.quote__meta { font-size: var(--fs-xs); color: var(--grey-500); }

/* --- Reviews --------------------------------------------------------------
   Masonry of real Google reviews. Renders only when _build/reviews.json has
   been generated from an export; never populated with invented content. */
.stars { display: inline-flex; gap: 3px; color: var(--red); }
.stars svg { width: 17px; height: 17px; flex: none; }
.stars .is-empty { color: var(--grey-300); }

.reviews__summary {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.5rem + 2.4vw, 3rem);
  flex-wrap: wrap;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.35rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: clamp(1.25rem, 0.5rem + 2vw, 2.25rem);
}
.reviews__scoremeta { display: grid; gap: 0.45rem; }
.reviews__score {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.5rem + 3.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
}
.reviews__count { font-size: var(--fs-sm); color: var(--text-muted); }
.reviews__count strong { color: var(--ink); font-weight: 600; }
.reviews__summary .btn { margin-left: auto; }
@media (max-width: 700px) { .reviews__summary .btn { margin-left: 0; width: 100%; } }

.reviews__grid {
  columns: 3;
  column-gap: clamp(1rem, 0.5rem + 1.2vw, 1.5rem);
}
@media (max-width: 1000px) { .reviews__grid { columns: 2; } }
@media (max-width: 640px) { .reviews__grid { columns: 1; } }

.review {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: clamp(1rem, 0.5rem + 1.2vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 1rem + 1vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review p { font-size: var(--fs-sm); color: var(--text-muted); }
.review__by { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.review__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  flex: none;
}
.review__name { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.review__meta { display: block; font-size: var(--fs-xs); color: var(--grey-500); margin-top: 0.15rem; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  letter-spacing: -0.015em;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--red);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq__icon::before { width: 16px; height: 2.5px; }
.faq__icon::after { width: 2.5px; height: 16px; }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__body { padding: 0 0 1.75rem; max-width: 72ch; }
.faq__body p { color: var(--text-muted); }
.faq__body > * + * { margin-top: 1rem; }

/* --- Service area grid ---------------------------------------------------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.area:hover { border-color: var(--grey-400); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.area__name { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; }
.area__meta { display: block; font-size: var(--fs-xs); color: var(--grey-500); margin-top: 0.2rem; }
.area svg { color: var(--red); flex: none; }
.area--plain { background: var(--grey-50); border-color: transparent; }
.area--plain:hover { transform: none; box-shadow: none; border-color: var(--border); }

/* --- CTA panel ------------------------------------------------------------ */
.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.75rem, 1.5rem + 5vw, 5.5rem) clamp(1.75rem, 1rem + 4vw, 4.5rem);
}
/* Gear watermark lifted from the logo mark */
.cta-panel__gear {
  position: absolute;
  right: -6%;
  top: 50%;
  translate: 0 -50%;
  width: min(34rem, 46%);
  opacity: 0.07;
  pointer-events: none;
}
.cta-panel__inner { position: relative; max-width: 44rem; }
.cta-panel__inner > * + * { margin-top: 1.5rem; }
.cta-panel .display-2 { color: var(--white); }
@media (max-width: 700px) { .cta-panel__gear { right: -18%; opacity: 0.05; } }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 1rem; }
.contact-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: var(--grey-50);
  border-radius: var(--radius);
  transition: background-color 0.2s var(--ease);
}
a.contact-item:hover { background: var(--red-tint); }
.contact-item__icon { color: var(--red); flex: none; margin-top: 0.15rem; }
.contact-item__label { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); font-weight: 600; }
.contact-item__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; margin-top: 0.25rem; line-height: 1.3; }
.contact-item__note { display: block; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.35rem; line-height: 1.5; }

.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: block; }
/* Space only the form's own children. Fields inside a row are spaced by the
   grid gap, and giving them margins knocks the two columns out of alignment. */
.form > .field + .field,
.form > .form__row + .field,
.form > .field + .form__row,
.form > .form__row + .form__row { margin-top: 1rem; }
.field__label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 0.45rem; }
.field__label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23686868' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(206, 23, 30, 0.14);
}
.form__note { font-size: var(--fs-xs); color: var(--grey-500); margin-top: 1rem; }
.form__status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: #eef7f0; color: #1c6b34; }
.form__status--err { background: var(--red-tint); color: var(--red-700); }
/* Spam honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- Gallery -------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.62); padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) 2.5rem; font-size: var(--fs-sm); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo img { width: 210px; margin-bottom: 1.5rem; }
.footer__blurb { max-width: 34ch; line-height: 1.6; }
.footer h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.15rem;
}
.footer li + li { margin-top: 0.6rem; }
.footer a:hover { color: var(--white); }
.footer__contact { margin-top: 1.75rem; display: grid; gap: 0.5rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); font-family: var(--font-display); font-weight: 700; }
.footer__contact a:hover { color: #ff6b70; }
.footer__bar {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--grey-500);
}
.footer__bar a:hover { color: var(--white); }

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.callbar .btn { flex: 1; padding-block: 0.85rem; }
@media (max-width: 700px) {
  .callbar { display: flex; }
  body { padding-bottom: 4.75rem; }
}

/* ==========================================================================
   Bento system
   The reference site's defining move: an asymmetric grid of solid colour-
   blocked panels at mixed sizes, each one a headline + short copy + imagery
   bleeding to the edge. Its palette is lavender/yellow/pink; ours is the only
   palette the brand owns (ink, red, and two industrial neutrals) plus the
   photography doing the work the illustrations do over there.
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 0.5rem + 1vw, 1.5rem);
}
.bento__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: clamp(300px, 24vw, 392px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento__card--w1 { grid-column: span 1; }
.bento__card--w2 { grid-column: span 2; }
.bento__card--w3 { grid-column: span 3; }
.bento__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.hit { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }

.bento__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.35rem);
}
.bento__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.06;
  font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.05rem);
  text-wrap: balance;
}
.bento__body p { font-size: var(--fs-sm); line-height: 1.6; }
.bento__cta { margin-top: auto; padding-top: 1.1rem; }
.bento__media { margin-top: auto; overflow: hidden; }
.bento__media img, .bento__media picture { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Wide cards run copy beside the image; narrow ones stack it underneath. */
.bento__card--w2.has-media, .bento__card--w3.has-media { flex-direction: row; align-items: stretch; }
.bento__card--w2.has-media .bento__body { flex: 1 1 54%; }
.bento__card--w2.has-media .bento__media { flex: 1 1 46%; margin-top: 0; }
.bento__card--w3.has-media .bento__body { flex: 1 1 46%; }
.bento__card--w3.has-media .bento__media { flex: 1 1 54%; margin-top: 0; }
.bento__card--w1 .bento__media img { aspect-ratio: 16 / 10; }

/* Surfaces */
.bento__card--ink { background: var(--ink-900); color: var(--white); }
.bento__card--ink p { color: rgba(255, 255, 255, 0.68); }
.bento__card--ink .arrow-link { color: #ff6b70; }
.bento__card--red { background: var(--red); color: var(--white); }
.bento__card--red p { color: rgba(255, 255, 255, 0.84); }
.bento__card--red .arrow-link { color: var(--white); }
.bento__card--bone { background: #efece6; color: var(--ink); }
.bento__card--mist { background: #e4e8ea; color: var(--ink); }
.bento__card--bone p, .bento__card--mist p { color: var(--grey-600); }
.bento__card--outline { background: var(--white); border: 1px solid var(--border); color: var(--ink); }
.bento__card--outline p { color: var(--grey-600); }

/* Full-bleed photo surface with a scrim so the copy stays readable */
.bento__card--photo { color: var(--white); }
.bento__bg { position: absolute; inset: 0; z-index: -2; }
.bento__bg img { width: 100%; height: 100%; object-fit: cover; }
.bento__card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(158deg, rgba(18, 15, 16, 0.94) 0%, rgba(18, 15, 16, 0.74) 46%, rgba(18, 15, 16, 0.32) 100%);
}
.bento__card--photo p { color: rgba(255, 255, 255, 0.76); }
.bento__card--photo .arrow-link { color: #ff6b70; }

@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--w3 { grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--w1, .bento__card--w2, .bento__card--w3 { grid-column: span 1; }
  .bento__card--w2.has-media, .bento__card--w3.has-media { flex-direction: column; }
  .bento__card--w2.has-media .bento__media img,
  .bento__card--w3.has-media .bento__media img { aspect-ratio: 16 / 10; }
  /* The diagonal scrim leaves the middle of a tall narrow card too light for
     copy, so switch to a vertical one. */
  .bento__card--photo::before {
    background: linear-gradient(180deg, rgba(18, 15, 16, 0.93) 0%, rgba(18, 15, 16, 0.82) 55%, rgba(18, 15, 16, 0.62) 100%);
  }
}

/* --- Category tags -------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.tag--red { background: var(--red-tint); color: var(--red-700); }
.tag--onink { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.tag--onred { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.tag--ink { background: rgba(35, 31, 32, 0.07); color: var(--ink); }

/* --- Accented words inside headlines -------------------------------------- */
.display-1 em, .display-2 em, .display-3 em,
.bento__title em, .promo__title em {
  font-style: normal;
  color: var(--red);
}
.section--ink .display-2 em, .cta-panel .display-2 em,
.bento__card--ink .bento__title em, .bento__card--photo .bento__title em,
.promo--ink .promo__title em { color: #ff5a60; }
/* On a red ground the accent has to invert or it disappears entirely. */
.bento__card--red .bento__title em,
.promo--red .promo__title em { color: var(--ink-900); }

/* --- Ring button ---------------------------------------------------------- */
/* The reference site's most recognisable control: a filled pill sitting inside
   an offset outline, with a gap of the background colour between the two. */
.btn--ring {
  box-shadow: 0 0 0 4px var(--ring-gap, #fff), 0 0 0 6px var(--ring-line, var(--ink));
}
.btn--ring:hover {
  box-shadow: 0 0 0 4px var(--ring-gap, #fff), 0 0 0 7.5px var(--ring-line, var(--ink));
}

/* --- Bare feature list (no card chrome) ----------------------------------- */
.featurelist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 2.5vw, 3.25rem) clamp(1.75rem, 1rem + 2vw, 3rem);
}
@media (max-width: 900px) { .featurelist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .featurelist { grid-template-columns: 1fr; } }
.featurelist__icon { color: var(--red); margin-bottom: 1.05rem; }
.featurelist h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-bottom: 0.55rem;
}
.featurelist p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--ink .featurelist h3 { color: var(--white); }
.section--ink .featurelist p { color: rgba(255, 255, 255, 0.65); }
.section--ink .featurelist__icon { color: #ff6b70; }

/* --- Two-up promo panels -------------------------------------------------- */
.promo-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.2vw, 1.5rem);
}
@media (max-width: 800px) { .promo-duo { grid-template-columns: 1fr; } }
.promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  min-height: clamp(276px, 21vw, 340px);
  display: flex;
  flex-direction: column;
}
.promo > * + * { margin-top: 1.05rem; }
.promo__gear + * { margin-top: 0; }
.promo__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.3rem);
  text-wrap: balance;
}
.promo p { font-size: var(--fs-sm); line-height: 1.6; }
.promo__btn { margin-top: auto; padding-top: 1.75rem; }
.promo--ink { background: var(--ink-900); color: var(--white); }
.promo--ink p { color: rgba(255, 255, 255, 0.7); }
.promo--red { background: var(--red); color: var(--white); }
.promo--red p { color: rgba(255, 255, 255, 0.85); }
.promo__gear {
  position: absolute;
  right: -9%;
  bottom: -26%;
  width: min(19rem, 60%);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}
.promo--red .promo__gear { filter: brightness(0) invert(1); opacity: 0.14; }

/* --- Scroll reveal --------------------------------------------------------
   Content is visible by default. The hidden-then-revealed state only applies
   once the inline head script confirms IntersectionObserver exists, so a JS
   failure, a blocked script or an old browser can never leave the page blank. */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--link:hover, .area:hover, .bento__card:hover { transform: none; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .nav, .topbar, .callbar, .cta-panel, .drawer { display: none !important; }
  body { padding-bottom: 0; }
  .section { padding-block: 1.5rem; }
}
