/* ==========================================================================
   JVH Supply — website styles
   Colours and type come from the JVH Supply logo.
   ========================================================================== */

/* Fonts (Barlow / Barlow Condensed, SIL Open Font License — see assets/fonts/OFL.txt) */
@font-face {
  font-family: "Barlow";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy: #1c2d4a;
  --navy-2: #24385a;
  --navy-line: #33466a;
  --blue: #2f66ab;
  --blue-dark: #234f87;
  --blue-soft: #a9beda;
  --green: #4e9a47;
  --green-text: #3f7f3a;
  --green-line: #9ccb90;
  --ink: #1c2d4a;
  --body: #3b4a63;
  --muted: #4a5872;
  --on-dark: #c9d7ea;
  --line: #dce3ec;
  --line-soft: #e6ecf3;
  --field: #c9d5e3;
  --tint: #e8f0f9;
  --ground: #f4f7fa;
  --green-tint: #e7f2e4;
  --photo: #dce6f2;
  --photo-line: #9db4d3;
  --error: #b4232c;
  --radius: 16px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: #ffffff;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: var(--blue);
}
a:hover {
  color: var(--blue-dark);
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm {
  width: 16px;
  height: 16px;
}
.icon--lg {
  width: 26px;
  height: 26px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  color: #ffffff;
}
.nowrap {
  white-space: nowrap;
}

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

/* Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.section {
  padding-block: 72px;
}
.section--ground {
  background: var(--ground);
}
.section--tint {
  background: var(--tint);
}
.section--navy {
  background: var(--navy);
}
.section--lg {
  padding-block: 80px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
  align-items: center;
}
.split--top {
  align-items: start;
}

/* Type ------------------------------------------------------------------ */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green-text);
}
.display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  color: var(--ink);
}
.h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}
.h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.h3 {
  font-size: 30px;
  line-height: 1.05;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--body);
}
.text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}
.section-head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}

/* Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.btn--md {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
}
.btn--primary {
  background: var(--blue);
  color: #ffffff;
}
.btn--primary:hover {
  background: var(--blue-dark);
  color: #ffffff;
}
.btn--outline {
  background: #ffffff;
  border-color: var(--blue);
  color: var(--blue);
}
.btn--outline:hover {
  background: var(--tint);
  color: var(--blue-dark);
}
.btn--green {
  background: var(--green-text);
  color: #ffffff;
}
.btn--green:hover {
  background: #346b30;
  color: #ffffff;
}
.btn--white {
  background: #ffffff;
  color: var(--ink);
}
.btn--white:hover {
  background: var(--tint);
  color: var(--ink);
}
.btn--ghost {
  border-color: #ffffff;
  color: #ffffff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.btn--navy {
  background: var(--navy);
  color: #ffffff;
}
.btn--navy:hover {
  background: #12203a;
  color: #ffffff;
}
.btn--navy-outline {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--navy-outline:hover {
  background: var(--tint);
  color: var(--navy);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon {
  transition: transform 0.15s;
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* Top bar ---------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: #ffffff;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 10px;
}
.topbar__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
}
.topbar__tag .icon {
  color: #7dbb6e;
}
.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.topbar__links a:hover {
  color: var(--on-dark);
}

/* Header & navigation ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 14px;
}
.logo {
  display: block;
  line-height: 0;
}
.logo img {
  height: 80px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
}
.btn-header {
  padding: 0;
}
.btn-header a {
  color: #ffffff !important;
  min-height: 48px;
  width: 100%;
  padding: 0 22px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: none !important;
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.nav__link {
  padding: 12px 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav__link:hover {
  color: var(--blue);
}
.nav__link[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}
.nav .btn {
  margin-left: 12px;
}
.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1.5px solid var(--field);
  background: #ffffff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.icon-btn--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
.nav-toggle .i-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .i-menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .i-close {
  display: block;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-soft);
  padding: 8px 0 20px;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav__link[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
}
.mobile-nav .btn {
  width: 100%;
  margin-top: 12px;
}

/* Hero slideshow -------------------------------------------------------- */
.hero {
  background: var(--tint);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "text visual" "controls visual";
  column-gap: 56px;
  padding-block: 56px;
}
.hero__slides {
  grid-area: text;
  display: grid;
  align-self: end;
  min-height: 330px;
}
.slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
}
.label-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.slide__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 0.98;
  color: var(--ink);
}
.slide__text {
  max-width: 500px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
}
.slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}
.hero__visual {
  grid-area: visual;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 6 / 5;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
}
.slide-img {
  grid-area: 1 / 1;
  /* width: 88%;
  height: auto; */
  width: 540px;
  height: 450px;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.slide-img.is-active {
  opacity: 1;
  transform: none;
}
.slider-controls {
  grid-area: controls;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.round-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid var(--photo-line);
  background: #ffffff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.round-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.round-btn--plain {
  border-color: transparent;
  background: transparent;
  color: #33507a;
}
.dots {
  display: flex;
  align-items: center;
}
.dot {
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  transition: width 0.25s, background-color 0.25s;
}
.dot[aria-current="true"] span {
  width: 32px;
  background: var(--blue);
}
.slider-count {
  margin-left: 4px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #33507a;
}
.play-toggle .i-play {
  display: none;
}
.play-toggle[aria-pressed="true"] .i-pause {
  display: none;
}
.play-toggle[aria-pressed="true"] .i-play {
  display: block;
}

/* Category cards -------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28, 45, 74, 0.12);
}
.cat-card__media {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  background: var(--tint);
  overflow: hidden;
}
.cat-card__media img {
  height: 250px;
  width: auto;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cat-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 24px;
}
.cat-card__title {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
}
.cat-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.cat-card__count {
  display: none;
  font-size: 14px;
  color: var(--muted);
}
.cat-card__more {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--ground);
  border: 1px solid var(--line);
}
.callout p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  line-height: 1.45;
}
.callout p .icon {
  color: var(--blue);
  width: 22px;
  height: 22px;
}

/* Photo placeholders ---------------------------------------------------- */
.photo-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: var(--photo);
  color: #33507a;
}
.photo-slot .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}
.photo-slot__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.photo-slot__desc {
  max-width: 300px;
  font-size: 15px;
  line-height: 1.45;
}
.photo-slot--framed {
  border: 1.5px dashed var(--photo-line);
  border-radius: 20px;
  aspect-ratio: 5 / 4;
}

