﻿/* в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ
   Sovereign Terminal вЂ” main.css
   Design: dark trading-floor editorial. Near-black slate surfaces, a single
   terminal-amber accent for brand and interaction, and green/red reserved
   strictly for price direction so colour always means data. Sora (headlines)
   + Plus Jakarta Sans (body) + IBM Plex Mono (every number on the page).
   в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* в”Ђв”Ђ 1. Design Tokens в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
:root {
  /* Surfaces вЂ” darkest to lightest */
  --bg: #080a0f;
  --bg-soft: #0b0e15;
  --surface: #10141d;
  --surface-2: #151a25;
  --surface-3: #1c2331;
  --surface-4: #232c3c;

  /* Lines */
  --border: #1e2533;
  --border-strong: #2b3446;
  --border-faint: #161c27;

  /* Type */
  --text: #eef1f7;
  --text-muted: #98a3b8;
  --text-faint: #69738a;

  /* Terminal amber вЂ” brand, links, calls to action */
  --accent: #ffb443;
  --accent-hi: #ffc973;
  --accent-deep: #d98f22;
  --accent-dim: rgba(255, 180, 67, 0.13);
  --accent-line: rgba(255, 180, 67, 0.34);
  --on-accent: #140d02;

  /* Price direction вЂ” never used for decoration */
  --up: #33d39f;
  --up-dim: rgba(51, 211, 159, 0.13);
  --down: #ff5c72;
  --down-dim: rgba(255, 92, 114, 0.13);

  /* Fonts */
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Radii вЂ” squared editorial, pills only on controls */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);

  /* Layout */
  --container-max: 1400px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 68px;
  --sec-pad: clamp(2.75rem, 4.5vw, 4.5rem);
  --content-offset: var(--space-12);
}

/* в”Ђв”Ђ 2. Reset & Base в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--bg);
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--text);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 1.25em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  user-select: none;
}

.btn .material-symbols-outlined {
  font-size: 1.15rem;
}

/* в”Ђв”Ђ 3. Layout Utilities в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.site-main {
  background: var(--bg);
}

.section-pad {
  padding-top: var(--space-12);
  padding-bottom: var(--space-20);
}

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

.skip-link:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  z-index: 999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-line);
}

.no-posts,
.no-results {
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding-block: var(--space-12);
  text-align: center;
}

/* Missing featured image вЂ” a woven slate block rather than a blank gap. */
.is-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      var(--surface-2) 0 8px,
      var(--surface-3) 8px 16px
    );
}

/* Overlay features carry their headline on the photo itself, so the photo is
   knocked back first вЂ” a bright stock image would otherwise glare against the
   rest of the page no matter how heavy the gradient above it. */
.hero-lead__img,
.wire-lead__img,
.banner__img {
  filter: brightness(0.86) saturate(1.05);
}

/* в”Ђв”Ђ 4. Buttons, chips, flags, data type в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  transition: background-color 0.16s, color 0.16s, border-color 0.16s, transform 0.16s;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hi);
  color: var(--on-accent);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

/* Category flag вЂ” a small amber tick plus a letterspaced label. */
.chip,
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.16s;
}

.chip::before,
.cat-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--accent);
}

.chip:hover {
  color: var(--accent-hi);
}

/* Status pill with a live dot вЂ” hero and banner features. */
.flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
}

.flag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: st-pulse 2s ease-in-out infinite;
}

@keyframes st-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Every date on the site. */
.cat-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
}

/* Percentage change вЂ” set by main.js on every price element. */
.intel-row__pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-faint);
}

.intel-row__pct--up {
  color: var(--up);
}

.intel-row__pct--down {
  color: var(--down);
}

/* в”Ђв”Ђ 5. Header в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header--scrolled {
  border-bottom-color: var(--border-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: var(--header-h);
}

/* Flex, not a block: an inline-block logo would sit on the line box's
   baseline and ride a few pixels above the true centre of the bar. A wide
   wordmark must also give way rather than push the actions off the bar. */
