/* Ocoee Tax Facts: shared content styles for Amendment 3 and How Did We Get Here pages.
   Load after shared-site.css and type-scale.css. */
:root{
  --tf-navy:#17345f;--tf-navy-2:#12366f;--tf-purple:#5b247a;--tf-purple-2:#4b2e83;
  --tf-gold:#d8a400;--tf-gold-soft:#fff6d9;--tf-ink:#243041;--tf-muted:#56637a;
  --tf-line:#dce3ee;--tf-surface:#f5f7fb;--tf-lilac:#f3eef8;--tf-red:#8f2d2d;--tf-red-soft:#fbeeee;
  --tf-green:#2f6b4f;--tf-green-soft:#eaf4ee;--tf-max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--tf-ink);font-family:"Segoe UI",Arial,Helvetica,sans-serif}
a{color:var(--tf-navy);text-underline-offset:3px}
a:hover{color:var(--tf-purple)}
.tf-wrap{width:min(var(--tf-max),calc(100% - 40px));margin:0 auto}
.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:#fff;color:#000;padding:.75rem 1rem;font-weight:700}
.skip-link:focus{left:1rem;top:1rem}
:focus-visible{outline:3px solid var(--tf-gold);outline-offset:3px}
main:focus{outline:none}

/* Page intro */
.tf-intro{padding:34px 0 30px;background:linear-gradient(180deg,#f7f8fc 0%,#fff 100%);border-bottom:1px solid var(--tf-line)}
.tf-intro h1{margin:0 0 12px;color:var(--tf-navy-2);font-size:clamp(24px,2.6vw,32px);line-height:1.2;letter-spacing:-.01em;text-wrap:pretty}
.tf-intro .lead{max-width:72ch;margin:0;color:#3b475b;font-size:16px;line-height:1.65}
.tf-intro .lead{max-width:100ch;line-height:1.7}
.tf-intro .lead-follow{margin-top:11px}
.tf-intro-copy{width:100%;padding:18px 22px;border:1px solid var(--tf-line);border-left:4px solid var(--tf-gold);border-radius:10px;background:#fff}
.tf-intro .tf-intro-copy .lead{max-width:none;width:100%}
.tf-fact.tf-fact-exemption strong{font-size:clamp(17px,1.8vw,20px);white-space:nowrap;letter-spacing:-.025em}
.tf-fact.tf-fact-exemption strong small{font-size:.65em;font-weight:650;letter-spacing:0}
@media(max-width:500px){.tf-intro-copy{padding:15px 16px}.tf-fact.tf-fact-exemption strong{font-size:clamp(17px,4vw,20px)}}
.tf-stamp{display:inline-block;margin-top:14px;padding:6px 11px;border-radius:6px;background:var(--tf-lilac);color:var(--tf-purple-2);font-size:13px;font-weight:600}

/* Fact strip */
.tf-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}
.tf-fact{padding:16px 16px 14px;border:1px solid var(--tf-line);border-radius:10px;background:#fff}
.tf-fact strong{display:block;color:var(--tf-navy);font-size:22px;line-height:1.15}
.tf-fact span{display:block;margin-top:6px;color:var(--tf-muted);font-size:13.5px;line-height:1.45}

/* Sections */
.tf-section{padding:40px 0;border-top:1px solid var(--tf-line)}
.tf-section.alt{background:var(--tf-surface)}
.tf-section h2{margin:0 0 8px;color:var(--tf-navy);font-size:clamp(20px,2vw,25px);line-height:1.25;text-wrap:pretty}
.tf-section .tf-sub{max-width:74ch;margin:0 0 22px;color:#44516a;font-size:15.5px;line-height:1.65}
.tf-section h3{margin:0 0 6px;color:var(--tf-navy);font-size:17px;line-height:1.3}
.tf-section p{line-height:1.65}

.tf-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tf-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tf-card{padding:20px;border:1px solid var(--tf-line);border-radius:12px;background:#fff}
.tf-card p{margin:.4rem 0 0;color:#3f4b60}
.tf-card ul{margin:.5rem 0 0;padding-left:1.1rem}
.tf-card li{margin:.4rem 0;color:#3f4b60;line-height:1.55}

/* Numbered change list: the content is a real list of separate changes */
.tf-changes{display:grid;gap:12px;margin:0;padding:0;list-style:none;counter-reset:chg}
.tf-changes li{counter-increment:chg;display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start;padding:16px 18px;border:1px solid var(--tf-line);border-radius:12px;background:#fff}
.tf-changes li::before{content:counter(chg);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--tf-navy);color:#fff;font-weight:700;font-size:15px}
.tf-changes p{margin:.3rem 0 0;color:#3f4b60}

/* Protected / not protected */
.tf-sort{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tf-col{border-radius:12px;border:1px solid var(--tf-line);background:#fff;overflow:hidden}
.tf-col .tf-col-head{padding:14px 18px;border-bottom:1px solid var(--tf-line)}
.tf-col .tf-col-head h3{margin:0;font-size:16.5px}
.tf-col .tf-col-head p{margin:4px 0 0;font-size:13.5px;color:var(--tf-muted);line-height:1.45}
.tf-col ul{margin:0;padding:6px 0;list-style:none}
.tf-col li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding:10px 18px;line-height:1.5;color:#34405a;font-size:14.5px}
.tf-col li+li{border-top:1px solid #eef1f6}
.tf-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:700;margin-top:1px}
.tf-col.same header{background:var(--tf-green-soft)}.tf-col.same .tf-mark{background:var(--tf-green);color:#fff}
.tf-col.listed header{background:#eef2f9}.tf-col.listed .tf-mark{background:var(--tf-navy);color:#fff}
.tf-col.open header{background:var(--tf-red-soft)}.tf-col.open .tf-mark{background:var(--tf-red);color:#fff}

/* Then and now comparison */
.tf-compare{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--tf-line);border-radius:12px;overflow:hidden;background:#fff;font-size:14.5px}
.tf-compare caption{text-align:left;padding:0 0 10px;color:var(--tf-muted);font-size:13.5px}
.tf-compare th,.tf-compare td{padding:14px 16px;text-align:left;vertical-align:top;line-height:1.55;border-bottom:1px solid #eef1f6}
.tf-compare thead th{background:var(--tf-navy);color:#fff;font-size:13.5px;font-weight:700}
.tf-compare tbody th{width:20%;color:var(--tf-navy);font-weight:700;background:#fafbfd}
.tf-compare tbody tr:last-child th,.tf-compare tbody tr:last-child td{border-bottom:0}
.tf-compare td.now{background:#fffdf5}
.tf-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Callouts */
.tf-note{margin-top:20px;padding:16px 18px;border-left:4px solid var(--tf-gold);border-radius:8px;background:var(--tf-gold-soft);color:#3d3413;line-height:1.6}
.tf-note strong{color:#2e2708}
.tf-quote{margin:14px 0 0;padding:14px 18px;border-radius:10px;background:var(--tf-lilac);color:#35264a;line-height:1.65;font-size:15px}

/* Timeline (dated sequence) */
.tf-timeline{position:relative;margin:8px 0 0;padding:0;list-style:none}
.tf-timeline::before{content:"";position:absolute;left:10px;top:6px;bottom:6px;width:2px;background:#cfd7e6}
.tf-timeline li{position:relative;padding:0 0 22px 38px}
.tf-timeline li::before{content:"";position:absolute;left:3px;top:5px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--tf-navy)}
.tf-timeline li.state::before{border-color:var(--tf-gold)}
.tf-timeline li.fire::before{border-color:#a0392f}
.tf-timeline li.now::before{background:var(--tf-purple);border-color:var(--tf-purple)}
.tf-timeline time,.tf-timeline .when{display:block;color:var(--tf-muted);font-size:13px;font-weight:700}
.tf-timeline h3{margin:2px 0 4px;font-size:16px}
.tf-timeline p{margin:0;color:#3f4b60;max-width:78ch}
.tf-key{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 18px;padding:0;list-style:none;font-size:13.5px;color:var(--tf-muted)}
.tf-key li{display:flex;align-items:center;gap:7px}
.tf-key i{display:inline-block;width:12px;height:12px;border-radius:50%;border:3px solid var(--tf-navy)}
.tf-key i.state{border-color:var(--tf-gold)}.tf-key i.fire{border-color:#a0392f}

/* Estimator */
.tf-calc{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:22px;padding:22px;border:1px solid var(--tf-line);border-radius:14px;background:#fff}
.tf-calc label{display:block;font-weight:700;color:var(--tf-navy);margin-bottom:6px}
.tf-calc .hint{margin:6px 0 0;font-size:13px;color:var(--tf-muted)}
.tf-input{width:100%;padding:11px 12px;border:1px solid #b9c4d6;border-radius:8px;font:inherit;font-size:17px;color:var(--tf-ink)}
.tf-range{width:100%;margin-top:14px;accent-color:var(--tf-purple)}
.tf-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tf-chips button{padding:7px 12px;border:1px solid #c9d2e1;border-radius:999px;background:#fff;color:var(--tf-navy);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.tf-chips button[aria-pressed="true"]{background:var(--tf-navy);border-color:var(--tf-navy);color:#fff}
.tf-bars{display:grid;gap:14px}
.tf-bar-row{display:grid;grid-template-columns:130px minmax(0,1fr) 92px;gap:12px;align-items:center}
.tf-bar-row .lbl{font-size:14px;font-weight:700;color:var(--tf-navy);line-height:1.3}
.tf-bar-row .lbl small{display:block;font-weight:400;color:var(--tf-muted);font-size:12.5px}
.tf-bar-track{height:26px;border-radius:6px;background:#edf0f6;overflow:hidden}
.tf-bar-fill{height:100%;width:0;border-radius:6px;background:var(--tf-navy);transition:width .5s ease}
.tf-bar-row.y27 .tf-bar-fill{background:var(--tf-purple)}
.tf-bar-row.y28 .tf-bar-fill{background:var(--tf-gold)}
.tf-bar-row .amt{font-weight:700;color:var(--tf-ink);text-align:right;font-variant-numeric:tabular-nums}
.tf-calc-out p{margin:14px 0 0;color:#3f4b60;font-size:14px}

/* Impact bars (static data) */
.tf-impact{display:grid;gap:10px;margin-top:6px}
.tf-impact .row{display:grid;grid-template-columns:110px minmax(0,1fr) 110px;gap:12px;align-items:center;font-size:14px}
.tf-impact .row span:first-child{font-weight:700;color:var(--tf-navy)}
.tf-impact .track{height:20px;background:#edf0f6;border-radius:5px;overflow:hidden}
.tf-impact .fill{height:100%;background:linear-gradient(90deg,var(--tf-purple),var(--tf-navy));border-radius:5px}
.tf-impact .val{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}

/* Sources */
.tf-sources{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.tf-sources li{padding:13px 16px;border:1px solid var(--tf-line);border-radius:8px;background:#fff;line-height:1.5}
.tf-sources a{font-weight:700}
.tf-sources span{display:block;color:var(--tf-muted);font-size:13.5px;margin-top:2px}

/* Motion: one entrance, respects reduced motion */
@media (prefers-reduced-motion:no-preference){
  .tf-rise{animation:tfRise .5s ease both}
  @keyframes tfRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

@media (max-width:980px){
  .tf-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tf-sort,.tf-grid3{grid-template-columns:1fr}
  .tf-calc{grid-template-columns:1fr}
}
@media (max-width:700px){
  .tf-wrap{width:calc(100% - 28px)}
  .tf-grid2{grid-template-columns:1fr}
  .tf-bar-row{grid-template-columns:96px minmax(0,1fr) 78px}
  .tf-impact .row{grid-template-columns:78px minmax(0,1fr) 92px}
  .tf-compare{font-size:14px}
  .tf-compare tbody th{width:auto}
}
@media (max-width:460px){.tf-facts{grid-template-columns:1fr}}
@media (max-width:620px){.tf-facts{grid-template-columns:1fr}}
@media print{.ocoee-site-navbar,.skip-link{display:none}.tf-section{break-inside:avoid}}
