@font-face {
  font-family: "Barlow Condensed Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #171a17;
  --muted: #575e58;
  --line: #cfd4ce;
  --page: #eef1ef;
  --soft: #f7f8f5;
  --white: #ffffff;
  --green: #187244;
  --green-dark: #0e4d2d;
  --gold: #e1a32c;
  --forest: #103c2b;
  --petrol: #245d66;
  --petrol-deep: #173f46;
  --product-colour: #187244;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible Local", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body,
button {
  letter-spacing: 0;
}

button {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h2,
h3 {
  font-family: "Barlow Condensed Local", sans-serif;
  font-weight: 700;
  line-height: 1;
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 1.9rem;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

.wrap {
  width: min(var(--max-width), calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -200px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

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

:focus-visible {
  outline: 3px solid #f4bd55;
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid #477663;
  background: var(--forest);
  color: var(--white);
}

.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 174px;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand-market {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  padding-left: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav ul,
.mobile-menu ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav a,
.mobile-menu a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.45em;
}

.mobile-menu {
  display: none;
}

.product-stage {
  padding: 136px 0 76px;
  background: var(--page);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  min-height: 610px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--product-colour);
  background: var(--white);
  box-shadow: 0 22px 52px rgba(17, 34, 26, 0.1);
}

.product-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #fafbf8;
}

.product-pail-shell {
  position: relative;
  z-index: 1;
  width: min(88%, 470px);
}

.product-pail {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.product-profile {
  padding: 56px 58px 48px;
}

.product-eyebrow {
  margin-bottom: 18px;
  color: var(--product-colour);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-title {
  display: block;
}

.product-lockup {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.product-lockup img {
  width: min(390px, 74%);
  height: auto;
}

.product-suffix {
  padding-bottom: 8px;
  color: var(--product-colour);
  font-family: "Atkinson Hyperlegible Local", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.product-suffix[data-product-suffix="Advanced"] {
  font-size: 1.28rem;
  text-transform: none;
}

.product-summary {
  max-width: 660px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.14rem;
}

.selector-context {
  max-width: 660px;
  margin-top: 22px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  background: var(--soft);
  color: var(--product-colour);
  font-weight: 700;
}

.profile-section {
  margin-top: 34px;
}

.profile-section-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.characteristic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.characteristic-list li {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 13px 8px 13px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.characteristic-list li::before {
  position: absolute;
  top: 21px;
  left: 1px;
  width: 8px;
  height: 8px;
  background: var(--product-colour);
  content: "";
}

.product-facts {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.product-facts > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
}

.product-facts dd {
  font-weight: 700;
  text-align: right;
}

.product-focus-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.project-type-list {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.project-type {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: var(--product-colour);
  cursor: help;
}

.project-type::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 7px);
  z-index: 4;
  padding: 6px 9px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 5px 16px rgba(17, 23, 19, 0.18);
  content: attr(aria-label);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
  white-space: nowrap;
}

.project-type:hover::after,
.project-type:focus::after {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.project-type-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.project-type-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}

.button-primary:hover {
  background: #0a3b22;
}

.button-outline {
  border-color: #8f9891;
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--soft);
}

.button-gold {
  border-color: #d0931e;
  background: var(--gold);
  color: var(--ink);
}

.button-gold:hover {
  background: #f0b33d;
}

.text-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.test-kit-band {
  padding: 68px 0;
  background: #e7f0ec;
  border-top: 1px solid #c6d6ce;
  border-bottom: 1px solid #c6d6ce;
}

.test-kit-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr) auto;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.test-kit-media {
  margin: 0;
}

.test-kit-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  border: 1px solid #c6d6ce;
  border-radius: 4px;
}

.test-kit-media figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.test-kit-label {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.test-kit-layout h2 {
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--petrol);
}

.test-kit-layout p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.test-kit-actions {
  min-width: 225px;
  display: grid;
  gap: 12px;
}

.documents {
  padding: 82px 0;
  background: var(--white);
}

.documents-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 84px;
}

.documents-intro p {
  max-width: 410px;
  margin-top: 20px;
  color: var(--muted);
}

.document-list {
  border-top: 2px solid var(--ink);
}

.document-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.document-row:hover .document-title {
  text-decoration: underline;
}

.document-title {
  font-weight: 700;
}

.document-format {
  color: var(--muted);
  font-size: 0.88rem;
}

.document-arrow {
  font-size: 1.22rem;
}

.document-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.next-step {
  padding: 74px 0;
  background: #f5efe3;
}

.next-step-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 54px;
  align-items: center;
}

.next-step-copy p {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
}

.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.range-nav {
  padding: 68px 0;
  background: var(--page);
}

.range-nav h2 {
  font-size: 2.6rem;
}

.range-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.range-link {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.range-link:first-child {
  border-left: 1px solid var(--line);
}

.range-link:hover,
.range-link[aria-current="page"] {
  background: var(--white);
}

.range-link[aria-current="page"] {
  box-shadow: inset 0 4px 0 var(--product-colour);
}

.range-link span:first-child {
  font-weight: 700;
}

footer {
  padding: 58px 0;
  background: var(--forest);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 0.8fr) auto;
  gap: 52px;
  align-items: start;
}

.footer-mark {
  width: 210px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-copy {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-label {
  margin-bottom: 12px;
  color: #f2d8a5;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a,
.footer-phone {
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-phone:hover {
  text-decoration: underline;
}

.footer-monju {
  width: min(100%, 260px);
  display: grid;
  justify-items: start;
  justify-self: end;
  gap: 3px;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  text-decoration: none;
}

.footer-monju-name {
  margin-bottom: 6px;
  color: var(--white);
  font-family: "Barlow Condensed Local", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.footer-monju-discipline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-monju-url {
  color: var(--gold);
  font-weight: 700;
}

.footer-monju-url,
.footer-monju-region {
  font-size: 0.86rem;
  line-height: 1.35;
}

.footer-monju-url:hover {
  text-decoration: underline;
}

.footer-monju-legal {
  margin-top: 8px;
  padding-top: 8px;
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 4px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-lines {
    width: 24px;
    display: grid;
    gap: 5px;
  }

  .menu-lines span {
    height: 2px;
    display: block;
    background: currentColor;
  }

  .menu-current {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.76);
  }

  .mobile-menu[open] nav {
    position: absolute;
    top: 87px;
    right: 0;
    left: 0;
    padding: 18px 32px 24px;
    border-bottom: 1px solid #477663;
    background: var(--forest);
  }

  .mobile-menu ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu a {
    min-height: 50px;
  }

  .product-card {
    grid-template-columns: minmax(290px, 0.66fr) minmax(0, 1.34fr);
  }

  .product-profile {
    padding: 48px 42px 42px;
  }

  .documents-layout {
    gap: 52px;
  }
}

@media (max-width: 780px) {
  .wrap {
    width: min(100% - 40px, var(--max-width));
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand-mark {
    width: 148px;
  }

  .brand-market {
    display: none;
  }

  .mobile-menu[open] nav {
    top: 75px;
    padding-inline: 20px;
  }

  h2 {
    font-size: 2.8rem;
  }

  .product-stage {
    padding: 108px 0 48px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 430px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-pail-shell {
    width: min(76%, 390px);
  }

  .product-profile {
    padding: 40px 30px 36px;
  }

  .product-lockup img {
    width: min(360px, 78%);
  }

  .test-kit-layout,
  .documents-layout,
  .next-step-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .test-kit-band,
  .documents,
  .next-step {
    padding: 58px 0;
  }

  .test-kit-actions {
    min-width: 0;
    justify-items: start;
  }

  .test-kit-media {
    width: min(100%, 440px);
  }

  .next-step-actions {
    justify-content: flex-start;
  }

  .range-links {
    grid-template-columns: 1fr;
  }

  .range-link,
  .range-link:first-child {
    border-left: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-monju {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 28px, var(--max-width));
  }

  .brand-mark {
    width: 136px;
  }

  .mobile-menu summary {
    padding-inline: 11px;
  }

  .menu-current {
    display: none;
  }

  .product-visual {
    min-height: 360px;
  }

  .product-pail-shell {
    width: min(82%, 330px);
  }

  .product-profile {
    padding: 32px 20px 30px;
  }

  .product-lockup {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-lockup img {
    width: 100%;
  }

  .product-suffix,
  .product-suffix[data-product-suffix="Advanced"] {
    padding-bottom: 0;
    font-size: 1.1rem;
  }

  .product-summary {
    font-size: 1.02rem;
  }

  .characteristic-list {
    grid-template-columns: 1fr;
  }

  .product-facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-facts dd {
    text-align: left;
  }

  .product-focus-value {
    align-items: flex-start;
    justify-content: space-between;
  }

  .profile-actions .button,
  .profile-actions .text-link,
  .test-kit-actions .button,
  .next-step-actions .button {
    width: 100%;
  }

  .document-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .document-format {
    display: none;
  }

  .range-nav {
    padding: 52px 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
