/* HugeWins PL — A26 Kinetic Neo-Brutalist Acid-Lime & Exposed-Rule Studio + F6 Footer */
:root {
  --hws-canvas: #FFFFFF;
  --hws-band-acid: #E3FF04;
  --hws-paper: #F6F5F3;
  --hws-ink: #0A0C00;
  --hws-muted: #4D4F45;
  --hws-rule: #0A0C00;
  --hws-accent-alt: #C9F31D;
  --hws-error: #B42318;
  --hws-ok: #14532D;

  --hws-font-display: 'Unbounded', system-ui, -apple-system, sans-serif;
  --hws-font-body: 'Work Sans', system-ui, -apple-system, sans-serif;
  --hws-font-mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;

  --hws-container: min(96vw, 2120px);
  --hws-header-h: 84px;
  --hws-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background-color: var(--hws-canvas);
  color: var(--hws-ink);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--hws-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hws-ink);
  background-color: var(--hws-canvas);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--hws-ink);
  outline-offset: 3px;
}

.hws-skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--hws-band-acid);
  color: var(--hws-ink);
  border: 1.5px solid var(--hws-ink);
  font-family: var(--hws-font-mono);
  font-weight: 700;
  text-decoration: none;
}

.hws-skip-link:focus {
  top: 12px;
}

.hws-wrap {
  width: 100%;
  max-width: var(--hws-container);
  margin-inline: auto;
  padding-inline: clamp(14px, 2.2vw, 40px);
}

.hws-tabular {
  font-variant-numeric: tabular-nums;
}

.hws-mono {
  font-family: var(--hws-font-mono);
}

.hws-prose {
  max-width: 68ch;
}

.hws-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.hws-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--hws-header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--hws-rule);
}

@media (min-width: 1024px) {
  :root {
    --hws-header-h: 96px;
  }
}

.hws-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hws-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
}

.hws-logo-link img {
  width: 150px;
  height: 30px;
  object-fit: contain;
}

.hws-nav {
  display: none;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}

@media (min-width: 1100px) {
  .hws-nav {
    display: flex;
  }
}

.hws-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--hws-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hws-ink);
  transition: color 0.15s var(--hws-ease);
}

.hws-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background: var(--hws-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--hws-ease);
}

.hws-nav-link:hover::after,
.hws-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.hws-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hws-search-jump {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--hws-rule);
  border-radius: 0;
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hws-ink);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s var(--hws-ease);
}

@media (min-width: 768px) {
  .hws-search-jump {
    display: inline-flex;
  }
}

.hws-search-jump:hover {
  background: var(--hws-band-acid);
}

.hws-header-cta {
  display: none;
}

@media (min-width: 900px) {
  .hws-header-cta {
    display: inline-flex;
  }
}

.hws-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
  color: var(--hws-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color 0.15s var(--hws-ease), transform 0.12s var(--hws-ease);
}

.hws-circle-btn:hover {
  background: var(--hws-band-acid);
}

.hws-circle-btn:active {
  transform: scale(0.95);
}

.hws-circle-btn[aria-expanded="true"] {
  background: var(--hws-ink);
  color: var(--hws-band-acid);
}

/* Primary & Secondary Brutalist Buttons (0px corners, 8 states) */
.hws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 0;
  border: 1.5px solid var(--hws-ink);
  font-family: var(--hws-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s var(--hws-ease), color 0.16s var(--hws-ease), transform 0.1s var(--hws-ease);
}

.hws-btn-primary {
  background: var(--hws-ink);
  color: var(--hws-canvas);
}

.hws-btn-primary:hover {
  background: var(--hws-band-acid);
  color: var(--hws-ink);
}

.hws-btn-primary:active {
  transform: translateY(1px);
  background: var(--hws-accent-alt);
}

.hws-btn-acid {
  background: var(--hws-band-acid);
  color: var(--hws-ink);
}

.hws-btn-acid:hover {
  background: var(--hws-ink);
  color: var(--hws-band-acid);
}

.hws-btn-ghost {
  background: var(--hws-canvas);
  color: var(--hws-ink);
}

.hws-btn-ghost:hover {
  background: var(--hws-paper);
}

.hws-btn[disabled],
.hws-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.hws-btn.hws-is-loading {
  opacity: 0.72;
  cursor: wait;
}

.hws-btn.hws-is-error {
  border-color: var(--hws-error);
  color: var(--hws-error);
  background: var(--hws-canvas);
}

