/* French Bites — Guides hub + article pages (GEO / learning column) */

:root {
  --paper: #f4f0e4;
  --paper-deep: #e8e2d4;
  --cream: #ffeed6;
  --ink: #3d2a1a;
  --muted: #6b5040;
  --border: rgba(61, 42, 26, 0.12);
  --shadow: 0 10px 28px rgba(61, 42, 26, 0.1);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --content-w: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.guide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 5vw, 40px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  position: sticky;
  top: 0;
  z-index: 5;
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.guide-brand-mark {
  width: 40px;
  height: auto;
}

.guide-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.guide-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.guide-nav-links a:hover,
.guide-nav-links a.is-current {
  color: var(--ink);
}

.guide-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.guide-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 10px clamp(16px, 5vw, 40px);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper-deep);
}

.guide-crumbs a {
  color: var(--muted);
  text-decoration: underline;
}

.guide-crumbs span.is-current {
  color: var(--ink);
  font-weight: 700;
}

.guide-main {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 32px) 80px;
}

.guide-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.guide-main h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.12;
  font-weight: 700;
}

.guide-lede {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--muted);
}

.guide-main h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.2;
}

.guide-main h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.guide-main p,
.guide-main li {
  font-size: 1rem;
}

.guide-main ul,
.guide-main ol {
  padding-left: 1.25rem;
}

.guide-main a {
  color: var(--ink);
  font-weight: 600;
}

.guide-card-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.guide-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.guide-card:hover {
  transform: translateY(-2px);
}

.guide-card h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-card.is-soon {
  opacity: 0.72;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.guide-card-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper-deep);
  color: var(--muted);
}

.guide-cta {
  margin: 2.5rem 0 0;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--cream), var(--paper-deep));
}

.guide-cta p {
  margin: 0 0 12px;
}

.guide-cta a.guide-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.guide-golden {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.guide-meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.guide-updated {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.guide-byline p {
  margin: 0 0 0.55rem;
  line-height: 1.55;
}

.guide-related {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.guide-related a {
  color: var(--ink);
}

.guide-callout {
  margin: 1.5rem 0;
  padding: 16px 18px;
  border-left: 4px solid var(--ink);
  border-radius: 0 10px 10px 0;
  background: var(--paper-deep);
}

.guide-callout p {
  margin: 0;
}

.guide-tense-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.guide-tense-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.guide-tense-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.guide-footer {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px) 48px;
  font-size: 0.85rem;
  color: var(--muted);
}

.guide-footer a {
  color: var(--ink);
}

@media (max-width: 640px) {
  .guide-nav {
    flex-wrap: wrap;
  }

  .guide-nav-links {
    order: 3;
    width: 100%;
  }
}
