/* =============================================
   干一干 · Vintage Analog Film Theme
   Brand: #f5e6c8 / #d4a574 / #262117
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;700&display=swap');

/* ── SVG Grain Filter ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23grain)' opacity='0.07'/%3E%3C/svg%3E");
  opacity: 0.5;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Naskh Arabic', 'Noto Sans Arabic', 'Songti SC', 'SimSun', serif;
  background-color: #262117;
  color: #f5e6c8;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ── Grain Overlay (additional) ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g2'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g2)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ── Light Leak ── */
.light-leak {
  position: fixed;
  top: 0;
  right: 0;
  width: 40vw;
  height: 60vh;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(ellipse at top right, rgba(212,165,116,0.12) 0%, transparent 70%);
  animation: lightLeakPulse 8s ease-in-out infinite;
}

@keyframes lightLeakPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ── Top Bar ── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(38,33,23,0.92);
  border-bottom: 1px solid rgba(212,165,116,0.25);
  backdrop-filter: blur(6px);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  background: none;
  border: 1px solid rgba(212,165,116,0.4);
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #d4a574;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #d4a574;
  color: #262117;
  font-family: 'Noto Naskh Arabic', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  color: #d4a574;
  text-decoration: none;
  font-size: 0.88rem;
  border: 1px solid rgba(212,165,116,0.35);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.contact-link:hover {
  background: #d4a574;
  color: #262117;
}

/* ── Side Navigation (Fullscreen Overlay) ── */
.site-aside {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(38,33,23,0.98);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 40px;
}

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

.site-aside nav ul {
  list-style: none;
  text-align: center;
}

.site-aside nav ul li {
  border-bottom: 1px solid rgba(212,165,116,0.15);
}

.site-aside nav ul li:first-child {
  border-top: 1px solid rgba(212,165,116,0.15);
}

.site-aside nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 20px;
  color: #f5e6c8;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
}

.site-aside nav ul li a:hover,
.site-aside nav ul li a[aria-current] {
  color: #d4a574;
  background: rgba(212,165,116,0.06);
}

.aside-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 790;
  background: rgba(38,33,23,0.5);
}

.aside-backdrop.is-visible {
  display: block;
}

/* ── Hero (Home) ── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img,
.section-hero-img,
.story-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.4) contrast(1.1) saturate(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(38,33,23,0.3) 0%,
    rgba(38,33,23,0.55) 50%,
    rgba(38,33,23,0.85) 100%
  );
}

.hero-vhs-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  animation: vhsTrack 6s linear infinite;
}

@keyframes vhsTrack {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 780px;
  animation: fadeInUp 0.9s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge,
.floating-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #d4a574;
  color: #262117;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-h1 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: #f5e6c8;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(38,33,23,0.8);
}

.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(245,230,200,0.82);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #d4a574;
  color: #262117;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: #f5e6c8;
  transform: translateY(-2px);
}

.hero-badges-float {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  flex-wrap: wrap;
  justify-content: center;
}

.float-tag {
  padding: 5px 12px;
  border: 1px solid rgba(212,165,116,0.6);
  color: #d4a574;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  animation: floatBob 3s ease-in-out infinite;
}

.float-tag:nth-child(2) { animation-delay: 0.3s; }
.float-tag:nth-child(3) { animation-delay: 0.6s; }
.float-tag:nth-child(4) { animation-delay: 0.9s; }

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ── Page Article / Content Sections ── */
.page-article {
  width: 100%;
}

.content-section {
  padding: 64px 24px;
}

.content-section:nth-child(even) {
  background: rgba(245,230,200,0.03);
}

.section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #d4a574;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Noto Sans Arabic', sans-serif;
}

.section-heading {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #f5e6c8;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,165,116,0.3);
}

/* ── Story List (dl > dt > a + dd) ── */
.story-list {
  list-style: none;
}

.story-list dt {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(212,165,116,0.15);
  margin-top: 18px;
}

.story-list dt:first-of-type {
  margin-top: 0;
}

.story-list dt a {
  color: #f5e6c8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 2px solid #d4a574;
  transition: color 0.2s;
  flex: 1;
  min-width: 0;
}

.story-list dt a:hover {
  color: #d4a574;
}

.story-list dd {
  color: rgba(245,230,200,0.65);
  font-size: 0.92rem;
  padding-bottom: 4px;
  padding-left: 0;
  line-height: 1.6;
}