/* Mobile & Fullscreen Swiss Drawer */
.hws-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 12, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--hws-ease), visibility 0.2s var(--hws-ease);
}

.hws-drawer-backdrop.hws-open {
  opacity: 1;
  visibility: visible;
}

.hws-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(100vw, 440px);
  background: var(--hws-canvas);
  border-left: 1.5px solid var(--hws-ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.24s var(--hws-ease);
}

.hws-drawer.hws-open {
  transform: translateX(0);
}

.hws-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--hws-rule);
}

.hws-drawer-nav {
  display: flex;
  flex-direction: column;
}

.hws-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--hws-rule);
  font-family: var(--hws-font-display);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.hws-drawer-link:hover {
  background: var(--hws-band-acid);
  padding-inline: 10px;
}

.hws-drawer-meta {
  border: 1px solid var(--hws-rule);
  background: var(--hws-paper);
  padding: 16px;
  font-size: 14px;
}

/* A26 Staggered Monumental Typographic Hero */
.hws-hero {
  padding-top: clamp(28px, 4vw, 64px);
  border-bottom: 1.5px solid var(--hws-rule);
}

.hws-hero-kicker-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: clamp(18px, 2.5vw, 32px);
  border-bottom: 1px solid var(--hws-rule);
  font-family: var(--hws-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hws-muted);
}

.hws-hero-title {
  margin: 0 0 clamp(24px, 3vw, 44px);
  font-family: var(--hws-font-display);
  font-weight: 800;
  font-size: clamp(2.65rem, 6.2vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--hws-ink);
}

.hws-hero-line1 {
  display: block;
  max-width: 88%;
}

.hws-hero-line2 {
  display: block;
  margin-top: 0.08em;
  color: var(--hws-ink);
}

@media (min-width: 900px) {
  .hws-hero-line2 {
    margin-left: 20%;
  }
}

.hws-hero-subgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: clamp(28px, 3.5vw, 52px);
}

@media (min-width: 900px) {
  .hws-hero-subgrid {
    grid-template-columns: 5fr 7fr;
    align-items: end;
    gap: 36px;
  }
}

.hws-seal-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--hws-rule);
  background: var(--hws-paper);
}

.hws-seal-svg {
  flex-shrink: 0;
  color: var(--hws-ink);
}

.hws-seal-label {
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hws-hero-thesis-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hws-hero-thesis {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.55;
  color: var(--hws-ink);
}

.hws-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Asymmetric Hero Visual + Acid-Lime Signal Band #1 */
.hws-signal-band-split {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1.5px solid var(--hws-rule);
}

@media (min-width: 1024px) {
  .hws-signal-band-split {
    grid-template-columns: 5fr 7fr;
  }
}

.hws-hero-media-cell {
  position: relative;
  border-bottom: 1.5px solid var(--hws-rule);
  background: var(--hws-ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .hws-hero-media-cell {
    border-bottom: 0;
    border-right: 1.5px solid var(--hws-rule);
  }
}

.hws-hero-media-cell img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 200px;
  aspect-ratio: 1500 / 499;
  object-fit: cover;
}

.hws-hero-media-caption {
  padding: 12px 18px;
  background: var(--hws-ink);
  color: var(--hws-canvas);
  font-family: var(--hws-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hws-acid-band {
  background: var(--hws-band-acid);
  color: var(--hws-ink);
  padding: clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.hws-eyebrow {
  margin: 0;
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hws-direct-answer {
  margin: 10px 0 0;
  max-width: 68ch;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 500;
  line-height: 1.55;
}

.hws-kpi-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--hws-rule);
  border-left: 1.5px solid var(--hws-rule);
}

@media (min-width: 768px) {
  .hws-kpi-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hws-kpi-cell {
  padding: 14px 16px;
  border-right: 1.5px solid var(--hws-rule);
  border-bottom: 1.5px solid var(--hws-rule);
  background: rgba(255, 255, 255, 0.55);
}

.hws-kpi-val {
  display: block;
  font-family: var(--hws-font-display);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 800;
  line-height: 1.15;
}

.hws-kpi-lbl {
  display: block;
  margin-top: 4px;
  font-family: var(--hws-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hws-muted);
}

/* Section Structural Framework */
.hws-section {
  padding-block: clamp(44px, 5.5vw, 88px);
  border-bottom: 1.5px solid var(--hws-rule);
}

.hws-section-paper {
  background: var(--hws-paper);
}

.hws-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1.5px solid var(--hws-rule);
}

@media (min-width: 1024px) {
  .hws-section-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    gap: 36px;
  }
}

.hws-h2 {
  margin: 8px 0 0;
  font-family: var(--hws-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hws-h3 {
  margin: 0 0 12px;
  font-family: var(--hws-font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  line-height: 1.2;
}

.hws-lead {
  margin: 0;
  max-width: 64ch;
  color: var(--hws-muted);
}

/* Asymmetric 7:5 / 8:4 Split Workbench */
.hws-split-8-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 1160px) {
  .hws-split-8-4 {
    grid-template-columns: 8fr 4fr;
    align-items: start;
    gap: 36px;
  }
}

.hws-sticky-inspector {
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-ink);
  color: var(--hws-canvas);
  padding: 24px;
}

@media (min-width: 1160px) {
  .hws-sticky-inspector {
    position: sticky;
    top: calc(var(--hws-header-h) + 20px);
  }
}

.hws-sticky-inspector-light {
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-paper);
  color: var(--hws-ink);
  padding: 24px;
}

@media (min-width: 1160px) {
  .hws-sticky-inspector-light {
    position: sticky;
    top: calc(var(--hws-header-h) + 20px);
  }
}

/* Pill Tabs & Custom Filters (ZERO native select) */
.hws-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.hws-pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hws-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--hws-rule);
  border-radius: 0;
  background: var(--hws-canvas);
  color: var(--hws-ink);
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.14s var(--hws-ease), color 0.14s var(--hws-ease);
}