.photo-slot-img-1 {
  padding: 0;
  height: 240px;
  overflow: hidden;
}

.photo-slot-img-1 img {
  object-fit: cover;
}

.photo-slot-img-2 {
  padding: 0;
  overflow: hidden;
}

.photo-slot-img-2 img {
  object-fit: cover;
  height: 440px;
}

/* Who we serve ---------------------------------------------------------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.serve-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.serve-card .photo-slot {
  aspect-ratio: 4 / 3;
  border-bottom: 1px dashed var(--photo-line);
}
.serve-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}
.serve-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}
.icon-tile {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.icon-tile--green {
  background: var(--green-tint);
  color: var(--green-text);
}
.icon-tile--sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* Why JVH --------------------------------------------------------------- */
.why__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}
.feature {
  display: flex;
  gap: 14px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.feature p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* Inquiry --------------------------------------------------------------- */
.inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px 56px;
  align-items: start;
}
.inquiry__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-lines a:hover {
  color: var(--blue);
}
.circle {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
}
.qr-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #c9d7ea;
  border-radius: var(--radius);
}
.qr-card img {
  width: 128px;
  height: 128px;
  flex: none;
}
.qr-card__title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}
.qr-card p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.qr-card--dark {
  background: var(--navy);
  border-color: var(--navy);
  border-radius: 20px;
  padding: 24px;
}
.qr-card--dark .qr-card__img {
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
  line-height: 0;
  flex: none;
}
.qr-card--dark img {
  width: 120px;
  height: 120px;
}
.qr-card--dark .qr-card__title {
  color: #ffffff;
  font-size: 26px;
}
.qr-card--dark p {
  color: var(--on-dark);
}
.quick-actions {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.quick-actions .btn {
  min-height: 52px;
  font-size: 16px;
  padding: 0 12px;
}

/* Forms ------------------------------------------------------------------ */
.form-card {
  padding: clamp(20px, 3vw, 40px);
  background: #ffffff;
  border: 1px solid #c9d7ea;
  border-radius: 20px;
}
.form-card--ground {
  background: #ffffff;
  border-color: var(--line);
}
#inquiry .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label,
.legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.req {
  color: var(--error);
}
.input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--field);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
}
.input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(47, 102, 171, 0.2);
  outline-offset: 0;
}
select.input {
  padding: 0 12px;
}
textarea.input {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.chips-field {
  margin: 0;
  padding: 0;
  border: 0;
}
.legend {
  padding: 0;
  margin-bottom: 10px;
}
.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--field);
  border-radius: 999px;
  background: #ffffff;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.chips label input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
