/* ==========================================================================
   Water Treatment Chemicals — product dossier
   Design language: archival technical dossier.
   Warm paper, ink, brass rules, pine accents, serif display, mono labels.
   No frameworks. Hand-authored.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f6f3ec;
  --paper-deep: #eee9dd;
  --card: #fffdf8;
  --card-alt: #fbf8f1;

  --ink: #131a16;
  --ink-2: #3c463f;
  --ink-3: #6d756f;

  --pine: #26574a;
  --pine-dark: #0f211c;
  --pine-deep: #0a1713;

  --brass: #a9793a;
  --brass-light: #cba15f;
  --clay: #8d3b28;
  --tint: #e8efe9;

  --rule: rgba(19, 26, 22, 0.16);
  --rule-soft: rgba(19, 26, 22, 0.09);
  --rule-light: rgba(255, 253, 248, 0.18);

  --shadow-hard: 5px 5px 0 rgba(19, 26, 22, 0.07);
  --shadow-lift: 8px 8px 0 rgba(169, 121, 58, 0.16);

  --max: 1220px;
  --gutter: clamp(18px, 4vw, 40px);

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  letter-spacing: 0.005em;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
  height: auto;
}


a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brass);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.014em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.9rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.26;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 650;
  color: var(--ink);
}

::selection {
  background: rgba(169, 121, 58, 0.28);
}

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

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--rule);
  position: relative;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(30px, 4vw, 52px);
  max-width: 760px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  max-width: none;
}

.section-heading.split > p {
  color: var(--ink-2);
  font-size: 1rem;
  margin: 0;
  padding-bottom: 6px;
  border-left: 1px solid var(--rule);
  padding-left: clamp(16px, 2vw, 26px);
}

/* micro label */
.kicker,
.eyebrow {
  font-family: var(--mono);
  font-size: 0.685rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  flex: none;
}

/* ---------- 4. Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

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

.button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.button-ghost {
  border-color: var(--rule);
  color: var(--ink-2);
}

.button-ghost:hover {
  border-color: var(--brass);
  color: var(--ink);
}

.button-form-secondary {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink-2);
}

.button-form-secondary:hover {
  border-color: var(--pine);
  color: var(--pine);
}

/* ---------- 5. Header ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 243, 236, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(246, 243, 236, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.site-nav a {
  font-family: var(--mono);
  font-size: 0.715rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.site-nav a.nav-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.site-nav a.nav-cta:hover {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pine-deep);
  color: #f2efe6;
  padding-block: clamp(48px, 6vw, 88px) 0;
  isolation: isolate;
}

/* film-grain hatch: authored texture, no image file */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
      128deg,
      rgba(203, 161, 95, 0.055) 0px,
      rgba(203, 161, 95, 0.055) 1px,
      transparent 1px,
      transparent 9px
    ),
    radial-gradient(
      ellipse at 78% 12%,
      rgba(38, 87, 74, 0.75),
      transparent 62%
    );
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -80px;
  background: rgba(169, 121, 58, 0.5);
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  bottom: -180px;
  left: -120px;
  background: rgba(38, 87, 74, 0.85);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.hero .eyebrow {
  color: var(--brass-light);
}

.hero .eyebrow::before {
  background: var(--brass-light);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.1vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: #fbf8f1;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero-lead {
  font-size: clamp(1rem, 1.22vw, 1.1rem);
  line-height: 1.72;
  color: rgba(242, 239, 230, 0.78);
  max-width: 56ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero .button-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #14100a;
}

.hero .button-primary:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: #14100a;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.28);
}

.hero .button-ghost {
  border-color: rgba(242, 239, 230, 0.34);
  color: rgba(242, 239, 230, 0.88);
}

.hero .button-ghost:hover {
  border-color: var(--brass-light);
  color: #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.28);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--rule-light);
  padding-top: 18px;
}

.hero-points li {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.66);
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--rule-light);
}

.hero-points li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

