/**
 * index.css — Harbour Brief home (magazine front-page layout)
 */

:root {
  --hb-cream: #FAF6F0;
  --hb-paper: #F3EBE0;
  --hb-ink: #1A1612;
  --hb-muted: #5C534A;
  --hb-terracotta: #C4654A;
  --hb-forest: #2D4A3E;
  --hb-gold: #B8956B;
  --hb-sage: #7A9E8E;
  --hb-radius: 12px;
  --hb-radius-sm: 6px;
  --hb-shadow: 0 16px 48px rgba(26, 22, 18, 0.07);
  --hb-font-display: 'Playfair Display', Georgia, serif;
  --hb-font-body: 'Source Serif 4', Georgia, serif;
  --hb-font-ui: 'DM Sans', system-ui, sans-serif;
  --hb-max: 1240px;
  --hb-text-base: 1.0625rem;
  --hb-leading: 1.65;
  --hb-title-lg: clamp(1.75rem, 3.2vw, 2.75rem);
  --hb-title-md: clamp(1.15rem, 2vw, 1.45rem);
  --hb-title-sm: 1.05rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.hb-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;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.hb-body {
  font-family: var(--hb-font-body);
  font-size: var(--hb-text-base);
  line-height: var(--hb-leading);
  background: var(--hb-cream);
  color: var(--hb-ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.hb-body--home {
  background-color: var(--hb-cream);
  position: relative;
  isolation: isolate;
}

body.hb-body--home::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(720px, 92vh);
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(250, 246, 240, 0.48) 0%,
      rgba(250, 246, 240, 0.72) 220px,
      rgba(250, 246, 240, 0.88) 440px,
      rgba(250, 246, 240, 0.97) 620px,
      var(--hb-cream) 720px
    ),
    radial-gradient(ellipse 72% 48% at 88% 6%, rgba(196, 101, 74, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 58% 38% at 10% 14%, rgba(45, 74, 62, 0.11) 0%, transparent 52%),
    radial-gradient(ellipse 46% 28% at 50% 88%, rgba(184, 149, 107, 0.14) 0%, transparent 68%),
    url('../images/home-bg.jpg') center top / cover no-repeat;
  pointer-events: none;
}

body.hb-body--home::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(560px, 78vh);
  z-index: -1;
  background: url('../images/hero-texture.svg') center bottom / cover no-repeat;
  opacity: 0.92;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.hb-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hb-card-link:focus-visible {
  outline: 3px solid var(--hb-gold);
  outline-offset: 3px;
  border-radius: var(--hb-radius-sm);
}

/* —— Ticker —— */
.hb-ticker {
  position: static;
  top: auto;
  display: flex;
  align-items: stretch;
  background: var(--hb-forest);
  color: var(--hb-cream);
  font-family: var(--hb-font-ui);
  font-size: 0.8125rem;
  overflow: hidden;
}

.hb-ticker-label {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: var(--hb-terracotta);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hb-ticker-viewport { flex: 1; overflow: hidden; }

.hb-ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  padding: 0.5rem 0;
  animation: hb-marquee 50s linear infinite;
}

.hb-ticker-item em {
  font-style: normal;
  color: var(--hb-gold);
  margin-right: 0.45rem;
  font-weight: 500;
}

.hb-ticker-dot { opacity: 0.35; margin: 0 0.75rem; }

@keyframes hb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Header —— */
.hb-site-header {
  position: static;
  top: auto;
  z-index: 100;
  background: rgba(250, 246, 240, 0.82);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  border-bottom: 1px solid rgba(26, 22, 18, 0.07);
}

.hb-site-header__inner {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hb-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.hb-brand__name {
  font-family: var(--hb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-forest);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hb-edition-bar {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0.45rem 1.5rem 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(26, 22, 18, 0.06);
  font-family: var(--hb-font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--hb-muted);
}

.hb-edition-bar__tagline {
  text-transform: uppercase;
  font-weight: 500;
}

.hb-edition-bar__date {
  font-variant-numeric: tabular-nums;
}

.hb-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(26, 22, 18, 0.12);
  border-radius: var(--hb-radius-sm);
  background: var(--hb-paper);
  cursor: pointer;
}

.hb-nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--hb-ink);
  margin: 0 auto;
  box-shadow: 0 5px 0 var(--hb-ink), 0 -5px 0 var(--hb-ink);
}

.hb-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  font-family: var(--hb-font-ui);
  font-size: 0.875rem;
  font-weight: 500;
}

.hb-site-nav a {
  text-decoration: none;
  padding: 0.25rem 0;
  color: var(--hb-muted);
  transition: color 0.2s;
}