.wpcf7-checkbox label:has(input:checked) {
  border-color: var(--blue);
  background: var(--tint);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.form-actions p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.form-actions br {
  display: none;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-block: 24px;
}
.form-success .success-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-text);
}
.form-success .success-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.25;
}
.form-success .text-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.form-card[data-state="sent"] .form-body {
  display: none;
}
.form-card[data-state="sent"] .form-success {
  display: flex;
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px 56px;
  padding-block: 56px 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand img {
  height: 64px;
  width: auto;
  align-self: flex-start;
}
.footer-brand p {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-col li {
  list-style: none;
}
.footer-col h2 {
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-col a,
.footer-col span {
  display: flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  color: var(--on-dark);
  text-decoration: none;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-col .strong {
  color: #ffffff;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--navy-line);
  font-size: 14px;
}
.footer-bottom a {
  color: var(--on-dark);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #ffffff;
}

/* Inner page hero ------------------------------------------------------- */
.page-hero {
  background: var(--tint);
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 48px 40px;
}
.page-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb [aria-hidden] {
  color: #8a97a8;
}

/* Products --------------------------------------------------------------- */
.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #ffffff;
  border: 1.5px solid var(--green-line);
}
.note__text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.note__text p {
  font-size: 17px;
  line-height: 1.5;
}
.circle--green {
  background: var(--green-tint);
  color: var(--green-text);
}
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--photo-line);
  background: #f4f8fc;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.pill:hover {
  background: #ffffff;
  color: var(--ink);
}
.pill span {
  font-size: 13px;
  font-weight: 700;
  color: #33507a;
}
.cat-section {
  padding-block: 56px;
  scroll-margin-top: 110px;
}
.cat-section--alt {
  background: var(--ground);
}
.cat-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
}
.cat-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.cat-intro__media {
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--tint);
  overflow: hidden;
}
.cat-intro__media img {
  height: 230px;
  width: auto;
  object-fit: cover;
}
.cat-intro__title {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.cat-intro__count {
  font-size: 15px;
  color: var(--muted);
}
.cat-intro .btn {
  justify-self: start;
}
.items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  align-content: start;
}
.item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas: "thumb tag" "thumb name" "thumb link";
  align-content: center;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.item--featured {
  border: 1.5px solid var(--green-line);
}
.item__thumb {
  grid-area: thumb;
  grid-row: 1 / -1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef3f9;
  color: #8aa3c4;
  overflow: hidden;
}
.item__thumb .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}
.item__tag {
  grid-area: tag;
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.item__name {
  grid-area: name;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.item__link {
  grid-area: link;
  justify-self: start;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.item__link:hover {
  text-decoration: underline;
}
.cta-band {
  background: var(--blue);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: 48px;
}
.cta-band__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
}
.cta-band p {
  font-size: 18px;
  line-height: 1.55;
  color: #e3ecf7;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* About ----------------------------------------------------------------- */
.about-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-hero__split {
  padding-block: 56px;
}
.value-card h3 + p,
.feature h3 + p,
.step h3 + p {
  margin-top: 6px;
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px 72px;
}
.story__year {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.year {
  font-family: var(--display);
  font-size: clamp(80px, 10vw, 132px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--blue);
}
.year-caption {
  font-size: 17px;
  font-weight: 600;
}
.story__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story__copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.mv-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  border-radius: 20px;
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
}
.mv-card .icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--blue);
}
.mv-card .icon-tile--green {
  background: var(--green);
}
.mv-card h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}
.mv-card p {
  font-size: 18px;
  line-height: 1.65;
  color: #d5e0ee;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ground);
  border: 1px solid var(--line);
}
.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.value-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.serve-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.serve-mini__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}
.serve-mini__item .card-title {
  font-size: 26px;
}

