/* ==========================================================================
   WIPESTAR Wipers — Premium layer
   Loaded after global.css and every page stylesheet.
   Contents:
     01. Tokens & reset refinements
     02. Typography
     03. Layout primitives & overflow guards
     04. Header, navigation, mobile menu
     05. Buttons, pills, links
     06. Cards
     07. Forms
     08. FAQ
     09. Editorial / article
     10. Page components
     11. Footer
     12. Responsive (mobile-first corrections)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Tokens
   -------------------------------------------------------------------------- */

:root {
  --ink-4: #0A100D;
  --paper-4: #FBF8F1;
  --brass-soft: rgba(176, 138, 82, .16);
  --container: 1320px;
  --gutter: clamp(18px, 4.1vw, 56px);
  --radius-xs: 2px;
  --radius-sm: 3px;
  --shadow-card: 0 24px 60px -46px rgba(13, 21, 18, .55);
  --shadow-lift: 0 34px 70px -44px rgba(13, 21, 18, .45);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .55);
  --ring: 0 0 0 3px rgba(176, 138, 82, .16);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --step-0: 15px;
  --hairline: 1px solid var(--line);
  --hairline-soft: 1px solid var(--line-soft);
}

body {
  font-size: 16px;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

img, svg, video, canvas { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: none;
}
p, li { text-wrap: pretty; }

/* Consistent, visible keyboard focus on every interactive element. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection { background: var(--brass-2); color: var(--ink); }

/* Thin, brand-consistent scrollbar for horizontal rails. */
.filter-pills,
.table-scroll,
.gallery-thumbs {
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 138, 82, .5) transparent;
}
.filter-pills::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar { height: 4px; }
.filter-pills::-webkit-scrollbar-thumb,
.table-scroll::-webkit-scrollbar-thumb { background: rgba(176, 138, 82, .45); }
.filter-pills::-webkit-scrollbar-track,
.table-scroll::-webkit-scrollbar-track { background: transparent; }

/* --------------------------------------------------------------------------
   02. Typography
   -------------------------------------------------------------------------- */

.display-1,
.display-2,
.display-3,
.hero__title,
.page-hero__title,
.guide-hero__title,
.article-hero__title,
.app-hero__title {
  font-optical-sizing: auto;
  font-variant-ligatures: common-ligatures;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .26em;
  font-weight: 600;
}

.lede { line-height: 1.74; }

.text-link {
  border-bottom-color: rgba(13, 21, 18, .22);
  letter-spacing: .17em;
}
.text-link:hover { border-bottom-color: var(--brass); }

/* Section heads: keep the rule but let the copy breathe. */
.section-head { border-bottom-color: rgba(13, 21, 18, .12); }
.section-head__body .display-2 { max-width: 22ch; }

/* Numbers across the site share one rhythm. */
.stat__num,
.promise__num,
.tech-step__num,
.protocol__step span,
.app-card__num,
.library-card__num,
.journal-card__meta,
.p-card__code,
.p-code,
.hero__specs strong,
.app-hero__spec,
.guide-hero__meta {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   03. Layout primitives & overflow guards
   -------------------------------------------------------------------------- */

.container { max-width: var(--container); }

/* Any grid/flex child that can contain a wide table, long word or image
   must be allowed to shrink below its min-content width. Without this the
   whole page grows wider than the viewport on small screens. */
[class*="__grid"] > *,
[class*="__cols"] > *,
[class*="layout"] > *,
.section-head > *,
.product-top > *,
.product-body > *,
.contact-grid > *,
.contact-panel > *,
.faq-layout > *,
.catalog-faq__grid > *,
.contact-faq__grid > *,
.footer__top > *,
.footer__cols > *,
.form-grid-2 > *,
.sample-layout > *,
.category-notes__grid > *,
.article-layout > *,
.app-hero__grid > *,
.tech__grid > *,
.manifesto__grid > *,
.applications__grid > *,
.quality__grid > * {
  min-width: 0;
}

.rte,
.rte > *,
.article-body,
.table-scroll,
.article-body .rte { min-width: 0; max-width: 100%; }

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  background: var(--color-surface, #fff);
}
.table-scroll table { margin: 0; }

/* Horizontal rails get a soft edge so a cut-off item reads as "more". */
.filter-pills {
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-right: 34px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
}
.filter-pills > * { scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   04. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom-color: rgba(13, 21, 18, .1);
  box-shadow: 0 1px 0 rgba(13, 21, 18, .02);
}
.site-header.is-stuck {
  box-shadow: 0 18px 40px -34px rgba(13, 21, 18, .45);
}
.is-home .site-header {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.header__inner { gap: clamp(16px, 2.4vw, 34px); }
.header__actions { gap: 4px; }

.nav__link { letter-spacing: .12em; }
.nav__link::after { bottom: 22px; height: 1px; background: var(--brass-2); }

.nav__item--drop > .nav__link[aria-current="page"],
.nav__item--mega > .nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after { right: 0; }

/* Mega menu: a touch more air and a clearer hierarchy. */
.mega__inner { padding-top: 40px; padding-bottom: 26px; }
.mega__link { border-bottom-color: rgba(13, 21, 18, .07); }

/* Search panel */
.search-panel__inner { padding-bottom: 40px; }
.search-panel__form input { letter-spacing: -.015em; }
.search-panel__form button {
  transition: background .3s var(--ease), transform .3s var(--ease-out);
}
.search-panel__form button:hover { background: var(--brass-2); }

/* Mobile menu — compact, scannable, actions at the end of the list. */
.mobile-menu { overscroll-behavior: contain; }
.mobile-menu__top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--ink);
}
.mobile-menu__body {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  padding-bottom: 8px;
}
.mobile-menu__nav a {
  font-size: clamp(1.25rem, 5.4vw, 1.7rem);
  padding: 10px 0;
  gap: 14px;
}
.mobile-menu__nav a span { font-size: 8.5px; letter-spacing: .18em; }
.mobile-menu__families { margin-top: 20px; }
.mobile-menu__families .mega__label { margin-bottom: 8px; font-size: 8px; }
.mobile-menu__family-grid { gap: 0 16px; }
.mobile-menu__family-grid a {
  padding: 8px 0 8px 13px;
  font-size: 11px;
  line-height: 1.3;
}
.mobile-menu__foot {
  position: static;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: 26px;
  padding: 18px 0 max(10px, env(safe-area-inset-bottom));
  background: transparent;
  border-top: 1px solid rgba(246, 242, 233, .14);
}
.mobile-menu__cta { min-height: 50px; }
.mobile-menu__contact { margin-top: 10px; font-size: 10.5px; }

/* --------------------------------------------------------------------------
   05. Buttons, pills, links
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  letter-spacing: .17em;
  border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease-out),
              box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--brass {
  background: linear-gradient(180deg, #B89257 0%, #AE874E 100%);
  box-shadow: 0 14px 26px -20px rgba(176, 138, 82, .9);
}
.btn--brass:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 34px -22px rgba(13, 21, 18, .6);
}
.btn--solid:hover { background: var(--brass-3); color: var(--paper); }
.btn--ghost:hover { background: transparent; color: var(--brass-3); border-color: var(--brass); }

.btn--brass svg,
.btn--solid svg { transition: transform .35s var(--ease-out); }
.btn--brass:hover svg,
.btn--solid:hover svg { transform: translateX(3px); }

.pill {
  height: 36px;
  padding: 0 16px;
  letter-spacing: .11em;
  border-color: rgba(13, 21, 18, .16);
  background: rgba(255, 255, 255, .35);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pill:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, .8);
}
.pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 20px -16px rgba(13, 21, 18, .8);
}

/* --------------------------------------------------------------------------
   06. Cards — one shared interaction language
   -------------------------------------------------------------------------- */

