/* treysparks.com shared site styles: footer, contact card, FAQ accordion.
   Every class is prefixed ts- so it never collides with a page's own styles.
   The header and footer markup comes from scripts/chrome.py; run it again after changing either. */
:root {
  --ts-bg: #F7F7F5; --ts-panel: #EFEFEC; --ts-ink: #0A0908; --ts-muted: #6F6C68; --ts-body: #45423e;
  --ts-line: rgba(10,9,8,.1); --ts-orange: #FF8A1F; --ts-orange-deep: #E0700A;
  --ts-solid: #2F7D4F; --ts-amber: #F2B25C; --ts-breaking: #B3401B; --ts-max: 1240px;
  --ts-display: "Inter Tight", Inter, system-ui, sans-serif;
}
.ts-wrap { max-width: var(--ts-max); margin: 0 auto; padding: 0 20px; }
.ts-label { display: inline-block; color: var(--ts-orange-deep); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* Pill + orange circle button */
.ts-cta { display: inline-flex; align-items: center; text-decoration: none; font: 500 14px Inter, system-ui, sans-serif; color: var(--ts-ink); }
.ts-cta .ts-pill { background: #fff; color: var(--ts-ink); padding: 12px 20px; border-radius: 999px; line-height: 1; white-space: nowrap; }
.ts-cta .ts-dot { width: 40px; height: 40px; margin-left: -2px; border-radius: 50%; background: var(--ts-orange); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .25s ease; }
.ts-cta:hover .ts-dot { transform: rotate(45deg); }
.ts-cta.ts-dark .ts-pill { background: var(--ts-ink); color: #fff; }

/* Site menu, inside a dark header card */
.ts-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ts-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font: 600 19px var(--ts-display); letter-spacing: -0.02em; white-space: nowrap; }
.ts-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ts-orange); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.ts-links { display: flex; gap: 32px; font-size: 14px; }
.ts-links a { color: #fff; text-decoration: none; opacity: .85; }
.ts-links a:hover, .ts-links a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.ts-menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(10,9,8,.35); color: #fff; cursor: pointer; place-items: center; padding: 0; }
.ts-menu-btn span, .ts-menu-btn span::before, .ts-menu-btn span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.ts-menu-btn span::before, .ts-menu-btn span::after { content: ""; position: absolute; left: 0; }
.ts-menu-btn span::before { top: -6px; } .ts-menu-btn span::after { top: 6px; }
.ts-menu-btn[aria-expanded="true"] span { background: transparent; }
.ts-menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.ts-menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.ts-menu { display: none; margin-top: 16px; padding: 8px; border-radius: 16px; background: rgba(20,18,16,.94); border: 1px solid rgba(255,255,255,.12); }
.ts-menu.open { display: grid; }
.ts-menu a { padding: 14px 12px; font-size: 17px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.ts-menu a:last-child { border-bottom: 0; color: var(--ts-orange); font-weight: 500; }
@media (max-width: 960px) {
  .ts-links, .ts-nav > .ts-cta { display: none; }
  .ts-menu-btn { display: grid; }
}

/* Section headings shared by the blocks below */
.ts-h2 { font: 500 clamp(30px, 4vw, 48px)/1.06 var(--ts-display); letter-spacing: -0.04em; margin-top: 10px; }
.ts-lede { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ts-body); max-width: 40em; }

/* Contact card */
.ts-contact { padding: clamp(40px, 6vw, 72px) 0 16px; }
.ts-contact-card { position: relative; border-radius: 24px; overflow: hidden; color: #fff; padding: clamp(44px, 6vw, 88px) clamp(24px, 5vw, 72px); background: #0A0908 url(/hero.jpg) center / cover; }
.ts-contact-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.95), rgba(10,9,8,.72)); }
.ts-contact-card > * { position: relative; }
.ts-contact-card h2 { font: 500 clamp(32px, 4.6vw, 58px)/1.04 var(--ts-display); letter-spacing: -0.04em; max-width: 13em; }
.ts-contact-card p { margin-top: 18px; max-width: 36em; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.6; }
.ts-contact-card .ts-cta { margin-top: 30px; }
.ts-lines { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 15px; }
.ts-lines a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.ts-lines a:hover { border-color: var(--ts-orange); }
.ts-lines span { color: rgba(255,255,255,.55); margin-right: 8px; }