/* hero visual */
.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-image-wrap {
  position: relative;
  border: 1px solid rgba(203, 161, 95, 0.42);
  padding: 8px;
  background: rgba(255, 253, 248, 0.045);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 556 / 205;
  object-fit: cover;
}

.hero-image-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(203, 161, 95, 0.3);
}

.hero-image-label span {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.2em;
  color: var(--brass-light);
}

.hero-image-label strong {
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 500;
  color: #fdfaf3;
  letter-spacing: 0;
}

.hero-note {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-left: 2px solid var(--brass);
  background: rgba(255, 253, 248, 0.045);
}

.hero-note .note-index {
  font-family: var(--mono);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--brass-light);
  opacity: 0.66;
  flex: none;
}

.hero-note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.62;
  color: rgba(242, 239, 230, 0.72);
}

/* trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-light);
  margin-top: clamp(28px, 4vw, 46px);
}

.trust-strip > div {
  padding: 20px 22px 24px;
  border-right: 1px solid var(--rule-light);
}

.trust-strip > div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fbf8f1;
  margin-bottom: 4px;
}

.trust-strip span {
  font-family: var(--mono);
  font-size: 0.655rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.52);
}

/* ---------- 7. Quick answer ---------- */
.quick-answer-section {
  border-top: 0;
  padding-block: clamp(38px, 4.6vw, 60px);
  background: var(--paper-deep);
}

.quick-answer {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.quick-answer-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.quick-answer-copy {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--ink-2);
}

.quick-answer > a,
.quick-answer-copy + a {
  font-family: var(--mono);
  font-size: 0.735rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
}

.quick-answer > a:hover {
  color: var(--ink);
}

/* ---------- 8. Problem cards ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.problem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: background 0.2s ease;
}

.problem-card:hover {
  background: var(--card);
  color: var(--ink);
}

.problem-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--brass);
  transition: width 0.3s ease;
}

.problem-card:hover::after {
  width: 100%;
}

.problem-number {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--mono);
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(19, 26, 22, 0.12);
  font-weight: 600;
}

.problem-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--pine);
  margin-bottom: 6px;
}

.problem-card:hover .problem-icon {
  border-color: var(--brass);
  color: var(--brass);
}

.problem-card h3 {
  font-size: 1.16rem;
  margin-bottom: 2px;
  max-width: 15ch;
}

.problem-card p {
  font-size: 0.885rem;
  line-height: 1.62;
  color: var(--ink-3);
  margin: 0 0 14px;
}

.card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.665rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--pine);
}

.card-link b {
  font-weight: 400;
  transition: transform 0.2s ease;
}

.problem-card:hover .card-link {
  color: var(--brass);
}

.problem-card:hover .card-link b {
  transform: translateX(4px);
}

/* ---------- 9. Scenarios ---------- */
.scenario-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  border: 1px solid var(--rule);
  background: var(--card);
  margin-bottom: clamp(26px, 3vw, 40px);
}

.scenario-image {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.scenario-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.scenario-image > span {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
}

.scenario-copy {
  padding: clamp(26px, 3vw, 42px);
  border-left: 1px solid var(--rule);
}

.scenario-copy h3 {
  font-size: clamp(1.28rem, 1.9vw, 1.62rem);
  margin-bottom: 12px;
}

.scenario-copy p {
  font-size: 0.93rem;
  color: var(--ink-2);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.885rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--pine);
}

.text-link:hover {
  color: var(--brass);
}

.text-link.light {
  color: var(--brass-light);
}

.text-link.light:hover {
  color: #fff;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.scenario-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  transition: background 0.2s ease;
}

.scenario-card:hover {
  background: var(--card-alt);
}

.scenario-card-top {
  margin: -24px -24px 18px;
}

.scenario-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-bottom: 1px solid var(--rule);
}

.scenario-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--ink-3);
  margin: 0 0 12px;
}

.scenario-card .text-link {
  margin-top: auto;
}

.scenario-card-contrast {
  background: var(--pine-dark);
  color: #eae6db;
}

.scenario-card-contrast:hover {
  background: var(--pine-deep);
}