.hws-pill-btn:hover {
  background: var(--hws-paper);
}

.hws-pill-btn[aria-pressed="true"],
.hws-pill-btn[aria-selected="true"] {
  background: var(--hws-ink);
  color: var(--hws-band-acid);
}

.hws-pill-btn:active {
  transform: translateY(1px);
}

.hws-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hws-input {
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--hws-rule);
  border-radius: 0;
  background: var(--hws-canvas);
  color: var(--hws-ink);
  font-size: 16px;
  min-width: 220px;
}

.hws-input.hws-is-error {
  border-color: var(--hws-error);
  background: #FEF3F2;
}

/* Exposed Swiss Data Tables */
.hws-table-block {
  margin-bottom: 32px;
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
}

.hws-table-block-head {
  padding: 16px 20px;
  background: var(--hws-paper);
  border-bottom: 1.5px solid var(--hws-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hws-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--hws-rule);
  font-family: var(--hws-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--hws-canvas);
}

.hws-tag-acid {
  background: var(--hws-band-acid);
}

.hws-tag-dark {
  background: var(--hws-ink);
  color: var(--hws-band-acid);
}

.hws-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.hws-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.hws-table th,
.hws-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hws-rule);
  vertical-align: top;
}

.hws-table th {
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--hws-canvas);
  border-bottom: 1.5px solid var(--hws-rule);
  white-space: nowrap;
}

.hws-table tbody tr:last-child td {
  border-bottom: 0;
}

.hws-table tbody tr:hover {
  background: var(--hws-paper);
}

/* Interactive 20 Smartico Missions Ledger */
.hws-missions-grid {
  border-top: 1.5px solid var(--hws-rule);
}

.hws-mission-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px 16px;
  align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--hws-rule);
  background: var(--hws-canvas);
  transition: background-color 0.14s var(--hws-ease);
}

@media (min-width: 768px) {
  .hws-mission-row {
    grid-template-columns: 52px 120px 1fr 120px 52px;
    padding: 16px 18px;
  }
}

.hws-mission-row:hover {
  background: var(--hws-paper);
}

.hws-mission-row.hws-mission-done {
  background: #F4FBE0;
}

.hws-mission-row.hws-filtered-out {
  display: none;
}

.hws-mission-idx {
  font-family: var(--hws-font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--hws-muted);
}

.hws-mission-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid var(--hws-rule);
  font-family: var(--hws-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--hws-paper);
  width: fit-content;
}

