/* ========================================================================
   FALAFEL IN HOTPOT — Modern Heritage Landing
   Architecture: CulturalChronicleHeroGrid · EditorialScrollBands
                · InkWashNarrativeZigzag · LayeredCulturalCanvas
   Rotating ink-wash bg · Brush mask overlays · shadcn components
   ======================================================================== */

/* ─── Tokens ─── */
:root {
  --brand-parchment: #fbf7ed;
  --brand-clay: #eddcc6;
  --brand-surface: #fdf9f1;
  --brand-fg: #1c1c1c;
  --brand-fg-2: #3a3535;
  --brand-accent: #c0392b;
  --brand-gold: #c39a3c;
  --brand-dark: #261b1c;

  --bg-dark: hsl(0, 0%, 10%);
  --bg-form: hsl(0, 0%, 15%);
  --bg-parchment: var(--brand-parchment);
  --bg-canvas: hsl(40, 22%, 98%);
  --text-primary: hsl(0, 0%, 98%);
  --text-secondary: hsl(0, 0%, 70%);
  --text-ink: hsl(20, 10%, 15%);
  --border-ink: hsla(20, 10%, 20%, 0.3);
  --border-subtle: rgba(28, 28, 28, 0.08);

  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
  --font-chinese: 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow: cubic-bezier(0.42, 0, 0.38, 1);
  --container: 1200px;
  --nav-height: 60px;

  /* Global vertical rhythm */
  --section-y: 5rem;
  --section-y-tight: 3rem;
  --section-y-loose: 6rem;
  --container-x: 24px;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-ink);
  background: var(--bg-parchment);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}
input {
  font: inherit;
  outline: none;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-x);
}

/* ─── Parchment grain overlay ─── */
.parchment-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: soft-light;
  opacity: 0.5;
}
.parchment-overlay svg {
  width: 100%;
  height: 100%;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
/* Beige at top, fades to transparent toward body */
/* Solid beige covers the nav height (60px), then fades out */
.nav--dark {
  background: linear-gradient(
    180deg,
    rgba(251, 247, 237, 1) 0%,
    rgba(251, 247, 237, 1) 40px,
    rgba(251, 247, 237, 0.85) 55px,
    rgba(251, 247, 237, 0) 75px
  );
}
.nav--light {
  background: rgba(251, 247, 237, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav--scrolled {
  box-shadow: 0 1px 0 var(--border-subtle);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-x);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-accent);
  letter-spacing: -0.01em;
}
.nav__logo img {
  height: 34px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-fg-2);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-accent);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover {
  color: var(--brand-accent);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--brand-accent);
  color: var(--brand-parchment);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition:
    background 0.25s var(--ease),
    transform 0.2s var(--ease);
}
.nav__cta:hover {
  background: #a83226;
  transform: translateY(-1px);
}

/* ─── Hamburger ─── */
.nav__toggle {
  display: none;
  width: 26px;
  height: 18px;
  position: relative;
  cursor: pointer;
  z-index: 102;
  background: none;
  border: none;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-fg);
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease);
  border-radius: 0;
}
.nav__toggle span:nth-child(1) {
  top: 0;
}
.nav__toggle span:nth-child(2) {
  top: 8px;
  width: 70%;
}
.nav__toggle span:nth-child(3) {
  top: 16px;
}
.nav__toggle.open span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
  background: var(--brand-accent);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(8px);
}
.nav__toggle.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
  background: var(--brand-accent);
}

