/* ExportAirtable blog — shared styles for the index and every article.
   Variables and brand tokens mirror pricing.html so the blog feels like
   the same product, not a separate site. */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-soft: #1e293b;
  --muted: #64748b;
  --muted-strong: #475569;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.1);
  --accent: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --success: #16a34a;
  --warning: #d97706;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-xl: 0 40px 80px -40px rgba(37, 99, 235, 0.35);
  --shadow-lg: 0 24px 48px -20px rgba(37, 99, 235, 0.25);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
  --measure: 48rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* === Site nav (matches pricing.html visual identity) === */
header.site-nav {
  position: sticky;
  top: 0;
  background: rgba(246, 247, 251, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 30;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 4px 8px 4px 4px;
  margin: -4px -8px -4px -4px;
}
.brand:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.04);
}
.brand__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px rgba(13, 27, 42, 0.35);
}
.brand__name {
  display: inline-flex;
  align-items: baseline;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Geist", "Geist Sans", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-feature-settings: "cv02", "cv11";
}
.brand__word--export { color: #0a0a0a; }
.brand__word--airtable { color: #277748; }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:not(.btn):hover {
  color: var(--text);
  text-decoration: none;
}
.nav-links a.is-active {
  color: var(--text);
  font-weight: 600;
}
.nav-links .btn {
  padding: 8px 14px;
  font-size: 13.5px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.08s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: inherit;
  color: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 12px 28px -12px rgba(37, 99, 235, 0.65);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: #eef2f7; color: var(--text); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

/* === Breadcrumbs === */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0 0;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--text);
  text-decoration: none;
}
.breadcrumbs li[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--border-strong);
}

/* === Article === */
.article {
  padding: 12px 0 48px;
}
.article__header {
  max-width: var(--measure);
  margin: 0 auto 36px;
  text-align: center;
}
/* Same pill as .section-eyebrow on www (pricing.html). */
.article__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article__title {
  margin: 0 0 12px;
  font-size: clamp(17px, 2.35vw + 0.65rem, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .article__title {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(20px, 5vw, 1.45rem);
  }
}
.article__deck {
  margin: 0 auto;
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.article__meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.article__meta a {
  color: var(--text);
  font-weight: 600;
}
.article__meta-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.article__meta-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  background: var(--surface-alt);
  object-fit: cover;
}
.article__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
  display: inline-block;
}

/* Hero diagram: inline preview (lightbox = full size). */
.article__hero {
  max-width: min(var(--measure), 96vw);
  margin: 0 auto 1.5rem;
}
.article__hero .figure__zoom {
  border-radius: 10px;
}
.article__hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Long-form content */
.prose {
  max-width: var(--measure);
  margin: 0 auto;
  font-size: 17px;
  color: var(--text);
}
.prose > * + * { margin-top: 0.9em; }
.prose h2 {
  margin: 2.2em 0 0.5em;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
  scroll-margin-top: 72px;
  color: var(--text);
}
.prose h3 {
  margin: 1.5em 0 0.4em;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  scroll-margin-top: 72px;
}
.prose p {
  margin: 0 0 1em;
}
.prose strong { color: var(--text); }
.prose ul, .prose ol {
  margin: 0 0 1.2em;
  padding-left: 22px;
}
.prose li + li { margin-top: 6px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.9em;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-word;
}
.prose pre {
  background: #1e293b;
  color: #f1f5f9;
  padding: 14px 16px;
  border-radius: 8px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.5;
  margin: 1.2em 0;
}
.prose pre code {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  word-break: normal;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  color: var(--text-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p { margin: 0; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.4em 0;
}

/* Inline figure inside long-form articles. The button wrapper is what
   triggers the lightbox; pure-CSS scaling on hover gives an affordance
   that the image is interactive even before JS loads. */
.figure {
  margin: 1.25em 0;
}
/* Tall screenshots (e.g. OAuth consent): smaller inline preview; lightbox still shows full size. */
.figure--preview-sm {
  max-width: min(34rem, 92vw);
  margin-left: auto;
  margin-right: auto;
}
.figure--preview-sm figcaption {
  text-align: center;
}
.figure__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
  font: inherit;
  color: inherit;
}
.figure__zoom:hover {
  border-color: var(--border-strong);
}
.figure__zoom:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.figure__zoom img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
}
.figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  line-height: 1.45;
}

/* Step list (numbered "How it works"-style) */
.steps {
  list-style: none;
  margin: 1.6em 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  position: relative;
  padding: 16px 18px 16px 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.65);
}
.steps li strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--text); }
.steps li p { margin: 0; color: var(--muted-strong); font-size: 15.5px; }

