/* =============================================================================
   PETER LOHMANN - WEBSITE SHARED STYLES
   One stylesheet, linked by every page. Change a value here and it updates the
   whole site. Design system carried over from the 2026 media kit, refreshed 2026
   with the Inter type family + bolder headings inspired by pmtrends.com.
   ========================================================================== */

/* Inter font family (workhorse: body, labels, all the big stat/rank numbers). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
/* Bely Display (Peter's LOGO font) via his Adobe Fonts kit — powers every header site-wide.
   One import here = it applies to every page automatically. Kit ships weight 400 only. */
@import url('https://use.typekit.net/dik1zcl.css');

/* ---------- DESIGN TOKENS ---------- */
:root{
  --primary:#2C7CB0;      /* steel blue */
  --primary-dark:#256a98;
  --navy:#1F3A4D;         /* text / headers */
  --wash:#DCE7EF;         /* light blue-gray section wash */
  --wash-soft:#eef4f9;
  --orange:#E0703C;       /* single accent, used sparingly */
  --orange-dark:#c95e2d;
  --ink:#1F3A4D;
  --muted:#5f7280;
  --muted-2:#8496a2;
  --line:#dce4ec;
  --card:#ffffff;
  /* accent tints for tasteful splashes of color (all on-brand: blue / orange / navy) */
  --sky:#7FB4DD;          /* light blue */
  --sky-soft:#dbeafc;
  --gold:#E0703C;         /* (was yellow) now PL orange */
  --gold-soft:#fbe4d6;    /* light peach */
  --mint:#1F3A4D;         /* (was green) now PL navy */
  --mint-soft:#e3e9f1;    /* light blue-gray */
  --peach-soft:#fbe1d3;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 1px 2px rgba(31,58,77,.05), 0 8px 24px rgba(31,58,77,.06);
  --shadow-lg:0 2px 4px rgba(31,58,77,.06), 0 18px 48px rgba(31,58,77,.12);
  --sans:"muli","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif;  /* Muli (body/UI), Inter = backup */
  --display:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;  /* Inter, for big numbers/stats (Muli lacks the heavy weights) */
  --serif:"bely-display",Georgia,"Times New Roman",serif;  /* Bely Display (headers), Georgia/Times = backup */
  --maxw:1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:#fff; color:var(--ink);
  font-family:var(--sans); line-height:1.55; font-size:17px;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{ color:var(--primary); text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ font-family:var(--serif); line-height:1.15; letter-spacing:0; color:var(--navy); margin:0; font-weight:400; }
p{ margin:0 0 1em; }
::selection{ background:var(--wash); }

/* decorative tricolor tick marks (a small pmtrends-style flourish for heroes) */
.ticks{ display:flex; gap:7px; margin-bottom:18px; }
.ticks i{ display:block; width:26px; height:5px; border-radius:3px; background:var(--primary); }
.ticks i:nth-child(2){ background:var(--gold); }
.ticks i:nth-child(3){ background:var(--mint); }

a:focus-visible,button:focus-visible{
  outline:3px solid var(--primary); outline-offset:3px; border-radius:6px;
}

/* skip link */
.skip{ position:absolute; left:-999px; top:8px; background:var(--navy); color:#fff;
       padding:10px 16px; border-radius:8px; z-index:200; }
.skip:focus{ left:12px; }

/* screen-reader only */
.sr-only{ position:absolute; left:-9999px; }

/* ---------- LAYOUT ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ scroll-margin-top:72px; }
.band{ padding:88px 0; }
.band.tight{ padding:60px 0; }
.band.wash{ background:var(--wash-soft); }

.kicker{
  display:inline-block; background:var(--wash); color:var(--primary-dark);
  font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 14px; border-radius:999px; margin-bottom:18px;
}
.h-lead{ font-size:clamp(30px,4.4vw,46px); margin-bottom:10px; }
.sub{ color:var(--muted); font-size:clamp(17px,2vw,20px); max-width:62ch; margin:0 0 8px; }

.center{ text-align:center; }
.mt-sm{ margin-top:10px; } .mt-md{ margin-top:24px; } .mt-lg{ margin-top:40px; }

/* ---------- NAV ---------- */
nav.top{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.85); backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
/* slim tricolor accent line under the nav (pmtrends-style splash of color) */
nav.top::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:3px;
  background:linear-gradient(90deg,var(--primary) 0%,var(--primary) 33%,var(--gold) 33%,var(--gold) 66%,var(--mint) 66%,var(--mint) 100%);
}
nav.top .bar{ display:flex; align-items:center; gap:20px; height:58px; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
nav.top .brand{ font-family:var(--serif); font-weight:400; color:var(--navy); letter-spacing:0; font-size:21px; white-space:nowrap; }
nav.top .brand:hover{ text-decoration:none; }
nav.top .brand span{ color:var(--primary); }
nav.top .links{ display:flex; gap:20px; margin-left:14px; flex:1; flex-wrap:wrap; }
nav.top .links a{ color:var(--navy); font-size:14.5px; font-weight:500; white-space:nowrap; }
nav.top .links a:hover{ color:var(--primary); text-decoration:none; }
nav.top .links a.active{ color:var(--primary); font-weight:600; }
nav.top .cta{ margin-left:auto; }

/* mobile menu toggle (hidden on desktop) */
.nav-toggle{ display:none; margin-left:auto; background:#fff; border:1px solid var(--line);
             border-radius:10px; padding:8px 12px; font-size:15px; font-weight:600; color:var(--navy); cursor:pointer; }

/* ---------- BUTTONS ---------- */
.btn{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:16px;
      border-radius:999px; padding:12px 24px; border:1px solid transparent; cursor:pointer;
      transition:transform .15s ease, box-shadow .15s ease, background .15s ease; white-space:nowrap; }
.btn:hover{ text-decoration:none; transform:translateY(-1px); }
.btn-primary{ background:var(--orange); color:#fff; box-shadow:0 6px 18px rgba(224,112,60,.28); }
.btn-primary:hover{ background:var(--orange-dark); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:#16303f; }
.btn-blue{ background:var(--primary); color:#fff; box-shadow:0 6px 18px rgba(44,124,176,.24); }
.btn-blue:hover{ background:var(--primary-dark); }
.btn-ghost{ background:#fff; color:var(--navy); border-color:var(--line); }
.btn-ghost:hover{ background:var(--wash-soft); }
.btn-sm{ padding:9px 18px; font-size:14px; }

/* ---------- CARDS ---------- */
.grid{ display:grid; gap:22px; }
.g2{ grid-template-columns:repeat(2,1fr); }
.g3{ grid-template-columns:repeat(3,1fr); }
.g4{ grid-template-columns:repeat(4,1fr); }
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
       padding:26px; box-shadow:var(--shadow); }
.card h3{ font-size:20px; margin-bottom:8px; }
.card p{ color:var(--muted); font-size:15.5px; margin:0; }

/* clickable "explore" cards (link the whole card) */
a.card{ display:block; color:inherit; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.card:hover{ text-decoration:none; transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:#c7d6e2; }
a.card .arrow{ color:var(--primary); font-weight:700; font-size:15px; margin-top:14px; display:inline-block; }
a.card:hover .arrow{ color:var(--orange-dark); }

.icon-badge{ width:44px; height:44px; border-radius:12px; background:var(--wash); color:var(--primary-dark);
             display:flex; align-items:center; justify-content:center; font-weight:700; font-size:20px; margin-bottom:14px; }
/* Large faded line-icon watermark behind each explore card (replaces the old emoji badges) */
a.card{ position:relative; overflow:hidden; }
.card-ic{ position:absolute; bottom:18px; right:18px; width:84px; height:84px;
          color:var(--primary); opacity:.09; pointer-events:none; z-index:0; }
a.card > h3, a.card > p, a.card > .arrow{ position:relative; z-index:1; }
a.card:hover .card-ic{ opacity:.14; transition:opacity .16s ease; }
.num-badge{ width:38px; height:38px; border-radius:10px; background:var(--wash); color:var(--primary-dark);
            display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:14px; }

/* ---------- HERO ---------- */
.hero{ position:relative; overflow:hidden;
       background:
         radial-gradient(1200px 480px at 78% -8%, rgba(44,124,176,.14), transparent 60%),
         radial-gradient(900px 420px at 0% 105%, rgba(220,231,239,.7), transparent 55%),
         linear-gradient(180deg,#fff 0%, #f7fafc 100%);
     }
.hero .wrap{ padding-top:88px; padding-bottom:96px; }
.hero .eyebrow{ color:var(--primary); font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:clamp(14px,2vw,17px); margin-bottom:16px; }
.hero h1{ font-size:clamp(44px,6.6vw,86px); font-weight:400; line-height:1.0; letter-spacing:0; margin-bottom:20px; }
.hero .subtitle{ font-size:clamp(18px,2.2vw,23px); color:var(--navy); font-weight:600; margin-bottom:14px; }
.hero .tagline{ font-size:clamp(17px,2vw,20px); color:var(--muted); max-width:46ch; margin-bottom:30px; }
.hero .cta-row{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-bottom:28px; }
.hero .foot{ color:var(--muted-2); font-size:15px; }
.hero .foot a{ color:var(--primary); }

/* two-column hero: photo above text on mobile, beside it on wider screens */
.hero-grid{ display:flex; flex-direction:column-reverse; gap:30px; align-items:flex-start; }
.hero-photo{ align-self:center; position:relative; padding-top:40px; }
/* the circle: orange-to-blue gradient FILL + PL-blue border. Peter's head pokes out the top. */
.hero-portrait{ position:relative; width:236px; height:236px; }
.hero-portrait::before{ content:""; position:absolute; inset:0; border-radius:50%; z-index:0;
  background:linear-gradient(158deg, var(--sky) 0%, var(--primary) 46%, var(--orange) 112%);
  border:6px solid var(--primary); box-shadow:0 20px 50px rgba(31,58,77,.22); }
/* body layer: clipped to the circle so shoulders stay inside */
.hp-clip{ position:absolute; inset:0; border-radius:50%; overflow:hidden; z-index:1; }
.hp-clip img{ position:absolute; left:50%; bottom:-3%; transform:translateX(-49%); width:114%; max-width:none; height:auto; }
/* head layer: same image on top, masked to reveal only the head poking above the circle */
.hp-pop{ position:absolute; left:50%; bottom:-3%; transform:translateX(-49%); width:114%; max-width:none; height:auto; z-index:2;
  pointer-events:none; display:block;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 38%,transparent 52%);
          mask-image:linear-gradient(to bottom,#000 0,#000 38%,transparent 52%); }
.hp-pop img{ display:block; width:100%; height:auto; }
/* floating stat badge overlapping the photo */
.hero-badge{ position:absolute; z-index:3; left:-14px; bottom:14px;
  background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg);
  padding:11px 16px; display:flex; align-items:center; gap:10px; }
.hero-badge .bn{ font-family:var(--display); font-weight:900; font-size:22px; color:var(--primary-dark); letter-spacing:-.02em; line-height:1; }
.hero-badge .bl{ font-size:12px; color:var(--muted); line-height:1.25; max-width:12ch; }
@media (min-width:900px){
  .hero-grid{ display:grid; grid-template-columns:1fr auto; gap:64px; align-items:center; }
  .hero-portrait{ width:348px; height:348px; }
  .hero-badge .bn{ font-size:26px; }
}

/* page hero (shorter, for interior pages) */
.page-hero{ position:relative; overflow:hidden;
  background:
    radial-gradient(1000px 400px at 85% -20%, rgba(44,124,176,.12), transparent 60%),
    linear-gradient(180deg,#fff 0%, #f7fafc 100%);
  border-bottom:1px solid var(--line);
}
.page-hero .wrap{ padding-top:64px; padding-bottom:56px; }
.page-hero h1{ font-size:clamp(34px,5vw,56px); margin-bottom:14px; }
.page-hero .lead{ font-size:clamp(18px,2.2vw,22px); color:var(--muted); max-width:64ch; }

/* ---------- HEADSHOT ---------- */
.headshot{ border-radius:50%; overflow:hidden; flex:none;
           background:linear-gradient(160deg,var(--primary),var(--navy)); position:relative;
           display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); }
.headshot .mono{ color:#fff; font-weight:700; letter-spacing:.02em; opacity:.92; }
.headshot img{ width:100%; height:100%; object-fit:cover; transform:scale(1.06) translateX(3%); }

/* ---------- ABOUT (text-forward) ---------- */
.prose{ max-width:760px; }
.prose p{ font-size:17.5px; color:var(--navy); }
.prose p.lead{ font-size:24px; font-weight:600; color:var(--primary); line-height:1.32; }

/* ---------- CRANE BANNER (solid gold-on-black) ---------- */
.crane-band{ position:relative; background:#0e0f12; color:#fff; padding:104px 0; overflow:hidden; }
/* faint oversized watermark of the mark */
.crane-watermark{ position:absolute; right:-90px; top:50%; transform:translateY(-50%); width:460px; opacity:.06; pointer-events:none; }
.crane-inner{ position:relative; z-index:1; display:grid; grid-template-columns:auto 1fr; gap:48px; align-items:center; }
.crane-logo img{ width:132px; height:auto; }
.crane-eyebrow{ display:inline-block; color:#bea060; font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:13px; margin-bottom:12px; }
.crane-title{ color:#bea060; font-size:clamp(34px,5vw,52px); margin-bottom:14px;
  font-family:var(--display); font-weight:800; letter-spacing:-.03em; }  /* Crane stays Inter (its own wordmark), NOT the serif */
.crane-band p{ color:#d9dbe0; font-size:clamp(17px,2vw,19px); max-width:60ch; margin:0 0 22px; }
.btn-gold{ background:#bea060; color:#141414; }
.btn-gold:hover{ background:#cdb173; }
@media (max-width:760px){
  .crane-inner{ grid-template-columns:1fr; gap:22px; text-align:center; justify-items:center; }
  .crane-band p{ margin-left:auto; margin-right:auto; }
  .crane-watermark{ display:none; }
}

/* ---------- BUSINESS TILES (the three entities) ---------- */
.biz-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.biz-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
           border-top:4px solid var(--primary); border-radius:var(--radius); padding:0; overflow:hidden;
           box-shadow:var(--shadow); color:inherit;
           transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.biz-card:hover{ text-decoration:none; transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.biz-card.c-crane{ border-top-color:var(--orange); }
.biz-card.c-rl{ border-top-color:var(--navy); }
.biz-body{ display:flex; flex-direction:column; flex:1; padding:28px 28px 24px; }
.biz-eyebrow{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
              color:var(--primary-dark); margin-bottom:12px; }
.biz-card.c-crane .biz-eyebrow{ color:var(--orange-dark); }
.biz-card.c-rl .biz-eyebrow{ color:var(--navy); }
.biz-card h3{ font-size:23px; margin-bottom:10px; }
.biz-card p{ color:var(--muted); font-size:15px; margin:0; flex:1; }
.biz-card .arrow{ color:var(--primary); font-weight:700; font-size:15px; margin-top:18px; display:inline-block; }
.biz-card.c-crane .arrow{ color:var(--orange-dark); }
.biz-card.c-rl .arrow{ color:var(--navy); }
a.biz-card:hover .arrow{ text-decoration:underline; }
/* darkened stat footer that extends off the bottom of each business tile */
.biz-stat{ background:linear-gradient(150deg,var(--navy),#16303f); color:#fff;
           padding:18px 28px; display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.biz-stat .n{ font-size:27px; font-weight:700; letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1; }
.biz-stat .l{ font-size:13px; color:#cdd9e2; line-height:1.35; }
.biz-card .biz-stat .n{ color:#8fc4e6; }              /* PLM: light blue */
.biz-card.c-crane .biz-stat .n{ color:#f0a882; }      /* Crane: light orange */
.biz-card.c-rl .biz-stat .n{ color:#ffffff; }         /* RL: white */
@media (max-width:900px){ .biz-grid{ grid-template-columns:1fr; } }

/* ---------- STAT STRIP ---------- */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.stat{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; text-align:center; box-shadow:var(--shadow); }
.stat .v{ font-family:var(--display); font-size:38px; font-weight:900; color:var(--primary-dark); font-variant-numeric:tabular-nums; letter-spacing:-.03em; }
.stat .k{ color:var(--muted); font-size:14.5px; margin-top:6px; }

/* colorful pastel stat tiles (alternating on-brand blue / peach) */
.stats-color .stat{ border:none; }
.stats-color .stat:nth-child(odd){ background:var(--sky-soft); }
.stats-color .stat:nth-child(even){ background:var(--peach-soft); }
.stats-color .stat .v{ color:var(--navy); font-size:clamp(38px,5vw,52px); }
.stats-color .stat .k{ color:var(--navy); font-weight:600; opacity:.72; }
.stats.g4{ grid-template-columns:repeat(4,1fr); }

/* ---------- APPEARANCES / PRESS LIST (featured page) ---------- */
.ap-head{ font-size:22px; margin:40px 0 2px; }
.ap-note{ color:var(--muted); font-size:14.5px; margin:0 0 4px; }
.appear{ list-style:none; margin:8px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:0 48px; }
.appear.one-col{ grid-template-columns:1fr; }
.appear li{ padding:14px 2px; border-top:1px solid var(--line); }
.appear a.ap-name{ font-weight:700; color:var(--navy); }
.appear a.ap-name:hover{ color:var(--primary); }
.appear .ap-desc{ display:block; color:var(--muted); font-size:14px; margin-top:3px; line-height:1.45; }
.appear .ap-desc a{ font-weight:600; color:var(--primary); text-decoration:underline; }
@media (max-width:760px){ .appear{ grid-template-columns:1fr; } }

/* ---------- LISTS / FEATURE CHECKS ---------- */
ul.feat{ list-style:none; margin:16px 0 0; padding:0; }
ul.feat li{ position:relative; padding-left:26px; margin-bottom:10px; color:var(--navy); font-size:15.5px; }
ul.feat li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--primary); font-weight:700; }

/* ---------- TWO-COLUMN SPLIT ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; gap:28px; } }

/* ---------- CALLOUT PANEL ---------- */
.panel{ background:var(--wash-soft); border:1px solid var(--line); border-radius:var(--radius);
        padding:34px 32px; }
.panel.orange{ background:#fff7f2; border-color:#f3d6c6; border-top:4px solid var(--orange); }

/* ---------- BADGES / TAGS ---------- */
.tag{ display:inline-block; font-size:12.5px; font-weight:600; padding:4px 11px; border-radius:999px; }
.tag-blue{ background:var(--wash); color:var(--primary-dark); }
.tag-warn{ background:#fff3ec; color:var(--orange-dark); border:1px solid #f6d3c1; }
.tag-muted{ background:#f0f3f6; color:#8496a2; border:1px solid #e2e8ee; }

/* ---------- PRICE ROW (products) ---------- */
.price-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.price-card h3{ font-size:21px; margin-bottom:6px; }
.price-card .amt{ font-size:34px; font-weight:700; color:var(--navy); letter-spacing:-.02em; margin:4px 0 12px; }
.price-card .amt small{ font-size:15px; font-weight:600; color:var(--muted); }
.price-card p{ color:var(--muted); font-size:15px; margin:0 0 20px; }
.price-card .btn{ align-self:flex-start; margin-top:auto; }

/* ---------- LARGEST PM LIST: podium, ranking table, data bars, fact cards ---------- */
/* top-3 podium */
.podium{ display:grid; grid-template-columns:1fr 1.15fr 1fr; gap:18px; align-items:end; }
.pod{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px 20px; text-align:center; position:relative; overflow:hidden; }
.pod .pod-badge{ margin:0 auto 14px; }
.pod .pod-doors{ font-family:var(--display); font-weight:900; font-size:clamp(30px,4vw,42px); letter-spacing:-.03em; color:var(--navy); line-height:1; }
.pod .pod-doors small{ font-size:14px; font-weight:600; color:var(--muted); letter-spacing:0; }
.pod .pod-co{ font-weight:700; color:var(--navy); font-size:17px; margin-top:8px; }
.pod .pod-loc{ color:var(--muted); font-size:13.5px; margin-top:2px; }
/* podium stepping: #1 (center) tallest, #2 (left) medium, #3 (right) shortest */
.pod.first{ border-top:4px solid #bea060; box-shadow:var(--shadow-lg); padding-top:54px; }
.pod.second{ border-top:4px solid var(--primary); padding-top:34px; }
.pod.third{ border-top:4px solid var(--navy); padding-top:20px; }
.pod.first .pod-badge{ transform:scale(1.1); margin-bottom:20px; }
.pod.second .pod-badge{ transform:scale(.96); }
.pod.third .pod-badge{ transform:scale(.86); margin-bottom:12px; }
.pod.first .pod-doors{ font-size:clamp(34px,4.8vw,48px); }
.pod.third .pod-doors{ font-size:clamp(26px,3.4vw,36px); }
@media (max-width:680px){
  .podium{ grid-template-columns:1fr; }
  /* stacked on mobile: uniform + natural 1-2-3 order, no scaling */
  .pod.first,.pod.second,.pod.third{ padding-top:26px; }
  .pod.first{ order:1; } .pod.second{ order:2; } .pod.third{ order:3; }
  .pod .pod-badge{ transform:none !important; }
}

/* ranking table (sticky header, zebra rows, emphasized Doors column) */
.table-scroll{ overflow:visible; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); background:#fff; }
.rank-table{ width:100%; border-collapse:collapse; font-size:15px; }
/* Round the table's own outer corners so its header/last row don't poke past the container's rounded corners
   (the container stays overflow:visible so the sticky header keeps working) */
.rank-table thead th:first-child{ border-top-left-radius:var(--radius); }
.rank-table thead th:last-child{ border-top-right-radius:var(--radius); }
.rank-table tbody tr:last-child td:first-child{ border-bottom-left-radius:var(--radius); }
.rank-table tbody tr:last-child td:last-child{ border-bottom-right-radius:var(--radius); }
.rank-table thead th{ position:sticky; top:58px; z-index:3; background:#eef3f8; text-align:left;
  font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--primary-dark);
  padding:14px 16px; border-bottom:2px solid var(--line); white-space:nowrap; }
.rank-table th.num, .rank-table td.num{ text-align:right; }
.rank-table td{ padding:13px 16px; border-bottom:1px solid var(--line); vertical-align:middle; }
.rank-table tbody tr:last-child td{ border-bottom:0; }
/* subtle zebra striping for readability */
.rank-table tbody tr:nth-child(even){ background:#f6f9fc; }
.rank-table tbody tr:hover{ background:var(--wash-soft); }
.rank-table .r-rank{ font-family:var(--display); font-weight:900; color:var(--primary-dark); font-size:16px; width:46px; }
.rank-table tr.top1 .r-rank{ color:#bea060; }
.rank-table .r-co{ font-weight:700; color:var(--navy); }
.rank-table .r-loc{ color:var(--muted); font-size:13px; }
/* Doors: bigger + extra breathing room so it stands out */
.rank-table th.doors-col{ font-size:12.5px; color:var(--navy); }
.rank-table .r-doors{ font-family:var(--display); font-weight:900; color:var(--navy); font-variant-numeric:tabular-nums;
  font-size:19px; padding-left:24px; padding-right:24px; white-space:nowrap; }
.chip-yes{ display:inline-block; background:var(--wash); color:var(--primary-dark); font-size:11px; font-weight:700; padding:3px 11px; border-radius:999px; }
.chip-no{ display:inline-block; background:#f0f3f6; color:#8496a2; border:1px solid #e2e8ee; font-size:11px; font-weight:700; padding:3px 11px; border-radius:999px; }
.rank-note{ color:var(--muted); font-size:13.5px; margin-top:12px; }
@media (max-width:760px){ .rank-table .hide-sm{ display:none; } .rank-table .r-doors{ font-size:17px; padding-left:14px; padding-right:14px; } }

/* horizontal data bars (software, org structure) */
.databars{ margin-top:6px; }
.databar{ margin-bottom:16px; }
.databar .db-top{ display:flex; justify-content:space-between; align-items:baseline; font-size:15px; margin-bottom:7px; }
.databar .db-label{ font-weight:600; color:var(--navy); }
.databar .db-val{ color:var(--muted); font-variant-numeric:tabular-nums; font-weight:600; }
.databar .db-track{ height:14px; background:var(--wash); border-radius:999px; overflow:hidden; }
.databar .db-fill{ display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,var(--primary),var(--primary-dark));
  width:0; transition:width 1s cubic-bezier(.22,.61,.36,1); }
.reveal.in .db-fill, .in .db-fill{ width:var(--w); }
.databar.c2 .db-fill{ background:linear-gradient(90deg,var(--orange),var(--orange-dark)); }
.databar.c3 .db-fill{ background:linear-gradient(90deg,var(--sky),var(--primary)); }
.databar.c4 .db-fill{ background:linear-gradient(90deg,var(--navy),var(--primary-dark)); }

/* fun-fact cards */
.fact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:820px){ .fact-grid{ grid-template-columns:1fr; } }
.fact{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); }
.fact .f-num{ font-family:var(--display); font-weight:900; font-size:clamp(26px,3.4vw,36px); letter-spacing:-.03em; color:var(--primary-dark); line-height:1; }
.fact h3{ font-size:16px; margin:12px 0 6px; }
.fact p{ color:var(--muted); font-size:14.5px; margin:0; }

/* mini state ranking lists */
.state-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; align-items:start; }
@media (max-width:760px){ .state-grid{ grid-template-columns:1fr; } }
/* collapsible state cards (native <details>) */
.state-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.state-card > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 22px; }
.state-card > summary::-webkit-details-marker{ display:none; }
.state-card > summary::marker{ content:""; }
.state-card > summary:hover{ background:var(--wash-soft); }
.sc-title{ display:flex; align-items:center; gap:10px; }
.sc-name{ font-family:var(--sans); font-weight:700; font-size:21px; color:var(--navy); line-height:1.15;
  width:185px; flex:none; }  /* fixed width so every "N ranked" pill lines up down the columns */
@media (max-width:560px){ .sc-name{ width:auto; } .sc-title{ flex-direction:column; align-items:flex-start; gap:5px; } }
.st-count{ font-size:12.5px; font-weight:700; color:var(--muted); background:var(--wash); padding:3px 9px; border-radius:999px; }
.sc-hint{ display:inline-flex; align-items:center; gap:6px; color:var(--primary); font-size:12px; font-weight:600; white-space:nowrap; }
.sc-hint-t::after{ content:"Click to expand"; }
.state-card[open] .sc-hint-t::after{ content:"Click to collapse"; }
.sc-caret{ width:16px; height:16px; transition:transform .2s ease; }
.state-card[open] .sc-caret{ transform:rotate(180deg); }
.state-card .state-list{ padding:0 22px; }
.state-card .state-more{ margin:2px 22px 18px; }
.state-list{ list-style:none; margin:0; padding:0; }
.state-list li{ display:flex; align-items:baseline; gap:12px; padding:9px 0; border-top:1px solid var(--line); }
.state-list li:first-child{ border-top:0; }
.state-list .sl-rank{ font-family:var(--display); font-weight:900; color:var(--primary-dark); width:22px; font-size:14px; }
.state-list .sl-co{ color:var(--navy); font-weight:600; font-size:14.5px; flex:1; }
.state-list .sl-doors{ color:var(--muted); font-variant-numeric:tabular-nums; font-weight:700; font-size:14px; }

/* ---------- BLOG LIST ---------- */
.post-list{ display:grid; gap:2px; }
.post{ display:block; padding:22px 24px; border:1px solid var(--line); border-radius:var(--radius-sm);
       background:#fff; box-shadow:var(--shadow); transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease; margin-bottom:14px; }
.post:hover{ text-decoration:none; transform:translateY(-2px); box-shadow:var(--shadow-lg); border-color:#c7d6e2; }
.post .date{ font-size:13px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--primary-dark); }
.post h3{ font-size:20px; margin:6px 0 6px; color:var(--navy); }
.post p{ color:var(--muted); font-size:15px; margin:0; }

/* ---------- BLOG: image cards + featured banner (visual grid) ---------- */
/* a reusable image placeholder with a soft gradient + label; swap for a real <img>. */
.ph-img{ position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:linear-gradient(135deg,var(--primary),var(--navy));
         display:flex; align-items:center; justify-content:center; }
.ph-img img{ width:100%; height:100%; object-fit:cover; }
.ph-img .ph-note{ color:#fff; font-weight:700; font-size:13px; letter-spacing:.04em; text-transform:uppercase; opacity:.85; padding:0 16px; text-align:center; }
.ph-img.v2{ background:linear-gradient(135deg,var(--sky),var(--primary-dark)); }
.ph-img.v3{ background:linear-gradient(135deg,var(--orange),var(--navy)); }
.ph-img.v4{ background:linear-gradient(135deg,var(--mint),var(--primary-dark)); }
.ph-img.v5{ background:linear-gradient(135deg,var(--gold),var(--orange-dark)); }

/* featured banner post across the top of the blog */
.feature-post{ display:grid; grid-template-columns:1.05fr .95fr; background:#fff; border:1px solid var(--line);
   border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); color:inherit;
   transition:transform .16s ease, box-shadow .16s ease; }
a.feature-post:hover{ text-decoration:none; transform:translateY(-3px); box-shadow:0 24px 60px rgba(31,58,77,.16); }
.feature-post .ph-img{ aspect-ratio:16/9; min-height:0; height:auto; align-self:center; }
.feature-post .fp-body{ padding:34px 34px; display:flex; flex-direction:column; justify-content:center; }
.feature-post .tag{ align-self:flex-start; margin-bottom:14px; }
.feature-post .date{ font-size:13px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--primary-dark); }
.feature-post h2{ font-size:clamp(24px,3vw,34px); margin:8px 0 12px; }
.feature-post p{ color:var(--muted); font-size:16px; margin:0 0 16px; }
.feature-post .arrow{ color:var(--primary); font-weight:700; }
@media (max-width:760px){ .feature-post{ grid-template-columns:1fr; } .feature-post .ph-img{ min-height:200px; } }

/* 3-up card grid for the rest of the posts */
.post-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.post-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
   border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); color:inherit;
   transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.post-card:hover{ text-decoration:none; transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:#c7d6e2; }
.post-card .pc-body{ padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.post-card .date{ font-size:12.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--primary-dark); }
.post-card h3{ font-size:18.5px; margin:7px 0 8px; color:var(--navy); line-height:1.2; }
.post-card p{ color:var(--muted); font-size:14.5px; margin:0; flex:1; }
.post-card .arrow{ color:var(--primary); font-weight:700; font-size:14px; margin-top:14px; }
@media (max-width:900px){ .post-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .post-cards{ grid-template-columns:1fr; } }

/* ---------- MEDIA EMBEDS (podcast video, google sheet) ---------- */
.embed-frame{ position:relative; width:100%; border-radius:var(--radius); overflow:hidden;
   border:1px solid var(--line); box-shadow:var(--shadow-lg); background:#000; }
.embed-frame.video{ aspect-ratio:16/9; }
.embed-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.embed-sheet{ width:100%; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-lg); background:#fff; }
.embed-sheet iframe{ display:block; width:100%; border:0; }
.embed-cap{ color:var(--muted); font-size:14px; margin-top:12px; }

/* ---------- RANK / TOP-COMPANY BADGE (modern, clean) ---------- */
.rank-badge{ display:inline-flex; flex-direction:column; align-items:center; justify-content:center;
   width:112px; height:128px; color:#fff; position:relative; flex:none;
   background:linear-gradient(160deg,var(--primary),var(--navy));
   clip-path:polygon(0 0,100% 0,100% 78%,50% 100%,0 78%);
   box-shadow:var(--shadow-lg); }
.rank-badge.gold{ background:linear-gradient(160deg,var(--gold),var(--orange-dark)); }
.rank-badge .rb-hash{ font-size:15px; font-weight:800; opacity:.85; line-height:1; margin-bottom:2px; }
.rank-badge .rb-num{ font-family:var(--display); font-size:44px; font-weight:900; line-height:1; letter-spacing:-.03em; }
.rank-badge .rb-star{ font-size:15px; margin-top:4px; opacity:.9; }

/* ---------- ARTICLE (individual blog post) ---------- */
.article{ max-width:730px; margin:0 auto; }
.article-back{ display:inline-block; margin-bottom:22px; color:var(--muted); font-weight:600; font-size:14.5px; }
.article-back:hover{ color:var(--primary); text-decoration:none; }
.article-meta{ color:var(--muted); font-size:14px; margin-bottom:12px; font-weight:600; }
.article-meta .cat{ color:var(--primary-dark); text-transform:uppercase; letter-spacing:.06em; }
.article h1{ font-size:clamp(30px,4.6vw,44px); line-height:1.14; margin-bottom:14px; }
.article-cover{ margin:6px 0 26px; }
.article-cover img{ width:100%; height:auto; border-radius:16px; border:1px solid var(--line); box-shadow:var(--shadow); display:block; }
.article .dek{ font-size:20px; color:var(--muted); margin-bottom:10px; line-height:1.5; }
.article-body{ font-size:18px; line-height:1.72; color:var(--ink); margin-top:26px;
               border-top:1px solid var(--line); padding-top:26px; }
.article-body > p:first-child{ font-size:19.5px; }
.article-body p{ margin:0 0 1.25em; }
.article-body h2{ font-size:26px; margin:1.7em 0 .5em; letter-spacing:-.02em; }
.article-body h3{ font-size:21px; margin:1.5em 0 .4em; }
.article-body h4{ font-size:18px; margin:1.4em 0 .3em; color:var(--primary-dark); }
.article-body ul,.article-body ol{ margin:0 0 1.3em; padding-left:1.3em; }
.article-body li{ margin-bottom:.5em; }
.article-body a{ color:var(--primary); text-decoration:underline; }
.article-body strong{ color:var(--navy); font-weight:700; }
.article-body blockquote{ margin:1.6em 0; padding:16px 22px; border-left:4px solid var(--primary);
   background:var(--wash-soft); border-radius:0 12px 12px 0; }
.article-body blockquote p:last-child{ margin-bottom:0; }
.article-body figure{ margin:1.8em 0; }
.article-body figure img{ width:100%; height:auto; border-radius:14px; border:1px solid var(--line); box-shadow:var(--shadow); display:block; }
.article-body img{ max-width:100%; height:auto; border-radius:14px; }
.article-body figcaption{ color:var(--muted-2); font-size:14px; margin-top:10px; text-align:center; }
/* imported embed fallbacks (X posts, other embeds) */
.article-body .embed-note{ margin:1.4em 0; }
.article-body .embed-note a{ display:inline-block; background:var(--wash-soft); border:1px solid var(--line);
  border-radius:999px; padding:8px 16px; font-weight:600; text-decoration:none; }
.article-body .embed-note a:hover{ background:var(--wash); }
.article-body hr{ border:0; border-top:1px solid var(--line); margin:2.4em 0; }
.article-body .disclaimer{ font-style:italic; color:var(--muted); font-size:15px; }
/* a quoted back-and-forth exchange, styled as a small card */
.exchange{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 22px;
           box-shadow:var(--shadow); margin:1.6em 0; }
.exchange p{ margin:0 0 .6em; }
.exchange p:last-child{ margin:0; }
.exchange .who{ color:var(--primary-dark); font-weight:700; }

/* ---------- PODCAST: listen buttons ---------- */
.listen-row{ display:flex; flex-wrap:wrap; gap:12px; }
.listen-btn{ display:inline-flex; align-items:center; gap:9px; background:#fff; border:1px solid var(--line);
   border-radius:12px; padding:12px 20px; font-weight:600; color:var(--navy); box-shadow:var(--shadow);
   transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.listen-btn:hover{ text-decoration:none; border-color:#c7d6e2; transform:translateY(-2px); box-shadow:var(--shadow-lg); }
/* brand-color hover/press on the platform listen buttons (Apple=black, Spotify=green, YouTube=red) */
.listen-btn.apple, .listen-btn.spotify, .listen-btn.youtube{ transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.listen-btn.apple:hover, .listen-btn.apple:focus-visible, .listen-btn.apple:active{ background:#111; border-color:#111; color:#fff; }
.listen-btn.spotify:hover, .listen-btn.spotify:focus-visible, .listen-btn.spotify:active{ background:#1DB954; border-color:#1DB954; color:#fff; }
.listen-btn.youtube:hover, .listen-btn.youtube:focus-visible, .listen-btn.youtube:active{ background:#FF0000; border-color:#FF0000; color:#fff; }

/* ---------- PODCAST: recent episode cards (click-to-play facade) ---------- */
.ep-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.ep-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); transition:transform .16s ease, box-shadow .16s ease; }
.ep-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.ep-player{ position:relative; aspect-ratio:16/9; background:#000; cursor:pointer; overflow:hidden; }
.ep-player img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease, opacity .2s ease; }
.ep-player:hover img{ transform:scale(1.04); opacity:.9; }
.ep-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:54px; height:54px; border-radius:50%;
  background:var(--orange); box-shadow:0 4px 16px rgba(0,0,0,.35); display:flex; align-items:center; justify-content:center; }
.ep-play::after{ content:""; border-style:solid; border-width:9px 0 9px 15px; border-color:transparent transparent transparent #fff; margin-left:3px; }
.ep-player:focus-visible{ outline:3px solid var(--primary); outline-offset:-3px; }
.ep-player iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.ep-body{ padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.ep-date{ font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--primary-dark); margin-bottom:6px; }
.ep-body h3{ font-size:16.5px; line-height:1.25; margin:0 0 14px; color:var(--navy); }
.ep-links{ margin-top:auto; display:flex; gap:8px; }
.ep-btn{ flex:1; text-align:center; font-size:13.5px; font-weight:700; padding:8px 10px; border-radius:10px; border:1px solid var(--line); color:var(--navy); background:#fff; }
.ep-btn:hover{ text-decoration:none; }
.ep-btn.apple{ background:#111; color:#fff; border-color:#111; }
.ep-btn.apple:hover{ background:#000; }
.ep-btn.spotify{ background:#1DB954; color:#fff; border-color:#1DB954; }
.ep-btn.spotify:hover{ background:#1aa74c; }
.ep-btn.youtube{ background:#FF0000; color:#fff; border-color:#FF0000; }
.ep-btn.youtube:hover{ background:#e60000; }
@media (max-width:900px){ .ep-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .ep-grid{ grid-template-columns:1fr; } }

/* ---------- FINAL CTA ---------- */
.cta-final{ background:linear-gradient(150deg,var(--navy),#16303f); color:#fff; border-radius:26px; padding:56px 44px; text-align:center; }
.cta-final h2{ color:#fff; font-size:clamp(28px,4vw,42px); margin-bottom:14px; }
.cta-final p{ color:#cdd9e2; max-width:60ch; margin:0 auto 12px; font-size:17px; }
.cta-final .btn{ margin-top:18px; }
.cta-final a.mail{ color:#8fc4e6; font-weight:600; }

/* ---------- FOOTER ---------- */
footer.site{ padding:40px 0; border-top:1px solid var(--line); color:var(--muted-2); font-size:14px; background:#fbfdff; }
footer.site .foot-grid{ display:flex; flex-wrap:wrap; gap:18px 28px; align-items:center; justify-content:space-between; }
/* footer wordmark matches the nav (Bely Display); !important beats the inline font-weight:700 in the markup */
footer.site .foot-grid .brand{ font-family:var(--serif); font-weight:400 !important; font-size:21px; letter-spacing:0; }
footer.site .foot-links{ display:flex; flex-wrap:wrap; gap:14px 20px; }
footer.site a{ color:var(--muted); font-weight:500; }
footer.site a:hover{ color:var(--primary); }
footer.site .disc{ margin-top:20px; font-size:12.5px; color:var(--muted-2); line-height:1.55; max-width:100%; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal{ opacity:.35; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
.stagger > *{ opacity:.35; transform:translateY(16px); transition:opacity .55s ease, transform .55s ease; }
.stagger.in > *{ opacity:1; transform:none; }
.stagger.in > *:nth-child(2){ transition-delay:.07s; }
.stagger.in > *:nth-child(3){ transition-delay:.14s; }
.stagger.in > *:nth-child(4){ transition-delay:.21s; }
.stagger.in > *:nth-child(5){ transition-delay:.28s; }
.stagger.in > *:nth-child(6){ transition-delay:.35s; }
.stagger.in > *:nth-child(7){ transition-delay:.42s; }
.stagger.in > *:nth-child(8){ transition-delay:.49s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:960px){
  .g4{ grid-template-columns:repeat(2,1fr); }
  .g3{ grid-template-columns:repeat(2,1fr); }
  .stats.g4{ grid-template-columns:repeat(2,1fr); }   /* the 4 "By the Numbers" stat blocks -> 2x2 on mobile (overrides the desktop 4-across) */
}
@media (max-width:820px){
  nav.top .links{
    display:none; position:absolute; top:58px; left:0; right:0; flex-direction:column;
    background:#fff; border-bottom:1px solid var(--line); padding:14px 24px; gap:14px; box-shadow:var(--shadow);
  }
  nav.top .links.open{ display:flex; }
  nav.top .cta{ display:none; }
  .nav-toggle{ display:inline-block; }
}
@media (max-width:720px){
  body{ font-size:16px; }
  .band{ padding:60px 0; }
  .g2,.g3,.g4{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr; }
  .cta-final{ padding:40px 22px; }
  .hero .wrap{ padding-top:60px; padding-bottom:68px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal,.stagger > *{ opacity:1 !important; transform:none !important; transition:none !important; }
  .btn:hover{ transform:none; }
  a.card:hover,.post:hover{ transform:none; }
}

/* =============================================================================
   LARGEST-PM + PER-STATE PAGES (shared so the state pages match the main list)
   Enhancement rules on top of the base .rank-table above. Some are duplicated in
   build-largest-list.py's in-page <style> for the main page; identical + harmless.
   ========================================================================== */
.co-link{ color:inherit; text-decoration:none; }
.co-link:hover{ text-decoration:underline; text-decoration-color:var(--primary); text-underline-offset:2px; }
.rank-wrap{ max-width:1320px; }
.exec-key{ display:inline-flex; align-items:center; gap:5px; white-space:nowrap; color:var(--muted); }
.exec-key .pico{ width:14px; height:14px; flex:none; color:var(--primary-dark); }
.r-sub{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:3px; color:var(--muted); font-size:13px; line-height:1.3; }
.r-sub .r-loc{ color:var(--muted); }
.r-sub .r-dot{ color:#c2ccd4; }
.r-sub .r-exec{ display:inline-flex; align-items:center; gap:5px; color:#8493a0; font-size:12.5px; }
.r-sub .r-exec .pico{ width:13px; height:13px; flex:none; color:#a4b0ba; }
.r-nat{ display:inline-block; margin-left:8px; font-family:var(--display); font-weight:800; font-size:11px; color:#9aa5ad; vertical-align:middle; white-space:nowrap; }
.rank-table th.chg-col{ text-align:center; line-height:1.18; white-space:nowrap; }
.rank-table td.chg{ text-align:center; white-space:nowrap; font-weight:700; font-variant-numeric:tabular-nums; }
.chg-up{ color:#2f9e6b; } .chg-down{ color:#c0492f; } .chg-flat{ color:#9aa5ad; } .chg-na{ color:#9aa5ad; font-weight:400; }
/* Center #, Doors, Software, Structure (header + cells); Company stays left */
.rank-table th.hide-sm, .rank-table td.hide-sm{ padding-left:10px; padding-right:10px; text-align:center; }
.rank-table th.num, .rank-table td.num{ text-align:center; }
.rank-table td.r-rank{ width:34px; padding-left:6px; padding-right:6px; text-align:center; }
.rank-table thead th:first-child{ padding-left:6px; padding-right:6px; text-align:center; }
.rank-table td.r-cell{ padding-left:8px; }
.rank-table thead th:nth-child(2){ padding-left:8px; }
.rank-table .r-co{ font-size:18px; line-height:1.2; }
.rank-table tbody td + td, .rank-table thead th + th{ border-left:1px solid var(--line); }
/* NARPM / Crane / Boom columns — sized + centered (also needed on the per-state pages) */
.rank-table th.yn-col{ width:96px; text-align:center; line-height:1.18; vertical-align:bottom; padding-left:10px; padding-right:10px; }
.rank-table td.yn{ text-align:center; padding-left:10px; padding-right:10px; }
.yn-col .hdr-logo{ display:block; margin:0 auto 5px; height:24px; width:72px; object-fit:contain; }
.yn-col .cust{ display:block; }
td.yn .yn-logo{ display:block; margin:0 auto; height:30px; width:74px; object-fit:contain; }
td.yn .yn-crane{ display:block; margin:0 auto; height:31px; width:auto; }
td.yn .chip-no{ display:inline-block; }
.db-n{ opacity:.6; font-weight:600; }
.grow-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px 30px; }
.grow-list li{ display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); }
.grow-list .gl-rank{ font-family:var(--display); font-weight:900; color:var(--primary-dark); min-width:20px; font-size:14px; }
.grow-list .gl-co{ font-weight:700; color:var(--navy); flex:1; min-width:0; }
.grow-list .gl-pct{ font-weight:800; color:#2f9e6b; font-variant-numeric:tabular-nums; white-space:nowrap; }
.grow-list .gl-detail{ flex-basis:100%; margin-left:30px; color:var(--muted); font-size:12.5px; font-variant-numeric:tabular-nums; }
.back-link{ display:flex; width:fit-content; align-items:center; gap:6px; color:var(--primary); font-weight:600; font-size:14.5px; margin-bottom:16px; }
/* Mobile: swap the horizontal-scroll table for stacked full-width cards */
.rank-cards{ display:none; }
.pmcard{ border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:var(--shadow); padding:16px; }
.pmcard.top1{ border-color:#e4cf93; box-shadow:0 0 0 2px #f4e9c8 inset, var(--shadow); }
.pmc-head{ display:flex; align-items:flex-start; gap:12px; }
.pmc-rank{ font-family:var(--display); font-weight:900; font-size:20px; color:var(--primary-dark); min-width:24px; line-height:1.15; }
.pmcard.top1 .pmc-rank{ color:#bea060; }
.pmc-id{ flex:1; min-width:0; }
.pmc-name{ font-weight:700; color:var(--navy); font-size:17px; line-height:1.22; }
.pmc-doors{ text-align:right; line-height:1.05; flex:none; }
.pmc-dn{ font-family:var(--display); font-weight:900; font-size:20px; color:var(--navy); font-variant-numeric:tabular-nums; display:block; }
.pmc-dl{ font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
.pmc-meta{ margin-top:12px; border-top:1px solid var(--line); padding-top:10px; display:flex; flex-direction:column; gap:7px; }
.pmc-mrow{ display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:14px; }
.pmc-k{ color:var(--muted); }
.pmc-v{ color:var(--navy); font-weight:600; text-align:right; }
.pmc-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.pmc-tag{ display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px; }
.pmc-tag.on{ background:var(--wash); color:var(--primary-dark); }
.pmc-tag.off{ background:#f0f3f6; color:#9aa5ad; border:1px solid #e2e8ee; }
.pmc-tick{ width:12px; height:12px; }
@media (max-width:760px){
  .table-scroll{ display:none; }
  .rank-cards{ display:grid; gap:14px; }
  .grow-list{ grid-template-columns:1fr; }
}

.state-more{ display:inline-block; margin-top:12px; color:var(--primary); font-weight:600; font-size:13.5px; }
.state-more:hover{ text-decoration:underline; }

/* Footer social icons */
.foot-social{ display:flex; gap:15px; align-items:center; margin:20px 0 0; }
.foot-social a{ color:var(--muted); display:inline-flex; transition:color .15s ease; }
.foot-social a:hover{ color:var(--primary); text-decoration:none; }
.foot-social svg{ width:20px; height:20px; display:block; }
/* Inline social row (used mid-page, e.g. contact) */
.social-row{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:10px 0 0; }
.social-row a{ display:inline-flex; align-items:center; gap:8px; padding:9px 15px; border:1px solid var(--line);
  border-radius:999px; color:var(--navy); font-weight:600; font-size:14.5px; background:#fff; transition:border-color .15s, color .15s; }
.social-row a:hover{ border-color:var(--primary); color:var(--primary); text-decoration:none; }
.social-row svg{ width:18px; height:18px; }
/* Crane inclusion callout on product cards */
.crane-callout{ display:inline-flex; align-items:center; gap:7px; margin:2px 0 12px; padding:5px 12px;
  border-radius:999px; background:#f6efdd; color:#8a6d2f; font-weight:700; font-size:12.5px; text-decoration:none; border:1px solid #ecdfbc; }
.crane-callout:hover{ background:#f1e6c9; text-decoration:none; }
.crane-callout svg{ width:14px; height:14px; }

/* Podcast: brand-logo buttons, YouTube CTA, and the blue "other shows" band */
.listen-btn, .ep-btn{ display:inline-flex; align-items:center; gap:7px; }
.pf-ic{ width:17px; height:17px; flex:none; }
.ep-btn .pf-ic{ width:15px; height:15px; }
.btn-yt{ background:#FF0000; color:#fff; }
.btn-yt:hover{ background:#d90000; color:#fff; text-decoration:none; }
.btn-yt .pf-ic{ width:19px; height:19px; }
.k-ic{ width:16px; height:16px; vertical-align:-3px; }
.shows-band{ background:linear-gradient(135deg,#2C7CB0 0%,#245f88 55%,#1F3A4D 100%); }
/* readable kicker on the dark-blue band: translucent white pill, white text */
.shows-band .kicker, .kicker-light{ background:rgba(255,255,255,.18); color:#fff; }
.show-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; max-width:860px; margin-left:auto; margin-right:auto; }
.show-card{ display:flex; align-items:center; gap:16px; text-align:left; background:#fff;
  border-radius:16px; padding:16px; box-shadow:0 10px 30px rgba(15,32,45,.22); }
.show-cover{ width:96px; height:96px; border-radius:12px; object-fit:cover; flex:none; }
.show-cover-fb{ display:flex; align-items:center; justify-content:center; background:var(--wash); color:var(--primary); }
.show-cover-fb svg{ width:34px; height:34px; }
.show-body{ min-width:0; flex:1; }
.show-body h3{ font-size:19px; margin:0 0 12px; }
/* three platform buttons side by side, bigger logos, YouTube red */
.show-links{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.show-btn{ display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  padding:11px 4px; border-radius:11px; font-size:12.5px; font-weight:700; border:1px solid var(--line);
  color:var(--navy); background:#fff; line-height:1; }
.show-btn:hover{ text-decoration:none; border-color:var(--primary); color:var(--primary); }
.show-btn .pf-ic{ width:24px; height:24px; }
/* show-card YouTube button matches Apple/Spotify (neutral, no red) */
@media (max-width:680px){ .show-grid{ grid-template-columns:1fr; } }

/* Inline social icon row (hero foot, blog author strip) */
.inline-social{ display:inline-flex; gap:13px; align-items:center; vertical-align:middle; }
.inline-social a{ color:var(--muted); display:inline-flex; }
.inline-social a:hover{ color:var(--primary); text-decoration:none; }
.inline-social svg{ width:19px; height:19px; }
/* Blog per-post follow strip */
.post-follow{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin:8px 0 0;
  padding:18px 20px; border:1px solid var(--line); border-radius:14px; background:var(--wash-soft); }
.post-follow .pf-label{ font-weight:700; color:var(--navy); }

/* =============================================================================
   TILE-GRID STATE MAP + STATE MODAL (largest-pm page, Phase 2)
   ========================================================================== */
.tilemap-scroll{ position:relative; }
.map-scroll-hint{ display:none; }
.tilemap-wrap{ overflow-x:auto; padding-bottom:8px; }
.tilemap{ display:grid; grid-template-columns:repeat(11,1fr); gap:6px; max-width:720px; margin:0 auto; min-width:520px; }
.tile{ aspect-ratio:1/1; border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-decoration:none; font-weight:800; line-height:1; }
.tile .t-ab{ font-size:13px; letter-spacing:.02em; font-family:var(--display); }
.tile .t-n{ font-size:10.5px; font-weight:700; margin-top:3px; opacity:.85; font-variant-numeric:tabular-nums; }
a.tile{ transition:transform .12s ease, box-shadow .12s ease; }
a.tile:hover{ transform:translateY(-2px) scale(1.05); box-shadow:0 6px 16px rgba(31,58,77,.28); text-decoration:none; z-index:2; }
a.tile:focus-visible{ z-index:2; }
.tile.t0{ background:#eef2f5; color:#aab6bf; }
.tile.t1{ background:#d3e3f0; color:#1F3A4D; }
.tile.t2{ background:#93bfe0; color:#123040; }
.tile.t3{ background:#4d94c6; color:#fff; }
.tile.t4{ background:#245f88; color:#fff; }
.tile-legend{ display:flex; align-items:center; gap:7px; justify-content:center; margin-top:34px; font-size:12.5px; color:var(--muted); }
.tile-legend i{ width:20px; height:20px; border-radius:5px; aspect-ratio:auto; }
@media (max-width:560px){ .tilemap{ min-width:430px; } .tile .t-ab{ font-size:11px; } .tile .t-n{ font-size:9px; }
  .map-scroll-hint{ display:inline-flex; align-items:center; gap:4px; position:absolute; top:-4px; left:50%; transform:translateX(-50%);
    z-index:6; background:var(--navy); color:#fff; font-size:10.5px; font-weight:700; letter-spacing:.02em; padding:3px 11px;
    border-radius:999px; box-shadow:0 2px 9px rgba(31,58,77,.3); pointer-events:none; white-space:nowrap; }
}

.smodal{ position:fixed; inset:0; z-index:1000; display:none; align-items:center; justify-content:center; padding:20px;
  background:rgba(12,20,27,.82); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.smodal.open{ display:flex; }
.smodal-card{ position:relative; background:#fff; border-radius:20px; padding:30px 28px 26px; max-width:640px; width:100%;
  max-height:86vh; overflow-y:auto; box-shadow:0 30px 80px rgba(0,0,0,.4); }
.smodal-close{ position:absolute; top:12px; right:14px; width:36px; height:36px; border:0; border-radius:50%; cursor:pointer;
  background:#f0f3f6; color:var(--navy); font-size:22px; line-height:1; }
.smodal-close:hover{ background:#e2e8ee; }
.sm-head h3{ font-size:23px; margin:0 0 4px; padding-right:30px; }
.sm-stat{ color:var(--muted); font-size:14px; font-weight:600; margin:0 0 16px; font-variant-numeric:tabular-nums; }
.sm-scroll{ overflow-x:auto; margin-bottom:20px; }
.sm-table{ width:100%; border-collapse:collapse; font-size:14px; }
.sm-table thead th{ text-align:left; font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted);
  font-weight:700; padding:0 8px 8px; border-bottom:2px solid var(--line); white-space:nowrap; }
.sm-table td{ padding:9px 8px; border-bottom:1px solid var(--line); vertical-align:top; }
.sm-table tbody tr:last-child td{ border-bottom:0; }
.sm-table th.sm-dn, .sm-table td.sm-dn{ text-align:right; }
.sm-table td.sm-dn{ font-family:var(--display); font-weight:900; color:var(--navy); font-variant-numeric:tabular-nums; white-space:nowrap; }
.sm-table th.sm-yn, .sm-table td.sm-yn{ text-align:center; width:52px; }
.sm-rk{ font-family:var(--display); font-weight:900; color:var(--primary-dark); width:22px; }
.sm-name{ font-weight:700; color:var(--navy); line-height:1.2; }
.sm-t40{ font-family:var(--display); font-weight:800; font-size:10.5px; color:#9aa5ad; white-space:nowrap; }
.sm-sub{ display:flex; flex-wrap:wrap; gap:5px; margin-top:2px; color:var(--muted); font-size:12px; }
.sm-sub .sm-dot{ color:#c2ccd4; }
.sm-ck{ color:#2f9e6b; font-weight:900; }
.sm-no{ color:#c2ccd4; }
.sm-full{ width:100%; justify-content:center; }
/* State modal: company tiles (replaces the horizontal-scroll table so nothing gets cut off) */
.sm-toplink{ display:inline-block; color:var(--primary); font-size:13px; font-weight:600; text-decoration:none; margin-bottom:16px; }
.sm-toplink:hover{ text-decoration:underline; }
.sm-cards{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.sm-card{ border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:#fff; }
.sm-crow{ display:flex; align-items:flex-start; gap:11px; }
.sm-crow .sm-rk{ font-size:16px; line-height:1.15; flex:none; }
.sm-cell{ flex:1; min-width:0; }
.sm-doors{ text-align:right; flex:none; line-height:1.05; }
.sm-dnum{ font-family:var(--display); font-weight:900; color:var(--navy); font-variant-numeric:tabular-nums; font-size:16px; display:block; white-space:nowrap; }
.sm-dlbl{ font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.sm-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.sm-badge{ display:inline-flex; align-items:center; gap:3px; font-size:11.5px; font-weight:700; padding:3px 9px; border-radius:999px; }
.sm-badge.on{ background:#e7f5ee; color:#2f9e6b; }
.sm-badge.off{ background:#f0f3f6; color:#9aa5ad; }

.chart-note{ margin:16px 0 0; font-size:13px; color:var(--muted); line-height:1.5; border-top:1px solid var(--line); padding-top:12px; }
.chart-note strong{ color:var(--navy); }

/* =============================================================================
   BLOG ARTICLE DATA TABLES (e.g. the past-year Largest PM lists imported from
   Squarespace, whose original <style> is stripped). Clean, centered, and allowed
   to break out wider than the 730px prose column.
   ========================================================================== */
/* scrollable wrapper: breaks out wider than the 730px prose, centered on the page,
   and scrolls horizontally on narrow screens instead of overflowing */
.article-table{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin:30px 0;
  width:min(1260px,94vw); margin-left:50%; transform:translateX(-50%); }
.article-table table{ border-collapse:collapse; font-size:14px; background:#fff; margin:0; border:1px solid var(--line); border-radius:12px; }
.article-body th, .article-body td{ border-bottom:1px solid var(--line); padding:10px 13px; text-align:left; vertical-align:top; line-height:1.45; }
.article-body tbody td + td, .article-body thead th + th{ border-left:1px solid var(--line); }
.article-body thead th{ background:var(--wash-soft); font-weight:700; color:var(--navy); }
.article-body tbody tr:last-child td{ border-bottom:0; }
.article-body tbody tr:nth-child(even){ background:#f6f9fc; }
.article-table table a{ color:var(--primary); font-weight:600; }
@media (max-width:560px){ .article-table table{ font-size:12.5px; } .article-body th, .article-body td{ padding:7px 8px; } }

/* State-page "the rest" list (ranks 11+): name, location, officer only */
.rank-rest{ margin-top:30px; }
.rest-h{ font-family:var(--serif); font-weight:400; font-size:20px; color:var(--navy); margin:0 0 10px; }
.rest-list{ list-style:none; margin:0; padding:0; }
.rest-row{ display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 12px; padding:11px 4px; border-bottom:1px solid #eef2f5; }
.rest-rank{ flex:0 0 30px; text-align:right; color:#9aa5ad; font-weight:700; font-variant-numeric:tabular-nums; }
.rest-co{ font-weight:700; color:var(--navy); }
.rest-co a{ color:inherit; text-decoration:none; }
.rest-co a:hover{ text-decoration:underline; }
.rest-meta{ color:var(--muted); font-size:14px; }

/* Fastest-growing table (matches Peter's format: #, company, 2025, 2026, % growth, +doors) */
.grow-scroll{ overflow-x:auto; }
.grow-table{ width:100%; border-collapse:collapse; font-size:15px; }
.grow-table th, .grow-table td{ padding:11px 14px; border-bottom:1px solid #e7edf1; white-space:nowrap; }
.grow-table thead th{ background:var(--wash-soft); color:var(--navy); font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.03em; text-align:right; }
.grow-table thead th.gt-rank{ text-align:center; }
.grow-table thead th.gt-co{ text-align:left; }
.grow-table tbody tr:last-child td{ border-bottom:0; }
.grow-table tbody tr:nth-child(even){ background:#f6f9fc; }
.grow-table .gt-rank{ width:38px; text-align:center; color:#9aa5ad; font-weight:700; font-variant-numeric:tabular-nums; }
.grow-table .gt-co{ font-weight:700; color:var(--navy); white-space:normal; }
.grow-table .gt-co a{ color:inherit; text-decoration:none; }
.grow-table .gt-co a:hover{ text-decoration:underline; }
.grow-table .gt-n{ text-align:right; font-variant-numeric:tabular-nums; }
.grow-table .gt-up{ color:#2f9e6b; font-weight:700; }
@media (max-width:560px){ .grow-table th, .grow-table td{ padding:9px 10px; font-size:13.5px; } }
/* Fastest-growing: on mobile, swap the horizontal-scroll table for stacked cards */
.grow-cards{ display:none; }
.growcard{ border:1px solid var(--line); border-radius:12px; background:#fff; padding:13px 15px; box-shadow:var(--shadow); }
.gc-head{ display:flex; align-items:center; gap:10px; }
.gc-rank{ font-family:var(--display); font-weight:900; font-size:16px; color:#9aa5ad; min-width:20px; font-variant-numeric:tabular-nums; }
.gc-co{ flex:1; min-width:0; font-weight:700; color:var(--navy); font-size:15px; line-height:1.2; }
.gc-co a{ color:inherit; text-decoration:none; }
.gc-co a:hover{ text-decoration:underline; }
.gc-pct{ font-weight:800; color:#2f9e6b; font-variant-numeric:tabular-nums; white-space:nowrap; }
.gc-meta{ display:flex; gap:8px; margin-top:11px; border-top:1px solid var(--line); padding-top:10px; }
.gc-cell{ flex:1; display:flex; flex-direction:column; gap:2px; text-align:center; }
.gc-k{ font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; }
.gc-v{ font-weight:700; color:var(--navy); font-variant-numeric:tabular-nums; font-size:15px; }
.gc-v.gc-up{ color:#2f9e6b; }
@media (max-width:560px){ .grow-scroll{ display:none; } .grow-cards{ display:grid; gap:10px; } }

/* Canadian honorable mention: a short note under the Top 40 list */
.canada-note{ margin-top:10px; padding-top:12px; border-top:1px solid #eef2f5; }
.canada-note a{ color:var(--primary); font-weight:600; }