.family-card__media,
.journal-card__media,
.p-card__media,
.app-card__media,
.app-product__media,
.library-card__media,
.journal-feature__media,
.guide-card {
  position: relative;
  isolation: isolate;
}

.family-card__media::after,
.journal-card__media::after,
.p-card__media::after,
.app-card__media::after,
.app-product__media::after,
.library-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 21, 18, 0) 62%, rgba(13, 21, 18, .1) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.family-card:hover .family-card__media::after,
.journal-card:hover .journal-card__media::after,
.p-card:hover .p-card__media::after,
.app-card:hover .app-card__media::after,
.app-product:hover .app-product__media::after { opacity: 1; }

.family-card__kicker,
.journal-card__meta,
.library-card__num { color: var(--brass-3); }

.family-card h3 { letter-spacing: -.012em; }
.family-card__desc { color: rgba(46, 56, 48, .82); }

/* Product cards: cleaner plate, calmer caption. */
.p-card__media {
  background:
    radial-gradient(120% 120% at 50% 0%, #FFFFFF 0%, #F3EFE6 62%, #E8E2D5 100%);
  border-color: rgba(13, 21, 18, .09);
}
.p-card__media img { filter: contrast(1.04) saturate(.98); }
.p-card__body { padding-top: 16px; }
.p-card h3 { margin-bottom: 7px; letter-spacing: -.01em; }
.p-card__top { letter-spacing: .14em; }
.p-card__foot { border-top-color: rgba(13, 21, 18, .08); }
.p-card:hover h3 a { color: var(--brass-3); }

/* Library cards (resources hub) */
.library-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  transition: background .4s var(--ease), transform .5s var(--ease-out);
}
.library-card:hover { background: var(--paper-4); }
.library-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
}
.library-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter: saturate(.94);
}
.library-card:hover .library-card__media img { transform: scale(1.05); filter: saturate(1.02); }
.library-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2.4vw, 28px);
}
.library-card__body .library-card__num { margin-bottom: 14px; }
.library-card h3 { margin-bottom: 9px; }
.library-card p { margin-bottom: 20px; }
.library-card .text-link { margin-top: auto; }

/* --------------------------------------------------------------------------
   07. Forms
   -------------------------------------------------------------------------- */

.field { gap: 9px; }
.field label {
  font-size: 9.5px;
  letter-spacing: .2em;
  color: rgba(46, 56, 48, .72);
}
.field label span[aria-hidden] { color: var(--brass-3); }

.field input,
.field select,
.field textarea {
  min-height: 54px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(13, 21, 18, .16);
  border-radius: var(--radius-xs);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  box-shadow: var(--shadow-inset);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea {
  min-height: 168px;
  padding: 15px 16px;
  line-height: 1.65;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(46, 56, 48, .42); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(13, 21, 18, .3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brass);
  box-shadow: var(--ring), var(--shadow-inset);
  background: #FFFFFF;
}

/* Custom select arrow (native arrow suppressed globally). */
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%238C6B3C' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 17px) center;
  background-size: 12px 8px;
  color: var(--ink);
}
.field select:invalid,
.field select option[value=""] { color: rgba(46, 56, 48, .55); }
.field select option { color: var(--ink); }

.field--full { margin-top: 0; }

/* Keep the contact card's fields consistent with the new boxed style. */
.contact-form-card .field input,
.contact-form-card .field select,
.contact-form-card .field textarea {
  background: #FFFFFF;
  border-color: rgba(13, 21, 18, .14);
}
.contact-form-card .field input:hover,
.contact-form-card .field select:hover,
.contact-form-card .field textarea:hover { border-color: rgba(13, 21, 18, .28); }
.contact-form-card .field input:focus,
.contact-form-card .field select:focus,
.contact-form-card .field textarea:focus {
  border-color: var(--brass);
  box-shadow: var(--ring), var(--shadow-inset);
}
.contact-form-card { border-radius: 0; }

.form-note { font-size: 11.5px; line-height: 1.65; color: rgba(46, 56, 48, .62); }
.form-result { border-radius: var(--radius-xs); }

/* --------------------------------------------------------------------------
   08. FAQ
   -------------------------------------------------------------------------- */

.faq-item__q {
  padding: 21px 0;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.faq-item__q:hover { color: var(--brass-3); }
.faq-item__q span { padding-right: 10px; }
.faq-item__q svg {
  width: 14px; height: 14px;
  padding: 5px;
  box-sizing: content-box;
  border: 1px solid rgba(13, 21, 18, .16);
  border-radius: 50%;
  transition: transform .4s var(--ease-out), border-color .3s var(--ease), background .3s var(--ease);
}
.faq-item__q:hover svg { border-color: rgba(176, 138, 82, .45); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); background: var(--brass-soft); }
.faq-item__a p { padding-right: 56px; color: rgba(46, 56, 48, .82); }

/* --------------------------------------------------------------------------
   09. Editorial / article
   -------------------------------------------------------------------------- */

.article-layout {
  grid-template-columns: minmax(0, 728px) 268px;
  gap: clamp(34px, 5vw, 82px);
}
.article-body .rte,
.guide-body .rte { font-size: 16.5px; line-height: 1.82; color: #333C34; }

.guide-body .rte h2,
.article-body .rte h2 {
  position: relative;
  margin-top: clamp(2.1em, 4vw, 2.9em);
  padding-top: .55em;
  border-top: 1px solid rgba(13, 21, 18, .14);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.16;
  scroll-margin-top: calc(var(--header-h) + 26px);
}
.guide-body .rte h2::before,
.article-body .rte h2::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 54px; height: 1px;
  background: var(--brass);
}
.guide-body .rte h3,
.article-body .rte h3 {
  margin-top: 2em;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.45;
  color: var(--ink);
}
.guide-body .rte p,
.article-body .rte p { margin-bottom: 1.35em; }
.guide-body .rte ul,
.article-body .rte ul { margin: 0 0 1.6em; padding-left: 0; }
.guide-body .rte ul li,
.article-body .rte ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .5em;
  line-height: 1.7;
}
.guide-body .rte ul li::before,
.article-body .rte ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}
.guide-body .rte strong,
.article-body .rte strong { font-weight: 600; color: var(--ink); }

/* First paragraph: keep the drop cap, tighten the leading. */
.guide-body .rte > p:first-of-type::first-letter,
.article-body > .rte > p:first-of-type::first-letter {
  font-size: 3.1em;
  line-height: .88;
  padding: 6px 12px 0 0;
  color: var(--brass-3);
}
.guide-body .rte > p:first-of-type,
.article-body > .rte > p:first-of-type {
  font-size: 17.5px;
  line-height: 1.78;
  color: #2B352E;
}

