/* ==========================================================================
   GIBORCH VENDING — runtime styles
   Tokens translated once from DESIGN.md (YAML frontmatter is the source of truth).
   ========================================================================== */

/* Fonts are loaded from assets/css/fonts.css. */

:root {
  /* colour */
  --white: #ffffff;
  --blue-50: #eef3ff;
  --blue-100: #d9e3fd;
  --blue-200: #adc4f4;
  --blue-300: #779ce8;
  --blue-400: #3a6fd6;
  --blue-500: #1a55cb;
  --blue-600: #0a47c4;
  --blue-700: #083ba6;
  --blue-800: #062f85;
  --blue-900: #04245f;
  --orange-50: #fff4ee;
  --orange-100: #ffe2d2;
  --orange-200: #fdc3a4;
  --orange-300: #fa9a6b;
  --orange-400: #f5703a;
  --orange-500: #e85512;
  --orange-600: #ce4a0d;
  --orange-700: #a83c0a;
  --orange-800: #832f08;
  --green-50: #eef8f1;
  --green-100: #d5eedd;
  --green-400: #45b06a;
  --green-500: #2e9e4f;
  --green-600: #1f7a3d;
  --green-700: #196330;
  --gray-50: #f7f9fa;
  --gray-100: #f1f4f6;
  --gray-200: #e3e8ec;
  --gray-300: #d2d9df;
  --gray-400: #b4bec7;
  --gray-500: #8a949e;
  --gray-600: #66707b;
  --gray-700: #4f5a66;
  --gray-800: #2b333b;
  --gray-900: #14181d;

  --primary: #0a47c4;
  --primary-hover: #083ba6;
  --accent: #ce4a0d;
  --accent-hover: #a83c0a;
  --green: #2e9e4f;
  --green-text: #1f7a3d;

  --ink: #14181d;
  --text-primary: #14181d;
  --text-secondary: #4f5a66;
  --text-muted: #66707b;
  --text-inverse: #ffffff;

  --surface-page: #ffffff;
  --surface-subtle: #f7f9fa;
  --surface-muted: #f1f4f6;
  --surface-blue: #eef3ff;
  --surface-orange: #fff4ee;

  --border-subtle: #e3e8ec;
  --border-strong: #d2d9df;
  --border-ink: #14181d;

  --success: #1b7a3d;
  --success-surface: #ecf7f0;
  --warning: #8a5a00;
  --danger: #b3261e;
  --danger-surface: #fdedec;

  /* type */
  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* space */
  --base: 4px;
  --xs: 8px;
  --sm: 12px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --xxl: 48px;
  --xxxl: 64px;
  --section: 96px;

  --container: 1280px;
  --gutter: 32px;
  --nav-h: 72px;
  --measure: 42rem;

  /* shape + depth */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-full: 9999px;

  --sh-1: 0 0 0 1px var(--border-subtle);
  --sh-2: 0 1px 2px rgba(20, 24, 29, 0.06), 0 1px 1px rgba(20, 24, 29, 0.04);
  --sh-3: 0 12px 32px rgba(20, 24, 29, 0.14);

  --ease: cubic-bezier(0.2, 0, 0.38, 1);
  --t-color: 120ms;
  --t-transform: 180ms;
  --t-panel: 240ms;
  --t-carousel: 420ms;
}

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

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

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
  border-radius: var(--r-xs);
}

::selection {
  background: var(--blue-100);
}

.sr-only {
  position: absolute;
  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: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-xs);
  transition: top var(--t-color) var(--ease);
}
.skip-link:focus-visible {
  top: 12px;
}

/* ---------------------------------------------------------------- layout */

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

.section {
  padding: var(--section) 0;
}

/* keep anchored headlines clear of the sticky header */
section[id],
div[id='contact'] {
  scroll-margin-top: 88px;
}
.section--subtle {
  background: var(--surface-subtle);
}
.section--muted {
  background: var(--surface-muted);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--xl);
  margin-bottom: var(--xxl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--xs);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--primary);
  flex: none;
}
.eyebrow--light {
  color: var(--gray-700);
}

