/* straviq.io/about: who STRAVIQ is. The site's own look (site.css); one memorable thing, the compass
   whose needle follows the pointer. No lines anywhere: shapes are told apart by their fill. */
:root { --needle-a: #0B2B22; --needle-b: #1F9D63; }
:root[data-theme=dark] { --needle-a: #E7ECE8; --needle-b: #6EE7A8; }
.top nav a[aria-current=page] { color: var(--ink); }
.top nav a[aria-current=page]::after { transform: scaleX(1); }

/* the compass */
.ab-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-top: 56px !important; }
.ab-hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.15; }
.ab-text p { color: var(--ink2); font-size: 18.5px; max-width: 50ch; margin-top: 24px; }
.dial { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, var(--panel) 0 58%, var(--mint) 58.5% 100%); }
.dial svg { width: 58%; height: 58%; overflow: visible; }
.dial-needle { transform-box: view-box; transform-origin: 32px 32px; animation: dial-find 2.6s cubic-bezier(.2, .8, .2, 1) both; }
.dial-n { position: absolute; top: 5%; font: 700 15px var(--display); color: var(--brand-ink); }
.dial small { position: absolute; bottom: -34px; font-size: 13px; color: var(--mut); white-space: nowrap; }
@keyframes dial-find { 0% { transform: rotate(-120deg); } 45% { transform: rotate(28deg); } 70% { transform: rotate(-12deg); } 88% { transform: rotate(4deg); } 100% { transform: none; } }

/* the name, part by part */
.word { display: flex; justify-content: center; margin: 10px 0 34px; font: 800 clamp(56px, 11vw, 150px)/1 var(--display); letter-spacing: 2px; color: var(--ink); }
.part { border-radius: 14px; transition: color .25s, background-color .25s, box-shadow .25s; }
.part.lit { color: var(--brand); background: var(--mint); box-shadow: 0 0 0 .06em var(--mint); }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.meaning { background: var(--tile); border-radius: 20px; padding: 24px 24px 26px; transition: background-color .25s, transform .25s; }
.meaning > b { display: block; font: 600 13px var(--body); color: var(--brand-ink); direction: ltr; text-align: start; }
.meaning h3 { font-size: 24px; margin: 4px 0 8px; }
.meaning p { color: var(--ink2); font-size: 16px; }
.meaning.lit { background: var(--mint); transform: translateY(-3px); }

/* the needle's two halves */
.ab-needle { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.needle-art { justify-self: center; width: min(100%, 300px); }
.needle-art svg { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 40px 80px -40px var(--shadow); }
.needle-art polygon { transition: opacity .25s; }
.needle-art:has(.lit) polygon:not(.lit) { opacity: .25; }
.halves { display: grid; gap: 12px; }
.half { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; transition: background-color .25s; }
.half.lit { background: var(--tile); }
.half h3 { font-size: 19px; margin-bottom: 4px; }
.half p { color: var(--ink2); font-size: 16px; }
.sw { flex: none; width: 18px; height: 18px; margin-top: 6px; border-radius: 6px; }
.sw.a { background: #FFFFFF; box-shadow: 0 0 0 5px #0B2B22 inset; }
.sw.b { background: #6EE7A8; }
.needle-text h2 { margin-bottom: 28px; }
.needle-text .note { margin-top: 18px; color: var(--brand-ink); font-weight: 500; }

/* more than a tech team */
.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; }
.care h3 { font-size: 21px; margin-bottom: 6px; }
.care p { color: var(--ink2); max-width: 46ch; }

.foot a { text-decoration: none; }
@media (max-width: 1020px) {
  .ab-hero, .ab-needle { grid-template-columns: 1fr; gap: 56px; }
  .dial { width: min(80%, 340px); }
}
@media (max-width: 700px) {
  .parts, .care { grid-template-columns: 1fr; }
  .needle-art { width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .dial-needle { animation: none; } }