.site-header__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.site-logo__mark {
  width: 10px;
  height: 18px;
  flex-shrink: 0;
  background: var(--accent);
  clip-path: polygon(0 100%, 34% 44%, 67% 66%, 100% 0, 100% 100%);
}

.site-logo:hover {
  color: var(--accent);
}

.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* An explicit height (rather than max-height) so the rendered size never
   depends on how the constraint pair resolves against the image's own
   width/height attributes. */
.custom-logo {
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Desktop menu */
.primary-nav {
  flex: 1;
  min-width: 0;
  margin-left: clamp(1rem, 3.5vw, 3.5rem);
}

.primary-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.6rem);
}

.primary-nav .nav-list > li {
  position: relative;
}

.primary-nav .nav-list a {
  display: inline-block;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding-block: 0.4rem;
  white-space: nowrap;
}

.primary-nav .nav-list a:hover,
.primary-nav .nav-list .current-menu-item > a,
.primary-nav .nav-list .current-menu-parent > a,
.primary-nav .nav-list .current-menu-ancestor > a {
  color: var(--text);
}

/* Out of flow, so the underline adds no height below the label — in flow it
   pushed the text off the vertical centre of the bar. */
.primary-nav .nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav .nav-list > li:hover > a::after,
.primary-nav .nav-list > .current-menu-item > a::after,
.primary-nav .nav-list > .current-menu-parent > a::after {
  transform: scaleX(1);
}

/* Dropdowns */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -0.75rem;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  z-index: 20;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: normal;
}

.primary-nav .sub-menu a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

/* Right-hand actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--on-accent);
  transition: background-color 0.16s, transform 0.16s;
}

.nav-cta:hover {
  background: var(--accent-hi);
  color: var(--on-accent);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.nav-toggle__bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile panel */
.nav-menu--overlay {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  z-index: 99;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-5) var(--space-8);
  box-shadow: var(--shadow-lg);
}

.nav-menu--overlay.is-open {
  display: block;
}

.nav-menu--overlay .nav-list {
  display: flex;
  flex-direction: column;
}

.nav-menu--overlay .nav-list li {
  border-bottom: 1px solid var(--border);
}

.nav-menu--overlay .nav-list a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  padding-block: 0.85rem;
}

.nav-menu--overlay .nav-list a:hover {
  color: var(--accent);
}

.nav-menu--overlay .sub-menu {
  padding-left: var(--space-4);
}

.nav-menu--overlay .sub-menu a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-6);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8125rem;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .primary-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    gap: var(--space-3);
  }
  .custom-logo {
    height: 28px;
  }
  .site-logo {
    font-size: 0.95rem;
  }
}

/* Phones: the bar keeps the brand and the menu button only — the newsletter
   call to action is one tap away inside the open menu. */
@media (max-width: 600px) {
  .nav-cta {
    display: none;
  }
}

/* в”Ђв”Ђ 6. Home: Live tape в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.tape {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.tape__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding-inline: clamp(0.9rem, 2.5vw, 1.6rem);
}

.tape__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--on-accent);
  animation: st-pulse 1.8s ease-in-out infinite;
}

.tape__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  padding-block: 0.7rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}

/* Duration is tuned to the repeated track, so the scroll speed stays the
   same as it would be with a single set of symbols. */
.ticker-track {
  display: flex;
  width: max-content;
  animation: st-tape 135s linear infinite;
}