/* ─── Mobile Drawer ─── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(28, 28, 28, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  z-index: 101;
  background: var(--bg-parchment);
  border-left: 1px solid var(--border-subtle);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
}
.drawer.open {
  transform: translateX(0);
}
.drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.drawer__links a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-fg);
  transition: color 0.2s var(--ease);
}
.drawer__links a:hover {
  color: var(--brand-accent);
}
.drawer__cta {
  margin-top: 32px;
  padding: 14px 24px;
  background: var(--brand-accent);
  color: var(--bg-parchment);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 0;
  transition: background 0.25s var(--ease);
}
.drawer__cta:hover {
  background: #a83226;
}
.drawer__social {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}
.drawer__social p {
  font-size: 12px;
  color: var(--brand-fg-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════
   HERO — Photo + parchment multiply + legibility scrim
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--brand-dark);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(251, 247, 237, 0.38);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__slide {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  animation: heroCycle 15s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

@keyframes heroCycle {
  0% {
    opacity: 0;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  5% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  26% {
    opacity: 1;
    transform: scale(1.05) translateY(-6px);
    filter: blur(0.3px);
  }
  33% {
    opacity: 0;
    transform: scale(1.09) translateY(-12px);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: scale(1.09) translateY(-12px);
    filter: blur(2px);
  }
}
@media (prefers-reduced-motion) {
  .hero__slide {
    animation: none;
  }
}
.hero__slide:nth-child(1) {
  background-image: url('/open-design/assets/mpvzznit-put_some_arab_merchants_in_202606020507.jpeg');
  animation-delay: 0s;
}
.hero__slide:nth-child(2) {
  background-image: url('/open-design/assets/mpw0485u-___style____woodblock_print_on_202606020510.jpeg');
  animation-delay: 5s;
}
.hero__slide:nth-child(3) {
  background-image: url('/open-design/assets/mpw0486u-people_faces_are_copy_pasted_202606020509.jpeg');
  animation-delay: 10s;
}

.hero__geo {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: repeating-conic-gradient(
    from 0deg at 50% 45%,
    transparent 0deg,
    rgba(28, 28, 28, 0.4) 15deg,
    transparent 30deg,
    rgba(195, 154, 60, 0.35) 45deg,
    transparent 60deg
  );
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 42%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 42%, #000 25%, transparent 72%);
}

.hero__content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--container-x) 60px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

/* Left column — headline + CTAs (no gradient behind) */
.hero__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__label {
  display: inline-block;
  font-family: var(--font-arabic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 4px;
}
.hero__label::before {
  content: '';
  width: 2px;
  height: 12px;
  background: #c39a3c;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.7;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-shadow: 0 2px 24px rgba(38, 27, 28, 0.4);
}
.hero__headline em {
  color: var(--brand-accent);
  font-style: italic;
}
.hero__sub {
  font-size: clamp(16px, 1.2vw, 19px);
  color: rgba(251, 247, 237, 0.92);
  max-width: 48ch;
  line-height: 1.7;
  font-family: var(--font-body);
  text-shadow: 0 1px 12px rgba(38, 27, 28, 0.35);
}
.hero__sub .cn {
  font-family: var(--font-chinese);
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__cta--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--brand-accent);
  color: var(--brand-parchment);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    transform 0.2s var(--ease);
}
.hero__cta--primary:hover {
  background: #a83226;
  transform: translateY(-1px);
}
.hero__cta--secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: rgba(251, 247, 237, 0.9);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(251, 247, 237, 0.35);
  border-radius: 0;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.hero__cta--secondary:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

/* Right column — newsletter signup form */
.hero__right {
  display: flex;
  justify-content: flex-end;
}
.hero__form-card {
  background: var(--brand-surface);
  border: 1px solid var(--border-ink);
  padding: 32px;
  max-width: 380px;
  width: 100%;
}
.hero__form-label {
  font-family: var(--font-arabic);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-fg-2);
  margin-bottom: 4px;
}
.hero__form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-fg);
  line-height: 1.25;
  margin-bottom: 12px;
}
.hero__form-desc {
  font-size: 13px;
  color: var(--brand-fg-2);
  line-height: 1.5;
  margin-bottom: 20px;
}
.hero__form-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--brand-fg);
  background: var(--brand-parchment);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.hero__form-input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.12);
}
.hero__form-input::placeholder {
  color: var(--brand-fg-2);
  opacity: 0.5;
}
.hero__form-submit {
  width: 100%;
  padding: 12px 20px;
  background: var(--brand-accent);
  color: var(--brand-parchment);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.hero__form-submit:hover {
  background: #a83226;
}
.hero__form-note {
  font-size: 11px;
  color: var(--brand-fg-2);
  margin-top: 12px;
  opacity: 0.6;
  line-height: 1.4;
}

/* ─── Past Issues Section ─── */
.past-issues {
  padding: var(--section-y) 0;
}
.issues__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.issues__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  background: var(--brand-surface);
  color: var(--brand-fg);
  text-decoration: none;
}
.issues__card:hover {
  background: var(--brand-clay);
}
.issues__card .thumb {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  background: var(--brand-clay);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.issues__card .thumb .placeholder-icon {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-fg-2);
  opacity: 0.3;
}
.issues__card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.issues__card .num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 4px;
}
.issues__card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-fg);
  line-height: 1.3;
}
.issues__card p {
  font-size: 13px;
  color: var(--brand-fg-2);
  margin-top: 4px;
}
.issues__card--hidden-mobile {
  display: block;
}

