/* ==========================================================================
   Blaq Glass landing page
   Structure: fonts, tokens, base, objects (container, section), components
   (BEM), motion, provisional small-screen fallback.
   ========================================================================== */

/* Fonts: Poppins, self-hosted (SIL Open Font License)
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-300-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens
   ========================================================================== */

:root {
  /* Ground */
  --ink: #131112;
  --ink-2: #1d1a1b;
  --ink-3: #2b2728;
  --line: #3b3637;
  --line-strong: #736d6f;
  --paper: #fff;

  /* Text on ink */
  --text: #fff;
  --text-2: #d0cbcc;
  --text-3: #a59fa1;

  /* Light, by wavelength (nm) */
  --wave-365: #7b2df2;
  --wave-405: #4336f4;
  --wave-450: #0b63f2;
  --wave-540: #1db85c;
  --wave-600: #ff8a0a;

  /* Glass colours in data graphics */
  --glass-clear: #e8e6e1;
  --glass-blue: #5b8cff;
  --glass-green: #3fcf6c;
  --glass-amber: #e0902f;

  --error: #ff7a66;

  --font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Round, like the logo */
  --r-pill: 999px;
  --r-lg: 2rem;
  --r-md: 1.5rem;
  --r-sm: .875rem;

  --gutter: clamp(1.5rem, 4.17vw, 3.75rem);
  --container: 82.5rem;
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --col-gap: 1.5rem;
  --section-y: clamp(4.5rem, 8.6vw, 8.5rem);
  --header-h: 6.75rem;
  --header-pad: 1.5rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - var(--header-pad) + 1rem);
  scrollbar-color: #5c5657 var(--ink);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--paper);
  accent-color: var(--wave-600);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

fieldset {
  min-width: 0;
  border: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--wave-600);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: .75rem;
  z-index: 100;
  padding: .75rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Objects
   ========================================================================== */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-bottom: var(--section-y);
}

.section > .container {
  padding-top: clamp(3.25rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

/* Section surfaces. Most sections sit on the page black, divided by a
   hairline. Data sections (protection, lab results) are raised onto a
   rounded dark panel; the applications section is the one light panel.
   The change of surface paces the long page; no hairline is needed next
   to a panel. */
.section--raised,
.section--light {
  margin-inline: clamp(.5rem, 1.25vw, 1.25rem);
  margin-bottom: var(--section-y);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  border-radius: clamp(1.5rem, 3vw, 2.75rem);
}

.section--raised {
  background: var(--ink-2);
}

.section--raised > .container,
.section--light > .container {
  border-top: 0;
}

/* A plain section right after a panel needs neither the hairline nor the
   top padding; a panel after a panel keeps its own padding. */
.section--raised + .section:not(.section--raised, .section--light) > .container,
.section--light + .section:not(.section--raised, .section--light) > .container {
  padding-top: 0;
  border-top: 0;
}

.section--light {
  --text: var(--ink);
  --text-2: #4a4446;
  --text-3: #6c6668;
  --line: #e1dcdd;
  --line-strong: #c8c2c3;

  background: var(--paper);
  color: var(--ink);
}

.section--light :focus-visible {
  outline-color: var(--ink);
}

.section--light ::selection {
  background: var(--ink);
  color: var(--paper);
}

.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  margin-bottom: clamp(2.5rem, 4.6vw, 4.25rem);
}

.section__head > .section__title {
  grid-column: 1 / span 7;
}

.section__head--wide > .section__title {
  grid-column: 1 / span 9;
}

.section__title {
  font-size: clamp(2rem, 3.35vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.section__lede {
  grid-column: 8 / span 5;
  padding-bottom: .25rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

/* Link
   ========================================================================== */

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.link:hover {
  text-decoration-thickness: 2px;
}

/* Button: fully round, like the logo
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.5rem;
  padding: .75rem 1.875rem;
  border: 1px solid var(--paper);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}

.btn:hover {
  background: var(--wave-600);
  border-color: var(--wave-600);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: .55;
  cursor: progress;
}

.btn__icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: -.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease-out);
}

.btn:hover .btn__icon {
  transform: translateX(.25rem);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--small {
  min-height: 2.75rem;
  padding: .5rem 1.375rem;
  font-size: .9375rem;
}

/* Chip: glass colour key
   ========================================================================== */

.chip {
  display: inline-block;
  flex: none;
  width: .75rem;
  height: .75rem;
  margin-right: .625rem;
  border-radius: 50%;
  background: var(--chip, var(--glass-clear));
}

.chip--clear { --chip: var(--glass-clear); }
.chip--blue { --chip: var(--glass-blue); }
.chip--green { --chip: var(--glass-green); }
.chip--amber { --chip: var(--glass-amber); }

.chip--blaq {
  --chip: #000;
  box-shadow: inset 0 0 0 1.5px var(--paper);
}

/* Site header
   ========================================================================== */

/* Sticky bar. Once it sticks, its background fades from the page black to
   fully transparent, so the logo stays readable while the frosted menu shows
   what scrolls under it. No border. */
.site-header {
  position: sticky;
  top: calc(-1 * var(--header-pad));
  z-index: 50;
}

.site-header.is-stuck {
  background: linear-gradient(to bottom, var(--ink), rgba(19, 17, 18, 0));
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: var(--header-h);
  padding-top: var(--header-pad);
}

.site-header__brand {
  flex: none;
  margin-right: auto;
}

.site-header__logo {
  width: auto;
  height: 3.25rem;
}

/* Menu pill (as on blaqglass.com): links and the quote button share one
   translucent capsule; the button is a white pill set inside it. */
.site-header__menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .3125rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-pill);
  background:
    linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .06)),
    rgba(19, 17, 18, .55);
}

/* Frosted glass, as on blaqglass.com: whatever scrolls under the menu is
   blurred and slightly saturated, so the links stay legible over photos. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header__menu {
    background:
      linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .06)),
      rgba(19, 17, 18, .5);
    -webkit-backdrop-filter: blur(8px) saturate(1.3);
    backdrop-filter: blur(8px) saturate(1.3);
  }
}

.site-nav__list {
  display: flex;
  gap: .125rem;
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 clamp(.875rem, 1.45vw, 1.5rem);
  border-radius: var(--r-pill);
  font-size: .9375rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s;
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, .08);
}

.site-nav__link[aria-current] {
  background: rgba(255, 255, 255, .12);
}

.site-nav__link:focus-visible,
.site-header__cta:focus-visible {
  outline-offset: 2px;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-left: .375rem;
  padding: 0 clamp(1.5rem, 2.4vw, 2.5rem);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-size: .8125rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s;
}

.site-header__cta:hover {
  background: var(--wave-600);
}

/* Hero
   ========================================================================== */

.hero {
  overflow-x: hidden;
  overflow-x: clip;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(1.75rem, 2.8vw, 2.5rem);
  align-items: center;
  min-height: min(calc(100vh - var(--header-h)), 51rem);
  padding-block: clamp(2rem, 3.6vw, 3.25rem) clamp(3rem, 5vw, 4.5rem);
}