.scenario-card-contrast h3 {
  color: #fbf8f1;
}

.scenario-card-contrast p {
  color: rgba(234, 230, 219, 0.7);
}

.scenario-card-contrast .kicker {
  color: var(--brass-light);
}

.scenario-card-contrast .kicker::before {
  background: var(--brass-light);
}

/* ---------- 10. Decision table ---------- */
.decision-section {
  background: var(--paper-deep);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

.table-shell table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table-shell thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.665rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
}

.table-shell tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
  color: var(--ink-2);
  line-height: 1.55;
}

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

.table-shell tbody tr:nth-child(even) {
  background: var(--card-alt);
}

.table-shell tbody tr:hover {
  background: var(--tint);
}

.table-shell tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 11. Catalogue toolbar ---------- */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  padding: 9px 15px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.675rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.16s ease;
}

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

.filter-button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.product-search input {
  width: min(300px, 62vw);
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--card);
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink);
}

.product-search input::placeholder {
  color: var(--ink-3);
}

.product-search input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 121, 58, 0.15);
}

.filter-status {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 0.695rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 12. Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule);
  margin-top: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--card);
  scroll-margin-top: 100px;
  transition: background 0.2s ease;
}

.product-card:target {
  background: #fdf6e7;
  box-shadow: inset 3px 0 0 var(--brass);
}

.product-card[hidden] {
  display: none;
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-code {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--brass);
  padding: 3px 8px;
  border: 1px solid rgba(169, 121, 58, 0.4);
  border-radius: 2px;
}

.product-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.product-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.product-card > p {
  font-size: 0.885rem;
  line-height: 1.62;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.product-card details {
  border-top: 1px dashed var(--rule);
  padding-top: 12px;
  margin-bottom: 16px;
}

.product-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.665rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine);
}

.product-card summary::-webkit-details-marker {
  display: none;
}

.product-card summary::before {
  content: "+";
  font-size: 0.95rem;
  line-height: 1;
  color: var(--brass);
}

.product-card details[open] summary::before {
  content: "–";
}

.product-card summary:hover {
  color: var(--brass);
}

.spec-list {
  margin: 14px 0 12px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}

.spec-list > div {
  display: grid;
  grid-template-columns: minmax(88px, 0.36fr) minmax(0, 0.64fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.spec-list dt {
  font-family: var(--mono);
  font-size: 0.665rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.spec-list dd {
  margin: 0;
  font-size: 0.845rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.product-card details > p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.product-ask {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.665rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.product-ask:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

/* ---------- 13. Selection process ---------- */
.selection-section {
  background: var(--pine-dark);
  color: #eae6db;
  border-top: 0;
}

.selection-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.40fr) minmax(0, 0.60fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: start;
}

.selection-grid .kicker {
  color: var(--brass-light);
}

.selection-grid .kicker::before {
  background: var(--brass-light);
}

.selection-grid h2 {
  color: #fbf8f1;
}

.section-intro {
  color: rgba(234, 230, 219, 0.72);
  font-size: 0.95rem;
  margin: 0 0 26px;
}

.selection-grid .button-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #14100a;
}

.selection-grid .button-primary:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.process-list {
  list-style: none;
  display: grid;
  counter-reset: step;
}

.process-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-light);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--rule-light);
}

.process-list li > span {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--brass-light);
  padding-top: 2px;
}

.process-list h3 {
  color: #fbf8f1;
  font-size: 1.08rem;
  margin-bottom: 5px;
}

.process-list p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.62;
  color: rgba(234, 230, 219, 0.68);
}

/* ---------- 13b. Parameter glossary ---------- */
.glossary-section {
  background: var(--paper-deep);
}

/* ---------- 14. Safety ---------- */
.safety-title h2 {
  margin-bottom: 0;
}

.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

.safety-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.safety-cards article {
  padding: 22px 22px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.safety-cards h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}

.safety-cards p {
  margin: 0;
  font-size: 0.855rem;
  line-height: 1.62;
  color: var(--ink-3);
}