.tape:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes st-tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-list {
  display: flex;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-inline: clamp(1rem, 2.4vw, 1.9rem);
  border-right: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.ticker-item__sym {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ticker-item__val {
  font-weight: 500;
  color: var(--text);
}

.ticker-item__pct {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
}

.ticker-item__pct.is-up {
  color: var(--up);
}

.ticker-item__pct.is-down {
  color: var(--down);
}

.tape__more {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-inline: clamp(0.9rem, 2.5vw, 1.4rem);
  border-left: 1px solid var(--border);
}

.tape__more:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
  .tape__viewport {
    overflow-x: auto;
  }
  .flag--live::before,
  .tape__pulse,
  .nav-clock__dot {
    animation: none;
  }
}

@media (max-width: 720px) {
  .tape__more {
    display: none;
  }
}

/* Below this the tape is mostly label, so it keeps only its pulse. */
@media (max-width: 560px) {
  .tape__label-text {
    display: none;
  }
}

/* в”Ђв”Ђ 7. Home: Hero в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.hero {
  padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(2rem, 3.5vw, 3rem);
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(255, 180, 67, 0.07), transparent 60%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

/* Lead вЂ” image with the headline set over it */
.hero-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(400px, 52vw, 580px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
}

.hero-lead__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-lead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.hero-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(6, 8, 12, 0.97) 0%,
    rgba(6, 8, 12, 0.92) 42%,
    rgba(6, 8, 12, 0.72) 62%,
    rgba(6, 8, 12, 0.28) 100%
  );
}

.hero-lead:hover .hero-lead__img {
  transform: scale(1.04);
}

.hero-lead__body {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.hero-lead__flags {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-lead__desk {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-lead__title {
  font-size: clamp(1.6rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.hero-lead__title a:hover {
  color: var(--accent);
}

.hero-lead__excerpt {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-lead__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Wire panel */
.hero-panel {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-5);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.hero-panel__heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.hero-panel__badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
}

.hero-panel__list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wire-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 62px;
  align-items: start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-faint);
  transition: background-color 0.16s;
  flex: 1;
}

.wire-item:last-child {
  border-bottom: none;
}

.wire-item:hover {
  background: var(--surface-2);
}

.wire-item__rank {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.15rem;
}

.wire-item__body {
  min-width: 0;
}

.wire-item__desk {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}

.wire-item__title {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wire-item:hover .wire-item__title {
  color: var(--accent);
}

.wire-item__thumb {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}

.wire-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 8. Home: Market board в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.markets {
  padding-block: var(--sec-pad);
  background:
    linear-gradient(0deg, rgba(255, 180, 67, 0.035), rgba(255, 180, 67, 0.035)),
    var(--bg-soft);
  border-block: 1px solid var(--border);
}

.board {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.board__title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  margin-bottom: var(--space-2);
}

.board__intro {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 66ch;
}

.board__badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--up);
  background: var(--up-dim);
  border: 1px solid rgba(51, 211, 159, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
}

/* 1px gaps show the panel background through вЂ” a terminal grid. */
.board__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.market-tile {
  background: var(--surface);
  padding: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: background-color 0.18s;
}

.market-tile:hover {
  background: var(--surface-2);
}

.market-tile__top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.market-tile__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.95rem;
}

.market-tile__ids {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.market-tile__sym {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}

.market-tile__class {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Matched on the parent too, so the change stays pinned right even if the
   tile's own class is ever lost when the figure is refreshed. */
.market-tile__pct,
.market-tile__top > .intel-row__pct {
  margin-left: auto;
}

.market-tile__val {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.1;
}

.market-tile__name {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Risk strip */
.board__risk {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.board__risk-heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.risk-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.risk-cell {
  border-left: 2px solid var(--accent-line);
  padding-left: var(--space-4);
}

.risk-cell__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.risk-cell__val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
}

.risk-cell__note {
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.5;
}

.board__note {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .board__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .risk-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
  .board__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .board__grid {
    grid-template-columns: 1fr;
  }
  .risk-strip {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 9. Home: Category desks вЂ” shared furniture в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.desk {
  padding-block: var(--sec-pad);
  background: var(--bg);
}

.desk--band {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.desk__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: var(--space-8);
}

.desk__title {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.desk__mark {
  width: 8px;
  height: 18px;
  flex-shrink: 0;
  background: var(--accent);
}

.desk__link {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, gap 0.16s;
}

.desk__link:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  gap: 0.65rem;
}

.desk__intro {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 72ch;
}

@media (max-width: 620px) {
  .desk__head {
    grid-template-columns: 1fr;
  }
  .desk__link {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }
  .desk__intro {
    grid-row: 2;
  }
}

/* в”Ђв”Ђ 10. Desk A: Spotlight вЂ” four picture cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.spotlight {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.spot-card {
  display: flex;
  flex-direction: column;
}

.spot-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: var(--space-4);
}

.spot-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.spot-card:hover .spot-card__img {
  transform: scale(1.05);
}

.spot-card__chip {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
}

.spot-card__title {
  font-size: 1.0625rem;
  line-height: 1.32;
  margin-bottom: var(--space-2);
}

.spot-card__title a:hover {
  color: var(--accent);
}

.spot-card__excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot-card__foot {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

@media (max-width: 1023px) {
  .spotlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

@media (max-width: 560px) {
  .spotlight {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 11. Desk B: Wire вЂ” feature + numbered list + mini cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* All three columns stretch to the tallest, and each column fills that
   height, so the band ends on one line instead of one column overhanging
   the other two. */
.wire {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--space-6);
  align-items: stretch;
}

.wire-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface-2);
}

.wire-lead__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.wire-lead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.wire-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 8, 12, 0.95) 8%, rgba(6, 8, 12, 0.2) 70%);
}

.wire-lead:hover .wire-lead__img {
  transform: scale(1.05);
}

.wire-lead__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.wire-lead__title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.26;
}