.section-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-lede {
  margin: var(--md) 0 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--xs);
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-color) var(--ease), color var(--t-color) var(--ease),
    border-color var(--t-color) var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}
.btn--primary:active {
  background: var(--orange-800);
}
.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-ink);
}
.btn--secondary:hover {
  background: var(--surface-subtle);
  color: var(--primary);
  border-color: var(--primary);
}
.btn--secondary-soft {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--gray-300);
}
.btn--secondary-soft:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}
.btn--ghost {
  height: 44px;
  padding: 0 var(--xs);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
}
.btn--ghost:hover {
  background: var(--blue-50);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  background: var(--surface-muted);
  color: var(--gray-500);
  border-color: var(--border-subtle);
  cursor: not-allowed;
}

.btn .arrow {
  transition: transform var(--t-transform) var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--t-transform) var(--ease), border-color var(--t-transform) var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--border-strong);
  box-shadow: var(--sh-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lg);
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gray-600);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  transition: color var(--t-color) var(--ease);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after {
  opacity: 0.45;
  transform: scaleX(1);
  background: var(--border-strong);
}
.nav-link.is-active {
  color: var(--text-primary);
}
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
  background: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--md);
  flex: none;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  color: var(--ink);
  cursor: pointer;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 24, 29, 0.42);
  opacity: 0;
  animation: fade-in 200ms var(--ease) forwards;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  width: min(400px, 88vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-3);
  animation: drawer-in var(--t-panel) var(--ease);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--lg);
  border-bottom: 1px solid var(--border-subtle);
  flex: none;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--xs) 0;
}
.drawer__row {
  display: flex;
  align-items: baseline;
  gap: var(--sm);
  min-height: 48px;
  padding: 12px var(--lg);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color var(--t-color) var(--ease), color var(--t-color) var(--ease);
}
.drawer__row:hover {
  background: var(--surface-subtle);
  color: var(--primary);
}
.drawer__row span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  min-width: 20px;
}
.drawer__foot {
  padding: var(--lg);
  border-top: 1px solid var(--border-subtle);
  flex: none;
}
.drawer__mail {
  display: block;
  margin-top: var(--sm);
  font-size: 14px;
  color: var(--text-secondary);
  word-break: break-all;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}
@keyframes drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__copy {
  max-width: 620px;
  padding: 56px 0 40px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 72px;
  width: 48%;
  overflow: hidden;
  z-index: 1;
  background: var(--surface-subtle);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
  opacity: 0;
  transition: opacity var(--t-carousel) var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero__media img.is-active {
  opacity: 1;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.88) 14%,
    rgba(255, 255, 255, 0) 42%
  );
}

.hero-arrow {
  position: absolute;
  top: 38%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(20, 24, 29, 0.1);
  cursor: pointer;
  transition: background-color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
}
.hero-arrow:hover {
  background: var(--gray-100);
  border-color: var(--border-ink);
}
.hero-arrow--prev {
  left: 12px;
}
.hero-arrow--next {
  right: 12px;
}

.hero__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__title-lead,
.hero__title-tail {
  display: block;
  font-size: clamp(34px, 4.4vw, 62px);
}
.hero__title-lead {
  color: var(--primary);
}
.hero__title-tail {
  color: var(--ink);
}

.hero__sub {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.hero__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  min-height: 106px;
  align-content: start;
}
.hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.hero__bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  color: #fff;
  flex: none;
}
.hero__bullet--blue {
  background: var(--primary);
}
.hero__bullet--accent {
  background: var(--accent);
}
.hero__bullet--green {
  background: var(--green);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sm);
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero__foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  border-top: 1px solid var(--border-subtle);
  background: var(--white);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}
.carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.carousel-dot i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--gray-300);
  transition: width var(--t-transform) var(--ease), background-color var(--t-color) var(--ease);
}
.carousel-dot.is-active i {
  width: 22px;
  background: var(--primary);
}

.carousel-toggle {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  color: var(--gray-700);
  cursor: pointer;
  transition: background-color var(--t-color) var(--ease), color var(--t-color) var(--ease),
    border-color var(--t-color) var(--ease);
}
.carousel-toggle:hover {
  background: var(--surface-subtle);
  border-color: var(--border-ink);
  color: var(--ink);
}

.slide-copy {
  animation: slide-in var(--t-carousel) var(--ease);
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------- capabilities */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lg);
}

.cap-card {
  --tone: var(--primary);
  display: grid;
  align-content: stretch;
  grid-template-columns: minmax(0, 1fr) 0.62fr;
  gap: var(--md);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--tone);
  border-radius: var(--r-sm);
  padding: var(--lg) var(--md) var(--lg) var(--lg);
  transition: border-color var(--t-color) var(--ease), box-shadow var(--t-transform) var(--ease),
    transform var(--t-transform) var(--ease);
}
.cap-card--blue {
  --tone: var(--primary);
}
.cap-card--accent {
  --tone: var(--accent);
}
.cap-card--green {
  --tone: var(--green);
}
.cap-card:hover {
  border-color: var(--border-strong);
  border-top-color: var(--tone);
  box-shadow: var(--sh-2);
  transform: translateY(-1px);
}

.cap-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.cap-card__num {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--tone);
  font-variant-numeric: tabular-nums;
}
.cap-card__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.cap-card__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.cap-card__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.cap-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.cap-card__list svg {
  color: var(--green);
  flex: none;
  margin-top: 2px;
}
.cap-card__link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.cap-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cap-card__media {
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 3 / 4;
  background: var(--surface-subtle);
}
.cap-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-transform) var(--ease);
}
.cap-card:hover .cap-card__media img {
  transform: scale(1.03);
}

/* -------------------------------------------------------------- products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--md);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: var(--sm);
  color: inherit;
  text-align: center;
  transition: border-color var(--t-color) var(--ease), box-shadow var(--t-transform) var(--ease),
    transform var(--t-transform) var(--ease);
}
.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.product-card__media {
  overflow: hidden;
  border-radius: var(--r-xs);
  aspect-ratio: 4 / 5;
  background: var(--surface-subtle);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-transform) var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.03);
}
.product-card__name {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.7em;
  margin: 12px 4px 4px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.product-card__spec {
  margin: 6px 4px 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}
.product-card__body {
  padding: 0 2px 6px;
}
.product-grid--detail .product-card__name {
  margin-top: 14px;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.product-grid--detail .product-card__spec {
  font-size: 13px;
  text-align: left;
  margin: 8px 4px 10px;
}
.product-grid--detail .product-card__media {
  aspect-ratio: 4 / 3;
}
.product-card__more {
  display: none;
}

.grid-foot {
  display: flex;
  justify-content: center;
  margin-top: var(--xxl);
}

/* ------------------------------------------------------------ industries */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lg);
}

.industry-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  overflow: hidden;
  color: inherit;
  transition: border-color var(--t-color) var(--ease), box-shadow var(--t-transform) var(--ease),
    transform var(--t-transform) var(--ease);
}
.industry-tile:hover {
  border-color: var(--border-strong);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.industry-tile__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-muted);
}
.industry-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-transform) var(--ease);
}
.industry-tile:hover img {
  transform: scale(1.03);
}
.industry-tile__bar {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px 0 60px;
}
.industry-icon {
  position: absolute;
  left: 14px;
  bottom: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  border: 3px solid var(--white);
  color: #fff;
  flex: none;
  box-shadow: 0 1px 3px rgba(20, 24, 29, 0.12);
}
.industry-icon--blue {
  background: var(--primary);
}
.industry-icon--accent {
  background: var(--accent);
}
.industry-icon--green {
  background: var(--green);
}
.industry-tile__bar b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

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