/* Contact --------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: start;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
}
.contact-row:last-child {
  border-bottom: 0;
}
a.contact-row:hover {
  background: var(--ground);
  color: var(--ink);
}
.contact-row .icon-tile {
  width: 48px;
  height: 48px;
}
.contact-row__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row__value {
  display: block;
  font-size: 18px;
  font-weight: 600;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ground);
  border: 1px solid var(--line);
}
.step__num {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
}
.step p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.page-hero .quick-actions {
  max-width: 480px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .topbar {
    display: none;
  }
  .nav {
    display: none;
  }
  .header-actions {
    display: flex;
  }
  .site-header__bar {
    padding-block: 10px;
  }
  .logo img {
    height: 52px;
  }
  .section,
  .section--lg {
    padding-block: 48px;
  }
  .page-hero__split {
    padding-block: 28px 36px;
  }
  .split,
  .inquiry__grid,
  .story,
  .contact-layout,
  .cat-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "text" "visual" "controls";
    row-gap: 20px;
    padding-block: 32px;
  }
  .hero__slides {
    min-height: 0;
    align-self: stretch;
  }
  .hero__visual {
    max-width: none;
    aspect-ratio: 10 / 7;
    border-radius: 20px;
  }
  .slide-img {
    width: auto;
    height: 100%;
  }
  .slider-controls {
    margin-top: 0;
    justify-content: space-between;
  }
  .slider-count {
    display: none;
  }
  .cat-grid,
  .serve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qr-card,
  .contact-lines {
    display: none;
  }
  .quick-actions {
    display: grid;
  }
  .mv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .serve-mini {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
  }
  .serve-mini__item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .serve-mini__item:last-child {
    border-bottom: 0;
  }
  .serve-mini__item .card-title {
    font-size: 24px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .step {
    flex-direction: row;
    gap: 14px;
    padding: 18px;
  }
  .step__num {
    font-size: 32px;
    width: 40px;
    flex: none;
  }
  .cat-intro {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "media title" "media count" "desc desc" "btn btn";
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
  }
  .cat-intro__media {
    grid-area: media;
    height: 80px;
    border-radius: 12px;
  }
  .cat-intro__media img {
    height: 70px;
  }
  .cat-intro__title {
    grid-area: title;
    align-self: end;
    margin-top: 0;
    font-size: 32px;
  }
  .cat-intro__count {
    grid-area: count;
    align-self: start;
  }
  .cat-intro .text {
    grid-area: desc;
    margin-top: 12px;
  }
  .cat-intro .btn {
    grid-area: btn;
    margin-top: 12px;
  }
  .cat-section {
    scroll-margin-top: 80px;
  }
  .mobile-nav .menu-item {
    list-style: none;
  }
  .nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    padding: 0;
    text-decoration: none;
    border-bottom: 1px solid var(--line-soft) !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .section,
  .section--lg {
    padding-block: 40px;
  }
  .stack {
    gap: 24px;
  }
  .slide__actions {
    width: 100%;
  }
  .slide__actions .btn {
    flex: 1 1 100%;
  }
  .slide__actions .btn--outline {
    display: none;
  }
  .slide__title {
    font-size: 44px;
  }
  .slide__text {
    font-size: 17px;
  }
  .cat-grid {
    gap: 12px;
  }
  .cat-card {
    border-radius: 14px;
  }
  .cat-card__media {
    height: 118px;
  }
  .cat-card__media img {
    height: 108px;
  }
  .badge {
    top: 8px;
    left: 8px;
    padding: 3px 7px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }
  .cat-card__body {
    padding: 12px 14px 14px;
    gap: 2px;
  }
  .cat-card__title {
    font-size: 22px;
    line-height: 1.1;
  }
  .cat-card__desc,
  .cat-card__more {
    display: none;
  }
  .cat-card__count {
    display: block;
  }
  .callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .callout p .icon {
    display: none;
  }
  .serve-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .serve-card .photo-slot {
    aspect-ratio: auto;
    height: 150px;
  }
  .serve-card .photo-slot__label {
    display: none;
  }
  .serve-card__body {
    padding: 16px 18px 18px;
  }
  .card-title {
    font-size: 24px;
  }
  .photo-slot--framed {
    aspect-ratio: 16 / 10;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .form-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    padding-block: 36px 28px;
  }
  .footer-col--products {
    display: none;
  }
  .footer-brand img {
    height: 56px;
  }
  .footer-bottom {
    font-size: 13px;
  }
  .page-hero__inner {
    padding-block: 24px 28px;
    gap: 16px;
  }
  .note {
    padding: 16px;
  }
  .note__text .circle {
    display: none;
  }
  .note .btn {
    width: 100%;
  }
  .pill-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * clamp(16px, 4vw, 32px));
    padding: 2px clamp(16px, 4vw, 32px) 4px;
    scrollbar-width: none;
  }
  .pill-nav::-webkit-scrollbar {
    display: none;
  }
  .pill {
    font-size: 15px;
    padding: 0 14px;
  }
  .cat-section {
    padding-block: 32px;
  }
  .cat-intro .btn {
    display: none;
  }
  .items {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: "thumb name link" "thumb tag link";
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .item:last-child {
    border-bottom: 0;
  }
  .item--featured {
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    background: #f6fbf4;
  }
  .item__thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
  .item__thumb .icon {
    width: 18px;
    height: 18px;
  }
  .item__name {
    font-size: 16px;
  }
  .item__tag {
    padding: 0;
    background: transparent;
    align-self: start;
  }
  .item--featured .item__name {
    align-self: end;
  }
  .item:not(:has(.item__tag)) {
    grid-template-areas: "thumb name link";
  }
  .item__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
  }
  .cta-band__inner {
    padding-block: 32px;
  }
  .cta-band__actions,
  .cta-band__actions .btn {
    width: 100%;
  }
  .about-hero__copy .slide__actions .btn--outline {
    display: none;
  }
  .mv-card {
    padding: 24px;
  }
  .mv-card h2 {
    font-size: 32px;
  }
  .mv-card p,
  .story__copy p {
    font-size: 16px;
  }
  .value-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .value-card {
    flex-direction: row;
    gap: 14px;
    padding: 18px;
  }
  .value-card h3 {
    font-size: 17px;
  }
  .value-card p {
    font-size: 15px;
  }
  .contact-row {
    padding: 16px;
  }
  .contact-row__value {
    font-size: 17px;
  }
  .form-card {
    border-radius: 16px;
  }
}

/* Mockup 2 */
/* Statement Section Specific CSS */

