/* ============================================================
   FORM PRECISION LABS — PREMIUM SECONDARY-PAGE SYSTEM
   Loaded after style.css on every public page except home and PDPs.
   The file is deliberately presentation-only: existing content,
   behavior, IDs, forms, and data attributes remain untouched.
   ============================================================ */

:root {
  --bg: #f4f3ee;
  --surface: #ecebe5;
  --card: #ffffff;
  --ink: #111310;
  --muted: #62635e;
  --line: rgba(17, 19, 16, 0.14);
  --white: #ffffff;
  --container: 1640px;
  --pad: clamp(20px, 3.4vw, 58px);
  --subpage-forest: #153b31;
  --subpage-blue: #dcecf1;
  --subpage-sage: #dce8df;
  --subpage-cream: #f0ead8;
  --subpage-lilac: #e8e0ec;
  --subpage-coral: #eadbd4;
  --subpage-radius: clamp(22px, 2vw, 32px);
  --subpage-shadow: 0 24px 70px rgba(24, 28, 24, 0.07);
}

html {
  background: #f4f3ee;
}

body {
  background:
    radial-gradient(circle at 3% 16%, rgba(178, 221, 229, 0.22), transparent 23rem),
    radial-gradient(circle at 97% 35%, rgba(221, 199, 226, 0.2), transparent 27rem),
    #f4f3ee;
  color: var(--ink);
}

main {
  min-height: 58vh;
}

::selection {
  background: #183d33;
  color: #fff;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #2d6e5e;
  outline-offset: 3px;
}

/* ---------- compact compliance strip ---------- */
.topbar {
  padding: 7px 16px;
  background: #111310;
}

.topbar__inner {
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.135em;
}

/* ---------- inset, glassy navigation ---------- */
.header {
  top: 0;
  padding: 10px 14px;
  border: 0;
  background: rgba(244, 243, 238, 0.72);
  box-shadow: none;
  backdrop-filter: saturate(1.25) blur(18px);
  -webkit-backdrop-filter: saturate(1.25) blur(18px);
}