/* Tables inside the reading column. */
.guide-body .rte table,
.article-body .rte table {
  font-size: 13px;
  border: 0;
  background: #fff;
}
.guide-body .rte thead th,
.article-body .rte thead th {
  position: sticky;
  top: 0;
  background: var(--paper-2);
  font-size: 8.5px;
  letter-spacing: .14em;
  white-space: nowrap;
}
.guide-body .rte tbody tr:nth-child(even) td,
.article-body .rte tbody tr:nth-child(even) td { background: rgba(239, 233, 221, .34); }
.guide-body .rte th,
.guide-body .rte td,
.article-body .rte th,
.article-body .rte td { padding: 13px 15px; }

/* Table of contents panel */
.toc {
  padding: 16px 16px 6px;
  border: 1px solid rgba(13, 21, 18, .12);
  border-top: 2px solid var(--ink);
  background: rgba(255, 255, 255, .5);
  border-radius: var(--radius-xs);
}
.toc__toggle { display: none; }
.toc__label { margin-bottom: 8px; }
.toc a { border-bottom-color: rgba(13, 21, 18, .07); }
.toc a.is-active,
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-bottom-color: var(--brass); }
.guide-aside-links { border-top-color: rgba(13, 21, 18, .16); }
.guide-cta { border-radius: 0; }

.article-hero__title { max-width: 24ch; }
.article-hero__lede { color: rgba(46, 56, 48, .8); }

/* Smartphone: the TOC becomes a compact, tappable block above the copy. */
@media (max-width: 1024px) {
  .article-aside {
    display: flex;
    flex-direction: column;
    gap: 0;
    order: -1;
    margin-bottom: 8px;
    padding-bottom: 4px;
  }
  .toc { margin-bottom: 14px; }
  .toc a { font-size: 12px; }
  .guide-aside-links { display: none; }
  .article-aside .guide-cta { display: none; }
}

/* --------------------------------------------------------------------------
   10. Page components
   -------------------------------------------------------------------------- */

/* 10.1 Home hero ---------------------------------------------------------- */

.hero { min-height: min(calc(94svh - 38px), 880px); }
.hero__inner { padding-bottom: clamp(24px, 3vw, 40px); }
.hero__content { padding-bottom: clamp(26px, 3vw, 42px); }
.hero__title { letter-spacing: -.028em; }
.hero__lede { color: rgba(246, 242, 233, .78); }
.hero__eyebrow { letter-spacing: .26em; }
.hero__specs { border-top-color: rgba(246, 242, 233, .22); }
.hero__specs strong { font-size: clamp(15px, 1.35vw, 18px); }

/* 10.2 Trust rail --------------------------------------------------------- */

