@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --c-bg: #1f1f1f;
  --c-surface: #2a2a2a;
  --c-surface2: #323232;
  --c-white: #ffffff;
  --c-off: #f5f5f5;
  --c-muted: #888888;
  --c-border: #3a3a3a;
  --c-accent: #ffffff;
  --c-accent-dim: rgba(255,255,255,0.12);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.45);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.55);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.65);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.75);

  --sidebar-w: 220px;
  --font-serif: 'Playfair Display', 'Source Serif 4', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --z-sidebar: 40;
  --z-overlay: 50;
  --z-hero: 10;
  --z-card: 20;
  --z-float: 30;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  line-height: 1.65;
  background: var(--c-bg);
  color: var(--c-off);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-off);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--c-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover { opacity: 0.75; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-white);
}

hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 1.25rem 0 1.75rem;
}

/* ============================================================
   Layout Wrapper
   ============================================================ */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.page-body {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: #181818;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  z-index: var(--z-sidebar);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding-bottom: 2rem;
}

.sidebar__brand {
  padding: 1.75rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.sidebar nav {
  flex: 1;
  padding: 1.25rem 0;
}

.sidebar nav ul {
  display: flex;
  flex-direction: column;
}

.sidebar nav ul li a {
  display: block;
  padding: 0.7rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--c-muted);
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  min-height: 40px;
  line-height: 1.4;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a[aria-current="page"] {
  color: var(--c-white);
  border-left-color: var(--c-white);
  background: var(--c-accent-dim);
  opacity: 1;
}

.sidebar__cta {
  margin: 1rem 1.5rem 0;
  padding: 0.7rem 1rem;
  background: var(--c-white);
  color: var(--c-bg);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 0;
  min-height: 40px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  text-align: center;
  letter-spacing: 0.04em;
}

.sidebar__cta:hover {
  background: var(--c-off);
  box-shadow: var(--shadow-md);
}

.sidebar__related {
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid var(--c-border);
  margin-top: 1rem;
}

.sidebar__related-heading {
  font-size: 0.75rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
}

.sidebar__related-list li a {
  display: block;
  font-size: 0.8rem;
  color: var(--c-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: color 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.sidebar__related-list li a:hover {
  color: var(--c-white);
  opacity: 1;
}

/* ============================================================
   Nav Overlay (Fullscreen Menu)
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.97);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(12px);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  min-height: 40px;
  transition: background 0.2s;
}

.nav-overlay__close:hover {
  background: var(--c-accent-dim);
}

.nav-overlay__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-overlay__list li a {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-muted);
  line-height: 1.3;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  display: block;
  min-height: 44px;
}

.nav-overlay__list li a:hover {
  color: var(--c-white);
  border-bottom-color: var(--c-white);
  opacity: 1;
}

/* ============================================================
   Hero – Home (45vh, left image, right-aligned text)
   ============================================================ */
.hero--home {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 45vh;
  overflow: hidden;
  z-index: var(--z-hero);
  border-bottom: 1px solid var(--c-border);
}

.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform 0.6s ease;
}

.hero--home:hover .hero__img {
  transform: scale(1.03);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 3rem 3rem 3rem 2rem;
  background: var(--c-bg);
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__h1 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero__sub {
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 28rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--c-white);
  color: var(--c-bg);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
  min-height: 44px;
  align-items: center;
}

.hero__btn:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  opacity: 1;
}

/* Hero – no image variant */
.hero--home:not(:has(.hero__media)) {
  grid-template-columns: 1fr;
}
.hero--home:not(:has(.hero__media)) .hero__copy {
  padding: 4rem 3rem;
}

/* ============================================================
   Inner Hero (Category / Tag / About / Privacy)
   ============================================================ */
.inner-hero {
  padding: 3.5rem 3rem 2.5rem;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  background: linear-gradient(135deg, #232323 0%, #1a1a1a 100%);
}

.inner-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--c-white);
}

.inner-hero__copy {
  max-width: 56rem;
}

.inner-hero__h1 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.inner-hero__desc {
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 48rem;
  line-height: 1.65;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--c-white);
  opacity: 1;
}

/* ============================================================
   Main Content Layout
   ============================================================ */
main {
  flex: 1;
  padding: 2.5rem 3rem 3rem;
  max-width: 72rem;
  width: 100%;
}

article {
  width: 100%;
}

div {
  position: relative;
}

/* ============================================================
   Section Titles
   ============================================================ */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* ============================================================
   Content Prose
   ============================================================ */