/* Callout */
.callout {
  margin: 1.8em 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.callout--success .callout__icon {
  background: rgba(22, 163, 74, 0.15);
  color: var(--success);
}
.callout--warning .callout__icon {
  background: rgba(217, 119, 6, 0.15);
  color: var(--warning);
}
.callout p { margin: 0; }
.callout p + p { margin-top: 6px; }

/* Author + CTA stack at end of article */
.article__closing {
  max-width: var(--measure);
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Author card — clean surface card (matches marketing polish) */
.author-card {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: center;
}
.author-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow:
    0 0 0 3px var(--surface),
    0 0 0 4px var(--border),
    0 8px 24px -8px rgba(15, 23, 42, 0.2);
}
.author-card__body {
  min-width: 0;
  text-align: left;
}
.author-card__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.author-card__name {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.author-card__email {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
}
.author-card__email:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* CTA band — same language as pricing.html .cta-band__inner */
.post-cta {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.post-cta__inner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 30px 60px -24px rgba(37, 99, 235, 0.45);
}
.post-cta__copy {
  flex: 1 1 280px;
  min-width: 0;
  text-align: left;
}
.post-cta__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}
.post-cta__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
}
.post-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.post-cta__btn-main {
  background: #fff !important;
  color: var(--primary) !important;
  border-color: #fff !important;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.25);
}
.post-cta__btn-main:hover {
  background: #f1f5f9 !important;
  color: var(--primary-hover) !important;
  border-color: #f1f5f9 !important;
}
.post-cta__btn-secondary {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}
.post-cta__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

/* === Blog index === */
.index-hero {
  padding: 32px 0 16px;
  text-align: left;
}
.index-hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.15;
  font-weight: 700;
}
.index-hero p {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.55;
}
.posts {
  padding: 32px 0 56px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.post-card:hover {
  border-color: var(--border-strong);
}
.post-card__cover {
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
  overflow: hidden;
}
.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.post-card__cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.post-card__title {
  font-size: 18px;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
}
.post-card__excerpt {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted-strong);
  line-height: 1.5;
}
.post-card__meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.post-card__meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-alt);
  object-fit: cover;
}

/* === Footer (mirrors pricing.html) === */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
  background: var(--surface);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* === Contact modal === */
.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 80;
}
.contact-modal[hidden] {
  display: none;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.contact-modal__dialog {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.4);
}
.contact-modal__head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.contact-modal__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.contact-modal__head small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}
.contact-modal__close {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  font-family: inherit;
}
.contact-modal__close:hover {
  color: var(--text);
  background: #e2e8f0;
}
.contact-modal__body {
  padding: 18px 24px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-strong);
}
.contact-field > span {
  font-weight: 600;
  color: var(--text);
  font-size: 13.5px;
}
.contact-field > span small {
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.contact-field input[type="file"] {
  font: inherit;
  font-size: 13px;
  color: var(--muted-strong);
  padding: 4px 0;
}
.contact-form__status {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted-strong);
  min-height: 1px;
}
.contact-form__status.is-error {
  color: #b91c1c;
}
.contact-form__status.is-success {
  color: var(--success);
}
.contact-form__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.contact-form__actions .btn {
  padding: 10px 18px;
  font-size: 13.5px;
}
body.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .contact-modal {
    padding: 12px;
  }
  .contact-modal__head {
    padding: 16px 18px 12px;
  }
  .contact-modal__body {
    padding: 14px 18px 18px;
  }
  .contact-form__actions {
    flex-direction: column-reverse;
  }
  .contact-form__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === Image lightbox (zoom on click) === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 100;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__img {
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.5);
  background: #fff;
  display: block;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.32); }
.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #e2e8f0;
  font-size: 13.5px;
  max-width: 720px;
  text-align: center;
  padding: 0 16px;
  pointer-events: none;
}
body.lightbox-open { overflow: hidden; }

/* === Responsive tweaks === */
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-row { padding: 12px 0; }
  .nav-links { gap: 10px; }
  .article__title {
    font-size: clamp(17px, 2.8vw + 0.5rem, 1.55rem);
  }
  .article__deck { font-size: 16.5px; }
  .article__meta { font-size: 12.5px; gap: 10px; }
  .prose { font-size: 16px; }
  .post-cta__actions {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .post-cta__actions .btn {
    flex: 1 1 auto;
    min-width: 148px;
    justify-content: center;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-links { gap: 16px; row-gap: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .breadcrumbs { padding-top: 16px; }
  .lightbox { padding: 16px; }
  .lightbox__close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
  }
  .author-card__body {
    text-align: center;
  }
  .post-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
