/* ==========================================================================
   newsletter.css — Off Label archive (/newsletter) and issue pages.
   Loaded after style.css + practice.css. Prefix: ol-
   ========================================================================== */

.ol-page { --ol-gold: #c79a3b; }
.ol-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Signup form ---------- */
.ol-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
.ol-form input {
  flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--pr-line); background: #fff; font: 16px var(--pr-sans); color: var(--pr-ink);
}
.ol-form input:focus { outline: none; border-color: var(--pr-accent); box-shadow: 0 0 0 3px rgba(19,75,89,.12); }
.ol-form button {
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--pr-accent); color: #fff; font: 600 15px var(--pr-sans); white-space: nowrap;
}
.ol-form button:hover { background: var(--pr-accent-2); }
.ol-form button:disabled { opacity: .7; cursor: default; }
.ol-form.is-done input { display: none; }
.ol-msg { flex-basis: 100%; margin: 2px 4px 0; font-size: 14px; min-height: 0; }
.ol-msg.ok { color: var(--pr-accent); font-weight: 600; }
.ol-msg.err { color: #a33a2b; }
.ol-fine { font-size: 13px; color: var(--pr-muted); margin: 10px 4px 0; }

/* ---------- Archive hero ---------- */
.ol-hero { padding: 132px 0 56px; border-bottom: 1px solid var(--pr-line); }
.ol-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.ol-hero-logo { width: 220px; height: auto; display: block; margin-bottom: 26px; }
.ol-hero-title { font-family: var(--pr-serif); font-weight: 500; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -.01em; margin: 0; color: var(--pr-ink); }
.ol-hero-lead { font-size: 17px; line-height: 1.65; max-width: 58ch; margin: 18px 0 0; }
.ol-hero-side { text-align: center; }
.ol-hero-side img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.ol-hero-side p { margin: 14px 0 0; color: var(--pr-muted); font-size: 14px; line-height: 1.5; }
.ol-hero-side strong { color: var(--pr-ink); font-size: 15px; }

/* ---------- Archive grid ---------- */
.ol-archive { padding: 56px 0 24px; }
.ol-archive-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ol-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ol-filter {
  border: 1px solid var(--pr-line); background: #fff; color: var(--pr-ink); border-radius: 999px;
  padding: 8px 14px; font: 500 13px var(--pr-sans); cursor: pointer;
}
.ol-filter:hover { border-color: var(--pr-accent); }
.ol-filter.is-on { background: var(--pr-accent); border-color: var(--pr-accent); color: #fff; }

.ol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ol-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ol-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pr-line); border-radius: 18px;
  padding: 26px 26px 22px; color: var(--pr-ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border-top: 4px solid var(--pr-accent);
}
.ol-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(19,75,89,.10); border-color: var(--pr-accent); }
.ol-card-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pr-muted); font-weight: 600; }
.ol-card-num { color: var(--pr-accent); }
.ol-card h3 { font-family: var(--pr-serif); font-weight: 600; font-size: 27px; line-height: 1.15; margin: 14px 0 10px; }
.ol-card p { font-size: 15px; line-height: 1.55; color: #3d3d38; margin: 0 0 18px; flex: 1; }
.ol-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ol-read { font-size: 13px; font-weight: 600; color: var(--pr-accent); white-space: nowrap; }
.ol-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ol-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: var(--pr-accent-soft); color: var(--pr-accent); border-radius: 999px; padding: 4px 10px; }

/* ---------- Waitlist band ---------- */
.ol-waitlist { padding: 40px 0; }
.ol-waitlist-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--pr-accent); color: #fff; border-radius: 22px; padding: 40px 44px;
}
.ol-waitlist-card .pr-eyebrow { color: #efefc4; }
.ol-waitlist-card .pr-h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); max-width: 22ch; }
.ol-waitlist-card p { color: rgba(255,255,255,.88); max-width: 56ch; margin: 12px 0 0; line-height: 1.6; }
.ol-waitlist-card .pr-btn-solid { background: #efefc4; color: var(--pr-accent); }
.ol-waitlist-card .pr-btn-solid:hover { background: #fff; }

/* ---------- Issue page ---------- */
.ol-article { max-width: 720px; margin: 0 auto; padding: 128px 24px 24px; }
.ol-back { display: inline-block; font-size: 14px; color: var(--pr-muted); text-decoration: none; margin-bottom: 26px; }
.ol-back:hover { color: var(--pr-accent); }
.ol-title { font-family: var(--pr-serif); font-weight: 500; font-size: clamp(36px, 6vw, 54px); line-height: 1.06; letter-spacing: -.01em; margin: 0; color: var(--pr-ink); }
.ol-dek { font-size: 19px; line-height: 1.55; color: #3d3d38; margin: 16px 0 0; }
.ol-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--pr-line); border-bottom: 1px solid var(--pr-line); }
.ol-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ol-byline strong { display: block; font-size: 15px; }
.ol-byline span { font-size: 13px; color: var(--pr-muted); }
.ol-byline .ol-tags { margin-left: auto; }

.ol-body { font-size: 18px; line-height: 1.75; color: #262622; }
.ol-body > :first-child { margin-top: 32px; }
.ol-body p { margin: 0 0 1.15em; }
.ol-body h3 { font-family: var(--pr-serif); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--pr-accent); margin: 1.6em 0 .55em; }
.ol-body ul, .ol-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.ol-body li { margin: 0 0 .55em; padding-left: .2em; }
.ol-body strong { color: var(--pr-ink); font-weight: 650; }
.ol-body a { color: var(--pr-accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Partial lock ---------- */
.nl-locked { display: none; }
.ol-unlocked .nl-locked { display: block; }
.ol-unlocked .ol-gate { display: none; }
.ol-gate { position: relative; margin-top: -150px; padding-top: 150px; background: linear-gradient(180deg, rgba(247,245,239,0) 0%, var(--pr-paper) 62%); }
.ol-gate-card {
  background: #fff; border: 1px solid var(--pr-line); border-top: 4px solid var(--pr-accent); border-radius: 20px;
  padding: 36px 34px 30px; text-align: center; box-shadow: 0 18px 40px rgba(19,75,89,.10);
}
.ol-gate-logo { width: 170px; height: auto; display: block; margin: 0 auto 18px; }
.ol-gate-card h2 { font-family: var(--pr-serif); font-weight: 600; font-size: 32px; line-height: 1.15; margin: 0; color: var(--pr-ink); }
.ol-gate-card > p { font-size: 16px; line-height: 1.6; color: #3d3d38; max-width: 48ch; margin: 12px auto 0; }
.ol-gate-card .ol-form { margin: 22px auto 0; justify-content: center; }
.ol-gate-card .ol-msg { text-align: center; }
.ol-already { margin-top: 14px; background: none; border: 0; color: var(--pr-muted); font: 14px var(--pr-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ol-already:hover { color: var(--pr-accent); }

/* ---------- More from ---------- */
.ol-more { padding: 24px 0 64px; }
.ol-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.ol-more-head a { color: var(--pr-accent); font-weight: 600; font-size: 14px; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ol-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ol-hero-side { display: none; }
  .ol-grid, .ol-grid--3 { grid-template-columns: 1fr; }
  .ol-waitlist-card { padding: 32px 26px; }
}
@media (max-width: 560px) {
  .ol-hero { padding-top: 112px; }
  .ol-article { padding-top: 108px; }
  .ol-form button { width: 100%; }
  .ol-byline .ol-tags { margin-left: 0; width: 100%; }
  .ol-gate-card { padding: 28px 20px 24px; }
  .ol-body { font-size: 17px; }
}