.content-section {
  margin-bottom: 3rem;
}

.content-prose {
  font-size: 1rem;
  line-height: 1.8;
  color: #cccccc;
  max-width: 52rem;
}

.content-prose p { margin-bottom: 1.25rem; }
.content-prose h2, .content-prose h3 {
  font-family: var(--font-serif);
  color: var(--c-white);
  margin: 2rem 0 0.75rem;
}
.content-prose h2 { font-size: 1.4rem; }
.content-prose h3 { font-size: 1.15rem; }

.content-prose a {
  color: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  transition: border-color 0.2s;
}
.content-prose a:hover {
  border-bottom-color: var(--c-white);
  opacity: 1;
}

.content-prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.content-prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.content-prose li { margin-bottom: 0.5rem; }

.content-prose--legal {
  font-size: 0.95rem;
}

/* ============================================================
   Category Cards (Home)
   ============================================================ */
.cat-section {
  margin-bottom: 3rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border-bottom: 3px solid var(--c-white);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: var(--z-card);
  color: var(--c-off);
  gap: 0.5rem;
}

.cat-card:hover {
  transform: translateY(-4px) translateZ(8px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.cat-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cat-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.3;
}

.cat-card__desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.cat-card__arrow {
  font-size: 1rem;
  color: var(--c-muted);
  margin-top: auto;
  padding-top: 0.5rem;
  align-self: flex-end;
  transition: color 0.2s, transform 0.2s;
}

.cat-card:hover .cat-card__arrow {
  color: var(--c-white);
  transform: translateX(4px);
}

/* ============================================================
   Entry List (Category / Tag)
   ============================================================ */
.entries-section {
  margin-bottom: 3rem;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.entry-item {
  border-bottom: 1px solid var(--c-border);
}

.entry-card {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  color: var(--c-off);
  position: relative;
  transition: background 0.2s;
}

.entry-card:hover {
  opacity: 1;
  background: var(--c-accent-dim);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin: 0 -0.75rem;
  width: calc(100% + 1.5rem);
}

.entry-card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-muted);
  letter-spacing: 0.08em;
  line-height: 1;
}

.entry-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.entry-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.3;
}

.entry-card__desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-muted);
}

.entry-card__go {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-muted);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--c-border);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.entry-card:hover .entry-card__go {
  border-color: var(--c-white);
  color: var(--c-white);
}

.no-entries {
  color: var(--c-muted);
  font-size: 0.95rem;
  padding: 1.5rem 0;
}

/* ============================================================
   Entry Page
   ============================================================ */
.entry-hero {
  position: relative;
  max-height: 340px;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}

.entry-hero__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.entry-header-section {
  padding: 2rem 3rem 0;
  max-width: 72rem;
  margin-bottom: 0;
}

.entry-h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.entry-desc {
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 48rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.entry-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   Related Section
   ============================================================ */
.related-section {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.related-item {
  border-bottom: 1px solid var(--c-border);
}

.related-item a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0;
  color: var(--c-off);
  transition: background 0.2s;
  min-height: 40px;
  justify-content: center;
}

.related-item a:hover {
  opacity: 1;
  padding-left: 0.5rem;
}

.related-item__title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
}

.related-item__desc {
  font-size: 0.8rem;
  color: var(--c-muted);
}

/* ============================================================
   About Nav List
   ============================================================ */
.about-links-section {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.about-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.about-nav-list li a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  padding: 1.1rem 0;
  color: var(--c-off);
  min-height: 44px;
  align-items: start;
}

.about-nav-list li a:hover {
  opacity: 1;
  padding-left: 0.5rem;
}

.about-nav-list__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-muted);
  grid-row: 1 / 3;
  align-self: center;
}

.about-nav-list__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  grid-column: 2;
}

.about-nav-list__desc {
  font-size: 0.82rem;
  color: var(--c-muted);
  grid-column: 2;
}

/* ============================================================
   Privacy
   ============================================================ */
.privacy-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.privacy-links li {
  border-bottom: 1px solid var(--c-border);
}

.privacy-links li a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.privacy-nav-section {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #161616;
  border-top: 1px solid var(--c-border);
  padding: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

footer > div {
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--c-border);
}

footer > div:last-child {
  border-bottom: none;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--c-white);
}

.footer__desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  max-width: 40rem;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.footer__nav li a {
  font-size: 0.875rem;
  color: var(--c-muted);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.footer__nav li a:hover {
  color: var(--c-white);
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-muted);
}