.story-date {
  font-size: 0.78rem;
  color: rgba(212,165,116,0.7);
  font-family: 'Noto Sans Arabic', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Channel List (dl for sections/about) ── */
.channel-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.channel-list dt {
  padding: 16px 0 4px;
  border-top: 1px solid rgba(212,165,116,0.2);
  margin-top: 8px;
}

.channel-list dt:first-of-type {
  margin-top: 0;
  border-top: none;
}

.channel-list dt a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f5e6c8;
  text-decoration: none;
  border-bottom: 2px solid #d4a574;
  transition: color 0.2s;
}

.channel-list dt a:hover {
  color: #d4a574;
}

.channel-list dd {
  color: rgba(245,230,200,0.6);
  font-size: 0.9rem;
  padding-bottom: 8px;
}

/* ── Section Hero ── */
.section-hero-wrap {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 56px;
}

.section-hero-media {
  position: absolute;
  inset: 0;
}

.section-hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 32px 24px;
  width: 100%;
  max-width: 760px;
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease both;
}

.section-h1 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #f5e6c8;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(38,33,23,0.9);
}

.section-lead {
  font-size: 1rem;
  color: rgba(245,230,200,0.8);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Sticky Anchor Bar ── */
.sticky-anchor-bar {
  position: sticky;
  top: 56px;
  z-index: 200;
  background: rgba(38,33,23,0.95);
  border-bottom: 1px solid rgba(212,165,116,0.2);
  backdrop-filter: blur(4px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.anchor-bar-inner {
  display: flex;
  gap: 0;
  padding: 0 16px;
  max-width: 860px;
  margin: 0 auto;
}

.anchor-pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  color: rgba(245,230,200,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.anchor-pill:hover {
  color: #d4a574;
  border-bottom-color: #d4a574;
}

/* ── Story Layout ── */
.story-hero-wrap {
  position: relative;
  width: 100%;
  margin-top: 56px;
}

.story-hero-media {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 280px;
  overflow: hidden;
}

.story-hero-placeholder {
  height: 120px;
  background: linear-gradient(to bottom, rgba(38,33,23,0) 0%, rgba(38,33,23,1) 100%);
}

.story-hero-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px;
  text-align: center;
  animation: fadeInUp 0.8s ease both;
}

.story-breadcrumb {
  display: inline-block;
  margin-bottom: 10px;
  color: #d4a574;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid #d4a574;
}

.story-h1 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #f5e6c8;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(38,33,23,0.9);
}

.story-meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.story-date-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(212,165,116,0.15);
  border: 1px solid rgba(212,165,116,0.35);
  color: #d4a574;
  font-size: 0.8rem;
  font-family: 'Noto Sans Arabic', sans-serif;
}

.story-date-mod {
  opacity: 0.75;
}

.story-inner {
  max-width: 740px;
}

.story-lead-text {
  font-size: 1.1rem;
  color: rgba(245,230,200,0.8);
  border-left: 3px solid #d4a574;
  padding-left: 16px;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ── Rich Content (page.content) ── */
.section-inner h2,
.story-inner h2 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f5e6c8;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,165,116,0.25);
}

.section-inner h3,
.story-inner h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #d4a574;
  margin: 28px 0 12px;
}

.section-inner p,
.story-inner p {
  margin-bottom: 20px;
  color: rgba(245,230,200,0.88);
  font-size: 1.02rem;
  line-height: 1.85;
}

.section-inner ul,
.section-inner ol,
.story-inner ul,
.story-inner ol {
  margin: 0 0 20px 24px;
  color: rgba(245,230,200,0.85);
}

.section-inner li,
.story-inner li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.section-inner a,
.story-inner a {
  color: #d4a574;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,165,116,0.4);
  transition: border-color 0.2s, color 0.2s;
}

.section-inner a:hover,
.story-inner a:hover {
  color: #f5e6c8;
  border-bottom-color: #f5e6c8;
}

.section-inner blockquote,
.story-inner blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid #d4a574;
  background: rgba(212,165,116,0.07);
  color: rgba(245,230,200,0.8);
  font-style: italic;
}

/* ── About Page ── */
.about-masthead {
  position: relative;
  min-height: 320px;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 24px;
  background: linear-gradient(135deg, rgba(38,33,23,1) 0%, rgba(60,48,30,1) 100%);
}

.about-masthead-inner {
  position: relative;
  z-index: 2;
}

.about-brand-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 700;
  color: rgba(212,165,116,0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
}