.trust-rail { background: linear-gradient(180deg, #FBF8F1, var(--paper)); }
.trust-rail li { font-size: 13.5px; letter-spacing: .01em; }
.trust-rail li::before { width: 5px; height: 5px; }

/* 10.3 Paper strip — was an inline <span>, which broke its aspect ratio ---- */

.paper-strip__media {
  display: block;
  position: relative;
  min-height: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.paper-strip__media img { position: absolute; inset: 0; }
.paper-strip__body { gap: 12px; }
.paper-strip__body strong { letter-spacing: -.018em; }
.paper-strip__cta { letter-spacing: .16em; }

/* 10.4 Stats -------------------------------------------------------------- */

.stats { border-radius: 0; }
.stat { padding-top: clamp(30px, 3vw, 40px); }
.stat__num { letter-spacing: -.045em; }

/* 10.5 Application pages -------------------------------------------------- */

/* The media wrapper is a <span>: without display:block the aspect ratio is
   ignored and the image pushes the caption out of the card, which made the
   next section headline land on top of the captions. */
.app-product__media {
  display: block;
  aspect-ratio: 1;
  background:
    radial-gradient(120% 120% at 50% 0%, #FFFFFF 0%, #F3EFE6 65%, #E9E3D6 100%);
  border: 1px solid rgba(13, 21, 18, .1);
}
.app-product__media img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.app-product h3 { font-size: 15.5px; min-height: 2.5em; }
.app-product p { letter-spacing: .12em; }

.app-section__title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  letter-spacing: -.015em;
}
.app-section__title span { color: var(--brass-3); }

.risk-card {
  padding: 18px 0 0;
  border-top-color: rgba(13, 21, 18, .18);
}
.risk-card h3 { font-size: 18px; }

.protocol { gap: clamp(16px, 2vw, 22px); }
.protocol__step { border-top-color: rgba(13, 21, 18, .55); }
.protocol__step span { margin-bottom: 12px; }

.app-hero__spec {
  gap: 12px 26px;
  padding-top: 16px;
  border-top-color: rgba(13, 21, 18, .18);
}
.app-hero__spec span { line-height: 1.6; }
.app-hero__media { aspect-ratio: 4 / 3.15; }

/* 10.6 Catalogue --------------------------------------------------------- */

.filter-bar {
  background: rgba(246, 242, 233, .94);
  box-shadow: 0 12px 24px -26px rgba(13, 21, 18, .5);
}
.filter-bar__inner { gap: 18px; min-height: 64px; }
.filter-pills { padding-block: 14px; }

.catalog-toolbar { margin-bottom: 26px; }
.catalog-grid { gap: clamp(30px, 3.4vw, 46px) clamp(18px, 2.2vw, 30px); }

/* Product hero: the "also explore" switch belongs under the copy, not on
   top of the banner image. */
.page-hero .sibling-switch {
  margin: 22px 0 0;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.catalog-hero .page-hero__meta { margin-top: clamp(22px, 2.6vw, 32px); }

/* 10.7 Product detail ---------------------------------------------------- */

.gallery-main { background: radial-gradient(120% 120% at 50% 0%, #FFFFFF, #F1ECE1 70%, #E7E1D3); }
.gallery-main img { padding: 3%; }
.gallery-thumb { background: #F4F0E7; }
.product-info { padding-top: 2px; }
.p-title { letter-spacing: -.025em; }
.p-chips { border-color: rgba(13, 21, 18, .12); }
.p-chip { background: rgba(255, 255, 255, .55); }
.p-chip strong { letter-spacing: .01em; }
.p-actions .btn { min-height: 54px; }
.p-trust { gap: 10px; }
.quote-card { border-radius: 0; }

/* Sticky mobile conversion bar on product pages. */
.mobile-buybar { display: none; }

/* 10.8 Contact ----------------------------------------------------------- */

.contact-form-card {
  background: #FCFAF5;
  border-color: rgba(13, 21, 18, .12);
  box-shadow: 0 40px 80px -64px rgba(13, 21, 18, .5);
}
.contact-form-card .display-3 { margin-bottom: 10px; }
.contact-form-card__intro { margin-bottom: 26px; }
.form-grid-2 { gap: 18px 24px; }
.contact-block { padding: 22px 0; }
.contact-block__value { letter-spacing: -.01em; }
.contact-panel__note { background: linear-gradient(150deg, var(--ink), var(--ink-3)); }

/* 10.9 Resources hub ----------------------------------------------------- */

.library-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  background: transparent;
  border: 0;
}
.library-card {
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(13, 21, 18, .12);
}
.library-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-rows: 1fr;
}
.library-card:first-child .library-card__media { aspect-ratio: auto; height: 100%; }
.library-card:first-child h3 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
.library-card__body { min-width: 0; }
.library-card:first-child .library-card__body { justify-content: center; padding: clamp(26px, 3vw, 44px); }
.library-card:first-child .text-link { margin-top: 18px; align-self: flex-start; }
.library-card:first-child .library-card__media img { height: 100%; }

/* Short-version list reads as a spec sheet, not a bullet dump. */
.app-section .rte ul { border-top: 1px solid rgba(13, 21, 18, .14); }
.app-section .rte ul li {
  margin: 0;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(13, 21, 18, .08);
  font-size: 13.5px;
  line-height: 1.6;
}
.app-section .rte ul li::before { top: 20px; }

/* 10.10 Footer ----------------------------------------------------------- */

.site-footer { padding-top: clamp(56px, 6.5vw, 88px); }
.footer__col a { display: inline-block; }
.footer__tagline { color: rgba(246, 242, 233, .72); }
.footer__col h2 { letter-spacing: .26em; }
.footer__col a { color: rgba(246, 242, 233, .76); }
.footer__giant { letter-spacing: -.045em; }
.footer__bottom { padding-top: 22px; }

/* The wider column rhythm only applies once there is room for it. Below this
   breakpoint the footer stacks (see the responsive block) — applying it on
   phones pushed the contact column off-screen. */
@media (min-width: 1025px) {
  .footer__top {
    grid-template-columns: minmax(230px, .82fr) minmax(0, 2.18fr);
    gap: clamp(30px, 4vw, 64px);
  }
  .footer__cols {
    grid-template-columns: 1.08fr 1fr .86fr 1.24fr;
    gap: clamp(18px, 2.2vw, 34px);
  }
}

/* --------------------------------------------------------------------------
   11. Responsive corrections
   -------------------------------------------------------------------------- */

/* 11.1 ≤ 1180px ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav__link { letter-spacing: .1em; }
  .library-card:first-child { grid-column: span 2; }
}

/* 11.2 ≤ 1080px ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .page-hero__title { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
  .guide-hero__title { font-size: clamp(2.2rem, 5.2vw, 3.5rem); }
  .section-head__body .display-2 { max-width: 30ch; }
}

/* 11.3 ≤ 1024px (tablet, nav collapses) ---------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .site-header { background: var(--paper); }
  .header__actions { gap: 2px; }
  .library-card:first-child {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .library-card:first-child .library-card__media { aspect-ratio: 16 / 9; }
  .app-hero__media { aspect-ratio: 16 / 9; }
  /* The caption is absolutely positioned: the wrapper must stay a containing
     block once the sticky behaviour is dropped, or the caption escapes to the
     viewport and floats over unrelated sections. */
  .applications__media { position: relative; }
  .paper-strip { grid-template-columns: 1fr; }
  .paper-strip__media { aspect-ratio: 16 / 8.4; }
  .paper-strip__body { padding: clamp(26px, 4vw, 40px); }
}

/* 11.4 ≤ 900px ----------------------------------------------------------- */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr 1fr; }
  .contact-panel__note { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid rgba(246, 242, 233, .09); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .stat:nth-child(n+1):nth-child(-n+2) { border-bottom: 1px solid rgba(246, 242, 233, .09); }
  .library-grid { grid-template-columns: 1fr 1fr; }
  .library-card:first-child { grid-column: span 2; }
}

/* 11.5 ≤ 760px — phones -------------------------------------------------- */
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .section { padding-block: clamp(52px, 8.6vw, 76px); }
  .section--tight { padding-block: clamp(40px, 6.4vw, 58px); }

  .display-1 { font-size: clamp(2.35rem, 9.6vw, 3.1rem); line-height: 1.02; }
  .display-2 { font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.08; }
  .display-3 { font-size: clamp(1.6rem, 6.4vw, 2.05rem); }
  .page-hero__title { font-size: clamp(1.95rem, 8.2vw, 2.55rem); max-width: none; }
  .guide-hero__title { font-size: clamp(1.9rem, 8vw, 2.45rem); max-width: none; }
  .article-hero__title { font-size: clamp(1.85rem, 7.6vw, 2.4rem); max-width: none; }
  .app-hero__title { font-size: clamp(1.85rem, 7.6vw, 2.5rem); }
  .hero__title { font-size: clamp(2.05rem, 8.8vw, 2.9rem); line-height: 1; }

  .page-hero,
  .guide-hero,
  .contact-hero,
  .article-hero,
  .app-hero { padding-top: calc(var(--header-h) + 26px); padding-bottom: 30px; }

  /* Banner image: keep it, but push it behind a stronger paper veil so the
     headline always holds contrast. */
  .page-banner__img { width: 100%; height: 62%; object-position: 72% 30%; opacity: .55; }
  .page-banner::after {
    background:
      linear-gradient(180deg, rgba(246, 242, 233, .62) 0%, rgba(246, 242, 233, .88) 46%, var(--paper) 88%),
      linear-gradient(90deg, var(--paper) 0%, rgba(246, 242, 233, .55) 60%, rgba(246, 242, 233, .2) 100%);
  }

  .breadcrumb { margin-bottom: 20px; font-size: 9px; letter-spacing: .16em; }
  .page-hero__meta { gap: 14px 22px; margin-top: 24px; }
  .page-hero__meta strong { font-size: 14px; }
  .page-hero__lede { font-size: 14.5px; line-height: 1.72; }

  .section-head { padding-bottom: 26px; margin-bottom: 30px; gap: 14px; }
  .section-head__body .display-2 { max-width: none; }

  .hero { min-height: auto; padding-bottom: 26px; }
  .hero__inner { padding-top: calc(var(--header-h) + 34px); }
  .hero__content { padding-bottom: 22px; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 8px; }
  .hero__lede { font-size: 14.5px; margin-bottom: 22px; }
  .hero__actions { gap: 10px; }
  .hero__specs { gap: 14px 18px; padding-top: 16px; }
  .hero__specs strong { font-size: 14px; }
  .hero__specs span { font-size: 8px; letter-spacing: .16em; }

  .trust-rail__inner { padding-block: 16px; gap: 10px; }
  .trust-rail ul { gap: 8px 18px; }
  .trust-rail li { font-size: 12.5px; }

  .manifesto__media { aspect-ratio: 4 / 3.6; }
  .manifesto__badge { padding: 11px 15px; }
  .manifesto__badge strong { font-size: 24px; }
  .promise { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .promise h3 { font-size: 17px; }

  .stats { margin-top: 38px; }
  .stat { padding: 24px 16px 22px; }
  .stat__num { font-size: 2.15rem; }

  .paper-strip { margin-top: 30px; }
  .paper-strip__media { aspect-ratio: 16 / 10; }
  .paper-strip__body strong { font-size: 1.35rem; }

  .family-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .family-card__media { aspect-ratio: 4 / 4.6; }
  .family-card h3 { font-size: 1.18rem; }
  .family-card__desc { font-size: 12.5px; }
  .family-card__specs { grid-template-columns: 1fr; gap: 7px; }
  .family-card__specs div { display: flex; justify-content: space-between; gap: 10px; }
  .family-card__specs dt { margin: 0; }
  .family-card__specs dd { text-align: right; }

  .app-row { grid-template-columns: 30px minmax(0, 1fr) 18px; padding: 14px 0; }
  .app-row h3 { font-size: 17px; }

  .cert-grid { grid-template-columns: 1fr 1fr; }
  .cert { min-height: 0; padding: 14px; }

  .guide-panel { padding: 24px 20px; }

  .cta__inner { padding-block: clamp(50px, 9vw, 64px); gap: 26px; }
  .cta__title { font-size: clamp(2rem, 8.4vw, 2.7rem); }
  .cta__lede { font-size: 14px; }

  .library-grid { grid-template-columns: 1fr; gap: 16px; }
  .library-card:first-child { grid-column: auto; }
  .library-card__media { aspect-ratio: 16 / 9; }

  /* App / application pages */
  .app-section { margin-bottom: 40px; }
  .app-section__title { padding-bottom: 10px; margin-bottom: 18px; font-size: 1.4rem; }
  .risk-grid { gap: 18px; }
  .protocol__step { padding-top: 14px; }
  .app-product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .app-product h3 { font-size: 14px; }
  .app-product p { font-size: 9px; letter-spacing: .08em; }

  /* Catalogue */
  .filter-bar { top: 0; }
  .filter-bar__inner { min-height: 54px; padding-inline: 0; }
  .filter-bar__label { display: none; }
  .filter-pills { padding: 9px var(--gutter) 9px 0; gap: 7px; }
  .pill { height: 34px; padding: 0 13px; font-size: 9px; }
  .catalog-toolbar { margin-bottom: 20px; }

  /* Product detail */
  .product-crumb { padding-top: calc(var(--header-h) + 16px); }
  .product-crumb .breadcrumb { margin-bottom: 16px; }
  .product-top { gap: 22px; padding-bottom: 38px; }
  .gallery-main { border: 0; background: #F4F0E7; }
  .p-title { font-size: clamp(1.75rem, 7.2vw, 2.3rem); }
  .p-desc { font-size: 14px; }
  .p-chips { margin-bottom: 20px; }
  .p-actions { gap: 8px; }
  .p-actions .btn { flex: 1 1 100%; }
  .product-body { padding-block: 40px 52px; }
  .p-section + .p-section { margin-top: 34px; }
  .p-aside { order: 3; }
  .quote-card { max-width: none; }
  .spec-table th { width: 40%; }
  .check-list { grid-template-columns: 1fr; }
  .product-nav { grid-template-columns: 1fr; }
  .product-nav .is-next { text-align: left; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }

  /* Sticky mobile conversion bar */
  .mobile-buybar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: rgba(246, 242, 233, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(13, 21, 18, .12);
    transform: translateY(110%);
    transition: transform .45s var(--ease-out);
  }
  .mobile-buybar.is-visible { transform: translateY(0); }
  .mobile-buybar__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
  }
  .mobile-buybar__meta span {
    font-size: 8px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .mobile-buybar__meta strong {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-buybar .btn { flex: 0 0 auto; min-height: 46px; padding: 0 18px; }
  body.has-buybar { padding-bottom: 78px; }
  body.has-buybar .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* Article pages */
  .guide-body { padding-block: 30px 56px; }
  .toc a.is-sub { display: none; }
  .toc { padding: 14px 16px; }
  .toc__label { display: none; }
  .toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    background: none;
    border: 0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brass-3);
  }
  .toc__toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .toc__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .toc.is-collapsed nav { display: none; }
  .toc.is-collapsed { padding-bottom: 14px; }
  .article-body .rte,
  .guide-body .rte { font-size: 16px; line-height: 1.78; }
  .guide-body .rte > p:first-of-type,
  .article-body > .rte > p:first-of-type { font-size: 16.5px; }
  .guide-body .rte h2,
  .article-body .rte h2 { font-size: 1.42rem; margin-top: 2em; }
  .guide-body .rte > p:first-of-type::first-letter,
  .article-body > .rte > p:first-of-type::first-letter { font-size: 2.7em; }
  .table-scroll { margin: 1.6em 0; }
  .rte .table-scroll table { min-width: 640px; font-size: 12.5px; }
  .table-scroll .spec-table { min-width: 0; width: 100%; }
  .guide-body .rte th,
  .guide-body .rte td { padding: 11px 12px; }

  /* Contact */
  .contact-section { padding-block: 34px 48px; }
  .contact-form-card { padding: 24px 18px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-form-card__foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .contact-form-card__foot .btn { width: 100%; }
  .next-steps { padding-block: 40px 48px; }
  .contact-faq { padding-block: 40px 52px; }

  /* Footer */
  .footer__top { padding-bottom: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__giant { font-size: clamp(44px, 15vw, 86px); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 0 24px; }
  .site-footer { padding-bottom: 8px; }
  .to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* 11.6 ≤ 560px — small phones ------------------------------------------- */
@media (max-width: 560px) {
  .brand__logo { width: 146px; }
  .topbar__inner { min-height: 32px; }
  .topbar__links { font-size: 9.5px; gap: 10px; }

  .family-grid { grid-template-columns: 1fr; gap: 28px; }
  .family-card__media { aspect-ratio: 4 / 3.9; }
  .family-card__specs { grid-template-columns: 1fr 1fr 1fr; }
  .family-card__specs div { display: block; }
  .family-card__specs dd { text-align: left; }

  .journal-grid,
  .journal-grid--listing { grid-template-columns: 1fr; gap: 28px; }
  .journal-feature__media { aspect-ratio: 16 / 10; }

  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .p-card__top { font-size: 8px; }
  .p-card h3 { font-size: 1rem; line-height: 1.28; }
  .p-card__foot { padding-top: 9px; }
  .p-card__link span { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }

  .app-product-grid { gap: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 13px; }
  .stat__num { font-size: 1.95rem; }
  .stat__label { font-size: 7.5px; letter-spacing: .16em; }

  .cert-grid { grid-template-columns: 1fr; }
  .cert { border-bottom: 1px solid var(--line-light-soft); }

  .faq-item__q { font-size: 1.02rem; padding: 18px 0; }
  .faq-item__a p { padding-right: 24px; }

  .article-nav { grid-template-columns: 1fr; }
  .article-nav .is-next { text-align: left; align-items: flex-start; }

  .mobile-menu__family-grid { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .mobile-menu__family-grid a { padding-block: 7px; font-size: 10.5px; }

  .footer__cols { grid-template-columns: 1fr; }
  .footer__col--contact { grid-column: auto; }
}

/* 11.7 ≤ 420px ----------------------------------------------------------- */
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .hero__title { font-size: clamp(1.95rem, 9.2vw, 2.4rem); }
  .display-2 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .page-hero__title { font-size: clamp(1.8rem, 8.6vw, 2.2rem); }
  .pchips,
  .p-chips { grid-template-columns: 1fr 1fr; }
  .p-actions .btn { min-height: 48px; font-size: 9.5px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .p-card__media { aspect-ratio: 4 / 3.4; }
  .p-card h3 { font-size: 1.08rem; }
  .app-product-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   13. Refinement pass — section rhythm, library cards, spec lists, figures
   ========================================================================== */

/* 13.1 Section rhythm: less dead space between bands ---------------------- */

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(44px, 5.2vw, 72px); }

/* 13.2 Section heads: stop the headline from becoming a wall of type ------ */

@media (min-width: 761px) {
  .section-head {
    grid-template-columns: minmax(150px, .48fr) minmax(0, 1.92fr);
    gap: clamp(26px, 4vw, 68px);
    padding-bottom: clamp(26px, 3vw, 40px);
    margin-bottom: clamp(32px, 3.6vw, 52px);
  }
  .section-head__body .display-2 {
    font-size: clamp(1.9rem, 3.05vw, 3.15rem);
    line-height: 1.06;
    max-width: 25ch;
    margin-bottom: 15px;
  }
  .section-head__body .lede { max-width: 56ch; font-size: 15px; line-height: 1.72; }
  .section-head__meta .eyebrow { white-space: nowrap; }
  .section-head__meta { padding-top: 4px; }
}

/* 13.3 Responsibility band: a ledger, not three loose columns ------------- */

.resp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}
.resp-item {
  position: relative;
  border-top: 0;
  border-right: 1px solid var(--line);
  padding: 26px clamp(18px, 2.2vw, 30px) 4px clamp(18px, 2.2vw, 30px);
  transition: background .4s var(--ease);
}
.resp-item:first-child { padding-left: 0; }
.resp-item:nth-child(3n) { border-right: 0; }
.resp-item:last-child { border-right: 0; }
.resp-item__num {
  display: block;
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brass-3);
  opacity: .55;
}
.resp-item h3 { font-size: clamp(1.2rem, 1.55vw, 1.5rem); margin-bottom: 9px; }
.resp-item p { font-size: 13px; line-height: 1.68; }
.resp-item:hover { background: rgba(255, 255, 255, .42); }

/* 13.4 Reference cards (home section 07) --------------------------------- */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.ref-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.2vw, 30px) clamp(20px, 2vw, 28px) clamp(20px, 2vw, 26px);
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(13, 21, 18, .1);
  color: inherit;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.ref-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--brass-3), var(--brass-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.ref-card:hover {
  background: #FFFFFF;
  border-color: rgba(176, 138, 82, .4);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -46px rgba(13, 21, 18, .55);
}
.ref-card:hover::before { transform: scaleX(1); }
.ref-card__num {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--brass-3);
}
.ref-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--ink);
}
.ref-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.ref-card__go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.ref-card__go svg { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.ref-card:hover .ref-card__go { color: var(--brass-3); }
.ref-card:hover .ref-card__go svg { transform: translateX(4px); }
.ref-card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

@media (max-width: 900px) {
  .ref-grid { grid-template-columns: 1fr; gap: 14px; }
  .ref-card { padding: 22px 20px; }
  .resp-grid { grid-template-columns: 1fr; }
  .resp-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 22px; }
  .resp-item:first-child { padding-left: 0; }
  .resp-item:last-child { border-bottom: 0; }
  .resp-item__num { margin-bottom: 16px; font-size: 26px; }
}

/* 13.5 Manifesto figure: floating credential card ------------------------ */

.manifesto__figure { position: relative; }
.manifesto__media { aspect-ratio: 4 / 5; }
.manifesto__media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 242, 233, .26);
  pointer-events: none;
}
.manifesto__badge {
  position: absolute;
  left: auto;
  right: -1px;
  bottom: 54px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-right: 2px solid var(--brass);
  box-shadow: 0 24px 50px -34px rgba(13, 21, 18, .55);
}
.manifesto__badge strong { font-size: 30px; }
.manifesto__badge span { font-size: 8px; letter-spacing: .16em; }
.manifesto__caption { margin-top: 16px; padding-top: 12px; }