.hws-mission-main strong {
  display: block;
  font-family: var(--hws-font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.hws-mission-main span {
  display: block;
  font-size: 14px;
  color: var(--hws-muted);
}

.hws-mission-pts {
  font-family: var(--hws-font-mono);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.hws-check-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--hws-rule);
  border-radius: 0;
  background: var(--hws-canvas);
  color: var(--hws-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.14s var(--hws-ease), color 0.14s var(--hws-ease);
}

.hws-check-btn:hover {
  background: var(--hws-band-acid);
}

.hws-check-btn[aria-pressed="true"] {
  background: var(--hws-ink);
  color: var(--hws-band-acid);
}

.hws-progress-track {
  width: 100%;
  height: 12px;
  border: 1px solid var(--hws-band-acid);
  background: #1A1C10;
  margin-block: 14px;
}

.hws-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--hws-band-acid);
  transition: width 0.25s var(--hws-ease);
}

.hws-empty-state {
  padding: 28px 20px;
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-paper);
  margin-top: 16px;
}

/* Daily Spinback Simulator */
.hws-sim-box {
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
  padding: clamp(20px, 2.5vw, 32px);
}

.hws-range {
  width: 100%;
  accent-color: var(--hws-ink);
  min-height: 44px;
  cursor: pointer;
}

.hws-sim-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--hws-rule);
  border-left: 1.5px solid var(--hws-rule);
  margin-top: 20px;
}

@media (min-width: 768px) {
  .hws-sim-readout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hws-sim-cell {
  padding: 16px;
  border-right: 1.5px solid var(--hws-rule);
  border-bottom: 1.5px solid var(--hws-rule);
  background: var(--hws-paper);
}

.hws-sim-cell-accent {
  background: var(--hws-band-acid);
}

/* A26 Exposed Horizontal-Rule 4-Column Spec Ledger */
.hws-ledger-list {
  border-top: 1.5px solid var(--hws-rule);
  margin-top: 28px;
}

.hws-ledger-item {
  border-bottom: 1px solid var(--hws-rule);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 1024px) {
  .hws-ledger-item {
    grid-template-columns: 70px 260px 1fr 48px;
    align-items: start;
    gap: 24px;
  }
}

@media (min-width: 1800px) {
  .hws-ledger-item {
    grid-template-columns: 80px 300px 1fr 220px 52px;
    gap: 32px;
  }
}

.hws-ledger-num {
  font-family: var(--hws-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--hws-muted);
}

.hws-ledger-title {
  font-family: var(--hws-font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}

.hws-ledger-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--hws-rule);
  font-size: 14px;
  color: var(--hws-muted);
}

.hws-ledger-note[data-collapsed="true"] {
  display: none;
}

/* Games Showcase — One Thing Leads (#1 Spotlight + Ranked Grid) */
.hws-games-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  border: 1.5px solid var(--hws-rule);
  margin-bottom: 24px;
  background: var(--hws-ink);
  color: var(--hws-canvas);
}

@media (min-width: 1024px) {
  .hws-games-spotlight {
    grid-template-columns: 7fr 5fr;
  }
}

.hws-spotlight-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--hws-rule);
}

@media (min-width: 1024px) {
  .hws-spotlight-media {
    border-bottom: 0;
    border-right: 1.5px solid var(--hws-rule);
  }
}

.hws-spotlight-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hws-spotlight-body {
  padding: clamp(22px, 2.5vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.hws-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .hws-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .hws-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1800px) {
  .hws-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hws-game-card {
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
  display: flex;
  flex-direction: column;
}

.hws-game-thumb {
  border-bottom: 1.5px solid var(--hws-rule);
  background: var(--hws-paper);
  overflow: hidden;
}

.hws-game-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hws-game-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hws-game-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--hws-rule);
  font-family: var(--hws-font-mono);
  font-size: 12px;
  margin-top: auto;
}

.hws-providers-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--hws-rule);
  border-left: 1.5px solid var(--hws-rule);
  margin-top: 28px;
}

