/* ============================================================
   /guide — rebuilt 2026-10-13, polished same day
   Photo hero with a faint gray veil, Step badges, status dots,
   half-then-quarter-height accordion cards, pure-CSS chevrons,
   global accordion, title auto-fit. Every class carries the .g-
   prefix so nothing here can touch the shared styles in common.css.
   ============================================================ */

/* the sticky search bar is gone, so the page starts higher */
.g-main{padding-top:26px}

/* ---------- module headers ---------- */
.g-mod{margin:44px 0 6px;text-align:center;scroll-margin-top:100px}
.g-mod h2{font-family:'Fraunces',Georgia,serif;font-size:34px;font-weight:700;margin:0;color:var(--ink)}
/* Step badge: a small pale gold pill, clearly apart from the black title */
.g-step{display:inline-block;font-family:'Nunito',sans-serif;font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-d);background:linear-gradient(170deg,#fff,var(--pale));border:1.5px solid var(--gold);border-radius:999px;padding:2px 12px 2px 14px;margin-right:13px;vertical-align:middle;position:relative;top:-4px;box-shadow:0 2px 8px rgba(199,165,103,.20);white-space:nowrap}
.g-mod .g-sub{font-family:'Nunito',sans-serif;font-size:17px;color:var(--ink-soft);margin:8px 0 12px}
.g-mod hr{height:2px;border:none;background:linear-gradient(90deg,var(--gold),var(--celadon),rgba(143,182,162,0));margin:0}

/* ---------- the cards (rounded frame kept, head quartered again) ---------- */
.g-sec{margin:13px 0;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow);overflow:hidden;scroll-margin-top:88px}

.g-head{width:100%;text-align:left;background:none;border:none;cursor:pointer;display:flex;flex-direction:column;gap:1px;padding:0.8px 56px 0.8px 30px;font-family:inherit;color:inherit;position:relative}
.g-head:focus-visible{outline:3px solid var(--celadon);outline-offset:-3px}
.g-title{font-family:'Fraunces',Georgia,serif;font-size:20px;font-weight:600;line-height:1.25;margin:0;color:var(--ink)}
/* The lead is never truncated: it shows in full, wrapping when it must. */
.g-lead{font-family:'Nunito',sans-serif;font-size:13px;line-height:1.3;color:var(--ink-soft);margin:0}

/* status dot: red until a card has been opened once this visit, then green */
.g-dot{position:absolute;left:11px;top:12px;width:8px;height:8px;border-radius:50%;background:#E2574C;box-shadow:0 0 0 2.5px rgba(226,87,76,.16);transition:background .25s ease,box-shadow .25s ease}
.g-sec.opened .g-dot{background:var(--jade);box-shadow:0 0 0 2.5px rgba(99,145,124,.20)}

/* faint chevron at the bottom-right of the head; pure CSS, rotates when open */
.g-arrow{position:absolute;right:18px;bottom:8px;width:20px;height:20px;color:var(--ink-soft);opacity:.4;transition:transform .25s ease,opacity .25s ease;pointer-events:none}
.g-arrow::before{content:"";position:absolute;left:50%;top:44%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;border-radius:1px;transform:rotate(45deg)}
.g-sec.open .g-arrow{transform:rotate(180deg);opacity:.75}
.g-head:hover .g-arrow{opacity:.7}

/* ---------- body ---------- */
.g-body{max-height:0;overflow:hidden;transition:max-height .3s ease}
.g-body-in{padding:2px 26px 22px}
.g-body-in p{font-family:'Nunito',sans-serif;font-size:16.5px;line-height:1.65;color:var(--ink);margin:0 0 12px}
.g-body-in p:last-child{margin-bottom:0}

/* tip + faq: same warm look as the shared ones, own classes */
.g-tip,.g-fq{font-family:'Nunito',sans-serif;font-size:14.5px;line-height:1.55;border-radius:var(--r-md);padding:11px 14px;margin:12px 0 0}
.g-tip{background:var(--mist);color:var(--jade);font-weight:700}
.g-fq{background:var(--pale);color:var(--ink-soft)}
.g-tip b,.g-fq b{color:inherit}

/* ---------- tile strips ---------- */
.g-strip{margin:2px 0 14px}
.g-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:8px;margin:0 0 3px}
.g-row img{width:44px;height:auto;background:none;box-shadow:none;border-radius:0}
.g-row img.g-turned{transform:rotate(90deg)} /* a called tile lies sideways */
.g-cap{font-family:'Nunito',sans-serif;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-soft);text-align:center;margin:0 0 11px}
.g-row.solo img{width:62px}