@media (max-width: 760px) {
  .manifesto__media { aspect-ratio: 4 / 4.2; }
  .manifesto__media::after { inset: 10px; }
  .manifesto__badge { right: 0; bottom: 42px; padding: 12px 16px; }
  .manifesto__badge strong { font-size: 24px; }
}

/* 13.6 Technical band: equal-height media and steps ---------------------- */

.tech__grid { align-items: stretch; }
.tech__grid > figure { display: flex; flex-direction: column; }
.tech__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 420px; }
.tech__media img { height: 100%; object-fit: cover; }
.tech__caption { margin-top: 12px; }
.tech__steps { display: flex; flex-direction: column; justify-content: flex-start; }

@media (max-width: 1024px) {
  .tech__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* 13.7 Application specification: hairline list instead of a boxed table -- */

.spec-list {
  max-width: 900px;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.spec-list__row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec-list dt {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
@media (max-width: 700px) {
  .spec-list__row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }
  .spec-list dd { font-size: 13.5px; }
}

/* 13.8 Small refinements ------------------------------------------------- */

/* Keep the app section headings tight to their content. */
.app-section__title { margin-bottom: 18px; }
.app-section .table-scroll { margin: 0; }

/* Home library foot: align the note and the link on one line. */
.collection__foot { margin-top: clamp(24px, 3vw, 36px); padding-top: 18px; }

/* Stats band: remove the double gap under it. */
.stats { margin-bottom: 0; }

/* 13.9 About page principles — same ledger language as the home band ----- */

.principles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: clamp(44px, 5.5vw, 78px);
}
.principle {
  border-top: 0;
  border-right: 1px solid var(--line);
  padding: 24px clamp(16px, 1.8vw, 26px) 4px clamp(16px, 1.8vw, 26px);
}
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; }
.principle span {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brass-3);
  opacity: .55;
}
.principle h3 { font-weight: 400; }

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
  .principle {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0 20px;
  }
  .principle:last-child { border-bottom: 0; }
  .principle span { margin-bottom: 14px; font-size: 24px; }
}

