/* IONSPEC — static site stylesheet
   Breakpoints (same as the original site): tablet ≤ 1024px, mobile ≤ 713px. */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/robotomono-18b4c419.woff2") format("woff2");
  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;
}

/* ------------------------------------------------------------------ tokens */

:root {
  --blue: #004684; /* title bands, menu hover */
  --royal: #1a32ad; /* heading bars */
  --button: #0d2faa;
  --ink: #17272b; /* headings */
  --text: #5c6a6d; /* body copy */
  --page: #f4fafb;
  --line: #a9b5b8;
  --accent: #2bbede;
  --shadow: 0 0 10px 3px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  --font: Arial, Helvetica, Verdana, sans-serif;
  --font-heading: Arial, sans-serif;
  --font-mono: "Roboto Mono", sans-serif;
  --font-display: Anton, Helvetica, sans-serif; /* Anton is not loaded — same as the original */
}

/* Korean pages (/ko/) load Noto Sans KR from Google Fonts. It comes after the original fonts in
   every stack, so it only draws the Hangul and Latin text looks the same as on the other pages. */
:root:lang(ko) {
  --font: Arial, Helvetica, Verdana, "Noto Sans KR", sans-serif;
  --font-heading: Arial, "Noto Sans KR", sans-serif;
  --font-mono: "Roboto Mono", "Noto Sans KR", sans-serif;
  --font-display: Anton, Helvetica, "Noto Sans KR", sans-serif;
}

:lang(ko) .chat {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Noto Sans KR", sans-serif;
}

:lang(ko) .chat-wa {
  font-family: Arial, Helvetica, Verdana, "Noto Sans KR", sans-serif;
}

:lang(ko) .audio {
  font-family: Helvetica, Arial, "Noto Sans KR", serif;
}

:lang(ko) .journal-title {
  font-family: Poppins, Helvetica, "Noto Sans KR", sans-serif;
}