.about-band {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--xxxl);
  align-items: start;
}
.about-copy p {
  margin: 0 0 var(--md);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--primary);
  padding-top: var(--xs);
}
.about-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--md);
  padding: var(--lg) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.about-stat__value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}
.about-stat__label {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: right;
  max-width: 15ch;
}

/* ---------------------------------------------------------- global cards */

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lg);
  align-items: stretch;
}

.market-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: var(--lg);
  height: 100%;
}
.market-card--muted {
  background: var(--surface-subtle);
}
.market-card--muted .market-reasons {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.market-card__title {
  margin: 0 0 var(--md);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.market-card__map {
  margin: 0 0 var(--md);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: var(--sm);
}
.market-card__map img {
  width: 100%;
  height: auto;
}
.market-card > .market-note {
  margin-top: auto;
}
.market-card__media {
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 16 / 9;
  margin-bottom: var(--md);
  background: var(--surface-muted);
}
.market-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.market-card__copy {
  margin: 0 0 var(--md);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.market-list {
  list-style: none;
  margin: var(--md) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.market-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
}
.market-list li:last-child {
  border-bottom: 1px solid var(--border-subtle);
}
.market-list i {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-style: normal;
  color: var(--gray-500);
}
.market-list b {
  font-weight: 600;
  color: var(--text-primary);
}
.market-list span {
  color: var(--text-muted);
}
.market-reasons {
  list-style: none;
  margin: var(--md) 0 0;
  padding: 0;
}
.market-reasons li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--xs);
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-primary);
}
.market-reasons li:last-child {
  border-bottom: 1px solid var(--border-subtle);
}
.market-reasons i {
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  line-height: 1.9;
}
.market-note {
  margin: var(--sm) 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------- partners */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--sm);
}
.partner-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xs);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gray-400);
  text-align: center;
  padding: 0 var(--xs);
}

/* ------------------------------------------------------------ final cta */

.cta-band {
  background: linear-gradient(180deg, #e7effe 0%, #f6f9ff 100%);
  padding: var(--xxxl) 0;
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}
.cta-inner {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--xxxl);
  align-items: center;
}
.cta-title {
  margin: var(--md) 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 16ch;
}
.cta-copy {
  margin: var(--md) 0 0;
  max-width: 46ch;
  font-size: 16px;
  color: var(--text-secondary);
}
.cta-actions {
  display: flex;
  gap: var(--sm);
  margin-top: var(--lg);
  flex-wrap: wrap;
}
.cta-media {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------- inquiry */

.inquiry-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--xxxl);
  align-items: start;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--xl);
  box-shadow: var(--sh-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.field label .req {
  color: var(--accent);
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--text-primary);
  transition: border-color var(--t-color) var(--ease), box-shadow var(--t-color) var(--ease);
}
.field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-500);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%234F5A66' stroke-width='1.5' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 87, 217, 0.16);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'],
.field select[aria-invalid='true'] {
  border-color: var(--danger);
}
.field .help {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.field .error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--danger);
}
.field__suffix {
  position: relative;
}
.field__suffix span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--md);
  margin-top: var(--lg);
}
.form-status {
  margin-right: auto;
  font-size: 14px;
  color: var(--text-muted);
}

.success-panel {
  background: var(--success-surface);
  border-radius: var(--r-sm);
  padding: var(--lg);
  outline: none;
}
.success-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--success);
  color: #fff;
  margin-bottom: var(--md);
}
.success-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.success-panel p {
  margin: var(--xs) 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #14562c;
}
.success-panel .ref {
  margin-top: var(--md);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #14562c;
}
.success-panel .btn {
  margin-top: var(--lg);
}

