
  /* ===== guide hero ===== */
  .guide-hero { padding-top: clamp(48px, 7vw, 84px); }
  .guide-hero .eyebrow { margin-bottom: 20px; }
  .guide-hero h1 { font-size: clamp(40px, 6.5vw, 78px); margin-bottom: 22px; max-width: 15ch; }
  .guide-hero .lede { margin-bottom: 30px; }
  .guide-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .guide-hero__meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 26px; font-size: 14px; color: var(--ink-soft); }
  .guide-hero__meta b { color: var(--ink); font-weight: 600; }

  /* sub-nav */
  .guide-nav { position: sticky; top: 72px; z-index: 40; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .guide-nav__inner { display: flex; gap: 4px; overflow-x: auto; }
  .guide-nav a { white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 16px 16px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
  .guide-nav a:hover { color: var(--ink); border-bottom-color: var(--sand); }
  @media (max-width:760px){ .guide-nav { top: 64px; } }

  .section-head { margin-bottom: 40px; }
  .section-head .part { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--sand-deep); margin-bottom: 8px; }
  .section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 16px; max-width: 20ch; }
  .section-head .lede { max-width: 60ch; }
  :target { scroll-margin-top: 130px; }

  /* tabs */
  .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
  .tab-btn { font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; transition: all .15s; }
  .tab-btn:hover { border-color: var(--sand); color: var(--ink); }
  .tab-btn.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
  .tab-panel { display: none; }
  .tab-panel.active { display: block; animation: fade .35s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity:1; transform:none; } }

  /* jurisdiction card */
  .juris { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
  .juris__head { background: var(--ink); color: var(--ivory); padding: 26px clamp(22px,3vw,34px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
  .juris__name { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); }
  .grade { background: var(--sand); color: #1d1810; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 7px 16px; border-radius: 999px; white-space: nowrap; }
  .juris__feel { padding: 26px clamp(22px,3vw,34px); border-left: 3px solid var(--sand); background: var(--sand-wash); }
  .juris__feel .feel-lbl { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: 10px; font-weight: 600; }
  .juris__feel p { line-height: 1.7; color: var(--ink); font-size: 15.5px; }
  .juris__body { padding: 26px clamp(22px,3vw,34px); }
  .spots-lbl { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: 4px; font-weight: 600; }
  .spot { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
  .spot:last-child { border-bottom: none; }
  .spot b { color: var(--ink); font-weight: 600; }
  .stats { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 24px; border-top: 1px solid var(--line); }
  .stats tr { border-bottom: 1px solid var(--line-soft); }
  .stats td { padding: 13px 4px; vertical-align: top; color: var(--ink-soft); }
  .stats td:first-child { font-weight: 600; color: var(--ink); width: 34%; padding-right: 18px; }

  /* data tables */
  .tbl-title { font-family: var(--display); font-size: clamp(20px,2.4vw,26px); margin: 40px 0 8px; }
  .tbl-note { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 18px; }
  .tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
  table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
  table.data th { background: var(--ink); color: var(--ivory); text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 14px 18px; }
  table.data td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
  table.data tr:last-child td { border-bottom: none; }
  table.data tbody tr:nth-child(even) td { background: var(--paper); }
  table.data td:first-child, table.data td strong { color: var(--ink); }

  .tips { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
  @media (max-width:680px){ .tips { grid-template-columns: 1fr; } }
  .tip { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--sand); border-radius: 12px; padding: 20px 22px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

  /* price snapshot */
  .prices { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 44px; }
  @media (max-width:880px){ .prices { grid-template-columns: repeat(2,1fr); } }
  @media (max-width:460px){ .prices { grid-template-columns: 1fr; } }
  .price { background: var(--paper); border: 1px solid var(--line); border-bottom: 3px solid var(--sand); border-radius: 14px; padding: 22px 18px; text-align: center; }
  .price .area { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: 10px; font-weight: 600; }
  .price .amt { font-family: var(--display); font-size: 28px; color: var(--ink); }
  .price .rent { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }

  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px; }
  @media (max-width:620px){ .compare { grid-template-columns: 1fr; } }
  .compare-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--sand); border-radius: 14px; padding: 26px; }
  .compare-card h3 { font-family: var(--display); font-size: 22px; margin-bottom: 16px; }
  .crow { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; color: var(--ink-soft); }
  .crow:last-child { border-bottom: none; }
  .crow b { color: var(--ink); }
  .reasons { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 26px 0 32px; }
  @media (max-width:760px){ .reasons { grid-template-columns: 1fr; } }
  .reason { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
  .reason b { display: block; font-family: var(--display); font-size: 18px; color: var(--ink); margin-bottom: 8px; font-weight: 500; }
  .callout { background: var(--spruce); color: var(--ivory); border-radius: 16px; padding: 30px clamp(24px,3vw,38px); font-size: 16px; line-height: 1.7; }
  .callout b { color: var(--sand); }

  /* guide contact / QR */
  .guide-cta__inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px,5vw,64px); align-items: center; }
  @media (max-width:780px){ .guide-cta__inner { grid-template-columns: 1fr; } }
  .guide-cta h2 { font-size: clamp(30px,4.2vw,52px); color: var(--ivory); margin-bottom: 18px; max-width: 16ch; }
  .guide-cta p { color: rgba(244,239,230,.78); margin-bottom: 28px; max-width: 48ch; }
  .guide-cta__contacts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-bottom: 30px; }
  .guide-cta__contacts .lbl { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
  .guide-cta__contacts a, .guide-cta__contacts span { color: var(--ivory); font-size: 15.5px; }
  .qr-card { background: var(--ivory); border-radius: 18px; padding: 26px; text-align: center; }
  #qrcode { display: inline-block; }
  #qrcode img, #qrcode canvas { border-radius: 8px; }
  .qr-card p { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 14px; }
