/* The Faire guide page (faire-guide-v13-build.py), 20 Oct 2026. Loaded after home-v13.css and pages-v13.css;
   uses their palette, type, buttons and labels, and adds only what a long guide needs:
   an opening with the picture bleeding off the right edge, a chapter index, a reading column with a
   chapter rail that follows you, and the service band at the end. Owned by the intake chat. */

/* opening: words on the left, the wildflower gift shop bleeding off the right edge */
.fg-open{background:var(--ground);padding:88px 0 96px;overflow:hidden}
.fg-open__in{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);column-gap:72px;align-items:center}
.fg-open h1{font-size:clamp(52px,5vw,92px);line-height:1.02;margin:0 0 30px}
.fg-open__lead p{font-size:19px;margin:0 0 16px;max-width:54ch}
.fg-open__hand{font-family:var(--serif);font-style:italic;font-size:clamp(22px,1.7vw,26px);line-height:1.35;color:var(--ink);margin:26px 0 30px;max-width:40ch}
.fg-open__date{font-family:var(--ui);font-size:13px;letter-spacing:.02em;color:#7d6e61;margin:30px 0 0;max-width:52ch}
.fg-open__pic{margin-right:calc(-1 * max(var(--gut), (100vw - var(--wide)) / 2 + var(--gut)));height:clamp(480px,46vw,720px)}
.fg-open__pic picture,.fg-open__pic img{display:block;width:100%;height:100%}
.fg-open__pic img{object-fit:cover;object-position:50% 45%}

/* the chapter index: twelve numbered doors on paper */
.fg-index{background:var(--paper);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:56px 0}
.fg-index ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:1px solid var(--rule)}
.fg-index li{border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.fg-index li:nth-child(-n+4){border-top:1px solid var(--rule)}
.fg-index a{display:flex;gap:14px;align-items:baseline;padding:20px 22px 22px;font-family:var(--serif);font-size:clamp(21px,1.5vw,24px);line-height:1.2;color:var(--ink);height:100%;transition:background .25s}
.fg-index a:hover{background:var(--blush)}
.fg-n{font-family:var(--serif);font-style:italic;color:var(--wine);font-size:.95em;flex:none}

/* reading: a chapter rail that stays in view, and one comfortable column */
.fg-read{background:var(--ground);padding:96px 0 40px}
.fg-read__in{display:grid;grid-template-columns:260px minmax(0,1fr);column-gap:96px;align-items:start}
.fg-rail{position:sticky;top:32px;max-height:calc(100vh - 64px);overflow:auto}
.fg-rail ol{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.fg-rail a{display:block;padding:9px 0 9px 14px;border-bottom:1px solid var(--rule);border-left:2px solid transparent;font-size:15px;line-height:1.35;color:var(--body);transition:color .2s,border-color .2s}
.fg-rail a .fg-n{margin-right:8px}
.fg-rail a:hover{color:var(--ink)}
.fg-rail a.is-on{color:var(--ink);border-left-color:var(--wine)}
.fg-chs{max-width:760px}
.fg-ch{padding:0 0 72px;margin:0 0 72px;border-bottom:1px solid var(--rule);scroll-margin-top:24px}
.fg-ch:last-child{border-bottom:0;margin-bottom:0}
.fg-num{font-family:var(--serif);font-style:italic;font-size:clamp(64px,5.4vw,92px);line-height:.9;color:var(--wine);margin:0 0 10px}
.fg-ch h2{font-size:clamp(38px,3.2vw,54px);line-height:1.06;margin:0 0 26px}
.fg-body > p{font-size:18px;margin:0 0 16px;max-width:62ch}
.fg-label{margin:34px 0 10px}
.fg-list{margin:0 0 20px}
.fg-tick{list-style:none;margin:6px 0 22px;padding:0}
.fg-tick li{position:relative;padding:11px 0 11px 36px;border-top:1px solid var(--rule);font-size:17px;line-height:1.5}
.fg-tick li:last-child{border-bottom:1px solid var(--rule)}
.fg-tick li::before{content:"";position:absolute;left:2px;top:15px;width:15px;height:15px;border:1px solid var(--moss);border-radius:2px;background:var(--cream)}
.fg-ledger{margin:4px 0 22px;padding:0}
.fg-ledger div{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:12px 0;border-top:1px solid var(--rule)}
.fg-ledger div:last-child{border-bottom:1px solid var(--rule)}
.fg-ledger dt{font-size:17px;color:var(--body)}
.fg-ledger dd{margin:0;font-family:var(--serif);font-size:23px;line-height:1.2;color:var(--ink);text-align:right}
.fg-src{font-family:var(--ui);font-size:12.5px;line-height:1.6;letter-spacing:.02em;color:#7d6e61;margin:26px 0 0;max-width:70ch}
.fg-src a{color:#7d6e61;border-bottom:1px solid var(--rule)}
.fg-src a:hover{color:var(--ink)}
.fg-fig{margin:30px 0 30px}
.fg-fig img{width:100%;height:auto}
.fg-fig--bleed{margin-right:calc(-1 * max(var(--gut), (100vw - var(--wide)) / 2 + var(--gut)))}
.fg-fig--bleed img{aspect-ratio:3/2;object-fit:cover}
.fg-fig--wide img{aspect-ratio:16/9;object-fit:cover;object-position:50% 60%}

/* the service at the end: the shop counter fading in from the left, the offer on the right, on blush */
.fg-service{position:relative;background:var(--blush);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:stretch;border-top:1px solid var(--rule)}
.fg-service__pic{position:relative;min-height:640px}
.fg-service__pic picture,.fg-service__pic img{position:absolute;inset:0;width:100%;height:100%}
.fg-service__pic img{object-fit:cover}
.fg-service__pic::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(238,223,213,0) 55%,var(--blush) 100%)}
.fg-service__words{padding:112px var(--gut) 120px 56px;max-width:720px}
.fg-service h2{font-size:clamp(44px,4vw,72px);line-height:1.04;margin:0 0 26px}
.fg-service__words > p{font-size:18.5px;margin:0 0 20px;max-width:52ch}
.fg-ledger--price{margin:4px 0 26px;max-width:460px}
.fg-ledger--price dd{font-size:30px}
.fg-service .close__doors{margin-top:30px}

@media (max-width:1100px) and (min-width:901px){
  .fg-index ol{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fg-index li:nth-child(-n+4){border-top:0}
  .fg-index li:nth-child(-n+3){border-top:1px solid var(--rule)}
  .fg-read__in{grid-template-columns:220px minmax(0,1fr);column-gap:56px}
}
@media (max-width:900px){
  .fg-open{padding:44px 0 0}
  .fg-open__in{grid-template-columns:1fr}
  .fg-open h1{font-size:clamp(42px,11vw,60px)}
  .fg-open__lead p{font-size:17.5px}
  .fg-open__pic{margin:44px calc(-1 * var(--gut)) 0;height:auto}
  .fg-open__pic img{height:auto;aspect-ratio:4/3}
  .fg-index{padding:36px 0}
  .fg-index ol{grid-template-columns:1fr 1fr}
  .fg-index li:nth-child(-n+4){border-top:0}
  .fg-index li:nth-child(-n+2){border-top:1px solid var(--rule)}
  .fg-index a{padding:14px 14px 16px;font-size:19px;gap:10px}
  .fg-read{padding:56px 0 20px}
  .fg-read__in{grid-template-columns:1fr}
  .fg-rail{display:none}
  .fg-ch{padding-bottom:48px;margin-bottom:48px}
  .fg-ch h2{font-size:clamp(32px,8.6vw,44px)}
  .fg-body > p{font-size:17px}
  .fg-ledger div{flex-direction:column;gap:2px}
  .fg-ledger dd{text-align:left;font-size:21px}
  .fg-fig--bleed{margin-right:calc(-1 * var(--gut))}
  .fg-service{grid-template-columns:1fr}
  .fg-service__pic{min-height:0;aspect-ratio:4/3}
  .fg-service__pic::after{background:linear-gradient(180deg,rgba(238,223,213,0) 60%,var(--blush) 100%)}
  .fg-service__words{padding:40px var(--gut) 72px}
}
@media (max-width:520px){
  .fg-index ol{grid-template-columns:1fr}
  .fg-index li:nth-child(-n+2){border-top:0}
  .fg-index li:first-child{border-top:1px solid var(--rule)}
}
@media (prefers-reduced-motion: reduce){.fg-index a,.fg-rail a{transition:none}}

/* version 2 of the words (20 Oct): the fee note, links in chapter text, and the fuller service band */
.fg-small{font-size:15.5px;color:#6f655c;margin:-8px 0 8px}
.fg-body a{color:var(--wine);border-bottom:1px solid var(--rule)}
.fg-body a:hover{border-bottom-color:var(--wine)}
.fg-tick--done li::before{border-color:var(--wine);background:var(--wine);box-shadow:inset 0 0 0 3px var(--blush)}
.fg-service .fg-tick li{font-size:16.5px;border-top-color:rgba(84,70,59,.18)}
.fg-service .fg-tick li:last-child{border-bottom-color:rgba(84,70,59,.18)}
.fg-service__words > p.fg-service__ai{font-family:var(--serif);font-style:italic;font-size:clamp(21px,1.5vw,24px);line-height:1.35;color:var(--ink);margin:26px 0 8px}
.fg-service__words > p.fg-service__review{font-size:16px;margin:22px 0 0;color:var(--body)}
.fg-service__review a{color:var(--ink);border-bottom:1px solid var(--rule)}
.fg-service__review a:hover{border-bottom-color:var(--ink)}
.fg-service__words{max-width:760px}
.fg-service__words > p.fg-label{margin:34px 0 10px}