.rail {
  border-top: 2px solid var(--ink);
  padding-top: var(--lg);
}
.rail h3 {
  margin: 0 0 var(--md);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rail__row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--sm);
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
}
.rail__row:first-of-type {
  border-top: 0;
}
.rail__row i {
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1.9;
}
.rail__row b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.rail__row span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.rail__contact {
  margin-top: var(--lg);
  padding: var(--lg);
  border-radius: var(--r-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-primary);
}
.rail__contact b {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.rail__contact p {
  display: flex;
  justify-content: space-between;
  gap: var(--md);
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
}
.rail__contact p span {
  color: var(--text-muted);
}
.rail__contact a {
  color: var(--primary);
  font-weight: 600;
}
.rail__contact a {
  color: var(--primary);
}
.rail__contact p {
  margin: 0 0 6px;
}

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

.site-footer {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-strong);
  padding: var(--xxxl) 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 3fr repeat(5, 1.75fr);
  gap: var(--lg);
  padding-bottom: var(--xl);
}
.footer-brand p {
  margin: var(--md) 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.footer-col h4 {
  margin: 0 0 var(--md);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.footer-col a,
.footer-col span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  transition: color var(--t-color) var(--ease);
}
.footer-col a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--xl);
  padding: var(--lg) 0;
  border-top: 1px solid var(--border-subtle);
}
.footer-contact div {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.footer-contact b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.footer-contact a {
  color: var(--text-primary);
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  padding: var(--md) 0 20px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.footer-bottom nav {
  display: flex;
  gap: var(--md);
}
.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ---------------------------------------------------------- inner pages */

.page-head {
  padding: 64px 0 var(--xxl);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--white);
}
.page-head__title {
  margin: var(--sm) 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.page-head__lede {
  margin: var(--md) 0 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.crumb {
  display: flex;
  align-items: center;
  gap: var(--xs);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.crumb a {
  color: var(--text-muted);
}
.crumb a:hover {
  color: var(--primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lg);
}
.news-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: var(--lg);
  background: var(--white);
}
.news-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-card h2 {
  margin: var(--sm) 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.news-card p {
  margin: var(--xs) 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.news-empty {
  margin-top: var(--xl);
  padding: var(--lg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text-muted);
  background: var(--surface-subtle);
}

.notfound {
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.notfound__code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.notfound h1 {
  margin: var(--sm) 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.notfound p {
  margin: var(--md) 0 var(--lg);
  max-width: 52ch;
  font-size: 17px;
  color: var(--text-secondary);
}


/* ------------------------------------------------------------ brand logo */

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.btn--blue {
  background: var(--primary);
  color: var(--white);
}
.btn--blue:hover {
  background: var(--primary-hover);
  color: var(--white);
}
.btn--outline-accent {
  background: var(--white);
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline-accent:hover {
  background: var(--surface-orange);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--md);
}
.section-head--center > div {
  width: 100%;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head--center .section-lede {
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .section-title::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1279px) {
  .nav {
    gap: 18px;
  }
  .nav-link {
    font-size: 14px;
  }
  .hero__media {
    width: 46%;
  }
  .hero__copy {
    max-width: 580px;
  }
  .product-card__name {
    font-size: 11.5px;
  }
  .footer-top {
    grid-template-columns: 2.6fr repeat(5, 1.6fr);
    gap: var(--md);
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 24px;
    --section: 72px;
  }
  .nav,
  .header-actions .btn--primary,
  .lang-chip {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .brand-logo {
    height: 30px;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero__inner {
    order: 1;
    width: 100%;
    padding-bottom: 0;
  }
  .hero__copy {
    max-width: none;
    min-height: 0;
    padding: 36px 0 24px;
  }
  .hero__media {
    position: relative;
    order: 2;
    width: calc(100% - var(--gutter) * 2);
    height: 46vw;
    min-height: 230px;
    max-height: 380px;
    margin: 0 var(--gutter) var(--sm);
    border-radius: var(--r-sm);
  }
  .hero__media img {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 24%);
  }
  .hero__list {
    min-height: 0;
  }
  .hero__foot {
    order: 3;
    height: 60px;
    border-top: 0;
  }
  .hero-arrow {
    display: none;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-card {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: var(--lg);
    padding: var(--lg);
  }
  .cap-card__media {
    aspect-ratio: 4 / 3;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .about-band {
    grid-template-columns: 1fr;
    gap: var(--xl);
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: var(--xl);
  }
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: var(--xl);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--lg);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--md);
  }
  .section-head--center {
    align-items: center;
  }
}

@media (max-width: 767px) {
  :root {
    --section: 56px;
    --nav-h: 64px;
  }
  .header-inner {
    height: 64px;
  }
  .hero__copy {
    padding: 28px 0 20px;
  }
  .hero__sub {
    font-size: 16px;
  }
  .hero__title-lead,
  .hero__title-tail {
    font-size: clamp(30px, 8.4vw, 44px);
  }
  .cap-card {
    grid-template-columns: 1fr;
    gap: var(--md);
  }
  .cap-card__media {
    aspect-ratio: 16 / 9;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-card__name {
    font-size: 12px;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-stat {
    border-top: 1px solid var(--border-subtle);
    padding: 14px 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--md);
  }
  .about-stat__value {
    font-size: 26px;
  }
  .about-stat__label {
    margin-top: 0;
    text-align: right;
  }
  .footer-contact {
    grid-template-columns: 1fr;
    gap: var(--md);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--xs);
  }
}

@media (max-width: 639px) {
  :root {
    --gutter: 20px;
  }
  .industry-grid,
  .news-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .form-actions .btn {
    width: 100%;
  }
  .form-status {
    text-align: center;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
  }
  .cta-actions .btn {
    flex: 1 1 auto;
  }
  .section-head {
    margin-bottom: var(--xl);
  }
  .page-head {
    padding: 40px 0 var(--xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .cap-card:hover,
  .product-card:hover,
  .industry-tile:hover {
    transform: none;
  }
}

.rail__brief {
  margin-top: var(--lg);
  padding: var(--lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: var(--white);
}
.rail__brief b {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.rail__brief ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rail__brief li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.rail__brief li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--primary);
}

/* ==========================================================================
   WordPress integration
   ========================================================================== */

/* menus render as ul > li > a */
.nav-list,
.nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li,
.nav > ul > li {
  display: flex;
  margin: 0;
}

.drawer,
.drawer-overlay {
  display: none;
}
.drawer.is-open {
  display: flex;
}
.drawer-overlay.is-open {
  display: block;
}
body.drawer-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

/* hero: only the active slide is in flow */
.hero__copy .slide-copy {
  display: none;
}
.hero__copy .slide-copy.is-active {
  display: block;
  animation: slide-in var(--t-carousel) var(--ease);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  background: var(--white);
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
}

/* inner pages */
.page-body {
  max-width: 760px;
}
.page-body p {
  margin-bottom: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.page-body h2,
.page-body h3 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-body ul,
.page-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-secondary);
}
.page-body li {
  margin-bottom: 8px;
}
.page-body a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-body a.btn {
  text-decoration: none;
}
.page-body a.btn--primary {
  color: #fff;
}

.news-card a {
  color: inherit;
  text-decoration: none;
}
.news-card a:hover {
  color: var(--primary);
}

/* pagination */
.pagination {
  display: flex;
  gap: 6px;
  margin-top: var(--xl);
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xs);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}
.pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-numbers:hover {
  border-color: var(--border-strong);
  color: var(--primary);
}

/* core block basics */
.wp-block-image img,
.page-body img {
  height: auto;
  border-radius: var(--r-sm);
}
.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}
.alignright {
  float: right;
  margin: 0 0 16px 24px;
}

@media (max-width: 1023px) {
  .nav-list,
  .nav > ul {
    display: none;
  }
}