/* 13.10 Stats band: calmer, larger figures ------------------------------- */

.stat {
  padding: clamp(30px, 3.2vw, 42px) clamp(18px, 2.2vw, 32px) clamp(26px, 2.8vw, 34px);
  transition: background .4s var(--ease);
}
.stat:hover { background: rgba(246, 242, 233, .035); }
.stat__num { font-size: clamp(2.35rem, 3.7vw, 3.75rem); }
.stat__label { letter-spacing: .19em; line-height: 1.65; }

/* 13.11 Tighter vertical rhythm between big bands ------------------------ */

.section { padding-block: clamp(52px, 6.2vw, 96px); }

/* 13.12 Article tables: editorial spec-sheet, not a spreadsheet ---------- */

.table-scroll {
  border: 0;
  border-top: 1px solid rgba(13, 21, 18, .32);
  border-bottom: 1px solid rgba(13, 21, 18, .32);
  background: transparent;
}
.rte thead th {
  background: transparent !important;
  border-bottom: 1px solid rgba(13, 21, 18, .3);
  color: var(--muted);
  font-weight: 600;
}
.rte tbody tr:nth-child(even) td { background: rgba(239, 233, 221, .26); }
.rte tbody tr:hover td { background: rgba(176, 138, 82, .08); }
.rte th, .rte td { border-bottom: 1px solid rgba(13, 21, 18, .09); }

/* 13.13 Home: tighten the tail of the manifesto band (stats sit low) ------ */

#standard { padding-bottom: clamp(38px, 4.4vw, 66px); }

/* 13.14 Mobile footer: collapsible link groups --------------------------- */

@media (max-width: 760px) {
  .footer__top { padding-bottom: 18px; gap: 24px; }
  .footer__brand { padding-bottom: 4px; }
  .footer__tagline { margin: 18px 0 16px; font-size: 15px; line-height: 1.55; }
  .footer__cols { gap: 0; }
  .footer__col { border-top: 1px solid rgba(246, 242, 233, .12); }
  .footer__col:first-child { border-top: 0; }
  .footer__col h2 { margin: 0; }
  .footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 15px 0;
    background: none;
    border: 0;
    color: var(--brass-2);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    text-align: left;
  }
  .footer__toggle svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    opacity: .7;
    transition: transform .35s var(--ease);
  }
  .footer__col.is-collapsed .footer__toggle svg { transform: rotate(-90deg); }
  .footer__col ul {
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .footer__col ul { gap: 0; }
  .footer__col ul li { padding: 0; }
  .footer__col a { font-size: 12.5px; line-height: 1.5; padding: 7px 0; display: block; }
  .footer__col:not(.footer__col--contact) ul { padding-bottom: 14px; }
  .footer__col.is-collapsed ul { padding-bottom: 0; }
  .footer__col--contact { padding-top: 12px; padding-bottom: 2px; }
  .footer__col--contact address p,
  .footer__col--contact address a { font-size: 12.5px; line-height: 1.6; }
  .footer__col--contact address a { margin-bottom: 4px; }
  .footer__hours { margin-top: 10px !important; }
  .footer__giant { margin-top: 26px; }
}