.boundary-note {
  margin-top: clamp(26px, 3vw, 40px);
  padding: 20px 24px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--clay);
  background: var(--card-alt);
  font-size: 0.885rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- 15. FAQ ---------- */
.faq-section {
  background: var(--paper-deep);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 108px;
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 17px 44px 17px 0;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--brass);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details[open] summary {
  color: var(--pine);
}

.faq-list details > p,
.faq-list details > div {
  padding: 0 44px 18px 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink-2);
}

/* ---------- 16. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.contact-copy > p {
  color: var(--ink-2);
  font-size: 0.95rem;
  max-width: 42ch;
}

.contact-methods {
  display: grid;
  gap: 0;
  margin: 26px 0 26px;
  border-top: 1px solid var(--rule);
}

.contact-methods > a,
.contact-methods > address {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  font-style: normal;
}

.contact-methods > a:hover {
  color: var(--brass);
}

.contact-methods span[aria-hidden] {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--pine);
}

.contact-methods small {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.contact-methods strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-thumb {
  width: 100%;
  aspect-ratio: 556 / 205;
  object-fit: cover;
  border: 1px solid var(--rule);
  padding: 6px;
  background: var(--card);
}

/* form */
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--rule);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 0.635rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 118px;
  line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 121, 58, 0.14);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(109, 117, 111, 0.75);
}

.contact-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(141, 59, 40, 0.55);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.form-actions .button {
  flex: 1 1 190px;
}

.form-note {
  margin: 0;
  font-size: 0.755rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--pine);
  font-weight: 500;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--clay);
}

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--pine-deep);
  color: rgba(242, 239, 230, 0.68);
  padding-block: clamp(40px, 5vw, 64px) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule-light);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 14px;
  opacity: 0.94;
}

.footer-brand p {
  margin: 0;
  font-size: 0.83rem;
  color: rgba(242, 239, 230, 0.5);
  max-width: 26ch;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links h2 {
  font-family: var(--mono);
  font-size: 0.635rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin: 0 0 12px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.865rem;
  color: rgba(242, 239, 230, 0.72);
  text-decoration: none;
  transition: color 0.16s ease, padding-left 0.16s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(242, 239, 230, 0.42);
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 0.665rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.42);
}

.footer-bottom a {
  color: rgba(242, 239, 230, 0.62);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--brass-light);
}

/* ---------- 18. Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  background: #1f7a5c;
  color: #fff;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(10, 23, 19, 0.34),
    0 0 0 4px rgba(31, 122, 92, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  background: #25956f;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10, 23, 19, 0.4),
    0 0 0 5px rgba(31, 122, 92, 0.2);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}

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

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

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 640px;
  }
  .problem-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-answer,
  .selection-grid,
  .safety-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .faq-heading {
    position: static;
  }
  .section-heading.split {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .section-heading.split > p {
    border-left: 2px solid var(--brass);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px rgba(19, 26, 22, 0.1);
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 0.78rem;
  }
  .site-nav a.nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 13px 18px;
  }
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-strip > div:nth-child(2n) {
    border-right: 0;
  }
  .scenario-feature {
    grid-template-columns: 1fr;
  }
  .scenario-copy {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .safety-cards {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .header-inner {
    min-height: 66px;
  }
  .brand img {
    height: 28px;
  }
  .problem-grid,
  .scenario-grid,
  .trust-strip,
  .form-row {
    grid-template-columns: 1fr;
  }
  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
    padding: 16px 0;
  }
  .trust-strip > div:last-child {
    border-bottom: 0;
  }
  .problem-card,
  .scenario-card,
  .product-card {
    padding-inline: 20px;
  }
  .scenario-card-top {
    margin-inline: -20px;
  }
  .hero-points li {
    font-size: 0.65rem;
  }
  .process-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }
  .faq-list summary {
    font-size: 0.98rem;
    padding-right: 34px;
  }
  .faq-list details > p,
  .faq-list details > div {
    padding-right: 0;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
  }
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
