/*
Theme Name: Harborline Matrix
Author: Elias Vinter
Description: A minimal classic WordPress theme inspired by Neuralflow with clean AI-style hero visuals, telemetry cards, responsive navigation, editable blocks, and dynamic post grids.
Version: 1.1.1
Requires at least: 6.0
Text Domain: tsb-theme
*/

:root {
  --tsb-ink: #08090b;
  --tsb-muted: #6d7176;
  --tsb-line: #dfe2e5;
  --tsb-paper: #ffffff;
  --tsb-soft: #f4f5f5;
  --tsb-graphite: #16191d;
  --tsb-fog: #eef1f2;
  --tsb-lime: #d7ff4a;
  --tsb-cyan: #aef4ff;
  --tsb-sand: #d8c7b2;
  --tsb-coral: #ff7a66;
  --tsb-violet: #8b6cff;
  --tsb-blue: #4a8cff;
  --tsb-mint: #69e6a3;
  --tsb-shadow: 0 28px 90px rgba(8, 9, 11, 0.12);
  --tsb-radius: 28px;
  --tsb-radius-small: 14px;
  --tsb-shell: min(1160px, calc(100vw - 32px));
  --tsb-font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--tsb-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 255, 74, 0.34) 0 180px, transparent 182px),
    radial-gradient(circle at 88% 6%, rgba(174, 244, 255, 0.42) 0 220px, transparent 222px),
    var(--tsb-paper);
  font-family: var(--tsb-font-main);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--tsb-muted);
}

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

button {
  cursor: pointer;
}

.tsb-screen-reader,
.tsb-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tsb-skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  color: var(--tsb-ink);
  background: var(--tsb-lime);
  border-radius: 999px;
  box-shadow: var(--tsb-shadow);
}

.tsb-shell {
  width: var(--tsb-shell);
  margin-right: auto;
  margin-left: auto;
}

.tsb-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--tsb-line);
  backdrop-filter: blur(18px);
}

.tsb-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tsb-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--tsb-ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.tsb-brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--tsb-paper);
  background: var(--tsb-ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
}

.tsb-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tsb-logo img {
  width: auto;
  max-height: 42px;
}

.tsb-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}

.tsb-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--tsb-ink);
  background: var(--tsb-soft);
  border: 1px solid var(--tsb-line);
  border-radius: 999px;
}

.tsb-menu-icon,
.tsb-menu-icon::before,
.tsb-menu-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform 180ms ease;
}

.tsb-menu-icon {
  position: relative;
}

.tsb-menu-icon::before,
.tsb-menu-icon::after {
  position: absolute;
  left: 0;
}

.tsb-menu-icon::before {
  top: -6px;
}

.tsb-menu-icon::after {
  top: 6px;
}

.tsb-menu-open .tsb-menu-icon {
  background: transparent;
}

.tsb-menu-open .tsb-menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.tsb-menu-open .tsb-menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.tsb-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: var(--tsb-paper);
  border: 1px solid var(--tsb-line);
  border-radius: var(--tsb-radius-small);
  box-shadow: var(--tsb-shadow);
}

.tsb-menu-open .tsb-menu {
  display: flex;
}