.wire-lead__title a:hover {
  color: var(--accent);
}

.wire-list {
  display: flex;
  flex-direction: column;
}

.wire-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.wire-line:first-child {
  padding-top: 0;
}

.wire-line:last-child {
  border-bottom: none;
}

.wire-line__index {
  grid-row: 1 / span 3;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.2rem;
}

.wire-line__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.34;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.wire-line__title:hover {
  color: var(--accent);
}

.wire-line__excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.wire-minis {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Picture left, headline right — a shape that stays short next to the
   feature and the numbered list. */
.mini-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  flex: 1 1 0;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s, background-color 0.18s;
}

.mini-card:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
}

.mini-card__media {
  display: block;
  height: 100%;
  min-height: 116px;
  overflow: hidden;
  background: var(--surface-2);
}

.mini-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mini-card:hover .mini-card__img {
  transform: scale(1.05);
}

.mini-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  min-width: 0;
}

.mini-card__title {
  font-size: 0.9375rem;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-card__title a:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .wire {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .wire-minis {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .wire-minis .mini-card {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .wire {
    grid-template-columns: 1fr;
  }
  .wire-lead {
    min-height: 320px;
  }
  .wire-minis {
    flex-direction: column;
  }
  /* Stacked with nothing to match, the cards size to their own content. */
  .wire-minis .mini-card {
    flex: 0 0 auto;
  }
}

/* в”Ђв”Ђ 12. Desk C: Mosaic вЂ” portrait lead + stack + text rows в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-6);
}

.mosaic-lead {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mosaic-lead__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.mosaic-lead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.mosaic-lead:hover .mosaic-lead__img {
  transform: scale(1.04);
}

.mosaic-lead__body {
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.mosaic-lead__title {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.22;
}

.mosaic-lead__title a:hover {
  color: var(--accent);
}

.mosaic-lead__excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.mosaic-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* The two cards share whatever height the lead column takes, so the column
   ends flush instead of leaving a void between them. */
.mosaic-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s;
}

.mosaic-card:hover {
  border-color: var(--accent-line);
}

.mosaic-card__media {
  display: block;
  flex: 1;
  min-height: 130px;
  overflow: hidden;
  background: var(--surface-2);
}

.mosaic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-card:hover .mosaic-card__img {
  transform: scale(1.06);
}

.mosaic-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.mosaic-card__title {
  font-size: 1rem;
  line-height: 1.32;
  margin-bottom: var(--space-2);
}

.mosaic-card__title a:hover {
  color: var(--accent);
}

.mosaic-rows {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mosaic-row {
  background: var(--surface);
  padding: var(--space-5);
  transition: background-color 0.18s;
}

.mosaic-row:hover {
  background: var(--surface-2);
}

.mosaic-row__desk {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.mosaic-row__title {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.36;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.mosaic-row:hover .mosaic-row__title {
  color: var(--accent);
}

@media (max-width: 900px) {
  .mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic-rows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .mosaic-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

/* в”Ђв”Ђ 13. Desk D: Rail вЂ” dated rows в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.rail__list {
  border-top: 1px solid var(--border);
}

.rail-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 150px 28px;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s, padding-inline 0.2s;
}

.rail-row:hover {
  background: var(--surface);
  padding-inline: var(--space-4);
}

.rail-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  flex-shrink: 0;
}

.rail-row__day {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.rail-row__mon {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.2rem;
}

.rail-row__body {
  min-width: 0;
}

.rail-row__desk {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}

.rail-row__title {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.rail-row__title a:hover {
  color: var(--accent);
}

.rail-row__excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail-row__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

.rail-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rail-row:hover .rail-row__img {
  transform: scale(1.06);
}

.rail-row__arrow {
  font-size: 1.25rem;
  color: var(--text-faint);
  transition: color 0.18s, transform 0.18s;
}

.rail-row:hover .rail-row__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .rail-row {
    grid-template-columns: 62px minmax(0, 1fr) 110px;
    gap: var(--space-4);
  }
  .rail-row__arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .rail-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .rail-row__thumb {
    display: none;
  }
  .rail-row__date {
    width: 52px;
    height: 52px;
  }
  .rail-row__day {
    font-size: 1.05rem;
  }
}

/* в”Ђв”Ђ 14. Desk E: Banner вЂ” full-bleed feature + trio в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 38vw, 460px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface-2);
  margin-bottom: var(--space-8);
}

.banner__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(6, 8, 12, 0.97) 0%,
    rgba(6, 8, 12, 0.92) 45%,
    rgba(6, 8, 12, 0.72) 100%
  );
}

.banner:hover .banner__img {
  transform: scale(1.04);
}

.banner__body {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  max-width: 760px;
}

.banner__flags {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.banner__title {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.16;
  margin-bottom: var(--space-3);
  text-wrap: balance;
}

.banner__title a:hover {
  color: var(--accent);
}

.banner__excerpt {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner__foot {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.18s;
}

.banner__cta:hover {
  gap: 0.75rem;
  color: var(--accent-hi);
}

.banner-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.trio-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: border-color 0.18s, background-color 0.18s;
}

.trio-card:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
}

.trio-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.trio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trio-card__desk {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.trio-card__title {
  font-size: 0.9375rem;
  line-height: 1.32;
  margin-bottom: 0.35rem;
}

.trio-card__title a:hover {
  color: var(--accent);
}

@media (max-width: 1023px) {
  .banner-trio {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 15. Home: Newsletter в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.brief-section {
  padding-block: var(--sec-pad);
  background: var(--bg);
}

.brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 180, 67, 0.12), transparent 62%),
    linear-gradient(140deg, var(--surface-2), var(--surface));
  position: relative;
  overflow: hidden;
}

/* Faint grid, so the panel reads as a terminal surface rather than a slab. */
.brief-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
  mask-image: radial-gradient(120% 100% at 100% 100%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 100% at 100% 100%, #000, transparent 70%);
}

.brief-panel__text,
.brief-panel__form {
  position: relative;
}

.brief-panel__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.brief-panel__kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-line);
}

.brief-panel__title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.brief-panel__sub {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-6);
}

.brief-panel__points {
  display: grid;
  gap: var(--space-3);
}

.brief-panel__points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.875rem;
  color: var(--text);
}

.brief-panel__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.brief-panel__form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-md);
}