/* Korean lines break between words, never inside a word */
html:lang(ko) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (max-width: 921px) {
  html {
    font-size: 91.2%;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 1rem/1.85714285714286 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-size: inherit;
}

h1 {
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

h3 {
  font-weight: 700;
  line-height: 1.4;
}

h4 {
  font-weight: 700;
  line-height: 1.5;
}

h6 {
  font-weight: 700;
  line-height: 1.7;
  text-transform: uppercase;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--ink);
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
  vertical-align: middle;
}

img {
  height: auto;
  border: 0;
}

button,
input {
  font: inherit;
}

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

/* "Skip to content" link: hidden until focused with the keyboard */
.skip-link:focus {
  top: 5px;
  left: 5px;
  z-index: 100000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 15px 23px 14px;
  overflow: visible;
  clip: auto;
  border-radius: 2px;
  background: #f1f1f1;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  color: #21759b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}

.container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

/* Icons are inline SVG copies of the original icon-font glyphs. */
.icon {
  display: inline-block;
  fill: currentColor;
  overflow: visible;
}

.icon--ek {
  vertical-align: -0.0625em;
}

.icon--fa {
  vertical-align: -0.125em;
}

.icon--ei {
  vertical-align: -0.15em;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.site-header .container > * {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  align-content: center;
  padding: 10px;
}

.site-header__logo {
  width: 33.333%;
}

.site-header__logo img {
  display: block;
  width: 100%;
}

.site-nav {
  width: 63.332%;
}

.site-header__social {
  width: 3%;
}

.site-header__social a {
  display: inline-block;
  margin-bottom: 9.7px; /* the icon sits at the top of a 32.7px line, as on the original */
  color: #000;
  font-size: 23px;
  line-height: 1;
}

@media (max-width: 921px) {
  .site-header__social a {
    margin-bottom: 9.09px;
  }
}

.site-header__social .icon {
  display: block;
}

.site-header--home .container > * {
  padding: 20px;
}

.site-header--home .site-nav {
  width: 64%;
}

.site-header--home .site-header__social {
  width: 2.333%;
}

.site-nav__toggle {
  display: none;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  color: #494c4f;
  font-size: 22px;
  line-height: inherit;
  text-align: center;
  cursor: pointer;
}

.site-nav__close,
.site-nav.is-open .site-nav__open {
  display: none;
}

.site-nav.is-open .site-nav__close {
  display: inline-block;
}

.site-nav__menu {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.site-nav__menu > li > a {
  position: relative;
  display: flex;
  padding: 15px;
  color: #000;
  font: 400 16px/1 var(--font);
}

/* framed hover pointer (fades in) */
.site-nav__menu > li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}

.site-nav__menu > li > a:hover,
.site-nav__menu > li > a:focus-visible {
  color: var(--blue);
}

.site-nav__menu > li > a:hover::before,
.site-nav__menu > li > a:focus-visible::before {
  opacity: 1;
}

.site-nav__menu > .is-current > a {
  color: #000;
}

.site-nav__menu > .is-current > a::before {
  border-color: #fff;
}

@media (max-width: 1024px) {
  .site-header__logo {
    width: 60%;
  }

  .site-header__logo img {
    padding-left: 7px;
  }

  .site-nav,
  .site-header--home .site-nav {
    width: 29%;
    justify-content: flex-end;
  }

  .site-header__social,
  .site-header--home .site-header__social {
    width: 10%;
  }

  .site-nav__toggle {
    display: block;
  }

  /* full-width dropdown, 19px under the toggle */
  .site-nav__menu {
    position: absolute;
    top: calc(50% + 20.43px + 19px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #fff;
  }

  .site-nav.is-open .site-nav__menu {
    display: flex;
  }

  .site-nav__menu > li:not(:last-child) {
    border-bottom: 1px solid #c4c4c4;
  }

  .site-nav__menu > li > a {
    padding: 13px 12px;
  }

  .site-nav__menu > li > a::before {
    display: none;
  }
}

@media (max-width: 713px) {
  .site-header__logo {
    width: 70%;
  }

  .site-nav,
  .site-header--home .site-nav {
    width: 15%;
  }

  .site-header__social,
  .site-header--home .site-header__social {
    width: 9%;
  }
}

/* ------------------------------------------------------------------ language switcher
   Desktop: the last menu item, a dropdown (hover, click, keyboard; works without JavaScript on
   hover/focus). Tablet and mobile: a row of language links at the bottom of the menu. */

.lang-switch {
  position: relative;
}

.lang-switch__toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px;
  border: 0;
  background: none;
  color: #000;
  font: 400 16px/1 var(--font);
  cursor: pointer;
}

/* same framed hover pointer as the menu links */
.lang-switch__toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}

.lang-switch__toggle:hover,
.lang-switch__toggle:focus-visible,
.lang-switch.is-open .lang-switch__toggle {
  color: var(--blue);
}

.lang-switch__toggle:hover::before,
.lang-switch__toggle:focus-visible::before {
  opacity: 1;
}

.lang-switch__globe {
  font-size: 16px; /* no taller than the menu text, so the menu rows keep their height */
}

.lang-switch__caret {
  font-size: 14px;
  transition: transform 0.2s;
}

.lang-switch.is-open .lang-switch__caret {
  transform: rotate(180deg);
}

.lang-switch__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 190px;
  padding: 6px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.lang-switch.is-open .lang-switch__panel,
html:not(.js) .lang-switch:focus-within .lang-switch__panel {
  display: block;
}

@media (min-width: 1025px) and (hover: hover) {
  .lang-switch:hover .lang-switch__panel {
    display: block;
  }
}

.lang-switch__icon {
  display: none;
}

.lang-switch__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switch__list a {
  display: block;
  padding: 11px 18px;
  color: #000;
  font: 400 15px/1.2 var(--font);
  white-space: nowrap;
}

.lang-switch__list a:hover,
.lang-switch__list a:focus-visible {
  background: var(--page);
  color: var(--blue);
}

.lang-switch__list .is-current a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .lang-switch__toggle {
    display: none;
  }

  .lang-switch__panel,
  .lang-switch.is-open .lang-switch__panel {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    padding: 13px 12px;
    box-shadow: none;
  }

  .lang-switch__icon {
    display: inline-block;
    flex: none;
    color: #494c4f;
    font-size: 16px;
  }

  .lang-switch__list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .lang-switch__list li:not(:last-child)::after {
    content: "·";
    margin: 0 9px;
    color: #8c9699;
  }

  .lang-switch__list a {
    display: inline;
    padding: 0;
    font: 400 16px/1 var(--font);
  }

  .lang-switch__list a:hover,
  .lang-switch__list a:focus-visible {
    background: none;
  }
}

/* ------------------------------------------------------------------ page title band */

.page-title {
  padding: 20px 0;
  background: var(--blue);
}

.page-title h1 {
  padding: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 50px;
  text-align: center;
}

@media (max-width: 1024px) {
  .page-title {
    padding: 10px 0;
  }

  .page-title h1 {
    font-size: 39px;
  }
}

@media (max-width: 713px) {
  .page-title {
    padding: 25px 0;
  }

  .page-title h1 {
    padding: 0;
    font-size: 24px;
  }
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: #000;
}

.site-footer .container {
  justify-content: center;
  padding: 10px;
}

.site-footer p {
  color: #fff;
  text-align: center;
}

@media (max-width: 713px) {
  .site-footer p {
    font-size: 11px;
  }
}

/* ------------------------------------------------------------------ entrance animations
   Elements carry data-anim (desktop), data-anim-tablet, data-anim-mobile (smaller sizes
   inherit from larger ones, "none" switches it off). main.js starts them on scroll. */

.js [data-anim] {
  visibility: hidden;
}

@media (max-width: 1024px) {
  .js [data-anim-tablet] {
    visibility: hidden;
  }

  .js [data-anim-tablet="none"] {
    visibility: visible;
  }
}

@media (max-width: 713px) {
  .js [data-anim-mobile] {
    visibility: hidden;
  }

  .js [data-anim-mobile="none"] {
    visibility: visible;
  }
}

.js .is-animated,
.js .is-static {
  visibility: visible;
}

.is-animated {
  animation-duration: 1.25s;
}

.anim-bounceIn { animation-name: bounceIn; }
.anim-bounceInLeft { animation-name: bounceInLeft; }
.anim-bounceInRight { animation-name: bounceInRight; }
.anim-fadeIn { animation-name: fadeIn; }
.anim-fadeInDown { animation-name: fadeInDown; }
.anim-fadeInLeft { animation-name: fadeInLeft; }
.anim-fadeInRight { animation-name: fadeInRight; }
.anim-fadeInUp { animation-name: fadeInUp; }
.anim-zoomIn { animation-name: zoomIn; }

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  20% { transform: scale3d(1.1, 1.1, 1.1); }
  40% { transform: scale3d(0.9, 0.9, 0.9); }
  60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
  80% { transform: scale3d(0.97, 0.97, 0.97); }
  100% { opacity: 1; transform: scale3d(1, 1, 1); }
}

