/* iplbigwin.com — L03 Comparison-Table Layout — COMPLETELY NEW CSS
   Wine red + cream + black palette
   Playfair Display + Inter + IBM Plex Mono
   ============================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }

.skip-link { position: fixed; top: 0; left: -9999px; background: var(--wine-700); color: var(--cream-50); padding: 12px 18px; z-index: 9999; font-family: var(--font-mono); font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   HEADER — comparison-table topnav
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(251, 247, 240, 0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--ink-900);
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .container {
  display: flex; align-items: stretch; justify-content: space-between;
  height: 100%; gap: 16px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  flex: 0 0 auto; max-width: 220px;
}
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  background: var(--wine-700); color: var(--cream-50);
  font-family: var(--font-serif); font-weight: 800;
  display: grid; place-items: center;
  font-size: 22px; line-height: 1;
  border: 2px solid var(--ink-900);
  box-shadow: var(--shadow-hard);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; color: var(--wine-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Desktop nav */
.desktop-nav {
  display: flex; align-items: stretch; gap: 0;
  flex: 1 1 auto; justify-content: flex-end;
  height: 100%;
}
.desktop-nav > li { display: flex; align-items: stretch; position: relative; }
.desktop-nav > li > a {
  display: flex; align-items: center;
  padding: 0 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-900); text-decoration: none;
  border-left: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.desktop-nav > li > a:hover {
  background: var(--wine-700); color: var(--cream-50);
  text-decoration: none;
}
.desktop-nav > li > a.cta {
  background: var(--wine-700); color: var(--cream-50);
  border-left: 2px solid var(--ink-900);
}
.desktop-nav > li > a.cta:hover { background: var(--wine-900); }

/* Hamburger button */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: var(--ink-900);
  border: 2px solid var(--ink-900);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 0; cursor: pointer;
  margin: 0 0 0 auto;
  box-shadow: var(--shadow-hard-wine);
  transition: transform var(--transition);
}
.hamburger:hover { transform: translate(-1px, -1px); }
.hamburger:active { transform: translate(2px, 2px); box-shadow: none; }
.hamburger span {
  display: block; width: 22px; height: 3px;
  background: var(--cream-50);
  border-radius: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  width: 100%; max-width: none; height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
  background: var(--ink-900);
  z-index: 55;
  padding: 24px;
  overflow-y: auto;
  flex-direction: column; gap: 8px;
}
.mobile-drawer.open, .mobile-drawer.is-open {
  display: flex !important;
}
.mobile-drawer > li { display: block; }
.mobile-drawer > li > a {
  display: block;
  padding: 16px 18px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--cream-50); text-decoration: none;
  border-bottom: 1px solid rgba(245, 220, 224, 0.18);
}
.mobile-drawer > li > a:hover { background: var(--wine-700); }
.mobile-drawer > li > a.cta {
  background: var(--wine-500); color: var(--cream-50);
  margin-top: 16px;
}

/* ============================================================
   HERO — split-panel + comparison-table widget
   ============================================================ */
#hero {
  background: linear-gradient(135deg, var(--wine-900) 0%, var(--wine-700) 60%, var(--wine-500) 100%);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(245, 220, 224, 0.05) 0, rgba(245, 220, 224, 0.05) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(90deg, rgba(245, 220, 224, 0.05) 0, rgba(245, 220, 224, 0.05) 1px, transparent 1px, transparent 56px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 2px solid var(--cream-400); background: rgba(0,0,0,0.25);
  color: var(--cream-400);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--accent-bright); border-radius: 50%; }
.hero-eyebrow .pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--cream-50);
  margin-bottom: 18px;
  font-family: var(--font-serif);
}
.hero-title em {
  font-style: italic; font-weight: 600;
  color: var(--cream-400);
}
.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream-100);
  margin-bottom: 26px;
  max-width: 520px;
  font-family: var(--font-sans);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink-900); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--cream-50); color: var(--wine-900); box-shadow: var(--shadow-hard); }
.btn-primary:hover { background: var(--cream-100); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink-900); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--cream-50); border-color: var(--cream-50); }
.btn-secondary:hover { background: var(--cream-50); color: var(--wine-900); transform: translate(-1px, -1px); }
.btn-wine { background: var(--wine-700); color: var(--cream-50); border-color: var(--ink-900); box-shadow: var(--shadow-hard); }
.btn-wine:hover { background: var(--wine-900); transform: translate(-2px, -2px); box-decoration: none; }

.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(245, 220, 224, 0.25); }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; color: var(--cream-400); line-height: 1; }
.hero-meta-label { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-200); font-family: var(--font-mono); }

