/*
Theme Name: BiND digital
Theme URI: https://binddigital.com.au
Author: BiND digital
Description: Custom theme for BiND digital — an Australian digital & performance marketing agency. Dark-first BiND brand (navy / acid). Includes a Case Studies custom post type and a templated Journal (blog). Requires the free Advanced Custom Fields (ACF) plugin.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bind-digital
*/

/* ============================================================
   Tokens
   ============================================================ */
:root {
  --bind-navy: #0c0c27;
  --bind-ink: #151515;
  --bind-acid: #f0ff3d;
  --bind-acid-deep: #d9e827;
  --bind-blue: #1a8cff;
  --bind-paper: #fafafa;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --maxw: 1440px;
}

/* ============================================================
   Reset / base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bind-navy);
  color: #fff;
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1, h2, h3, h4, p, figure, ul {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
}
.bd-dot {
  color: var(--bind-acid);
}
.bd-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   Layout
   ============================================================ */
.bd-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 640px) {
  .bd-container { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 1024px) {
  .bd-container { padding-left: 48px; padding-right: 48px; }
}
main { display: block; }

/* ============================================================
   Buttons — acid CTA with text-roll + rotating arrow
   ============================================================ */
.bd-roll {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
}
.bd-roll__label {
  height: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bd-roll__inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease);
}
.bd-roll:hover .bd-roll__inner {
  transform: translateY(-50%);
}
.bd-roll__line {
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
}
.bd-roll__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-left: 12px;
  transition: transform 0.5s var(--ease);
}
.bd-roll:hover .bd-roll__arrow {
  transform: rotate(-45deg);
}
.bd-roll__arrow svg { width: 16px; height: 16px; }

/* Acid variant */
.bd-btn-acid {
  background: var(--bind-acid);
  color: var(--bind-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 8px 8px 20px;
  transition: background-color 0.3s;
}
.bd-btn-acid:hover { background: var(--bind-acid-deep); }
.bd-btn-acid .bd-roll__arrow {
  width: 28px;
  height: 28px;
  background: var(--bind-navy);
  color: var(--bind-acid);
}
@media (min-width: 640px) {
  .bd-btn-acid { padding-left: 24px; font-size: 14px; }
  .bd-btn-acid .bd-roll__arrow { width: 32px; height: 32px; }
}
.bd-btn-acid--block { display: flex; width: 100%; justify-content: space-between; }

/* Ghost variant (nav CTA) */
.bd-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 8px 8px 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}
.bd-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.bd-btn-ghost .bd-roll__arrow {
  width: 24px;
  height: 24px;
  background: #fff;
  color: var(--bind-navy);
}
.bd-btn-ghost .bd-roll__arrow svg { width: 14px; height: 14px; }

/* ============================================================
   Header / nav
   ============================================================ */
.bd-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
}
.bd-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px;
}
@media (min-width: 640px) { .bd-header__inner { padding: 12px; } }
.bd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: rgba(12, 12, 39, 0.8);
  padding: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.bd-nav__left { display: flex; align-items: center; gap: 24px; }
.bd-logo img { width: 36px; height: 36px; border-radius: 999px; }
@media (min-width: 640px) { .bd-logo img { width: 40px; height: 40px; } }
.bd-nav__links { display: none; align-items: center; gap: 24px; }
.bd-nav__links a {
  font-size: 14px;
  color: #fff;
  transition: color 0.3s;
}
.bd-nav__links a:hover { color: rgba(255, 255, 255, 0.5); }
.bd-nav__right { display: none; align-items: center; gap: 16px; }
.bd-nav__status { font-size: 13px; color: rgba(255, 255, 255, 0.55); display: none; }
.bd-nav__clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.bd-nav__clock svg { width: 14px; height: 14px; }
.bd-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
}
.bd-nav__toggle svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .bd-nav__links { display: flex; }
  .bd-nav__right { display: flex; }
  .bd-nav__toggle { display: none; }
}
@media (min-width: 1024px) { .bd-nav__status { display: inline; } }