.tsb-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  color: var(--tsb-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.tsb-menu a:hover,
.tsb-menu a:focus-visible,
.tsb-menu a[aria-current="page"] {
  color: var(--tsb-paper);
  background: var(--tsb-ink);
}

.tsb-header-cta {
  display: none;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: var(--tsb-paper);
  background: var(--tsb-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.tsb-main {
  min-height: 60vh;
}

.tsb-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 62px) 0 clamp(40px, 7vw, 86px);
  background:
    radial-gradient(circle at 13% 16%, rgba(215, 255, 74, 0.34) 0 160px, transparent 162px),
    radial-gradient(circle at 88% 22%, rgba(139, 108, 255, 0.18) 0 190px, transparent 192px),
    linear-gradient(180deg, #ffffff 0%, #f8faf5 100%);
}

.tsb-hero::after {
  position: absolute;
  right: -7vw;
  bottom: -12vw;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  background: rgba(255, 122, 102, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.tsb-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.tsb-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: currentColor;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tsb-kicker::before {
  width: 6px;
  height: 6px;
  background: var(--tsb-lime);
  border-radius: 50%;
  content: "";
}

.tsb-hero-title {
  max-width: 560px;
  margin: 0;
  color: var(--tsb-ink);
  font-size: clamp(38px, 6.2vw, 58px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
}

.tsb-hero-text {
  max-width: 480px;
  margin: 20px 0 0;
  color: var(--tsb-muted);
  font-size: 16px;
  font-weight: 620;
}

.tsb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tsb-button,
.tsb-button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tsb-button {
  color: var(--tsb-paper);
  background: var(--tsb-ink);
  border: 1px solid var(--tsb-ink);
}

.tsb-button::after {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-left: 10px;
  color: var(--tsb-ink);
  background: var(--tsb-lime);
  border-radius: 50%;
  content: "\2192";
  line-height: 1;
}

.tsb-button-secondary {
  color: var(--tsb-ink);
  background: var(--tsb-paper);
  border: 1px solid var(--tsb-line);
}

.tsb-button:hover,
.tsb-button:focus-visible {
  color: var(--tsb-paper);
  transform: translateY(-1px);
}

.tsb-button-secondary:hover,
.tsb-button-secondary:focus-visible {
  color: var(--tsb-ink);
  background: var(--tsb-soft);
}

.tsb-benefit-list {
  display: grid;
  max-width: 420px;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--tsb-line);
}

.tsb-benefit-list span {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--tsb-ink);
  border-bottom: 1px solid var(--tsb-line);
  font-size: 13px;
  font-weight: 750;
}

.tsb-benefit-list span::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--tsb-paper);
  background: var(--tsb-ink);
  border-radius: 6px;
  content: "\2713";
  font-size: 11px;
}

.tsb-visual {
  position: relative;
  min-height: clamp(420px, 62vw, 650px);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(215, 255, 74, 0.54) 0 100px, transparent 102px),
    radial-gradient(circle at 82% 16%, rgba(174, 244, 255, 0.78) 0 140px, transparent 142px),
    radial-gradient(circle at 64% 86%, rgba(255, 122, 102, 0.28) 0 170px, transparent 172px),
    linear-gradient(135deg, #ffffff 0%, #f4f2ff 46%, #eafff3 100%);
  border: 1px solid rgba(8, 9, 11, 0.08);
  border-radius: calc(var(--tsb-radius) + 8px);
  box-shadow: var(--tsb-shadow);
}

.tsb-preview-card {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 4vw, 38px);
  left: clamp(18px, 4vw, 42px);
  width: min(270px, calc(100% - 36px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(8, 9, 11, 0.12);
  backdrop-filter: blur(16px);
}

.tsb-preview-topline,
.tsb-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--tsb-ink);
  font-size: 12px;
  font-weight: 850;
}

.tsb-preview-topline span,
.tsb-preview-row span {
  color: var(--tsb-muted);
}

.tsb-preview-topline strong {
  display: inline-flex;
  min-width: 46px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--tsb-ink);
  background: var(--tsb-lime);
  border-radius: 999px;
}

.tsb-preview-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 92px;
  margin: 18px 0 14px;
  padding: 10px;
  background: var(--tsb-graphite);
  border-radius: 16px;
}

.tsb-preview-chart span {
  display: block;
  border-radius: 999px 999px 8px 8px;
}

.tsb-preview-chart span:nth-child(1) {
  height: 42%;
  background: var(--tsb-cyan);
}

.tsb-preview-chart span:nth-child(2) {
  height: 72%;
  background: var(--tsb-lime);
}