.hero__copy {
  max-width: 30rem;
}

.hero__title {
  font-size: clamp(2.75rem, 4.55vw, 4.25rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -.035em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--strong {
  font-weight: 600;
}

/* What the product is, set as part of the headline under the slogan,
   introduced by the logo mark at the height of the type. */
.hero__title-sub {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 1.75vw, 1.625rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--text);
}

/* Hidden for now (undecided). Remove display: none to bring the mark back. */
.hero__title-sub::before {
  display: none;
  content: "";
  flex: none;
  width: .82em;
  height: 1.02em;
  background: url("../img/logo-mark.svg") center / contain no-repeat;
}

.hero__lede {
  max-width: 28rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero__lede-lead,
.hero__lede-key {
  font-weight: 500;
  color: var(--text);
}

.hero__lede-key {
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

.hero__actions .btn {
  padding-inline: clamp(1.125rem, 1.75vw, 1.875rem);
}

/* Light test: three coloured glasses and Blaq in front of a band of light.
   Blaq is the larger bottle; all stand on one floor line.
   Geometry is set in whole pixels per breakpoint so the band and the
   filtered copies inside each bottle share exact edges.
   ========================================================================== */

.light-test {
  --bw-s: 128px;
  --bw-l: 172px;
  --gap: 16px;
  --gap-l: 26px;
  --lead: 70px;
  --row: 21px;

  --bh-s: calc(var(--bw-s) * 581 / 240);
  --bh-l: calc(var(--bw-l) * 581 / 240);
  --x-blaq: calc(var(--lead) + var(--bw-s) * 3 + var(--gap) * 2 + var(--gap-l));
  /* Band centred on the body of the small bottles (body centre sits at 40 % of the bottle height). */
  --band-bottom: calc(var(--bh-s) * .4 - var(--row) * 2.5);

  position: relative;
  isolation: isolate;
  width: calc(var(--x-blaq) + var(--bw-l));
}

@media (min-width: 87.5rem) {
  .light-test {
    --bw-s: 148px;
    --bw-l: 196px;
    --gap: 20px;
    --gap-l: 30px;
    --lead: 64px;
    --row: 24px;
  }
}

/* A soft wash of the band's light behind the coloured bottles. It fades out
   before it reaches Blaq, so the black bottle stands in the dark: the light
   test, told by the background too. */
.light-test::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -6rem;
  bottom: -5rem;
  left: -10rem;
  right: -10rem;
  background:
    radial-gradient(ellipse 34% 42% at 38% 52%, rgba(86, 64, 245, .2), transparent),
    radial-gradient(ellipse 24% 30% at 46% 60%, rgba(29, 184, 92, .06), transparent),
    radial-gradient(ellipse 22% 28% at 52% 64%, rgba(255, 138, 10, .07), transparent);
  pointer-events: none;
}

.light-test__light {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% + var(--edge));
  height: var(--bh-l);
}

.light-test__band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--band-bottom);
  height: calc(var(--row) * 5);
}

.light-test__stripe {
  display: flex;
  align-items: center;
  height: var(--row);
  background: var(--wave);
}

.light-test__stripe:nth-child(1),
.light-test__pass:nth-child(1) { --wave: var(--wave-365); --k: 4; }

.light-test__stripe:nth-child(2),
.light-test__pass:nth-child(2) { --wave: var(--wave-405); --k: 3; }

.light-test__stripe:nth-child(3),
.light-test__pass:nth-child(3) { --wave: var(--wave-450); --k: 2; }

.light-test__stripe:nth-child(4),
.light-test__pass:nth-child(4) { --wave: var(--wave-540); --k: 1; }

.light-test__stripe:nth-child(5),
.light-test__pass:nth-child(5) { --wave: var(--wave-600); --k: 0; }

.light-test__nm {
  padding-left: .875rem;
  font-size: .75rem;
  line-height: 1;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
}

.light-test__stripe--540 .light-test__nm,
.light-test__stripe--600 .light-test__nm {
  color: var(--ink);
}

/* The band as seen through each glass: every stripe is dimmed to that
   glass's transmission at that wavelength (values read from the lab curves).
   The band crosses each bottle where its wall is straight, so the filtered
   copy is a plain strip inset to the photographed glass edge (--inset). */

.light-test__filter {
  --inset: .6%;
  position: absolute;
  bottom: 0;
  left: calc(var(--lead) + (var(--bw-s) + var(--gap)) * var(--i));
  width: var(--bw-s);
  height: var(--bh-s);
}

.light-test__filter--blue { --i: 0; }
.light-test__filter--green { --i: 1; }
.light-test__filter--amber { --i: 2; --inset: 2.9%; }

.light-test__filter--blaq {
  left: var(--x-blaq);
  width: var(--bw-l);
  height: var(--bh-l);
}

.light-test__pass {
  position: absolute;
  left: var(--inset);
  right: var(--inset);
  bottom: calc(var(--band-bottom) + var(--row) * var(--k));
  height: var(--row);
  background: var(--ink);
}

.light-test__pass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wave);
  opacity: var(--t, 0);
}

.light-test__filter--blue .light-test__pass:nth-child(1) { --t: .63; }
.light-test__filter--blue .light-test__pass:nth-child(2) { --t: .8; }
.light-test__filter--blue .light-test__pass:nth-child(3) { --t: .7; }
.light-test__filter--blue .light-test__pass:nth-child(4) { --t: .1; }
.light-test__filter--blue .light-test__pass:nth-child(5) { --t: .04; }

.light-test__filter--green .light-test__pass:nth-child(3) { --t: .06; }
.light-test__filter--green .light-test__pass:nth-child(4) { --t: .57; }
.light-test__filter--green .light-test__pass:nth-child(5) { --t: .25; }

.light-test__filter--amber .light-test__pass:nth-child(4) { --t: .3; }
.light-test__filter--amber .light-test__pass:nth-child(5) { --t: .44; }

.light-test__glasses {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  margin-left: var(--lead);
}

.light-test__glass {
  display: grid;
  grid-template-rows: var(--bh-l) 5rem auto;
  justify-items: center;
  width: var(--bw-s);
}

.light-test__glass--blaq {
  width: var(--bw-l);
  margin-left: calc(var(--gap-l) - var(--gap));
}

.light-test__photo {
  align-self: end;
  width: var(--bw-s);
  height: var(--bh-s);
}

.light-test__glass--blaq .light-test__photo {
  width: var(--bw-l);
  height: var(--bh-l);
}

/* Translucent glass adds its reflections to the light behind it;
   Blaq stays an opaque photograph. */
.light-test__glass--blue .light-test__photo,
.light-test__glass--green .light-test__photo,
.light-test__glass--amber .light-test__photo {
  mix-blend-mode: screen;
}