/* Comparison widget */
.cmp-widget {
  background: var(--cream-50); color: var(--ink-900);
  border: 2px solid var(--ink-900);
  box-shadow: 10px 10px 0 var(--wine-900);
  padding: 0;
}
.cmp-widget-head {
  background: var(--ink-900);
  color: var(--cream-50);
  padding: 14px 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.cmp-widget-head .stamp { display: inline-flex; align-items: center; gap: 8px; }
.cmp-widget-head .stamp::before { content: ''; width: 8px; height: 8px; background: var(--wine-400); }
.cmp-widget-body { padding: 22px; }
.cmp-widget-table { width: 100%; border-collapse: collapse; }
.cmp-widget-table th, .cmp-widget-table td {
  text-align: left; padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.cmp-widget-table th {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--wine-700);
  background: var(--cream-100);
  border-bottom: 2px solid var(--ink-900);
}
.cmp-widget-table td strong { color: var(--wine-900); font-family: var(--font-serif); }
.cmp-widget-table .best { background: var(--cream-100); border-left: 3px solid var(--wine-600); }
.cmp-widget-table .check { color: var(--wine-700); font-weight: 700; }
.cmp-widget-foot {
  padding: 14px 22px;
  background: var(--cream-100); border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-soft);
  font-family: var(--font-mono);
}

/* ============================================================
   SECTIONS — bands
   ============================================================ */
.band {
  padding: 72px 24px;
  border-bottom: 1px solid var(--border);
}
.band.bg-cream { background: var(--cream-100); }
.band.bg-wine { background: var(--wine-900); color: var(--cream-50); }
.band.bg-wine h2, .band.bg-wine h3 { color: var(--cream-50); }
.band.bg-wine .band-lead { color: var(--cream-200); }

.band-elev-1 { background: var(--surface); }

.band-head {
  margin-bottom: 36px;
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: end;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink-900);
}
.band-head .label {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--wine-700);
  padding: 6px 12px; background: var(--cream-100);
  border: 1px solid var(--border-wine);
}
.band.bg-wine .band-head { border-bottom-color: var(--cream-400); }
.band.bg-wine .band-head .label { background: var(--wine-700); color: var(--cream-50); border-color: var(--cream-400); }

.band-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 0;
}
.band-head .band-lead {
  grid-column: 2;
  font-size: 1rem; color: var(--text-soft);
  line-height: 1.6;
  max-width: 580px;
  justify-self: end;
  text-align: right;
}

/* ============================================================
   CARDS — editorial comparison-card family
   ============================================================ */
.loose-card {
  background: var(--surface);
  border: 2px solid var(--ink-900);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.loose-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--wine-700); }
.loose-card .ribbon {
  position: absolute; top: -2px; right: -2px;
  background: var(--wine-700); color: var(--cream-50);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }

.data-card {
  background: var(--surface);
  border: 2px solid var(--ink-900);
  padding: 22px;
  position: relative;
}
.data-card .big {
  font-family: var(--font-serif); font-weight: 800;
  font-size: 2.6rem; line-height: 1;
  color: var(--wine-700);
  display: block; margin-bottom: 6px;
}
.data-card .label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
}
.data-card .trend { font-family: var(--font-mono); font-size: 12px; color: var(--wine-700); margin-top: 8px; }
.data-card .trend.up::before { content: '↑ '; }
.data-card .trend.dn::before { content: '↓ '; }

.step-card {
  background: var(--cream-100);
  border: 2px solid var(--wine-700);
  padding: 26px 22px 22px;
  position: relative;
  height: 100%;
}
.step-card .step-num {
  position: absolute; top: -18px; left: -2px;
  width: 42px; height: 42px;
  background: var(--wine-700); color: var(--cream-50);
  font-family: var(--font-mono); font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
  border: 2px solid var(--ink-900);
}
.step-card h3 { margin-bottom: 8px; font-family: var(--font-serif); font-size: 1.15rem; color: var(--wine-900); }

.risk-card {
  background: var(--cream-100);
  border-left: 6px solid var(--wine-700);
  padding: 22px;
}

.comparison-card {
  background: var(--surface);
  border: 2px solid var(--ink-900);
  display: flex; flex-direction: column;
}
.comparison-card .head {
  padding: 18px 20px;
  background: var(--ink-900); color: var(--cream-50);
  border-bottom: 2px solid var(--ink-900);
  display: flex; align-items: center; gap: 12px;
}
.comparison-card .rank {
  width: 36px; height: 36px;
  background: var(--cream-400); color: var(--wine-900);
  font-family: var(--font-mono); font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
}
.comparison-card .body { padding: 20px; flex: 1; }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.center { display: grid; place-items: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; } .mb-4 { margin-bottom: 48px; }

