/* Rancho Santa Fe Living — feuille unique, préfixe rsf-
   Métaphore: le domaine (lodge, veranda, tracts, paddock, trail) — un magazine
   de domaine californien: Didone, crème, terracotta, olive sombre. */

:root {
  --rsf-parchment: #f7f2e6;
  --rsf-paper: #fffdf6;
  --rsf-ink: #262117;
  --rsf-ink-soft: #5d5546;
  --rsf-terra: #a34a24;
  --rsf-terra-deep: #7c3618;
  --rsf-olive: #4c5732;
  --rsf-olive-deep: #3d4527;
  --rsf-line: #d9cfb6;
  --rsf-night: #221d12;
  --rsf-gold: #c99a4b;
  --rsf-display: 'Bodoni 72', 'Didot', 'Playfair Display', 'Times New Roman', serif;
  --rsf-text: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --rsf-label: 'Avenir Next Condensed', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --rsf-measure: 1220px;
  --rsf-read: 42rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rsf-parchment);
  color: var(--rsf-ink);
  font-family: var(--rsf-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rsf-terra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rsf-terra-deep); }
:focus-visible { outline: 2px dashed var(--rsf-terra); outline-offset: 3px; }
.rsf-skip { position: absolute; left: -999px; }
.rsf-skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--rsf-paper); padding: .55rem .8rem; border: 1px solid var(--rsf-ink); }

/* ---- Barre supérieure ---- */
.rsf-topline { background: var(--rsf-night); color: #cfc4a6; font-family: var(--rsf-label); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; }
.rsf-topline-in { max-width: var(--rsf-measure); margin: auto; padding: 8px 24px; display: flex; justify-content: space-between; gap: 12px; }
.rsf-topline a { text-decoration: none; margin-left: 14px; }
.rsf-topline a:hover { color: #fff; }

/* ---- Lodge (masthead) ---- */
.rsf-lodge { background: var(--rsf-parchment); border-bottom: 3px double var(--rsf-ink); }
.rsf-lodge-in { max-width: var(--rsf-measure); margin: auto; padding: 12px 24px 10px; text-align: center; }
.rsf-masthead-kicker { margin: 0 0 4px; font-family: var(--rsf-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rsf-ink-soft); }
.rsf-wordmark { display: inline-block; text-decoration: none; }
.rsf-wordmark-top { display: block; font-family: var(--rsf-display); font-weight: 700; font-size: clamp(32px, 3.8vw, 44px); line-height: 1.02; letter-spacing: .01em; color: var(--rsf-ink); }
.rsf-wordmark-sep { display: block; width: 74px; height: 1px; background: var(--rsf-terra); margin: 6px auto 5px; }
.rsf-wordmark-bottom { display: block; font-family: var(--rsf-label); font-weight: 600; font-size: 14px; letter-spacing: .5em; text-transform: uppercase; color: var(--rsf-terra-deep); padding-left: .5em; }
.rsf-compass { margin-top: 9px; font-family: var(--rsf-label); font-size: 13px; letter-spacing: .09em; text-transform: uppercase; display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.1em; }
.rsf-compass a { text-decoration: none; white-space: nowrap; }
.rsf-compass a:hover { color: var(--rsf-terra-deep); text-decoration: underline; }

/* ---- Kicker, titres ---- */
.rsf-kicker { margin: 0 0 10px; font-family: var(--rsf-label); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rsf-terra-deep); }
.rsf-kicker a { color: inherit; }
.rsf-kicker-inverse { color: var(--rsf-gold); }
.rsf-chapo { font-size: 19.5px; line-height: 1.5; font-style: italic; color: var(--rsf-ink-soft); margin: 0 0 8px; }
.rsf-metarow, .rsf-byline { margin: 4px 0 0; font-family: var(--rsf-label); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rsf-ink-soft); }
.rsf-byline { border-top: 1px solid var(--rsf-line); padding-top: 10px; }