/* 14.1 Reading lists: remove the native bullet (we draw a brass diamond) --- */

.rte ul,
.guide-body .rte ul,
.article-body .rte ul { list-style: none; }

/* 14.2 Resources page: editorial note blocks ----------------------------- */

.resource-notes { display: block; }

.note-block {
  display: grid;
  grid-template-columns: minmax(230px, .74fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 84px);
  margin-top: clamp(46px, 5.4vw, 78px);
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--ink);
}
.note-block__head .eyebrow { margin-bottom: 12px; }
.note-block__title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
}
.note-block__intro {
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

.step-list { margin: 0; padding: 0; list-style: none; }
.step-list__item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}
.step-list__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--brass-3);
  padding-top: 4px;
}
.step-list h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.step-list p { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); }

.short-list { margin: 0; }
.short-list__row {
  display: grid;
  grid-template-columns: minmax(130px, 200px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.short-list dt {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.short-list dd { margin: 0; font-size: 13px; line-height: 1.62; color: var(--ink); }

@media (max-width: 900px) {
  .note-block { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-top: 24px; }
  .note-block__intro { max-width: none; }
  .note-block__title { font-size: 1.5rem; }
  .step-list__item { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 15px 0; }
  .step-list h3 { font-size: 17px; }
  .short-list__row { grid-template-columns: 1fr; gap: 5px; padding: 12px 0; }
  .short-list dd { font-size: 12.5px; }
}

/* 14.3 Home: close the gap between the library and the FAQ ---------------- */

#insights { padding-bottom: clamp(30px, 3.4vw, 52px); }
#faq.section--tight { padding-top: clamp(38px, 4.4vw, 62px); }

/* 14.4 Resources grid: six equal cards (a spanning feature left a hole) ---- */

.library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.library-card:first-child {
  display: flex;
  flex-direction: column;
  grid-column: auto;
}
.library-card:first-child .library-card__media { aspect-ratio: 16 / 9; height: auto; }
.library-card:first-child .library-card__media img { height: 100%; }
.library-card:first-child .library-card__body { justify-content: flex-start; padding: clamp(20px, 2.4vw, 28px); }
.library-card:first-child h3 { font-size: clamp(1.25rem, 1.55vw, 1.5rem); }
.library-card:first-child .text-link { margin-top: 18px; align-self: flex-start; }

/* The three-up library grid only holds on desktop; smaller screens fall back. */
@media (max-width: 900px) {
  .library-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .library-grid { grid-template-columns: 1fr; }
}

/* 14.5 App pages: one divider per block (title rule vs list rule) --------- */

.app-section:has(.protocol) .app-section__title,
.app-section:has(.spec-list) .app-section__title,
.app-section:has(.risk-grid) .app-section__title,
.app-section:has(.app-product-grid) .app-section__title {
  border-bottom: 0;
  padding-bottom: 2px;
}

/* 14.6 Ordered lists: brass numerals instead of default markers ----------- */

.rte ol { list-style: decimal; padding-left: 18px; }
.rte ol li { padding-left: 6px; margin-bottom: .5em; line-height: 1.7; }
.rte ol li::marker {
  color: var(--brass-3);
  font-family: var(--serif);
  font-size: .95em;
}

/* 15.1 Topic strips and cross-links (Field Notes hub + tag archives) ------ */

.tag-strip {
  background: rgba(239, 233, 221, .45);
  border-top: 1px solid var(--line);
}
.tag-strip__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  flex-wrap: wrap;
  padding-block: clamp(24px, 3vw, 38px);
}
.tag-strip .eyebrow { margin: 0; color: var(--muted); white-space: nowrap; }
.tag-strip__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(13, 21, 18, .16);
  background: rgba(255, 255, 255, .55);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tag-chip span {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--brass-3);
  transition: color .3s var(--ease);
}
.tag-chip:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag-chip:hover span { color: var(--brass-2); }

.cross-links { border-top: 1px solid var(--line); background: var(--paper); }
.cross-links__inner {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.55fr);
  gap: clamp(26px, 5vw, 78px);
  padding-block: clamp(40px, 5vw, 68px);
}
.cross-links__head .display-3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-top: 6px; }
.cross-links__list a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 3px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  transition: padding-left .4s var(--ease), border-color .3s var(--ease);
}
.cross-links__list a:first-child { border-top: 1px solid var(--line); }
.cross-links__list a:hover { padding-left: 8px; border-bottom-color: var(--brass); }
.cross-links__list span {
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--brass-3);
}
.cross-links__list b {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.cross-links__list em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.journal-card__title {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.012em;
}
.journal-card__title a { color: var(--ink); }
.journal-card__title a:hover { color: var(--brass-3); }
.journal-card__excerpt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .cross-links__inner { grid-template-columns: 1fr; gap: 20px; }
  .cross-links__list b { font-size: 17px; }
  .tag-strip__inner { padding-block: 22px; }
}

/* 15.2 Article reference links -------------------------------------------- */

.article-refs {
  margin: 34px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-refs .eyebrow { margin-bottom: 12px; color: var(--muted); }
.article-refs__list { display: flex; flex-wrap: wrap; gap: 10px 0; }
.article-refs__list a {
  position: relative;
  padding: 0 18px;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 21, 18, .18);
  margin-right: 18px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.article-refs__list a:hover { color: var(--brass-3); border-bottom-color: var(--brass); }
@media (max-width: 760px) {
  .article-refs__list a { padding: 0 0 2px; margin-right: 16px; }
}

/* 15.3 Tag archive list: rows, so a 4-note archive never leaves a hole ----- */

.tag-list { border-top: 1px solid var(--ink); }
.tag-item {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}
.tag-item__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.tag-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.tag-item:hover .tag-item__media img { transform: scale(1.045); }
.tag-item__body { min-width: 0; }
.tag-item__title {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.95vw, 1.72rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.tag-item__title a { color: var(--ink); }
.tag-item__title a:hover { color: var(--brass-3); }
.tag-item__excerpt {
  margin: 0 0 12px;
  max-width: 64ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.tag-item__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.tag-item__go svg { width: 14px; height: 14px; }
.tag-item:hover .tag-item__go { color: var(--brass-3); gap: 12px; }

@media (max-width: 760px) {
  .tag-item { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .tag-item__media { aspect-ratio: 16 / 9; }
  .tag-item__title { font-size: 1.28rem; margin: 6px 0 6px; }
  .tag-item__excerpt { font-size: 12.5px; margin-bottom: 8px; }
}

/* 16.1 Product detail: construction notes and product FAQ ----------------- */

.p-section--note p {
  max-width: 68ch;
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink);
}
.p-section--note p:last-child { margin-bottom: 0; }

.p-faq { border-top: 1px solid var(--line); }
.p-faq details { border-bottom: 1px solid var(--line-soft); }
.p-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--brass-3);
  transition: transform .3s var(--ease);
}
.p-faq details[open] summary svg { transform: rotate(45deg); }
.p-faq details p {
  margin: 0 0 16px;
  max-width: 74ch;
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--muted);
}