@media (min-width: 768px) {
  .hws-providers-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.hws-provider-cell {
  padding: 18px 14px;
  border-right: 1.5px solid var(--hws-rule);
  border-bottom: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hws-provider-cell img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* Editorial Wire 3-Column Strip (A26 pre-footer cadence) */
.hws-wire-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1.5px solid var(--hws-rule);
  border-left: 1.5px solid var(--hws-rule);
}

@media (min-width: 900px) {
  .hws-wire-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hws-wire-card {
  padding: 24px;
  border-right: 1.5px solid var(--hws-rule);
  border-bottom: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hws-wire-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Accessible FAQ Accordion (<details><summary>) */
.hws-faq-list {
  border-top: 1.5px solid var(--hws-rule);
}

.hws-faq-item {
  border-bottom: 1px solid var(--hws-rule);
}

.hws-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 18px 4px;
  font-family: var(--hws-font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  cursor: pointer;
}

.hws-faq-item summary::-webkit-details-marker {
  display: none;
}

.hws-faq-item summary:hover {
  background: var(--hws-paper);
}

.hws-faq-answer {
  padding: 0 4px 20px;
  max-width: 74ch;
  color: var(--hws-muted);
}

/* F6 Swiss Exposed-Grid & Double-Rule CTA Footer */
.hws-footer {
  background: var(--hws-paper);
  color: var(--hws-ink);
  padding-top: clamp(44px, 5vw, 80px);
  padding-bottom: 28px;
}

.hws-footer-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: clamp(32px, 4vw, 56px);
}

@media (min-width: 1024px) {
  .hws-footer-split {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    gap: 40px;
  }
}

.hws-footer-headline {
  margin: 0;
  font-family: var(--hws-font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hws-footer-track {
  position: relative;
  border-top: 1px solid var(--hws-rule);
  border-bottom: 1px solid var(--hws-rule);
  padding: 14px 64px 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  min-height: 56px;
}

.hws-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--hws-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hws-footer-links a {
  text-decoration: none;
  padding-block: 6px;
}

.hws-footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hws-top-btn {
  position: absolute;
  right: 0;
  bottom: -24px;
  z-index: 5;
  background: var(--hws-paper);
}

.hws-footer-ground {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--hws-muted);
}

/* Non-blocking Toast */
.hws-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: min(92vw, 420px);
  padding: 16px 20px;
  background: var(--hws-ink);
  color: var(--hws-band-acid);
  border: 1.5px solid var(--hws-band-acid);
  font-family: var(--hws-font-mono);
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s var(--hws-ease), transform 0.2s var(--hws-ease);
}

.hws-toast.hws-toast-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hws-toast-close {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid var(--hws-band-acid);
  background: transparent;
  color: var(--hws-band-acid);
  cursor: pointer;
  font-family: var(--hws-font-mono);
  font-weight: 700;
}

/* 404 Stage */
.hws-404-stage {
  padding-block: clamp(56px, 8vw, 120px);
  border-bottom: 1.5px solid var(--hws-rule);
}

.hws-404-code {
  margin: 0;
  font-family: var(--hws-font-display);
  font-size: clamp(4.5rem, 12vw, 11rem);
  font-weight: 800;
  line-height: 0.95;
}


/* === THAILAND 2026 GEO/AEO UPGRADE BLOCKS (hugewins.pl) === */
[id] {
  scroll-margin-top: calc(var(--hws-header-h) + 20px);
}

.hws-byline {
  margin-top: 8px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 14px;
}

.hws-byline-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hws-byline-main svg {
  flex-shrink: 0;
}

.hws-byline-date {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hws-muted);
}

.hws-keyfacts-wrap {
  margin-bottom: 20px;
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
}

.hws-keyfacts-head {
  padding: 12px 16px;
  background: var(--hws-paper);
  border-bottom: 1.5px solid var(--hws-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.hws-keyfacts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hws-keyfacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .hws-keyfacts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hws-kf-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hws-rule);
  border-right: 1px solid var(--hws-rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hws-kf-item dt {
  font-family: var(--hws-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hws-muted);
}

.hws-kf-item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--hws-ink);
}

.hws-ring-links {
  margin-bottom: 28px;
  padding: 16px;
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hws-ring-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 900px) {
  .hws-ring-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .hws-ring-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hws-ring-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--hws-rule);
  background: var(--hws-canvas);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.14s var(--hws-ease);
}

.hws-ring-link:hover {
  background: var(--hws-band-acid);
}

.hws-ring-link svg {
  flex-shrink: 0;
}

.hws-profiles-grid,
.hws-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .hws-profiles-grid,
  .hws-cons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .hws-profiles-grid,
  .hws-cons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hws-profile-card,
.hws-cons-card {
  border: 1.5px solid var(--hws-rule);
  background: var(--hws-canvas);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.hws-cons-card {
  background: var(--hws-paper);
}

.hws-profile-top,
.hws-cons-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hws-profile-metric {
  font-size: 12px;
  font-weight: 700;
  color: var(--hws-ink);
}

.hws-profile-desc {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--hws-muted);
}

.hws-profile-caveat {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--hws-rule);
  font-size: 12px;
  color: var(--hws-ink);
}