@keyframes bounceInLeft {
  0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% { opacity: 0; transform: translate3d(-3000px, 0, 0) scaleX(3); }
  60% { opacity: 1; transform: translate3d(25px, 0, 0) scaleX(1); }
  75% { transform: translate3d(-10px, 0, 0) scaleX(0.98); }
  90% { transform: translate3d(5px, 0, 0) scaleX(0.995); }
  100% { transform: none; }
}

@keyframes bounceInRight {
  0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% { opacity: 0; transform: translate3d(3000px, 0, 0) scaleX(3); }
  60% { opacity: 1; transform: translate3d(-25px, 0, 0) scaleX(1); }
  75% { transform: translate3d(10px, 0, 0) scaleX(0.98); }
  90% { transform: translate3d(-5px, 0, 0) scaleX(0.995); }
  100% { transform: none; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translate3d(0, -100%, 0); }
  100% { opacity: 1; transform: none; }
}

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translate3d(-100%, 0, 0); }
  100% { opacity: 1; transform: none; }
}

@keyframes fadeInRight {
  0% { opacity: 0; transform: translate3d(100%, 0, 0); }
  100% { opacity: 1; transform: none; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translate3d(0, 100%, 0); }
  100% { opacity: 1; transform: none; }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .is-animated {
    animation: none;
  }
}

/* ------------------------------------------------------------------ chat widget (Phone / WhatsApp / Email) */

.chat {
  position: fixed;
  right: 29px;
  bottom: 25px;
  z-index: 10001;
  color: #333;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.chat__main {
  position: relative;
  width: 54px;
  height: 54px;
}

.chat__label {
  position: absolute;
  top: 50%;
  right: 64px;
  padding: 5px 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
  font-size: 17px;
  line-height: 21px;
  white-space: nowrap;
  transform: translateY(-50%);
}

.chat.is-open .chat__label {
  display: none;
}

.chat__toggle {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a886cd;
  box-shadow: 0 16px 24px rgba(73, 104, 126, 0.16);
  cursor: pointer;
  animation: chat-jump 5s cubic-bezier(0.84, -0.54, 0.31, 1.19) infinite;
}

.chat.is-open .chat__toggle {
  animation: none;
}

.chat__toggle svg {
  display: block;
  width: 54px;
  height: 54px;
}

.chat__close,
.chat.is-open .chat__open,
.chat.is-open .chat__badge {
  display: none;
}

.chat.is-open .chat__close {
  display: block;
}

.chat__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d00;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

@keyframes chat-jump {
  0%, 20%, 100% { transform: none; }
  10% { transform: translateY(-1em); }
}

.chat__channels {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.chat.is-open .chat__channels {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.chat__channel {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
}

.chat__channel svg {
  display: block;
  width: 54px;
  height: 54px;
}

.chat__channel::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: 64px;
  padding: 5px 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
  color: #333;
  font-size: 17px;
  line-height: 21px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}

.chat__channel:hover::after,
.chat__channel:focus-visible::after {
  opacity: 1;
}

.chat-wa {
  position: fixed;
  right: 25px;
  bottom: 100px;
  width: 320px;
  max-width: calc(100vw - 50px);
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  font-family: Arial, Helvetica, Verdana, sans-serif;
}

.chat-wa[hidden] {
  display: none;
}

.chat-wa__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #4aa485;
}

.chat-wa__logo svg {
  display: block;
}

.chat-wa__close {
  padding: 6px;
  border: 0;
  background: none;
  cursor: pointer;
}

.chat-wa__close svg {
  display: block;
}

.chat-wa__body {
  min-height: 200px;
  padding: 20px 16px;
  background: #ece5dd;
}

.chat-wa__message {
  position: relative;
  display: inline-block;
  max-width: 85%;
  padding: 8px 12px 20px;
  border-radius: 0 8px 8px;
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.chat-wa__message p {
  margin: 0;
}

.chat-wa__time {
  position: absolute;
  right: 8px;
  bottom: 4px;
  color: #999;
  font-size: 11px;
}

.chat-wa__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.chat-wa__form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #cdd9e2;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.chat-wa__form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #4aa485;
  cursor: pointer;
}

/* ================================================================== pages */

/* ------------------------------------------------------------------ about */

.about-intro {
  padding: 50px 0 30px;
  background: var(--page);
}

.about-intro__text,
.about-intro__media {
  width: 50%;
}

.about-intro__media {
  padding: 20px;
}

.about-intro__media img {
  display: block;
  width: 96%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.title-bar {
  padding: 15px 0;
  border: 3px solid transparent;
  border-radius: 10px;
  background: var(--royal);
  box-shadow: var(--shadow);
}

.title-bar h2 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 40px;
  text-align: center;
}

.about-intro__text .title-bar {
  margin-top: 28px;
}

.about-intro__lead {
  padding-top: 10px;
  font-family: var(--font-heading);
  font-size: 29px;
  text-align: justify;
}

.about-detail {
  padding: 50px 0 60px;
  background: #fff url("../img/intro22.jpg");
}

.about-detail__inner {
  padding: 20px;
}

.about-detail__cards {
  display: flex;
  margin-top: 48px;
}