/* ─── Sections ─── */
.section {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}
.section--dark {
  background: var(--brand-dark);
  color: var(--text-primary);
}
.section--clay {
  background: var(--brand-clay);
}
.section--parchment {
  background: var(--bg-parchment);
}
.section--canvas {
  background: var(--bg-canvas);
}
.section--flush {
  padding-bottom: 0;
}
.section--hero {
  padding: 0;
}

/* ─── Ink divider ─── */
.ink-divider {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-parchment);
}
.ink-divider--dark {
  background: var(--brand-dark);
}
.ink-divider--clay {
  background: var(--brand-clay);
}
.ink-divider--canvas {
  background: var(--bg-canvas);
}
.ink-divider svg {
  width: clamp(120px, 22vw, 300px);
  height: 28px;
  overflow: visible;
}

/* ─── Labels ─── */
.label {
  display: inline-block;
  font-family: var(--font-arabic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.label::before {
  content: '';
  width: 2px;
  height: 12px;
  background: #c39a3c;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.7;
}
.section--dark .label {
  color: var(--brand-gold);
}

/* ─── Headlines ─── */
h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin-bottom: 20px;
}
.section--dark h2 {
  color: var(--text-primary);
}

/* ─── Body text ─── */
.body-text {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.7;
  color: var(--brand-fg-2);
  max-width: 65ch;
}
.section--dark .body-text {
  color: rgba(251, 247, 237, 0.75);
}

/* ─── Seal ─── */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--brand-accent);
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(-6deg);
  opacity: 0.85;
  flex-shrink: 0;
}
.seal--gold {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}
.seal--light {
  border-color: rgba(251, 247, 237, 0.6);
  color: rgba(251, 247, 237, 0.7);
}

/* shadcn-style Card */
.card {
  background: var(--brand-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 28px;
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.card:hover {
  box-shadow: 0 4px 20px rgba(28, 28, 28, 0.06);
  transform: translateY(-2px);
}
.card__header {
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-fg);
  line-height: 1.3;
}
.card__description {
  font-size: 14px;
  color: var(--brand-fg-2);
  margin-top: 4px;
  line-height: 1.5;
}
.card__content {
  font-size: 15px;
  color: var(--brand-fg-2);
  line-height: 1.6;
}
.card__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* shadcn-style Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
.btn--primary {
  background: var(--brand-accent);
  color: var(--brand-parchment);
}
.btn--primary:hover {
  background: #a83226;
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--brand-fg);
  border: 1px solid var(--border-ink);
}
.btn--secondary:hover {
  background: rgba(28, 28, 28, 0.04);
}
.btn--dark {
  background: var(--bg-parchment);
  color: var(--brand-dark);
}
.btn--dark:hover {
  background: #ede4d0;
}
.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* shadcn-style Input */
.input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--brand-fg);
  background: var(--brand-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.12);
}
.input::placeholder {
  color: var(--brand-fg-2);
  opacity: 0.5;
}
.input-group {
  display: flex;
  gap: 0;
}
.input-group .input {
  flex: 1;
}
.input-group .btn {
  flex-shrink: 0;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

/* ════════════════════════════════════════════
   SECTION 1 — EditorialScrollBands
   ════════════════════════════════════════════ */
.scroll-bands {
  padding: var(--section-y-loose) 0;
}
.band-1 {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  margin-bottom: var(--section-y);
}
.band-1 .calligraphy-block {
  position: relative;
  min-height: 320px;
  border: 2px dashed var(--border-ink);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--brand-surface);
  overflow: visible;
}
.band-1 .calligraphy-block .large-char {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 700;
  color: var(--brand-fg);
  opacity: 0.12;
  line-height: 1;
  letter-spacing: -0.04em;
}
.band-1 .calligraphy-block .vertical-label {
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-chinese);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brand-fg-2);
}
.band-1 .calligraphy-block .seal-abs {
  position: absolute;
  bottom: -20px;
  right: -20px;
}
.band-1 .text-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.band-1 .text-block p {
  margin-bottom: 16px;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--brand-fg-2);
}