.brief-panel__form-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.brief-panel__form-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.brief-panel__contact,
.sidebar-panel__contact {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--text-faint);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.brief-panel__contact-name,
.sidebar-panel__contact-name {
  display: block;
  font-weight: 700;
  color: var(--text-muted);
}

.brief-panel__contact a,
.sidebar-panel__contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.brief-panel__contact a:hover,
.sidebar-panel__contact a:hover {
  color: var(--accent-hi);
}

@media (max-width: 900px) {
  .brief-panel {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 16. Contact Form 7 вЂ” subscribe forms в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.newsletter-form-shell .wpcf7-form p {
  margin: 0;
}

.newsletter-form-shell .hidden-fields-container {
  display: none;
}

.newsletter-form-shell .form-fields p {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.newsletter-form-shell .form-fields p br {
  display: none;
}

.newsletter-form-shell .wpcf7-form-control-wrap {
  display: block;
}

.newsletter-form-shell .wpcf7-email {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.35rem;
  transition: border-color 0.2s, background-color 0.2s;
  -webkit-appearance: none;
}

.newsletter-form-shell .wpcf7-email::placeholder {
  color: var(--text-faint);
}

.newsletter-form-shell .wpcf7-email:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}

.newsletter-form-shell .wpcf7-email.wpcf7-not-valid {
  border-color: var(--down);
}

.newsletter-form-shell .wpcf7-submit {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  padding: 0.9rem 1.5rem;
  width: 100%;
  transition: background-color 0.16s;
  position: relative;
}

.newsletter-form-shell .wpcf7-submit:hover {
  background: var(--accent-hi);
}

.newsletter-form-shell .wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.newsletter-form-shell .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.newsletter-form-shell .wpcf7-not-valid-tip {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--down);
  display: block;
  margin-top: 0.4rem;
}

.form-privacy {
  margin-top: 15px;
}

.newsletter-form-shell .form-privacy .wpcf7-list-item-label {
  color: var(--text-muted);
}

.newsletter-form-shell .wpcf7-list-item {
  display: block;
  margin: 0;
}

.newsletter-form-shell .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.newsletter-form-shell .wpcf7-list-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.2em;
  accent-color: var(--accent);
  cursor: pointer;
}