.footer__bottom nav {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom nav a {
  font-size: 0.82rem;
  color: var(--c-muted);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.footer__bottom nav a:hover {
  color: var(--c-white);
  opacity: 1;
}

/* ============================================================
   Stagger Animation
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger-item {
  animation: fadeUp 0.45s ease both;
}

.entry-list .stagger-item:nth-child(1)  { animation-delay: 0.05s; }
.entry-list .stagger-item:nth-child(2)  { animation-delay: 0.10s; }
.entry-list .stagger-item:nth-child(3)  { animation-delay: 0.15s; }
.entry-list .stagger-item:nth-child(4)  { animation-delay: 0.20s; }
.entry-list .stagger-item:nth-child(5)  { animation-delay: 0.25s; }
.entry-list .stagger-item:nth-child(6)  { animation-delay: 0.30s; }
.entry-list .stagger-item:nth-child(n+7) { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .stagger-item,
  .cat-card,
  .entry-card,
  .hero__img,
  .nav-overlay,
  .sidebar__cta,
  .hero__btn {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Elevation & Depth Utilities
   ============================================================ */
.elev-1 { box-shadow: var(--shadow-sm); }
.elev-2 { box-shadow: var(--shadow-md); }
.elev-3 { box-shadow: var(--shadow-lg); }
.elev-4 { box-shadow: var(--shadow-xl); }

/* Layered depth for stacked feel */
.cat-grid li:nth-child(odd)  .cat-card { transform: translateY(0); }
.cat-grid li:nth-child(even) .cat-card { transform: translateY(6px); }
.cat-grid li:nth-child(odd)  .cat-card:hover { transform: translateY(-6px); }
.cat-grid li:nth-child(even) .cat-card:hover { transform: translateY(2px); }

/* ============================================================
   Responsive – Tablet (≤960px)
   ============================================================ */
@media (max-width: 960px) {
  :root { --sidebar-w: 180px; }

  .hero--home {
    grid-template-columns: 1fr;
    min-height: 45vh;
  }

  .hero__media { max-height: 220px; }

  .hero__copy {
    padding: 2rem 2rem;
    text-align: right;
    align-items: flex-end;
  }

  main {
    padding: 2rem 2rem 2.5rem;
  }

  .entry-header-section {
    padding: 1.75rem 2rem 0;
  }

  footer > div {
    padding: 1.5rem 2rem;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Responsive – Mobile (≤680px)
   ============================================================ */
@media (max-width: 680px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 260px;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .page-body {
    margin-left: 0;
  }

  .hero--home {
    min-height: 45vh;
    grid-template-columns: 1fr;
    position: relative;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    max-height: none;
    opacity: 0.25;
  }

  .hero__copy {
    position: relative;
    z-index: 2;
    text-align: right;
    align-items: flex-end;
    padding: 3rem 1.5rem 2.5rem;
    justify-content: flex-end;
    min-height: 45vh;
  }

  .hero__h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero__sub {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .inner-hero {
    padding: 2.5rem 1.5rem 2rem;
  }

  main {
    padding: 1.5rem 1.5rem 2rem;
  }

  .entry-header-section {
    padding: 1.5rem 1.5rem 0;
  }

  .entry-card {
    grid-template-columns: 2.5rem 1fr;
  }

  .entry-card__go { display: none; }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
  }

  .cat-grid li:nth-child(odd)  .cat-card { transform: none; }
  .cat-grid li:nth-child(even) .cat-card { transform: none; }
  .cat-grid li:nth-child(odd)  .cat-card:hover { transform: translateY(-3px); }
  .cat-grid li:nth-child(even) .cat-card:hover { transform: translateY(-3px); }

  footer > div {
    padding: 1.25rem 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Mobile nav toggle via sidebar CTA */
  .sidebar__cta {
    display: none;
  }

  /* Show mobile menu bar at top */
  .page-body::before {
    content: '';
    display: block;
    height: 56px;
  }

  .nav-overlay {
    padding: 5rem 2rem 3rem;
  }

  .nav-overlay__list li a {
    font-size: 1.4rem;
  }
}

/* Mobile top bar for hamburger */
@media (max-width: 680px) {
  .page-body {
    position: relative;
  }

  .page-body > .hero--home,
  .page-body > .inner-hero,
  .page-body > .entry-hero {
    margin-top: 0;
  }
}