.hb-site-nav a:hover { color: var(--hb-terracotta); }

.hb-site-nav a[aria-current="page"] {
  color: var(--hb-terracotta);
}

.hb-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(26, 22, 18, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.3rem 0.2rem 1rem;
  min-width: 210px;
}

.hb-search input {
  border: none;
  background: transparent;
  flex: 1;
  font-family: var(--hb-font-ui);
  font-size: 0.875rem;
  outline: none;
  min-width: 0;
}

.hb-search button {
  border: none;
  background: var(--hb-forest);
  color: var(--hb-cream);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* —— Main —— */
.hb-page-main {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3.5rem;
}

.hb-ad-slot {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hb-ad-slot > * {
  max-width: 100%;
  flex-shrink: 0;
}

.hb-ad-slot--top { margin-top: 0.5rem; }

/* —— Front page: lead + rail —— */
.hb-front-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--hb-forest);
}

.hb-front-page__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
}

.hb-front-briefs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hb-front-briefs__label {
  font-family: var(--hb-font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-muted);
}

.hb-front-briefs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  flex: 1;
}

.hb-brief-card {
  background: #fff;
  border-radius: var(--hb-radius);
  border: 1px solid rgba(26, 22, 18, 0.06);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 22, 18, 0.04);
  min-height: 100%;
}

.hb-brief-card .hb-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hb-brief-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hb-brief-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 1rem 1rem;
}

.hb-brief-card__body h3 {
  font-family: var(--hb-font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0.35rem 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hb-brief-card__body .hb-meta {
  margin-top: auto;
  font-size: 0.75rem;
}

.hb-lead-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: #fff;
  border-radius: var(--hb-radius);
  overflow: hidden;
  box-shadow: var(--hb-shadow);
  min-height: 380px;
}

.hb-lead-split__media {
  background: var(--hb-paper);
  min-height: 100%;
}

.hb-lead-split__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hb-lead-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.75rem;
  border-left: 1px solid rgba(26, 22, 18, 0.06);
}

.hb-kicker {
  font-family: var(--hb-font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-terracotta);
  margin-bottom: 0.35rem;
}

.hb-kicker--lead {
  color: var(--hb-forest);
  margin-bottom: 0.5rem;
}

.hb-lead-title {
  font-family: var(--hb-font-display);
  font-size: var(--hb-title-lg);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.85rem;
  color: var(--hb-ink);
}

.hb-lead-dek {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hb-muted);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hb-lead-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-family: var(--hb-font-ui);
  font-size: 0.8125rem;
  color: var(--hb-muted);
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 22, 18, 0.08);
}

.hb-byline-name {
  font-weight: 600;
  color: var(--hb-ink);
}

.hb-read-more {
  font-family: var(--hb-font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hb-terracotta);
  letter-spacing: 0.02em;
}

.hb-meta {
  font-family: var(--hb-font-ui);
  font-size: 0.8125rem;
  color: var(--hb-muted);
  line-height: 1.45;
}

/* Right rail */
.hb-front-page__rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hb-newsletter {
  background: var(--hb-paper);
  border-radius: var(--hb-radius);
  border: 1px solid rgba(45, 74, 62, 0.15);
  padding: 1.15rem;
}

.hb-newsletter-inner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.hb-newsletter-art {
  width: 64px;
  flex-shrink: 0;
  border-radius: var(--hb-radius-sm);
  box-shadow: 0 4px 12px rgba(26, 22, 18, 0.08);
}

.hb-eyebrow {
  font-family: var(--hb-font-ui);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hb-sage);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.hb-newsletter-title {
  font-family: var(--hb-font-display);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
}