/* Mobile menu */
.bd-mobile {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.bd-mobile.is-open { pointer-events: auto; }
.bd-mobile__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.5s;
}
.bd-mobile.is-open .bd-mobile__backdrop { opacity: 1; }
.bd-mobile__sheet {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: var(--bind-navy);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-sheet);
}
.bd-mobile.is-open .bd-mobile__sheet { transform: translateY(0); }
.bd-mobile__top { display: flex; align-items: center; justify-content: space-between; }
.bd-mobile__links { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.bd-mobile__links a { font-size: 28px; line-height: 32px; font-weight: 500; color: #fff; }
.bd-mobile__cta { margin-top: 32px; }
@media (min-width: 768px) { .bd-mobile { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.bd-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bind-navy);
}
#bd-hero-shader {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bd-hero__inner { position: relative; z-index: 20; display: flex; flex: 1; flex-direction: column; }
.bd-hero__spacer { flex: 1; }
.bd-hero__content { padding-bottom: 56px; }
@media (min-width: 640px) { .bd-hero__content { padding-bottom: 64px; } }
@media (min-width: 1024px) { .bd-hero__content { padding-bottom: 80px; } }
.bd-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .bd-hero__eyebrow { font-size: 14px; margin-bottom: 32px; } }
.bd-hero__title {
  font-size: clamp(1.75rem, 7vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
@media (min-width: 640px) { .bd-hero__title { font-size: clamp(2.5rem, 5vw, 4.2rem); } }
.bd-hero__cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .bd-hero__cta { margin-top: 48px; flex-direction: row; align-items: center; gap: 20px; }
}

/* Partner badge */
.bd-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}
.bd-partner:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); }
.bd-partner__icon { width: 20px; height: 20px; color: var(--bind-blue); }
.bd-partner__text { font-size: 13px; font-weight: 500; color: #111827; }
.bd-partner__tag {
  font-size: 10px;
  background: #111827;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}
@media (min-width: 640px) {
  .bd-partner__icon { width: 24px; height: 24px; }
  .bd-partner__text { font-size: 14px; }
  .bd-partner__tag { font-size: 11px; padding: 2px 8px; }
}

/* ============================================================
   Section primitives
   ============================================================ */
.bd-section { background: var(--bind-navy); }
.bd-section--ink { background: var(--bind-ink); }
.bd-pad { padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 640px) { .bd-pad { padding-top: 80px; padding-bottom: 64px; } }
@media (min-width: 1024px) { .bd-pad { padding-top: 128px; padding-bottom: 96px; } }
.bd-pad-page { padding-top: 128px; padding-bottom: 48px; }
@media (min-width: 1024px) { .bd-pad-page { padding-top: 160px; padding-bottom: 80px; } }

.bd-badge-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
@media (min-width: 640px) { .bd-badge-row { margin-bottom: 32px; } }
.bd-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--bind-navy);
  font-size: 11px;
  font-weight: 600;
}
@media (min-width: 640px) { .bd-badge-num { width: 28px; height: 28px; font-size: 12px; } }
.bd-pill {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) { .bd-pill { padding: 6px 16px; font-size: 13px; } }

.bd-eyebrow {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
}

.bd-h2 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3rem);
}
.bd-h2--display {
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 7vw, 4.2rem);
}
@media (min-width: 640px) {
  .bd-h2--display { font-size: clamp(2.5rem, 5vw, 4.2rem); }
}
.bd-page-title {
  margin-top: 24px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 56rem;
}
.bd-lead {
  margin-top: 24px;
  max-width: 42rem;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 640px) { .bd-lead { font-size: 18px; } }

/* ============================================================
   About section
   ============================================================ */