/* 16.2 Any .rte list outside the article templates keeps the brass marker.
   Product overview copy lives in .rte too; without this the markers vanish
   because the native bullet is removed globally. */
.rte ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: .45em;
  line-height: 1.7;
}
.rte ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}
.rte ul ul { margin-top: .4em; }
.rte ul ul li::before { border-color: var(--muted); }

/* 16.3 404: two-column recovery page, no dead space on the right ---------- */

.notfound__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}
.notfound__content { max-width: none; }
.notfound__aside {
  padding: 24px 26px 22px;
  background: rgba(11, 18, 15, .62);
  border: 1px solid rgba(246, 242, 233, .16);
  backdrop-filter: blur(3px);
}
.notfound__aside .eyebrow { color: var(--brass-2); margin-bottom: 6px; }
.notfound__links { list-style: none; margin: 0 0 18px; padding: 0; }
.notfound__links li { border-bottom: 1px solid rgba(246, 242, 233, .12); }
.notfound__links a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 1px 10px;
  padding: 12px 0;
  color: var(--paper);
  transition: padding-left .35s var(--ease);
}
.notfound__links a:hover { padding-left: 6px; }
.notfound__links span {
  grid-row: span 2;
  padding-top: 4px;
  font-family: var(--serif);
  font-size: 11px;
  color: var(--brass-2);
}
.notfound__links b {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.3;
  transition: color .3s var(--ease);
}
.notfound__links a:hover b { color: var(--brass-2); }
.notfound__links em {
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(246, 242, 233, .55);
}
.notfound__help { margin: 0; font-size: 12px; color: rgba(246, 242, 233, .6); }
.notfound__help a { color: var(--paper); border-bottom: 1px solid rgba(246, 242, 233, .3); }

@media (max-width: 1000px) {
  .notfound__inner { grid-template-columns: 1fr; gap: 34px; }
  .notfound__aside { max-width: 520px; }
  .notfound__links b { font-size: 15.5px; }
}

/* 16.4 In-article figures ------------------------------------------------ */

.article-figure {
  margin: clamp(28px, 3.4vw, 44px) 0;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.article-figure figcaption {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  letter-spacing: .04em;
  line-height: 1.55;
  color: var(--muted);
}

/* 17.1 Home: latest field notes band ------------------------------------- */

.notes-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--ink);
  padding-top: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(26px, 3vw, 40px);
}
.note-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 14px;
  padding: 0 2px 4px;
  color: inherit;
  position: relative;
}
.note-row__num {
  grid-row: span 2;
  padding-top: 6px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--brass-3);
}
.note-row__body { min-width: 0; }
.note-row__meta {
  display: block;
  margin-bottom: 8px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.note-row strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.note-row em {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.note-row__go {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 15px;
  height: 15px;
  color: var(--brass-3);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
}
.note-row:hover strong { color: var(--brass-3); }
.note-row:hover .note-row__go { opacity: 1; transform: translateX(0); }

/* 17.2 Product page: body copy uses compact editorial headings ------------ */

.p-section .rte h2 {
  margin: 1.7em 0 .5em;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
}
.p-section .rte > h2:first-child { margin-top: 0; }
.p-section .rte p {
  margin: 0 0 .95em;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
}
.p-section .rte ul { margin: .6em 0 1.1em; }
.p-section .rte li { font-size: 13.5px; line-height: 1.7; }
.p-section + .p-section { margin-top: clamp(30px, 3.2vw, 44px); }

/* 17.3 Cross-category banner: give the right end a purpose ---------------- */

.cross-category { padding: 16px 20px; }
.cross-category__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.cross-category:hover .cross-category__go { color: var(--brass-3); }
.cross-category__go svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .notes-strip { grid-template-columns: 1fr; gap: 18px; }
  .note-row { padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
  .note-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .note-row__go { display: none; }
}
@media (max-width: 700px) {
  .cross-category__go span { display: none; }
  .cross-category__go { padding-left: 14px; }
}

/* 17.4 Product page rhythm: keep the cross-sell off the footer edge -------- */

.product-body { padding-block: clamp(30px, 3.6vw, 52px); }
.cross-category {
  max-width: 920px;
  margin-top: 26px;
  margin-bottom: clamp(28px, 3.2vw, 46px);
}

/* 18. Article share: compact pill stack ----------------------------------- */

.share__label {
  margin: 0 0 12px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.share__links { display: flex; flex-direction: column; gap: 11px; }
.share__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease-out);
}
.share__link svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--brass-3); transition: color .3s var(--ease); }
.share__link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateX(3px);
}
.share__link:hover svg { color: var(--brass-2); }

/* 18.2 Article hero: meta below the lede, tighter hand-off to the body ----- */

.article-hero__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.6vw, 34px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-hero__foot a { color: var(--brass-3); }
.article-hero__dot { color: var(--brass); }
.article-hero__jump {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink) !important;
  transition: gap .3s var(--ease-out), color .3s var(--ease);
}
.article-hero__jump svg { width: 13px; height: 13px; color: var(--brass-3); }
.article-hero__jump:hover { gap: 12px; color: var(--brass-3) !important; }
.article-layout { padding-top: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) {
  .article-hero__jump { margin-left: 0; width: 100%; padding-top: 6px; }
}

/* 18.3 Share alignment, author line and topic chips ---------------------- */

.share__links { margin-left: 12px; }
.share__label { padding-left: 12px; }
.article-hero__byline {
  color: var(--ink) !important;
  font-weight: 500;
}

.article-tags {
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-tags__label {
  margin-right: 4px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-tags .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(13, 21, 18, .14);
  border-radius: 0;
  background: rgba(255, 255, 255, .45);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.article-tags .pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}
.article-tags .pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
@media (max-width: 760px) {
  .article-tags { align-items: flex-start; flex-direction: column; }
  .article-tags__label { margin-bottom: 2px; }
  .share__links, .share__label { margin-left: 0; padding-left: 0; }
}

/* 18.4 Share panel mirrors the ToC panel exactly ------------------------- */

.share {
  padding: 16px 16px 18px;
  border: 1px solid rgba(13, 21, 18, .12);
  border-top: 2px solid var(--ink);
  background: rgba(255, 255, 255, .5);
  border-radius: var(--radius-xs);
}
.share__label { padding-left: 0; margin-bottom: 10px; }
.share__links { margin-left: 0; gap: 9px; }
@media (max-width: 760px) {
  .share { padding: 14px 16px 16px; }
}

/* 18.5 Field notes and the bottom line ----------------------------------- */

.field-note {
  margin: clamp(24px, 3vw, 36px) 0;
  padding: 18px 22px;
  border-left: 2px solid var(--brass);
  background: rgba(239, 233, 221, .42);
}
.field-note strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.field-note::first-line { color: var(--ink); }
.article-body .field-note {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink);
}
.bottom-line {
  margin: 32px 0 8px !important;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-size: 14px !important;
  line-height: 1.75 !important;
}
.bottom-line strong {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-3);
  margin-right: 6px;
}