.about-card {
  width: calc(50% - 220px);
  margin: 0 20px 0 200px;
  padding: 50px 50px 0 0;
  border-top: 2px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(#91fcff 0%, #fff 100%);
  transition: background 0.3s, border 0.3s;
}

.about-card--right {
  margin: 0 200px 0 20px;
}

.about-card:hover {
  border-color: var(--accent);
  background: linear-gradient(#23ffe8 0%, #fff 100%);
}

.about-card h4 {
  margin-bottom: 30px;
  padding-left: 50px;
  font-family: var(--font-mono);
  font-size: 30px;
  letter-spacing: 2px;
  text-align: center;
}

.about-card__text {
  padding-left: 50px;
  font-family: var(--font-heading);
  font-size: 17px;
  text-align: justify;
}

@media (max-width: 1024px) {
  .about-intro {
    padding: 50px 40px;
  }

  .about-intro .container {
    flex-wrap: wrap;
  }

  .about-intro__text,
  .about-intro__media {
    width: 100%;
  }

  .about-intro__text {
    padding-bottom: 50px;
  }

  .about-intro__media {
    padding: 0;
  }

  .about-intro__media img {
    width: 87%;
  }

  .title-bar {
    padding: 10px 0;
  }

  .title-bar h2 {
    font-size: 39px;
  }

  .about-intro__lead {
    padding: 10px 60px 0;
    font-size: 24px;
    text-align: center;
  }

  .about-detail {
    padding: 50px 40px;
  }

  .about-card,
  .about-card--right {
    width: calc(50% - 10px);
    margin: 0 10px 0 0;
    padding: 20px 50px 20px 0;
  }

  .about-card--right {
    margin: 0 0 0 10px;
  }

  .about-card__text {
    font-size: 13px;
  }
}

@media (max-width: 713px) {
  .about-intro {
    padding: 15px 24px 60px;
  }

  .about-intro__text {
    padding-bottom: 20px;
  }

  .about-intro__media img {
    width: 100%;
  }

  .title-bar {
    padding: 5px 0;
  }

  .title-bar h2 {
    font-size: 28px;
  }

  .about-intro__lead {
    padding: 10px 0 0;
    font-size: 15px;
    text-align: justify;
  }

  .about-detail {
    padding: 44px 24px;
  }

  .about-detail__inner {
    padding: 0;
  }

  .about-detail__cards {
    flex-direction: column;
    margin-top: 0;
  }

  .about-card,
  .about-card--right {
    width: 100%;
    margin: 0 0 13px;
    padding: 0;
  }

  .about-card--right {
    margin: 0;
    padding: 10px;
  }

  .about-card h4 {
    padding: 10px 0 0;
    font-size: 25px;
  }

  .about-card--right h4 {
    padding: 0;
  }

  .about-card__text {
    padding: 0 10px 10px;
    text-align: left;
  }

  .about-card--right .about-card__text {
    padding: 0;
    text-align: justify;
  }
}

/* ------------------------------------------------------------------ news posts */

.article-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.article-title h2 {
  font-family: var(--font-display);
  font-size: 37px;
  text-align: center;
}

.article {
  padding: 20px;
}

/* full screen height above the mobile breakpoint, like the original */
@media (min-width: 714px) {
  .article {
    min-height: 100vh;
  }
}

.article__body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

@media (max-width: 713px) {
  .article-title h2 {
    font-size: 25px;
  }
}

/* ------------------------------------------------------------------ faq */

.faq {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 100px 0;
}

.faq__list + .faq__list {
  margin-top: 30px;
}

.faq__item {
  overflow: hidden;
}

.faq__q {
  padding: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
}

.faq__a {
  padding: 30px 40px;
}

@media (max-width: 1024px) {
  .faq {
    padding: 1px 52px 0 25px;
  }
}

@media (max-width: 713px) {
  .faq {
    padding: 1px 10px 0;
  }

  .faq__q {
    font-size: 16px;
  }
}

/* ------------------------------------------------------------------ contact */

.contact {
  padding-bottom: 60px;
}

.contact__info,
.contact__media {
  width: 50%;
  padding: 10px;
}

.contact__info {
  padding-top: 154px; /* 10px column + 114px spacer + 30px */
}

.contact__title,
.contact__company {
  margin-bottom: 30px;
  padding-right: 8px;
  font-family: var(--font-heading);
  font-size: 30px;
  letter-spacing: 2px;
}

.contact__company {
  font-size: 21px;
}

.contact__list {
  padding: 0;
  list-style: none;
}

.contact__list li,
.contact__list a {
  display: flex;
  align-items: center;
}

.contact__icon {
  display: flex;
  justify-content: center;
  width: 17.5px;
  font-size: 14px;
}

.contact__icon .icon {
  display: block;
}

.contact__text {
  padding-left: 5px;
  color: #000;
}

.contact__media > div {
  padding-top: 80px;
}

.contact__media img {
  width: 75%;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1024px) {
  .contact {
    padding-bottom: 159px;
  }

  .contact__info {
    padding: 83px 0 0 20px;
  }

  .contact__title {
    font-size: 22px;
  }

  .contact__company {
    font-size: 13px;
  }
}

@media (max-width: 713px) {
  .contact {
    padding-bottom: 25px;
  }

  .contact .container {
    flex-direction: column;
  }

  .contact__info,
  .contact__media {
    width: 100%;
  }

  .contact__info {
    padding-top: 43px;
  }

  .contact__media > div {
    padding-top: 0;
    text-align: center;
  }
}

/* ------------------------------------------------------------------ preview: accordion, call-to-action, audio player */

.news-accordion,
.news-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.accordion__header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px;
  border: solid rgba(0, 0, 0, 0.02);
  border-width: 1px 0;
  background: #f1f1f1;
  color: #333;
  font: 600 1rem/1 var(--font);
  text-align: left;
  cursor: pointer;
}

.accordion__icon {
  display: flex;
  align-items: center;
  width: 24px;
  height: 17px;
  margin-right: 10px;
  font-size: 16px;
}

.accordion__minus,
.accordion__item.is-open .accordion__plus {
  display: none;
}

.accordion__item.is-open .accordion__minus {
  display: inline-block;
}

.accordion__title {
  flex: 1;
}

.accordion__arrow {
  color: #444;
  font-size: 16px;
  transition: transform 0.3s ease-in-out;
}

.accordion__header:hover {
  background: #414141;
  color: #fff;
}

.accordion__item.is-open .accordion__header {
  background: #444;
}

.accordion__item.is-open .accordion__arrow {
  transform: rotate(90deg);
}

.accordion__panel {
  padding: 15px;
  border-top: 1px solid;
}

.news-cta__box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 5px;
  padding: 30px;
  background: #f4f4f4;
}