.newsletter-form-shell .wpcf7-list-item-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-form-shell .wpcf7-response-output {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid transparent !important;
  margin: var(--space-4) 0 0 !important;
  width: 100%;
  text-align: left;
}

/* CF7 6.x keeps aria-hidden="true" on this element at all times вЂ” go by
   content rather than by the attribute. */
.newsletter-form-shell .wpcf7-response-output:empty {
  display: none;
}

.newsletter-form-shell .wpcf7-form.sent .wpcf7-response-output {
  background: var(--up-dim);
  border-color: rgba(51, 211, 159, 0.3) !important;
  color: var(--up);
}

.newsletter-form-shell .wpcf7-form.invalid .wpcf7-response-output,
.newsletter-form-shell .wpcf7-form.unaccepted .wpcf7-response-output,
.newsletter-form-shell .wpcf7-form.spam .wpcf7-response-output,
.newsletter-form-shell .wpcf7-form.failed .wpcf7-response-output {
  background: var(--down-dim);
  border-color: rgba(255, 92, 114, 0.3) !important;
  color: var(--down);
}

/* в”Ђв”Ђ 17. Home: How We Work в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.standards {
  padding-block: var(--sec-pad);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.standards__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: end;
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--border-strong);
}

.standards__title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  text-wrap: balance;
}

.standards__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.standards__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.standards__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 0.2rem;
  transition: gap 0.18s, color 0.16s;
}

.standards__cta:hover {
  gap: 0.8rem;
  color: var(--accent-hi);
}

.standards__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.standard {
  background: var(--surface);
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  transition: background-color 0.2s;
}

.standard:hover {
  background: var(--surface-2);
}

.standard__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.standard__title {
  font-size: 1.0625rem;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.standard__desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

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

@media (max-width: 760px) {
  .standards__head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 520px) {
  .standards__list {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 18. Shared: post grid / post tile в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.post-grid {
  display: grid;
  gap: var(--space-6);
}

.post-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}

.post-tile:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.post-tile__thumb-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.post-tile__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-tile__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.post-tile__chips {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.post-tile__title {
  font-size: 1rem;
  line-height: 1.34;
}

.post-tile__title a:hover {
  color: var(--accent);
}

.post-tile__excerpt {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.post-tile__meta {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

@media (max-width: 560px) {
  .post-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 19. Archive в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.archive-main {
  padding-top: var(--space-10);
  padding-bottom: var(--space-20);
  background: var(--bg);
  min-height: 70vh;
}

.archive-header {
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--border-strong);
}

.archive-header__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.archive-header__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
}

.archive-header__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.archive-header__count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-left: 1px solid var(--border-strong);
  padding-left: var(--space-3);
}

.archive-header__title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: var(--space-3);
}

.archive-header__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 72ch;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.archive-main-col {
  min-width: 0;
}

/* Lead item */
.feed-feature-post {
  margin-bottom: var(--space-10);
}