.header__inner {
  width: 100%;
  max-width: 1880px;
  height: 64px;
  padding-right: clamp(20px, 2vw, 34px);
  padding-left: clamp(20px, 2vw, 34px);
  border: 1px solid rgba(17, 19, 16, 0.12);
  border-radius: 18px;
  background: rgba(236, 235, 229, 0.88);
  box-shadow:
    0 16px 36px rgba(25, 28, 25, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.header__nav {
  gap: clamp(18px, 2vw, 34px);
}

.header__nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header__nav a::after {
  bottom: -7px;
}

.logo-f {
  font-size: 54px;
}

.header__actions {
  gap: clamp(17px, 1.8vw, 27px);
}

.icon-btn {
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-btn:hover {
  background: rgba(17, 19, 16, 0.06);
  opacity: 1;
}

/* ---------- editorial page mastheads ---------- */
main > .page-head {
  position: relative;
  isolation: isolate;
  width: calc(100% - 28px);
  max-width: 1880px;
  min-height: clamp(370px, 42vw, 650px);
  margin: 4px auto 0;
  padding:
    clamp(72px, 9vw, 142px)
    clamp(28px, 6vw, 108px)
    clamp(62px, 8vw, 120px);
  overflow: hidden;
  border: 1px solid rgba(17, 19, 16, 0.11);
  border-radius: var(--subpage-radius);
  background:
    radial-gradient(circle at 13% 15%, rgba(170, 221, 231, 0.8), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(228, 208, 231, 0.7), transparent 31%),
    radial-gradient(circle at 57% 98%, rgba(242, 230, 190, 0.8), transparent 37%),
    linear-gradient(135deg, #f8f7f2, #f2f0ea);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

main > .page-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(17, 19, 16, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 16, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
}

main > .page-head::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(250px, 34vw, 600px);
  aspect-ratio: 1;
  right: clamp(-180px, -7vw, -70px);
  bottom: clamp(-250px, -15vw, -110px);
  border: 1px solid rgba(17, 19, 16, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(32px, 4vw, 76px) rgba(255, 255, 255, 0.14),
    0 0 0 clamp(70px, 9vw, 150px) rgba(255, 255, 255, 0.08);
}

main > .page-head > * {
  position: relative;
  z-index: 1;
}

main > .page-head .eyebrow,
.about-hero__copy > .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(17, 19, 16, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #363a35;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

main > .page-head .eyebrow::before,
.about-hero__copy > .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d6e5e;
  box-shadow: 0 0 0 4px rgba(45, 110, 94, 0.11);
}

main > .page-head .h1 {
  max-width: 11ch;
  margin-top: clamp(24px, 3vw, 44px);
  font-family: var(--font-sans);
  font-size: clamp(58px, 7.7vw, 132px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

main > .page-head .lead {
  max-width: 48ch;
  margin-top: clamp(26px, 3vw, 44px);
  color: #555852;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.55;
}

main > .page-head .legal__updated {
  display: inline-flex;
  margin: 20px 0 -8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #555852;
  font-size: 11px;
  font-weight: 600;
}

/* ---------- shared white content frame ---------- */
main > .section--tight.container {
  width: calc(100% - 28px);
  max-width: 1880px;
  margin: 14px auto;
  padding:
    clamp(54px, 7vw, 116px)
    clamp(24px, 6vw, 108px) !important;
  border: 1px solid rgba(17, 19, 16, 0.1);
  border-radius: var(--subpage-radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--subpage-shadow);
}

/* ---------- long-form policy and documentation pages ---------- */
.legal {
  width: 100%;
  max-width: 960px;
}

.legal h2 {
  position: relative;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 46px) 0 0;
  border-top: 1px solid rgba(17, 19, 16, 0.14);
  font-family: var(--font-sans);
  font-size: clamp(29px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.legal h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal p,
.legal li {
  max-width: 78ch;
  color: #5f615b;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.78;
}

.legal p {
  margin-top: 18px;
}

.legal ul,
.legal ol {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding: 20px 22px 20px 43px;
  border: 1px solid rgba(17, 19, 16, 0.11);
  border-radius: 16px;
  background: #f7f6f1;
}

.legal a {
  color: #183f34;
  font-weight: 600;
  text-decoration-color: rgba(24, 63, 52, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal a:hover {
  text-decoration-color: currentColor;
}

.spec-table {
  width: 100%;
  max-width: none;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 16, 0.13);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  background: #fbfaf7;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th,
.spec-table td {
  padding: 18px clamp(16px, 2.2vw, 28px);
  border-bottom: 1px solid rgba(17, 19, 16, 0.1);
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
}

.spec-table th {
  width: 32%;
  color: #1a1d19;
  font-weight: 650;
}

.spec-table td {
  color: #63655f;
}

.spec-table td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(21, 59, 49, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #153b31;
  font-size: 12px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.spec-table td a:hover {
  background: #153b31;
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- FAQ: navigation cards beside clear question rows ---------- */
main > .section--tight.container:has(.faq-intro) {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 106px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.faq-intro > div {
  min-height: 126px;
  align-content: end;
  padding: clamp(21px, 3vw, 32px);
  border: 0;
  border-radius: 19px;
  background: var(--subpage-blue);
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.faq-intro > div:nth-child(2) {
  background: var(--subpage-cream);
}

.faq-intro > div:nth-child(3) {
  background: var(--subpage-sage);
}

.faq-intro > div:hover {
  box-shadow: 0 18px 38px rgba(21, 27, 23, 0.09);
  transform: translateY(-3px);
}

.faq-intro span {
  color: rgba(17, 19, 16, 0.54);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.faq-intro strong {
  max-width: 20ch;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.accordions.faq-list {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
}

.faq-list .acc {
  overflow: hidden;
  border: 1px solid rgba(17, 19, 16, 0.12);
  border-radius: 16px;
  background: #fff;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.faq-list .acc:hover,
.faq-list .acc.open {
  border-color: rgba(17, 19, 16, 0.25);
  background: #fbfaf7;
}

.faq-list .acc__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: clamp(21px, 2.2vw, 30px);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.faq-list .acc__icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(17, 19, 16, 0.14);
  border-radius: 50%;
  background: #f5f4ef;
  font-size: 18px;
}

.faq-list .acc__inner {
  max-width: 76ch;
  padding: 0 clamp(21px, 2.2vw, 30px) clamp(22px, 2.5vw, 34px);
  color: #60625d;
  font-size: 15px;
  line-height: 1.72;
}

/* ---------- shipping: animated route plus readable policy ---------- */
main > .section--tight.container:has(.ship-live) {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 6vw, 100px);
  align-items: start;
}

.ship-live {
  position: sticky;
  top: 106px;
  min-height: 420px;
  margin: 0;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid rgba(17, 19, 16, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 8%, rgba(177, 221, 229, 0.86), transparent 37%),
    radial-gradient(circle at 8% 100%, rgba(224, 207, 228, 0.62), transparent 35%),
    #f1efe8;
  box-shadow: 0 24px 64px rgba(25, 31, 26, 0.08);
}

.ship-live::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 19, 16, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.12);
}

.ship-live__route,
.ship-live__steps {
  position: relative;
  z-index: 1;
}

.ship-live__route {
  height: 110px;
  margin: 28px 2% 34px;
}

.ship-live__line {
  top: 49px;
  height: 1px;
  background: repeating-linear-gradient(90deg, #246656 0 12px, transparent 12px 21px);
}

.ship-live__point {
  top: 39px;
  width: 21px;
  height: 21px;
  border-color: #246656;
  background: #f4f3ee;
}

.ship-live__parcel {
  top: 27px;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #153b31;
  box-shadow: 0 12px 24px rgba(21, 59, 49, 0.22);
}

.ship-live__steps {
  grid-template-columns: 1fr;
  gap: 0;
}

.ship-live__steps div {
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: start;
  padding: 17px 0;
  border-top: 1px solid rgba(17, 19, 16, 0.12);
}

.ship-live__steps strong {
  color: #246656;
}

.ship-live__steps span {
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- contact and partner pages ---------- */
main > .section--tight.container:has(.contact-grid) {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(38px, 6vw, 78px);
}

.contact-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.contact-card {
  position: relative;
  min-height: 190px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--subpage-blue);
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.contact-card:nth-child(2),
.contact-card:nth-child(5) {
  background: var(--subpage-cream);
}

.contact-card:nth-child(3),
.contact-card:nth-child(6) {
  background: var(--subpage-sage);
}

.contact-card:nth-child(4) {
  background: var(--subpage-lilac);
}

.contact-card:hover {
  z-index: 1;
  box-shadow: 0 24px 46px rgba(24, 29, 25, 0.11);
  transform: translateY(-4px);
}

.contact-card h3 {
  color: rgba(17, 19, 16, 0.52);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.contact-card p,
.contact-card a,
.contact-card address {
  margin-top: 17px;
  overflow-wrap: anywhere;
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 520;
  letter-spacing: -0.026em;
  line-height: 1.35;
}

.contact-card p + p {
  margin-top: 3px;
  color: #60625d;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0;
}

.contact-card a {
  text-decoration: underline;
  text-decoration-color: rgba(17, 19, 16, 0.28);
  text-underline-offset: 4px;
}

.cta-block {
  position: relative;
  isolation: isolate;
  min-height: clamp(350px, 36vw, 570px);
  margin-top: 0 !important;
  padding: clamp(54px, 8vw, 126px);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 93% 14%, rgba(130, 199, 180, 0.28), transparent 34%),
    radial-gradient(circle at 5% 100%, rgba(105, 151, 177, 0.2), transparent 37%),
    #11352c;
  text-align: left;
}

.cta-block::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(260px, 35vw, 590px);
  aspect-ratio: 1;
  right: -10%;
  bottom: -54%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.035),
    0 0 0 96px rgba(255, 255, 255, 0.025);
}

.cta-block .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.cta-block .h1 {
  max-width: 10ch;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: clamp(52px, 6.8vw, 108px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.068em;
}

.cta-block p {
  max-width: 52ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
}

.cta-block .btn--primary {
  min-width: 176px;
  margin-top: 34px;
  border-color: #fff;
  background: #fff;
  color: #11352c;
}

/* ---------- about page ---------- */
.about-hero {
  position: relative;
  isolation: isolate;
  width: calc(100% - 28px);
  max-width: 1880px;
  min-height: clamp(650px, 70vw, 980px);
  margin: 4px auto 0;
  padding:
    clamp(54px, 7vw, 110px)
    clamp(28px, 5vw, 92px);
  gap: clamp(44px, 6vw, 102px);
  overflow: hidden;
  border: 1px solid rgba(17, 19, 16, 0.11);
  border-radius: var(--subpage-radius);
  background:
    radial-gradient(circle at 5% 7%, rgba(176, 223, 231, 0.65), transparent 30%),
    radial-gradient(circle at 95% 95%, rgba(225, 208, 230, 0.64), transparent 33%),
    #f8f7f2;
}

.about-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(rgba(17, 19, 16, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 16, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.about-hero__copy {
  position: relative;
  z-index: 2;
}

.about-hero__copy .h1 {
  max-width: 9ch;
  margin: clamp(28px, 4vw, 50px) 0 28px;
  font-family: var(--font-sans);
  font-size: clamp(58px, 6.4vw, 112px);
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.about-hero__copy .lead {
  max-width: 43ch;
  color: #454944;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

.about-hero__statement {
  max-width: 51ch;
  margin-top: 24px;
  color: #62645f;
  font-size: 15px;
  line-height: 1.68;
}

.about-hero__proof {
  gap: 9px;
  margin-top: 30px;
}

.about-hero__proof span {
  padding: 9px 12px;
  border: 1px solid rgba(17, 19, 16, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.about-hero__proof i {
  width: 6px;
  height: 6px;
  background: #2d6e5e;
  box-shadow: none;
}

.about-hero .hero__cta {
  gap: 10px;
  margin-top: 34px;
}

.about-hero .btn {
  min-width: 164px;
}

.about-hero__ruo {
  max-width: 60ch;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

.labviz {
  min-width: 0;
  padding: 13px;
  border-color: rgba(17, 19, 16, 0.17);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 12%, rgba(150, 127, 168, 0.28), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(74, 136, 123, 0.3), transparent 36%),
    linear-gradient(145deg, #f1f1eb, #d5d9d3);
  box-shadow: 0 36px 90px rgba(34, 41, 36, 0.15);
  transform: rotate(0.5deg);
}

.labviz::before {
  opacity: 0.18;
  background-size: 40px 40px;
}

.labviz__chips {
  inset: 19px 19px auto;
}

.labviz__chips span {
  padding: 8px 11px;
  border-color: rgba(17, 19, 16, 0.12);
  background: rgba(251, 250, 246, 0.78);
}

.motion-toggle {
  border-color: rgba(17, 19, 16, 0.18);
  background: rgba(251, 250, 246, 0.88);
}

.about-hero + .section--tight.container {
  width: calc(100% - 28px);
  max-width: 1880px;
}

.standards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.standards-grid article {
  min-height: 300px;
  padding: clamp(26px, 3.2vw, 48px);
  border: 0;
  border-radius: 21px;
  background: var(--subpage-blue);
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.standards-grid article:nth-child(2) {
  background: var(--subpage-cream);
}

.standards-grid article:nth-child(3) {
  background: var(--subpage-sage);
}

.standards-grid article:nth-child(4) {
  background: var(--subpage-lilac);
}

.standards-grid article:nth-child(5) {
  background: var(--subpage-coral);
}

.standards-grid article:nth-child(6) {
  background: var(--subpage-forest);
  color: #fff;
}

.standards-grid article:hover {
  z-index: 1;
  box-shadow: 0 28px 50px rgba(25, 31, 26, 0.12);
  transform: translateY(-5px);
}

.standards-grid article > span {
  margin-bottom: clamp(58px, 7vw, 106px);
  color: rgba(17, 19, 16, 0.5);
  font-size: 9px;
}

.standards-grid article:nth-child(6) > span {
  color: rgba(255, 255, 255, 0.55);
}

.standards-grid h2 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.3vw, 38px);
  font-weight: 520;
  letter-spacing: -0.045em;
}

.standards-grid p {
  max-width: 36ch;
  margin-top: 18px;
  color: rgba(17, 19, 16, 0.61);
  font-size: 14px;
  line-height: 1.62;
}

.standards-grid article:nth-child(6) p {
  color: rgba(255, 255, 255, 0.68);
}

.about-cta {
  min-height: 280px;
  margin-top: 12px;
  padding: clamp(38px, 6vw, 86px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 15%, rgba(126, 190, 173, 0.28), transparent 36%),
    #11352c;
}

.about-cta h2 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

/* ---------- catalog ---------- */
.catalog-page {
  background:
    radial-gradient(circle at 0 18%, rgba(174, 221, 230, 0.24), transparent 28rem),
    radial-gradient(circle at 100% 45%, rgba(224, 206, 230, 0.23), transparent 31rem),
    #f4f3ee;
}

.catalog-page main > section.container:not(.page-head) {
  width: calc(100% - 28px);
  max-width: 1880px;
  margin: 14px auto;
  padding: clamp(28px, 4vw, 64px) 0 var(--section) !important;
}

.catalog-page .research-collections {
  width: 100%;
  margin-bottom: 14px;
  padding: clamp(30px, 4vw, 64px);
  border-color: rgba(17, 19, 16, 0.12);
  border-radius: 25px;
  background:
    radial-gradient(circle at 94% 4%, rgba(134, 205, 188, 0.2), transparent 31%),
    linear-gradient(135deg, #14372f, #0d2b24);
  color: #fff;
  box-shadow: 0 30px 70px rgba(19, 49, 41, 0.15);
}

.catalog-page .research-collections::after {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 0 0 32px rgba(255, 255, 255, 0.025),
    0 0 0 68px rgba(255, 255, 255, 0.018);
}

.catalog-page .research-collections__intro h2 {
  max-width: 9ch;
  font-family: var(--font-sans);
  font-size: clamp(42px, 4.2vw, 72px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.058em;
}

.catalog-page .research-collections__intro > p:last-child,
.catalog-page .research-collections__note {
  color: rgba(255, 255, 255, 0.64);
}

.catalog-page .research-collections__note strong {
  color: #fff;
}

.catalog-page .research-live {
  border-color: rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 200, 187, 0.11), transparent 35%),
    rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.catalog-page .research-live__node > circle:not(.research-live__pulse) {
  fill: rgba(246, 248, 244, 0.95);
}

.catalog-page .research-live__status,
.catalog-page .research-live__status strong {
  color: rgba(255, 255, 255, 0.58);
}

.catalog-page .research-live__status span {
  color: #fff;
}

.catalog-page .research-filter__btn {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.catalog-page .research-filter__btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.catalog-page .research-filter__btn.is-active {
  border-color: #fff;
  background: #fff;
  color: #153b31;
}

.catalog-page .catalog-stage {
  width: 100%;
  margin: 0;
  padding-top: clamp(46px, 5vw, 86px);
  border-color: rgba(17, 19, 16, 0.1);
  border-radius: 25px;
  transform: none;
}

.catalog-page .catalog-stage__head h2 {
  max-width: 10ch;
  font-size: clamp(58px, 6vw, 108px);
}

.catalog-page .catalog-grid .pcard {
  border-radius: 18px;
}

.catalog-page .catalog-grid .pcard__img {
  background:
    linear-gradient(115deg, transparent 24%, rgba(255, 255, 255, 0.78) 42%, transparent 59%),
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--card-tone) 18%, white) 0 20%, rgba(246, 244, 238, 0.92) 50%, #f4f2ec 100%);
}

.catalog-page .research-profile,
.catalog-page .research-deep {
  border-color: rgba(17, 19, 16, 0.11);
  border-radius: 24px;
  box-shadow: none;
}

/* ---------- account and sign-in ---------- */
.account {
  min-height: clamp(670px, 78vh, 960px);
  padding: clamp(54px, 8vw, 110px) 14px;
}

.account__wrap {
  width: 100%;
  max-width: 1220px;
  padding: 0;
}

.account__signedout,
.account__signedin {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 16, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--subpage-shadow);
}

.account__signedout {
  min-height: 570px;
  padding: clamp(58px, 8vw, 118px);
}

.account__signedout::before {
  content: "f";
  position: absolute;
  z-index: -1;
  right: clamp(44px, 12vw, 180px);
  top: 50%;
  color: rgba(17, 19, 16, 0.83);
  font-family: var(--font-display);
  font-size: clamp(180px, 23vw, 380px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-49%);
}

.account__signedout::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: clamp(360px, 48vw, 760px);
  aspect-ratio: 1;
  right: clamp(-280px, -11vw, -90px);
  top: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(173, 222, 231, 0.92), transparent 40%),
    radial-gradient(circle at 72% 75%, rgba(224, 205, 229, 0.82), transparent 44%),
    #f1ead4;
  transform: translateY(-50%);
}

.account__signedin {
  padding: clamp(38px, 6vw, 78px);
}

.account__eyebrow {
  color: #2f6658;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.account__greeting,
.account__signedout h1 {
  max-width: 10ch;
  margin: 15px 0 22px;
  font-family: var(--font-sans);
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.account__signedout h1,
.account__signedout .account__sub,
.account__signedout > .btn,
.account__signedout > .account__eyebrow,
.account__signedout > .account__note {
  position: relative;
  z-index: 2;
}

.account__sub {
  max-width: 44ch;
  margin-bottom: 32px;
  color: #63655f;
  font-size: 16px;
  line-height: 1.65;
}

.account__orders {
  margin-top: 52px;
}

.account__orders-h,
.account__portal-head h2,
.account__profile-head h2 {
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 550;
  letter-spacing: -0.035em;
}

.account__portal-card,
.acct-order {
  border-color: rgba(17, 19, 16, 0.11);
  border-radius: 18px;
  background: #f8f7f3;
  box-shadow: none;
}

.account__portal-card {
  padding: clamp(24px, 3vw, 38px);
}

.acct-order {
  padding: 20px;
}

.account__support-form input,
.account__support-form textarea,
.account__reply-form textarea {
  min-height: 52px;
  padding: 14px 16px;
  border-color: rgba(17, 19, 16, 0.14);
  border-radius: 12px;
  background: #fff;
}

.account__support-form textarea,
.account__reply-form textarea {
  min-height: 122px;
}

.account__support-form input:focus,
.account__support-form textarea:focus,
.account__reply-form textarea:focus {
  border-color: #2d6e5e;
  box-shadow: 0 0 0 3px rgba(45, 110, 94, 0.09);
}

.account__off-default,
.acct-order__badge {
  border-color: rgba(17, 19, 16, 0.12);
  background: #fff;
}

.account__small-btn {
  min-height: 38px;
  border-radius: 999px;
}

.account__small-btn--primary {
  border-color: #153b31;
  background: #153b31;
}

/* ---------- footer ---------- */
.footer {
  margin: 14px;
  padding-top: clamp(58px, 7vw, 98px);
  overflow: hidden;
  border: 1px solid rgba(17, 19, 16, 0.11);
  border-radius: 25px;
  background:
    radial-gradient(circle at 3% 0%, rgba(182, 222, 230, 0.22), transparent 23rem),
    #e9e8e2;
}

.footer__grid {
  gap: clamp(34px, 5vw, 74px);
}

.footer__logo {
  font-size: 68px;
}

.footer__tag {
  max-width: 29ch;
  color: #666761;
}

.footer__col h4 {
  color: #777872;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer__col ul a {
  font-size: 14px;
}

.footer__col ul a:hover {
  color: #153b31;
}

.footer__bottom {
  border-color: rgba(17, 19, 16, 0.11);
}

/* ---------- motion polish ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn {
    transition:
      transform 180ms ease,
      background-color 180ms ease,
      color 180ms ease,
      border-color 180ms ease;
  }

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

/* ---------- medium layouts ---------- */
@media (max-width: 1120px) {
  main > .page-head {
    min-height: 480px;
  }

  main > .section--tight.container:has(.faq-intro),
  main > .section--tight.container:has(.ship-live) {
    grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
    gap: 38px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero__copy {
    max-width: 840px;
  }

  .about-hero__copy .h1 {
    max-width: 11ch;
  }

  .labviz {
    width: min(100%, 980px);
    justify-self: center;
  }

  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-page .research-collections {
    grid-template-columns: minmax(220px, 0.68fr) minmax(400px, 1.32fr);
  }
}

@media (max-width: 820px) {
  .header {
    padding: 8px 10px;
  }

  .header__inner {
    height: 60px;
    padding-right: 16px;
    padding-left: 16px;
    border-radius: 16px;
  }

  main > .page-head {
    width: calc(100% - 20px);
    min-height: 430px;
    padding:
      66px
      clamp(22px, 6vw, 48px)
      62px;
    border-radius: 23px;
  }

  main > .page-head .h1 {
    max-width: 12ch;
    font-size: clamp(54px, 13vw, 88px);
  }

  main > .section--tight.container,
  .about-hero + .section--tight.container,
  .catalog-page main > section.container:not(.page-head) {
    width: calc(100% - 20px);
  }

  main > .section--tight.container:has(.faq-intro),
  main > .section--tight.container:has(.ship-live) {
    display: block;
  }

  .faq-intro {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 34px;
  }

  .faq-intro > div {
    min-height: 132px;
    padding: 20px;
  }

  .ship-live {
    position: relative;
    top: auto;
    min-height: 0;
    margin-bottom: 52px;
  }

  .ship-live__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .ship-live__steps div {
    grid-template-columns: 1fr;
  }

  .about-hero {
    width: calc(100% - 20px);
    border-radius: 23px;
  }

  .account__signedout::before {
    right: 10%;
    opacity: 0.16;
  }

  .account__signedout::after {
    right: -48%;
    opacity: 0.72;
  }

  .footer {
    margin: 10px;
    border-radius: 22px;
  }
}

/* ---------- phones ---------- */
@media (max-width: 620px) {
  :root {
    --pad: 18px;
  }

  .topbar__inner {
    font-size: 9px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions > .icon-btn:first-child {
    display: none;
  }

  main > .page-head {
    min-height: 390px;
    padding: 54px 22px 50px;
  }

  main > .page-head::before {
    background-size: 44px 44px;
  }

  main > .page-head .h1 {
    margin-top: 28px;
    font-size: clamp(48px, 16vw, 70px);
    line-height: 0.89;
    letter-spacing: -0.065em;
  }

  main > .page-head .lead {
    margin-top: 26px;
    font-size: 15px;
  }

  main > .section--tight.container {
    padding: 42px 18px !important;
  }

  .legal h2 {
    margin-top: 46px;
    padding-top: 27px;
    font-size: 31px;
  }

  .legal p,
  .legal li {
    font-size: 15px;
    line-height: 1.72;
  }

  .legal ul,
  .legal ol {
    padding: 18px 18px 18px 36px;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table tbody {
    display: table;
    width: 620px;
  }

  .faq-intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-intro > div {
    min-height: 100px;
  }

  .faq-list .acc__head {
    padding: 20px 17px;
    font-size: 16px;
  }

  .faq-list .acc__inner {
    padding: 0 17px 23px;
  }

  .ship-live {
    margin-bottom: 40px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .ship-live__route {
    margin-right: 5%;
    margin-left: 5%;
  }

  .ship-live__steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ship-live__steps div {
    grid-template-columns: 36px 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-card {
    min-height: 152px;
  }

  .cta-block {
    min-height: 420px;
    padding: 48px 24px;
    border-radius: 18px;
  }

  .cta-block .h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .about-hero {
    min-height: 0;
    padding: 48px 20px 22px;
  }

  .about-hero__copy .h1 {
    margin-top: 28px;
    font-size: clamp(50px, 15.5vw, 72px);
  }

  .about-hero__proof {
    display: grid;
  }

  .about-hero__proof span {
    width: fit-content;
  }

  .labviz {
    padding: 7px;
    border-radius: 18px;
    transform: none;
  }

  .labviz__chips {
    inset: 12px 12px auto;
  }

  .labviz__chips span:nth-child(2),
  .labviz__chips span:nth-child(3) {
    display: none;
  }

  .motion-toggle {
    right: 12px;
    bottom: 38px;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .standards-grid article {
    min-height: 270px;
  }

  .about-cta {
    min-height: 360px;
    padding: 42px 25px;
  }

  .about-cta h2 {
    font-size: 47px;
  }

  .about-cta > div:last-child {
    width: 100%;
  }

  .about-cta .btn {
    width: 100%;
  }

  .catalog-page .research-collections {
    grid-template-columns: 1fr;
    padding: 30px 18px;
    border-radius: 20px;
  }

  .catalog-page .research-collections__intro h2 {
    font-size: 48px;
  }

  .catalog-page .research-live {
    min-height: 205px;
  }

  .catalog-page .research-live svg {
    height: 160px;
    transform: scale(0.9);
  }

  .catalog-page .research-live__status {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-page .catalog-stage {
    padding-top: 36px;
    border-radius: 20px;
  }

  .catalog-page .catalog-stage__head h2 {
    font-size: clamp(47px, 14vw, 65px);
  }

  .account {
    padding: 44px 10px;
  }

  .account__signedout,
  .account__signedin {
    border-radius: 20px;
  }

  .account__signedout {
    min-height: 550px;
    padding: 48px 22px;
  }

  .account__signedin {
    padding: 34px 18px;
  }

  .account__signedout::before {
    right: 12%;
    top: 75%;
    font-size: 240px;
    opacity: 0.14;
  }

  .account__signedout::after {
    right: -65%;
    top: 77%;
  }

  .account__greeting,
  .account__signedout h1 {
    font-size: 48px;
  }

  .account__portal-card {
    padding: 20px 16px;
  }

  .footer {
    margin: 8px;
  }
}

@media (max-width: 390px) {
  .header__inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  main > .page-head,
  main > .section--tight.container,
  .about-hero,
  .about-hero + .section--tight.container,
  .catalog-page main > section.container:not(.page-head) {
    width: calc(100% - 12px);
  }

  .catalog-page .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .standards-grid article,
  .faq-intro > div,
  .spec-table td a,
  .btn {
    transition: none !important;
  }

  .contact-card:hover,
  .standards-grid article:hover,
  .faq-intro > div:hover,
  .spec-table td a:hover,
  .btn:hover {
    transform: none;
  }
}

/* Keep the catalog product-first on larger screens: the first row begins
   within the opening viewport while the editorial system stays intact. */
@media (min-width: 821px) {
  .catalog-page main > .page-head {
    min-height: clamp(292px, 22vw, 350px);
    padding:
      clamp(42px, 4.5vw, 64px)
      clamp(42px, 6vw, 108px)
      clamp(38px, 4vw, 58px);
  }

  .catalog-page main > .page-head .h1 {
    margin-top: clamp(20px, 2vw, 30px);
    font-size: clamp(62px, 5.3vw, 88px);
  }

  .catalog-page .research-collections {
    grid-template-columns: minmax(240px, 0.72fr) minmax(520px, 1.28fr);
    gap: 22px;
    padding: clamp(24px, 2.2vw, 34px);
  }

  .catalog-page .research-live {
    min-height: 162px;
  }

  .catalog-page .research-live svg {
    height: 120px;
  }

  .catalog-page .catalog-stage {
    padding-top: clamp(30px, 2.7vw, 44px);
  }

  .catalog-page .catalog-stage__head h2 {
    font-size: clamp(52px, 4.4vw, 76px);
  }
}

.catalog-page .research-search {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
}

.catalog-page .research-search svg {
  width: 21px;
  height: 21px;
}

.catalog-page .research-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 13px/1 var(--font-sans);
  letter-spacing: 0.02em;
}

.catalog-page .research-search input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

/* ---------- compact two-up mobile catalog v5 ---------- */
@media (max-width: 700px) {
  .catalog-page main > .page-head {
    min-height: 300px;
    padding: 44px 20px 32px;
  }

  .catalog-page main > .page-head .h1 {
    margin-top: 20px;
    font-size: clamp(50px, 15vw, 62px);
  }

  .catalog-page main > section.container:not(.page-head) {
    margin-top: 8px;
    padding-top: 0 !important;
  }

  .catalog-page .research-collections {
    display: block;
    margin-bottom: 8px;
    padding: 10px 2px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .catalog-page .research-collections::after,
  .catalog-page .research-collections__intro,
  .catalog-page .research-live,
  .catalog-page .research-collections__note,
  .catalog-page .catalog-stage__head {
    display: none;
  }

  .catalog-page .research-collections__tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-page .research-search {
    min-height: 58px;
    padding: 0 18px;
    border-color: rgba(17, 19, 16, 0.1);
    background: #fff;
    color: #6b6b66;
    box-shadow: 0 12px 34px rgba(17, 19, 16, 0.05);
  }

  .catalog-page .research-search input {
    color: #111310;
    font-size: 13px;
  }

  .catalog-page .research-search input::placeholder {
    color: #8b8b85;
  }

  .catalog-page .research-filter {
    gap: 8px;
  }

  .catalog-page .research-filter__btn {
    padding: 9px 13px;
    border-color: rgba(23, 61, 50, 0.28);
    background: rgba(255, 255, 255, 0.72);
    color: #355b51;
    font-size: 9px;
  }

  .catalog-page .research-filter__btn.is-active {
    border-color: #173d32;
    background: #173d32;
    color: #fff;
  }

  .catalog-page .catalog-stage {
    padding-top: 10px;
  }

  .catalog-page .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-page .catalog-grid .pcard {
    min-width: 0;
    border-radius: 15px;
  }

  .catalog-page .catalog-grid .pcard__link {
    grid-template-rows: 62px auto;
  }

  .catalog-page .catalog-grid .pcard__head {
    padding: 11px 10px 9px;
  }

  .catalog-page .catalog-grid .pcard__name {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.03;
  }

  .catalog-page .catalog-grid .pcard__head::after {
    margin-top: 6px;
    font-size: 7px;
    letter-spacing: .11em;
    line-height: 1.15;
  }

  .catalog-page .catalog-grid .pcard__img {
    aspect-ratio: 1;
  }

  .catalog-page .catalog-grid .pcard__coa-badge {
    top: 8px;
    right: 8px;
    padding: 5px 7px;
    font-size: 7px;
  }

  .catalog-page .catalog-grid .pcard__foot {
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 50px;
  }

  .catalog-page .catalog-grid .pcard__foot > :first-child {
    padding: 8px 6px;
  }

  .catalog-page .catalog-grid .pcard__price {
    gap: 4px;
    font-size: 13px;
  }

  .catalog-page .catalog-grid .pcard__foot--variant .pcard__price::before {
    font-size: 7px;
  }

  .catalog-page .catalog-grid .pcard__btn {
    padding: 8px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .catalog-page .catalog-grid .pcard__btn::before {
    width: 22px;
    height: 22px;
    color: #173D32;
    font-size: 15px;
  }

  .catalog-page .catalog-grid .pcard__btn:hover::before,
  .catalog-page .catalog-grid .pcard__btn:focus-visible::before {
    color: #FFF;
  }
}

/* Exact-result library: keep all three fields readable without a sideways table on phones. */
@media (max-width: 600px) {
  .documentation-results {
    display: block;
    overflow: visible;
  }

  .documentation-results thead {
    display: none;
  }

  .documentation-results tbody {
    display: block;
    width: 100%;
  }

  .documentation-results tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
    padding: 16px;
    border-bottom: 1px solid rgba(17, 19, 16, .1);
  }

  .documentation-results tr:last-child {
    border-bottom: 0;
  }

  .documentation-results th,
  .documentation-results td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .documentation-results th {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }

  .documentation-results td:first-of-type {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.4;
  }

  .documentation-results td:last-of-type {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .documentation-results td a {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 10px;
  }
}