.news-cta__content {
  flex-grow: 1;
  padding: 0 15px;
}

.news-cta__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  text-transform: capitalize;
}

.news-cta__action {
  flex: 1 1 23%;
  padding: 25px 0 8px;
  font-size: 16px;
  line-height: 27px;
  text-align: right;
}

.news-cta__button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: #f9f9f9;
  box-shadow: 0 0 3px -1px rgba(0, 0, 0, 0.2);
  color: #4d4d4d;
  font-size: 16px;
  line-height: 27px;
}

.audio {
  display: flex;
  width: 763px;
  max-width: 100%;
  height: 40px;
  margin-bottom: 16px;
  padding: 0 10px;
  background: #222;
  color: #fff;
  font-family: Helvetica, Arial, serif;
}

.audio button {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 10px 6px;
  padding: 0;
  border: 0;
  background: transparent url("../img/mejs-controls.svg") no-repeat 0 0;
  cursor: pointer;
}

.audio.is-playing .audio__play {
  background-position: -20px 0;
}

.audio__mute {
  background-position: -60px 0 !important;
}

.audio.is-muted .audio__mute {
  background-position: -40px 0 !important;
}

.audio__time {
  flex: none;
  padding: 16px 6px 0;
  font-size: 11px;
  line-height: 10px;
}

.audio__rail {
  flex: 1;
  margin: 0 10px;
  padding-top: 10px;
  cursor: pointer;
}

.audio__total,
.audio__volume {
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.33);
}

.audio__total {
  height: 10px;
  margin-top: 5px;
}