.bd-about__heading { margin-bottom: 48px; }
@media (min-width: 640px) { .bd-about__heading { margin-bottom: 64px; } }
@media (min-width: 1024px) { .bd-about__heading { margin-bottom: 112px; } }
.bd-about__text { font-size: 15px; line-height: 1.6; font-weight: 500; color: #fff; }
@media (min-width: 640px) { .bd-about__text { font-size: 17px; } }
.bd-about__images { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .bd-about__images { flex-direction: row; gap: 20px; } }
.bd-about__images img { width: 100%; border-radius: 12px; object-fit: cover; }
@media (min-width: 640px) {
  .bd-about__images img { border-radius: 16px; }
  .bd-about__img--sm { width: 45%; aspect-ratio: 438 / 346; }
  .bd-about__img--lg { width: 55%; aspect-ratio: 900 / 600; }
}
.bd-about__img--sm { aspect-ratio: 438 / 346; }
.bd-about__img--lg { aspect-ratio: 900 / 600; }
.bd-mt-6 { margin-top: 24px; }

/* ============================================================
   Cards grid (case studies)
   ============================================================ */
.bd-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .bd-cards { gap: 24px; } }
@media (min-width: 768px) { .bd-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bd-cards { gap: 28px; } }

.bd-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1d2e;
  cursor: pointer;
  aspect-ratio: 329 / 246;
}
.bd-card__media--square { aspect-ratio: 1 / 1; background: #6b6b6b; }
.bd-card__media video,
.bd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bd-card__btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  height: 36px;
  width: 36px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  transition: width 0.3s ease-in-out;
}
.bd-card__media:hover .bd-card__btn { width: 148px; }
.bd-card__btn--dark { background: var(--bind-navy); }
.bd-card__media:hover .bd-card__btn--dark { width: 168px; }
.bd-card__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  color: #111827;
}
.bd-card__btn--dark .bd-card__btn-icon { color: #fff; }
.bd-card__btn-icon svg {
  width: 14px;
  height: 14px;
  transform: rotate(-45deg);
  transition: transform 0.3s ease-in-out;
}
.bd-card__media:hover .bd-card__btn-icon svg { transform: rotate(0deg); }
.bd-card__btn-text {
  white-space: nowrap;
  padding-right: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.bd-card__btn--dark .bd-card__btn-text { color: #fff; }
.bd-card__media:hover .bd-card__btn-text { opacity: 1; }
.bd-card__desc { margin-top: 16px; font-size: 13px; line-height: 1.625; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 640px) { .bd-card__desc { font-size: 14px; } }
.bd-card__title { margin-top: 4px; font-size: 14px; font-weight: 600; color: #fff; }
@media (min-width: 640px) { .bd-card__title { font-size: 15px; } }

/* ============================================================
   Stats / steps / services / team (about page)
   ============================================================ */
.bd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}
@media (min-width: 1024px) { .bd-stats { grid-template-columns: repeat(4, 1fr); } }
.bd-stat__value { font-weight: 800; letter-spacing: -0.03em; color: #fff; font-size: clamp(2.25rem, 6vw, 4rem); }
.bd-stat__label { margin-top: 8px; max-width: 14rem; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }

.bd-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 640px) { .bd-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bd-steps { grid-template-columns: repeat(4, 1fr); } }
.bd-step { background: var(--bind-ink); padding: 24px; }
@media (min-width: 1024px) { .bd-step { padding: 32px; } }
.bd-step__n { font-size: 13px; font-weight: 600; color: var(--bind-acid); }
.bd-step__title { margin-top: 12px; font-size: 18px; font-weight: 600; color: #fff; }
.bd-step__body { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }

.bd-services {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .bd-services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bd-services { grid-template-columns: repeat(3, 1fr); } }
.bd-service {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.bd-service__title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bind-acid); }
.bd-service__body { margin-top: 12px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

.bd-team {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (min-width: 1024px) { .bd-team { grid-template-columns: repeat(4, 1fr); } }
.bd-team__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: var(--bind-navy);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bind-acid);
}
.bd-team__name { margin-top: 16px; font-size: 15px; font-weight: 600; color: #fff; }
.bd-team__role { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   FAQ
   ============================================================ */
.bd-faq { margin-top: 40px; max-width: 48rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bd-faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; }
.bd-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
@media (min-width: 640px) { .bd-faq__q { font-size: 18px; } }
.bd-faq__q::-webkit-details-marker { display: none; }
.bd-faq__q svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--bind-acid); transition: transform 0.3s; }
.bd-faq__item[open] .bd-faq__q svg { transform: rotate(45deg); }
.bd-faq__a { margin-top: 12px; max-width: 42rem; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   Blog / Journal
   ============================================================ */
.bd-featured {
  display: grid;
  align-items: center;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0;
}
@media (min-width: 1024px) { .bd-featured { grid-template-columns: 1fr 1fr; gap: 48px; padding: 64px 0; } }
.bd-featured__media { overflow: hidden; border-radius: 16px; background: #1a1d2e; }
.bd-featured__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s var(--ease); }
.bd-featured__media:hover img { transform: scale(1.05); }
.bd-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.45); flex-wrap: wrap; }
.bd-meta__cat { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--bind-acid); }
.bd-meta__flag { background: var(--bind-acid); color: var(--bind-navy); border-radius: 999px; padding: 2px 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.bd-featured__title { margin-top: 16px; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.6rem); }
.bd-featured__title a:hover { color: rgba(255, 255, 255, 0.7); }
.bd-featured__excerpt { margin-top: 16px; max-width: 36rem; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.bd-readmore { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #fff; }
.bd-readmore svg { width: 16px; height: 16px; color: var(--bind-acid); transition: transform 0.3s; }
.bd-readmore:hover svg { transform: translateX(4px); }

.bd-filters { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 32px; }
.bd-filter {
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  transition: color 0.3s, background-color 0.3s;
}
.bd-filter:hover { color: #fff; }
.bd-filter.is-active { background: var(--bind-acid); color: var(--bind-navy); border-color: var(--bind-acid); }

.bd-postgrid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 24px;
}
@media (min-width: 640px) { .bd-postgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bd-postgrid { grid-template-columns: repeat(3, 1fr); } }
.bd-post__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #1a1d2e; }
.bd-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.bd-post:hover .bd-post__media img { transform: scale(1.05); }
.bd-post__meta { margin-top: 16px; }
.bd-post__title { margin-top: 8px; font-size: 18px; font-weight: 600; line-height: 1.35; color: #fff; transition: color 0.3s; }
.bd-post:hover .bd-post__title { color: rgba(255, 255, 255, 0.7); }
.bd-post__excerpt { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   Single (post + case study)
   ============================================================ */
.bd-article { max-width: 46rem; margin: 0 auto; }
.bd-article__cover { margin-top: 32px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.bd-article__cover img,
.bd-article__cover video { width: 100%; height: 100%; object-fit: cover; }
.bd-prose { margin-top: 32px; font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, 0.8); }
.bd-prose h2 { margin: 40px 0 12px; font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.bd-prose h3 { margin: 32px 0 8px; font-size: 20px; font-weight: 600; color: #fff; }
.bd-prose p { margin: 0 0 20px; }
.bd-prose a { color: var(--bind-acid); text-decoration: underline; }
.bd-prose ul, .bd-prose ol { margin: 0 0 20px; padding-left: 22px; }
.bd-prose li { margin-bottom: 8px; list-style: disc; }
.bd-prose img { border-radius: 12px; margin: 24px 0; }
.bd-cs-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}
@media (min-width: 768px) { .bd-cs-metrics { grid-template-columns: repeat(4, 1fr); } }
.bd-cs-metric__value { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; color: var(--bind-acid); }
.bd-cs-metric__label { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   Contact
   ============================================================ */
.bd-contact-grid {
  display: grid;
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}
@media (min-width: 1024px) { .bd-contact-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; padding-top: 64px; } }
.bd-form { display: flex; flex-direction: column; gap: 24px; }
.bd-field-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .bd-field-row { grid-template-columns: 1fr 1fr; } }
.bd-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.bd-input, .bd-select, .bd-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bd-input::placeholder, .bd-textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.bd-input:focus, .bd-select:focus, .bd-textarea:focus {
  border-color: var(--bind-acid);
  box-shadow: 0 0 0 2px rgba(240, 255, 61, 0.3);
}
.bd-textarea { resize: vertical; }
.bd-select option { background: var(--bind-navy); }
.bd-form .bd-btn-acid { align-self: flex-start; }
.bd-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 32px;
}
.bd-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--bind-acid);
  color: var(--bind-navy);
}
.bd-success h2 { margin-top: 20px; font-size: 22px; font-weight: 600; color: #fff; }
.bd-success p { margin-top: 8px; max-width: 28rem; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.bd-aside { display: flex; flex-direction: column; gap: 32px; }
.bd-aside__title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); }
.bd-aside address { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; font-style: normal; }
.bd-aside a, .bd-aside p { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.bd-aside svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--bind-acid); margin-top: 2px; }
.bd-aside__card { border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); border-radius: 16px; padding: 24px; }
.bd-aside__card p { color: rgba(255, 255, 255, 0.55); font-size: 14px; }

