/* Beau Button, L.L.C. — shared design system */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a; margin: 0; line-height: 1.7; background: #ffffff;
  display: flex; flex-direction: column; min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: #2563eb; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 28px; }
main { flex: 1 0 auto; }
.gr { background: linear-gradient(90deg, #38bdf8, #6366f1 55%, #8b5cf6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #eef1f5; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #475569; font-size: 0.95rem; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #1a1a1a; }
.nav-links a[aria-current="page"] { font-weight: 650; }
/* Mobile hamburger (hidden on desktop) */
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-burger span { display: block; height: 2px; width: 100%; background: #1a1a1a; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* Buttons */
.btn-sm {
  color: #fff !important; font-weight: 600; font-size: 0.9rem; padding: 8px 18px; border-radius: 999px;
  background: linear-gradient(115deg, #38bdf8, #6366f1 55%, #8b5cf6); background-size: 160% 100%;
  transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 4px 14px rgba(99,102,241,.28);
}
.btn-sm:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(99,102,241,.4); }
.cta {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 650; color: #fff; padding: 14px 32px; border-radius: 999px;
  background: linear-gradient(115deg, #38bdf8, #6366f1 42%, #8b5cf6 62%, #6366f1 80%, #38bdf8); background-size: 220% 100%;
  box-shadow: 0 10px 26px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.28);
  animation: cta-flow 7s linear infinite; transition: transform .18s ease, box-shadow .18s ease;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.55) 50%, transparent 64%);
  transform: translateX(-130%); animation: cta-shine 4.5s ease-in-out infinite; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(99,102,241,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.cta .arrow { transition: transform .18s ease; }
.cta:hover .arrow { transform: translateX(4px); }
@keyframes cta-flow { to { background-position: -220% 0; } }
@keyframes cta-shine { 0%, 22% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }

/* Sections */
.section { padding: 60px 0 8px; }
.eyebrow { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #94a3b8; margin: 0 0 10px; }
.section h2 { text-align: center; font-size: 1.7rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.section .lead { text-align: center; color: #3f4754; max-width: 620px; margin: 0 auto 34px; font-size: 1.05rem; }

/* Hero */
.hero { text-align: center; padding: 76px 0 8px; }
.hero .sig { width: min(300px, 66vw); height: auto; }
.hero h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.02em; margin: 26px 0 0; }
.hero .intro { font-size: 1.08rem; color: #3f4754; max-width: 640px; margin: 18px auto 0; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 24px auto 0; max-width: 680px; }
.tag { font-size: 0.82rem; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 5px 13px; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* Cards grid */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { border: 1px solid #e8ebf0; border-radius: 14px; padding: 28px 26px; background: #fff; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.card:hover { box-shadow: 0 12px 30px rgba(20,30,60,.09); transform: translateY(-3px); border-color: #d7dce4; }
a.card { color: inherit; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: #3f4754; font-size: 0.98rem; }
.card .role { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #94a3b8; font-weight: 600; margin: 0 0 8px; }
.card .visit { font-size: 0.9rem; color: #2563eb; font-weight: 600; margin-top: 14px; }
.card .logo { height: 38px; display: flex; align-items: center; margin-bottom: 16px; }
.card .logo img { max-height: 38px; max-width: 190px; width: auto; }

/* Services list */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-item { border: 1px solid #e8ebf0; border-radius: 14px; padding: 26px; background: #fff; }
.svc-item h3 { margin: 0 0 8px; font-size: 1.14rem; }
.svc-item p { margin: 0; color: #3f4754; font-size: 0.98rem; }

/* Insights */
.insights { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.insight { border: 1px solid #e8ebf0; border-radius: 14px; padding: 24px 24px 20px; background: #fff; display: flex; flex-direction: column; }
.insight .topic { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8b5cf6; font-weight: 700; margin: 0 0 10px; }
.insight blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; letter-spacing: -0.01em; color: #1a1a1a; font-weight: 550; }
.insight p { color: #3f4754; font-size: 0.95rem; margin: 12px 0 0; }
.insight .read { margin-top: auto; padding-top: 16px; font-size: 0.9rem; font-weight: 600; color: #2563eb; }
.embed-wrap { border: 1px solid #e8ebf0; border-radius: 14px; overflow: hidden; background: #fff; }
.embed-wrap iframe { display: block; width: 100%; border: 0; }
.vids { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.vcard { margin: 0; width: 280px; max-width: 100%; border: 1px solid #e8ebf0; border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.vcard video { display: block; width: 100%; height: auto; background: #000; }
.vcard figcaption { font-size: 0.85rem; color: #475569; padding: 12px 14px; border-top: 1px solid #eef1f5; line-height: 1.45; }
.vcard figcaption a { color: #2563eb; font-weight: 600; white-space: nowrap; margin-left: 6px; }
.vcard figcaption a:hover { text-decoration: underline; }

/* Footer */
.footer { flex-shrink: 0; border-top: 1px solid #ececec; margin-top: 56px; padding: 26px 0 34px; text-align: center; color: #9aa0a6; font-size: 0.82rem; line-height: 1.9; }
.footer .legal { color: #6b7280; }
.footer nav { margin-top: 2px; }
.footer nav a { color: #9aa0a6; }
.footer nav a:hover { color: #2563eb; text-decoration: underline; }
.footer .sep { margin: 0 7px; color: #d0d4d9; }

/* Contact form */
.form-card { border: 1px solid #e8ebf0; border-radius: 14px; padding: 30px 28px; background: #fff; max-width: 620px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row .field { margin-bottom: 0; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
.field label .opt { color: #94a3b8; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.95rem; color: #1a1a1a; width: 100%; border: 1px solid #d7dce4; border-radius: 9px; padding: 10px 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 6px; }
.consent input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: #6366f1; }
.consent label { font-size: 0.84rem; color: #475569; line-height: 1.5; font-weight: 500; }
.fine { font-size: 0.76rem; color: #94a3b8; margin: 0 0 18px 26px; line-height: 1.55; }
.submit { font: inherit; font-weight: 600; font-size: 0.95rem; color: #fff; cursor: pointer; width: 100%; background: #1a1a1a; border: 0; border-radius: 9px; padding: 12px 22px; transition: background .15s ease, transform .15s ease; }
.submit:hover { background: #000; transform: translateY(-1px); }
.submit:disabled { opacity: .55; cursor: default; transform: none; }
.form-status { text-align: center; font-size: 0.92rem; margin-top: 14px; min-height: 1.2em; }
.form-status.ok { color: #16a34a; }
.form-status.err { color: #dc2626; }

@media (max-width: 640px) {
  .cards, .svc, .insights { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field { margin-bottom: 16px; }
  .hero h1 { font-size: 1.55rem; }
  .section h2 { font-size: 1.4rem; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid #eef1f5; box-shadow: 0 14px 28px rgba(20,30,60,.10);
    padding: 6px 0 14px;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 13px 28px; font-size: 1.02rem; }
  .nav-links a.btn-sm { margin: 10px 28px 4px; padding: 12px 22px; text-align: center; box-shadow: 0 6px 16px rgba(99,102,241,.3); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .cta::before { animation: none; }
}