.band-2 {
  margin-bottom: var(--section-y);
}
.band-2 .ribbon {
  display: flex;
  overflow: hidden;
  border-top: 3px solid var(--text-ink);
  border-bottom: 3px solid var(--text-ink);
}
.band-2 .ribbon-item {
  flex: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  background: var(--brand-surface);
  transition: background 0.3s var(--ease);
}
.band-2 .ribbon-item:hover {
  background: var(--brand-clay);
}
.band-2 .ribbon-item + .ribbon-item {
  border-left: 1px solid var(--border-ink);
}
.band-2 .ribbon-item .icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--brand-accent);
  font-family: var(--font-chinese);
}
.band-2 .ribbon-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-fg);
  margin-bottom: 4px;
}
.band-2 .ribbon-item p {
  font-size: 12px;
  color: var(--brand-fg-2);
  line-height: 1.4;
}

.band-3 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.band-3 .tile {
  background: var(--brand-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 24px;
  min-height: 200px;
  transition: box-shadow 0.3s var(--ease);
}
.band-3 .tile:hover {
  box-shadow: 0 4px 16px rgba(28, 28, 28, 0.06);
}
.band-3 .tile--tall {
  grid-column: span 4;
  grid-row: span 2;
}
.band-3 .tile--med {
  grid-column: span 5;
}
.band-3 .tile--sm {
  grid-column: span 3;
}
.band-3 .tile--wide {
  grid-column: span 8;
}
.band-3 .tile .tile-icon {
  font-size: 36px;
  margin-bottom: 12px;
  font-family: var(--font-chinese);
  color: var(--brand-accent);
}
.band-3 .tile h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-fg);
  margin-bottom: 4px;
}
.band-3 .tile p {
  font-size: 13px;
  color: var(--brand-fg-2);
  line-height: 1.5;
}
.band-3 .tile .count {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-accent);
  margin-top: auto;
  line-height: 1;
}

/* ════════════════════════════════════════════
   SECTION 2 — InkWashNarrativeZigzag
   ════════════════════════════════════════════ */
.zigzag {
  padding: var(--section-y-loose) 0;
}
.zigzag__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 5rem;
  align-items: center;
}
.zigzag__row:last-child {
  margin-bottom: 0;
}
.zigzag__row--reversed {
  direction: rtl;
}
.zigzag__row--reversed > * {
  direction: ltr;
}
.zigzag__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.zigzag__image-wrap .masked-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url('/open-design/assets/mpvzpfz1-___asset_id____mask_brush_secondary____type____alpha_mask___202606020458_1_.jpeg');
  mask-image: url('/open-design/assets/mpvzpfz1-___asset_id____mask_brush_secondary____type____alpha_mask___202606020458_1_.jpeg');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center;
  mask-position: center;
}
.zigzag__image-wrap .masked-img--alt {
  -webkit-mask-image: url('/open-design/assets/mpvzpg0d-___asset_id____mask_brush_secondary____type____alpha_mask___202606020458.jpeg');
  mask-image: url('/open-design/assets/mpvzpg0d-___asset_id____mask_brush_secondary____type____alpha_mask___202606020458.jpeg');
}
.zigzag__image-wrap .floating-seal {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
}
.zigzag__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zigzag__text h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  color: var(--brand-fg);
  line-height: 1.2;
}
.zigzag__text p {
  font-size: 15px;
  color: var(--brand-fg-2);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   SECTION 3 — LayeredCulturalCanvas
   ════════════════════════════════════════════ */
.canvas-wrap {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.canvas-wrap .bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(192, 57, 43, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(195, 154, 60, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, hsl(0, 0%, 10%) 0%, hsl(0, 0%, 8%) 100%);
}
.canvas-wrap .geo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.canvas-wrap .geo-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(255, 255, 255, 0.025) 15deg,
    transparent 30deg,
    rgba(195, 154, 60, 0.015) 45deg,
    transparent 60deg
  );
}
.canvas-wrap .center-panel {
  position: relative;
  z-index: 5;
  width: min(90%, 700px);
  background: var(--brand-surface);
  padding: 48px 56px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-radius: 0;
}
.canvas-wrap .center-panel h2 {
  color: var(--text-ink);
  font-size: clamp(28px, 3.5vw, 44px);
}
.canvas-wrap .center-panel p {
  color: var(--brand-fg-2);
  margin-bottom: 20px;
}
.canvas-wrap .foreground-overlay {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: 0.08;
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.canvas-wrap .foreground-overlay--tr {
  top: 24px;
  right: -20px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--brand-gold);
}
.canvas-wrap .foreground-overlay--ml {
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  color: var(--brand-accent);
}