/* ============================================================
   ARTICLE-LIKE TYPOGRAPHY
   ============================================================ */
.prose {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}
padding: 0;
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: 1.8rem; margin: 1.6em 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 0.5em; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.prose ul li, .prose ol li { list-style: disc; margin-bottom: 0.5em; color: var(--text-soft); }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--wine-900); font-weight: 700; }
.prose a { color: var(--wine-700); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  border-left: 4px solid var(--wine-700);
  padding: 14px 20px;
  margin: 1.5em 0;
  background: var(--cream-100);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--wine-900);
}
.prose code, .prose .mono { font-family: var(--font-mono); font-size: 0.92em; background: var(--cream-100); padding: 2px 6px; }

/* ============================================================
   COMPARISON TABLE (big editorial)
   ============================================================ */
.cmp-table-wrap { overflow-x: auto; border: 2px solid var(--ink-900); background: var(--surface); }
.cmp-table {
  width: 100%; border-collapse: collapse;
  font-size: 15px;
}
.cmp-table thead th {
  background: var(--ink-900);
  color: var(--cream-50);
  font-family: var(--font-mono); font-weight: 700;
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 18px;
  text-align: left;
  border-bottom: 2px solid var(--ink-900);
}
.cmp-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cmp-table tbody tr:nth-child(even) { background: var(--cream-100); }
.cmp-table tbody tr:hover { background: var(--cream-200); }
.cmp-table .op-name { font-family: var(--font-serif); font-weight: 800; color: var(--wine-900); font-size: 17px; }
.cmp-table .badge-best {
  display: inline-block; padding: 3px 8px; margin-left: 6px;
  background: var(--wine-700); color: var(--cream-50);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cmp-table .check { color: var(--wine-700); font-weight: 700; }
.cmp-table .cross { color: var(--text-muted); font-weight: 600; }

/* ============================================================
   FAQ — details grid
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-grid details {
  background: var(--surface);
  border: 2px solid var(--ink-900);
  padding: 0;
}
.faq-grid details summary {
  padding: 18px 22px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.0625rem; color: var(--wine-900);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-grid details summary::after {
  content: '+'; color: var(--wine-700); font-family: var(--font-mono); font-size: 1.4rem;
  transition: transform var(--transition);
}
.faq-grid details[open] summary::after { transform: rotate(45deg); content: '×'; }
.faq-grid details summary::-webkit-details-marker { display: none; }
.faq-grid details .faq-body {
  padding: 0 22px 18px;
  color: var(--text-soft); line-height: 1.6;
}

/* ============================================================
   IMAGE ROWS — distributed, never stacked
   ============================================================ */
.inline-image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.inline-image-row.two { grid-template-columns: repeat(2, 1fr); }
.inline-image-row figure {
  margin: 0;
  border: 2px solid var(--ink-900);
  background: var(--surface);
}
.inline-image-row figure img {
  width: 100%; height: 220px; object-fit: cover;
  display: block;
}
.inline-image-row figure figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-soft); background: var(--cream-100);
  border-top: 1px solid var(--border);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  background: var(--ink-900);
  color: var(--cream-100);
  padding: 48px 0 28px;
  border-top: 6px solid var(--wine-700);
}
footer.site .container { padding: 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.foot-grid h4 { color: var(--cream-50); margin-bottom: 14px; font-size: 1rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.foot-grid ul li { margin-bottom: 8px; }
.foot-grid ul li a { color: var(--cream-200); font-size: 14px; }
.foot-grid ul li a:hover { color: var(--cream-400); }
.foot-bottom {
  padding-top: 18px; border-top: 1px solid rgba(245, 220, 224, 0.2);
  font-size: 12px; color: var(--cream-200); font-family: var(--font-mono);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  background: var(--cream-200); color: var(--ink-700);
  border-top: 1px solid var(--border-wine);
  padding: 18px 0; font-size: 13px;
}
.disclaimer .container { display: flex; gap: 16px; align-items: flex-start; }
.disclaimer strong { color: var(--wine-900); font-family: var(--font-mono); }

/* ============================================================
   RESPONSIVE — Mobile breakpoint
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band-head { grid-template-columns: 1fr; gap: 16px; }
  .band-head .band-lead { grid-column: 1; text-align: left; justify-self: stretch; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: flex; }
  .mobile-drawer { display: none; }
  #hero { padding: 32px 0 40px; max-height: 720px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .band { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .inline-image-row, .inline-image-row.two { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .loose-card { padding: 20px 18px; max-height: 600px; overflow: auto; }
  .brand { max-width: 200px; }
  .brand-tag { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .cmp-table { font-size: 13px; }
  .cmp-table thead th, .cmp-table tbody td { padding: 10px 12px; }
}

/* ============================================================
   ACCESSIBILITY / FOCUS
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--cream-400); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* === ENHANCED IMAGE PRESENTATION === */
.section-hero-image {
  position: relative;
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  background: linear-gradient(135deg, var(--wine-700), var(--wine-900));
}
.section-hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.section-hero-image .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.image-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-200);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(90,20,36,0.1);
}
.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(90,20,36,0.18);
}
.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.image-card .img-label {
  padding: 14px 18px;
  background: var(--cream-100);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wine-800);
  font-weight: 600;
}
.image-card .img-desc {
  padding: 0 18px 14px;
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.4;
}

