/* ==================================================================
   ABusyBee.me — shared styles for inner pages
   (industries, FAQ answers, open positions). Same tokens as the homepage.
   ================================================================== */
:root {
  --or:       #FF7200;
  --or-text:  #B85400;
  --or-wash:  rgba(255,114,0,.05);
  --or-line:  rgba(255,114,0,.28);
  --ink:      #1D1A17;
  --mut:      #6E6963;
  --faint:    #9B958E;
  --line:     #EDEAE6;
  --maxw:     1120px;
  --nav-h:    72px;
  --r:        16px;
  --sans:     "DM Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:     "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --bee-url:  url("/images/bee.png");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.75;
  color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: rgba(255,114,0,.18); }
a { color: var(--or-text); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; min-height: 44px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; display: block; }
.brand .bn span { color: var(--or); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  font-size: 14.5px; font-weight: 500; color: var(--mut); text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.nav-cta:hover { border-color: var(--or); color: var(--or-text); background: var(--or-wash); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-cta { padding: 0 16px; font-size: 14px; } }

/* ---------- type ---------- */
.kicker { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--or-text); margin-bottom: 18px; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; max-width: 18em; }
h1 .hl { color: var(--or); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 1.13rem; color: var(--mut); max-width: 44em; }
.prose p { color: #3A3631; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin: 48px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose ul { margin: 12px 0 0 0; list-style: none; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 28px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent;
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: #000; border-color: #000; }
.btn.ghost:hover { border-color: var(--or); color: var(--or-text); background: var(--or-wash); }
.btn .ar { transition: transform .18s ease; }
.btn:hover .ar { transform: translateX(3px); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--faint); margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--or-text); }

/* ---------- sections ---------- */
.sec { position: relative; overflow: hidden; }
.sec > .wrap { position: relative; z-index: 1; }
.hero { padding: 72px 0 80px; }
.hero .lead { margin: 26px 0 36px; }
.pad { padding: 84px 0; }
.hairline { border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head .lead { margin-top: 14px; }

/* ---------- cards & lists ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 30px; transition: border-color .2s ease; }
.card:hover { border-color: var(--or-line); }
.card .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--or-text); display: block; margin-bottom: 18px; text-transform: uppercase; }
.card h3 { margin-bottom: 10px; }
.card > p { font-size: 15.5px; color: var(--mut); line-height: 1.7; }
.dots { list-style: none; margin-top: 16px; }
.dots li {
  position: relative; padding: 9px 0 9px 24px;
  font-size: 15px; color: var(--mut); line-height: 1.55;
  border-top: 1px solid var(--line);
}
.dots li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--or); opacity: .8; }
.dots li strong { color: var(--ink); font-weight: 600; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-family: var(--mono); font-size: 12.5px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--mut); }

.callout {
  margin-top: 28px; padding: 22px 24px;
  border-left: 3px solid var(--or); background: var(--or-wash);
  border-radius: 0 12px 12px 0; color: var(--ink);
}
.callout p { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
details.qa { border-top: 1px solid var(--line); }
details.qa:last-child { border-bottom: 1px solid var(--line); }
details.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 16px 0;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  transition: color .15s ease;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--or-text); }
.qa-x { width: 16px; height: 16px; flex-shrink: 0; color: var(--faint); transition: transform .18s ease, color .18s ease; }
details.qa[open] .qa-x { transform: rotate(45deg); color: var(--or-text); }
details.qa p { padding: 0 40px 24px 0; color: var(--mut); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--or-line); background: var(--or-wash);
  border-radius: var(--r); padding: 44px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.cta-band p { color: var(--mut); margin-top: 8px; }

/* ---------- link chips (other industries / questions) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--or); color: var(--or-text); background: var(--or-wash); }

/* ---------- empty state (open positions) ---------- */
.empty {
  border: 1px dashed #DBD7D1; border-radius: var(--r);
  padding: 48px 36px; text-align: center;
}
.empty .bee-img { width: 54px; margin: 0 auto 18px; display: block; }
.empty h3 { font-size: 1.25rem; margin-bottom: 8px; }
.empty p { color: var(--mut); max-width: 34em; margin: 0 auto; }
.empty .ctas { justify-content: center; margin-top: 26px; }

/* ---------- bee mascot + flight trail ---------- */
.bee-img { display: inline-block; background: var(--bee-url) center / contain no-repeat; aspect-ratio: 101 / 100; }
.flight { position: absolute; z-index: 0; pointer-events: none; user-select: none; width: 320px; height: 240px; }
.flight svg { display: block; width: 100%; height: 100%; overflow: visible; }
.flight path {
  fill: none; stroke: rgba(255,114,0,.22); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: .1 7.1; animation: trail-crawl 90s linear infinite;
}
.flight .bee-img {
  position: absolute; top: 0; left: 0; width: 34px; opacity: 0;
  offset-rotate: auto; offset-distance: 100%;
  offset-path: path("M 10 222 C 64 196 30 148 78 136 C 118 126 138 164 112 178 C 86 192 70 148 108 128 C 150 106 186 140 214 118 C 238 99 224 64 258 52 C 278 45 292 38 308 24");
  animation: bee-fly 30s linear -8s infinite;
}
@keyframes trail-crawl { to { stroke-dashoffset: -144; } }
@keyframes bee-fly {
  0% { offset-distance: 0%; opacity: 0; }
  7% { opacity: .24; }
  93% { opacity: .24; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (max-width: 760px) { .flight { display: none; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 52px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 15.5px; }
.foot .brand img { width: 32px; height: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-links a { font-size: 13.5px; color: var(--mut); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.foot-links a:hover { color: var(--or-text); }
.foot small { flex-basis: 100%; font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.foot small a { color: var(--mut); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cols-2 { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 26px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 60px; }
  .pad { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flight path, .flight .bee-img { animation: none !important; }
  .flight .bee-img { opacity: .24; }
  .btn .ar { transition: none; }
}
@media print { .flight, .nav { display: none; } }