.hb-btn {
  display: inline-block;
  font-family: var(--hb-font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-align: center;
  width: 100%;
}

.hb-btn--outline {
  border: 1.5px solid var(--hb-forest);
  color: var(--hb-forest);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.hb-btn--outline:hover {
  background: var(--hb-forest);
  color: var(--hb-cream);
}

.hb-rail-label {
  font-family: var(--hb-font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-muted);
  margin-bottom: 0.5rem;
}

.hb-spotlight-card {
  background: #fff;
  border-radius: var(--hb-radius);
  overflow: hidden;
  border: 1px solid rgba(26, 22, 18, 0.06);
}

.hb-spotlight-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.hb-spotlight-body { padding: 0.85rem 1rem 1rem; }

.hb-spotlight-body h3 {
  font-family: var(--hb-font-display);
  font-size: var(--hb-title-sm);
  font-weight: 600;
  line-height: 1.3;
  margin: 0.35rem 0 0.4rem;
}

.hb-rail-pulse {
  background: var(--hb-forest);
  color: var(--hb-cream);
  border-radius: var(--hb-radius);
  padding: 1rem 1.1rem;
}

.hb-rail-title {
  font-family: var(--hb-font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: 0.65rem;
}

.hb-pulse-list {
  list-style: none;
  font-family: var(--hb-font-ui);
  font-size: 0.8125rem;
}

.hb-pulse-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hb-pulse-item:first-child { border-top: none; }

.hb-pulse-item a {
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
}

.hb-pulse-item time {
  display: block;
  font-size: 0.6875rem;
  color: var(--hb-gold);
  margin-bottom: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.hb-pulse-title {
  line-height: 1.4;
  font-weight: 500;
}

/* —— Section headers —— */
.hb-section { margin-bottom: 3rem; }

.hb-section-head {
  margin-bottom: 1.35rem;
}

.hb-section-head--rule {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
}

.hb-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hb-section-index {
  display: block;
  font-family: var(--hb-font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--hb-gold);
  margin-bottom: 0.35rem;
}

.hb-section-title {
  font-family: var(--hb-font-display);
  font-size: var(--hb-title-md);
  font-weight: 700;
  color: var(--hb-forest);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hb-section-sub {
  font-family: var(--hb-font-ui);
  font-size: 0.875rem;
  color: var(--hb-muted);
  margin-top: 0.35rem;
  max-width: 36em;
}

.hb-text-link {
  font-family: var(--hb-font-ui);
  font-size: 0.875rem;
  color: var(--hb-terracotta);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.hb-text-link:hover { text-decoration: underline; }

/* —— Desk bento grid —— */
.hb-desk-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}

.hb-desk-tile {
  background: #fff;
  border-radius: var(--hb-radius);
  overflow: hidden;
  border: 1px solid rgba(26, 22, 18, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hb-desk-tile:hover {
  box-shadow: var(--hb-shadow);
  transform: translateY(-2px);
}

.hb-desk-tile--feature {
  grid-column: span 7;
  grid-row: span 2;
}

.hb-desk-tile--standard {
  grid-column: span 5;
}

.hb-desk-tile--wide {
  grid-column: span 12;
}

.hb-desk-tile--feature .hb-card-link {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  height: 100%;
}

.hb-desk-tile--feature .hb-desk-tile__img img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.hb-desk-tile--wide .hb-card-link {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
}

.hb-desk-tile__img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.hb-desk-tile--wide .hb-desk-tile__img img {
  aspect-ratio: 16/11;
  height: 100%;
}

.hb-desk-tile__body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hb-desk-tile__body h3 {
  font-family: var(--hb-font-display);
  font-size: var(--hb-title-sm);
  font-weight: 600;
  line-height: 1.28;
  margin: 0.35rem 0 0.45rem;
}

.hb-desk-tile--feature .hb-desk-tile__body h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

/* —— Ribbon —— */
.hb-ribbon {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  margin: 0 -0.25rem;
}

.hb-ribbon-track {
  display: flex;
  gap: 1rem;
  padding: 0.25rem;
}

.hb-ribbon-slide {
  flex: 0 0 272px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--hb-radius);
  overflow: hidden;
  border: 1px solid rgba(26, 22, 18, 0.06);
}

.hb-ribbon-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.hb-ribbon-text { padding: 0.9rem 1rem 1rem; }

.hb-ribbon-text h3 {
  font-family: var(--hb-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0.3rem 0 0.35rem;
}

/* —— Feature band —— */
.hb-feature-band {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 0;
  background: var(--hb-paper);
  border-radius: var(--hb-radius);
  overflow: hidden;
  border: 1px solid rgba(45, 74, 62, 0.12);
}

.hb-feature-band__img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hb-feature-band__copy {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hb-feature-title {
  font-family: var(--hb-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0.45rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.hb-dek {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--hb-muted);
  margin-bottom: 1rem;
}

/* —— Dual band: analysis + deep —— */
.hb-dual-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}

.hb-analysis-list {
  list-style: none;
}

.hb-analysis-row {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 22, 18, 0.08);
}

.hb-analysis-row:first-child { padding-top: 0; }

.hb-analysis-num {
  font-family: var(--hb-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hb-gold);
  line-height: 1;
  padding-top: 0.15rem;
}

.hb-analysis-content h3 {
  font-family: var(--hb-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0.2rem 0 0.35rem;
}

.hb-deep-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hb-deep-card {
  background: #fff;
  border-radius: var(--hb-radius-sm);
  overflow: hidden;
  border-left: 3px solid var(--hb-terracotta);
}

.hb-deep-card .hb-card-link {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem 0.75rem 0.65rem 0;
}

.hb-deep-card__thumb img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: var(--hb-radius-sm);
}

.hb-deep-body h3 {
  font-family: var(--hb-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.2rem;
}

/* —— Starter grid —— */
.hb-starter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hb-starter-item {
  position: relative;
  background: #fff;
  padding: 1.35rem 1.15rem 1.15rem;
  border-radius: var(--hb-radius);
  border-top: 3px solid var(--hb-sage);
  min-height: 140px;
}

.hb-starter-num {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--hb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(184, 149, 107, 0.35);
  line-height: 1;
}

.hb-starter-item h3 {
  font-family: var(--hb-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0.35rem 0 0.4rem;
  padding-right: 1.5rem;
}

/* —— Search —— */
.hb-search-results {
  max-width: var(--hb-max);
  margin: 1rem auto;
  padding: 0 1.5rem;
}

.hb-search-hit {
  background: #fff;
  border-radius: var(--hb-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(26, 22, 18, 0.06);
}

.hb-search-hit .hb-card-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.75rem;
}

.hb-search-hit img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--hb-radius-sm);
}

.hb-empty {
  text-align: center;
  padding: 2rem;
  font-family: var(--hb-font-ui);
  color: var(--hb-muted);
}

/* —— Footer —— */
.hb-footer {
  background: var(--hb-ink);
  color: rgba(250, 246, 240, 0.88);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 1rem;
}

.hb-footer__top {
  max-width: var(--hb-max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 2rem;
}

.hb-footer__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hb-footer__name {
  font-family: var(--hb-font-display);
  font-size: 1.25rem;
  color: var(--hb-cream);
  margin-bottom: 0.35rem;
}

.hb-footer__tagline {
  font-family: var(--hb-font-ui);
  font-size: 0.875rem;
  opacity: 0.75;
  line-height: 1.55;
}

.hb-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  font-family: var(--hb-font-ui);
  font-size: 0.875rem;
}

.hb-footer__col h3 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hb-gold);
  margin-bottom: 0.75rem;
}

.hb-footer__col ul { list-style: none; }

.hb-footer__col a {
  color: rgba(250, 246, 240, 0.78);
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  line-height: 1.45;
}

.hb-footer__col a:hover { color: var(--hb-terracotta); }

.hb-footer__bottom {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--hb-font-ui);
  font-size: 0.8125rem;
}

.hb-footer__disclaimer { opacity: 0.55; }

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hb-front-page {
    grid-template-columns: 1fr;
  }

  .hb-front-briefs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hb-desk-tile--feature { grid-column: span 12; grid-row: span 1; }
  .hb-desk-tile--standard { grid-column: span 6; }
  .hb-desk-tile--wide { grid-column: span 12; }

  .hb-desk-tile--feature .hb-card-link {
    grid-template-columns: 1fr;
  }

  .hb-dual-band {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hb-feature-band {
    grid-template-columns: 1fr;
  }

  .hb-feature-band__img img { min-height: 220px; }
}

@media (max-width: 768px) {
  .hb-front-briefs__grid {
    grid-template-columns: 1fr;
  }

  .hb-lead-split {
    grid-template-columns: 1fr;
  }

  .hb-lead-split__copy {
    border-left: none;
    border-top: 1px solid rgba(26, 22, 18, 0.06);
    padding: 1.5rem 1.25rem;
  }

  .hb-lead-split__media img { min-height: 220px; }

  .hb-desk-grid {
    grid-template-columns: 1fr;
  }

  .hb-desk-tile--feature,
  .hb-desk-tile--standard,
  .hb-desk-tile--wide {
    grid-column: span 1;
  }

  .hb-desk-tile--wide .hb-card-link {
    grid-template-columns: 1fr;
  }

  .hb-starter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hb-nav-toggle { display: flex; }

  .hb-site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0.25rem 0 0.75rem;
  }

  .hb-site-nav.is-open { display: flex; }

  .hb-search {
    width: 100%;
    order: 3;
  }

  .hb-footer__top { grid-template-columns: 1fr; }
  .hb-footer__nav { grid-template-columns: 1fr 1fr; }

  .hb-ad-slot {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (max-width: 480px) {
  .hb-page-main { padding-left: 1rem; padding-right: 1rem; }
  .hb-starter-grid { grid-template-columns: 1fr; }
  .hb-footer__nav { grid-template-columns: 1fr; }
  .hb-edition-bar { flex-direction: column; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hb-ticker-track { animation: none; }
  .hb-desk-tile:hover { transform: none; }
}