:root {
    --ink: #0E1B30;
    --blue: #2F66AB;
    --lime: #A6DB97;
    --on-dark: #B8C6DA;
    --r-md: 20px;
    --ease: cubic-bezier(.2, .75, .2, 1);
    --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --gutter: clamp(16px, 4vw, 40px);
}

.section.statement { padding-block: 72px; }
.section--ink.statement { background: var(--ink); color: #FFFFFF; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--blue); }
.kicker .icon { width: 14px; height: 14px; color: var(--green); }
.section--ink.statement .kicker { color: var(--lime); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

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

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* Statement Main Block */
.statement { position: relative; overflow: hidden; }
.statement__quote { max-width: 1060px; font-family: var(--display); font-size: clamp(32px, 4.3vw, 58px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
.statement__quote .word { opacity: .22; transition: opacity .35s; }
.statement__quote .word.is-lit { opacity: 1; }
.statement__quote .hl { color: var(--lime); }

/* Stats Grid */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat__num { font-family: var(--display); font-size: clamp(44px, 5vw, 68px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat__label { margin-top: 8px; font-size: 16px; color: var(--on-dark); }

/* Values Grid */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.value { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); transition: background-color .3s, transform .4s var(--ease); }
.value:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.value__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(166, 219, 151, .14); color: var(--lime); }
.value h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.value p { font-size: 15px; line-height: 1.55; color: var(--on-dark); }

/* Reveal on scroll -------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: 32px;
  }
}

@media (max-width: 640px) {
  .values { grid-template-columns: minmax(0, 1fr); }

  .stats {
      gap: 24px 16px;
      margin-top: 56px;
  }

}
/* Generic pages (Privacy Policy etc.) ------------------------------------- */
.doc-meta {
  font-size: 15px;
  color: var(--muted);
}
.doc-body {
  padding-block: 56px 88px;
}
.doc-card {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 56px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28, 45, 74, 0.04), 0 12px 32px rgba(28, 45, 74, 0.06);
}
.prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  overflow-wrap: break-word;
}
.prose > :first-child {
  margin-top: 0;
}
.prose > :last-child {
  margin-bottom: 0;
}
.prose p {
  margin: 0 0 1.1em;
}
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}
.prose h2 {
  margin: 1.8em 0 0.5em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(26px, 3vw, 32px);
}
.prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 22px;
}
.prose h4 {
  margin: 1.5em 0 0.4em;
  font-size: 18px;
}
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.prose li {
  margin-bottom: 0.45em;
  padding-left: 0.2em;
}
.prose ul li::marker {
  color: var(--green);
}
.prose ol li::marker {
  color: var(--blue);
  font-weight: 700;
}
.prose a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--blue-dark);
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: var(--green-tint);
  color: var(--ink);
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose table {
  width: 100%;
  margin: 0 0 1.4em;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th {
  background: var(--ground);
  color: var(--ink);
}
.prose .privacy-policy-tutorial {
  display: none;
}
.doc-card .entry-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.doc-comments {
  max-width: 880px;
}

/* 404 page --------------------------------------------------------------- */
.error-404 {
  padding-block: clamp(56px, 9vw, 112px);
}
.error-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.error-404__code {
  font-family: var(--display);
  font-size: clamp(96px, 20vw, 200px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.error-404__text {
  max-width: 560px;
}
.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.error-404__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 880px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.error-404__links a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.error-404__links a:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(28, 45, 74, 0.1);
  transform: translateY(-2px);
  color: var(--ink);
}
.error-404__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.error-404__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 17px;
  font-weight: 700;
}
.error-404__label small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
@media (max-width: 760px) {
  .error-404__links {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }
  .doc-body {
    padding-block: 32px 56px;
  }
}