.feed-feature-post__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: var(--space-5);
}

.feed-feature-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feed-feature-post:hover .feed-feature-post__img {
  transform: scale(1.03);
}

.feed-feature-post__cat {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
}

.feed-feature-post__title {
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.feed-feature-post__title a:hover {
  color: var(--accent);
}

.feed-feature-post__excerpt {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.feed-feature-post__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Rows */
.archive-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.archive-list-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.archive-list-item__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

.archive-list-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-list-item:hover .archive-list-item__img {
  transform: scale(1.05);
}

.archive-list-item__title {
  font-size: 1.1875rem;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.archive-list-item__title a:hover {
  color: var(--accent);
}

.archive-list-item__excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-list-item__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.content-feed-sidebar,
.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
}

@media (max-width: 1023px) {
  .archive-layout {
    grid-template-columns: 1fr;
  }
  .content-feed-sidebar,
  .single-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .archive-list-item {
    grid-template-columns: 1fr;
  }
}

/* в”Ђв”Ђ 20. Pagination в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.pagination {
  margin-top: var(--space-10);
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s, color 0.16s, background-color 0.16s;
}

.pagination a.page-numbers:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.pagination .page-numbers.dots {
  background: none;
  border-color: transparent;
}

.pagination .screen-reader-text {
  display: none;
}

/* в”Ђв”Ђ 21. Single post в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 300;
  transition: width 0.08s linear;
}

.single-main {
  padding-top: var(--space-10);
  padding-bottom: var(--space-20);
  background: var(--bg);
  min-height: 70vh;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.single-main-col {
  min-width: 0;
}

.article-header {
  margin-bottom: var(--space-8);
}

.article-header__chips {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.article-header__title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: var(--space-5);
  text-wrap: balance;
}

.article-header__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.article-hero {
  margin-bottom: var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-hero__caption {
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

.article-content p {
  margin-bottom: var(--space-6);
}

.article-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
}

.article-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
}

.article-content h4 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: 1.05rem;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--accent-hi);
}

.article-content blockquote {
  border-left: 2px solid var(--accent);
  background: var(--surface);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-block: var(--space-8);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-2);
}

.article-content li::marker {
  color: var(--accent);
}

.article-content img {
  border-radius: var(--radius);
}

.article-content figure {
  margin-block: var(--space-8);
}

.article-content figcaption {
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding-top: var(--space-2);
}

.article-content hr {
  margin-block: var(--space-10);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: var(--space-6);
}

.article-content th,
.article-content td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
}

.article-content th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.article-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
}

.article-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  overflow-x: auto;
  margin-bottom: var(--space-6);
}

.article-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.article-nav__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.article-nav__link {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--text);
}

.article-nav__link:hover {
  color: var(--accent);
}

.article-nav__next {
  text-align: right;
}

.related-posts {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.related-posts__heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

@media (max-width: 1023px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__next {
    text-align: left;
  }
}

/* в”Ђв”Ђ 22. Sidebar panels в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.sidebar-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.sidebar-panel--subscribe {
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255, 180, 67, 0.1), transparent 60%),
    var(--surface);
  border-color: var(--border-strong);
}

.sidebar-panel__heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.sidebar-panel__desc {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.side-article {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--border-faint);
}

.side-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-article__title {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.38;
  margin-bottom: 0.3rem;
}

.side-article__title a:hover {
  color: var(--accent);
}

.side-article__time {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.side-markets {
  display: flex;
  flex-direction: column;
}

.side-market-row {
  display: grid;
  grid-template-columns: 26px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border-faint);
}

.side-market-row:last-child {
  border-bottom: none;
}

.side-market-row__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.875rem;
}

.side-market-row__sym {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.side-market-row__val {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text);
  text-align: right;
}

/* в”Ђв”Ђ 23. Static page template в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.page-main {
  padding-top: var(--space-10);
  padding-bottom: var(--space-20);
  background: var(--bg);
  min-height: 70vh;
}

.page-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-strong);
}

.page-header__title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.1;
}

.page-hero {
  margin: 0 0 var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--border);
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

.page-content > * + * {
  margin-top: 1.5em;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  line-height: 1.25;
  margin-top: 2.2em;
  margin-bottom: 0.5em;
}

.page-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.page-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.page-content h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--accent-hi);
}

.page-content ul,
.page-content ol {
  padding-left: 1.4em;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li::marker {
  color: var(--accent);
}

.page-content li + li {
  margin-top: 0.4em;
}

.page-content blockquote {
  border-left: 2px solid var(--accent);
  margin-left: 0;
  padding: var(--space-4) var(--space-6);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.page-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: var(--space-5);
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
}

.page-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.page-content img {
  max-width: 100%;
  border-radius: var(--radius);
}

.page-content hr {
  margin-block: var(--space-10);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-content th,
.page-content td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
}

.page-content th {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* в”Ђв”Ђ 24. 404 в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.error-main {
  padding-block: var(--space-16) var(--space-20);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 180, 67, 0.07), transparent 60%),
    var(--bg);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-page {
  text-align: center;
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: var(--space-5);
}

.error-page__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.error-page__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 56ch;
  margin-inline: auto;
}

.error-page__actions {
  margin-top: var(--space-8);
}

.error-recent {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  text-align: left;
}

.error-recent__heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
}

.error-recent__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border-faint);
}

.error-recent__list a {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.error-recent__list a:hover {
  color: var(--accent);
}

.error-recent__list time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

/* в”Ђв”Ђ 25. Footer в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-strong);
  padding-block: var(--space-16) var(--space-8);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-col {
  min-width: 0;
}

.footer-logo-link,
.footer-col--brand .custom-logo-link,
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.footer-brand-logo:hover,
.footer-logo-link:hover {
  color: var(--accent);
}

.footer-logo-img,
.footer-col--brand .custom-logo {
  height: 50px;
  width: auto;
  max-width: 100%;
}

.footer-col__desc {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 44ch;
}

.footer-col__desc + .footer-col__desc {
  margin-top: var(--space-3);
  color: var(--text-faint);
}

.footer-col__heading {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.footer-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-post {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.footer-post__thumb {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.footer-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-post__title {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.footer-post__title:hover {
  color: var(--accent);
}

.footer-post__meta {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col__list a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-col__list a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: var(--space-12);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--space-5);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.footer-copy a {
  color: var(--text-muted);
}

.footer-copy a:hover {
  color: var(--accent);
}

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

/* Phones: the brand and the post list need the full width, but the two link
   lists are narrow enough to sit side by side. */
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8) var(--space-5);
  }
  .footer-col--brand,
  .footer-col--posts {
    grid-column: 1 / -1;
  }
}

/* в”Ђв”Ђ 26. WordPress core classes в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.alignleft {
  float: left;
  margin: 0 var(--space-6) var(--space-4) 0;
}

.alignright {
  float: right;
  margin: 0 0 var(--space-4) var(--space-6);
}

.aligncenter {
  margin-inline: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding-top: var(--space-2);
}

.sticky .post-tile__title::after {
  content: " в…";
  color: var(--accent);
}

.widget {
  margin-bottom: var(--space-5);
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

/* в”Ђв”Ђ 27. Responsive tail в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 720px) {
  :root {
    --sec-pad: 2.75rem;
  }

  .hero-lead {
    min-height: 360px;
  }

  .archive-list-item {
    gap: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