.light-test__value {
  align-self: end;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Sun icon in front of the coloured glasses' figures (as on blaqglass.com):
   this much light gets in. Blaq has no sun. */
.light-test__sun {
  flex: none;
  width: .7em;
  height: .7em;
  margin-right: .2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.light-test__glass--blue .light-test__value,
.light-test__glass--green .light-test__value,
.light-test__glass--amber .light-test__value {
  display: flex;
  align-items: center;
}

.light-test__unit {
  margin-left: .14em;
  font-size: .56em;
  letter-spacing: 0;
}

.light-test__glass--blaq .light-test__value {
  font-size: 3.25rem;
  font-weight: 600;
  letter-spacing: -.045em;
  color: var(--text);
}

.light-test__glass--blaq .light-test__unit {
  font-size: .44em;
  font-weight: 500;
}

.light-test__name {
  display: flex;
  align-items: center;
  height: 2rem;
  margin-top: .625rem;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: lowercase;
  color: var(--text-3);
}

.light-test__glass--blue .light-test__name { color: var(--glass-blue); }
.light-test__glass--green .light-test__name { color: var(--glass-green); }
.light-test__glass--amber .light-test__name { color: var(--glass-amber); }

.light-test__logo {
  display: block;
  width: auto;
  height: 1.75rem;
}

.light-test__logo-mark {
  fill: var(--paper);
}

.light-test__logo-word {
  fill: var(--text-3);
}

.light-test__caption {
  /*max-width: 34rem;*/
  margin: 1.5rem 0 0 var(--lead);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
  color: var(--text-3);
}

/* Intro
   ========================================================================== */

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}

.intro__lead {
  grid-column: 1 / span 6;
}

.intro__text {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-2);
  text-wrap: pretty;
}

.intro__lead-in {
  display: block;
  margin-bottom: .5rem;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text);
}

.intro__key {
  font-weight: 500;
  color: var(--text);
}

.reason-list {
  grid-column: 7 / span 6;
  border-bottom: 1px solid var(--line-strong);
}

.reason-list__item {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 14fr);
  column-gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0 1.0625rem;
  border-top: 1px solid var(--line-strong);
}

.reason-list__title {
  font-size: 1.0625rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.012em;
}

.reason-list__text {
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text-2);
}

/* Stat row: the four facts a buyer remembers, large and scannable.
   ========================================================================== */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.stat-row__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--paper);
}

.stat-row__value {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.stat-row__label {
  max-width: 17rem;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--text-2);
}

/* Explorer: one wavelength control redraws every bar, figure and marker
   ========================================================================== */

.explorer {
  --wave: var(--paper);
}

.explorer[data-wave="365"] { --wave: var(--wave-365); }
.explorer[data-wave="405"] { --wave: var(--wave-405); }
.explorer[data-wave="450"] { --wave: var(--wave-450); }
.explorer[data-wave="540"] { --wave: var(--wave-540); }
.explorer[data-wave="600"] { --wave: var(--wave-600); }

.explorer__modes {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr));
  gap: .25rem;
  padding: .3125rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}

.explorer__legend {
  float: left;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wave-option {
  --opt: var(--paper);
  --opt-text: var(--ink);
  position: relative;
  display: block;
  cursor: pointer;
}

.wave-option--365 { --opt: var(--wave-365); --opt-text: var(--paper); }
.wave-option--405 { --opt: var(--wave-405); --opt-text: var(--paper); }
.wave-option--450 { --opt: var(--wave-450); --opt-text: var(--paper); }
.wave-option--540 { --opt: var(--wave-540); }
.wave-option--600 { --opt: var(--wave-600); }

.wave-option__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.wave-option__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  line-height: 1.2;
  color: var(--text-2);
  white-space: nowrap;
  transition: background-color .25s, color .25s;
}

.wave-option__label::before {
  content: "";
  flex: none;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--opt);
}

.wave-option__nm {
  font-weight: 600;
  color: var(--text);
  transition: color .25s;
}

.wave-option:hover .wave-option__label {
  background: var(--ink-3);
  color: var(--text);
}

.wave-option__input:checked + .wave-option__label {
  background: var(--opt);
  color: var(--opt-text);
  font-weight: 500;
}

.wave-option__input:checked + .wave-option__label::before {
  background: var(--opt-text);
}

.wave-option__input:checked + .wave-option__label .wave-option__nm {
  color: inherit;
}

.wave-option__input:focus-visible + .wave-option__label {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.explorer__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  margin-top: 3rem;
}

.explorer__readout {
  grid-column: 1 / span 5;
}

.explorer__subtitle {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
}

.meter-list {
  display: grid;
  gap: 1.125rem;
  margin-top: 1.75rem;
}

.meter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  row-gap: .5rem;
}

.meter__name {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--text-2);
}

.meter__value {
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.meter__track {
  grid-column: 1 / -1;
  display: block;
  height: .875rem;
  border-radius: var(--r-pill);
  background: var(--ink-3);
}

.meter__fill {
  display: block;
  width: calc(var(--ratio, 0) * 100%);
  min-width: .875rem;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--wave);
  transition: width .8s var(--ease-out), background-color .35s;
}

.meter--blaq .meter__name {
  font-weight: 600;
  color: var(--text);
}

.meter--blaq .meter__value {
  font-size: 2rem;
  font-weight: 600;
}

.explorer__insight {
  min-height: 4.75rem;
  margin-top: 1.75rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.explorer__insight-blaq {
  font-weight: 600;
  color: var(--text);
}

/* Spectrum chart
   ========================================================================== */

.spectrum-chart {
  grid-column: 6 / span 7;
  padding-left: 1.5rem;
}

.spectrum-chart__svg {
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font);
}

.spectrum-chart__uv {
  fill: #1b1626;
}