/* ============================================================
   CTA band
   ============================================================ */
.bd-ctaband {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 32px;
}
@media (min-width: 640px) { .bd-ctaband { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (min-width: 1024px) { .bd-ctaband { padding: 48px; } }
.bd-ctaband h2 { max-width: 36rem; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: #fff; font-size: clamp(1.4rem, 3.5vw, 2.4rem); }

/* ============================================================
   Footer
   ============================================================ */
.bd-footer { background: var(--bind-navy); color: #fff; }
.bd-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 56px 0;
}
@media (min-width: 1024px) { .bd-footer__cta { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 80px 0; } }
.bd-footer__cta h2 { max-width: 36rem; font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; font-size: clamp(1.75rem, 5vw, 3.2rem); }
.bd-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0;
}
@media (min-width: 768px) { .bd-footer__cols { grid-template-columns: repeat(4, 1fr); } }
.bd-footer__brand { grid-column: span 2; }
@media (min-width: 768px) { .bd-footer__brand { grid-column: span 1; } }
.bd-footer__brand-mark { display: flex; align-items: center; gap: 12px; }
.bd-footer__brand-mark img { width: 40px; height: 40px; border-radius: 999px; }
.bd-footer__brand-mark span { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.bd-footer__blurb { margin-top: 20px; max-width: 20rem; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.bd-footer h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); }
.bd-footer__list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.bd-footer__list a, .bd-footer__list li { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.bd-footer__list a:hover { color: #fff; }
.bd-footer address { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; font-style: normal; }
.bd-footer address a, .bd-footer address p { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.bd-footer address svg { width: 15px; height: 15px; flex-shrink: 0; color: rgba(255, 255, 255, 0.4); margin-top: 2px; }
.bd-social { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.bd-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  transition: background-color 0.3s, color 0.3s;
}
.bd-social a:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.bd-social svg { width: 16px; height: 16px; }
.bd-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
@media (min-width: 640px) { .bd-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.bd-footer__legal { display: flex; align-items: center; gap: 20px; }
.bd-footer__legal a:hover { color: rgba(255, 255, 255, 0.8); }

/* Utilities */
.bd-mono-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.bd-hide-mobile-br { display: none; }
@media (min-width: 640px) { .bd-hide-mobile-br { display: inline; } }

/* ── Article prose extras (blog posts) ─────────────────────────────── */
.bd-prose .lead { font-size: 19px; font-weight: 500; color: #fff; margin: 0 0 28px; }
.bd-prose .callout { background: rgba(255,255,255,.04); border-left: 3px solid #f0ff3d; padding: 16px 20px; border-radius: 8px; margin: 0 0 24px; }
.bd-prose .callout strong { color: #fff; }
.bd-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.bd-prose th, .bd-prose td { text-align: left; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); vertical-align: top; }
.bd-prose th { background: rgba(255,255,255,.05); color: #fff; font-weight: 600; }
.bd-prose .faq h3 { margin-top: 22px; }