.about-h1 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #f5e6c8;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 1.05rem;
  color: rgba(245,230,200,0.75);
  max-width: 520px;
  margin: 0 auto;
}

.about-inner {
  max-width: 760px;
}

/* ── Privacy Page ── */
.privacy-masthead {
  margin-top: 56px;
  padding: 60px 24px 40px;
  background: linear-gradient(to bottom, rgba(60,48,30,1), rgba(38,33,23,1));
  text-align: center;
}

.privacy-masthead-inner {
  max-width: 700px;
  margin: 0 auto;
}

.privacy-h1 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #f5e6c8;
  margin-bottom: 12px;
}

.privacy-date {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(212,165,116,0.7);
  font-family: 'Noto Sans Arabic', sans-serif;
}

.privacy-intro {
  font-size: 1.05rem;
  color: rgba(245,230,200,0.75);
  margin-bottom: 32px !important;
  padding: 16px;
  border: 1px solid rgba(212,165,116,0.2);
  background: rgba(212,165,116,0.05);
}

.privacy-inner {
  max-width: 740px;
}

/* ── Home Intro / Content ── */
.home-intro .section-inner,
.default-article .section-inner {
  padding-top: 8px;
}

.home-intro {
  padding-top: 72px;
}

.default-h1 {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #f5e6c8;
  margin-bottom: 16px;
  margin-top: 80px;
}

.default-lead {
  color: rgba(245,230,200,0.7);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ── Stagger Animation ── */
@media (prefers-reduced-motion: no-preference) {
  .stagger-list dt {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.5s ease both;
    animation-delay: calc(var(--stagger, 0) * 80ms + 100ms);
  }
  .stagger-list dd {
    opacity: 0;
    animation: fadeInDd 0.5s ease both;
    animation-delay: calc(var(--stagger, 0) * 80ms + 160ms);
  }
  @keyframes fadeInDd {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* ── Footer ── */
.site-footer {
  background: #1a1610;
  border-top: 1px solid rgba(212,165,116,0.2);
  padding: 64px 24px 0;
  margin-top: 0;
}

.footer-brand-block {
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(212,165,116,0.15);
}

.footer-brand-super {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: rgba(212,165,116,0.18);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(245,230,200,0.5);
  max-width: 480px;
  margin: 0 auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 48px 0;
  max-width: 900px;
  margin: 0 auto;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #d4a574;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Noto Sans Arabic', sans-serif;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(245,230,200,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
}

.footer-col ul li a:hover {
  color: #d4a574;
}

.footer-note {
  font-size: 0.82rem;
  color: rgba(245,230,200,0.4);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(212,165,116,0.1);
  font-size: 0.8rem;
  color: rgba(245,230,200,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: rgba(212,165,116,0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #d4a574;
}

.footer-sep {
  opacity: 0.4;
}

/* ── Page top padding (account for fixed top-bar) ── */
.page-home .hero-section { margin-top: 0; padding-top: 56px; }
.page-section .section-hero-wrap { margin-top: 56px; }
.page-story .story-article { margin-top: 0; }

/* ── Scroll Reveal (JS-driven, CSS defines initial state) ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stagger-list dt, .stagger-list dd { opacity: 1; transform: none; animation: none; }
  .light-leak { animation: none; }
  .float-tag { animation: none; }
  .hero-vhs-lines { animation: none; }
  @keyframes lightLeakPulse {}
  @keyframes floatBob {}
  @keyframes vhsTrack {}
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .hero-badges-float {
    bottom: 24px;
  }

  .section-hero-wrap {
    height: 44vh;
  }

  .story-hero-media {
    height: 48vh;
  }

  .content-section {
    padding: 48px 20px;
  }

  .about-masthead {
    min-height: 260px;
    padding: 50px 20px;
  }

  .anchor-bar-inner {
    padding: 0 8px;
  }

  .anchor-pill {
    padding: 0 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 16px; }

  .hero-copy { padding: 0 16px; }

  .top-bar { padding: 0 12px; }

  .contact-link { padding: 0 10px; font-size: 0.82rem; }

  .site-footer { padding: 48px 16px 0; }

  .footer-brand-super { font-size: clamp(2.5rem, 16vw, 5rem); }

  .story-hero-copy { padding: 20px 16px; }

  .story-meta { gap: 8px; }
}

/* ── Ensure images are block ── */
img { display: block; max-width: 100%; height: auto; }

.hero-img,
.section-hero-img,
.story-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