.audio__progress,
.audio__volume-level {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.audio__progress {
  width: 0;
}

.audio__volume {
  flex: none;
  width: 50px;
  height: 8px;
  margin: 16px 6px 0 0;
  cursor: pointer;
}

.audio__volume-level {
  width: 100%;
  background: #fff;
}

@media (max-width: 768px) {
  .news-cta__box {
    flex-wrap: wrap;
    margin: 0;
  }

  .news-cta__button {
    padding: 12px 25px;
  }

  .news-cta__content {
    padding: 0;
    text-align: center;
  }

  .news-cta__action {
    padding-top: 0;
    text-align: center;
  }

  .audio {
    width: 100%;
  }
}

/* like MediaElement: no volume controls on touch devices */
@media (hover: none) {
  .audio__mute,
  .audio__volume {
    display: none;
  }
}

@media (max-width: 713px) {
  .news-cta__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ------------------------------------------------------------------ 404
   Error page in the site design: title band, then a card with the error code, a short
   message and buttons back to the home and contact pages. */

.not-found {
  max-width: 820px;
  margin: 60px auto 80px;
  padding: 48px 40px 56px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.not-found__code {
  margin: 0;
  color: var(--royal);
  font-family: var(--font-display);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 6px;
}

.not-found__title {
  margin: 28px 0 14px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.not-found__text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
  margin-top: 34px;
}

@media (max-width: 713px) {
  .not-found {
    margin: 30px 16px 50px;
    padding: 36px 20px 42px;
  }

  .not-found__code {
    font-size: 96px;
    letter-spacing: 4px;
  }

  .not-found__title {
    margin-top: 22px;
    font-size: 22px;
  }

  .not-found__text {
    font-size: 15px;
  }
}

/* ------------------------------------------------------------------ certifications */

.cert-band {
  padding: 20px 0;
  background: var(--blue);
}

.cert-band h1,
.cert-band h2 {
  padding: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
}

.cert {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

.cert--spaced {
  padding-bottom: 160px;
}

.cert__inner {
  padding: 35px 10px 10px;
}

.cert--fda .cert__image {
  padding-top: 26px;
}

.cert__pair {
  display: flex;
  padding-top: 25px;
}

.cert__pair .cert__image {
  width: 50%;
  padding: 10px;
}

.cert__image img {
  width: 80%;
}

.cert__image img.cert--full {
  width: auto;
}

/* 80% of the 708px image, as displayed on the original */
.cert__image img.cert--design {
  width: 566.4px;
}

@media (max-width: 1024px) {
  .cert-band {
    padding: 10px 0;
  }

  .cert-band h1,
  .cert-band h2 {
    font-size: 30px;
    line-height: 1.1em;
  }
}

@media (max-width: 713px) {
  .cert-band {
    padding: 25px 0;
  }

  .cert-band h1,
  .cert-band h2 {
    padding: 0;
    font-size: 18px;
    line-height: 1.2em;
  }

  .cert--spaced {
    padding-bottom: 90px;
  }

  .cert__inner {
    padding: 20px 10px 10px;
  }

  .cert--fda .cert__image {
    padding-top: 11px;
  }

  .cert__pair {
    flex-direction: column;
    padding-top: 10px;
  }

  .cert__pair .cert__image {
    width: 100%;
  }

  .cert__image img.cert--w91 {
    width: 91%;
  }

  .cert__image img.cert--w89 {
    width: 89%;
  }

  .cert__image img.cert--w86 {
    width: 86%;
  }

  .cert__image img.cert--design {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.87);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(238, 238, 238, 0.9);
  font: 300 40px/44px var(--font);
  cursor: pointer;
}

.lightbox__close:hover {
  color: #fff;
}

/* ------------------------------------------------------------------ responsive visibility
   Same breakpoints as the original: desktop ≥ 1025px, tablet 714–1024px, mobile ≤ 713px. */

@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (min-width: 714px) and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 713px) {
  .hide-mobile {
    display: none !important;
  }
}

/* ------------------------------------------------------------------ activities (testimonial cases) */

.cases {
  padding: 50px 0;
  background: #fff;
}

.cases__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cases__videos,
.cases__photos,
.cases__row {
  display: flex;
}

.cases__col {
  width: 50%;
  padding: 20px;
}

.cases__col > * + * {
  margin-top: 30px;
}

/* images pulled up under the heading before them (negative margins on the original) */
.cases__col > .pull-30 {
  margin-top: 0;
}

.cases__col > .pull-20 {
  margin-top: 10px;
}

.video-embed {
  aspect-ratio: 1.77777 / 1;
  overflow: hidden;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-img {
  text-align: center;
}

.case-img img {
  max-width: 100%;
}

.case-img.w100 img { width: 100%; }
.case-img.w85 img { width: 85%; }
.case-img.w73 img { width: 73%; }
.case-img.w71 img { width: 71%; }
.case-img.w62 img { width: 62%; }
.case-img.w58 img { width: 58%; }

.case-title {
  padding-top: 50px;
  color: #13a246;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  text-align: center;
}

.case-title--arial {
  font-family: var(--font-heading);
}

.cases__cell {
  padding: 10px;
}

.cases__cell--a {
  width: 27.039%;
}

.cases__cell--b {
  width: 28.345%;
}

.cases__cell--c {
  width: 44.28%;
}

.case-img--narrow {
  width: 93.814%;
}

.case-img--up20 {
  margin-top: -20px;
}

@media (max-width: 1024px) {
  .cases {
    padding: 80px 40px;
  }

  .cases__videos {
    margin-bottom: 64px;
    padding-bottom: 64px;
  }

  .cases__row {
    padding-bottom: 64px;
  }

  .case-title {
    font-size: 17px;
  }
}

@media (max-width: 713px) {
  .cases {
    padding: 0;
  }

  .cases__videos,
  .cases__photos {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .cases__photos {
    margin-bottom: 48px;
  }

  .cases__col {
    width: 100%;
  }

  .cases__videos .cases__col + .cases__col {
    margin-top: -17px;
  }

  .cases__row {
    margin-top: -48px;
  }

  .cases__cell--a,
  .cases__cell--b {
    width: 50%;
  }

  .case-img.m100 img { width: 100%; }
  .case-img.m99 img { width: 99%; }
  .case-img.m97 img { width: 97%; }
  .case-img.m95 img { width: 95%; }
  .case-img.m92 img { width: 92%; }

  .case-title {
    padding-top: 30px;
    font-size: 23px;
  }
}

/* On the original, a column's last visible item kept its 30px spacing when hidden
   (breakpoint-only) items followed it: the right column on desktop/tablet, the left on mobile. */
@media (min-width: 714px) {
  .cases__photos .cases__col:last-child {
    padding-bottom: 50px;
  }
}

@media (max-width: 713px) {
  .cases__photos .cases__col:first-child {
    padding-bottom: 50px;
  }
}

/* ------------------------------------------------------------------ button */

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--button);
  box-shadow: var(--shadow);
  color: #fff;
  font: 600 15px/1 var(--font-mono);
  text-align: center;
  transition: background 0.3s, color 0.3s;
}

.button:hover,
.button:focus-visible {
  background: #fff;
  color: #000;
}

/* ------------------------------------------------------------------ carousel
   Slides per view (--per-view) and gap (--gap) are set per carousel below. */

.carousel {
  position: relative;
  padding: 0 30px 30px;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: var(--gap);
  transform: translateX(calc(var(--i, 0) * -1 * (100% + var(--gap)) / var(--per-view) + var(--drag, 0px)));
  transition: transform 0.5s ease;
  touch-action: pan-y;
}

.carousel__track.is-jumping {
  transition: none;
}

.carousel__slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0;
  text-align: center;
}

.carousel__slide img {
  display: block;
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel__arrow {
  position: absolute;
  top: calc(50% - 15px); /* centred on the slides, above the 30px dot area */
  z-index: 1;
  display: flex;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: none;
  color: #2a2a2a;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel__arrow .icon {
  display: block;
}

.carousel__arrow--prev {
  left: 0;
}

.carousel__arrow--next {
  right: 0;
}

.carousel__dots {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  display: flex;
  justify-content: center;
  height: 30px;
  padding-top: 14px;
}

.carousel__dots button {
  width: 6px;
  height: 6px;
  margin: 0 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
  cursor: pointer;
}

.carousel__dots button[aria-current="true"] {
  opacity: 1;
}

/* ------------------------------------------------------------------ testimonial (charity activities) */

.charity-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.charity-intro__text {
  display: flow-root; /* keep the paragraph margin inside, as on the original */
  font-family: var(--font-heading);
  font-size: 20px;
  text-align: center;
}

.charity-intro__action {
  margin-top: 30px;
  padding: 25px 0 35px;
  text-align: center;
}

.charity-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.charity-carousel {
  --per-view: 3;
  --gap: 20px;
}

.charity-media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 100px 0;
}

.charity-media > * + * {
  margin-top: 30px;
}

.charity-media__short {
  padding: 0 50px;
}

.video-frame {
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.charity-media > .charity-media__video--kenny {
  margin-top: -19px; /* 30px spacing − 49px on the original */
  padding: 50px;
}

.charity-media > .charity-media__video--clips {
  margin-top: -70px; /* 30px spacing − 100px on the original */
  padding: 55px;
}

.charity-media__video--clips .video-frame {
  aspect-ratio: 1.33333 / 1;
}

.charity-img {
  padding: 0 50px;
  text-align: center;
}

.charity-img.w83 img {
  width: 83%;
}

.charity-img--banner {
  padding: 0 0 50px;
}

.charity-img--banner img {
  width: 100%;
}

.charity-img--last {
  padding-bottom: 50px;
}

@media (max-width: 1024px) {
  .charity-intro__text {
    font-size: 15px;
  }

  .charity-media {
    padding: 1px 40px 40px;
  }

  .charity-img.w83 img {
    width: 100%;
  }
}

@media (max-width: 713px) {
  .charity-intro__text {
    padding: 0 10px;
  }

  .charity-intro__action {
    padding: 13px 0 40px;
  }

  .charity-carousel {
    --per-view: 2;
  }

  .charity-media {
    padding: 1px 0 0;
  }

  .charity-img {
    padding: 0 30px;
  }

  .charity-img--banner {
    padding: 0 10px;
  }

  .charity-img--last {
    padding-bottom: 30px;
  }
}

/* ------------------------------------------------------------------ home */

.home-hero img {
  display: block;
  width: 100%;
}

.home-intro {
  padding: 80px 40px 0;
  background: linear-gradient(170deg, #fff 48%, #e7f0ff 48%);
}

.home-intro__inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.home-intro__col {
  width: 50%;
}

.home-intro__col--left {
  padding: 29px 40px 0 0;
}

/* 30px between items, like the original (the last DOM child gets none, even when hidden) */
.home-intro__col > :not(:last-child) {
  margin-bottom: 30px;
}

.home-intro__col > .home-intro__spacer {
  height: 86px;
  margin-bottom: 0;
}

.home-img {
  text-align: center;
}

.home-img img {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.home-img.w70 img {
  width: 70%;
}

.home-img.w88 img {
  width: 88%;
}

.home-img--shop {
  padding-top: 30px;
}

.home-text {
  padding-top: 10px;
  color: #172b28;
  font-family: var(--font-heading);
  font-size: 22px;
  text-align: justify;
}

.home-text--ink {
  color: var(--ink);
}

.home-btn {
  text-align: center;
}

.home-btn--distributor {
  padding: 25px 0 10px;
}

.home-btn--agent {
  padding-top: 25px;
}

.home-btn--shop {
  padding: 25px 0 100px;
}

.button--spaced {
  letter-spacing: 1.7px;
  word-spacing: 7px;
}

.home-shop {
  padding: 10px 10px 90px;
  background: #e7f0ff;
}

.home-shop .home-btn {
  padding-top: 25px;
}

.home-products {
  padding: 10px;
  background: #e7f0ff;
}

.products-carousel,
.details-carousel {
  --per-view: 3;
  --gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 30px;
}

.products-carousel .carousel__arrow,
.details-carousel .carousel__arrow {
  color: rgba(238, 238, 238, 0.9);
}

.products-carousel .carousel__arrow--prev,
.details-carousel .carousel__arrow--prev {
  left: 10px;
}

.products-carousel .carousel__arrow--next,
.details-carousel .carousel__arrow--next {
  right: 10px;
}

.home-reports {
  padding: 104px 40px;
  background: linear-gradient(0deg, #fff 54%, #e7f0ff 100%);
}

.home-reports__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-reports__row {
  display: flex;
}

.home-reports__row--spaced {
  padding-top: 25px;
}

.home-reports__cell {
  width: 50%;
  padding: 10px;
  text-align: center;
}

.home-reports__cell img {
  width: 100%;
}

.home-reports__cell--middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-reports__cell img.w85 {
  width: 85%;
}

.journal-title {
  margin-bottom: 50px; /* 20px heading margin + 30px spacing */
  font-family: Poppins, Helvetica, sans-serif; /* Poppins is not loaded — same as the original */
  font-size: 40px;
  text-align: center;
}

.journal-cover {
  display: block;
  margin-bottom: 23px;
}

.journal-cover:hover img {
  opacity: 0.5;
}

.home-details {
  padding: 10px;
  background: #fff;
}

.details-carousel {
  padding-top: 50px;
}

.details-carousel .carousel__slide img {
  border-radius: 11px;
}

.home-tests {
  padding: 0 40px 104px;
  background: var(--page);
}

.home-tests__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fancy-title {
  margin-bottom: 30px;
  padding-top: 50px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.85714;
  text-align: center;
}

.fancy-title__text {
  display: inline-block;
  color: #2728e4;
}

/* blinking typing cursor */
.fancy-title__text::after {
  content: "|";
  animation: cursor-blink 0.7s infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.test-cards {
  display: flex;
  margin-top: 30px;
  padding-top: 10px;
}

.test-card {
  width: calc(33.333% - 32px);
  margin-right: 32px;
  padding: 0 32px 40px;
  border-radius: 16px;
  background: #000;
  box-shadow: var(--shadow);
  text-align: center;
}

.test-card:nth-child(2) {
  width: calc(33.333% - 32px);
  margin: 0 16px;
}

.test-card:nth-child(3) {
  margin: 0 0 0 32px;
}

.test-card h6 {
  margin-bottom: 30px;
  padding-top: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 25px;
  letter-spacing: 2px;
}

.test-card img {
  width: 100%;
}

.test-card img.test-card__uv {
  width: auto;
  height: 227px;
}

.home-features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.title-bar--mono {
  margin: 10px 0;
}

.title-bar--mono h2 {
  font-family: var(--font-mono);
}

.home-posters {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.home-posters__cell {
  width: 50%;
  padding: 30px;
  text-align: center;
}

.home-posters__cell img {
  border-radius: 15px;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.5);
}

.home-posters__cell--b img {
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.5);
}

.home-videos {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0 60px;
}

.home-videos__side {
  width: 15%;
}

.home-videos__side--end {
  width: 18%;
}

.home-videos__cell--a {
  width: 33.417%;
  padding-right: 10px;
}

.home-videos__cell--b {
  width: 33.562%;
  padding-left: 10px;
}

.video-frame--portrait {
  aspect-ratio: 0.5625 / 1;
}

.home-banner {
  height: 500px;
  background: url("../img/bg-home-last.jpg") center / auto no-repeat;
}

.home-banner-mobile {
  padding: 10px;
  text-align: center;
}

@media (max-width: 1024px) {
  .home-hero:not(.home-hero--mobile) {
    padding-top: 120px;
  }

  .home-hero:not(.home-hero--mobile) img {
    margin-top: -112px;
  }

  .home-intro__col--left {
    padding: 0 0 0 15px;
  }

  .home-intro__col--right {
    padding: 15px;
  }

  .home-intro__col > .home-intro__spacer {
    height: 0;
  }

  .home-text {
    padding: 10px 10px 0;
    font-size: 18px;
    text-align: center;
  }

  .home-btn--distributor,
  .home-btn--shop {
    padding: 25px 0 0;
  }

  .home-img--shop {
    padding-top: 0;
  }

  .home-reports {
    padding: 40px;
  }

  .journal-title {
    font-size: 32px;
  }

  .details-carousel {
    --per-view: 2;
    --gap: 19px;
  }

  .details-carousel .carousel__slide img {
    border-radius: 12px;
  }

  .test-card {
    width: calc(33.333% - 16px);
    margin-right: 16px;
    padding: 0 24px 32px;
  }

  .test-card:nth-child(2) {
    width: calc(33.333% - 16px);
    margin: 0 8px;
  }

  .test-card:nth-child(3) {
    margin: 0 0 0 16px;
  }

  .test-card img.test-card__uv {
    height: 129px;
  }
}

@media (max-width: 713px) {
  .home-intro {
    padding: 64px 20px 24px;
  }

  .home-intro__inner,
  .home-reports__row,
  .test-cards {
    flex-direction: column;
  }

  .home-intro__col {
    width: 100%;
  }

  .home-intro__col--left,
  .home-intro__col--right {
    padding: 20px 0 0;
  }

  .home-text {
    padding: 10px 0 0;
    font-size: 15px;
    text-align: justify;
  }

  .home-btn--distributor,
  .home-btn--shop {
    padding: 0;
  }

  .home-btn--agent {
    padding: 13px 0 10px;
  }

  .home-shop {
    padding-bottom: 30px;
  }

  .home-shop .home-btn {
    padding: 13px 0 40px;
  }

  .products-carousel {
    --per-view: 2;
  }

  .home-reports {
    padding: 55px 24px 24px;
  }

  .home-reports .title-bar,
  .home-tests .title-bar {
    padding: 5px 0;
  }

  .home-reports .title-bar h2 {
    font-size: 21px;
  }

  .home-reports__cell {
    width: 100%;
  }

  .home-reports__row--spaced + .home-reports__row--spaced {
    padding-top: 10px;
  }

  .journal-title {
    margin-bottom: 7px; /* 20px heading margin − 13px */
    font-size: 24px;
  }

  .details-carousel {
    --per-view: 1;
    padding: 25px 15px 45px;
  }

  .home-tests {
    padding: 64px 24px;
  }

  .fancy-title {
    padding-top: 0;
    font-size: 35px;
  }

  .home-tests .title-bar h2,
  .title-bar--mono h2 {
    font-size: 23px;
  }

  .test-cards {
    margin-top: 0;
    padding-top: 20px;
  }

  .test-card,
  .test-card:nth-child(2),
  .test-card:nth-child(3) {
    width: 100%;
    margin: 0 0 20px;
    padding: 0 24px 32px;
  }

  .test-card:nth-child(3) {
    margin-bottom: 0;
  }

  .test-card h6 {
    padding-top: 15px;
    font-size: 20px;
  }

  .test-card:nth-child(3) h6 {
    font-size: 23px;
  }

  .test-card img.test-card__uv {
    height: 217px;
  }

  .home-features {
    padding: 0 30px;
  }

  .title-bar--mono {
    padding: 5px 0;
  }

  .home-posters__cell {
    padding: 10px;
  }

  .home-videos__cell--a,
  .home-videos__cell--b {
    width: 50%;
    padding: 20px;
  }
}
