/* FCLDSD / L'Éditorial des Monts d'Or — implementation design tokens v1.
 * DESIGN REFERENCE ONLY, not a standalone production site or font distribution.
 * Bundle Fraunces Variable, Geist Variable, Geist Mono locally under valid OFL terms.
 * Do not allow these styles to bleed into other teams/sites.
 */
.fcldsd-editorial {
  --fc-paper: #faf6ec;
  --fc-paper-raised: #fffcf6;
  --fc-paper-deep: #f2ebdc;
  --fc-ink: #132138;
  --fc-navy: #0b1c35;
  --fc-navy-raised: #19304e;
  --fc-gold: #cda328;
  --fc-gold-dark: #b28a19;
  --fc-gold-pale: #f3deaa;
  --fc-gold-text: #82620f;
  --fc-text-secondary: #6c6e72;
  --fc-stroke: #d9d2c5;
  --fc-white: #ffffff;
  --fc-positive: #26775b;
  --fc-negative: #ab4d48;

  --fc-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --fc-font-ui: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fc-font-mono: 'Geist Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --fc-container: 1360px;
  --fc-gutter: clamp(16px, 4vw, 64px);
  --fc-grid-gap: 24px;
  --fc-section-gap: clamp(52px, 5.8vw, 76px);

  --fc-space-1: 4px;
  --fc-space-2: 8px;
  --fc-space-3: 12px;
  --fc-space-4: 16px;
  --fc-space-5: 20px;
  --fc-space-6: 24px;
  --fc-space-8: 32px;
  --fc-space-10: 40px;
  --fc-space-12: 48px;
  --fc-space-16: 64px;
  --fc-space-20: 80px;
  --fc-space-24: 96px;

  --fc-radius-card: 2px;
  --fc-radius-input: 4px;
  --fc-border: 1px solid var(--fc-stroke);
  --fc-motion: 220ms cubic-bezier(.22,.61,.36,1);

  background: var(--fc-paper);
  color: var(--fc-ink);
  font-family: var(--fc-font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.fcldsd-editorial *,
.fcldsd-editorial *::before,
.fcldsd-editorial *::after { box-sizing: border-box; }

.fcldsd-editorial .fc-container {
  width: min(calc(100% - (var(--fc-gutter) * 2)), var(--fc-container));
  margin-inline: auto;
}

.fcldsd-editorial .fc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--fc-grid-gap);
}

.fcldsd-editorial .fc-section {
  padding-block: calc(var(--fc-section-gap) * .52);
}

.fcldsd-editorial .fc-kicker,
.fcldsd-editorial .fc-meta {
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  line-height: 1.4;
}

.fcldsd-editorial .fc-meta { letter-spacing: .07em; font-weight: 450; }

.fcldsd-editorial .fc-display,
.fcldsd-editorial .fc-h1,
.fcldsd-editorial .fc-h2,
.fcldsd-editorial .fc-h3 {
  font-family: var(--fc-font-display);
  color: var(--fc-ink);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 10, 'WONK' 0;
  text-wrap: balance;
  margin: 0;
}

.fcldsd-editorial .fc-display {
  font-size: clamp(62px, 6.7vw, 100px);
  font-weight: 620;
  line-height: .97;
  letter-spacing: -.045em;
}

.fcldsd-editorial .fc-h1 {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 620;
  line-height: 1.01;
  letter-spacing: -.045em;
}

.fcldsd-editorial .fc-h2 {
  font-size: clamp(36px, 3.6vw, 55px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.035em;
}

.fcldsd-editorial .fc-h3 {
  font-size: clamp(25px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.fcldsd-editorial .fc-editorial-italic {
  font-family: var(--fc-font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.2;
}

.fcldsd-editorial .fc-body-lead {
  max-width: 68ch;
  font-family: var(--fc-font-ui);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
}

.fcldsd-editorial .fc-ui-link {
  color: var(--fc-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--fc-gold);
  transition: border-color var(--fc-motion), color var(--fc-motion);
}

.fcldsd-editorial .fc-ui-link:hover { color: var(--fc-gold-text); }

.fcldsd-editorial .fc-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--fc-gold);
  border-radius: 2px;
  background: var(--fc-gold);
  color: var(--fc-ink);
  font-family: var(--fc-font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--fc-motion), border-color var(--fc-motion);
}

.fcldsd-editorial .fc-button:hover {
  background: #dfb43b;
  border-color: #dfb43b;
}

.fcldsd-editorial .fc-button--outline {
  background: transparent;
  border-color: var(--fc-ink);
}

.fcldsd-editorial .fc-button--outline:hover { background: var(--fc-paper-deep); }

.fcldsd-editorial .fc-card {
  background: var(--fc-paper-raised);
  border: var(--fc-border);
  border-radius: var(--fc-radius-card);
  min-width: 0;
}

.fcldsd-editorial .fc-card--navy {
  background: var(--fc-navy);
  color: var(--fc-white);
  border-color: rgba(255,255,255,.16);
}

.fcldsd-editorial .fc-score {
  font-family: var(--fc-font-display);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 650;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.fcldsd-editorial .fc-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--fc-ink);
  font-family: var(--fc-font-ui);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.fcldsd-editorial .fc-table th,
.fcldsd-editorial .fc-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--fc-stroke);
}

.fcldsd-editorial .fc-table th { font-weight: 700; }
.fcldsd-editorial .fc-table td[data-numeric] { text-align: right; }
.fcldsd-editorial .fc-table tr.is-fcldsd { background: var(--fc-gold-pale); font-weight: 700; }

.fcldsd-editorial img { max-width: 100%; }
.fcldsd-editorial .fc-image { display: block; object-fit: cover; width: 100%; }
.fcldsd-editorial :where(a,button,input,select,textarea):focus-visible {
  outline: 3px solid var(--fc-gold-dark);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .fcldsd-editorial { --fc-grid-gap: 18px; }
  .fcldsd-editorial .fc-grid { grid-template-columns: repeat(8, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .fcldsd-editorial { --fc-gutter: 18px; --fc-grid-gap: 12px; }
  .fcldsd-editorial .fc-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .fcldsd-editorial .fc-display { font-size: clamp(38px, 10.5vw, 52px); line-height: 1.01; }
  .fcldsd-editorial .fc-h1 { font-size: clamp(38px, 9vw, 52px); }
  .fcldsd-editorial .fc-h2 { font-size: clamp(32px, 7.8vw, 40px); }
  .fcldsd-editorial .fc-h3 { font-size: clamp(23px, 5.7vw, 27px); }
}

@media (max-width: 360px) {
  .fcldsd-editorial { --fc-gutter: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fcldsd-editorial *,
  .fcldsd-editorial *::before,
  .fcldsd-editorial *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
