/* Crane Rental MN: industrial look (ideas/design-directions.md, "Cranes"). Near-black, crane yellow, white, steel gray.
   Condensed uppercase headings, tabular numbers for rates and tonnage. */
:root {
  --ink: #1b1c1e;
  --steel: #5b6168;
  --muted: #5b6168;
  --line: #d9dadc;
  --soft: #f3f3f1;
  --bg: #ffffff;
  --yellow: #f2b705;
  --yellow-2: #d9a404;
  --gold: #8a6400;
  --radius: 6px;
  --font: "Barlow", system-ui, -apple-system, sans-serif;
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--head); text-transform: uppercase; }
h2 { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: 0.005em; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.15; }
p { margin: 0 0 12px; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
.num, table, .calc { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sec { padding: 52px 0; border-top: 1px solid #e6e6e4; }
.sec.alt { background: var(--soft); }
.sec-lede { color: var(--muted); max-width: 42em; margin-top: -6px; margin-bottom: 24px; }
.small { font-size: 15px; }
.link, .prose a, .faq a, .tile p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link:hover, .prose a:hover { text-decoration-color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { display: block; height: 21px; width: auto; }
.top-links { display: flex; align-items: center; gap: 4px; }
.top-links a { white-space: nowrap; text-decoration: none; font: 600 15px/1 var(--head); text-transform: uppercase; letter-spacing: 0.06em; padding: 11px 14px; border-radius: 4px; color: #e4e4e4; }
.top-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.top-links a.top-cta { background: var(--yellow); color: var(--ink); margin-left: 6px; }
.top-links a.top-cta:hover { background: var(--yellow-2); }
.top-links .nav-extra { display: none; }

/* Hero: dark crane photo with the quote card */
.hero-band { position: relative; color: #fff; background: #26282b url('/img/crane-dusk-sm.webp') center 30% / cover no-repeat; }
.hero-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,23,.6), rgba(20,21,23,.86)); }
.hero { position: relative; display: grid; grid-template-areas: "text" "card" "checks"; gap: 22px; padding-top: 26px; padding-bottom: 36px; align-items: start; }
.hero-text { grid-area: text; }
.hero .card { grid-area: card; }
.hero .checks { grid-area: checks; }
.crumbs { font-size: 14px; color: #c9c9c9; margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.kicker { font: 700 15px/1.2 var(--head); text-transform: uppercase; letter-spacing: 0.12em; color: var(--yellow); margin-bottom: 10px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: 0.98; letter-spacing: 0.005em; }
.lede { font-size: 18px; color: #d6d6d6; max-width: 34em; margin: 14px 0 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 16px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks svg { width: 22px; height: 22px; flex: none; }
.hero-extra { grid-area: checks; }
.hero.tool-first { grid-template-areas: "text" "checks" "card"; }

/* Quote card */
.card { color: var(--ink); border-radius: var(--radius); padding: 22px; background: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,.35); border-top: 5px solid var(--yellow); }
.card h2 { font-size: 30px; margin-bottom: 2px; }
.card .sub { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.step-label { font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); margin: 4px 0 8px; }
.step2 .step-label { margin-top: 16px; }
.fields { border: 1px solid #a9adb2; border-radius: 4px; overflow: hidden; }
.fields .f { display: block; padding: 9px 12px; border-top: 1px solid #a9adb2; font: 700 12px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.fields .f:first-child { border-top: 0; }
.fields .pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #a9adb2; }
.fields .pair:first-child { border-top: 0; }
.fields .pair .f { border-top: 0; min-width: 0; }
.fields .pair .f + .f { border-left: 1px solid #a9adb2; }
.fields input, .fields select, .fields textarea {
  display: block; width: 100%; border: 0; padding: 3px 0 0; background: transparent;
  font: 500 16px/1.4 var(--font); color: var(--ink); text-transform: none; letter-spacing: 0;
}
.fields textarea { resize: vertical; min-height: 44px; }
.fields .f:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: block; width: 100%; border: 0; cursor: pointer; text-align: center; text-decoration: none;
  background: var(--yellow); color: var(--ink);
  font: 700 20px/1 var(--head); text-transform: uppercase; letter-spacing: 0.06em; padding: 16px 20px; border-radius: 4px; margin-top: 14px;
}
.btn:hover { background: var(--yellow-2); }
.btn:disabled { opacity: .6; cursor: default; }
.next { display: none; }
.js #quote-form:not(.s2) .step2, .js #quote-form:not(.s2) .send { display: none; }
.js #quote-form:not(.s2) .next { display: block; }
.promise { font-size: 15px; margin: 14px 0 0; padding: 10px 12px; background: var(--soft); border-left: 4px solid var(--yellow); }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.fine a { color: var(--muted); }
.err { color: #b42318; font-size: 15px; font-weight: 600; margin: 12px 0 0; }
.done { text-align: center; padding: 18px 4px 6px; }
.done svg { width: 48px; height: 48px; margin-bottom: 10px; }
.done h2 { margin-bottom: 8px; }
.done p { color: var(--muted); }

/* Cost calculator (sits in the dark hero on /crane-rental-cost) */
.calc { color: var(--ink); border-radius: var(--radius); padding: 22px; margin-top: 24px; background: var(--bg); border-top: 5px solid var(--yellow); }
.calc h2 { font-size: 28px; margin-bottom: 12px; }
.calc .dims { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.calc label.num { display: block; font: 700 12px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); border: 1px solid #a9adb2; border-radius: 4px; padding: 9px 12px; }
.calc label.num:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; }
.calc input[type=number] { display: block; width: 100%; border: 0; padding: 3px 0 0; font: 600 20px/1.3 var(--font); background: transparent; color: var(--ink); outline: none; }
.mats { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mats label { cursor: pointer; }
.mats input { position: absolute; opacity: 0; }
.mats span { display: inline-block; padding: 10px 14px; border: 1px solid #a9adb2; border-radius: 4px; font: 700 16px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.mats input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.mats input:focus-visible + span { outline: 2px solid var(--yellow-2); outline-offset: 2px; }
.calc-out { margin-top: 18px; display: grid; gap: 2px; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #e6e6e4; font-size: 16px; }
.calc-row b { white-space: nowrap; }
.calc-row.big b { font: 700 30px/1 var(--head); }
.calc-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* Steps */
.steps { display: grid; gap: 22px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 4px; background: var(--yellow); color: var(--ink); font: 700 20px/1 var(--head); margin-bottom: 10px; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Cards and tables */
.tiles { display: grid; gap: 14px; }
.tile { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; background: var(--bg); border-top: 4px solid var(--ink); }
a.tile:hover { border-top-color: var(--yellow); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 16px; margin: 0; font-weight: 500; }
.tile .meta { display: block; margin-top: 12px; font: 700 16px/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.tile .more { display: inline-block; margin-top: 12px; font: 700 15px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.size { border-top-color: var(--yellow); }
.size .tons { font: 700 44px/1 var(--head); letter-spacing: -0.005em; }
.size .tons small { font-size: 20px; margin-left: 4px; color: var(--steel); }
.size h3 { margin: 6px 0 8px; font-size: 18px; color: var(--steel); }
.size dl { margin: 14px 0 0; display: grid; gap: 2px; font-size: 16px; }
.size dt { color: var(--muted); font: 700 12px/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }
.size dd { margin: 0; font-weight: 600; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 480px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-top: 1px solid #e6e6e4; }
.tbl thead th { border-top: 0; background: var(--ink); color: #fff; font: 700 14px/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { white-space: nowrap; }
.note { background: var(--soft); border-left: 4px solid var(--yellow); padding: 18px 20px; font-size: 16px; }
.note p:last-child { margin: 0; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.sources { font-size: 13px; color: var(--muted); }
.sources a { color: var(--muted); }
figure.photo { margin: 0 0 18px; }
figure.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* Lift checklist with the reach diagram */
.ask { display: grid; gap: 28px; align-items: start; }
.ask ol { margin: 0; padding: 0; list-style: none; counter-reset: ask; display: grid; gap: 12px; }
.ask li { counter-increment: ask; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.ask li::before { content: counter(ask); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--ink); color: var(--yellow); font: 700 18px/1 var(--head); }
.ask svg { width: 100%; height: auto; display: block; background: #fbfbfa; border: 1px solid var(--line); border-radius: var(--radius); }

/* Directory: company cards, chips, company page */
.colist { display: grid; gap: 14px; }
.co { border: 1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); display: grid; gap: 8px; align-content: start; }
.co h3 { font-size: 24px; }
.co h3 a { text-decoration: none; }
.co h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.co p { margin: 0; }
.co .where { color: var(--muted); font-size: 15px; }
.co .cranes { font-size: 15px; }
.co .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; font-weight: 600; }
.co .acts a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.co .acts a.call { text-decoration: none; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; background: var(--soft); border: 1px solid var(--line); padding: 6px 8px; border-radius: 3px; }
.feat { display: inline-block; vertical-align: middle; margin-left: 8px; background: var(--yellow); color: var(--ink); font: 700 12px/1 var(--head); letter-spacing: .1em; padding: 5px 7px; border-radius: 3px; }
.co-tbl { min-width: 0; }
.co-tbl td:first-child { white-space: normal; font-weight: 600; min-width: 190px; }
.co-tbl td:nth-child(3) { white-space: normal; }
.co-tbl td a[href^="tel"] { white-space: nowrap; color: var(--ink); }
.co-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
dl.facts { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
dl.facts dt { font: 700 13px/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-top: 12px; }
dl.facts dd { margin: 0; }
.card.contact .btn { margin-top: 12px; }
.btn.btn-2 { background: transparent; border: 2px solid var(--ink); }
.btn.btn-2:hover { background: var(--soft); }
.ask-us { display: grid; gap: 28px; align-items: start; }

/* City links */
.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cities a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 4px; text-decoration: none; font: 700 20px/1 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.cities a:hover { border-color: var(--ink); border-left-color: var(--yellow); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--steel); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 46em; }

/* Footer */
.foot { background: var(--ink); color: #d0d0d0; padding: 44px 0 110px; font-size: 15px; }
.foot-grid { display: grid; gap: 28px; }
.foot h4 { margin: 0 0 10px; font: 700 15px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #f0f0f0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .brand { margin-bottom: 12px; color: #fff; }
.foot p { color: #b9b9b9; margin: 0 0 8px; max-width: 28em; }
.legal { border-top: 1px solid #34363a; margin-top: 28px; padding-top: 18px; color: #a9a9a9; }

/* Mobile bottom bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: #fff; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mbar { transition: transform .2s ease; }
.mbar.off { transform: translateY(110%); }
.mbar b { display: block; font: 700 18px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.mbar span { font-size: 13px; color: #bdbdbd; }
.mbar a { flex: none; background: var(--yellow); color: var(--ink); text-decoration: none; font: 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; padding: 13px 18px; border-radius: 4px; }

@media (min-width: 760px) {
  .hero-band { background-image: url('/img/crane-dusk.webp'); background-position: center 40%; }
  .hero-band::before { background: linear-gradient(90deg, rgba(20,21,23,.88) 0%, rgba(20,21,23,.55) 50%, rgba(20,21,23,.3) 100%); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles.tiles-4, .tiles.tiles-2 { grid-template-columns: repeat(2, 1fr); }
  .colist { grid-template-columns: repeat(2, 1fr); }
  dl.facts { grid-template-columns: 180px 1fr; }
  dl.facts dt { margin-top: 0; padding-top: 3px; }
  .tiles.tiles-5 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot { padding-bottom: 44px; }
  h2 { font-size: 40px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 430px; grid-template-areas: "text card" "checks card"; column-gap: 64px; row-gap: 28px; padding-top: 56px; padding-bottom: 64px; }
  .hero.tool-first { grid-template-areas: "text card" "checks card"; }
  .hero .card { position: sticky; top: 88px; }
  .tiles.tiles-4 { grid-template-columns: repeat(4, 1fr); }
  .tiles.tiles-5 { grid-template-columns: repeat(3, 1fr); }
  .ask { grid-template-columns: 1fr 1.1fr; gap: 44px; }
  .ask-us { grid-template-columns: minmax(0, 1fr) 430px; gap: 64px; }
  .top-links .nav-extra, .top-links a.top-cta { display: inline-block; }
  .brand img { height: 28px; }
  .mbar { display: none; }
}
@media (min-width: 1180px) {
  .tiles.tiles-5 { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 959px) {
  .top-links a.top-cta { display: inline-block; }
  .lede { font-size: 17px; }
}
@media (max-width: 389px) {
  .brand img { height: 19px; }
  .top-links a.top-cta { padding: 10px 11px; letter-spacing: .04em; }
}
@media (max-width: 600px) {
  .co-tbl th:nth-child(3), .co-tbl td:nth-child(3) { display: none; }
  .co-tbl td:first-child { min-width: 0; }
  table.tbl { min-width: 0; font-size: 15px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl td:not(:first-child), .tbl th:not(:first-child) { white-space: normal; }
}