.spectrum-chart__grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.spectrum-chart__axis {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.spectrum-chart__ticks text,
.spectrum-chart__zones text {
  fill: var(--text-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.spectrum-chart__curve {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spectrum-chart__curve--clear { stroke: var(--glass-clear); stroke-dasharray: 2 7; }
.spectrum-chart__curve--blue { stroke: var(--glass-blue); }
.spectrum-chart__curve--green { stroke: var(--glass-green); }
.spectrum-chart__curve--amber { stroke: var(--glass-amber); }
.spectrum-chart__curve--blaq { stroke: var(--paper); stroke-width: 4; }

.spectrum-chart__label {
  font-size: 12.5px;
  font-weight: 500;
}

.spectrum-chart__label--clear { fill: var(--glass-clear); }
.spectrum-chart__label--blue { fill: var(--glass-blue); }
.spectrum-chart__label--green { fill: var(--glass-green); }
.spectrum-chart__label--amber { fill: var(--glass-amber); }
.spectrum-chart__label--blaq { fill: var(--paper); font-weight: 600; }

.spectrum-chart__marker {
  transition: transform .8s var(--ease-out);
}

.spectrum-chart__marker line {
  stroke: var(--wave);
  stroke-width: 2;
  stroke-linecap: round;
}

.spectrum-chart__marker text {
  fill: var(--paper);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.spectrum-chart__caption {
  margin-top: .75rem;
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-3);
}

/* Fact list
   ========================================================================== */

.fact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.fact-list__item {
  padding-top: 1.125rem;
  border-top: 2px solid var(--paper);
}

.fact-list__title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
}

.fact-list__text {
  max-width: 22rem;
  margin-top: .5rem;
  font-size: .9375rem;
  color: var(--text-2);
}

/* Product family
   ========================================================================== */

.range__list {
  display: grid;
  gap: clamp(3.5rem, 6.25vw, 6rem);
}

.family {
  --stage: var(--ink-2);
  --stage-text: var(--paper);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.family--365 { --stage: var(--wave-365); }
.family--450 { --stage: var(--wave-450); }
.family--540 { --stage: var(--wave-540); --stage-text: var(--ink); }
.family--600 { --stage: var(--wave-600); --stage-text: var(--ink); }

.family__stage {
  grid-column: 1 / span 7;
  grid-row: 1;
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 27.5rem;
  padding: 5rem 2.5rem 2.75rem;
  border-radius: var(--r-lg);
  background: var(--stage);
  color: var(--stage-text);
}

.family__body {
  grid-column: 8 / span 5;
  grid-row: 1;
  align-self: center;
  padding: 1.5rem 0 1.5rem 1.5rem;
}

.family--flip .family__stage {
  grid-column: 6 / span 7;
}

.family--flip .family__body {
  grid-column: 1 / span 5;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.family__tag {
  position: absolute;
  left: 2rem;
  top: 1.625rem;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

/* A low, wide group of products reads better centred in its stage than
   standing on the bottom edge. */
.family__stage--center {
  place-items: center;
}

.family__photo {
  width: auto;
  max-width: 100%;
  max-height: 20rem;
}

.family__photo--wide {
  max-width: min(100%, 38rem);
  max-height: none;
}

.family__photo--tall {
  max-height: 21.5rem;
}

.family__title {
  font-size: clamp(1.625rem, 2.3vw, 2.125rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.028em;
}

.family__text {
  margin-top: .75rem;
  color: var(--text-2);
  text-wrap: pretty;
}

.spec-list {
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.spec-list__row {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: .625rem 0;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.5;
}

.spec-list__term {
  color: var(--text-3);
}

.spec-list__value {
  font-variant-numeric: tabular-nums;
}

.family .btn {
  margin-top: 1.75rem;
}

/* Component grid
   ========================================================================== */

.component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem var(--col-gap);
}

/* Every stage is exactly 4:3. The photo is positioned out of flow and
   contained, so it can never stretch the stage (Safari otherwise sizes an
   aspect-ratio box from its content). Padding lives in --stage-pad. */
.component__stage {
  --stage-pad: 1.75rem;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink-2);
}

@supports not (aspect-ratio: 4 / 3) {
  .component__stage {
    height: 0;
    padding-bottom: 75%;
  }
}

.component__photo {
  position: absolute;
  top: var(--stage-pad);
  left: 9%;
  width: 82%;
  height: calc(100% - 2 * var(--stage-pad));
  max-width: none;
  object-fit: contain;
}

.component__title {
  margin-top: 1.125rem;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.018em;
}

.component__text {
  margin-top: .125rem;
  font-size: .9375rem;
  color: var(--text-2);
}

/* Customization
   ========================================================================== */

.packaging-branding {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 4.5vw, 4rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.packaging-branding__head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.packaging-branding__title {
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.packaging-branding__lede {
  max-width: 34rem;
  color: var(--text-2);
  text-wrap: pretty;
}

.packaging-branding__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.packaging-branding-option {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 2.5rem;
}

.packaging-branding-option--print {
  grid-template-columns: max-content minmax(0, 1fr);
}

.packaging-branding-option--emboss {
  gap: 3rem;
}

.packaging-branding-option__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 13rem;
}

.packaging-branding-option__photo {
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.packaging-branding-option--print .packaging-branding-option__photo {
  height: 13rem;
  justify-self: start;
}

.packaging-branding-option__body {
  max-width: 23rem;
}

.packaging-branding-option__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
}

.packaging-branding-option__text {
  margin-top: 1.5rem;
  font-size: .9375rem;
  color: var(--text-2);
  text-wrap: pretty;
}

/* Applications
   ========================================================================== */

/* Applications: open rows with soft circular checks, read left to right.
   Three columns on desktop, two on tablet, one on small screens. */
.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 2.5rem) var(--col-gap);
  margin-bottom: 2.5rem;
}

.check-list__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.5rem;
  color: var(--ink);
}

.check-list__icon {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  fill: color-mix(in srgb, var(--ink) 6%, var(--paper));
}

.check-list__icon path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-list__text {
  min-width: 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.uses__note {
  padding-top: 1.125rem;
  font-size: .9375rem;
  color: var(--text-3);
}

/* Why brands choose Blaq
   ========================================================================== */

.brand-benefits__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.brand-benefits__item {
  display: grid;
  grid-template-rows: 2.5rem auto 1fr;
  align-content: start;
}

.brand-benefits__icon {
  fill: currentColor;
}

.brand-benefits__title {
  margin-top: 2rem;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.brand-benefits__text {
  margin-top: .75rem;
  max-width: 28ch;
  color: var(--text-2);
  text-wrap: pretty;
}

/* Broad incoming bands become hairline traces behind the opaque bottle.
   This is a visual illustration; the lab table carries the measurements. */
.brand-light-barrier {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.brand-light-barrier__stage {
  --barrier-centre: 53%;
  --barrier-row: clamp(2rem, 3.35vw, 3rem);
  position: relative;
  isolation: isolate;
  height: clamp(29rem, 40vw, 42.5rem);
}

.brand-light-barrier__headline {
  position: absolute;
  top: 18%;
  left: 22%;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -.03em;
}

.brand-light-barrier__spectrum {
  position: absolute;
  inset-inline: 0;
  top: calc(55% - 2.5 * var(--barrier-row));
}

.brand-light-barrier__wave {
  position: relative;
  height: var(--barrier-row);
}

.brand-light-barrier__wave::before,
.brand-light-barrier__wave::after {
  content: "";
  position: absolute;
  background: var(--barrier-wave);
}

.brand-light-barrier__wave::before {
  inset: 0 calc(100% - var(--barrier-centre)) 0 0;
}

.brand-light-barrier__wave::after {
  top: 50%;
  left: var(--barrier-centre);
  right: 0;
  height: 1px;
}

.brand-light-barrier__wave--365 { --barrier-wave: var(--wave-365); }
.brand-light-barrier__wave--405 { --barrier-wave: var(--wave-405); }
.brand-light-barrier__wave--450 { --barrier-wave: var(--wave-450); }
.brand-light-barrier__wave--540 { --barrier-wave: var(--wave-540); }
.brand-light-barrier__wave--600 { --barrier-wave: var(--wave-600); }

.brand-light-barrier__bottle {
  position: absolute;
  z-index: 2;
  top: 3.25rem;
  left: var(--barrier-centre);
  height: calc(100% - 6.5rem);
  width: auto;
  transform: translateX(-50%);
  /* Keep the source photo's silhouette, but make its glass opaque so the
     decorative bands cannot show through its partially transparent pixels. */
  filter: url(#brand-light-opaque);
}

.brand-light-barrier__link {
  position: absolute;
  bottom: 4.25rem;
  right: var(--edge);
  font-size: clamp(1.375rem, 2.1vw, 2.5rem);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -.02em;
  text-underline-offset: .16em;
}

@media (max-width: 68.75rem) {
  .brand-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-benefits__title { min-height: 0; }
  .brand-benefits__text { max-width: 38ch; }
  .brand-light-barrier__stage { --barrier-centre: 54%; }
  .brand-light-barrier__headline { left: var(--edge); top: 12%; }
  .brand-light-barrier__link { font-size: 1.25rem; }
}

@media (max-width: 40rem) {
  .brand-benefits__list { gap: 2rem 1.5rem; }
  .brand-benefits__title { font-size: 1.125rem; }
  .brand-benefits__text { font-size: .9375rem; }
  .brand-light-barrier__stage {
    --barrier-centre: 57%;
    --barrier-row: 1.75rem;
    height: 28rem;
  }
  .brand-light-barrier__headline { top: 0; font-size: clamp(1.5rem, 6vw, 2rem); }
  .brand-light-barrier__bottle { top: 4rem; height: 20rem; }
  .brand-light-barrier__spectrum { top: 12rem; }
  .brand-light-barrier__link { bottom: 0; font-size: 1.375rem; }
}

@media (max-width: 22.5rem) {
  .brand-benefits__list { grid-template-columns: minmax(0, 1fr); }
  .brand-benefits__item { grid-template: auto auto / 2.5rem minmax(0, 1fr); column-gap: 1rem; }
  .brand-benefits__icon { grid-row: 1 / span 2; }
  .brand-benefits__title { margin-top: 0; text-wrap: pretty; }
  .brand-benefits__text { margin-top: .5rem; }
}

/* Lab results
   ========================================================================== */

.lab__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}

.lab__intro {
  grid-column: 1 / span 5;
}

.lab__data {
  grid-column: 7 / span 6;
}

.lab__text {
  margin-top: 1.5rem;
  color: var(--text-2);
  text-wrap: pretty;
}

.lab__note {
  margin-top: 1rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--text-3);
}

.lab__ask {
  margin-top: 1.5rem;
}

/* The pharmacopoeia benchmark is set apart from the running text as its
   own card: a step lighter than the raised lab panel, rounded like the
   rest of the system. */
.benchmark {
  margin-top: 2.25rem;
  padding: 1.75rem 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-3);
}

.benchmark__caption {
  font-size: .9375rem;
  color: var(--text-2);
}

.benchmark__title {
  display: block;
  margin-bottom: .375rem;
  font-size: 1.1875rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
}

.benchmark__scale {
  position: relative;
  height: 3.25rem;
  margin-top: 1.25rem;
}

.benchmark__limit,
.benchmark__blaq {
  position: absolute;
  left: 0;
  top: 0;
  height: .875rem;
  border-radius: var(--r-pill);
}

.benchmark__limit {
  right: 0;
  background: #48423f;
}

.benchmark__scale::after {
  content: "";
  position: absolute;
  right: 0;
  top: -.25rem;
  width: 2px;
  height: 1.375rem;
  border-radius: 1px;
  background: var(--wave-600);
}

.benchmark__blaq {
  width: 7%;
  background: var(--paper);
}

.benchmark__tick {
  position: absolute;
  top: 1.375rem;
  font-size: .875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.benchmark__tick--blaq {
  left: 0;
}

.benchmark__tick--limit {
  right: 0;
  color: var(--wave-600);
}

.download-list {
  display: grid;
  gap: .625rem;
  margin-top: 2.25rem;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 1.125rem;
  min-height: 3.5rem;
  padding: .625rem 1.25rem .625rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
}

.download:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.download__name {
  font-size: .9375rem;
  font-weight: 500;
}

.download__meta {
  font-size: .8125rem;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.download:hover .download__meta {
  color: #4b4647;
}

.download__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Data table
   ========================================================================== */

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.data-table__caption {
  padding-bottom: 1rem;
  text-align: left;
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em;
}

.data-table__head {
  padding: .75rem 1.25rem;
  border-bottom: 2px solid var(--paper);
  text-align: left;
  font-size: .8125rem;
  font-weight: 400;
  color: var(--text-3);
}

.data-table__head--num,
.data-table__cell {
  text-align: right;
}

.data-table__name,
.data-table__cell {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  white-space: nowrap;
}

.data-table__name {
  text-align: left;
  font-weight: 500;
}

.data-table__code {
  margin-left: .25rem;
  font-size: .8125rem;
  font-weight: 400;
  color: var(--text-3);
}

.data-table__cell {
  color: var(--text-2);
}

.data-table__cell--strong {
  font-weight: 600;
  color: var(--text);
}

.data-table__row--blaq .data-table__name,
.data-table__row--blaq .data-table__cell {
  border-bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

.data-table__row--blaq .data-table__name {
  border-radius: var(--r-pill) 0 0 var(--r-pill);
}

.data-table__row--blaq .data-table__cell:last-child {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
}

.data-table__row--blaq .data-table__code {
  color: #4b4647;
}

.data-table__row--blaq .chip--blaq {
  box-shadow: none;
}

.data-table__row:nth-last-child(2) .data-table__name,
.data-table__row:nth-last-child(2) .data-table__cell {
  border-bottom-color: transparent;
}

/* Contact
   ========================================================================== */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}

/* The intro stays in view beside the long form. It sticks just below the
   sticky header (whose visible height is --header-h minus --header-pad). */
.contact__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) - var(--header-pad) + 1.5rem);
}

/* The request form is a white panel: the one light surface on the page,
   so the action stands out. The text tokens are remapped for white, and
   every control inside switches to its light version below. */
.contact__panel {
  --text: var(--ink);
  --text-2: #4a4446;
  --text-3: #6c6668;
  --line-strong: #c8c2c3;
  --error: #b8321c;

  grid-column: 7 / span 6;
  padding: 2.5rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
}

.contact__text {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.contact__list {
  margin-top: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact__list-item {
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

.contact__mail {
  margin-top: 2rem;
  font-size: 1.1875rem;
  font-weight: 500;
}

/* Form
   ========================================================================== */

.form {
  display: grid;
  gap: 1.375rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.375rem 1rem;
  align-items: start;
}

/* Honeypot: off screen rather than display: none, which some bots skip. */
.form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__error {
  flex-basis: 100%;
  padding: .875rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(184, 50, 28, .08);
  color: var(--error);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
}

.btn[aria-busy="true"] .btn__icon {
  opacity: 0;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: .25rem;
}

.form__hint {
  font-size: .875rem;
  color: var(--text-3);
}

.form__privacy {
  flex-basis: 100%;
  max-width: 34rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-3);
}

.form__privacy a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.form__privacy a:hover {
  color: var(--text);
}

.field {
  display: grid;
  gap: .4375rem;
}

.field__label,
.choice-group__legend {
  padding-left: .375rem;
  font-size: .9375rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
}

/* Required marker: a red asterisk. The fields also carry `required` (or the
   group says so in hidden text), so assistive technology announces it; the
   asterisk itself is hidden from it. */
.field__required {
  font-weight: 600;
  color: var(--error);
}

.choice-group .field__error {
  margin-top: .5rem;
}

.field__input {
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 1.375rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--text);
  caret-color: currentColor;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}

.field__input::placeholder {
  color: var(--text-3);
  opacity: 1;
}

.field__input:hover {
  border-color: var(--text-2);
}

.field__input:focus-visible {
  border-color: var(--paper);
  outline-offset: 1px;
}

.field__input--select {
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  background-size: 1.125rem;
  cursor: pointer;
}

.field__input--select option {
  background: var(--ink);
  color: var(--text);
}

.field__input--area {
  min-height: 7rem;
  border-radius: var(--r-md);
  resize: vertical;
}

.field__input[aria-invalid="true"] {
  border-color: var(--error);
}

.field__error {
  padding-left: .375rem;
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--error);
}

.choice-group__legend {
  float: left;
  width: 100%;
  margin-bottom: .625rem;
}

.choice-group__list {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.choice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.choice__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice__label {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 2.75rem;
  padding: .5rem 1.125rem .5rem .75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--ink);
  font-size: .9375rem;
  line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s;
}

.choice__label::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--text-2);
  border-radius: 50%;
  background: transparent center / .875rem no-repeat;
}

.choice:hover .choice__label {
  border-color: var(--text-2);
}

.choice__input:checked + .choice__label {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.choice__input:checked + .choice__label::before {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3L12.5 5'/%3E%3C/svg%3E");
}

.choice__input:focus-visible + .choice__label {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.form-done {
  display: grid;
  justify-items: start;
  gap: .625rem;
  padding: 2rem 0;
}

.form-done:focus {
  outline: none;
}

.form-done__check {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: .5rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  /* The tick draws itself each time the panel is shown. */
  .form-done__check circle {
    stroke-dasharray: 164;
    animation: draw-in .7s var(--ease-out) .2s both;
  }

  .form-done__check path {
    stroke-dasharray: 32;
    animation: draw-in .45s var(--ease-out) .6s both;
  }
}

@keyframes draw-in {
  from { stroke-dashoffset: var(--len, 164); }
  to { stroke-dashoffset: 0; }
}

.form-done__check path {
  --len: 32;
}

.form-done__title {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
}

.form-done__text {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: var(--text-2);
}

/* Form on the white panel
   ========================================================================== */

.contact__panel :focus-visible {
  outline-color: var(--ink);
}

.contact__panel .field__input {
  background-color: var(--paper);
  color: var(--ink);
}

.contact__panel .field__input:hover {
  border-color: #8c8587;
}

.contact__panel .field__input:focus-visible {
  border-color: var(--ink);
}

.contact__panel .field__input--select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131112' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.contact__panel .field__input--select option {
  background: var(--paper);
  color: var(--ink);
}

.contact__panel .field__input[aria-invalid="true"] {
  border-color: var(--error);
}

.contact__panel .choice__label {
  background: var(--paper);
}

.contact__panel .choice__label::before {
  border-color: #8c8587;
}

.contact__panel .choice:hover .choice__label {
  border-color: #8c8587;
}

.contact__panel .choice__input:checked + .choice__label {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contact__panel .choice__input:checked + .choice__label::before {
  border-color: var(--paper);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23131112' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3L12.5 5'/%3E%3C/svg%3E");
}

.contact__panel .choice__input:focus-visible + .choice__label {
  outline-color: var(--ink);
}

.contact__panel .btn {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contact__panel .btn:hover {
  border-color: var(--wave-600);
  background: var(--wave-600);
  color: var(--ink);
}

.contact__panel .btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.contact__panel .btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contact__panel ::selection {
  background: var(--ink);
  color: var(--paper);
}

/* Site footer
   ========================================================================== */

.site-footer__stripes span {
  display: block;
  height: .75rem;
}

.site-footer__stripes span:nth-child(1) { background: var(--wave-365); }
.site-footer__stripes span:nth-child(2) { background: var(--wave-405); }
.site-footer__stripes span:nth-child(3) { background: var(--wave-450); }
.site-footer__stripes span:nth-child(4) { background: var(--wave-540); }
.site-footer__stripes span:nth-child(5) { background: var(--wave-600); }

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding-block: clamp(3.5rem, 5.5vw, 5rem) clamp(3rem, 4.5vw, 4rem);
}

.site-footer__brand {
  grid-column: 1 / span 5;
}

.site-footer__col:nth-of-type(1) {
  grid-column: 8 / span 2;
}

.site-footer__col:nth-of-type(2) {
  grid-column: 10 / span 3;
}

.site-footer__logo {
  width: auto;
  height: 3.5rem;
}

.site-footer__about {
  max-width: 26rem;
  margin-top: 1.5rem;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-2);
}

.site-footer__title {
  margin-bottom: 1rem;
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-3);
}

.site-footer__list {
  display: grid;
  gap: .625rem;
}

.site-footer__link {
  font-size: .9375rem;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}

.site-footer__link:hover {
  background-size: 100% 1px;
}

.site-footer__text {
  font-size: .9375rem;
  color: var(--text-2);
}

.site-footer__cta {
  margin-top: 1.5rem;
}

.site-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
}

.site-footer__legal,
.site-footer__link--small {
  font-size: .8125rem;
  color: var(--text-3);
}

.site-footer__link--small:hover {
  color: var(--text);
}

/* 404 page
   Centred message on plain black; the logo mark sits large and barely
   visible on the left, aligned with the header logo.
   ========================================================================== */

.page-not-found {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.not-found {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  overflow: clip;
}

.not-found__mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: var(--edge);
  width: auto;
  height: min(118%, 60rem);
  max-width: none;
  opacity: .045;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 6rem);
  text-align: center;
}