/* one big showcase tile (Joker / White Dragon) */
.g-bigtile{text-align:center;margin:2px 0 12px}
.g-bigtile img{width:clamp(132px,36vw,168px);height:auto}

/* the flower shelf */
.g-row.flowers img{width:38px;border-radius:0}

/* ---------- our own sketch of the card (module 2) ---------- */
.g-map{border:1.5px solid var(--line);border-radius:var(--r-md);background:var(--paper);padding:14px 14px 10px;margin:4px 0 14px;box-shadow:var(--shadow)}
.g-map-cols{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.g-map-cols span{font-family:'Nunito',sans-serif;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-align:center;padding:7px 4px;border-radius:999px}
.g-map-x{background:var(--mist);color:var(--jade)}
.g-map-c{background:var(--pale);color:var(--ink-soft)}
.g-map-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.g-map-cell{border:1px dashed var(--rose-d);border-radius:12px;background:linear-gradient(170deg,#fff,var(--pale));padding:10px 6px;text-align:center;font-family:'Fraunces',Georgia,serif;font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.25}
.g-map-cell i{display:block;font-family:'Nunito',sans-serif;font-size:11px;font-weight:700;font-style:normal;color:var(--ink-soft);margin-top:3px}
.g-map-note{font-family:'Nunito',sans-serif;font-size:12.5px;color:var(--ink-soft);text-align:center;margin:10px 0 0}

/* ---------- abbreviation legend ---------- */
.g-legend{width:100%;border-collapse:collapse;margin:4px 0 14px;font-family:'Nunito',sans-serif;font-size:14.5px}
.g-legend th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);text-align:left;padding:6px 10px;border-bottom:2px solid var(--line)}
.g-legend td{padding:7px 10px;border-bottom:1px solid var(--line);color:var(--ink);vertical-align:top}
.g-legend tr:last-child td{border-bottom:none}
.g-legend td:first-child{font-weight:800;color:var(--jade);white-space:nowrap;width:1%}

/* ---------- bottom buttons: 1cm under the last card, uniform pair ---------- */
.g-main .page-cta{padding:1cm 0 64px;gap:14px}
.g-main .page-cta .btn{margin:0;min-width:260px}

/* ---------- FAQ section: bare Q/A content gets real padding + rhythm ---------- */
#faq{padding:30px 30px 12px}
#faq h2{font-size:clamp(24px,4.4vw,34px)}
#faq .g-sub{font-family:'Nunito',sans-serif;font-size:15px;color:var(--ink-soft);margin:8px 0 2px}
#faq h3{font-size:20px;line-height:1.35;margin:20px 0 6px}
#faq h3:first-of-type{margin-top:16px}
#faq p{font-family:'Nunito',sans-serif;font-size:15.5px;line-height:1.7;color:var(--ink);margin:0 0 8px}
#faq p:last-child{margin-bottom:6px}

/* ---------- narrow screens ---------- */
@media (max-width:560px){
  .g-head{padding:0.8px 48px 0.8px 22px}
  .g-dot{left:9px;top:12px}
  .g-step{font-size:11px;padding:2px 10px 2px 11px;margin-right:10px;top:-3px}
  .g-body-in{padding:2px 18px 20px}
  .g-row img{width:38px}
  .g-row.flowers img{width:32px}
  .g-row.solo img{width:52px}
  .g-map-grid{grid-template-columns:repeat(2,1fr)}
  .g-mod h2{font-size:29px}
  #faq{padding:24px 18px 8px}
  #faq h3{font-size:18px}
  #faq p{font-size:15px}
}

/* desktop only: banner lede stays on one line */
@media (min-width:921px){
  .page-banner .lede{max-width:none;white-space:nowrap}
}

/* desktop only: every card 100px tall, labels centered; mobile untouched */
@media (min-width:921px){
  .g-sec{padding:26.75px 0}
  .g-head{text-align:center}
}
