/* JC Bulletproof Agency: additions on top of the main site's styles.css */
.agency .brand { gap: 12px; }
.agency-tag { font-family: var(--font-display); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 5px 9px; border-radius: 6px; line-height: 1; align-self: center; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.nav ul .m-only { display: none; }

/* Home hero panel */
.ag-hero { padding: 84px 0 80px; background: linear-gradient(180deg, var(--white) 0%, var(--sky-soft) 100%); }
.ag-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
.ag-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 18px 0 30px; }
.ag-panel { background: var(--navy); color: var(--on-dark); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(27,37,51,.55); }
.ag-panel > small { display: block; font-family: var(--font-display); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: var(--sky); margin-bottom: 14px; }
.ag-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line-dark); text-decoration: none; color: inherit; }
.ag-row:first-of-type { border-top: 0; }
.ag-row b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #fff; letter-spacing: .02em; }
.ag-row span { font-size: .92rem; color: var(--on-dark-muted); }
.ag-row .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-2); border: 1px solid var(--line-dark); color: var(--sky); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.ag-row:hover b { color: var(--sky); }

/* Service cards and details */
.svc-link { display: inline-block; margin-top: 10px; color: var(--sky); font-weight: 700; text-decoration: none; }
.svc-link:hover { text-decoration: underline; }
.pillar ul { padding-left: 18px; margin: 0 0 14px; color: var(--on-dark-muted); font-size: .93rem; }
.svc { scroll-margin-top: 100px; }
.svc .split { align-items: start; }
.fit { background: var(--sky-soft); border-radius: 12px; padding: 18px 20px; margin: 4px 0 24px; font-size: .95rem; }
.fit b { font-family: var(--font-display); color: var(--navy); letter-spacing: .02em; }
.svc-list { display: grid; gap: 14px; }
.svc-list .card h3 { text-transform: none; letter-spacing: 0; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }

/* Featured work */
.case { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; background: var(--white); border: 1px solid #e3e8ee; border-radius: 18px; padding: 38px; }
.case h3 { font-size: 1.6rem; margin-bottom: 8px; }
.case .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.case .meta span { font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: var(--sky-soft); color: var(--sky-deep); padding: 5px 10px; border-radius: 99px; }
.case-side { background: var(--mist); border-radius: 14px; padding: 24px; }
.case-side h4 { font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--slate); margin: 0 0 10px; }
.case-side ul { margin: 0; padding-left: 18px; }
.case-side li { margin: 6px 0; font-size: .95rem; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { text-align: center; }
.member .face { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; overflow: hidden; }
.member .face img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { text-transform: none !important; letter-spacing: 0 !important; color: var(--navy) !important; font-size: 1.15rem !important; margin-bottom: 2px !important; }
.member .role { font-size: .85rem; color: var(--sky-deep); font-weight: 700; margin-bottom: 10px; display: block; }

/* Enquiry form */
.enquiry { background: var(--white); border: 1px solid #e3e8ee; border-radius: 18px; padding: 34px; box-shadow: 0 24px 50px -34px rgba(27,37,51,.35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: end; }
.field textarea, .field select { font: inherit; padding: 13px 16px; border: 1.5px solid #cfd7e1; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.field input { width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field textarea:focus, .field select:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(103,159,214,.25); }
.field .optional { font-weight: 400; color: var(--muted); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { display: flex; gap: 10px; align-items: center; border: 1.5px solid #cfd7e1; border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: .93rem; background: var(--white); }
.chip input { accent-color: var(--sky-deep); width: 18px; height: 18px; flex: none; }
.chip:has(input:checked) { border-color: var(--sky-deep); background: var(--sky-soft); }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.field legend { font-weight: 700; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 4px 0 18px; }
.form-msg { margin-top: 14px; font-weight: 600; color: #b3412f; min-height: 1.2em; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sent { text-align: center; padding: 30px 6px; }
.sent .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 16px; }
.next-steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: ns; }
.next-steps li { position: relative; padding: 0 0 18px 46px; }
.next-steps li::before { counter-increment: ns; content: counter(ns); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.next-steps b { display: block; font-family: var(--font-display); color: var(--navy); letter-spacing: .02em; }

@media (max-width: 960px) {
  .case { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav.open ul .m-only { display: block; }
  .agency-tag { display: none; }
  .form-grid, .chips, .cases, .team { grid-template-columns: 1fr; }
  .enquiry, .case { padding: 24px; }
  .ag-hero { padding: 52px 0 56px; }
}