.not-found__code {
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -.06em;
  color: var(--text-3);
}

.not-found__title {
  margin-top: clamp(1rem, 2.5vh, 1.75rem);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.not-found__actions {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

/* The back arrow leads the label and nudges left on hover */
.btn__icon--back {
  margin-right: 0;
  margin-left: -.25rem;
}

.btn:hover .btn__icon--back {
  transform: translateX(-.25rem);
}

.site-footer--minimal .site-footer__bar {
  border-top: 0;
}

@media (max-width: 40rem) {
  .not-found__mark {
    height: 80%;
    opacity: .05;
  }
}

/* Motion
   One authored moment: the light arrives along the band. Product stages
   echo it once when they scroll into view. Bars resize on selection.
   ========================================================================== */

/* Page entrance, as on blaqglass.com: the whole page fades in and, on wider
   screens, the header bar slides down from above. */
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes header-slide-in {
  from { transform: translate3d(0, -100%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: page-fade-in 2s ease;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 62rem) {
  .site-header__inner {
    animation: header-slide-in .8s ease;
  }
}

@keyframes light-on {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes glow-on {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .light-test__light {
    animation: light-on 1.5s var(--ease-out) .25s both;
  }

  .light-test::before {
    animation: glow-on 2s var(--ease-out) .6s both;
  }

  .js .family__stage[data-reveal] {
    clip-path: inset(0 0 0 0 round var(--r-lg));
    transition: clip-path 1.1s var(--ease-out);
  }

  .js .family__stage[data-reveal]:not(.is-lit) {
    clip-path: inset(0 100% 0 0 round var(--r-lg));
  }

  .js .family--flip .family__stage[data-reveal]:not(.is-lit) {
    clip-path: inset(0 0 0 100% round var(--r-lg));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .meter__fill,
  .spectrum-chart__marker,
  .btn__icon,
  .download,
  .site-nav__link {
    transition: none;
  }
}

/* Responsive
   Desktop is the reference. Below it the page steps down in three bands:
   narrow desktop (1101–1279 px), tablet (641–1100 px) and phone (≤640 px),
   with a last tightening for very small phones (≤400 px).
   ========================================================================== */

/* Elements that only exist for smaller screens */
.site-header__toggle {
  display: none;
}

/* Narrow desktop: the hero's light test steps down so the headline column
   keeps a comfortable measure. */
@media (min-width: 68.8125rem) and (max-width: 79.9375rem) {
  .light-test {
    --bw-s: 108px;
    --bw-l: 148px;
    --gap: 14px;
    --gap-l: 22px;
    --lead: 40px;
    --row: 18px;
  }

  .site-header__inner {
    gap: 1.5rem;
  }

  .site-header__cta {
    padding-inline: 1.25rem;
  }

  /* The slogan keeps its desktop weight while the glasses step down */
  .hero__title {
    font-size: 3.75rem;
  }
}

/* Tablet and below
   ========================================================================== */

@media (max-width: 68.75rem) {
  :root {
    --header-h: 5.5rem;
    --header-pad: .75rem;
  }

  /* Header: the section links fold into a panel under the menu pill */
  .site-header__menu {
    position: relative;
  }

  .site-header__toggle {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    transition: background-color .2s;
  }

  .site-header__toggle:hover {
    background: rgba(255, 255, 255, .1);
  }

  .site-header__toggle:focus-visible {
    outline-offset: 2px;
  }

  /* The links have folded away, so the quote button is the first thing in
     the pill: same inset on every side, a clear gap before the toggle. */
  .site-header__menu {
    gap: .5rem;
  }

  .site-header__cta {
    margin-left: 0;
  }

  .site-header__toggle-icon {
    grid-area: 1 / 1;
    width: 1.375rem;
    height: 1.375rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    transition: opacity .2s, transform .3s var(--ease-out);
  }

  .site-header__toggle-icon--close {
    opacity: 0;
    transform: rotate(-45deg) scale(.6);
  }

  .site-header.is-open .site-header__toggle-icon--open {
    opacity: 0;
    transform: rotate(45deg) scale(.6);
  }

  .site-header.is-open .site-header__toggle-icon--close {
    opacity: 1;
    transform: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + .625rem);
    right: -1px;
    width: min(20rem, calc(100vw - 2 * var(--gutter)));
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--ink-2);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-.5rem);
    transition: opacity .2s, transform .3s var(--ease-out), visibility 0s linear .3s;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s, transform .3s var(--ease-out), visibility 0s;
  }

  .site-nav__list {
    flex-direction: column;
    gap: .125rem;
  }

  .site-nav__link {
    min-height: 3.25rem;
    padding: 0 1.25rem;
    border-radius: var(--r-md);
    font-size: 1.0625rem;
  }

  /* One column for every two-column block (the hero stacks only on phones) */
  .intro__grid,
  .section__head,
  .explorer__body,
  .family,
  .packaging-branding__head,
  .packaging-branding__grid,
  .lab__grid,
  .contact__grid {
    display: block;
  }

  .section__lede,
  .reason-list,
  .spectrum-chart,
  .lab__data {
    margin-top: 1.5rem;
    padding-left: 0;
  }

  /* When the columns stack, running text keeps a readable measure instead
     of spanning the whole screen (about 70 characters at most). Tables,
     charts, grids and the form still use the full width. */
  .section__lede,
  .intro__lead,
  .reason-list,
  .explorer__insight,
  .spectrum-chart__caption,
  .family__body,
  .packaging-branding__head,
  .lab__intro,
  .lab__note,
  .uses__note,
  .contact__intro {
    max-width: 40rem;
  }

  /* The form panel keeps its own padding on every side */
  .contact__panel {
    margin-top: 2rem;
  }

  /* Hero: copy and the light test stay side by side, as on desktop. The
     glasses scale with the viewport so the copy keeps a readable column
     (91.66vw is the container width at these sizes). The slogan stays large
     next to the glasses (60 px from about 900 px wide, 52 px at the least). */
  .hero__inner {
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  .hero__title {
    font-size: clamp(3.25rem, 6.6vw, 3.75rem);
  }

  .hero__title-sub {
    font-size: 1.375rem;
  }

  .light-test {
    --bw-s: min(108px, calc((91.66vw - 26rem) / 4.82));
    --bw-l: calc(var(--bw-s) * 1.4);
    --gap: calc(var(--bw-s) * .12);
    --gap-l: calc(var(--bw-s) * .18);
    --lead: calc(var(--bw-s) * .25);
    --row: calc(var(--bw-s) * .165);
  }

  .light-test__glass {
    grid-template-rows: var(--bh-l) 4rem auto;
  }

  .light-test__value {
    font-size: clamp(1.125rem, calc(var(--bw-s) * .24), 1.75rem);
  }

  .light-test__glass--blaq .light-test__value {
    font-size: clamp(1.75rem, calc(var(--bw-s) * .36), 3.25rem);
  }

  .light-test__name {
    height: 1.5rem;
    font-size: clamp(.9375rem, calc(var(--bw-s) * .19), 1.5rem);
  }

  .light-test__logo {
    height: clamp(1.125rem, calc(var(--bw-s) * .22), 1.75rem);
  }

  .light-test__nm {
    display: none;
  }

  /* Contact intro no longer sits beside the form */
  .contact__intro {
    position: static;
  }

  /* Grids */
  .fact-list,
  .stat-row,
  .check-list,
  .component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explorer__modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--r-md);
  }

  .family__body,
  .family--flip .family__body {
    margin-top: 1.5rem;
    padding: 0;
  }

  .packaging-branding-option + .packaging-branding-option {
    margin-top: 2rem;
  }

  .packaging-branding__lede {
    margin-top: 1.25rem;
  }

  /* Footer: brand on top, the two link columns side by side */
  .site-footer__inner {
    row-gap: 2.5rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__col:nth-of-type(1) {
    grid-column: 1 / span 6;
  }

  .site-footer__col:nth-of-type(2) {
    grid-column: 7 / span 6;
  }
}

/* Portrait tablets (641–899 px): the green glass is left out so the other
   three stay large enough beside the copy. */
@media (min-width: 40.0625rem) and (max-width: 56.1875rem) {
  .light-test {
    --bw-s: min(108px, calc((91.66vw - 21rem) / 3.9));
    --x-blaq: calc(var(--lead) + var(--bw-s) * 2 + var(--gap) + var(--gap-l));
  }

  .light-test__glass--green,
  .light-test__filter--green,
  .light-test__caption-count {
    display: none;
  }

  .light-test__filter--amber {
    --i: 1;
  }
}

/* Phone
   ========================================================================== */

@media (max-width: 40rem) {
  /* Type: a bigger slogan, slightly smaller running text */
  body {
    font-size: .9375rem;
  }

  .hero__title {
    font-size: clamp(3rem, 13.5vw, 3.5rem);
  }

  .hero__lede,
  .section__lede,
  .intro__text,
  .contact__text {
    font-size: 1rem;
  }

  .intro__lead-in {
    font-size: 1.125rem;
  }

  .hero__lede-key {
    white-space: normal;
  }

  /* Header */
  .site-header__inner {
    gap: 1rem;
  }

  .site-header__logo {
    height: 2.375rem;
  }

  /* A clear gap between the quote button and the menu toggle, so a thumb
     does not hit the wrong one. */
  .site-header__menu {
    gap: .625rem;
    padding: .25rem;
  }

  .site-header__cta {
    min-height: 2.75rem;
    margin-left: 0;
    padding-inline: 1.125rem;
    font-size: .75rem;
  }

  .site-header__toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  /* Hero: copy on top, the light test centred under it. The band still runs
     edge to edge; --shift is the distance from the screen edge to the
     glasses, so the filtered strips stay on the bottles. */
  .hero {
    container-type: inline-size;
  }

  .hero__inner {
    display: block;
    min-height: 0;
  }

  .hero__copy {
    max-width: 36rem;
    margin-bottom: clamp(2.5rem, 7vw, 4rem);
  }

  .light-test {
    --bw-s: min(140px, calc((100cqw - 2 * var(--gutter)) / 4.9));
    --lead: 0px;
    --shift: calc((100cqw - var(--x-blaq) - var(--bw-l)) / 2);
    margin-inline: auto;
  }

  .light-test__light {
    left: calc(-1 * var(--shift));
    width: 100cqw;
  }

  .light-test__filter {
    left: calc(var(--shift) + var(--lead) + (var(--bw-s) + var(--gap)) * var(--i));
  }

  .light-test__filter--blaq {
    left: calc(var(--shift) + var(--x-blaq));
  }

  .light-test__caption {
    margin-left: 0;
  }

  /* Hero */
  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .light-test__glass {
    grid-template-rows: var(--bh-l) 3rem auto;
  }

  .light-test__value {
    font-size: 1.0625rem;
  }

  .light-test__glass--blaq .light-test__value {
    font-size: 2.25rem;
  }

  .light-test__name {
    height: 1.25rem;
    font-size: .9375rem;
  }

  .light-test__logo {
    height: 1.125rem;
  }

  /* Applications: a tight single column with smaller checks */
  .check-list {
    gap: .875rem;
  }

  .check-list__item {
    gap: .75rem;
    min-height: 0;
  }

  .check-list__icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .check-list__text {
    font-size: 1rem;
    line-height: 1.35;
  }

  /* Single-column lists */
  .reason-list__item,
  .fact-list,
  .check-list,
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Explorer: the chart keeps a readable size and scrolls sideways */
  .explorer__modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spectrum-chart__scroll {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .spectrum-chart__svg {
    width: 40rem;
    max-width: none;
  }

  .spectrum-chart__ticks text,
  .spectrum-chart__zones text {
    font-size: 14px;
  }

  .spectrum-chart__label {
    font-size: 15px;
  }

  /* Product families: compact colour stage, photo as large as it fits */
  .family__stage {
    min-height: 0;
    padding: 3.75rem 1.25rem 1.5rem;
  }

  .family__stage:not(:has(.family__tag)) {
    padding-top: 1.75rem;
  }

  .family__tag {
    left: 1.25rem;
    top: 1.125rem;
    font-size: 1.0625rem;
  }

  .family__photo,
  .family__photo--wide,
  .family__photo--tall {
    width: 100%;
    max-width: 100%;
    max-height: 16rem;
    object-fit: contain;
  }

  /* Components: two per row, smaller stages */
  .component-grid {
    gap: 1.75rem .75rem;
  }

  .component__stage {
    --stage-pad: .875rem;
  }

  .component__title {
    margin-top: .75rem;
    font-size: 1.0625rem;
  }

  .component__text {
    margin-top: .375rem;
    font-size: .8125rem;
    line-height: 1.45;
  }

  /* Lab results: each sample becomes a small card with labelled values */
  .data-table,
  .data-table tbody {
    display: block;
  }

  .data-table__caption {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .data-table__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: .75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table__name,
  .data-table__cell,
  .data-table__row:nth-last-child(2) .data-table__name,
  .data-table__row:nth-last-child(2) .data-table__cell {
    padding: 0;
    border: 0;
  }

  .data-table__name {
    grid-column: 1 / -1;
    padding-bottom: .625rem;
    font-size: 1rem;
  }

  .data-table__cell {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    text-align: left;
    white-space: nowrap;
    font-size: .9375rem;
  }

  .data-table__cell::before {
    content: attr(data-label);
    font-size: .75rem;
    font-weight: 400;
    color: var(--text-3);
  }

  .data-table__row--blaq {
    margin-top: .75rem;
    padding: 1rem 1.125rem;
    border: 0;
    border-radius: var(--r-md);
    background: var(--paper);
    color: var(--ink);
  }

  .data-table__row--blaq .data-table__name,
  .data-table__row--blaq .data-table__cell,
  .data-table__row--blaq .data-table__cell:last-child {
    border-radius: 0;
    background: transparent;
  }

  .data-table__row--blaq .data-table__cell::before {
    color: #4b4647;
  }

  /* Packaging branding options stack. The emboss photo is wide, so its
     stage shrinks to the photo instead of keeping the desktop height. */
  .packaging-branding-option,
  .packaging-branding-option--emboss {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .packaging-branding-option__stage {
    height: auto;
  }

  .packaging-branding-option__text {
    margin-top: .75rem;
  }

  /* Form */
  .contact__panel {
    padding: 1.25rem;
  }

  .download {
    border-radius: var(--r-md);
  }
}

/* Very small phones */
@media (max-width: 25rem) {
  .site-header__logo {
    height: 2.125rem;
  }

  .site-header__menu {
    gap: .5rem;
  }

  .site-header__cta {
    padding-inline: .875rem;
    letter-spacing: .04em;
  }

  .site-footer__col:nth-of-type(1),
  .site-footer__col:nth-of-type(2) {
    grid-column: 1 / -1;
  }
}

/* Narrowest phones (320 px class): the header still fits on one row */
@media (max-width: 21.25rem) {
  .site-header__inner {
    gap: .75rem;
  }

  .site-header__logo {
    height: 1.875rem;
  }

  .site-header__menu {
    gap: .375rem;
  }

  .site-header__cta {
    padding-inline: .75rem;
    font-size: .6875rem;
    letter-spacing: .02em;
  }

  .site-header__toggle {
    width: 2.75rem;
  }
}