/* Footer */
.ts-foot { padding: 16px 0 24px; font-size: 15px; line-height: 1.5; color: var(--ts-ink); }
.ts-foot-card { background: var(--ts-panel); border-radius: 24px; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px) 0; }
.ts-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px clamp(20px, 3vw, 48px); }
.ts-foot .ts-brand { font-size: 19px; }
.ts-foot-about { margin-top: 14px; color: var(--ts-body); max-width: 24em; }
.ts-foot-about + .ts-cta { margin-top: 22px; }
.ts-foot .ts-cta .ts-pill { background: var(--ts-ink); color: #fff; }
.ts-foot h2 { font: 500 13px Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ts-muted); }
.ts-foot ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.ts-foot li a, .ts-foot li span { display: inline-flex; align-items: center; min-height: 34px; margin: 0; color: var(--ts-ink); text-decoration: none; }
.ts-foot li span { color: var(--ts-muted); }
.ts-foot li a:hover { text-decoration: underline; text-decoration-color: var(--ts-orange); text-underline-offset: 4px; }
.ts-foot-base { margin-top: clamp(28px, 4vw, 44px); padding: 18px 0 22px; border-top: 1px solid var(--ts-line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--ts-muted); }
.ts-foot-base a { color: var(--ts-muted); text-underline-offset: 3px; display: inline; min-height: 0; margin: 0; }
.ts-foot-base a:hover { color: var(--ts-ink); }
@media (max-width: 960px) {
  .ts-foot-grid { grid-template-columns: 1fr 1fr; }
  .ts-foot-brand { grid-column: 1 / -1; }
  .ts-foot li a, .ts-foot li span { min-height: 44px; }
}
@media (max-width: 480px) { .ts-foot-grid { gap: 24px 16px; } .ts-foot-card { border-radius: 18px; } .ts-foot li a, .ts-foot li span { font-size: 14.5px; line-height: 1.3; min-height: 40px; padding: 4px 0; } }

/* FAQ accordion */
.ts-faq { padding: clamp(56px, 7vw, 96px) 0 clamp(16px, 3vw, 32px); }
.ts-faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px clamp(24px, 5vw, 72px); align-items: start; }
.ts-faq-head { position: sticky; top: 24px; }
.ts-qa-list { display: grid; gap: 10px; }
details.ts-qa { background: #fff; border: 1px solid var(--ts-line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
details.ts-qa:hover { border-color: rgba(10,9,8,.22); }
details.ts-qa[open] { border-color: rgba(10,9,8,.2); box-shadow: 0 22px 40px -34px rgba(10,9,8,.4); }
.ts-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px 18px 22px; }
.ts-qa summary::-webkit-details-marker { display: none; }
.ts-qa summary:focus-visible { outline: 2px solid var(--ts-orange); outline-offset: 2px; border-radius: 16px; }
.ts-qa summary h3 { margin: 0; font: 500 18px/1.35 var(--ts-display); letter-spacing: -0.015em; }
.ts-pm { width: 32px; height: 32px; border-radius: 50%; background: var(--ts-panel); flex: none; position: relative; transition: background .2s; }
.ts-pm::before, .ts-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ts-ink); border-radius: 2px; transition: transform .2s, background .2s; }
.ts-pm::after { transform: rotate(90deg); }
details[open] > summary .ts-pm { background: var(--ts-orange); }
details[open] > summary .ts-pm::before, details[open] > summary .ts-pm::after { background: #fff; }
details[open] > summary .ts-pm::after { transform: rotate(0); }
.ts-a { padding: 0 22px 22px; }
.ts-a p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ts-body); max-width: 44em; }
.ts-a p + p { margin-top: 10px; }
@media (max-width: 860px) { .ts-faq-grid { grid-template-columns: 1fr; } .ts-faq-head { position: static; } }

@media print {
  .ts-nav, .ts-menu, .ts-contact, .ts-foot, .ts-faq { display: none !important; }
}

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Every button arrow is a plain right arrow, so it nudges right on hover instead of turning. */
a.cta:hover .dot, a.ts-cta:hover .ts-dot, a.case:hover .go { transform: translateX(3px) !important; }
