/* Instinct — hub + issue (extracted from the prototypes) */
/* Instinct is the cream world (its .cat__dot defaults to black via shared.css).
     Category tokens (--pillar-* / .p-*), .cat/.cat__dot and .reveal live in shared.css. */

  /* ── masthead ─────────────────────────────────────────────────────────── */
  .masthead { padding: 56px 0 0; }
  .masthead__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
  .masthead__word {
    font-family: var(--font-wordmark); text-transform: uppercase; font-weight: 900; margin: 0;
    font-size: clamp(48px, 10vw, 132px); line-height: 0.92; letter-spacing: -0.012em;
  }
  .masthead__word .dot { color: #0a0a0a; }   /* black dot — cream world */
  .masthead__meta { display: flex; align-items: flex-start; gap: 36px; padding-top: 12px; flex: none; }
  .masthead__sub { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; max-width: 24ch; text-align: right; }
  .masthead__sub .serif-it { color: var(--ink); }
  .masthead__count { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; }
  .masthead__count b { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
  @media (max-width: 820px){
    .masthead__top { flex-direction: column; gap: 20px; }
    .masthead__meta { flex-direction: column; gap: 14px; align-items: flex-start; }
    .masthead__sub { text-align: left; }
  }

  .dotrule { border-top: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); margin-top: 34px; }

  /* ── latest issue (the lead — magazine-cover photo + number) ──────────── */
  .latest { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; padding: 56px 0 0; }
  @media (max-width: 900px){ .latest { grid-template-columns: 1fr; gap: 28px; } }
  .latest__fig { position: relative; margin: 0; }
  .latest__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3);
    border-radius: 0 0 0 56px;   /* signature corner */ }
  .latest__media img { transition: transform .5s cubic-bezier(.16,1,.3,1); }
  .latest__media:hover img { transform: scale(1.04); }
  @media (max-width: 900px){ .latest__media { border-radius: 0 0 0 40px; } }
  .latest__media img { width: 100%; height: 100%; object-fit: cover; }
  .latest__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.12) 42%, transparent 70%); }
  .latest__num {
    position: absolute; left: 24px; bottom: 16px; z-index: 2;
    font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
    font-size: clamp(64px, 9vw, 128px); line-height: 0.78; letter-spacing: -0.01em; color: #fcfcfc;
  }
  .latest__num small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; color: rgba(255,255,255,0.82); margin-bottom: 8px; }
  .latest__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(32px,4.2vw,56px); line-height: 0.92; letter-spacing: 0.004em; margin: 0; }
  .latest__title a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
  .latest__title a:hover { color: var(--esc-y-pressed); }
  .latest__sf { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin: 20px 0 0; max-width: 48ch; }
  .latest__sf .serif-it { color: var(--ink); }
  .latest__by { margin: 18px 0 26px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

  /* ── subscribe band ───────────────────────────────────────────────────── */
  .sub { background: #0a0a0a; color: #fcfcfc; margin-top: 96px; }
  .sub__inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 820px){ .sub__inner { grid-template-columns: 1fr; gap: 28px; } }
  .sub .eyebrow { color: var(--esc-y); }
  .sub h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(34px,5vw,60px); line-height: 0.9; margin: 14px 0 0; }
  .sub h3 .dot { color: var(--esc-y); }   /* back in the dark world here — yellow dot is correct */
  .sub p { color: #a6a29b; font-size: 17px; margin: 16px 0 0; max-width: 42ch; }
  .sub__form { display: flex; gap: 10px; flex-wrap: wrap; }
  .sub__form input { flex: 1; min-width: 220px; background: #131313; border: 1px solid #262626; color: #fcfcfc;
    font-family: var(--font-body); font-size: 15px; padding: 16px 18px; border-radius: 999px; }
  .sub__form input::placeholder { color: #6b6460; }
  .sub__form input:focus-visible { outline: 2px solid var(--esc-y); outline-offset: 2px; border-color: var(--esc-y); }
  .sub__note { color: #6b6460; font-size: 12px; margin: 14px 0 0; }

  /* ── numbered archive ─────────────────────────────────────────────────── */
  .sec { margin-top: 96px; }
  .sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .sec__head h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(28px,3.4vw,44px); line-height: 1; margin: 8px 0 0; }
  .sec__head .note { color: var(--ink-mute); font-size: 13px; max-width: 36ch; }

  .arc { margin-top: 26px; border-top: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); }
  .arow { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 28px;
    text-decoration: none; color: var(--ink); padding: 26px 8px;
    border-bottom: 1px dotted color-mix(in srgb, var(--ink) 26%, transparent); transition: background .15s ease, padding-left .2s ease; }
  .arow:hover { background: var(--paper-2); padding-left: 18px; }
  .arow__num { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(28px,4vw,46px); line-height: 0.9; color: var(--ink-mute); transition: color .15s ease; min-width: 2.4ch; }
  .arow:hover .arow__num { color: var(--ink); }
  .arow__main { min-width: 0; }
  .arow__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(22px,2.6vw,32px); line-height: 0.98; letter-spacing: 0.004em; margin: 0; }
  .arow__sf { color: var(--ink-soft); font-size: 14px; line-height: 1.5; margin: 7px 0 0; max-width: 60ch; }
  .arow__date { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
  @media (max-width: 700px){ .arow { grid-template-columns: auto 1fr; } .arow__date { display: none; } }

  /* .reveal + @keyframes rise live in shared.css */

/* Instinct issue — the cream reading room. Warmer body, margin notes,
     ISSUE number as a design element, sign-off, subscribe + prev/next. */

  /* ── issue header ─────────────────────────────────────────────────────── */
  .ihead { padding: 56px 0 0; }
  .ihead__inner { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 32px; }
  .ihead__kicker { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .ihead__iss { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(40px,7vw,84px); line-height: 0.8; letter-spacing: -0.01em; color: var(--ink); }
  .ihead__iss small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; color: var(--ink-mute); margin-bottom: 6px; }
  .ihead__date { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
  .ihead__title {
    font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
    font-size: clamp(40px, 6.4vw, 84px); line-height: 0.9; letter-spacing: 0.004em; margin: 26px 0 0;
  }
  .ihead__by { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }
  .ihead__by .name { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
  .ihead__by .readtime { margin: 0; }
  .ihead__rule { width: 100%; max-width: 760px; margin: 36px auto 0; padding: 0 32px; }
  .ihead__rule div { border-top: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); }

  /* ── issue hero image ─────────────────────────────────────────────────── */
  .ihero { width: 100%; max-width: 940px; margin: 40px auto 0; padding: 0 32px; }
  .ihero__media { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3);
    border-radius: 0 0 0 56px;   /* signature corner */ }
  @media (max-width: 700px){ .ihero__media { aspect-ratio: 4 / 3; border-radius: 0 0 0 36px; } }
  .ihero__media img { width: 100%; height: 100%; object-fit: cover; }
  .ihero__cap { font-size: 12px; color: var(--ink-mute); margin: 12px 0 0; letter-spacing: 0.02em; }

  /* ── issue body (reading column, warmer + roomier than the Journal) ───── */
  .ibody { width: 100%; max-width: 680px; margin: 0 auto; padding: 44px 32px 0; }
  .ibody > * { margin: 0 0 26px; }
  .ibody > p { font-size: 20px; line-height: 1.75; color: var(--ink); }
  .ibody > p:first-of-type::first-letter {
    font-family: var(--font-display); float: left; font-size: 86px; line-height: 0.72;
    padding: 6px 14px 0 0; color: var(--ink);
  }
  .ibody > p > strong { font-weight: 700; }
  .ibody h2 {
    font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
    font-size: clamp(26px, 3.2vw, 38px); line-height: 1; letter-spacing: 0.004em; color: var(--ink); margin: 48px 0 20px;
  }
  .ibody a.inline { color: var(--ink); border-bottom: 1.5px solid var(--esc-y); text-decoration: none; transition: background .14s ease; }
  .ibody a.inline:hover { background: var(--esc-y); }

  /* margin note — Instinct's signature aside, in Playfair */
  .note-aside { position: relative; border-left: 2px solid var(--esc-y); padding: 4px 0 4px 22px; margin: 36px 0; }
  .note-aside p { font-family: var(--font-quote); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--ink); margin: 0; }
  .note-aside small { display: block; font-family: var(--font-body); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-top: 10px; }

  /* ── sign-off ─────────────────────────────────────────────────────────── */
  .signoff { width: 100%; max-width: 680px; margin: 48px auto 0; padding: 0 32px; }
  .signoff__inner { border-top: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); padding-top: 32px; }
  .signoff p { font-size: 20px; line-height: 1.7; color: var(--ink); margin: 0 0 4px; }
  .signoff .sig { font-family: var(--font-quote); font-style: italic; font-size: 34px; color: var(--ink); margin: 8px 0 0; }
  .signoff .role { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin: 6px 0 0; }

  /* ── subscribe (dark band, yellow dot returns) ────────────────────────── */
  .sub { background: #0a0a0a; color: #fcfcfc; margin-top: 80px; }
  .sub__inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 820px){ .sub__inner { grid-template-columns: 1fr; gap: 28px; } }
  .sub .eyebrow { color: var(--esc-y); }
  .sub h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(34px,5vw,60px); line-height: 0.9; margin: 14px 0 0; }
  .sub h3 .dot { color: var(--esc-y); }
  .sub p { color: #a6a29b; font-size: 17px; margin: 16px 0 0; max-width: 42ch; }
  .sub__form { display: flex; gap: 10px; flex-wrap: wrap; }
  .sub__form input { flex: 1; min-width: 220px; background: #131313; border: 1px solid #262626; color: #fcfcfc;
    font-family: var(--font-body); font-size: 15px; padding: 16px 18px; border-radius: 999px; }
  .sub__form input::placeholder { color: #6b6460; }
  .sub__form input:focus-visible { outline: 2px solid var(--esc-y); outline-offset: 2px; border-color: var(--esc-y); }
  .sub__note { color: #6b6460; font-size: 12px; margin: 14px 0 0; }

  /* ── prev / next ──────────────────────────────────────────────────────── */
  .pn { width: 100%; max-width: 900px; margin: 0 auto; padding: 56px 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  @media (max-width: 640px){ .pn { grid-template-columns: 1fr; } }
  .pn a { display: block; text-decoration: none; color: var(--ink); background: transparent;
    border-top: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); padding: 26px 24px 0; }
  .pn a + a { border-left: 1px dotted color-mix(in srgb, var(--ink) 24%, transparent); }
  @media (max-width: 640px){ .pn a + a { border-left: 0; } }
  .pn .lab { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); transition: color .15s ease; }
  .pn .t { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 22px; line-height: 0.98; margin: 10px 0 0; transition: color .15s ease; }
  .pn a:hover .t { color: var(--esc-y-pressed); }
  .pn .next { text-align: right; }

  /* .reveal + @keyframes rise live in shared.css */