/* Mobile grid */
@media (max-width: 600px) {
  .image-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 24px 0;
  }
  .image-card img {
    height: 180px;
  }
  .section-hero-image img {
    height: 240px;
  }
}


.page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(90,20,36,0.4) 60%, rgba(42,10,18,0.85) 100%);
}
.page-hero-overlay .container {
  padding: 0 24px;
}
.page-hero-eyebrow {
  display: inline-block;
  color: var(--cream-300);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  background: rgba(0,0,0,0.3);
  padding: 4px 12px;
  border-radius: 4px;
}
.page-hero-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

@media (max-width: 700px) {
  .page-hero-banner {
    height: 200px;
    margin-bottom: 24px;
  }
  .page-hero-title {
    font-size: 32px;
  }
  .page-hero-overlay {
    padding-bottom: 24px;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .page-hero-banner {
    height: 260px;
  }
  .page-hero-title {
    font-size: 40px;
  }
}


/* === CONTENT IMAGE CARDS === */
.content-image-card {
  margin: 40px auto;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  background: var(--cream-100);
  border: 1px solid rgba(90,20,36,0.08);
}
.content-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.content-image-caption {
  padding: 16px 24px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-700);
  text-align: center;
  margin: 0;
  background: var(--cream-50);
  border-top: 1px solid rgba(90,20,36,0.1);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .content-image-card {
    margin: 24px auto;
  }
  .content-image-card img {
    height: 240px;
  }
  .content-image-caption {
    padding: 12px 16px;
    font-size: 13px;
  }
}


/* === FIX TEXT INDENTATION === */
.band > .band-header,
.band > .prose,
.band > .section-hero-image,
.band > .image-gallery,
.band > .content-image-card {
  max-width: var(--container, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.band > .image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-left: 24px;
  padding-right: 24px;
}
.band > .content-image-card {
  display: block;
  margin-bottom: 40px;
  margin-top: 40px;
}
.band > .band-header {
  margin-bottom: 24px;
}


/* === CONTENT HERO IMAGE (full-width with overlay) === */
.content-hero-image {
  position: relative;
  margin: 48px auto;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
  background: var(--cream-100);
}
.content-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.content-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  background: linear-gradient(0deg, rgba(90,20,36,0.92) 0%, rgba(90,20,36,0.4) 70%, transparent 100%);
  color: #fff;
}
.content-hero-label {
  display: inline-block;
  background: var(--cream-300);
  color: var(--wine-900);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.content-hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* === CONTENT 2-COLUMN (image + text side by side) === */
.content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin: 48px auto;
  max-width: 100%;
  background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-50) 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(90,20,36,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.content-2col-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.content-2col-caption {
  padding: 24px 28px;
}
.content-2col-caption p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  font-weight: 500;
}

/* === CONTENT INLINE IMAGE CARD === */
.content-image-card {
  margin: 40px auto;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  background: var(--cream-100);
  border: 1px solid rgba(90,20,36,0.08);
}
.content-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.content-image-caption {
  padding: 16px 24px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-700);
  text-align: center;
  margin: 0;
  background: var(--cream-50);
  border-top: 1px solid rgba(90,20,36,0.1);
  line-height: 1.5;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 700px) {
  .content-hero-image { margin: 24px auto; }
  .content-hero-image img { height: 240px; }
  .content-hero-overlay { padding: 16px 20px; }
  .content-hero-title { font-size: 20px; }
  .content-2col { grid-template-columns: 1fr; gap: 0; margin: 24px auto; }
  .content-2col-image img { height: 200px; }
  .content-2col-caption { padding: 16px 20px; }
  .content-image-card { margin: 24px auto; }
  .content-image-card img { height: 220px; }
  .content-image-caption { padding: 12px 16px; font-size: 13px; }
}