.tsb-preview-chart span:nth-child(3) {
  height: 54%;
  background: var(--tsb-coral);
}

.tsb-preview-chart span:nth-child(4) {
  height: 86%;
  background: var(--tsb-violet);
}

.tsb-hero-visual-stack {
  position: absolute;
  right: clamp(16px, 5vw, 48px);
  bottom: clamp(18px, 5vw, 44px);
  left: clamp(16px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
  align-items: end;
}

.tsb-visual-card {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(8, 9, 11, 0.12);
}

.tsb-visual-card-1 {
  transform: translateY(-18px) rotate(-3deg);
}

.tsb-visual-card-2 {
  transform: translateY(16px);
}

.tsb-visual-card-3 {
  transform: translateY(-8px) rotate(3deg);
}

.tsb-visual-card figcaption {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(8, 9, 11, 0.08);
}

.tsb-visual-card figcaption span,
.tsb-empty-figure figcaption span {
  color: var(--tsb-muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.tsb-visual-card figcaption strong,
.tsb-empty-figure figcaption strong {
  color: var(--tsb-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.tsb-visual-image {
  width: 100%;
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
}

.tsb-scan-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background:
    linear-gradient(rgba(8, 9, 11, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 9, 11, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0 45%, transparent 72%);
}

.tsb-route-line {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 46%;
  height: 42%;
  border-top: 2px dashed rgba(8, 9, 11, 0.16);
  border-right: 2px dashed rgba(8, 9, 11, 0.12);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.tsb-route-line span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background: var(--tsb-lime);
  border: 2px solid var(--tsb-paper);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(8, 9, 11, 0.18);
}

.tsb-route-line span:nth-child(1) {
  top: -6px;
  left: 10%;
}

.tsb-route-line span:nth-child(2) {
  top: 44%;
  right: -6px;
}

.tsb-route-line span:nth-child(3) {
  bottom: 7%;
  left: 46%;
}

.tsb-orbit-card {
  position: absolute;
  top: clamp(16px, 4vw, 38px);
  left: clamp(16px, 4vw, 38px);
  display: grid;
  gap: 4px;
  min-width: 138px;
  padding: 13px 14px;
  color: var(--tsb-ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(8, 9, 11, 0.12);
  backdrop-filter: blur(12px);
}

.tsb-orbit-card span {
  color: var(--tsb-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.tsb-orbit-card strong {
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.tsb-visual::before {
  position: absolute;
  inset: auto -12% -18% -12%;
  height: 44%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(8, 9, 11, 0.04)),
    var(--tsb-lime);
  border-radius: 50% 50% 0 0;
  content: "";
}

.tsb-drone {
  position: absolute;
  top: 28%;
  left: 10%;
  width: 82%;
  height: 190px;
  transform: rotate(-8deg);
}

.tsb-drone-body {
  position: absolute;
  top: 70px;
  left: 36%;
  width: 30%;
  height: 64px;
  background: linear-gradient(90deg, #f5f6f5, #aeb4b8);
  border-radius: 60% 40% 40% 60%;
  box-shadow: 0 18px 42px rgba(8, 9, 11, 0.18);
}

.tsb-drone-wing {
  position: absolute;
  top: 76px;
  left: 6%;
  width: 82%;
  height: 30px;
  background: linear-gradient(90deg, rgba(255,255,255,0.86), rgba(180,185,189,0.86));
  border-radius: 80% 20% 80% 20%;
  transform: skewX(-14deg);
}

.tsb-drone-tail {
  position: absolute;
  top: 56px;
  right: 7%;
  width: 22%;
  height: 52px;
  background: linear-gradient(100deg, rgba(255,255,255,0.74), rgba(150,156,162,0.8));
  clip-path: polygon(0 60%, 100% 0, 84% 68%, 8% 100%);
}

.tsb-rotor {
  position: absolute;
  width: 92px;
  height: 92px;
  border: 3px solid rgba(8, 9, 11, 0.16);
  border-radius: 50%;
}

.tsb-rotor::before,
.tsb-rotor::after {
  position: absolute;
  top: 43px;
  left: 8px;
  width: 76px;
  height: 6px;
  background: rgba(8, 9, 11, 0.62);
  border-radius: 999px;
  content: "";
}

.tsb-rotor::after {
  transform: rotate(90deg);
}

.tsb-rotor-one {
  top: 48px;
  left: 3%;
}

.tsb-rotor-two {
  top: 118px;
  left: 25%;
}

.tsb-rotor-three {
  top: 30px;
  right: 17%;
}

.tsb-telemetry {
  position: absolute;
  right: clamp(16px, 6vw, 58px);
  bottom: clamp(18px, 6vw, 60px);
  width: min(340px, calc(100% - 32px));
  padding: 14px;
  color: var(--tsb-ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(8, 9, 11, 0.16);
  backdrop-filter: blur(12px);
}

.tsb-telemetry-row {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(8, 9, 11, 0.1);
  font-size: 12px;
  font-weight: 750;
}

.tsb-telemetry-row:last-child {
  border-bottom: 0;
}

.tsb-telemetry-row span:first-child {
  color: var(--tsb-muted);
}

.tsb-section {
  padding: clamp(44px, 7vw, 82px) 0;
  background: var(--tsb-paper);
}

.tsb-feature-strip {
  border-top: 1px solid var(--tsb-line);
  border-bottom: 1px solid var(--tsb-line);
}

.tsb-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tsb-mini-card,
.tsb-lime-card,
.tsb-chip-card {
  min-width: 0;
  border-radius: var(--tsb-radius-small);
}

.tsb-mini-card {
  display: grid;
  min-height: 170px;
  gap: 12px;
  align-content: space-between;
  padding: 22px;
  background: var(--tsb-soft);
  border: 1px solid var(--tsb-line);
}

.tsb-mini-card small,
.tsb-lime-card small {
  color: var(--tsb-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tsb-mini-card strong {
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 850;
  line-height: 0.98;
}

.tsb-mini-card span,
.tsb-lime-card span {
  color: var(--tsb-muted);
  font-size: 13px;
  font-weight: 700;
}

.tsb-lime-card {
  display: grid;
  min-height: 170px;
  gap: 12px;
  align-content: space-between;
  padding: 22px;
  background: var(--tsb-lime);
}

.tsb-lime-card strong {
  font-size: clamp(48px, 11vw, 86px);
  font-weight: 900;
  line-height: 0.86;
}

.tsb-chip-card {
  display: flex;
  min-height: 170px;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  padding: 22px;
  background: var(--tsb-graphite);
}

.tsb-chip-card span {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--tsb-ink);
  background: var(--tsb-paper);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.tsb-chip-card span:nth-child(2n) {
  background: var(--tsb-lime);
}

.tsb-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
}

.tsb-section-title {
  max-width: 780px;
  margin: 0;
  color: var(--tsb-ink);
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.tsb-section-text {
  max-width: 480px;
  margin: 0;
  color: var(--tsb-muted);
  font-size: 14px;
  font-weight: 650;
}

.tsb-widget-area {
  display: grid;
  gap: 16px;
}

.tsb-widget-area > * {
  margin-top: 0;
  margin-bottom: 0;
}

.tsb-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tsb-post-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--tsb-ink);
  background: var(--tsb-paper);
  border: 1px solid var(--tsb-line);
  border-radius: var(--tsb-radius-small);
}

.tsb-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.36 / 1;
  background: var(--tsb-soft);
}

.tsb-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.tsb-fallback-image {
  background: var(--tsb-soft);
}

.tsb-inline-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.34 / 1;
  overflow: hidden;
  background: var(--tsb-soft);
  isolation: isolate;
}

.tsb-inline-art::before,
.tsb-inline-art::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.tsb-inline-art-voyage {
  background:
    radial-gradient(circle at 20% 18%, var(--tsb-lime) 0 13%, transparent 13.5%),
    radial-gradient(circle at 82% 18%, rgba(174, 244, 255, 0.86) 0 20%, transparent 20.5%),
    linear-gradient(145deg, #ffffff, #f2f0ff 48%, #eafff3);
}

.tsb-inline-art-voyage::before {
  right: 10%;
  bottom: 10%;
  left: 10%;
  height: 42%;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(8, 9, 11, 0.18) 42.6% 44%, transparent 44.6%),
    linear-gradient(18deg, var(--tsb-blue), var(--tsb-violet));
  clip-path: polygon(0 72%, 18% 54%, 32% 62%, 48% 32%, 66% 58%, 84% 28%, 100% 54%, 100% 100%, 0 100%);
  border-radius: 18px;
}

.tsb-inline-art-voyage::after {
  top: 32%;
  left: 18%;
  width: 58%;
  height: 28%;
  border-top: 4px dashed rgba(8, 9, 11, 0.28);
  border-right: 4px dashed rgba(8, 9, 11, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow: 96px 32px 0 -34px var(--tsb-coral), 20px -8px 0 -34px var(--tsb-lime);
}

.tsb-inline-art-signal {
  background:
    radial-gradient(circle at 72% 24%, var(--tsb-coral) 0 16%, transparent 16.5%),
    radial-gradient(circle at 16% 78%, var(--tsb-cyan) 0 16%, transparent 16.5%),
    linear-gradient(135deg, #101318, #2b234d 62%, #f6f7ff 62.5%);
}

.tsb-inline-art-signal::before {
  right: 14%;
  bottom: 18%;
  left: 14%;
  height: 48%;
  background:
    linear-gradient(90deg, transparent 0 9%, var(--tsb-lime) 9% 18%, transparent 18% 28%, var(--tsb-cyan) 28% 38%, transparent 38% 49%, var(--tsb-coral) 49% 61%, transparent 61% 73%, var(--tsb-violet) 73% 84%, transparent 84%),
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
}

.tsb-inline-art-signal::after {
  top: 18%;
  left: 12%;
  width: 38%;
  height: 28%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 58px 34px 0 -12px rgba(255, 255, 255, 0.82), 104px -3px 0 -18px var(--tsb-lime);
}

.tsb-inline-art-harbor {
  background:
    radial-gradient(circle at 78% 18%, var(--tsb-lime) 0 15%, transparent 15.5%),
    linear-gradient(150deg, #fff6df 0 45%, #dffcff 45.5% 100%);
}

.tsb-inline-art-harbor::before {
  top: 19%;
  left: 12%;
  width: 76%;
  height: 56%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 32%, transparent 32.5% 36%, rgba(255, 255, 255, 0.9) 36.5% 68%, transparent 68.5% 72%, rgba(255, 255, 255, 0.9) 72.5%),
    linear-gradient(180deg, var(--tsb-coral) 0 18%, transparent 18.5%),
    var(--tsb-graphite);
  border-radius: 22px;
  box-shadow: 0 20px 35px rgba(8, 9, 11, 0.16);
}

.tsb-inline-art-harbor::after {
  right: 13%;
  bottom: 15%;
  width: 28%;
  height: 32%;
  background:
    linear-gradient(90deg, transparent 44%, var(--tsb-ink) 44.5% 53%, transparent 53.5%),
    linear-gradient(160deg, transparent 0 42%, var(--tsb-lime) 42.5% 76%, transparent 76.5%),
    linear-gradient(26deg, transparent 0 42%, var(--tsb-cyan) 42.5% 76%, transparent 76.5%);
}

.tsb-post-card:hover .tsb-card-image,
.tsb-post-card:focus-within .tsb-card-image {
  transform: scale(1.035);
}

.tsb-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--tsb-ink);
  background:
    radial-gradient(circle at 72% 18%, var(--tsb-lime) 0 54px, transparent 56px),
    linear-gradient(135deg, var(--tsb-fog), #d7d1c9);
  font-size: clamp(42px, 12vw, 86px);
  font-weight: 850;
  text-transform: uppercase;
}

.tsb-card-placeholder.tsb-inline-art {
  display: block;
  height: 100%;
  color: transparent;
  font-size: 0;
  text-transform: none;
}

.tsb-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.tsb-card-meta,
.tsb-single-meta {
  color: var(--tsb-muted);
  font-size: 13px;
  font-weight: 800;
}

.tsb-card-title {
  margin: 10px 0;
  color: var(--tsb-ink);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: 0;
}

.tsb-card-title a {
  color: var(--tsb-ink);
}

.tsb-card-title a:hover,
.tsb-card-title a:focus-visible {
  color: var(--tsb-muted);
}

.tsb-card-excerpt {
  color: var(--tsb-muted);
  font-size: 14px;
  font-weight: 600;
}

.tsb-card-excerpt p {
  margin: 0;
}

.tsb-text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--tsb-ink);
  border-bottom: 3px solid var(--tsb-lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tsb-pagination {
  margin-top: 28px;
}

.tsb-pagination > * {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tsb-pagination a,
.tsb-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--tsb-ink);
  background: var(--tsb-paper);
  border: 1px solid var(--tsb-line);
  border-radius: 999px;
  font-weight: 850;
}

.tsb-pagination span[aria-current],
.tsb-pagination a:hover,
.tsb-pagination a:focus-visible {
  background: var(--tsb-lime);
}

.tsb-empty {
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 12% 12%, rgba(215, 255, 74, 0.35) 0 110px, transparent 112px),
    radial-gradient(circle at 88% 8%, rgba(174, 244, 255, 0.42) 0 150px, transparent 152px),
    var(--tsb-soft);
  border: 1px solid var(--tsb-line);
  border-radius: var(--tsb-radius-small);
}

.tsb-empty-showcase {
  display: grid;
  gap: 24px;
}

.tsb-empty-copy {
  max-width: 720px;
}

.tsb-empty-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
}

.tsb-empty-text {
  margin: 0;
  color: var(--tsb-muted);
}

.tsb-empty-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tsb-empty-figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 9, 11, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(8, 9, 11, 0.1);
}

.tsb-empty-image {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.tsb-empty-figure figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(8, 9, 11, 0.08);
}

.tsb-empty-figure figcaption small {
  color: var(--tsb-muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
}

.tsb-single-wrap {
  width: min(80vw, 980px);
  margin: clamp(28px, 5vw, 60px) auto;
  overflow: hidden;
  background: var(--tsb-paper);
  border: 1px solid var(--tsb-line);
  border-radius: var(--tsb-radius);
  box-shadow: var(--tsb-shadow);
}

.tsb-single-header {
  padding: clamp(26px, 5vw, 56px);
  color: var(--tsb-ink);
  background: var(--tsb-soft);
}

.tsb-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--tsb-ink);
  border-bottom: 3px solid var(--tsb-lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tsb-single-title {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(40px, 8vw, 82px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.tsb-single-content {
  padding: clamp(26px, 5vw, 56px);
  color: var(--tsb-ink);
  background: var(--tsb-paper);
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.78;
}

.tsb-single-content > * {
  margin-top: 0;
  margin-bottom: 1.22em;
}

.tsb-single-content h2,
.tsb-single-content h3,
.tsb-single-content h4 {
  margin-top: 1.65em;
  margin-bottom: 0.55em;
  line-height: 1.08;
}

.tsb-single-content h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.tsb-single-content h3 {
  font-size: clamp(25px, 4vw, 36px);
}

.tsb-single-content a {
  color: var(--tsb-ink);
  border-bottom: 3px solid var(--tsb-lime);
  font-weight: 820;
}

.tsb-single-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 22px;
  background: var(--tsb-soft);
  border-left: 6px solid var(--tsb-lime);
  border-radius: var(--tsb-radius-small);
}

.tsb-single-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.tsb-single-content th,
.tsb-single-content td {
  padding: 12px;
  border: 1px solid var(--tsb-line);
}

.tsb-single-content img {
  border-radius: var(--tsb-radius-small);
}

.tsb-single-footer {
  display: grid;
  gap: 18px;
  padding: 0 clamp(26px, 5vw, 56px) clamp(26px, 5vw, 46px);
  background: var(--tsb-paper);
}

.tsb-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tsb-term-list a {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--tsb-ink);
  background: var(--tsb-lime);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.tsb-post-nav {
  display: grid;
  gap: 12px;
}

.tsb-post-nav a {
  display: block;
  padding: 16px;
  color: var(--tsb-ink);
  background: var(--tsb-soft);
  border: 1px solid var(--tsb-line);
  border-radius: var(--tsb-radius-small);
  font-weight: 800;
}

.tsb-footer {
  padding: 34px 0;
  color: var(--tsb-ink);
  background: var(--tsb-soft);
  border-top: 1px solid var(--tsb-line);
}

.tsb-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.tsb-footer-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.1;
}

.tsb-footer-text {
  max-width: 520px;
  margin: 0;
  color: var(--tsb-muted);
}

.tsb-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tsb-footer-menu a {
  color: var(--tsb-muted);
  font-size: 14px;
  font-weight: 800;
}

.tsb-footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  color: var(--tsb-muted);
  border-top: 1px solid var(--tsb-line);
  font-size: 13px;
}

@media (min-width: 720px) {
  .tsb-feature-grid {
    grid-template-columns: 0.86fr 1fr;
  }

  .tsb-lime-card {
    grid-row: span 2;
  }

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

  .tsb-post-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .tsb-post-card:first-child .tsb-card-media {
    min-height: 100%;
    aspect-ratio: auto;
  }

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

  .tsb-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  }

  .tsb-footer-menu {
    justify-content: flex-end;
  }
}

@media (min-width: 940px) {
  .tsb-menu-toggle {
    display: none;
  }

  .tsb-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .tsb-menu a {
    min-height: 38px;
    padding: 8px 12px;
  }

  .tsb-header-cta {
    display: inline-flex;
    margin-left: 12px;
  }

  .tsb-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .tsb-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  }

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

  .tsb-post-card:first-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 560px) {
  :root {
    --tsb-shell: min(100vw - 20px, 1160px);
  }

  .tsb-header-inner {
    min-height: 66px;
  }

  .tsb-brand {
    max-width: calc(100vw - 96px);
  }

  .tsb-hero-title {
    max-width: 440px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.08;
  }

  .tsb-benefit-list {
    margin-top: 34px;
  }

  .tsb-visual {
    display: grid;
    gap: 14px;
    min-height: 410px;
    padding: 14px;
  }

  .tsb-preview-card,
  .tsb-hero-visual-stack {
    position: relative;
    inset: auto;
    width: auto;
  }

  .tsb-hero-visual-stack {
    grid-template-columns: 1fr;
  }

  .tsb-visual-card-1,
  .tsb-visual-card-2,
  .tsb-visual-card-3 {
    transform: none;
  }

  .tsb-orbit-card {
    top: 12px;
    left: 12px;
    min-width: 118px;
  }

  .tsb-drone {
    top: 20%;
    left: 4%;
    width: 96%;
    transform: rotate(-8deg) scale(0.82);
    transform-origin: center;
  }

  .tsb-telemetry {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .tsb-single-wrap {
    width: min(92vw, 980px);
  }

  .tsb-empty-gallery {
    grid-template-columns: 1fr;
  }
}