/* ---- Veranda (héros bande, voile EN DUR) ---- */
.rsf-veranda { position: relative; isolation: isolate; overflow: hidden; background: var(--rsf-night); color: #f6efdd; }
.rsf-veranda-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rsf-veil { position: absolute; inset: 0; background: #221d12; opacity: .84; z-index: -1; }
.rsf-veranda-in { max-width: var(--rsf-measure); margin: auto; padding: 30px 24px 22px; }
.rsf-veranda .rsf-kicker { color: var(--rsf-gold); }
.rsf-veranda-title { font-family: var(--rsf-display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.04; letter-spacing: .005em; margin: 0 0 10px; max-width: 900px; }
.rsf-veranda-chapo { font-size: 19px; line-height: 1.5; max-width: 680px; margin: 0 0 16px; color: #e9dfc8; }
.rsf-figures { display: flex; flex-wrap: wrap; row-gap: 8px; border-top: 1px solid rgba(233, 223, 200, .35); padding-top: 10px; max-width: 760px; }
.rsf-figure { margin: 0 26px 6px 0; padding-right: 26px; border-right: 1px solid rgba(233, 223, 200, .35); font-family: var(--rsf-label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #cfc4a6; }
.rsf-figure:last-child { border-right: 0; }
.rsf-figure strong { display: block; font-family: var(--rsf-display); font-size: 24px; letter-spacing: 0; color: #fff; font-weight: 700; }

/* ---- Têtes de section ---- */
.rsf-section-head { max-width: var(--rsf-measure); margin: 22px auto 14px; padding: 10px 24px 0; border-top: 3px double var(--rsf-ink); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rsf-section-head h2 { font-family: var(--rsf-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1; margin: 0; letter-spacing: .01em; }
.rsf-section-note { margin: 0; font-family: var(--rsf-label); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--rsf-terra-deep); }

/* ---- Tracts (tuiles de rubrique) ---- */
.rsf-tracts-grid { max-width: var(--rsf-measure); margin: 0 auto 40px; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rsf-tract { background: var(--rsf-paper); border: 1px solid var(--rsf-line); padding: 12px 12px 16px; }
.rsf-tract-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rsf-tract-name { font-family: var(--rsf-display); font-weight: 700; font-size: 25px; line-height: 1.05; margin: 13px 2px 6px; }
.rsf-tract-name a { text-decoration: none; }
.rsf-tract-name a:hover { color: var(--rsf-terra-deep); }
.rsf-tract-blurb { margin: 0 2px; font-family: var(--rsf-label); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--rsf-ink-soft); }

/* ---- Paddock (bandeau signature) ---- */
.rsf-paddock { background: var(--rsf-olive-deep); color: #f2ecd8; display: grid; grid-template-columns: 1fr 380px; gap: 0; align-items: stretch; }
.rsf-paddock-body { padding: 38px clamp(24px, 5vw, 72px); }
.rsf-paddock h2 { font-family: var(--rsf-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; margin: 0 0 12px; max-width: 560px; }
.rsf-paddock h2 a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--rsf-gold); }
.rsf-paddock h2 a:hover { color: #f6e9c8; }
.rsf-paddock p { max-width: 560px; margin: 0 0 10px; font-size: 17.5px; line-height: 1.55; color: #e5ddc0; }
.rsf-paddock-more { font-family: var(--rsf-label); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.rsf-paddock-more a { color: var(--rsf-gold); }
.rsf-paddock-photo { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

/* ---- Trail (flux daté) ---- */
.rsf-trail { padding-bottom: 8px; }
.rsf-waypoints { max-width: var(--rsf-measure); margin: 0 auto; padding: 0 24px; list-style: none; }
.rsf-waypoint { display: grid; grid-template-columns: 128px 176px minmax(0, 1fr); gap: 20px; align-items: start; border-top: 1px solid var(--rsf-line); padding: 18px 0; }
.rsf-waypoint:last-child { border-bottom: 1px solid var(--rsf-line); }
.rsf-waypoint-date { margin: 2px 0 0; font-family: var(--rsf-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rsf-terra-deep); }
.rsf-waypoint-photo { width: 176px; aspect-ratio: 4 / 3; object-fit: cover; }
.rsf-waypoint-cat { margin: 2px 0 4px; font-family: var(--rsf-label); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--rsf-ink-soft); }
.rsf-waypoint-title { font-family: var(--rsf-display); font-weight: 700; font-size: 26px; line-height: 1.08; margin: 0 0 7px; }
.rsf-waypoint-title a { text-decoration: none; }
.rsf-waypoint-title a:hover { color: var(--rsf-terra-deep); }
.rsf-waypoint-amorce { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--rsf-ink-soft); max-width: 620px; }

/* ---- Foreword ---- */
.rsf-foreword { max-width: calc(var(--rsf-measure) - 48px); margin: 40px auto 46px; padding: 22px 26px; background: var(--rsf-paper); border: 1px solid var(--rsf-line); border-top: 3px double var(--rsf-ink); }
.rsf-foreword-t { font-family: var(--rsf-display); font-size: 24px; margin: 0 0 8px; }
.rsf-foreword p { margin: 0; font-size: 17px; }

/* ---- Fil d'Ariane ---- */
.rsf-crumbs { max-width: calc(var(--rsf-read) + 96px); margin: 22px auto 0; padding: 0 24px; font-family: var(--rsf-label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rsf-ink-soft); }
.rsf-crumbs a { text-decoration: none; }
.rsf-crumbs a:hover { color: var(--rsf-terra-deep); }
.rsf-crumb-sep { margin: 0 .5em; color: var(--rsf-terra); }
.rsf-crumbs span[aria-current] { color: var(--rsf-ink); }

/* ---- Têtes de page (rubriques, confiance) ---- */
.rsf-pagehead { max-width: calc(var(--rsf-read) + 96px); margin: 26px auto 0; padding: 0 24px; }
.rsf-page-title { font-family: var(--rsf-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 12px; }
.rsf-herofig { max-width: calc(var(--rsf-measure) - 48px); margin: 26px auto; }
.rsf-herofig-photo { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; border-top: 1px solid var(--rsf-line); border-bottom: 1px solid var(--rsf-line); padding: 8px 0; background: var(--rsf-paper); }
.rsf-herofig figcaption { font-family: var(--rsf-label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--rsf-ink-soft); padding-top: 8px; }

/* ---- Colonne de lecture ---- */
.rsf-column { max-width: var(--rsf-read); margin: 0 auto; padding: 0 24px; }
.rsf-column p { font-size: 18.5px; line-height: 1.66; }
.rsf-corps { counter-reset: rsf-cross; padding-bottom: 8px; }
.rsf-corps > h2 { counter-increment: rsf-cross; font-family: var(--rsf-display); font-weight: 700; font-size: 27px; line-height: 1.15; margin: 2.3rem 0 .8rem; }
.rsf-corps > h2::before { content: counter(rsf-cross, decimal-leading-zero) "  "; color: var(--rsf-terra); font-size: .72em; letter-spacing: .08em; vertical-align: .18em; }
.rsf-lede::first-letter { font-family: var(--rsf-display); font-weight: 700; font-size: 3.05em; float: left; line-height: .82; padding: .08em .12em 0 0; color: var(--rsf-terra-deep); }
.rsf-pull { margin: 2.2rem 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--rsf-terra); }
.rsf-pull p { margin: 0; font-family: var(--rsf-display); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--rsf-ink); }
.rsf-notebox { margin: 2rem 0; padding: 16px 20px 14px; background: #efe7d0; border-left: 4px solid var(--rsf-olive); }
.rsf-notebox h2 { margin: 0 0 8px; font-family: var(--rsf-label); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rsf-olive-deep); }
.rsf-notebox ul { margin: 0; padding-left: 18px; }
.rsf-notebox li { margin: 6px 0; font-size: 16px; line-height: 1.5; }

/* ---- Article ---- */
.rsf-piece { max-width: calc(var(--rsf-read) + 96px); margin: 0 auto; }
.rsf-piece-head { padding: 0 24px; }
.rsf-piece-title { font-family: var(--rsf-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; margin: 0 0 12px; }
.rsf-filedunder { max-width: calc(var(--rsf-read) + 96px); margin: 0 auto 26px; padding: 0 24px; font-size: 16px; color: var(--rsf-ink-soft); border-top: 1px solid var(--rsf-line); padding-top: 14px; }

/* ---- Rubriques: profils et entrées ---- */
.rsf-plots { max-width: var(--rsf-measure); margin: 8px auto 10px; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.rsf-plot { border-top: 3px solid var(--rsf-terra); padding-top: 12px; }
.rsf-plot-name { font-family: var(--rsf-display); font-weight: 700; font-size: 26px; line-height: 1.05; margin: 0 0 8px; }
.rsf-plot p { margin: 0; font-size: 16.5px; line-height: 1.55; }
.rsf-entries { max-width: calc(var(--rsf-read) + 96px); margin: 34px auto 0; padding: 0 24px; border-top: 3px double var(--rsf-ink); }
.rsf-entries-t { font-family: var(--rsf-display); font-size: 30px; margin: 16px 0 6px; }
.rsf-hublist { list-style: none; margin: 0; padding: 0; }
.rsf-hubrow { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--rsf-line); padding: 16px 0; }
.rsf-hubrow-date { margin: 4px 0 0; font-family: var(--rsf-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rsf-terra-deep); }
.rsf-hubrow-title { font-family: var(--rsf-display); font-weight: 700; font-size: 26px; line-height: 1.08; margin: 0 0 6px; }
.rsf-hubrow-title a { text-decoration: none; }
.rsf-hubrow-title a:hover { color: var(--rsf-terra-deep); }
.rsf-hubrow-amorce { margin: 0; font-size: 16px; line-height: 1.5; color: var(--rsf-ink-soft); }
.rsf-hubrow-read { font-family: var(--rsf-label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rsf-ink-soft); white-space: nowrap; }
.rsf-elsewhere { max-width: calc(var(--rsf-read) + 96px); margin: 26px auto 40px; padding: 0 24px; }
.rsf-elsewhere h2 { font-family: var(--rsf-label); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rsf-ink-soft); margin: 0 0 8px; }
.rsf-elsewhere ul { margin: 0; padding-left: 20px; }
.rsf-elsewhere li { margin: 7px 0; font-size: 16.5px; }

/* ---- 404 ---- */
.rsf-lost { max-width: calc(var(--rsf-read) + 96px); margin: 40px auto 60px; padding: 0 24px; }
.rsf-lost-links { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rsf-line); }
.rsf-lost-links li { border-bottom: 1px solid var(--rsf-line); padding: 12px 2px; font-size: 17px; }
.rsf-lost-links a { font-family: var(--rsf-display); font-weight: 700; font-size: 22px; text-decoration: none; }
.rsf-lost-links a:hover { color: var(--rsf-terra-deep); }
.rsf-lost-links span { color: var(--rsf-ink-soft); }

/* ---- Pied ---- */
.rsf-footer { background: var(--rsf-night); color: #d9cfb6; margin-top: 30px; }
.rsf-footer-in { max-width: var(--rsf-measure); margin: auto; padding: 40px 24px 34px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; }
.rsf-footer h2 { font-family: var(--rsf-display); font-size: 21px; color: #fff; margin: 0 0 8px; }
.rsf-footer p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.rsf-footer a, .rsf-footer p { overflow-wrap: anywhere; }
.rsf-footer ul { list-style: none; margin: 0; padding: 0; }
.rsf-footer li { margin: 5px 0; font-size: 15px; }
.rsf-footer a { color: #e9dfc8; text-decoration-color: var(--rsf-gold); }
.rsf-footer a:hover { color: var(--rsf-gold); }
.rsf-footer-note { font-family: var(--rsf-label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #a99e82; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .rsf-tracts-grid { grid-template-columns: 1fr 1fr; }
  .rsf-paddock { grid-template-columns: 1fr; }
  .rsf-paddock-photo { min-height: 200px; max-height: 260px; }
  .rsf-plots { grid-template-columns: 1fr; }
  .rsf-footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .rsf-waypoint { grid-template-columns: 104px minmax(0, 1fr); }
  .rsf-waypoint-photo { grid-column: 1 / -1; width: 100%; }
  .rsf-hubrow { grid-template-columns: 1fr; gap: 4px; }
  .rsf-hubrow-date { margin-top: 8px; }
  .rsf-herofig-photo { aspect-ratio: 16 / 9.5; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .rsf-topline-in { justify-content: center; }
  .rsf-topline-links { display: none; }
  .rsf-lodge-in { padding: 12px 16px 10px; }
  .rsf-compass { line-height: 2; }
  .rsf-veranda-in { padding: 34px 16px 24px; }
  .rsf-veranda-title { font-size: 38px; }
  .rsf-veranda-chapo { font-size: 17.5px; }
  .rsf-figure { margin-right: 14px; padding-right: 14px; }
  .rsf-tracts-grid { grid-template-columns: 1fr; padding: 0 16px; gap: 16px; }
  .rsf-section-head { padding: 12px 16px 0; margin-top: 26px; }
  .rsf-waypoints, .rsf-crumbs, .rsf-pagehead, .rsf-column, .rsf-piece-head, .rsf-filedunder, .rsf-entries, .rsf-elsewhere, .rsf-lost { padding-left: 16px; padding-right: 16px; }
  .rsf-waypoint { grid-template-columns: 1fr; gap: 6px; }
  .rsf-waypoint-photo { width: 100%; }
  .rsf-foreword { margin: 26px 16px 32px; }
  .rsf-footer-in { grid-template-columns: 1fr; gap: 22px; padding: 30px 16px 26px; }
  .rsf-column p { font-size: 17.5px; }
  .rsf-pull p { font-size: 21px; }
}