/* ════════════════════════════════════════════
   SECTION 4 — Subscribe
   ════════════════════════════════════════════ */
.subscribe {
  padding: var(--section-y) 0;
}
.subscribe__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.subscribe__inner .label {
  color: var(--brand-gold);
}
.subscribe__inner h2 {
  color: var(--text-primary);
}
.subscribe__inner p {
  color: rgba(251, 247, 237, 0.7);
  margin-bottom: 32px;
}
.subscribe__form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.subscribe__form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  background: var(--bg-form);
  border: 1px solid rgba(251, 247, 237, 0.12);
  color: var(--text-primary);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.subscribe__form input:focus {
  border-color: var(--brand-accent);
}
.subscribe__form input::placeholder {
  color: rgba(251, 247, 237, 0.35);
}
.subscribe__form button {
  padding: 14px 28px;
  background: var(--brand-accent);
  color: var(--brand-parchment);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.subscribe__form button:hover {
  background: #a83226;
}
.subscribe__note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(251, 247, 237, 0.4);
}

/* ════════════════════════════════════════════
   SECTION 5 — Footer
   ════════════════════════════════════════════ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(251, 247, 237, 0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer__brand h3 img {
  height: 36px;
  width: auto;
  display: inline;
  vertical-align: middle;
}
.footer__brand p {
  font-size: 14px;
  color: rgba(251, 247, 237, 0.5);
  max-width: 30ch;
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
}
.footer__col li {
  margin-bottom: 10px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(251, 247, 237, 0.6);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover {
  color: var(--brand-accent);
}
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 247, 237, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p {
  font-size: 12px;
  color: rgba(251, 247, 237, 0.35);
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 100px;
    padding-bottom: 32px;
  }
  .hero__right {
    justify-content: stretch;
  }
  .hero__form-card {
    max-width: 100%;
  }
  .band-1 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .band-3 {
    grid-template-columns: 1fr 1fr;
  }
  .band-3 .tile--tall {
    grid-column: span 2;
  }
  .band-3 .tile--med {
    grid-column: span 2;
  }
  .band-3 .tile--sm {
    grid-column: span 2;
  }
  .band-3 .tile--wide {
    grid-column: span 2;
  }
  .zigzag__row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .zigzag__row--reversed {
    direction: ltr;
  }
  .canvas-wrap .center-panel {
    padding: 32px 24px;
  }
  .canvas-wrap .foreground-overlay {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .subscribe__form {
    flex-direction: column;
  }
  /* Past issues grid — 3 columns on tablet */
  .issues__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }

  /* Hero mobile — headline on top, form below (natural DOM order) */
  .hero__content {
    padding-top: 85px;
    padding-bottom: 20px;
  }
  .hero__left {
    gap: 20px;
  }
  .hero__headline {
    font-size: clamp(28px, 8vw, 40px);
  }
  .hero__sub {
    font-size: 15px;
    max-width: 100%;
  }
  .hero__ctas {
    flex-direction: column;
    gap: 12px;
  }
  .hero__cta--primary,
  .hero__cta--secondary {
    width: 100%;
    justify-content: center;
  }
  .hero__form-card {
    padding: 24px;
  }
  /* Past issues — hide hidden-mobile cards, single column */
  .issues__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .issues__card--hidden-mobile {
    display: none;
  }

  /* Section spacing */
  .section--hero {
    min-height: auto;
  }
  .hero {
    min-height: 100dvh;
  }
  .scroll-bands {
    padding: var(--section-y-tight) 0;
  }
  .band-1 .calligraphy-block {
    min-height: 200px;
  }
  .band-1 .calligraphy-block .large-char {
    font-size: clamp(48px, 15vw, 80px);
  }
  .band-1 .calligraphy-block .vertical-label {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    margin-top: 8px;
  }
  .band-2 .ribbon {
    flex-wrap: wrap;
  }
  .band-2 .ribbon-item {
    flex: 1 1 calc(50% - 1px);
    min-height: 140px;
  }
  .band-3 {
    grid-template-columns: 1fr;
  }
  .band-3 .tile--tall,
  .band-3 .tile--med,
  .band-3 .tile--sm,
  .band-3 .tile--wide {
    grid-column: span 1;
  }

  /* Zigzag mobile */
  .zigzag {
    padding: var(--section-y-tight) 0;
  }
  .zigzag__row {
    gap: 24px;
    margin-bottom: var(--section-y-tight);
  }
  .zigzag__text h3 {
    font-size: clamp(22px, 5vw, 30px);
  }
  .zigzag__image-wrap .floating-seal {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: -8px;
    right: -8px;
  }

  /* Canvas mobile */
  .canvas-wrap {
    min-height: 70vh;
  }
  .canvas-wrap .center-panel {
    padding: 28px 20px;
    width: min(92%, 360px);
  }
  .canvas-wrap .foreground-overlay {
    display: none;
  }

  /* Subscribe mobile */
  .subscribe {
    padding: 3rem 0;
  }
  .subscribe__form {
    flex-direction: column;
    gap: 8px;
  }
  .subscribe__form input,
  .subscribe__form button {
    width: 100%;
  }

  /* Footer mobile */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Ink divider mobile */
  .ink-divider {
    height: 40px;
  }
  .ink-divider svg {
    width: clamp(80px, 30vw, 160px);
    height: 20px;
  }

  /* General — top padding must always clear the fixed nav (--nav-height)
     plus a little breathing room, or content gets cropped underneath it. */
  .section {
    padding: calc(var(--nav-height, 60px) + 1rem) 0 3rem;
  }
  h2 {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 16px;
  }
  .body-text {
    font-size: 15px;
  }
  .card {
    padding: 20px;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }
}
@media (max-width: 480px) {
  .nav__inner {
    padding: 0 12px;
  }
  .hero__content {
    padding-top: 75px;
    padding-bottom: 16px;
  }
  .hero__headline {
    font-size: clamp(24px, 7vw, 32px);
  }
  .hero__sub {
    font-size: 14px;
  }
  .hero__cta--primary,
  .hero__cta--secondary {
    padding: 12px 20px;
    font-size: 14px;
  }
  .hero__form-card {
    padding: 20px;
  }
  .hero__form-title {
    font-size: 18px;
  }
  .band-1 .calligraphy-block {
    padding: 20px;
    min-height: 160px;
  }
  .band-1 .calligraphy-block .large-char {
    font-size: clamp(40px, 12vw, 64px);
  }
  .band-2 .ribbon-item {
    min-height: 100px;
    padding: 16px 10px;
  }
  .band-2 .ribbon-item h4 {
    font-size: 14px;
  }
  .zigzag__row {
    gap: 16px;
    margin-bottom: 2rem;
  }
  .canvas-wrap {
    min-height: 60vh;
  }
  .canvas-wrap .center-panel {
    padding: 24px 16px;
  }
  h2 {
    font-size: clamp(22px, 6vw, 30px);
  }
  .subscribe__inner h2 {
    font-size: clamp(24px, 7vw, 32px);
  }
  /* Past issues 480px */
  .issues__grid {
    gap: 12px;
  }
  .issues__card {
    padding: 14px 16px;
  }
  .issues__card .thumb {
    height: 80px;
  }
  .issues__card h4 {
    font-size: 14px;
  }
  .issues__card p {
    font-size: 12px;
  }
}
